/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: border-color 240ms var(--ease), background 240ms var(--ease), backdrop-filter 240ms var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 6, 18, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--fg);
}
.nav__brand-orb { width: 28px; height: 28px; display: block; }
.nav__wordmark {
  font-family: var(--brand-serif);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--brand-color);
  line-height: 1;
}
.nav__links {
  display: none;
  gap: 32px;
  margin-left: auto;
  margin-right: 24px;
}
.nav__link {
  text-decoration: none;
  color: var(--fg-mute);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: color 160ms var(--ease);
}
.nav__link:hover { color: var(--fg); }
.nav__cta { display: none; flex-shrink: 0; }
@media (min-width: 720px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
}

/* ── Hero (split: dark left / gradient right) ───────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 72px);
  margin-top: -72px;        /* pull behind transparent nav */
  padding-top: 72px;        /* push content below nav */
  overflow: hidden;
}
@media (min-width: 960px) {
  .hero { grid-template-columns: 1fr 1fr; min-height: 92vh; }
}

.hero__left {
  position: relative;
  background: var(--hero-dark);
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 5vw, 80px) clamp(48px, 7vw, 96px);
}
.hero__left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(120, 70, 200, 0.30), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(80, 40, 160, 0.25), transparent 60%);
  pointer-events: none;
}
.hero__left-inner {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(28px, 4vw, 40px);
  color: rgba(245, 240, 235, 0.70);
}
.hero__sparkle {
  display: inline-block;
  font-size: 14px;
  color: var(--accent-bright);
  animation: heroSparkle 3s ease-in-out infinite;
}
@keyframes heroSparkle {
  0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.15) rotate(180deg); }
}

.hero__heading {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 0 0 clamp(22px, 3vw, 32px);
  color: var(--fg);
}
.hero__heading em {
  background: linear-gradient(135deg, #d8b4ff 0%, #ffb499 60%, #f5c4d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  font-style: normal;
}
.hero__lede {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--fg-mute);
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 52ch;
}
.hero__lede strong { color: var(--fg); font-weight: 600; }
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: clamp(36px, 6vw, 56px);
}
.hero__trust {
  font-size: 13px;
  color: var(--fg-faint);
  letter-spacing: -0.005em;
}
.hero__trust span { margin: 0 6px; opacity: 0.6; }

/* ── Hero right (gradient + glass card) ─────────────────────────────── */
.hero__right {
  position: relative;
  background: var(--hero-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 64px);
  overflow: hidden;
}
.hero__right::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 200, 160, 0.50), transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(220, 160, 220, 0.45), transparent 55%);
  pointer-events: none;
  filter: blur(40px);
}
.hero__glass {
  --hero-phone-scale: 0.58;
  --hero-frame-pad-x: 20px;
  position: relative;
  width: calc(390px * var(--hero-phone-scale) + var(--hero-frame-pad-x) * 2);
  border-radius: 44px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(48px) saturate(180%);
  -webkit-backdrop-filter: blur(48px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 30px 90px rgba(40, 10, 80, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.60);
  padding: 20px var(--hero-frame-pad-x) 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero__glass .phone-mockup {
  --phone-scale: var(--hero-phone-scale);
}
.hero__carousel {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
}
.hero__slide {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.hero__slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.hero__caption {
  text-align: center;
  max-width: 280px;
}
.hero__caption-eyebrow {
  color: rgba(40, 10, 60, 0.65);
  margin-bottom: 6px;
}
.hero__caption-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: #2a0e3e;
}
.hero__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(40, 10, 60, 0.20);
  cursor: pointer;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
.hero__dot:hover { background: rgba(40, 10, 60, 0.40); }
.hero__dot.is-active {
  background: #2a0e3e;
  transform: scale(1.2);
}

/* ── Pillars ────────────────────────────────────────────────────────── */
.pillars {
  padding: var(--section-pad) 0;
  border-top: 1px solid var(--line);
}
.pillar {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 6vw, 80px) 0;
}
.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar__copy { max-width: 520px; }
.pillar__num {
  margin-bottom: 16px;
  color: var(--accent-bright);
}
.pillar__heading {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  margin: 0 0 18px;
  color: var(--fg);
}
.pillar__body {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--fg-soft);
}
.pillar__phone { display: flex; justify-content: center; }
@media (min-width: 880px) {
  .pillar { grid-template-columns: 1fr 1fr; }
  .pillar--reverse .pillar__copy { order: 2; }
  .pillar--reverse .pillar__phone { order: 1; }
}

/* ── How it works ───────────────────────────────────────────────────── */
.how {
  padding: var(--section-pad) 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.how::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(120, 70, 200, 0.16), transparent 60%);
  pointer-events: none;
}
.how > .container { position: relative; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
@media (min-width: 880px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.step {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease), background 200ms var(--ease);
}
.step:hover {
  border-color: rgba(180, 140, 255, 0.36);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}
.step__num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
}
.step__heading {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.step__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-soft);
}

/* ── Memory architecture ────────────────────────────────────────────── */
.memory { padding: var(--section-pad) 0; }
.memory__grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 880px) {
  .memory__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.mem-card {
  background: var(--bg-alt);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.mem-card:hover {
  border-color: rgba(180, 140, 255, 0.36);
  transform: translateY(-2px);
}
.mem-card__num {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--fg-faint);
  margin-bottom: 16px;
}
.mem-card__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.mem-card__body {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-soft);
}

/* ── Privacy ────────────────────────────────────────────────────────── */
.privacy {
  padding: var(--section-pad) 0;
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.privacy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(180, 100, 220, 0.20), transparent 60%),
    radial-gradient(ellipse 40% 30% at 10% 80%, rgba(100, 60, 200, 0.18), transparent 60%);
  pointer-events: none;
}
.privacy__inner {
  position: relative;
  display: grid;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
@media (min-width: 880px) {
  .privacy__inner { grid-template-columns: 1fr 1fr; }
}
.privacy__copy { max-width: 520px; }
.privacy__heading {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 14px 0 22px;
  color: var(--fg);
}
.privacy__body {
  margin: 0;
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--fg-soft);
}
.privacy__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 24px;
}
.privacy__points li {
  padding-left: 20px;
  border-left: 2px solid var(--accent-bright);
}
.privacy__point-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--fg);
}
.privacy__point-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-mute);
}

/* ── Final CTA ──────────────────────────────────────────────────────── */
.final {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(140, 80, 220, 0.22), transparent 60%);
  pointer-events: none;
}
.final__inner {
  position: relative;
  max-width: 720px;
}
.final__heading {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  margin: 0 0 22px;
  color: var(--fg);
}
.final__lede {
  margin: 0 0 clamp(28px, 4vw, 40px);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--fg-soft);
}
.final__lede a {
  color: var(--accent-bright);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.final__lede a:hover { filter: brightness(1.15); }
.final__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 32px;
  background: var(--bg);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer__brand {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.footer__wordmark {
  font-family: var(--brand-serif);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--brand-color);
  line-height: 1;
}
.footer__copy {
  font-size: 12.5px;
  color: var(--fg-faint);
  letter-spacing: -0.005em;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer__link {
  font-size: 13px;
  color: var(--fg-mute);
  text-decoration: none;
}
.footer__link:hover { color: var(--fg); }
@media (min-width: 720px) {
  .footer__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ── Legal pages ────────────────────────────────────────────────────── */
.legal { padding: clamp(96px, 12vw, 140px) 0 clamp(72px, 10vw, 140px); }
.legal h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
  color: var(--fg);
}
.legal h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.015em;
  margin: 36px 0 10px;
  color: var(--fg);
}
.legal p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-soft);
  margin: 0 0 14px;
  max-width: 720px;
}
.legal__date { color: var(--fg-mute); font-size: 14px; margin-bottom: 36px; }
.legal a { color: var(--accent-bright); }
