/* ---------- FONTS ---------- */
@font-face {
  font-family: 'LeJour';
  src: url('assets/fonts/LeJourSerif.otf?v=2') format('opentype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Glacial';
  src: url('assets/fonts/GlacialIndifference-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

/* ---------- TOKENS ---------- */
:root, body.light {
  --bg: #FAF9F7;
  --paper: #FFFFFF;
  --ink: #0d1b3e;
  --ink-70: #3D4A78;
  --ink-55: rgba(13, 27, 62, 0.55);
  --ink-30: rgba(13, 27, 62, 0.3);
  --ink-14: #E8E4DF;
  --ink-06: rgba(13, 27, 62, 0.04);
  --candle: #7c6b8a;
  --candle-soft: #EFE9F7;
  --accent2: #B8A9C9;
  --display-font: 'LeJour', 'Cormorant Garamond', serif;
  --sans: 'Glacial', ui-sans-serif, system-ui, sans-serif;
  --radius: 2px;
}

/* ---------- WHIMSY MODE OVERRIDES ---------- */
body.whimsy {
  --bg: #0D1B3E;
  --paper: rgba(255, 255, 255, 0.06);
  --ink: #E8DFF5;
  --ink-70: #A899C4;
  --ink-55: rgba(232, 223, 245, 0.55);
  --ink-30: rgba(232, 223, 245, 0.3);
  --ink-14: rgba(255, 255, 255, 0.1);
  --ink-06: rgba(255, 255, 255, 0.04);
  --candle: #C4A8E0;
  --candle-soft: rgba(196, 168, 224, 0.15);
  --accent2: #7ECFF7;
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  transition: background .6s cubic-bezier(.22,.9,.3,1), color .6s cubic-bezier(.22,.9,.3,1);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }

/* ---------- STAGE (desktop + mobile side-by-side) ---------- */
.stage {
  min-height: 100vh;
  padding: 40px 32px 120px;
  display: grid;
  grid-template-columns: minmax(800px, 1fr) 380px;
  gap: 40px;
  align-items: start;
  background:
    radial-gradient(ellipse 900px 600px at 20% -10%, rgba(124, 107, 138, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(184, 169, 201, 0.06), transparent 60%),
    #F0EDE7;
  transition: background .6s;
}
body.whimsy .stage {
  background:
    radial-gradient(ellipse 900px 600px at 20% -10%, rgba(196, 168, 224, 0.18), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 100%, rgba(126, 207, 247, 0.1), transparent 60%),
    #0D1B3E;
}
@media (max-width: 1180px) {
  .stage { grid-template-columns: 1fr; }
  .stage__frame--mob { justify-self: center; }
}

.stage__frame {
  background: var(--bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}
.stage__frame--desk { }
.stage__frame--mob {
  width: 380px;
  border-radius: 44px;
  border: 10px solid #111;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}
.stage__chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: rgba(21,36,59,0.04);
  border-bottom: 1px solid var(--ink-06);
}
.stage__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ink-14);
}
.stage__url {
  margin-left: 12px;
  font-size: 11px;
  color: var(--ink-55);
  letter-spacing: 0.04em;
}
.stage__notch {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  width: 100px; height: 26px;
  background: #111;
  border-radius: 14px;
}
.stage__homebar {
  position: absolute;
  bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px;
  border-radius: 2px;
  background: rgba(21,36,59,0.3);
  z-index: 10;
}
.stage__scroll {
  max-height: 820px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.stage__scroll--mob {
  max-height: 780px;
}
.stage__scroll::-webkit-scrollbar { width: 6px; }
.stage__scroll::-webkit-scrollbar-thumb { background: var(--ink-14); border-radius: 3px; }

/* ---------- PAGE BASE ---------- */
.page {
  position: relative;
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}
.page--desktop { padding: 0; }
.page--mobile { padding: 0; }

.grain {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.14 0 0 0 0 0.22 0 0 0 0.07 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 1;
}
.page > *:not(.grain) { position: relative; z-index: 2; }
.page > .nav { z-index: 50; }

/* ---------- NAV ---------- */
.nav { padding: 24px 48px; border-bottom: 1px solid rgba(13,27,62,0.10); }
.nav--mobile { padding: 42px 20px 14px; border-bottom: 1px solid rgba(13,27,62,0.10); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--display-font);
}
.nav__brand img {
  width: 112px; height: auto;
  filter: drop-shadow(0 2px 6px rgba(13,27,62,0.08));
}
.nav--mobile .nav__brand img { width: 88px; height: auto; }
.nav__wordmark {
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__sub {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-55);
  margin-left: 8px;
  text-transform: uppercase;
}
.nav__links {
  display: flex; align-items: center; gap: 28px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.nav__links a { color: var(--ink-70); transition: color .3s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  padding: 10px 24px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #FFFFFF !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  border-radius: 2px;
  transition: transform .15s ease, opacity .3s ease;
}
.nav__cta:hover { transform: translateY(-1px); opacity: 0.9; }

/* ---- Dropdown ---- */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav__dropdown-caret {
  transition: transform .25s cubic-bezier(.22,.9,.3,1);
  opacity: 0.7;
}
.nav__dropdown:hover .nav__dropdown-caret,
.nav__dropdown:focus-within .nav__dropdown-caret {
  transform: rotate(180deg);
  opacity: 1;
}
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -6px);
  min-width: 220px;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--ink-14);
  border-radius: 10px;
  box-shadow: 0 18px 40px -12px rgba(13, 27, 62, 0.18), 0 4px 12px rgba(13, 27, 62, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .22s ease, transform .25s cubic-bezier(.22,.9,.3,1), visibility .22s;
  z-index: 60;
}
.nav__dropdown-menu::before {
  /* hover bridge so menu doesn't close when crossing the gap */
  content: "";
  position: absolute;
  top: -14px; left: 0; right: 0;
  height: 14px;
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav__dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink-70) !important;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: background .2s, color .2s;
}
.nav__dropdown-menu a:hover {
  background: var(--ink-06);
  color: var(--ink) !important;
}
.nav__dropdown-note {
  font-family: var(--display-font, serif);
  font-style: italic;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-55);
  opacity: 0.85;
}
.nav__menu {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* ---- Mobile drawer ---- */
.nav__mobile-drawer {
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  right: 0;
  background: var(--bg, #FAF9F7);
  border-bottom: 1px solid rgba(13,27,62,0.10);
  box-shadow: 0 12px 28px rgba(13,27,62,0.06);
  padding: 8px 0;
  z-index: 70;
  display: none;
}
.nav__mobile-drawer.is-open { display: block; }
.nav__mobile-drawer a {
  display: block;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink);
  border-bottom: 1px solid rgba(13,27,62,0.06);
}
.nav__mobile-drawer a:last-child { border-bottom: 0; }
.nav__mobile-drawer .nav__mobile-group-label {
  display: block;
  padding: 14px 22px 6px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55, rgba(13,27,62,0.55));
}
.nav__mobile-drawer .nav__mobile-sub {
  padding-left: 38px;
  color: var(--ink-70, rgba(13,27,62,0.70));
}
.nav__mobile-drawer .nav__mobile-cta {
  margin: 10px 22px;
  padding: 14px 18px;
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 0;
}
.nav--mobile { position: relative; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all .4s cubic-bezier(.22,.9,.3,1);
  border-radius: 1px;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
}
.btn--primary:hover {
  background: transparent;
  color: var(--ink);
}
.btn--primary:hover svg { transform: translateX(4px); }
.btn--primary svg { transition: transform .4s; }
.btn--ghost {
  border-bottom: 1px solid var(--ink-30);
  padding: 14px 2px;
  color: var(--ink-70);
  letter-spacing: 0.2em;
}
.btn--ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn--lg { padding: 18px 30px; font-size: 13px; }
.btn--sm { padding: 10px 16px; font-size: 11px; }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  padding: 40px 48px 96px;
  align-items: center;
  min-height: 560px;
}
.hero--mobile {
  grid-template-columns: 1fr;
  gap: 36px;
  padding: 20px 24px 64px;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 36px;
}
.hero__meta-dot { color: var(--ink-30); }
.hero--mobile .hero__eyebrow { margin-bottom: 24px; font-size: 9px; letter-spacing: 0.22em; }
.hero__eyebrow-line {
  display: block; width: 32px; height: 1px;
  background: var(--ink-30);
}

.hero__title {
  font-family: var(--display-font);
  font-size: clamp(56px, 6.4vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  font-weight: 400;
}
.hero--mobile .hero__title {
  font-size: 58px;
  line-height: 0.98;
  margin-bottom: 20px;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(16px);
  animation: rise .9s cubic-bezier(.22,.9,.3,1) forwards;
}
.hero__line:nth-child(2) { font-style: italic; color: var(--candle); }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

.hero__lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-70);
  max-width: 440px;
  margin-bottom: 40px;
  opacity: 0;
  animation: rise .9s .4s cubic-bezier(.22,.9,.3,1) forwards;
}
.hero--mobile .hero__lede {
  font-size: 15px;
  margin-bottom: 28px;
  max-width: 100%;
}

.hero__cta-row {
  display: flex; gap: 28px; align-items: center;
  margin-bottom: 32px;
  opacity: 0;
  animation: rise .9s .55s cubic-bezier(.22,.9,.3,1) forwards;
}
.hero--mobile .hero__cta-row { gap: 14px; margin-bottom: 24px; flex-direction: column; align-items: stretch; }
.hero--mobile .hero__cta-row .btn { justify-content: center; }
.hero--mobile .hero__cta-row .btn--ghost { padding: 10px 2px; text-align: left; justify-content: flex-start; }

.hero__meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-55);
  opacity: 0;
  animation: rise .9s .7s cubic-bezier(.22,.9,.3,1) forwards;
}
.hero--mobile .hero__meta {
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.hero__meta svg { color: var(--candle); margin-right: 6px; }

/* ---------- Before / After ---------- */
.hero__visual {
  display: flex; flex-direction: column;
  align-items: center; gap: 20px;
}
.ba {
  width: 100%;
  aspect-ratio: 5 / 6;
  max-width: 440px;
  position: relative;
  color: var(--ink);
}
.ba__frame {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 40%, var(--paper), transparent 70%),
    var(--paper);
  border: none;
  overflow: hidden;
  transition: background .8s;
}
.ba--float .ba__frame {
  background:
    radial-gradient(ellipse at 50% 45%, rgba(196, 168, 224, 0.22), transparent 70%),
    linear-gradient(180deg, #1A2C5A 0%, #0D1B3E 100%);
}
.ba__svg {
  width: 100%; height: 100%;
  transition: color .8s;
}
.ba__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
  transform: scale(1.04);
  transform-origin: center;
  z-index: 1;
}
.ba__caption { z-index: 2; }
.ba--float .ba__svg { color: #E8DCC4; }

/* figure morph */
.ba__figure {
  transform-origin: 150px 180px;
  transition: transform 1.2s cubic-bezier(.22,.9,.3,1);
}
.ba--stress .ba__figure {
  transform: translateY(-8px);
}
.ba--float .ba__figure {
  animation: drift 6s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.ba--stress .ba__head { }
.ba--stress .ba__arm { stroke-dasharray: none; }

/* stressed: tighter arms closer to body */
.ba--stress .ba__arm--l { transform: translate(16px, -6px) rotate(8deg); transform-origin: 108px 195px; }
.ba--stress .ba__arm--r { transform: translate(-16px, -6px) rotate(-8deg); transform-origin: 192px 195px; }
.ba__arm, .ba__leg, .ba__torso, .ba__head { transition: all 1.2s cubic-bezier(.22,.9,.3,1); }

.ba__halo--calm { opacity: 0; transition: opacity 1s; }
.ba__halo--tense { opacity: 0; transition: opacity 1s; }
.ba--float .ba__halo--calm { opacity: 1; }
.ba--stress .ba__halo--tense { opacity: 1; }

.ba__sparks { opacity: 0; transition: opacity .6s; }
.ba--stress .ba__sparks { opacity: 1; }
.ba__stars { opacity: 0; transition: opacity .8s; }
.ba--float .ba__stars { opacity: 1; animation: twinkle 4s ease-in-out infinite; }
@keyframes twinkle { 50% { opacity: 0.25; } }

.ba__ripples { opacity: 0.3; transition: opacity .6s; }
.ba--float .ba__ripples { opacity: 0.7; animation: ripple 5s ease-in-out infinite; }
@keyframes ripple {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.ba__caption {
  position: absolute;
  top: 20px; left: 30px; right: 30px;
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
}
.ba--float .ba__caption { color: rgba(244, 237, 226, 0.6); }
.ba__caption-label {
  font-family: var(--display-font);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--candle);
}
.ba--stress .ba__caption-label { color: #B94A3E; }
.ba__caption-text {
  position: relative;
  top: 60px;
  left: 82px;
  max-width: calc(100% - 30px);
}

.hero__toggle {
  display: inline-flex;
  padding: 4px;
  background: var(--ink-06);
  border-radius: 100px;
  border: 1px solid var(--ink-14);
}
.toggle__pill {
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-55);
  border-radius: 100px;
  transition: all .4s;
}
.toggle__pill.is-on {
  background: var(--ink);
  color: var(--bg);
}

/* ---------- BENEFITS ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 72px 48px;
  border-top: 1px solid var(--ink-14);
  border-bottom: 1px solid var(--ink-14);
}
.benefits--mobile {
  grid-template-columns: 1fr;
  padding: 48px 24px;
}
.benefit {
  display: flex; gap: 18px;
  padding: 0 28px;
  border-right: 1px solid var(--ink-14);
}
.benefit:last-child { border-right: none; }
.benefit:first-child { padding-left: 0; }
.benefits--mobile .benefit {
  border-right: none;
  border-bottom: 1px solid var(--ink-14);
  padding: 20px 0;
}
.benefits--mobile .benefit:last-child { border-bottom: none; }

.benefit__num {
  font-family: var(--display-font);
  font-style: italic;
  font-size: 20px;
  color: var(--candle);
  letter-spacing: 0.04em;
}
.benefit__body h3 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.benefit__body p {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.55;
}

/* ---------- TIMELINE ---------- */
.timeline {
  padding: 96px 48px;
}
.timeline--mobile { padding: 64px 24px; }

.timeline__head {
  text-align: center;
  margin-bottom: 64px;
}
.timeline__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 16px;
}
.timeline__head h2 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.timeline--mobile .timeline__head { margin-bottom: 36px; text-align: left; }
.timeline--mobile .timeline__head h2 { font-size: 38px; }

.timeline__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.timeline--mobile .timeline__rail {
  grid-template-columns: 1fr;
  gap: 32px;
}
.timeline__line {
  position: absolute;
  top: 18px; left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-30) 20%, var(--ink-30) 80%, transparent);
}
.timeline--mobile .timeline__line {
  width: 1px; height: calc(100% - 20px);
  top: 20px; left: 12px; right: auto;
  background: linear-gradient(180deg, transparent, var(--ink-30) 10%, var(--ink-30) 90%, transparent);
}

.step {
  position: relative;
  padding-top: 44px;
  opacity: 0;
  animation: rise .8s cubic-bezier(.22,.9,.3,1) forwards;
}
.timeline--mobile .step {
  padding-top: 0;
  padding-left: 40px;
}
.step__dot {
  position: absolute;
  top: 10px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--ink-30);
  display: grid; place-items: center;
}
.timeline--mobile .step__dot { top: 2px; left: 4px; }
.step__dot span {
  width: 6px; height: 6px;
  background: var(--candle);
  border-radius: 50%;
}

.step__min {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 10px;
}
.step h4 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 6px;
}
.step p {
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.55;
}

/* ---------- DEEPEN (tabs + faqs) ---------- */
.deepen {
  padding: 96px 48px;
  background: var(--paper);
  border-top: 1px solid var(--ink-14);
  border-bottom: 1px solid var(--ink-14);
}
.deepen--mobile { padding: 64px 24px; }

.deepen__head {
  max-width: 1000px; margin: 0 auto 48px;
}
.deepen__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 16px;
}
.deepen__head h2 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.deepen--mobile .deepen__head h2 { font-size: 36px; }

.tabs {
  display: flex;
  gap: 0;
  max-width: 1000px; margin: 0 auto;
  border-top: 1px solid var(--ink-14);
  border-bottom: 1px solid var(--ink-14);
  flex-wrap: wrap;
}
.tabs__btn {
  flex: 1;
  display: flex; align-items: baseline; gap: 14px;
  padding: 22px 24px;
  font-family: var(--display-font);
  font-size: 20px;
  color: var(--ink-55);
  border-right: 1px solid var(--ink-14);
  transition: all .4s;
  text-align: left;
  position: relative;
  min-width: 200px;
}
.tabs__btn:last-child { border-right: none; }
.tabs__btn::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--candle);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.22,.9,.3,1);
}
.tabs__btn.is-on {
  color: var(--ink);
}
.tabs__btn.is-on::after { transform: scaleX(1); }
.tabs__idx {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--candle);
}
.tabs__body {
  max-width: 820px;
  margin: 40px auto 72px;
  padding: 0 24px;
}
.tabs__body p {
  font-family: var(--sans);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-70);
  letter-spacing: 0.005em;
  font-style: normal;
}
.deepen--mobile .tabs__btn { font-size: 17px; padding: 18px 16px; min-width: 150px; }
.deepen--mobile .tabs__body p { font-size: 16px; }

/* FAQs */
.deepen__faqs {
  max-width: 820px; margin: 0 auto;
}
.deepen__faqs-head {
  text-align: center;
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-14);
}
.deepen__faqs-kicker {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.acc__row {
  border-bottom: 1px solid var(--ink-14);
}
.acc__head {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px;
  font-family: var(--display-font);
  font-size: 21px;
  color: var(--ink);
  text-align: left;
  transition: color .3s;
}
.acc__head:hover { color: var(--candle); }
.acc__q { flex: 1; padding-right: 20px; }
.acc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .5s cubic-bezier(.22,.9,.3,1);
}
.acc__inner {
  overflow: hidden;
}
.acc__inner p {
  padding: 0 4px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-70);
  max-width: 640px;
}
.deepen--mobile .acc__head { font-size: 17px; padding: 18px 4px; }
.deepen--mobile .acc__inner p { font-size: 14px; }

/* ---------- PRICING ---------- */
.pricing {
  padding: 96px 48px;
}
.pricing--mobile { padding: 64px 24px; }

.pricing__head {
  text-align: center;
  margin-bottom: 56px;
}
.pricing__kicker {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 14px;
}
.pricing__head h2 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.01em;
}
.pricing--mobile .pricing__head { text-align: left; margin-bottom: 32px; }
.pricing--mobile .pricing__head h2 { font-size: 38px; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1100px; margin: 0 auto;
  background: var(--ink-14);
  border: 1px solid var(--ink-14);
}
.pricing--mobile .pricing__grid {
  grid-template-columns: 1fr;
}

.plan {
  background: var(--bg);
  padding: 36px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: background .4s;
}
.plan:hover { background: var(--paper); }
.plan--on {
  background: var(--ink);
  color: var(--bg);
}
.plan--on:hover { background: var(--ink); }
.plan__badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--candle);
}
.plan h3 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 20px;
}
.plan__price {
  font-family: var(--display-font);
  font-size: 44px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.plan p {
  font-size: 13px;
  color: var(--ink-55);
  margin-bottom: 28px;
  flex: 1;
}
.plan--on p { color: rgba(244,237,226,0.6); }
.plan__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  align-self: flex-start;
  transition: gap .3s;
}
.plan__link:hover { gap: 12px; }

/* ---------- QUOTE ---------- */
.quote {
  padding: 96px 48px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.page--mobile .quote { padding: 64px 24px; }

.quote__mark {
  font-family: var(--display-font);
  font-size: 120px;
  line-height: 0.5;
  color: var(--candle);
  margin-bottom: 20px;
  opacity: 0.5;
}
.quote p {
  font-family: var(--display-font);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-style: italic;
  margin-bottom: 24px;
}
.quote__who {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-55);
}

/* ---------- FINAL CTA ---------- */
.final {
  padding: 120px 48px;
  text-align: center;
  background: var(--ink);
  color: var(--bg);
  position: relative;
  overflow: hidden;
  transition: background .6s, color .6s;
}
body.whimsy .final {
  background: linear-gradient(135deg, #1A2C5A 0%, #2A1A4E 100%);
  color: var(--ink);
}
.final--mobile { padding: 80px 24px 120px; }

.final__orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 168, 224, 0.28), transparent 60%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.final h2 {
  font-family: var(--display-font);
  font-weight: 400;
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
  position: relative;
}
.final h2 em {
  color: var(--candle);
}
.final--mobile h2 { font-size: 44px; }

.final .btn--primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
  position: relative;
}
.final .btn--primary:hover {
  background: var(--candle);
  border-color: var(--candle);
  color: var(--ink);
}

.final__meta {
  margin-top: 36px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(244,237,226,0.5);
  position: relative;
}

/* ---------- WHIMSY ATMOSPHERE ---------- */
.star-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s;
}
body.whimsy .star-field { opacity: 1; }
.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: twinkle var(--dur, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes twinkle {
  0%, 100% { opacity: var(--min-o, 0.2); transform: scale(1); }
  50% { opacity: var(--max-o, 0.85); transform: scale(1.3); }
}
.whimsy-orb {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 0;
  filter: blur(60px);
  transition: opacity 1s;
  animation: orbDrift 14s ease-in-out infinite;
}
body.whimsy .whimsy-orb { opacity: 1; }
.orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, rgba(196,168,224,0.3), transparent 70%); top: -80px; right: 8%; }
.orb-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(126,207,247,0.22), transparent 70%); bottom: 12%; left: -40px; animation-delay: -4s; }
.orb-3 { width: 240px; height: 240px; background: radial-gradient(circle, rgba(255,200,150,0.16), transparent 70%); top: 56%; right: 20%; animation-delay: -8s; }
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(20px,-30px) scale(1.05); }
  66% { transform: translate(-15px, 20px) scale(0.95); }
}

/* ---------- LIGHT/WHIMSY TOGGLE ---------- */
.mode-toggle {
  position: fixed;
  top: 24px; right: 24px;
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px 6px 14px;
  background: var(--paper);
  border: 1px solid var(--ink-14);
  border-radius: 999px;
  z-index: 100;
  cursor: pointer;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-55);
  transition: all .4s;
  box-shadow: 0 8px 24px rgba(13, 27, 62, 0.06);
}
body.whimsy .mode-toggle {
  background: rgba(13,27,62,0.7);
  backdrop-filter: blur(12px);
  border-color: rgba(196,168,224,0.3);
}
.mode-toggle__label.active { color: var(--ink); font-weight: 500; }
body.whimsy .mode-toggle__label.active { color: var(--candle); }
.mode-toggle__track {
  width: 44px; height: 24px;
  border-radius: 12px;
  background: var(--ink-14);
  position: relative;
  transition: background .4s;
}
body.whimsy .mode-toggle__track {
  background: linear-gradient(135deg, #4A2D7A, #1A3A6E);
}
.mode-toggle__thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--candle);
  display: grid; place-items: center;
  font-size: 10px;
  color: var(--paper);
  transition: transform .4s cubic-bezier(.22,.9,.3,1), background .4s;
}
body.whimsy .mode-toggle__thumb {
  transform: translateX(20px);
  background: var(--candle);
  color: #0D1B3E;
}
.mode-flash {
  position: fixed; inset: 0;
  background: radial-gradient(circle at center, rgba(196,168,224,0.5), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 99;
  transition: opacity .6s;
}
.mode-flash.on { opacity: 1; }
/* ---------- STICKY BAR (mobile) ---------- */
.stickybar {
  position: sticky;
  bottom: 0;
  left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: var(--bg);
  border-top: 1px solid var(--ink-14);
  z-index: 50;
  box-shadow: 0 -10px 30px rgba(13, 27, 62, 0.06);
}
.stickybar__from {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-right: 8px;
}
.stickybar__price {
  font-family: var(--display-font);
  font-size: 22px;
}
