/* =============================================================
   AITherapist — "Sanctuary" design system
   Warm charcoal-plum base · healing teal + soft lavender · amber
   Calm, human, trustworthy. Gentle aurora, rounded corners, air.
   (Class names & JS hooks preserved from the shared template;
    only palette, fonts, and background FX are reskinned.)
   ============================================================= */

:root {
  /* base — warm charcoal-plum */
  --bg-0: #17141d;      /* page base */
  --bg-1: #1e1a26;
  --bg-2: #241f2e;
  --surface: rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --glass: rgba(36,31,46,0.62);

  /* lines — soft, warm */
  --line-0: rgba(196,181,253,0.12);
  --line-1: rgba(94,234,212,0.24);
  --line-glow: rgba(94,234,212,0.42);

  /* text — warm off-white */
  --text-0: #f3efe9;
  --text-1: #ddd5e2;
  --text-2: #b9b0c4;
  --text-mute: #857a92;

  /* accent — healing teal / soft lavender / warm amber
     (variable names kept as --cyan/--blue for template compatibility) */
  --cyan: #5eead4;          /* healing teal / sage */
  --cyan-bright: #99f6e4;
  --cyan-deep: #2dd4bf;
  --blue: #c4b5fd;          /* soft lavender */
  --blue-deep: #a78bfa;
  --amber: #f7d9a0;         /* warm amber (secondary) */
  --cyan-faint: rgba(94,234,212,0.10);
  --cyan-glow: rgba(94,234,212,0.28);
  --lav-faint: rgba(196,181,253,0.10);

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --radius-1: 12px;
  --radius-2: 20px;
  --radius-3: 30px;
  --wrap: 1180px;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan-bright); }
::selection { background: rgba(94,234,212,0.28); color: var(--text-0); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.2rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--cyan); color: #10201c; padding: 10px 18px; border-radius: 10px;
  font-weight: 700; transition: top var(--transition);
}
.skip-link:focus { top: 12px; }

/* ---------- background FX — gentle aurora, no hard grid ---------- */
.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx-grid {
  position: absolute; inset: -10%;
  background:
    radial-gradient(60% 50% at 20% 12%, rgba(94,234,212,0.10), transparent 70%),
    radial-gradient(55% 45% at 82% 20%, rgba(196,181,253,0.10), transparent 72%),
    radial-gradient(50% 40% at 50% 92%, rgba(247,217,160,0.06), transparent 75%);
  mask-image: radial-gradient(ellipse 100% 85% at 50% 10%, #000 40%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse 100% 85% at 50% 10%, #000 40%, transparent 92%);
  animation: aurora 22s ease-in-out infinite alternate;
}
.fx-orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.42; animation: orb 16s ease-in-out infinite; }
.fx-orb--cyan { width: 48vw; height: 48vw; max-width: 640px; max-height: 640px; top: -16vw; left: -12vw;
  background: radial-gradient(circle, rgba(94,234,212,0.28), transparent 62%); }
.fx-orb--blue { width: 44vw; height: 44vw; max-width: 580px; max-height: 580px; bottom: -14vw; right: -10vw;
  background: radial-gradient(circle, rgba(196,181,253,0.30), transparent 62%); animation-delay: -8s; }
.fx-scan {
  position: absolute; left: 0; right: 0; height: 320px; top: 0;
  background: linear-gradient(180deg, transparent, rgba(94,234,212,0.035), transparent);
  animation: scan 16s linear infinite; opacity: 0.6;
}
@keyframes orb { 0%,100% { transform: translateY(0) scale(1); opacity: 0.36; } 50% { transform: translateY(3%) scale(1.06); opacity: 0.5; } }
@keyframes scan { 0% { transform: translateY(-340px); } 100% { transform: translateY(100vh); } }
@keyframes aurora { 0% { transform: translate3d(0,0,0) scale(1); } 100% { transform: translate3d(0,-2%,0) scale(1.05); } }

/* ---------- launch bar ---------- */
.launchbar {
  position: relative; z-index: 20;
  background: linear-gradient(90deg, rgba(45,212,191,0.09), rgba(196,181,253,0.09));
  border-bottom: 1px solid var(--line-0);
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em;
}
.launchbar__inner { display: flex; align-items: center; gap: 0.7rem; padding: 0.55rem 0; justify-content: center; flex-wrap: wrap; color: var(--text-2); }
.launchbar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 2.6s ease-in-out infinite; }
.launchbar__cta { color: var(--cyan); font-weight: 600; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(16px);
  background: rgba(23,20,29,0.74); border-bottom: 1px solid var(--line-0); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; }

.brand { display: inline-flex; align-items: center; gap: 0.72rem; color: var(--text-0); }
.brand__mark svg { filter: drop-shadow(0 0 12px rgba(94,234,212,0.4)); }
.brand__word { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.36rem; letter-spacing: -0.01em; }
.brand__sub { font-family: var(--font-mono); font-size: 0.55rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--cyan); margin-top: 3px; }

.nav { display: flex; align-items: center; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 0.35rem; }
.nav__list a { display: inline-flex; align-items: center; padding: 0.5rem 0.9rem; border-radius: 10px;
  font-size: 0.92rem; font-weight: 500; color: var(--text-1); }
.nav__list a:not(.nav__cta):hover { color: var(--text-0); background: var(--surface); }
.nav__list a.is-active { color: var(--cyan); }
.nav__toggle { display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-1);
  border-radius: 12px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav__bar { width: 20px; height: 2px; background: var(--text-0); border-radius: 2px; transition: var(--transition); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem; justify-content: center;
  padding: 0.92rem 1.7rem; border-radius: 14px; font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 1px solid transparent;
  transition: var(--transition); letter-spacing: 0.01em; white-space: nowrap;
}
.btn--sm { padding: 0.58rem 1.05rem; font-size: 0.85rem; }
.btn--lg { padding: 1.08rem 2.1rem; font-size: 1.02rem; }
.btn .arrow { transition: transform var(--transition); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--glow { background: linear-gradient(135deg, var(--cyan-deep), var(--cyan)); color: #10201c;
  box-shadow: 0 8px 26px rgba(94,234,212,0.24); }
.btn--glow:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(94,234,212,0.36); color: #10201c; }
.btn--ghost { background: var(--surface); border-color: var(--line-1); color: var(--text-0); }
.btn--ghost:hover { border-color: var(--cyan); background: var(--cyan-faint); color: var(--text-0); }

/* ---------- typography / sections ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan)); }
.eyebrow--center { justify-content: center; }
.eyebrow--center::after { content: ''; width: 24px; height: 1px; background: linear-gradient(90deg, var(--cyan), transparent); }

h1, h2, h3 { font-family: var(--font-display); color: var(--text-0); line-height: 1.14; letter-spacing: -0.01em; font-weight: 600; }
h1 em, h2 em, h3 em, .lede em { font-style: italic; color: var(--cyan-bright); }
.grad { background: linear-gradient(120deg, var(--cyan), var(--blue)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-style: italic; }

.section { padding: clamp(3.5rem, 8vw, 7.5rem) 0; position: relative; z-index: 10; }
.section--tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.section--alt { background: linear-gradient(180deg, transparent, rgba(30,26,38,0.7), transparent); }
.section__head { max-width: 740px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: 0.8rem 0 0.6rem; }
.section__head p { color: var(--text-2); font-size: 1.05rem; }
.lede { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--text-1); font-weight: 300; line-height: 1.8; }

/* ---------- hero ---------- */
.hero { position: relative; z-index: 10; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.42rem 1.05rem; margin-bottom: 1.7rem;
  background: var(--cyan-faint); border: 1px solid var(--line-1); border-radius: 50px;
  font-family: var(--font-mono); font-size: 0.74rem; color: var(--cyan);
}
.hero h1 { font-size: clamp(2.7rem, 7vw, 5rem); font-weight: 500; }
.hero__lede { margin: 1.6rem auto 2.5rem; max-width: 660px; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero__note { margin-top: 1.3rem; font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-mute); }

/* inline hero waitlist */
.hero__form { max-width: 500px; margin: 2.2rem auto 0; }

/* ---------- signup form ---------- */
.signup__row { display: flex; gap: 0.6rem; }
.signup input[type=email] {
  flex: 1; min-width: 0; padding: 0.98rem 1.15rem; background: var(--bg-1);
  border: 1px solid var(--line-1); border-radius: 14px; color: var(--text-0);
  font-family: var(--font-body); font-size: 1rem; outline: none; transition: var(--transition);
}
.signup input[type=email]:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-faint); background: var(--bg-2); }
.signup input::placeholder { color: var(--text-mute); }
.signup__fine { margin-top: 0.85rem; font-size: 0.76rem; color: var(--text-mute); }
.form-status { margin-top: 0.7rem; font-size: 0.9rem; min-height: 1.2em; }
.form-status.is-ok { color: var(--cyan-bright); }
.form-status.is-err { color: #fca5a5; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--glass); backdrop-filter: blur(9px);
  border: 1px solid var(--line-0); border-radius: var(--radius-2); padding: 1.8rem;
  transition: var(--transition); position: relative; overflow: hidden;
}
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(94,234,212,0.10), transparent 45%); opacity: 0; transition: opacity var(--transition); }
.card:hover { border-color: var(--line-1); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.3); }
.card:hover::after { opacity: 1; }
.card__icon { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 15px; background: var(--cyan-faint); border: 1px solid var(--line-1); color: var(--cyan);
  font-size: 1.4rem; margin-bottom: 1.1rem; }
.card__num { font-family: var(--font-mono); font-size: 0.76rem; color: var(--cyan); letter-spacing: 0.12em; }
.card h3 { font-size: 1.3rem; margin: 0.35rem 0 0.55rem; font-weight: 600; }
.card p { color: var(--text-2); font-size: 0.96rem; }

/* feature row */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature + .feature { margin-top: clamp(3rem, 7vw, 6rem); }
.feature--reverse > :first-child { order: 2; }
.feature__body h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: 1rem; }
.feature__body > p { color: var(--text-1); }
.feature__visual {
  border: 1px solid var(--line-1); border-radius: var(--radius-3); padding: 1.5rem; background: var(--glass);
  box-shadow: 0 22px 60px rgba(0,0,0,0.3); position: relative;
}

/* checklist */
.checklist { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.5rem; }
.checklist li { position: relative; padding-left: 32px; color: var(--text-1); font-size: 0.99rem; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 19px; height: 19px; border-radius: 7px;
  background: var(--cyan-faint); border: 1px solid var(--line-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.checklist li strong { color: var(--text-0); }

/* spec / conversation panel — reframed as a calm reflection card */
.terminal {
  font-family: var(--font-mono); font-size: 0.86rem; background: rgba(15,13,19,0.92);
  border: 1px solid var(--line-1); border-radius: var(--radius-2); overflow: hidden;
}
.terminal__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--line-0); color: var(--text-mute); }
.terminal__dot { width: 10px; height: 10px; border-radius: 50%; background: #4a4256; }
.terminal__dot--live { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.terminal__body { padding: 1.3rem 1.4rem; display: grid; gap: 0.65rem; }
.terminal__line { color: var(--text-2); line-height: 1.55; }
.terminal__line b { color: var(--cyan); font-weight: 500; }
.terminal__line .ok { color: var(--amber); }

/* steps */
.steps { display: grid; gap: 1.15rem; counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start;
  background: var(--glass); border: 1px solid var(--line-0); border-radius: var(--radius-2); padding: 1.5rem 1.6rem; }
.step__num { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 500; color: #10201c; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.step h3 { font-size: 1.16rem; margin-bottom: 0.35rem; font-weight: 600; }
.step p { color: var(--text-2); font-size: 0.95rem; }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-0);
  border: 1px solid var(--line-0); border-radius: var(--radius-2); overflow: hidden; }
.stat { background: var(--bg-1); padding: 1.9rem 1.2rem; text-align: center; }
.stat__num { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 600; color: var(--text-0); }
.stat__num .grad { display: inline; }
.stat__label { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); margin-top: 0.5rem; }

/* panel */
.panel { background: var(--glass); border: 1px solid var(--line-0); border-radius: var(--radius-2); padding: clamp(1.6rem, 3vw, 2.6rem); }
.panel--accent { border-left: 3px solid var(--cyan); }

/* prominent crisis callout (safety page) */
.crisis {
  border: 1px solid rgba(247,217,160,0.5); border-left: 4px solid var(--amber);
  background: linear-gradient(180deg, rgba(247,217,160,0.10), rgba(247,217,160,0.04));
  border-radius: var(--radius-2); padding: clamp(1.5rem, 3vw, 2.2rem);
}
.crisis h2 { color: var(--amber); font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: 0.7rem; }
.crisis p { color: var(--text-0); font-size: 1.05rem; }
.crisis strong { color: var(--amber); }
.crisis .crisis__line { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono);
  font-size: 1.1rem; color: var(--amber); font-weight: 500; margin-top: 0.4rem; }

/* pill row */
.pills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.pill { font-family: var(--font-mono); font-size: 0.76rem; padding: 0.42rem 0.9rem; border-radius: 50px;
  background: var(--surface); border: 1px solid var(--line-0); color: var(--text-2); }

/* faq */
.faq { display: grid; gap: 0.75rem; max-width: 800px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line-0); border-radius: var(--radius-1); background: var(--glass); overflow: hidden; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1.15rem 1.4rem; font-family: var(--font-display);
  font-weight: 600; color: var(--text-0); font-size: 1.08rem; position: relative; padding-right: 3rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: '+'; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%);
  color: var(--cyan); font-size: 1.5rem; font-weight: 300; }
.faq__item[open] summary::after { content: '\2212'; }
.faq__item .faq__a { padding: 0 1.4rem 1.3rem; color: var(--text-2); }

/* preflaunch band */
.preflaunch { position: relative; z-index: 10; border-top: 1px solid var(--line-0); border-bottom: 1px solid var(--line-0);
  background: linear-gradient(180deg, rgba(30,26,38,0.6), rgba(23,20,29,0.6)); padding: clamp(3rem, 6vw, 5rem) 0; }
.preflaunch__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.preflaunch__copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 0.6rem 0 0.7rem; }
.preflaunch__copy p { color: var(--text-2); }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 10; background: var(--bg-1); border-top: 1px solid var(--line-0); padding-top: clamp(2.5rem, 5vw, 4rem); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.site-footer__tag { color: var(--text-2); font-size: 0.92rem; margin: 1rem 0; max-width: 44ch; }
.statusline { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-mute); }
.statusline__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.site-footer__col h3 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.site-footer__col ul { list-style: none; display: grid; gap: 0.55rem; }
.site-footer__col a { color: var(--text-2); font-size: 0.93rem; }
.site-footer__col a:hover { color: var(--cyan); }
.site-footer__disclaimer { padding: 1.5rem 0; border-top: 1px solid var(--line-0); }
.site-footer__disclaimer p { font-size: 0.8rem; color: var(--text-mute); max-width: 92ch; line-height: 1.7; }
.site-footer__disclaimer strong { color: var(--text-2); }
.site-footer__base { border-top: 1px solid var(--line-0); }
.site-footer__base-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  padding: 1.2rem 0; font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-mute); }

/* ---------- crumbs / page head ---------- */
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem); position: relative; z-index: 10; }
.crumbs { font-family: var(--font-mono); font-size: 0.76rem; color: var(--text-mute); margin-bottom: 1.2rem; }
.crumbs a { color: var(--text-2); }
.crumbs .sep { margin: 0 0.5rem; opacity: 0.5; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); margin: 0.7rem 0; font-weight: 500; }
.page-head__lede { max-width: 660px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .fx-orb, .fx-scan, .fx-grid, .launchbar__dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .feature, .preflaunch__inner { grid-template-columns: 1fr; gap: 2.2rem; }
  .feature--reverse > :first-child { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .nav__toggle { display: flex; }
  .nav__list {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0.2rem;
    background: rgba(23,20,29,0.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line-1);
    padding: 0.8rem 1.1rem 1.2rem; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: var(--transition);
  }
  .nav__list.open { transform: none; opacity: 1; visibility: visible; }
  .nav__list a { padding: 0.8rem 0.9rem; }
  .nav__cta { justify-content: center; margin-top: 0.4rem; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .signup__row { flex-direction: column; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}
