/* ==========================================================================
   BeAnon — app-violet system (2026-09-16)
   Colours from the app icon (electric violet to deep violet, white,
   midnight), the platform system font (SF Pro on Apple devices) and an
   animated app walkthrough in the hero.
   Checked with the impeccable detector, taste rules and axe.

   01 Fonts   02 Tokens   03 Base   04 Type   05 Controls   06 Chrome
   07 Home    08 Interior 09 Content 10 Responsive 11 Preferences
   ========================================================================== */

/* 01 Fonts ------------------------------------------------------------------
   The platform system font: SF Pro on Apple devices (the same face the iOS
   app uses), Segoe UI on Windows, Roboto on Android. Nothing to download,
   and Apple devices switch between SF Pro Text and Display automatically. */

/* 02 Tokens ------------------------------------------------------------------ */
:root {
  color-scheme: light dark;

  --paper: #f7f6fb;
  --paper-2: #edeaf4;
  --card: #fdfcff;
  --ink: #1b1623;
  --ink-2: #5d5566;
  --line: #dcd7e6;
  --line-strong: #c3bcd1;
  --accent: #6a0ae9;
  --accent-strong: #4304b6;
  --accent-tint: #f1eaff;
  --on-accent: #fdfcff;
  --stage: #1b1623;
  --stage-2: #2a2333;
  --stage-ink: #f4f0ea;
  --stage-ink-2: #c9bfd3;

  /* App palette, taken from the BeAnon app icon: electric violet fading to
     deep violet, white, and midnight. The gradient is for big moments;
     everything else is white or lilac tint. */
  --grad: linear-gradient(155deg, #7b0dfd 0%, #5e08dc 55%, #4304b6 100%);
  --violet: #7b0dfd;
  --violet-deep: #4304b6;
  --midnight: #120a26;
  --night-panel: #120a26;
  --grad-button: linear-gradient(135deg, #7b0dfd 0%, #4d05c9 100%);
  --lilac: #c9b6ff;
  --on-grad: #ece3ff;
  --lilac-tint: #f1eaff;
  --pop-ink: #1b1623;
  --btn-shadow: 0 8px 20px rgba(27, 22, 35, 0.18);
  --btn-shadow-hover: 0 14px 28px rgba(27, 22, 35, 0.24);
  --shadow-pop: 0 2px 4px rgba(67, 4, 182, 0.08), 0 18px 40px rgba(67, 4, 182, 0.16);

  /* Text styles — size, leading and tracking travel together, following
     Apple's SF Pro values on apple.com: SF Pro Text (under 20px) tightens
     as it grows; SF Pro Display (20px and up) starts slightly open and
     tightens again only at headline sizes. */
  --fs-caption2: 0.6875rem;  --lh-caption2: 1.33; --ls-caption2: 0.005em;
  --fs-caption:  0.8125rem;  --lh-caption: 1.38;  --ls-caption: -0.005em;
  --fs-footnote: 0.875rem;   --lh-footnote: 1.43; --ls-footnote: -0.01em;
  --fs-subhead:  0.9375rem;  --lh-subhead: 1.47;  --ls-subhead: -0.014em;
  --fs-callout:  1rem;       --lh-callout: 1.47;  --ls-callout: -0.018em;
  --fs-body:     1.0625rem;  --lh-body: 1.47;     --ls-body: -0.022em;
  --fs-read:     1.125rem;   --lh-read: 1.58;     --ls-read: -0.02em;
  --fs-headline: 1.25rem;    --lh-headline: 1.3;  --ls-headline: 0.009em;
  --fs-title3:   clamp(1.375rem, 1.25rem + 0.5vw, 1.625rem); --lh-title3: 1.2;  --ls-title3: 0.006em;
  --fs-title2:   clamp(1.75rem, 1.45rem + 1.2vw, 2.5rem);    --lh-title2: 1.12; --ls-title2: 0.002em;
  --fs-title1:   clamp(2.25rem, 1.5rem + 3vw, 3.75rem);      --lh-title1: 1.08; --ls-title1: -0.005em;
  --fs-large:    clamp(2.5rem, 1.7rem + 3.2vw, 4.5rem);      --lh-large: 1.06;  --ls-large: -0.01em;
  --fs-display:  clamp(3rem, 1.2rem + 5vw, 5.5rem);          --lh-display: 1.04; --ls-display: -0.015em;
  --fs-lead:     clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem); --lh-lead: 1.38; --ls-lead: 0.006em;

  --w-regular: 400;
  --w-medium: 500;
  --w-semibold: 600;
  --w-bold: 700;

  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing scale: 4 8 12 16 24 32 48 64 96 128 */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;

  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 36px;
  --r-pill: 999px;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(var(--s8), 10vw, var(--s10));
  --nav-h: 64px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-hard: 4px 4px 0 var(--ink);
  --shadow-soft: 0 1px 2px rgba(27, 22, 35, 0.06), 0 12px 32px rgba(27, 22, 35, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #15121b;
    --paper-2: #1f1a27;
    --card: #231d2c;
    --ink: #f4f0ea;
    --ink-2: #b7aec0;
    --line: #372f42;
    --line-strong: #4a4156;
    --accent: #b98cff;
    --accent-strong: #d8c2ff;
    --accent-tint: #26184a;
    --on-accent: #fdfcff;
    --stage: #0e0b13;
    --stage-2: #231d2c;
    --shadow-hard: 4px 4px 0 #0b0910;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.35);
    --shadow-pop: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 40px rgba(0, 0, 0, 0.4);
    --btn-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
    --btn-shadow-hover: 0 14px 28px rgba(0, 0, 0, 0.45);
    --lilac-tint: #1f1540;
    --night-panel: #1f1540;
  }
}

/* Dynamic Type: on iPhone and iPad the root size follows the reader's
   text-size setting, and every rem-based size and space scales with it. */
@supports (font: -apple-system-body) and (-webkit-touch-callout: none) {
  html { font: -apple-system-body; }
  /* 1rem now equals the reader's body size (17px by default), so fixed styles are re-based. */
  :root {
    --fs-caption2: 0.6471rem;
    --fs-caption: 0.7647rem;
    --fs-footnote: 0.8235rem;
    --fs-subhead: 0.8824rem;
    --fs-callout: 0.9412rem;
    --fs-body: 1.0000rem;
    --fs-read: 1.0588rem;
    --fs-headline: 1.1765rem;
  }
}

/* 03 Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + var(--s5));
  background: var(--paper);
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--fs-body);
  letter-spacing: var(--ls-body);
  line-height: var(--lh-body);
  font-kerning: normal;
  font-synthesis-weight: none;
  hanging-punctuation: first allow-end;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: var(--s6) 0; }
::selection { background: var(--accent-tint); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute;
  left: var(--s4);
  top: -64px;
  z-index: 100;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: var(--w-semibold);
  text-decoration: none;
}
.skip:focus { top: var(--s2); }

/* 04 Type ------------------------------------------------------------------- */
h1, h2, h3, h4 {
  color: var(--ink);
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: var(--w-bold);
  text-rendering: optimizeLegibility;
  text-wrap: balance;
}
h1 { font-size: var(--fs-large); line-height: var(--lh-large); letter-spacing: var(--ls-large); }
h2 { font-size: var(--fs-title1); line-height: var(--lh-title1); letter-spacing: var(--ls-title1); }
h3 { font-size: var(--fs-title3); line-height: var(--lh-title3); letter-spacing: var(--ls-title3); font-weight: var(--w-semibold); }
h4 { font-size: var(--fs-headline); line-height: var(--lh-headline); letter-spacing: var(--ls-headline); font-weight: var(--w-semibold); }
p { text-wrap: pretty; }
strong, b { font-weight: var(--w-semibold); }

.kicker,
.eyebrow,
.small-note,
.smallnote,
.section-label,
.faq-category-label {
  display: block;
  color: var(--accent);
  font-family: var(--text);
  font-size: var(--fs-body);
  letter-spacing: var(--ls-body);
  font-weight: var(--w-semibold);
  line-height: var(--lh-body);
}
.lead,
.page-intro {
  color: var(--ink-2);
  font-size: var(--fs-lead);
  letter-spacing: var(--ls-lead);
  line-height: var(--lh-lead);
}
.note,
.caption,
.page-meta,
.article-meta { color: var(--ink-2); font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); }

/* 05 Controls --------------------------------------------------------------- */
.button,
.ui-button,
.btn,
.cyber-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 52px;
  padding: var(--s3) var(--s6);
  border: 0;
  border-radius: var(--r-pill);
  background: var(--grad-button);
  color: #ffffff;
  font-family: var(--text);
  font-size: var(--fs-callout);
  letter-spacing: var(--ls-callout);
  font-weight: var(--w-semibold);
  line-height: var(--lh-callout);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--btn-shadow);
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out), filter 200ms ease;
}
.button svg, .ui-button svg, .btn svg, .cyber-btn svg { width: 18px; height: 18px; flex: none; }
.button.secondary,
.ui-button-secondary {
  background: var(--card);
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line-strong);
}
.button-light { background: #ffffff; color: #6a0ae9; box-shadow: 0 10px 24px rgba(27, 22, 35, 0.22); }
.button:active, .ui-button:active, .btn:active, .cyber-btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .button:hover, .ui-button:hover, .btn:hover, .cyber-btn:hover { transform: translateY(-2px); box-shadow: var(--btn-shadow-hover); }
  .button.secondary:hover, .ui-button-secondary:hover { box-shadow: inset 0 0 0 2px var(--accent); }
  .button-light:hover { box-shadow: 0 14px 30px rgba(27, 22, 35, 0.3); }
}
.text-link,
.quiet-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s1);
  color: var(--ink);
  font-weight: var(--w-semibold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
  transition: color 160ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover, .quiet-link:hover { color: var(--accent); }
}

.scenario-controls { display: flex; flex-wrap: wrap; gap: var(--s2); }
.scenario-controls button {
  min-height: 44px;
  padding: var(--s2) var(--s4);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-subhead);
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-subhead);
  font-weight: var(--w-semibold);
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.scenario-controls button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.scenario-controls button:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .scenario-controls button:not([aria-pressed="true"]):hover { border-color: var(--ink); }
}

.motion-toggle:disabled { opacity: 0.75; cursor: default; }
.motion-toggle {
  min-height: 36px;
  padding: var(--s2) var(--s3);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);
  font-weight: var(--w-semibold);
}

.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 44px;
  padding: var(--s2) var(--s4) var(--s2) var(--s3);
  border: 0;
  border-radius: var(--r-sm);
  background: #000000;
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  text-align: left;
  cursor: not-allowed;
}
.store-badge svg { width: 20px; height: 20px; flex: none; }
.store-badge.store-apple svg { fill: currentColor; }
.store-badge span { display: grid; line-height: 1.15; }
.store-badge small { font-size: var(--fs-caption2); letter-spacing: var(--ls-caption2); line-height: var(--lh-caption2); font-weight: var(--w-medium); }
.store-badge strong { font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); font-weight: var(--w-semibold); white-space: nowrap; }
.soon-label { color: var(--ink-2); font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); font-weight: var(--w-semibold); margin-right: var(--s1); }

/* 06 Chrome ------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: var(--nav-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--fs-title3);
  font-weight: var(--w-bold);
  letter-spacing: var(--ls-title3);
  line-height: var(--lh-title3);
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.wordmark span { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: var(--s1); }
.site-nav a:not(.button) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s3);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: var(--fs-subhead);
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-subhead);
  font-weight: var(--w-semibold);
  text-decoration: none;
  transition: background-color 160ms ease;
}
.site-nav a[aria-current="page"] { background: var(--paper-2); }
@media (hover: hover) and (pointer: fine) {
  .site-nav a:not(.button):hover { background: var(--paper-2); }
}
.site-nav .nav-cta { margin-left: var(--s3); min-height: 44px; font-size: var(--fs-subhead); letter-spacing: var(--ls-subhead); line-height: var(--lh-subhead); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-right: calc(var(--s3) * -1);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
}
.menu-icon { position: relative; display: block; width: 22px; height: 14px; }
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 320ms var(--ease-out), top 320ms var(--ease-out);
}
.menu-icon::before { top: 2px; }
.menu-icon::after { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { top: 6px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { top: 6px; transform: rotate(-45deg); }
.menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-scrim { display: none; }

.site-footer {
  margin-top: var(--section);
  padding-top: var(--s8);
  background: var(--midnight);
  color: #d9cffa;
  font-size: var(--fs-subhead);
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-subhead);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s6);
  padding-bottom: var(--s7);
}
.footer-about .brand { font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.footer-about p { margin-top: var(--s3); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-col strong { margin-bottom: var(--s2); color: #ffffff; font-weight: var(--w-semibold); }
.site-footer .brand { color: #ffffff; }
.site-footer .wordmark span { color: var(--on-grad); }
.site-footer .motion-toggle { border-color: rgba(255, 255, 255, 0.4); color: #ffffff; }
.site-footer :focus-visible { outline-color: #ffffff; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: #d9cffa; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .footer-col a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 3px; }
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: var(--s5) var(--s7);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--fs-footnote);
  letter-spacing: var(--ls-footnote);
  line-height: var(--lh-footnote);
}

/* 07 Home ------------------------------------------------------------------- */
.section { padding-top: var(--section); }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4) var(--s7);
  margin-bottom: var(--s7);
}
.section-head h2 { max-width: 22ch; }
.section-head > div { max-width: 46rem; }
.h-eyebrow,
.h1-eyebrow {
  display: block;
  margin-bottom: var(--s3);
  color: var(--accent);
  font-family: var(--text);
  font-size: var(--fs-callout);
  letter-spacing: var(--ls-callout);
  line-height: var(--lh-callout);
  font-weight: var(--w-semibold);
}
.download .h-eyebrow { color: #ece3ff; }
.opener .h-eyebrow { color: #cbb2ff; }
.page-hero .h1-eyebrow { color: #cbb2ff; }
.hero .h1-eyebrow { margin-bottom: var(--s4); color: #e4d8ff; font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.safety-copy .h-eyebrow { color: var(--accent); }
.section-intro { max-width: 40rem; margin-top: var(--s4); color: var(--ink-2); font-size: var(--fs-read); letter-spacing: var(--ls-read); line-height: var(--lh-read); }
.opener-intro { max-width: 30rem; margin-bottom: var(--s5); color: #ddd3f5; font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); }
.faq-intro { margin-bottom: var(--s5); color: var(--ink-2); font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); }

/* Why BeAnon + Who it's for */
.why-grid, .who-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); list-style: none; }
.why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-card, .who-card {
  display: grid;
  align-content: start;
  gap: var(--s2);
  padding: var(--s6) var(--s5);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(27, 22, 35, 0.05), 0 10px 28px rgba(67, 4, 182, 0.08);
}
.who-card { background: var(--lilac-tint); box-shadow: none; }
.why-card h3, .who-card h3 { margin-top: var(--s3); font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.why-card p, .who-card p { color: var(--ink-2); font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); }
.why-card a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.why-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--grad-button); color: #ffffff; }
.who-card .why-icon { background: var(--card); color: var(--accent); }
.why-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-journal .journal-card h3 { margin: 0; font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.faq-list summary h3, .faq-group summary h3 { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }

.section-head .kicker, .section-head .small-note { margin-top: var(--s3); }

/* Hero: midnight stage with a violet aurora and the app walkthrough.
   Motion (aurora drift, chat loop, marquee, scribble) runs only with
   .js-motion, so reduced motion and the motion toggle get a still frame. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-inline: clamp(0px, 1.5vw, var(--s4));
  padding-top: clamp(var(--s7), 5vw, var(--s8));
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: #0c0620;
  color: #ffffff;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(80px); }
.aurora.a1 { top: -18%; right: 4%; width: 52vw; aspect-ratio: 1; background: #7b0dfd; opacity: 0.55; }
.aurora.a2 { bottom: -30%; right: -12%; width: 40vw; aspect-ratio: 1; background: #4304b6; opacity: 0.7; }
.aurora.a3 { top: 20%; left: -14%; width: 34vw; aspect-ratio: 1; background: #5e08dc; opacity: 0.35; }
.stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255, 255, 255, 0.7), transparent),
    radial-gradient(1px 1px at 28% 72%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1.5px 1.5px at 46% 9%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 58% 88%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 71% 14%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(1px 1px at 88% 64%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 6% 52%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(1.5px 1.5px at 94% 30%, rgba(255, 255, 255, 0.6), transparent);
}
.spark { position: absolute; color: #cbb2ff; }
.spark.k1 { top: 12%; left: 47%; width: 34px; opacity: 0.8; }
.spark.k2 { bottom: 26%; left: 4%; width: 20px; opacity: 0.5; }
.spark.k3 { top: 8%; right: 5%; width: 24px; opacity: 0.6; }
.js-motion .aurora.a1 { animation: aurora-drift 16s ease-in-out infinite alternate; }
.js-motion .aurora.a2 { animation: aurora-drift 20s ease-in-out -6s infinite alternate-reverse; }
.js-motion .aurora.a3 { animation: aurora-drift 18s ease-in-out -3s infinite alternate; }
.js-motion .spark { animation: twinkle 3.2s ease-in-out infinite; }
.js-motion .spark.k2 { animation-delay: -1.1s; }
.js-motion .spark.k3 { animation-delay: -2.2s; }
@keyframes aurora-drift { to { transform: translate(-6%, 8%) scale(1.12); } }
@keyframes twinkle { 50% { opacity: 0.15; transform: scale(0.7) rotate(20deg); } }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(var(--s5), 3vw, var(--s7));
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s5);
  padding: var(--s1) var(--s4) var(--s1) var(--s3);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #e4d8ff;
  font-size: var(--fs-footnote);
  letter-spacing: var(--ls-footnote);
  line-height: var(--lh-footnote);
  font-weight: var(--w-semibold);
}
.live-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: #b88cff; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #b88cff; }
.js-motion .live-dot::after { animation: live-ping 1.8s var(--ease-out) infinite; }
@keyframes live-ping { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3); opacity: 0; } }

.hero h1 { max-width: none; color: #ffffff; font-size: clamp(2.75rem, 1.1rem + 4.6vw, 5.25rem); letter-spacing: var(--ls-display); line-height: var(--lh-display); }
.hero-em { position: relative; display: inline-block; color: #cbb2ff; }
@media (min-width: 480px) { .hero-em { white-space: nowrap; } }
@media (max-width: 479px) {
  .hero-em { display: inline; text-decoration: underline 0.07em #7b0dfd; text-underline-offset: 0.14em; }
  .scribble { display: none; }
}
.scribble { position: absolute; left: 0; right: 0; bottom: -0.16em; width: 100%; height: 0.28em; overflow: visible; }
.scribble path { fill: none; stroke: #7b0dfd; stroke-width: 6; stroke-linecap: round; }
.js-motion .scribble path { stroke-dasharray: 320; animation: scribble 1100ms var(--ease-out) 500ms both; }
@keyframes scribble { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
.hero-copy .kicker { margin-top: var(--s5); color: #cbb2ff; }
.hero .lead { max-width: 32rem; margin-top: var(--s3); color: #ddd3f5; }
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s3) var(--s4);
  margin-top: var(--s6);
}
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s5); list-style: none; color: #ddd3f5; font-size: var(--fs-subhead); letter-spacing: var(--ls-subhead); line-height: var(--lh-subhead); font-weight: var(--w-medium); }
.hero-trust li { display: flex; align-items: center; gap: var(--s2); }
.hero-trust li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(123, 13, 253, 0.55); color: #ffffff; font-size: 0.7rem; font-weight: var(--w-bold); }
.hero :focus-visible { outline-color: #ffffff; }
.soon-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s6);
}
.hero .soon-label { color: #ddd3f5; }
.hero-downloads { margin-top: var(--s6); }
.hero-downloads .store-row { gap: var(--s3); }
.hero .store-badge { min-height: 54px; padding: var(--s2) var(--s5) var(--s2) var(--s4); }
.hero .store-badge svg { width: 24px; height: 24px; }
.hero .store-badge strong { font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: 1.15; }
.hero-store-note { margin-top: var(--s3); color: #b9acd6; font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); }
.fine-print { margin-top: var(--s3); color: var(--ink-2); font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); }
.hero .fine-print { color: #b9acd6; }

/* Hero art: the app walkthrough on a soft violet glow */
.hero-art { position: relative; display: grid; justify-items: center; padding-top: var(--s2); }
.hero-art::before {
  content: "";
  position: absolute;
  top: 4%;
  left: 50%;
  width: 130%;
  max-width: 620px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 13, 253, 0.55) 0%, rgba(123, 13, 253, 0.12) 50%, transparent 68%);
  transform: translateX(-50%);
  pointer-events: none;
}
.hero .walkthrough { position: relative; z-index: 1; top: auto; width: min(100%, 330px); }
.hero .walkthrough .phone { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12); }
.hero .wt-screens { height: 440px; }
.hero .wt-caption { margin-top: var(--s4); color: #ffffff; }
.hero .wt-caption b { color: #cbb2ff; }
.hero .wt-chapters button { color: #b9acd6; }
.hero .wt-chapters button[aria-pressed="true"] { color: #ffffff; }
.hero .wt-bar { background: rgba(255, 255, 255, 0.18); }
.hero .wt-toggle { color: #ffffff; text-decoration-color: #7b0dfd; }
.hero .wt-disclaimer { color: #b9acd6; }


/* Interest marquee */
.hero-marquee {
  margin-top: var(--s7);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.marquee-row { display: flex; gap: var(--s3); padding-right: var(--s3); }
.marquee-row span {
  padding: var(--s2) var(--s4);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: #e4d8ff;
  font-size: var(--fs-subhead);
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-subhead);
  font-weight: var(--w-medium);
  white-space: nowrap;
}
.marquee-row span:nth-child(3n+2) { background: rgba(123, 13, 253, 0.35); box-shadow: none; color: #ffffff; }
.js-motion .marquee-track { animation: marquee 38s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  margin-top: var(--s5);
  padding-block: var(--s5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #ddd3f5;
}
.hero-foot-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); }
.hero .motion-toggle { border-color: rgba(255, 255, 255, 0.35); color: #ffffff; }
.hero .quiet-link { color: #ffffff; text-decoration-color: #7b0dfd; }

/* How it works: steps + phone demo */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: clamp(var(--s6), 6vw, var(--s9));
  align-items: start;
}
.steps { display: grid; gap: var(--s4); list-style: none; }
.steps-row { grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.steps-row .step { grid-template-columns: minmax(0, 1fr); align-content: start; }
.steps-row .step-count { grid-row: auto; margin-bottom: var(--s2); }
.step {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: var(--s1) var(--s5);
  padding: var(--s6);
  border-radius: var(--r-md);
  background: var(--lilac-tint);
  color: var(--ink);
  transition: transform 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .step:hover { transform: rotate(-1deg) translateY(-3px); }
}
.step-count {
  grid-row: span 3;
  color: var(--accent);
  font-family: var(--display);
  font-size: 4rem;
  font-weight: var(--w-bold);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.step-label { color: var(--accent); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); font-weight: var(--w-semibold); }
.step h3 { margin-top: var(--s1); color: var(--ink); }
.step p { margin-top: var(--s2); color: var(--ink-2); }

.demo { position: sticky; top: calc(var(--nav-h) + var(--s5)); display: grid; justify-items: center; }
.phone {
  width: min(100%, 360px);
  padding: 10px;
  border-radius: 52px;
  background: #1b1623;
  box-shadow: var(--shadow-pop), 0 0 0 10px var(--lilac-tint);
}
.phone-screen {
  display: grid;
  gap: var(--s3);
  padding: var(--s3) var(--s3) var(--s2);
  border-radius: 43px;
  background: #fdfcff;
  color: #1b1623;
  overflow: hidden;
}
@media (prefers-color-scheme: dark) { .phone-screen { background: #15121b; color: #f4f0ea; } }
.status-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 30px;
  padding-inline: var(--s4);
  font-size: var(--fs-footnote);
  letter-spacing: var(--ls-footnote);
  line-height: var(--lh-footnote);
  font-weight: var(--w-semibold);
}
.status-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 2px;
  width: 92px;
  height: 26px;
  border-radius: var(--r-pill);
  background: #1b1623;
  transform: translateX(-50%);
}
@media (prefers-color-scheme: dark) { .status-bar::after { background: #000; } }
.status-icons { display: flex; gap: var(--s1); }
.status-icons i { display: block; width: 16px; height: 10px; border-radius: 3px; background: currentColor; opacity: 0.85; }
.status-icons i:nth-child(1) { width: 14px; border-radius: 0; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.status-icons i:nth-child(2) { width: 12px; border-radius: 6px 6px 2px 2px; }
.status-icons i:nth-child(3) { width: 22px; }
.anon-avatar,
.demo-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
}
.anon-avatar.is-small { width: 30px; height: 30px; }
.mask-glyph { width: 62%; height: auto; margin-top: 8%; }
.demo-in,
.demo-out {
  max-width: 84%;
  padding: var(--s2) var(--s3);
  border-radius: 18px;
  font-size: var(--fs-subhead);
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-subhead);
}
.demo-in { justify-self: start; background: #fdfcff; color: #1b1623; border-bottom-left-radius: var(--s1); }
.demo-out { justify-self: end; background: #6a0ae9; color: #fdfcff; border-bottom-left-radius: 18px; border-bottom-right-radius: var(--s1); }

/* Animated app walkthrough ------------------------------------------------
   Five short scenes play in sequence while the phone is on screen. Every
   element's resting style is its final state; the keyframes only animate
   in from hidden, so with motion off each scene simply shows its result. */
.wt-screens { position: relative; height: 470px; }
.wt-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  padding: var(--s3) var(--s2) var(--s2);
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out), visibility 0s linear 420ms;
}
.wt-scene.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 320ms var(--ease-out), transform 420ms var(--ease-out), visibility 0s; }
.wt-eyebrow { color: var(--wt-soft); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); font-weight: var(--w-semibold); }
.wt-title { font-family: var(--display); font-size: var(--fs-title2); font-weight: var(--w-bold); line-height: var(--lh-title2); letter-spacing: var(--ls-title2); }
.walkthrough { --wt-soft: #5d5566; --wt-surface: #f1eaff; --wt-line: #dcd7e6; --wt-card: #ffffff; }
@media (prefers-color-scheme: dark) { .walkthrough { --wt-soft: #b7aec0; --wt-surface: #231a3d; --wt-line: #372f42; --wt-card: #1d1830; } }

/* 1 · interests */
.wt-chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.wt-chip {
  position: relative;
  padding: var(--s2) var(--s3);
  border-radius: var(--r-pill);
  background: var(--wt-surface);
  font-size: var(--fs-footnote);
  letter-spacing: var(--ls-footnote);
  line-height: var(--lh-footnote);
  font-weight: var(--w-semibold);
}
.wt-chip.is-pick { background: #6a0ae9; color: #ffffff; }
.wt-hint { margin-top: auto; color: var(--wt-soft); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); text-align: center; }
.wt-cta { display: grid; place-items: center; min-height: 48px; border-radius: var(--r-pill); background: var(--grad-button); color: #ffffff; font-weight: var(--w-semibold); }
.js-motion .wt-scene.is-on .wt-chip { animation: wt-rise 420ms var(--ease-out) both; }
.js-motion .wt-scene.is-on .wt-chip:nth-child(2) { animation-delay: 60ms; }
.js-motion .wt-scene.is-on .wt-chip:nth-child(3) { animation-delay: 120ms; }
.js-motion .wt-scene.is-on .wt-chip:nth-child(4) { animation-delay: 180ms; }
.js-motion .wt-scene.is-on .wt-chip:nth-child(5) { animation-delay: 240ms; }
.js-motion .wt-scene.is-on .wt-chip:nth-child(6) { animation-delay: 300ms; }
.js-motion .wt-scene.is-on .wt-chip:nth-child(7) { animation-delay: 360ms; }
.js-motion .wt-scene.is-on .wt-chip:nth-child(8) { animation-delay: 420ms; }
.js-motion .wt-scene.is-on .wt-chip.is-pick { animation: wt-rise 420ms var(--ease-out) both, wt-pick 380ms var(--ease-out) both; }
.js-motion .wt-scene.is-on .wt-chip.is-pick::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid #b88cff;
  opacity: 0;
  animation: wt-tap 600ms var(--ease-out) both;
  animation-delay: inherit;
}
.js-motion .wt-scene.is-on .wt-chip.t1 { animation-delay: 0ms, 900ms; }
.js-motion .wt-scene.is-on .wt-chip.t2 { animation-delay: 120ms, 1500ms; }
.js-motion .wt-scene.is-on .wt-chip.t3 { animation-delay: 300ms, 2100ms; }
.js-motion .wt-scene.is-on .wt-chip.t1::after { animation-delay: 900ms; }
.js-motion .wt-scene.is-on .wt-chip.t2::after { animation-delay: 1500ms; }
.js-motion .wt-scene.is-on .wt-chip.t3::after { animation-delay: 2100ms; }
.js-motion .wt-scene.is-on .wt-cta { animation: wt-press 700ms var(--ease-out) 2900ms both; }

/* 2 · matching */
.wt-radar { position: relative; display: grid; place-items: center; height: 230px; margin-top: var(--s2); }
.wt-ring { position: absolute; width: 110px; aspect-ratio: 1; border-radius: 50%; border: 2px solid #b88cff; opacity: 0.5; }
.wt-ring.r2 { width: 170px; opacity: 0.3; }
.wt-ring.r3 { width: 230px; opacity: 0.16; }
.wt-me .anon-avatar { width: 76px; height: 76px; box-shadow: 0 10px 30px rgba(27, 22, 35, 0.25); }
.wt-orbit { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--wt-surface); box-shadow: inset 0 0 0 2px #b88cff; }
.wt-orbit.o1 { top: 14%; left: 22%; }
.wt-orbit.o2 { top: 22%; right: 16%; }
.wt-orbit.o3 { bottom: 12%; left: 28%; }
.wt-orbit.o4 { bottom: 20%; right: 22%; background: #6a0ae9; box-shadow: none; }
.wt-status { color: var(--wt-soft); font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); font-weight: var(--w-semibold); text-align: center; }
.wt-match {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: auto;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-md);
  background: var(--grad);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(27, 22, 35, 0.22);
}
.wt-match div { display: grid; }
.wt-match strong { font-size: var(--fs-callout); line-height: var(--lh-callout); }
.wt-match div span { color: #ece3ff; font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); }
.wt-pair { display: flex; }
.wt-pair .anon-avatar { background: rgba(255, 255, 255, 0.22); box-shadow: 0 0 0 2px #ffffff; }
.wt-pair .anon-avatar + .anon-avatar { margin-left: -8px; }
.js-motion .wt-scene.is-on .wt-ring { animation: wt-pulse 2400ms var(--ease-out) infinite both; }
.js-motion .wt-scene.is-on .wt-ring.r2 { animation-delay: 400ms; }
.js-motion .wt-scene.is-on .wt-ring.r3 { animation-delay: 800ms; }
.js-motion .wt-scene.is-on .wt-me { animation: wt-breathe 1600ms ease-in-out infinite; }
.js-motion .wt-scene.is-on .wt-orbit { animation: wt-float 2200ms ease-in-out infinite alternate, wt-rise 400ms var(--ease-out) both; }
.js-motion .wt-scene.is-on .wt-orbit.o2 { animation-delay: 300ms, 200ms; }
.js-motion .wt-scene.is-on .wt-orbit.o3 { animation-delay: 600ms, 400ms; }
.js-motion .wt-scene.is-on .wt-orbit.o4 { animation: wt-lock 900ms var(--ease-out) 2000ms both; }
.wt-ellipsis i { font-style: normal; }
.js-motion .wt-scene.is-on .wt-ellipsis i { animation: wt-blink 1200ms infinite both; }
.js-motion .wt-scene.is-on .wt-ellipsis i:nth-child(2) { animation-delay: 200ms; }
.js-motion .wt-scene.is-on .wt-ellipsis i:nth-child(3) { animation-delay: 400ms; }
.js-motion .wt-scene.is-on .wt-match { animation: wt-pop 520ms var(--ease-out) 2600ms both; }

/* 3 · chat */
.wt-chathead { display: flex; align-items: center; gap: var(--s3); padding: 0 var(--s1) var(--s3); border-bottom: 1px solid var(--wt-line); }
.wt-chathead div { display: grid; min-width: 0; }
.wt-chathead strong { font-size: var(--fs-subhead); letter-spacing: var(--ls-subhead); line-height: var(--lh-subhead); }
.wt-chathead div span { color: var(--wt-soft); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); }
.wt-online { width: 10px; height: 10px; margin-left: auto; flex: none; border-radius: 50%; background: #1f9d55; }
.wt-thread { display: flex; flex-direction: column; gap: var(--s2); padding-inline: var(--s1); transition: opacity 300ms ease, filter 300ms ease; }
.wt-thread.is-dim { opacity: 0.4; filter: blur(1px); }
.wt-msg {
  position: relative;
  align-self: flex-start;
  max-width: 82%;
  padding: var(--s2) var(--s3);
  border-radius: 18px 18px 18px var(--s1);
  background: var(--wt-surface);
  font-size: var(--fs-subhead);
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-subhead);
}
.wt-msg.is-out { align-self: flex-end; border-radius: 18px 18px var(--s1) 18px; background: #6a0ae9; color: #ffffff; }
.wt-dots { position: absolute; inset: 0; display: flex; align-items: center; gap: 4px; padding-left: var(--s3); opacity: 0; }
.wt-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--wt-soft); }
.wt-input { display: flex; align-items: center; justify-content: space-between; min-height: 44px; margin-top: auto; padding: 0 var(--s1) 0 var(--s4); border: 1.5px solid var(--wt-line); border-radius: var(--r-pill); color: var(--wt-soft); font-size: var(--fs-footnote); }
.wt-input b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-button); color: #ffffff; }
.js-motion .wt-scene.is-on .wt-msg.t1 { animation: wt-bubble 420ms var(--ease-out) 300ms both; }
.js-motion .wt-scene.is-on .wt-msg.t2 { animation: wt-bubble 420ms var(--ease-out) 1300ms both; }
.js-motion .wt-scene.is-on .wt-msg.t3 { animation: wt-bubble 420ms var(--ease-out) 2100ms both; }
.js-motion .wt-scene.is-on .wt-msg.t3 .wt-text { animation: wt-reveal 1ms linear 3100ms both; }
.js-motion .wt-scene.is-on .wt-msg.t4 { animation: wt-bubble 420ms var(--ease-out) 3600ms both; }
.js-motion .wt-scene.is-on .wt-msg.t3 .wt-dots { animation: wt-typing 1000ms linear 2100ms both; }
.js-motion .wt-scene.is-on .wt-dots i { animation: wt-blink 900ms infinite both; }
.js-motion .wt-scene.is-on .wt-dots i:nth-child(2) { animation-delay: 150ms; }
.js-motion .wt-scene.is-on .wt-dots i:nth-child(3) { animation-delay: 300ms; }
.js-motion .wt-scene.is-on .wt-input b { animation: wt-press 600ms var(--ease-out) 1000ms both; }

/* 4 · mutual friendship, 5 · controls */
.wt-sheet {
  display: grid;
  gap: var(--s2);
  margin-top: auto;
  padding: var(--s4);
  border-radius: var(--r-md);
  background: var(--wt-card);
  box-shadow: 0 -8px 30px rgba(27, 22, 35, 0.14), inset 0 0 0 1px var(--wt-line);
}
.wt-sheet-title { font-family: var(--display); font-size: var(--fs-headline); line-height: var(--lh-headline); font-weight: var(--w-bold); }
.wt-vote { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); padding: var(--s2) 0; font-weight: var(--w-semibold); }
.wt-flip { display: grid; min-width: 104px; min-height: 36px; padding-block: var(--s1); border-radius: var(--r-pill); background: #6a0ae9; color: #ffffff; font-size: var(--fs-footnote); overflow: hidden; }
.wt-flip span { grid-area: 1 / 1; display: grid; place-items: center; padding-inline: var(--s3); }
.wt-flip .off { opacity: 0; }
.wt-result { padding: var(--s2) var(--s3); border-radius: var(--r-sm); background: var(--grad); color: #ffffff; font-weight: var(--w-semibold); text-align: center; }
.wt-action { display: flex; align-items: center; gap: var(--s3); min-height: 44px; padding-inline: var(--s2); border-radius: var(--r-sm); font-weight: var(--w-semibold); }
.wt-action b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--wt-surface); color: var(--accent); }
.js-motion .wt-scene.is-on .wt-sheet { animation: wt-sheet 520ms var(--ease-out) 400ms both; }
.js-motion .wt-scene.is-on .wt-flip { animation: wt-flip-bg 1ms linear both; }
.js-motion .wt-scene.is-on .wt-flip.t2 { animation-delay: 1400ms; }
.js-motion .wt-scene.is-on .wt-flip.t3 { animation-delay: 2300ms; }
.js-motion .wt-scene.is-on .wt-flip .off { animation: wt-swap-out 260ms var(--ease-out) both; animation-delay: inherit; }
.js-motion .wt-scene.is-on .wt-flip .on { animation: wt-swap-in 360ms var(--ease-out) both; animation-delay: inherit; }
.js-motion .wt-scene.is-on .wt-flip.t2 .off, .js-motion .wt-scene.is-on .wt-flip.t2 .on { animation-delay: 1400ms; }
.js-motion .wt-scene.is-on .wt-flip.t3 .off, .js-motion .wt-scene.is-on .wt-flip.t3 .on { animation-delay: 2300ms; }
.js-motion .wt-scene.is-on .wt-result { animation: wt-pop 520ms var(--ease-out) 2900ms both; }
.js-motion .wt-scene.is-on .wt-action { animation: wt-rise 380ms var(--ease-out) both, wt-highlight 700ms ease both; }
.js-motion .wt-scene.is-on .wt-action.t2 { animation-delay: 800ms, 1500ms; }
.js-motion .wt-scene.is-on .wt-action.t3 { animation-delay: 950ms, 2200ms; }
.js-motion .wt-scene.is-on .wt-action.t4 { animation-delay: 1100ms, 2900ms; }

/* player controls */
.wt-caption { min-height: 3em; max-width: 34ch; margin-top: var(--s5); color: var(--ink); font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); font-weight: var(--w-medium); text-align: center; }
.wt-caption b { margin-right: var(--s1); color: var(--accent); font-family: var(--display); }
.wt-chapters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); width: min(100%, 380px); margin-top: var(--s3); }
.wt-chapters button {
  display: grid;
  gap: var(--s2);
  min-height: 44px;
  padding: var(--s1) 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);
  font-weight: var(--w-semibold);
}
.wt-chapters button[aria-pressed="true"] { color: var(--accent); }
.wt-bar { display: block; height: 4px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.wt-bar i { display: block; height: 100%; border-radius: inherit; background: var(--grad-button); transform: scaleX(0); transform-origin: left; }
.wt-chapters button[aria-pressed="true"] .wt-bar i, .wt-chapters button.is-done .wt-bar i { transform: scaleX(1); }
.walkthrough.is-ready .wt-chapters button[aria-pressed="true"] .wt-bar i { transform: scaleX(var(--p, 1)); }
.wt-toggle { min-height: 44px; margin-top: var(--s2); border: 0; background: none; font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); }
.wt-disclaimer { color: var(--ink-2); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); }
.motion-off .wt-scene { transform: none; transition: none; }
/* Paused (or not started yet): show each scene's finished frame instead of a half-drawn one. */
.walkthrough.is-paused .wt-scene, .walkthrough.is-paused .wt-scene *, .walkthrough.is-paused .wt-scene *::after { animation: none !important; }
.step { transition: transform 220ms var(--ease-out), background-color 300ms ease, box-shadow 300ms ease; }
.step.is-current { background: var(--card); box-shadow: inset 0 0 0 2px var(--accent), var(--shadow-pop); }

@keyframes wt-rise { from { opacity: 0; transform: translateY(10px); } }
@keyframes wt-pick { from { background: var(--wt-surface); color: inherit; transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes wt-tap { 0% { opacity: 0.9; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.25); } }
@keyframes wt-press { 0%, 100% { transform: scale(1); } 40% { transform: scale(0.94); box-shadow: 0 0 0 8px rgba(123, 13, 253, 0.2); } }
@keyframes wt-pulse { 0% { transform: scale(0.6); opacity: 0.7; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes wt-breathe { 50% { transform: scale(1.06); } }
@keyframes wt-float { to { transform: translateY(-8px); } }
@keyframes wt-lock { 0% { opacity: 0; transform: scale(0.4); } 60% { transform: scale(1.4); } 100% { transform: scale(1); } }
@keyframes wt-blink { 0%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@keyframes wt-pop { 0% { opacity: 0; transform: translateY(16px) scale(0.92); } 70% { transform: translateY(-2px) scale(1.02); } 100% { opacity: 1; transform: none; } }
@keyframes wt-bubble { from { opacity: 0; transform: translateY(12px) scale(0.94); } }
@keyframes wt-typing { 0%, 99% { opacity: 1; } 100% { opacity: 0; } }
@keyframes wt-reveal { from { opacity: 0; } }
@keyframes wt-sheet { from { opacity: 0; transform: translateY(40px); } }
@keyframes wt-flip-bg { from { background: var(--wt-surface); color: var(--ink); } }
@keyframes wt-swap-out { from { opacity: 1; } to { opacity: 0; transform: translateY(-100%); } }
@keyframes wt-swap-in { from { opacity: 0; transform: translateY(100%); } }
@keyframes wt-highlight { 0%, 100% { background: transparent; } 40% { background: var(--wt-surface); } }

.tab-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: var(--s2) 0 var(--s1);
  border-top: 1px solid #dcd7e6;
  color: #5d5566;
  font-size: var(--fs-caption2);
  letter-spacing: var(--ls-caption2);
  line-height: var(--lh-caption2);
  font-weight: var(--w-semibold);
}
.tab-bar span { display: grid; justify-items: center; gap: 2px; }
.tab-bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab-bar .is-active { color: #6a0ae9; }
@media (prefers-color-scheme: dark) {
  .tab-bar { border-top-color: #372f42; color: #b7aec0; }
  .tab-bar .is-active { color: #b9a4ff; }
}

/* Conversation stage */
.stage {
  position: relative;
  overflow: hidden;
  padding: clamp(var(--s6), 6vw, var(--s9));
  border-radius: var(--r-lg);
  background: var(--lilac-tint);
  color: var(--ink);
}
.stage h2 { color: var(--ink); }
.stage .split-copy p { color: var(--ink-2); }
.stage .scenario-controls button[aria-pressed="true"] { background: #6a0ae9; border-color: #6a0ae9; color: #ffffff; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(var(--s6), 6vw, var(--s9));
}
.split-copy > * + * { margin-top: var(--s4); }
.split-copy h2 { max-width: 11ch; }
.scenario-controls { margin-top: var(--s6) !important; }
.demo-disclaimer { font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); }
.chat-card { border-radius: var(--r-md); background: #ffffff; color: var(--pop-ink); overflow: hidden; box-shadow: 0 2px 6px rgba(27, 22, 35, 0.06), 0 24px 50px rgba(67, 4, 182, 0.16); }
.demo-top { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); border-bottom: 1px solid #ece7f5; }
.demo-top div { display: grid; line-height: 1.3; }
.demo-top strong { color: var(--pop-ink); }
.demo-top div span { color: #5d5566; font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); }
.demo-private { margin-left: auto; padding: 2px var(--s3); border-radius: var(--r-pill); background: var(--lilac); color: var(--pop-ink); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); font-weight: var(--w-semibold); }
.demo-messages { display: grid; gap: var(--s2); min-height: 280px; align-content: center; padding: var(--s5); background: #faf7ff; }
.stage .demo-in { background: #ffffff; color: var(--pop-ink); box-shadow: 0 1px 2px rgba(27, 22, 35, 0.12); }
.stage .demo-out { background: #6a0ae9; color: #ffffff; }
.stage .demo-in, .stage .demo-out { font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); }
.stage .demo-messages p:nth-child(3) { background: #ece3ff; box-shadow: none; }
.demo-bottom { display: flex; align-items: center; gap: var(--s2); padding: var(--s4) var(--s5); border-top: 1px solid #ece7f5; color: #5d5566; font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); }
.demo-bottom span { color: #7b0dfd; }

/* Safety */
.safety-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(var(--s6), 6vw, var(--s9)); align-items: center; }
.safety-copy h2 { max-width: 11ch; }
.safety-copy .small-note { margin-top: var(--s3); }
.safety-copy .lead { margin-top: var(--s5); }
.check-list { display: grid; gap: var(--s3); margin-block: var(--s6) !important; list-style: none; }
.check-list li { position: relative; padding-left: var(--s6); font-weight: var(--w-semibold); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #6a0ae9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.privacy-note { margin-top: var(--s5); color: var(--ink-2); font-size: var(--fs-subhead); letter-spacing: var(--ls-subhead); line-height: var(--lh-subhead); }
.privacy-note a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.safety-panel {
  position: relative;
  display: grid;
  gap: var(--s3);
  padding: clamp(var(--s5), 4vw, var(--s7));
  border-radius: var(--r-lg);
  background: var(--violet-deep);
  color: #ffffff;
}
.safety-panel .app-icon { width: 72px; margin-bottom: var(--s3); border-radius: 18px; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5), 0 10px 24px rgba(27, 22, 35, 0.25); }
.safety-badge { color: #e9e2ff; font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); font-weight: var(--w-semibold); }
.safety-controls { display: grid; gap: var(--s3); }
.safety-controls > div {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s4);
  border-radius: var(--r-md);
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(27, 22, 35, 0.08);
}
.safety-controls b { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-sm); background: #f1eaff; color: #6a0ae9; font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.safety-controls > div > span { display: grid; color: var(--pop-ink); font-weight: var(--w-semibold); line-height: 1.35; }
.safety-controls small { color: #4a4254; font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); font-weight: var(--w-medium); }

/* Openers */
.opener {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(var(--s6), 5vw, var(--s8));
  padding: clamp(var(--s6), 6vw, var(--s9));
  border-radius: var(--r-lg);
  background: var(--night-panel);
  color: #ffffff;
}
.opener h2 { color: #ffffff; font-size: var(--fs-title1); letter-spacing: var(--ls-title1); line-height: var(--lh-title1); }
.opener .small-note { margin-block: var(--s3) var(--s5); color: #c9adff; }
.opener .quiet-link { color: #ffffff; text-decoration-color: #b88cff; }
.opener :focus-visible { outline-color: #ffffff; }
.prompt-card {
  display: grid;
  gap: var(--s5);
  padding: clamp(var(--s5), 4vw, var(--s7));
  border-radius: var(--r-md);
  background: #ffffff;
  color: var(--pop-ink);
  box-shadow: 0 24px 50px rgba(67, 4, 182, 0.25);
  transform: rotate(1.5deg);
}
.prompt-quote { color: #7b0dfd; font-family: var(--display); font-size: 4rem; font-weight: var(--w-bold); line-height: 0.6; height: 0.45em; }
.prompt-card p { color: var(--pop-ink); font-family: var(--display); font-size: var(--fs-title2); font-weight: var(--w-bold); line-height: 1.35; letter-spacing: var(--ls-title2); }
.prompt-card .button { justify-self: start; }

/* FAQ */
.faq-home { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(var(--s6), 6vw, var(--s9)); align-items: start; }
.faq-home .small-note { margin-block: var(--s3) var(--s5); }
.faq-list { display: grid; gap: var(--s3); }
.faq-list details {
  padding-inline: var(--s5);
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(27, 22, 35, 0.05), 0 8px 24px rgba(67, 4, 182, 0.08);
}
.faq-group details { border-bottom: 1px solid var(--line); }
.faq-list summary,
.faq-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  min-height: 72px;
  padding-block: var(--s4);
  color: var(--ink);
  font-family: var(--display);
  font-size: var(--fs-headline);
  letter-spacing: var(--ls-headline);
  line-height: 1.35;
  font-weight: var(--w-semibold);
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker,
.faq-group summary::-webkit-details-marker { display: none; }
.faq-list summary > span,
.faq-group summary > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #6a0ae9;
  color: #ffffff;
  font-family: var(--text);
  font-size: var(--fs-read);
  letter-spacing: var(--ls-read);
  line-height: 1.4;
  font-weight: var(--w-semibold);
  transition: transform 300ms var(--ease-out), background-color 160ms ease;
}
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-group details[open] summary > span { transform: rotate(180deg); }
.faq-list details > p { max-width: 60ch; padding-bottom: var(--s5); color: var(--ink-2); }
.faq-list details a { color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* Download */
.download {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: var(--s7);
  align-items: end;
  padding: clamp(var(--s6), 6vw, var(--s9));
  border-radius: var(--r-lg);
  background: var(--grad);
  color: #ffffff;
}
.download .shape { position: absolute; display: block; }
.download .shape-heart { width: clamp(56px, 7vw, 96px); color: #ffffff; opacity: 0.85; rotate: 10deg; }
.download .shape-spark { width: clamp(40px, 5vw, 72px); color: rgba(255, 255, 255, 0.55); }
.download .glow { right: -8%; bottom: -20%; width: 46vw; aspect-ratio: 1; border-radius: 50%; background: #b88cff; opacity: 0.3; filter: blur(60px); }
.download .hero-bg .s1 { top: 8%; right: 6%; left: auto; }
.download .hero-bg .s2 { top: 12%; bottom: auto; left: auto; right: 30%; }
.download .app-icon { width: 88px; margin-bottom: var(--s5); border-radius: 20px; box-shadow: 0 12px 28px rgba(27, 22, 35, 0.3); }
.download .smallnote { margin-top: var(--s3); color: var(--on-grad); }
.download h2 { max-width: 12ch; color: #ffffff; font-size: var(--fs-large); letter-spacing: var(--ls-large); line-height: var(--lh-large); }
.launch-copy > p:not(.smallnote) { margin-top: var(--s5); color: #f3ecff; }
.launch-copy > span { display: block; margin-top: var(--s2); color: #f3ecff; font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); }
.download-actions { display: grid; gap: var(--s5); justify-items: start; }
.download .text-link { color: #ffffff; text-decoration-color: var(--on-grad); }
.download :focus-visible { outline-color: #ffffff; }
.store-buttons { display: grid; gap: var(--s3); justify-items: start; }
.store-heading { color: #f3ecff; font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); font-weight: var(--w-semibold); }
#store-link-note { color: #f3ecff; font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); }
#signup-status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); padding: var(--s4); border-radius: var(--r-md); background: rgba(27, 22, 35, 0.35); color: #ffffff; }

/* 08 Interior --------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  margin-inline: clamp(0px, 1.5vw, var(--s4));
  padding-block: var(--s5) var(--s8);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background:
    radial-gradient(60% 90% at 88% 0%, rgba(123, 13, 253, 0.6), transparent 70%),
    radial-gradient(50% 80% at 100% 100%, rgba(67, 4, 182, 0.7), transparent 70%),
    radial-gradient(40% 70% at 0% 60%, rgba(94, 8, 220, 0.3), transparent 70%),
    #0c0620;
  color: #ffffff;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 14% 22%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 38% 78%, rgba(255, 255, 255, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 62% 18%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 84% 70%, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
}
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #ffffff; }
.page-hero .page-intro { color: #ddd3f5; }
.page-hero .eyebrow { color: #cbb2ff; }
.page-hero :focus-visible { outline-color: #ffffff; }
.page-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s8);
  color: #e9e2ff;
  font-size: var(--fs-footnote);
  letter-spacing: var(--ls-footnote);
  line-height: var(--lh-footnote);
}
.page-breadcrumbs a { color: #e9e2ff; text-underline-offset: 3px; }
.page-breadcrumbs [aria-current] { color: #ffffff; font-weight: var(--w-semibold); }
.page-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s7); }
.page-hero .eyebrow { margin-top: var(--s4); }
.page-hero h1 { max-width: 16ch; font-size: var(--fs-large); letter-spacing: var(--ls-large); line-height: var(--lh-large); }
.page-intro { max-width: 42rem; margin-top: var(--s5); }
.page-icon {
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35), 0 16px 40px rgba(27, 22, 35, 0.2);
  transform: rotate(-6deg);
}
.page-icon img { width: 64px; height: 64px; }

.page-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: clamp(var(--s6), 7vw, var(--s9));
  padding-top: var(--s8);
}
.page-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
.page-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + var(--s5));
  align-self: start;
  max-height: calc(100vh - var(--nav-h) - var(--s7));
  overflow-y: auto;
  scrollbar-width: none;
}
.page-sidebar details { border: 0; }
.page-sidebar summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  color: var(--ink);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);
  font-weight: var(--w-semibold);
  cursor: pointer;
  list-style: none;
}
.page-sidebar summary::-webkit-details-marker { display: none; }
.page-sidebar summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 300ms var(--ease-out);
}
.page-sidebar details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.page-sidebar nav { display: grid; margin-top: var(--s2); }
.page-sidebar nav a {
  padding: var(--s2) var(--s3);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: var(--fs-subhead);
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-subhead);
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
.page-sidebar nav a.is-current { background: var(--lilac-tint); color: var(--ink); font-weight: var(--w-semibold); box-shadow: inset 3px 0 0 #7b0dfd; }
@media (hover: hover) and (pointer: fine) {
  .page-sidebar nav a:hover { color: var(--ink); }
}
.sidebar-help {
  display: grid;
  gap: 2px;
  margin-top: var(--s5);
  padding: var(--s4);
  border-radius: var(--r-md);
  background: var(--paper-2);
  color: var(--ink-2);
  font-size: var(--fs-subhead);
  letter-spacing: var(--ls-subhead);
  line-height: var(--lh-subhead);
  text-decoration: none;
}
.sidebar-help span { color: var(--ink); font-weight: var(--w-semibold); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.interior-next {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  margin-top: var(--section);
  padding: clamp(var(--s6), 5vw, var(--s8));
  border-radius: var(--r-lg);
  background: var(--grad);
  color: #fdfcff;
}
.interior-next .eyebrow { color: var(--on-grad); }
.interior-next .eyebrow { margin-bottom: var(--s3); }
.interior-next h2 { margin-top: 0; color: #fdfcff; font-size: var(--fs-title1); letter-spacing: var(--ls-title1); line-height: var(--lh-title1); }
.interior-next p { color: #e9e2ff; }
.interior-next p a { color: #fdfcff; }
.interior-next .button, .interior-next .ui-button { background: #ffffff; color: #6a0ae9; }
.interior-next :focus-visible { outline-color: #ffffff; }

/* 09 Content --------------------------------------------------------------- */
.page-content { min-width: 0; max-width: 43rem; font-size: var(--fs-read); letter-spacing: var(--ls-read); }
.page-layout.no-toc .page-content { max-width: 43rem; }
.page-layout.no-toc .page-content:has(.journal-grid) { max-width: none; }
.page-content > * + *,
.page-content section > * + *,
.page-content .article-prose > * + *,
.page-content .article-prose > div > * + *,
.page-content .article-prose > header > * + *,
.page-content .resource-body > * + * { margin-top: var(--s5); }
.page-content section + section { margin-top: var(--s8); }
.page-content h2 {
  margin-top: var(--s8);
  font-size: var(--fs-title2);
  letter-spacing: var(--ls-title2);
  line-height: var(--lh-title2);
  scroll-margin-top: calc(var(--nav-h) + var(--s5));
}
.page-content section > h2:first-child,
.page-content section > span:first-child ~ h2,
.page-content > h2:first-child { margin-top: 0; }
.page-content h2 + * { margin-top: var(--s4); }
.page-content h3 { margin-top: var(--s6); }
.page-content h3 + * { margin-top: var(--s2); }
.page-content p, .page-content li, .page-content dd { line-height: var(--lh-read); }
.page-content a:not(.button):not(.ui-button):not(.btn):not(.cyber-btn):not(.card):not(.journal-card):not(.glass-panel) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  .page-content a:not(.button):not(.ui-button):not(.btn):not(.cyber-btn):not(.card):not(.journal-card):not(.glass-panel):hover { color: var(--accent); }
}
.page-content ul, .page-content ol { display: grid; gap: var(--s2); padding-left: var(--s5); }
.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }
.page-content li::marker { color: var(--accent); font-weight: var(--w-semibold); }
.page-content code { padding: 2px 6px; border-radius: 6px; background: var(--paper-2); font-size: 0.9em; }
.page-content blockquote { padding: var(--s4) var(--s5); border-radius: var(--r-md); background: var(--paper-2); }
.page-meta { display: block; font-weight: var(--w-semibold); }
.page-meta time { color: var(--ink); }
.page-content > .page-meta + section { margin-top: var(--s6); }

.page-content table { width: 100%; border-collapse: collapse; font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); }
.page-content caption { padding-bottom: var(--s3); color: var(--ink-2); font-size: var(--fs-footnote); letter-spacing: var(--ls-footnote); line-height: var(--lh-footnote); text-align: left; }
.page-content th, .page-content td { padding: var(--s3) var(--s4) var(--s3) 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; }
.page-content thead th { border-bottom: 2px solid var(--ink); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); font-weight: var(--w-semibold); }
.page-content tbody th { font-weight: var(--w-semibold); }

.quick-answer, .note {
  padding: var(--s5);
  border-radius: var(--r-md);
  background: var(--lilac-tint);
}
.quick-answer > div:first-child { margin-bottom: var(--s2); color: var(--ink); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); font-weight: var(--w-semibold); }
.note-red { background: var(--lilac-tint); }

.article-prose > header > p:first-child { color: var(--ink-2); font-size: var(--fs-lead); letter-spacing: var(--ls-lead); line-height: var(--lh-lead); }
.article-meta { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); font-weight: var(--w-semibold); }
.article-meta .dot { display: none; }
.article-cta, .cyber-panel, .resource-cta {
  margin-top: var(--s8) !important;
  padding: clamp(var(--s5), 4vw, var(--s7));
  border-radius: var(--r-lg);
  background: var(--lilac-tint);
}
.article-cta h3 { margin-top: 0; }
.button-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5) !important; }
.cyber-panel > p:first-child { font-family: var(--display); font-size: var(--fs-title3); font-weight: var(--w-bold); letter-spacing: var(--ls-title3); line-height: var(--lh-title3); }
.cyber-panel > p + p { color: var(--ink-2); }
.cyber-panel .cyber-btn, .resource-cta .button { margin-top: var(--s5); }
.resource-cta h2 { margin-top: 0 !important; }

.related-grid, .link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.card, .link-grid > a {
  display: grid;
  align-content: start;
  gap: var(--s2);
  padding: var(--s5);
  border-radius: var(--r-md);
  background: var(--lilac-tint);
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: transform 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.card .eyebrow .dot { display: none; }
.card h3 { margin: 0 !important; font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.card p, .link-grid > a p { color: var(--ink-2); font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); }
.card > span:last-child { display: inline-flex; align-items: center; gap: var(--s1); color: var(--accent); font-weight: var(--w-semibold); }
.card svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .card:hover, .link-grid > a:hover, .journal-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
}

.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.journal-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(27, 22, 35, 0.05), 0 10px 28px rgba(67, 4, 182, 0.1);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none !important;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.journal-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.journal-card > div { display: grid; align-content: start; gap: var(--s2); padding: var(--s5); }
.journal-card h2 { margin: 0 !important; font-size: var(--fs-title3); letter-spacing: var(--ls-title3); line-height: var(--lh-title3); }
.journal-card p { color: var(--ink-2); font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); }
.journal-read { color: var(--accent); font-weight: var(--w-semibold); }

.faq-category-label { margin-top: var(--s8) !important; }
.faq-category-label:first-of-type { margin-top: var(--s6) !important; }
.faq-group { border-top: 1px solid var(--line); margin-top: var(--s3) !important; }
.faq-group summary h3 { margin: 0 !important; font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.faq-group summary svg { width: 16px; height: 16px; }
.faq-answer { padding-bottom: var(--s5); }
.faq-answer > * + * { margin-top: var(--s3); }

.support-block { margin-top: var(--s8) !important; }
.page-content h2.section-label { margin: 0 0 var(--s4); font-family: var(--text); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); }
.card-title { display: flex; align-items: center; gap: var(--s3); }
.card-title h3 { margin: 0; font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.ui-icon-inline, .topic-icon, .panel-icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: var(--s2);
  border-radius: var(--r-sm);
  background: #6a0ae9;
}
.faq-group summary svg.ui-icon-inline { width: 16px; height: 16px; padding: 0; border-radius: 0; background: none; }
.contact-panel { padding: clamp(var(--s5), 4vw, var(--s7)); border-radius: var(--r-lg); background: var(--lilac-tint); }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s5); }
.contact-row > div > * + * { margin-top: var(--s2); }
.contact-row h3 { margin-top: 0; font-size: var(--fs-title3); letter-spacing: var(--ls-title3); line-height: var(--lh-title3); }
.icon-link { display: inline-flex; align-items: center; gap: var(--s2); }
.icon-link svg { width: 18px; height: 18px; }
.topic-list { display: grid; border-top: 1px solid var(--line); }
.topic-card { display: flex; align-items: flex-start; gap: var(--s4); padding-block: var(--s5); border-bottom: 1px solid var(--line); }
.topic-card h3 { margin: 0 0 var(--s1); font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.topic-card p { color: var(--ink-2); }
.cannot-panel { padding: clamp(var(--s5), 4vw, var(--s6)); border-radius: var(--r-lg); background: var(--lilac-tint); }
.cannot-item { display: flex; gap: var(--s3); padding-block: var(--s3); }
.cannot-item + .cannot-item { border-top: 1px solid var(--line); }
.cannot-item .x { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); font-weight: var(--w-bold); }
.response-panel { display: flex; gap: var(--s4); align-items: flex-start; padding: clamp(var(--s5), 4vw, var(--s6)); border-radius: var(--r-lg); background: var(--lilac-tint); }
.response-panel h3 { margin-top: 0; }

.resource-hero > p { color: var(--ink-2); font-size: var(--fs-headline); letter-spacing: var(--ls-headline); line-height: var(--lh-headline); }
.page-content .starter-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); padding-left: 0; list-style: none; counter-reset: starter; }
.page-content .starter-grid > li {
  position: relative;
  min-height: 104px;
  padding: var(--s4) var(--s4) var(--s4) 60px;
  border-radius: var(--r-md);
  background: var(--lilac-tint);
  font-family: var(--display);
  font-size: var(--fs-read);
  letter-spacing: var(--ls-read);
  font-weight: var(--w-semibold);
  line-height: var(--lh-read);
  counter-increment: starter;
}
.page-content .starter-grid > li::before {
  content: counter(starter);
  position: absolute;
  left: var(--s4);
  top: var(--s4);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6a0ae9;
  color: #fdfcff;
  font-family: var(--text);
  font-size: var(--fs-caption);
  letter-spacing: var(--ls-caption);
  line-height: var(--lh-caption);
}
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); }
.facts > div { padding: var(--s4); border-radius: var(--r-md); background: var(--lilac-tint); }
.facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.facts dt { color: var(--ink-2); font-size: var(--fs-caption); letter-spacing: var(--ls-caption); line-height: var(--lh-caption); font-weight: var(--w-semibold); }
.facts dd { margin-top: var(--s1); font-weight: var(--w-semibold); }
.press-links { display: flex; flex-wrap: wrap; gap: var(--s3); }

.about-editorial { display: grid; grid-template-columns: minmax(0, 1fr) 208px; align-items: center; gap: var(--s6); }
.about-editorial > div > * + * { margin-top: var(--s4); }
.about-editorial img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-pop); }
.page-lead { font-family: var(--display); font-size: var(--fs-title2); font-weight: var(--w-bold); line-height: var(--lh-title2); letter-spacing: var(--ls-title2); }

/* 10 Responsive -------------------------------------------------------------- */
@media (max-width: 1080px) {
  .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .who-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
}

@media (max-width: 880px) {
  :root { --nav-h: 56px; }
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: calc(var(--nav-h) + var(--s2));
    right: var(--s3);
    left: var(--s3);
    z-index: 60;
    display: grid;
    gap: var(--s1);
    padding: var(--s3);
    border-radius: var(--r-md);
    background: var(--card);
    box-shadow: var(--shadow-pop);
    transform-origin: calc(100% - var(--s5)) 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.94) translateY(-8px);
    transition: none;   /* closing is instant, so the menu is gone the moment Esc or a link is pressed */
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 160ms ease, transform 380ms var(--ease-out), visibility 0s; }
  .site-nav a:not(.button) { min-height: 52px; padding: 0 var(--s4); font-size: var(--fs-read); letter-spacing: var(--ls-read); line-height: var(--lh-read); }
  .site-nav .nav-cta { margin: var(--s2) 0 0; min-height: 52px; font-size: var(--fs-body); letter-spacing: var(--ls-body); line-height: var(--lh-body); }
  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: block;
    background: rgba(27, 22, 35, 0.24);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 0s linear 200ms;
  }
  .nav-scrim.is-open { opacity: 1; visibility: visible; transition: opacity 200ms ease, visibility 0s; }

  .hero-grid,
  .how-grid,
  .split,
  .safety-grid,
  .opener,
  .faq-home,
  .download { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: min(100%, 440px); margin: var(--s4) auto 0; }
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-pill { order: 1; justify-self: start; }
  .hero h1 { order: 2; }
  .hero .lead { order: 3; }
  .hero-art { order: 6; width: min(100%, 360px); margin: var(--s7) auto 0; }
  .hero .h1-eyebrow { font-size: var(--fs-callout); letter-spacing: var(--ls-callout); line-height: var(--lh-callout); margin-bottom: var(--s2); }
  .hero-pill { margin-bottom: var(--s4); }
  .hero-downloads { order: 4; margin-top: var(--s5); }
  .hero-trust { order: 5; }
  .demo { position: static; }
  .step { grid-template-columns: 64px minmax(0, 1fr); }
  .step-count { font-size: 2.75rem; }
  .prompt-card { transform: none; }
  .safety-panel { order: 2; }

  .page-hero-row { grid-template-columns: minmax(0, 1fr); }
  .page-icon { display: none; }
  .page-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s6); padding-top: var(--s6); }
  .page-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    padding: var(--s1) var(--s4);
    border-radius: var(--r-md);
    background: var(--lilac-tint);
  }
  .page-sidebar nav { margin-bottom: var(--s3); }
  .sidebar-help { display: none; }
  .page-content { max-width: none; }
  .page-content table { display: block; max-width: 100%; overflow-x: auto; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: var(--fs-body); letter-spacing: var(--ls-body); line-height: var(--lh-body); }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .button { white-space: normal; text-align: center; }
  .actions .text-link { justify-content: center; min-height: 44px; }
  .hero-trust { gap: var(--s2) var(--s4); }
  .stage, .opener { padding: var(--s6) var(--s5); }
  .journal-grid, .related-grid, .link-grid, .facts, .why-grid, .who-grid { grid-template-columns: minmax(0, 1fr); }
  .facts > div:last-child:nth-child(odd) { grid-column: auto; }
  .page-content .starter-grid { grid-template-columns: minmax(0, 1fr); }
  .page-content .starter-grid > li { min-height: 0; }
  .about-editorial { grid-template-columns: minmax(0, 1fr); }
  .about-editorial img { max-width: 208px; }
  .interior-next { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
  .faq-list summary, .faq-group summary { font-size: var(--fs-read); letter-spacing: var(--ls-read); line-height: var(--lh-read); }
}

/* 11 Preferences ---------------------------------------------------------------- */
/* Reveal moves content up without fading it, so text is always readable (and measurable). */
.js-motion .reveal { transform: translateY(24px); transition: transform 700ms var(--ease-out); transition-delay: var(--delay, 0ms); }
.js-motion .reveal.is-in { transform: none; }
.motion-off .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .js-motion .reveal { transition: none; }
  .site-nav { transform: none !important; }
  .button, .card, .journal-card, .link-grid > a { transition: none; }
  .button:hover, .card:hover, .journal-card:hover, .link-grid > a:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--paper); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  :root { --ink-2: #3d3646; --line: #9b927f; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --ink-2: #ddd6e3; --line: #6b6278; }
}
@media (forced-colors: active) {
  .button, .ui-button, .btn, .cyber-btn, .scenario-controls button, .wt-chapters button, .store-badge { border: 1px solid ButtonText; }
  .check-list li::before { forced-color-adjust: none; }
}
@media print {
  :root { color-scheme: light; }
  .site-header, .site-footer, .page-sidebar, .interior-next, .skip, .page-icon { display: none; }
}

@media (max-width: 760px) {
  .spark.k1 { top: 3%; left: auto; right: 8%; }
  .aurora.a1 { width: 90vw; }
  .aurora.a2 { width: 80vw; }
  .download .hero-bg .s1 { width: 56px; }
  .soon-row { flex-wrap: wrap; row-gap: var(--s2); }
  .soon-row .soon-label { flex-basis: 100%; }
}

/* Very small phones (320-400px): let long buttons wrap and give the opener card room. */
@media (max-width: 400px) {
  .button, .ui-button { white-space: normal; text-align: center; max-width: 100%; }
  .opener > * { min-width: 0; }
  .stage, .opener { padding: var(--s5) var(--s4); }
  .prompt-card { padding: var(--s5) var(--s4); }
}
