/* ==========================================================================
   Escape Velocity — website components & sections
   Requires tokens.css + base.css.
   Sections (names match the copy deck):
     NAV · HERO · PROOF-STRIP · BENTO · FEATURE-ROW · STEPS · PRIVACY · COMPARE
     USE-CASES · STATS · FAQ · CTA-BAND · FOOTER
   ========================================================================== */

/* ==========================================================================
   1. Primitives
   ========================================================================== */

/* ---- icon (from assets/brand/icons.svg) ---- */
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -.2em; }
.icon--lg { width: 1.6em; height: 1.6em; }

/* ---- buttons: gradient primary (the app's .btn.primary), quiet secondary, text ghost ---- */
.btn {
  --btn-h: 3rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--btn-h); padding: .6rem 1.35rem;
  border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 650; font-size: 1rem; line-height: 1.2; letter-spacing: -.005em; text-decoration: none; text-align: center; text-wrap: balance;
  transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background-color var(--dur-1), border-color var(--dur-1), filter var(--dur-1);
}
.btn .icon { transition: transform var(--dur-2) var(--ease); }
.btn:hover .icon--go { transform: translateX(3px); }
.btn--primary {
  color: var(--on-primary);
  background: linear-gradient(90deg, var(--btn-g1), var(--btn-g2));
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 8px 24px -8px color-mix(in srgb, var(--btn-g1) 70%, transparent);
}
.btn--primary:hover { color: var(--on-primary); filter: brightness(1.08) saturate(1.05); transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 12px 32px -8px color-mix(in srgb, var(--btn-g2) 60%, transparent); }
.btn--primary:active { transform: translateY(0); }
.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-1); }
.btn--secondary:hover { color: var(--ink); background: var(--surface-2); border-color: var(--brand); }
.btn--ghost { color: var(--brand); padding: .25rem; min-height: auto; border-radius: var(--r-xs); font-weight: 650; }
.btn--ghost:hover { color: var(--brand-ink); }
.btn--lg { --btn-h: 3.5rem; padding: .7rem 1.75rem; font-size: 1.0625rem; border-radius: 14px; }
.btn--sm { --btn-h: 2.5rem; padding: .4rem 1rem; font-size: .9375rem; border-radius: 10px; }
.btn--block { width: 100%; }

/* ---- pill / badge ---- */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: .01em; line-height: 1.2;
  background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}
.pill--brand { background: var(--brand-soft); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.pill--pos   { background: var(--pos-soft); color: var(--pos); border-color: transparent; }
.pill--warn  { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.pill .icon  { width: 1em; height: 1em; }

/* ---- checklist ---- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start; color: var(--ink); }
.checklist .icon {
  width: 1.5rem; height: 1.5rem; padding: .3rem; margin-top: .05rem;
  border-radius: 50%; color: var(--pos); background: var(--pos-soft);
}
.checklist--brand .icon { color: var(--brand); background: var(--brand-soft); }
.checklist li > span { color: var(--ink-2); }
.checklist li > span strong { color: var(--ink); font-weight: 650; }

/* ---- card (the app's .card: surface, 1px line, 16px radius) ---- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: clamp(1rem, .9rem + .5vw, 1.375rem);
}

/* ==========================================================================
   2. Device frames + theme-aware screenshots
   ========================================================================== */
.shot { display: block; }
.shot img { width: 100%; height: auto; display: block; }

/* desktop browser window */
.device--browser {
  position: relative; margin: 0;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-device);
}
.device--browser .device__bar {
  display: flex; align-items: center; gap: .75rem;
  height: 2.25rem; padding: 0 1rem;
  background: light-dark(#e6e8fb, #0a0f2b);
  border-bottom: 1px solid var(--line);
}
.device--browser .device__dots { display: flex; gap: .4rem; flex: none; }
.device--browser .device__dots i { width: .65rem; height: .65rem; border-radius: 50%; background: light-dark(rgba(70,80,180,.28), rgba(160,175,255,.28)); }
.device--browser .device__title {
  flex: 1; max-width: 22rem; margin-inline: auto;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  height: 1.5rem; padding: 0 .75rem; border-radius: var(--r-pill);
  background: light-dark(rgba(255,255,255,.75), rgba(255,255,255,.05));
  color: var(--ink-3); font-size: .75rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.device--browser .device__title .icon { width: .8rem; height: .8rem; }
.device--browser .device__bar::after { content: ""; width: 2.6rem; flex: none; }   /* balances the dots so the title centres */
.device--bare { border-radius: var(--r-md); }                                       /* detail cards: no window chrome */
.device--bare .shot img { border-radius: inherit; }

/* phone — everything is sized in em, so set --w (or width) and it scales as a unit */
.device--phone {
  --w: 17rem;
  width: var(--w); font-size: calc(var(--w) / 20);
  position: relative; margin: 0; flex: none;
  padding: .5em; border-radius: 2.5em;
  background: linear-gradient(160deg, #2b3263, #0a0d22 40%, #1b2150);
  box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255,255,255,.12);
}
.device--phone .device__screen { border-radius: 2em; overflow: hidden; background: #000; position: relative; }
.device--phone .device__status { height: 1.55em; background: #05070f; position: relative; }
.device--phone .device__status::after {
  content: ""; position: absolute; left: 50%; top: .32em; transform: translateX(-50%);
  width: 4.6em; height: .95em; border-radius: 1em; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.07);
}
.device--phone .shot img { width: 100%; }
.device--phone::before {                                   /* side button */
  content: ""; position: absolute; right: -.14em; top: 7em; width: .14em; height: 3.2em; border-radius: 0 .1em .1em 0; background: #1b2150;
}

/* the app icon presented as a tile (privacy flow, footer) */
.app-icon {
  --size: 7rem; width: var(--size); height: var(--size); flex: none;
  border-radius: 22.5%; background: #10173d; position: relative; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 20px 50px -16px rgba(124,92,255,.65), 0 0 0 1px rgba(130,150,255,.25);
}
.app-icon img, .app-icon svg { width: 100%; height: 100%; display: block; }

/* ==========================================================================
   3. NAV   (logo · Features ▾ · How it works · Privacy · Compare · FAQ · [Open Escape Velocity])
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: var(--z-nav);
  min-height: var(--nav-h);
  background: var(--surface-glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -18px rgba(0,0,0,.45); }
.nav__inner { min-height: var(--nav-h); display: flex; align-items: center; gap: 1.25rem; }
.nav__brand {
  display: inline-flex; align-items: center; gap: .7rem; flex: none;
  color: var(--ink); text-decoration: none; font-weight: 720; font-size: 1.1875rem; letter-spacing: .005em;
}
.nav__brand:hover { color: var(--ink); }
.nav__brand img, .nav__brand svg { width: 2.25rem; height: 2.25rem; flex: none; border-radius: 10px; }
.nav__menu { display: flex; align-items: center; margin-inline: auto; }
.nav__links { display: flex; align-items: center; gap: .15rem; list-style: none; padding: 0; margin: 0; }
.nav__links > li { position: relative; }
.nav__links a, .nav__trigger {
  display: flex; align-items: center; gap: .35rem; padding: .5rem .85rem; border-radius: 10px;
  color: var(--ink-2); text-decoration: none; font-weight: 580; font-size: .975rem; line-height: 1.3; white-space: nowrap;
  background: none; border: 0;
  transition: color var(--dur-1), background-color var(--dur-1);
}
.nav__links a:hover, .nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--ink); background: var(--brand-soft); }
.nav__links a[aria-current="page"] { color: var(--ink); background: var(--brand-soft); }
.nav__trigger .icon { width: 1rem; height: 1rem; transition: transform var(--dur-2) var(--ease); }
.nav__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__drop {
  position: absolute; left: 50%; top: calc(100% + .6rem); transform: translateX(-50%);
  width: min(38rem, 92vw); padding: .6rem;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: var(--shadow-3);
}
.nav__drop[hidden] { display: none; }
.nav__drop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; }
.nav__drop-grid a { align-items: flex-start; gap: .8rem; padding: .7rem .75rem; border-radius: 12px; color: var(--ink); }
.nav__drop-ic { width: 2.25rem; height: 2.25rem; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--brand); background: var(--brand-soft); }
.nav__drop-ic .icon { width: 1.15rem; height: 1.15rem; }
.nav__drop-grid b { display: block; font-weight: 650; font-size: .95rem; }
.nav__drop-grid small { display: block; color: var(--ink-2); font-size: .8125rem; font-weight: 450; line-height: 1.35; margin-top: .1rem; }
.nav__actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.nav__burger { display: none; }
.nav__menu-note { display: none; }
.theme-toggle {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; flex: none;
  border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  transition: color var(--dur-1), background-color var(--dur-1), border-color var(--dur-1);
}
.theme-toggle:hover { color: var(--ink); background: var(--brand-soft); border-color: var(--line-strong); }
.theme-toggle .icon { width: 1.2rem; height: 1.2rem; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .i-moon { display: none; }
  :root:not([data-theme]) .theme-toggle .i-sun { display: block; }
}

/* ≤ 68rem: logo + CTA + menu button; the links live in a sheet under the bar (the CTA stays visible, per the sitemap) */
@media (max-width: 68rem) {
  .nav__inner { gap: .75rem; }
  .nav__actions { margin-left: auto; }
  .nav__burger {
    display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 10px;
    border: 1px solid var(--line); background: transparent; color: var(--ink);
  }
  .nav__burger .i-x { display: none; }
  .nav__burger[aria-expanded="true"] .i-x { display: block; }
  .nav__burger[aria-expanded="true"] .i-menu { display: none; }
  .nav__actions .theme-toggle { display: none; }
  .nav__menu { order: 5; width: 100%; margin: 0; }
  .nav__inner { flex-wrap: wrap; }
  .nav__links { flex-direction: column; align-items: stretch; width: 100%; gap: .15rem; padding-bottom: 1rem; }
  .js .nav__menu { display: none; }
  .js .nav__menu.is-open { display: block; }
  .nav__links a, .nav__trigger { padding: .85rem .75rem; font-size: 1.0625rem; width: 100%; justify-content: space-between; }
  .nav__drop { position: static; transform: none; width: 100%; box-shadow: none; border: 0; background: var(--bg-soft); margin: .25rem 0 .5rem; border-radius: var(--r-md); }
  .nav__drop-grid { grid-template-columns: 1fr; }
  .nav__links .nav__drop-grid a { justify-content: flex-start; width: auto; padding: .7rem .6rem; font-size: 1rem; }
  .nav__menu-note { display: block; text-align: center; color: var(--ink-3); font-size: var(--fs-small); padding-bottom: 1rem; }
  .nav.has-open { background: var(--bg); }
}
@media (max-width: 26rem) { .nav__brand span { display: none; } }

/* ==========================================================================
   4. HERO
   ========================================================================== */
.hero { padding-block: clamp(1.75rem, 1rem + 2.6vw, 3.25rem) clamp(1.5rem, 1rem + 1.6vw, 2.5rem); overflow-x: clip; }
.hero__inner { display: grid; gap: clamp(1.5rem, 1rem + 1.8vw, 2.5rem); justify-items: center; }
.hero__copy { max-width: 52rem; text-align: center; display: grid; justify-items: center; gap: 1rem; position: relative; z-index: 1; }
.hero__sub { max-width: 40rem; }
.hero__cta { justify-content: center; gap: .75rem; }
.hero__notes {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem;
  list-style: none; padding: 0; margin: .25rem 0 0; color: var(--ink-2); font-size: var(--fs-small);
}
.hero__notes li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__notes .icon { color: var(--pos); width: 1.1em; height: 1.1em; }

.hero__stage { position: relative; width: 100%; max-width: 68rem; }
.hero__stage .device--browser { margin-inline: auto; }
.hero__phone { position: absolute; right: -2%; bottom: -7%; --w: clamp(7.5rem, 4rem + 14vw, 15rem); z-index: 2; }
.hero__phone--left { right: auto; left: -2%; }
.hero--crop { padding-bottom: 0; }
.hero--crop .hero__stage { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.hero--crop .hero__stage .device--browser { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero--crop .hero__phone { display: none; }
.hero__arc { position: absolute; left: -8%; top: -17%; width: 116%; height: auto; z-index: 0; pointer-events: none; opacity: .95; }
.hero__arc path.arc { stroke-dasharray: 1; stroke-dashoffset: 1; animation: arc-draw 2.2s var(--ease) .2s forwards; }
.hero__arc .dest { opacity: 0; animation: fade-in .6s ease 2s forwards; }
@keyframes arc-draw { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }
.hero__glow-floor { position: absolute; left: 10%; right: 10%; bottom: -6%; height: 30%; background: radial-gradient(closest-side, var(--glow-1), transparent); filter: blur(30px); z-index: -1; }

/* split variant: copy left, stage right (≥ 64rem) */
@media (min-width: 64rem) {
  .hero--split .hero__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); justify-items: stretch; align-items: center; }
  .hero--split .hero__copy { text-align: left; justify-items: start; }
  .hero--split .hero__cta, .hero--split .hero__notes { justify-content: flex-start; }
  .hero--split .hero__stage { max-width: none; margin-right: calc(var(--gutter) * -1.5); }
  .hero--split { padding-bottom: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); }
}
@media (max-width: 40rem) {
  .hero__cta .btn { width: 100%; }
  .hero__phone { right: 0; bottom: -8%; }
  .device--browser .device__title { display: none; }
}

/* ==========================================================================
   5. PROOF-STRIP  (facts, not logos — there are no customer logos to show)
   ========================================================================== */
.proof { padding-block: clamp(1rem, .75rem + 1vw, 1.5rem); border-block: 1px solid var(--line); background: var(--bg); }
.proof__label { text-align: center; color: var(--ink-3); font-size: var(--fs-xs); font-weight: 650; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; margin-bottom: .75rem; }
.proof__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .9rem 1.5rem; }
.proof__item { display: flex; align-items: center; gap: .85rem; }
.proof__item .icon {
  width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: 12px; flex: none;
  color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
}
.proof__item strong { display: block; font-weight: 680; line-height: 1.25; }
.proof__item small { display: block; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.35; }
/* variant: inline text strip */
.proof--inline .proof__list { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2.25rem; }
.proof--inline .proof__item { gap: .5rem; color: var(--ink-2); font-weight: 580; }
.proof--inline .proof__item .icon { width: 1.25rem; height: 1.25rem; padding: 0; background: none; border: 0; color: var(--pos); }

/* ==========================================================================
   6. BENTO
   ========================================================================== */
.bento { display: grid; gap: clamp(.625rem, .4rem + .8vw, 1rem); grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tile {
  --media-h: 12rem;
  position: relative; display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  grid-column: span 2;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  transition: border-color var(--dur-2), transform var(--dur-3) var(--ease), box-shadow var(--dur-2);
}
.tile::before {                              /* cursor spotlight (JS sets --mx/--my; static glow otherwise) */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 0%), color-mix(in srgb, var(--g1) 18%, transparent), transparent 70%);
  transition: opacity var(--dur-3);
}
.tile:hover { border-color: var(--line-strong); }
.tile:hover::before { opacity: 1; }
.tile--w3 { grid-column: span 3; } .tile--w4 { grid-column: span 4; } .tile--w6 { grid-column: span 6; }
.tile--h2 { grid-row: span 2; }
.tile__body { padding: clamp(1.1rem, .9rem + .6vw, 1.5rem); display: grid; gap: .45rem; align-content: start; }
.tile__icon {
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 12px; margin-bottom: .2rem;
  color: #fff; background: var(--thrust-diag); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--g1) 80%, transparent);
}
.tile__icon .icon { width: 1.4rem; height: 1.4rem; }
.tile__kicker { font-size: var(--fs-xs); font-weight: 680; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--brand); }
.tile p { color: var(--ink-2); text-wrap: pretty; }
.tile__link { margin-top: .4rem; font-weight: 650; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; width: fit-content; }
.tile__link .icon { transition: transform var(--dur-2) var(--ease); }
.tile__link:hover .icon { transform: translateX(3px); }
.tile__media {
  margin-top: auto; height: var(--media-h); overflow: hidden; position: relative;
  padding-inline: clamp(1.1rem, .9rem + .6vw, 1.5rem);
}
.tile__media .shot img {
  border-radius: 14px 14px 0 0; border: 1px solid var(--line); border-bottom: 0;
  box-shadow: 0 -10px 40px -18px color-mix(in srgb, var(--g1) 55%, transparent);
  transition: transform var(--dur-3) var(--ease);
}
.tile:hover .tile__media .shot img { transform: translateY(-6px); }
.tile__media--fade { -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.tile__media--center .shot { max-width: 20rem; margin-inline: auto; }
/* wide tile: copy left, media right (the screenshot bleeds off the bottom-right corner) */
.tile--row { flex-direction: row; align-items: stretch; }
.tile--row > * { flex: 1 1 0; min-width: 0; }
.tile--row .tile__media { margin: 0; height: auto; min-height: 14rem; align-self: stretch; padding: 0; }
.tile--row .tile__media .shot { position: absolute; top: clamp(1.25rem, 1rem + 1vw, 1.75rem); left: 0; right: 0; bottom: 0; }
.tile--row .tile__media .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; border-radius: 14px 0 0 0; border-right: 0; }
/* big-number tile */
.tile--stat .tile__body { align-content: end; height: 100%; }
.tile--stat::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 70% at 100% 0%, color-mix(in srgb, var(--g1) 22%, transparent), transparent 70%); }
.tile__big { font-size: clamp(3rem, 2.4rem + 3vw, 4.5rem); font-weight: 780; letter-spacing: -.04em; line-height: 1; background: var(--thrust-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
/* highlighted tile (one per bento) */
.tile--accent { background: linear-gradient(160deg, color-mix(in srgb, var(--g1) 22%, var(--surface)), var(--surface) 70%); border-color: color-mix(in srgb, var(--g1) 45%, var(--line)); }

@media (max-width: 64rem) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--w3 { grid-column: span 1; }
  .tile--w4, .tile--w6 { grid-column: span 2; }
  .tile--h2 { grid-row: auto; }
}
@media (max-width: 40rem) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--w3, .tile--w4, .tile--w6 { grid-column: auto; }
  .tile--row { flex-direction: column; }
  .tile--row .tile__media { padding: 0 1.25rem; height: var(--media-h); min-height: 0; margin-top: auto; }
  .tile--row .tile__media .shot { position: static; }
  .tile--row .tile__media .shot img { height: auto; border-radius: 14px 14px 0 0; border-right: 1px solid var(--line); }
}

/* ==========================================================================
   7. FEATURE-ROW
   ========================================================================== */
.feature-row { overflow-x: clip; }
.feature-row__grid { display: grid; gap: clamp(1.25rem, 1rem + 2.2vw, 2.75rem); align-items: center; }
.feature-row__copy { display: grid; gap: 1rem; align-content: center; }
.feature-row__copy .lead { font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.feature-row__copy .btn { justify-self: start; }
.feature-row__media { position: relative; min-width: 0; }
.feature-row__media .glow {
  position: absolute; inset: 10% -5%; z-index: -1; filter: blur(60px); opacity: .9;
  background: radial-gradient(60% 60% at 30% 40%, var(--glow-1), transparent), radial-gradient(50% 50% at 80% 70%, var(--glow-2), transparent);
}
@media (min-width: 60rem) {
  .feature-row__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature-row--reverse .feature-row__copy { order: 2; }
  .feature-row--wide-copy .feature-row__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature-row--phone .feature-row__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}
/* media: browser + phone composition */
.media-pair { position: relative; padding-bottom: 5%; }
.media-pair .device--phone { position: absolute; right: -1.5%; bottom: 0; --w: clamp(6.5rem, 3rem + 11vw, 12rem); }
/* media: tilted pair of phones */
.media-phones { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.5rem, 2vw, 1.5rem); }
.media-phones .device--phone { --w: clamp(5.5rem, 1rem + 8vw, 10.5rem); }
.media-phones .device--phone:nth-child(2) { margin-bottom: 2.5rem; }
.media-phones .device--phone:nth-child(1) { margin-bottom: -.5rem; }

/* ---- theme switcher (13 themes) ---- */
.theme-picker { display: grid; gap: 1rem; }
.theme-picker__swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.theme-picker__swatches button {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .8rem .4rem .45rem;
  border-radius: var(--r-pill); border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-2);
  font-size: var(--fs-small); font-weight: 620;
  transition: border-color var(--dur-1), color var(--dur-1), background-color var(--dur-1);
}
.theme-picker__swatches button:hover { border-color: var(--line-strong); color: var(--ink); }
.theme-picker__swatches button[aria-pressed="true"] { border-color: var(--brand); color: var(--ink); background: var(--brand-soft); }
.theme-picker__swatches i { width: 1.4rem; height: 1.4rem; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }

/* ==========================================================================
   8. STEPS
   ========================================================================== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(1rem, .8rem + 1vw, 1.5rem); counter-reset: step; }
.step { position: relative; display: grid; gap: .5rem; align-content: start; counter-increment: step; }
.step__num {
  width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%;
  font-weight: 760; font-size: 1.125rem; color: var(--on-primary); background: linear-gradient(135deg, var(--btn-g1), var(--btn-g2));
  box-shadow: 0 8px 22px -8px color-mix(in srgb, var(--btn-g1) 70%, transparent);
  position: relative; z-index: 1;
}
.step p { color: var(--ink-2); text-wrap: pretty; }
.step__media { margin-top: .25rem; }
.step__media .shot img { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.step__media--crop { max-height: 17rem; overflow: hidden; border-radius: var(--r-md); -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
.step__media--crop .shot img { width: 100%; object-fit: cover; object-position: top left; }
@media (min-width: 52rem) {
  .steps { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
  .step:not(:last-child)::after {                       /* connector from number to next number */
    content: ""; position: absolute; top: 1.5rem; left: 3.75rem; right: -1.5rem; height: 2px; z-index: 0;
    background: linear-gradient(90deg, var(--line-strong), transparent);
    -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 14px); mask-image: repeating-linear-gradient(90deg, #000 0 8px, transparent 8px 14px);
  }
}
.steps--4 { --cols: 4; }
@media (max-width: 51.99rem) {
  .step { grid-template-columns: 3rem 1fr; column-gap: 1.1rem; }
  .step > :not(.step__num) { grid-column: 2; }
  .step__num { grid-row: 1 / span 4; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 1.5rem; top: 3.25rem; bottom: -1.75rem; width: 2px; background: linear-gradient(var(--line-strong), transparent); }
}

/* ==========================================================================
   9. PRIVACY  (always dark — like the app's sidebar, it is the "trust" moment)
   ========================================================================== */
.privacy { color: var(--ink); }
.privacy__grid { display: grid; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: center; }
.privacy__copy { display: grid; gap: 1rem; }
@media (min-width: 60rem) { .privacy__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

.flow { display: grid; gap: 0; justify-items: stretch; }
.flow__node {
  display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2);
}
.flow__node .icon-tile { width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.flow__node .icon-tile .icon { width: 1.35rem; height: 1.35rem; }
.flow__node b { display: block; font-weight: 700; }
.flow__node small { display: block; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.4; }
.flow__node--you { border-color: color-mix(in srgb, var(--g2) 55%, var(--line)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--g2) 25%, transparent), 0 20px 60px -24px color-mix(in srgb, var(--g2) 55%, transparent); }
.flow__node--you .app-icon { --size: 2.75rem; box-shadow: none; }
@media (max-width: 32rem) {
  .flow__node { grid-template-columns: auto 1fr; }
  .flow__node > .pill { grid-column: 2; justify-self: start; }
}
.flow__branches { display: grid; gap: .9rem; margin: 0 0 0 1.5rem; padding: 1.1rem 0 0 1.75rem; }
.flow__branch { position: relative; display: grid; gap: .45rem; }
.flow__branch::before, .flow__branch::after { content: ""; position: absolute; left: -1.75rem; opacity: .7; pointer-events: none; }
.flow__branch::before { top: 0; bottom: -.9rem; width: 2px; background: repeating-linear-gradient(var(--g2) 0 6px, transparent 6px 12px); animation: flow-dash 1.2s linear infinite; }
.flow__branch:first-child::before { top: -1.1rem; }
.flow__branch:last-child::before { bottom: auto; height: .95rem; }
.flow__branch::after { top: .9rem; width: 1.75rem; height: 2px; background: repeating-linear-gradient(90deg, var(--g2) 0 6px, transparent 6px 12px); }
.flow__via { display: inline-flex; align-items: center; justify-self: start; gap: .4rem; min-height: 1.8rem; margin: 0; padding: .15rem .65rem; border-radius: var(--r-pill);
  background: var(--bg); border: 1px solid var(--line-strong); color: var(--ink-2); font-size: var(--fs-xs); font-weight: 650; letter-spacing: .02em; }
.flow__via .icon { width: 1em; height: 1em; color: var(--g2); }
@keyframes flow-dash { to { background-position-y: 12px; } }
@media (prefers-reduced-motion: reduce) { .flow__branch::before { animation: none; } }

.privacy__lists { display: grid; gap: .75rem; margin-top: clamp(1.25rem, 1rem + 1vw, 2rem); }
@media (min-width: 48rem) { .privacy__lists { grid-template-columns: 1fr 1fr; } }
.privacy__list { padding: 1.25rem; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); }
.privacy__list h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.0625rem; font-weight: 700; margin-bottom: .75rem; }
.privacy__list h3 .icon { color: var(--g2); }
.privacy__list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.privacy__list li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .65rem; color: var(--ink-2); }
.privacy__list li .icon { width: 1.25rem; height: 1.25rem; margin-top: .15rem; }
.privacy__list--never li .icon { color: var(--neg); }
.privacy__list--opt li .icon { color: var(--warn); }

/* ==========================================================================
   10. COMPARE
   ========================================================================== */
.compare-wrap {
  overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2);
  -webkit-overflow-scrolling: touch;
}
.compare { width: 100%; min-width: 40rem; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); }
.compare caption { text-align: left; }
.compare th, .compare td { padding: .7rem 1rem; text-align: center; border-bottom: 1px solid var(--line); vertical-align: middle; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 1rem; font-weight: 700; position: relative; background: var(--surface); vertical-align: bottom; padding-block: .9rem; }
.compare thead th:not(:first-child) { min-width: 8.5rem; }
.compare thead th small { display: block; font-weight: 500; color: var(--ink-2); font-size: var(--fs-xs); margin-top: .15rem; }
.compare tbody th { text-align: left; font-weight: 600; color: var(--ink); position: sticky; left: 0; background: var(--surface); z-index: 1; min-width: 11rem; }
.compare tbody th small { display: block; color: var(--ink-3); font-weight: 450; font-size: var(--fs-xs); }
.compare .is-us { background: color-mix(in srgb, var(--g1) 9%, var(--surface)); }
.compare thead .is-us { background: linear-gradient(180deg, color-mix(in srgb, var(--g1) 22%, var(--surface)), color-mix(in srgb, var(--g1) 9%, var(--surface))); }
.compare thead .is-us::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--thrust); }
.compare .yes, .compare .no, .compare .part { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-weight: 600; }
.compare .yes .icon, .compare .no .icon, .compare .part .icon { width: 1.5rem; height: 1.5rem; padding: .3rem; border-radius: 50%; }
.compare .yes .icon { color: var(--pos); background: var(--pos-soft); }
.compare .no  .icon { color: var(--neg); background: var(--neg-soft); }
.compare .part .icon { color: var(--warn); background: var(--warn-soft); }
.compare td { color: var(--ink-2); }
.compare-note { margin-top: .75rem; color: var(--ink-3); font-size: var(--fs-small); text-align: center; }
@media (max-width: 40rem) { .compare th, .compare td { padding: .65rem .65rem; } .compare tbody th { min-width: 8.5rem; } }

/* ==========================================================================
   11. USE-CASES
   ========================================================================== */
.usecases { display: grid; gap: clamp(.625rem, .4rem + .8vw, 1rem); grid-template-columns: repeat(auto-fit, minmax(16.5rem, 1fr)); }
.usecase {
  display: grid; gap: .6rem; align-content: start; padding: clamp(1.1rem, .9rem + .6vw, 1.5rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2);
  transition: border-color var(--dur-2), transform var(--dur-3) var(--ease);
}
.usecase:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.usecase__who { display: flex; align-items: center; gap: .75rem; }
.usecase__icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 50%; color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.usecase__icon .icon { width: 1.35rem; height: 1.35rem; }
.usecase__label { font-size: var(--fs-xs); font-weight: 680; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-3); }
.usecase p { color: var(--ink-2); text-wrap: pretty; }
.usecase__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .25rem; }
.usecase__link { margin-top: .5rem; font-weight: 650; text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; width: fit-content; }
.usecase blockquote { border-left: 3px solid var(--g1); padding-left: .9rem; color: var(--ink); font-weight: 560; }

/* ==========================================================================
   12. STATS
   ========================================================================== */
.stats {
  display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  padding: clamp(1.1rem, .9rem + 1vw, 1.75rem); border-radius: var(--r-xl);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2);
}
.stat { text-align: center; padding-inline: .5rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -.5rem; top: 12%; bottom: 12%; width: 1px; background: var(--line); }
.stat__value {
  font-size: clamp(2.5rem, 2rem + 2.6vw, 4rem); font-weight: 780; letter-spacing: -.045em; line-height: 1.05;
  background: var(--thrust-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat__unit { font-size: .36em; font-weight: 680; letter-spacing: 0; margin-left: .3em; color: var(--ink-2); -webkit-text-fill-color: var(--ink-2); }
.stat__label { margin-top: .25rem; font-weight: 650; }
.stat__note { color: var(--ink-2); font-size: var(--fs-small); margin-top: .15rem; text-wrap: balance; }
@media (max-width: 36rem) { .stat + .stat::before { display: none; } }

/* ==========================================================================
   13. FAQ
   ========================================================================== */
.faq__grid { display: grid; gap: clamp(1.25rem, 1rem + 1.6vw, 2.5rem); }
@media (min-width: 60rem) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .faq__head { position: sticky; top: calc(var(--nav-h) + 2rem); align-self: start; }
}
.faq__head > * + * { margin-top: .75rem; }
.faq__list { display: grid; gap: .5rem; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color var(--dur-2), background-color var(--dur-2); }
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 1.1rem; min-height: 3rem; font-weight: 650; font-size: 1.0625rem; line-height: 1.35; border-radius: var(--r-md);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__q-icon {
  width: 1.75rem; height: 1.75rem; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand); transition: transform var(--dur-2) var(--ease), background-color var(--dur-1);
}
.faq__q-icon .icon { width: 1rem; height: 1rem; }
.faq__item[open] .faq__q-icon { transform: rotate(45deg); background: var(--thrust-diag); color: #fff; }
.faq__a { padding: 0 1.1rem 1rem; color: var(--ink-2); max-width: 42rem; }
.faq__a > * + * { margin-top: .6rem; }
.faq__a a { font-weight: 600; }
.faq__a ul { padding-left: 1.2rem; display: grid; gap: .35rem; }
.faq__tools { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .25rem; }
.faq--center .faq__grid { grid-template-columns: 1fr; max-width: 48rem; margin-inline: auto; }
.faq--center .faq__head { position: static; text-align: center; }

/* ==========================================================================
   14. CTA-BAND  (always dark)
   ========================================================================== */
.cta-section { padding-block: var(--section-y); }
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  padding: clamp(1.5rem, 1rem + 2.4vw, 2.75rem);
  display: grid; gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); align-items: center;
  box-shadow: 0 40px 120px -40px rgba(124,92,255,.5);
}
.cta-band__copy { display: grid; gap: 1rem; justify-items: start; }
.cta-band__copy .lead { max-width: 34rem; }
.cta-band__note { color: var(--ink-3); font-size: var(--fs-small); display: inline-flex; gap: .5rem; align-items: center; }
.cta-band__visual { display: grid; place-items: center; position: relative; min-height: 10rem; }
.cta-band__visual .device--phone { --w: clamp(9rem, 7rem + 7vw, 13rem); transform: rotate(6deg); }
.cta-band__arc { position: absolute; inset: auto 0 0 auto; width: min(100%, 36rem); height: auto; opacity: .55; pointer-events: none; z-index: -1; }
@media (min-width: 56rem) { .cta-band { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
@media (max-width: 40rem) { .cta-band__copy .btn { width: 100%; } .cta-band__visual { min-height: 0; } }
/* centred variant (no device) */
.cta-band--center { text-align: center; }
.cta-band--center .cta-band__copy { justify-items: center; margin-inline: auto; max-width: 42rem; }

/* ==========================================================================
   15. FOOTER  (always dark, echoing the app's navy sidebar)
   ========================================================================== */
.footer { padding-block: clamp(1.75rem, 1.25rem + 2vw, 3rem) 1.25rem; border-top: 1px solid var(--line); background-color: var(--ev-navy-850); }
.footer__top { display: grid; gap: 1.5rem; }
.footer__brand { display: grid; gap: .75rem; align-content: start; max-width: 22rem; }
.footer__brand p { color: var(--ink-2); font-size: var(--fs-small); }
.footer { --glow-1: rgba(124,92,255,.2); --glow-2: rgba(34,211,238,.1); }
.footer__cols { display: grid; gap: 1.25rem 1.25rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__h { font-size: var(--fs-xs); font-weight: 680; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-3); margin-bottom: .6rem; }
.footer__cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer__cols a { color: var(--ink-2); text-decoration: none; font-size: var(--fs-small); }
.footer__cols a:hover { color: var(--ink); text-decoration: underline; }
.footer__bottom {
  margin-top: clamp(1rem, .8rem + 1vw, 1.5rem); padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  color: var(--ink-3); font-size: var(--fs-small);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer__legal a { color: var(--ink-3); }
@media (min-width: 48rem) {
  .footer__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .footer__cols { grid-template-columns: repeat(var(--fcols, 3), minmax(0, 1fr)); }
  .footer__top { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
/* the three legal / non-affiliation lines from the copy deck sit above the bottom row */
.footer__fine { margin-top: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: grid; gap: .6rem; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.6; max-width: 62rem; }
/* three-way colour theme switch (System / Light / Dark) */
.theme-switch { display: inline-flex; padding: .2rem; gap: .15rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.theme-switch button {
  display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .75rem; border-radius: 9px; border: 0;
  background: transparent; color: var(--ink-2); font-size: .875rem; font-weight: 620;
}
.theme-switch button:hover { color: var(--ink); }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.theme-switch .icon { width: 1rem; height: 1rem; }

/* ==========================================================================
   15b. Shared page parts used by the copy deck
   ========================================================================== */

/* ---- tabs (USE-CASES tabbed variant) ---- */
.tabs__list { display: flex; flex-wrap: wrap; gap: .4rem; padding: .3rem; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); width: fit-content; max-width: 100%; }
.tabs__tab {
  padding: .6rem 1rem; min-height: 2.75rem; border-radius: 10px; border: 0; background: transparent; color: var(--ink-2);
  font-weight: 620; font-size: .975rem; line-height: 1.2;
  transition: color var(--dur-1), background-color var(--dur-1);
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.18), 0 0 0 1px var(--line); }
.tabs__panel { margin-top: clamp(1rem, .8rem + 1vw, 1.5rem); }
.tabs__panel[hidden] { display: none; }
.tabs--center .tabs__list { margin-inline: auto; }
.tabpanel { display: grid; gap: clamp(1.1rem, .9rem + 1.6vw, 2.25rem); align-items: center; }
.tabpanel__copy { display: grid; gap: .75rem; align-content: start; }
.tabpanel__quote { font-size: var(--fs-h3); font-weight: 720; letter-spacing: var(--ls-h3); line-height: 1.25; text-wrap: balance; }
.tabpanel__uses { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--ink-3); font-size: var(--fs-small); }
@media (min-width: 52rem) { .tabpanel { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
@media (max-width: 40rem) { .tabs__list { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; } .tabs__tab { white-space: nowrap; } }

/* ---- plain data tables (PRIVACY: what leaves your device) ---- */
.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2); }
.data-table { width: 100%; min-width: 34rem; border-collapse: separate; border-spacing: 0; font-size: var(--fs-small); text-align: left; }
.data-table caption { text-align: left; padding: .9rem 1rem .3rem; font-weight: 700; font-size: 1.0625rem; color: var(--ink); }
.data-table th, .data-table td { padding: .65rem 1rem; vertical-align: top; border-top: 1px solid var(--line); text-align: left; }
.data-table thead th { font-size: var(--fs-xs); font-weight: 680; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); border-top: 0; }
.data-table tbody th { font-weight: 650; color: var(--ink); }
.data-table td { color: var(--ink-2); }
.data-table td:last-child .yes { color: var(--pos); font-weight: 650; }
.data-table td .no { color: var(--ink); font-weight: 650; }
.privacy__cols { display: grid; gap: .75rem; margin-top: clamp(1.25rem, 1rem + 1vw, 2rem); }
@media (min-width: 52rem) { .privacy__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.privacy__col { padding: 1.25rem; border-radius: var(--r-lg); background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); display: grid; gap: .45rem; align-content: start; }
.privacy__col .icon-tile { width: 2.75rem; height: 2.75rem; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--thrust-diag); margin-bottom: .15rem; }
.privacy__col p { color: var(--ink-2); }

/* ---- calculator (HERO with calculator: /tools/financial-independence-number) ---- */
.calc { display: grid; gap: clamp(.875rem, .5rem + 1.4vw, 1.5rem); width: 100%; text-align: left; }
@media (min-width: 52rem) { .calc { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: stretch; } }
.calc__form { display: grid; gap: 1rem; align-content: start; }
.calc__form .btn { justify-self: start; }
@media (max-width: 40rem) { .calc__form .btn { justify-self: stretch; } }
.field { display: grid; gap: .35rem; }
.field label, .field .field__label { font-weight: 640; font-size: var(--fs-small); color: var(--ink); }
.field__help { color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.45; }
.input, .select {
  width: 100%; min-height: 3rem; padding: 0 .9rem; border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink); border: 1.5px solid var(--line-strong);
  font-size: 1rem; font-variant-numeric: tabular-nums;
}
.input:hover, .select:hover { border-color: var(--brand); }
.input:is(:focus, :focus-within, :focus-visible), .select:is(:focus, :focus-within, :focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--focus); border-radius: var(--r-sm); }
.input-money { position: relative; }
.input-money > span { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-weight: 600; pointer-events: none; }
.input-money .input { padding-left: 1.7rem; text-align: right; }
.calc__result {
  position: relative; overflow: hidden; display: grid; gap: .5rem; align-content: center; padding: clamp(1.1rem, .9rem + 1vw, 1.6rem);
  border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--g1) 40%, var(--line));
  background: linear-gradient(160deg, color-mix(in srgb, var(--g1) 18%, var(--surface)), var(--surface) 70%); box-shadow: var(--shadow-3);
}
.calc__label { font-size: var(--fs-xs); font-weight: 680; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-3); }
.calc__big { font-size: clamp(2.25rem, 1.8rem + 2.4vw, 3.5rem); font-weight: 780; letter-spacing: -.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.calc__sentence { color: var(--ink-2); }
.calc__range { color: var(--ink-2); font-size: var(--fs-small); padding-top: .75rem; margin-top: .5rem; border-top: 1px solid var(--line); }

/* ---- breadcrumbs + feature-tour link ---- */
.crumbs { padding-block: .6rem; font-size: var(--fs-small); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; padding: 0; margin: 0; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line-strong); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); font-weight: 600; }
.tour-next { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; border-top: 1px solid var(--line); }
.tour-next a { text-decoration: none; font-weight: 650; display: inline-flex; flex-direction: column; gap: .15rem; color: var(--ink); }
.tour-next small { color: var(--ink-3); font-size: var(--fs-xs); font-weight: 650; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; }
.tour-next a:hover span { color: var(--brand); }
.tour-next__next { text-align: right; margin-left: auto; }

/* ---- captions, disclaimers, callouts ---- */
.caption { margin-top: .65rem; color: var(--ink-3); font-size: var(--fs-small); text-align: center; text-wrap: balance; }
.disclaimer { color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.55; max-width: 60rem; }
.callout { display: grid; grid-template-columns: auto 1fr; gap: .9rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); }
.callout .icon { color: var(--warn); margin-top: .1rem; }
.callout--info { background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }
.callout--info .icon { color: var(--brand); }
.callout p { color: var(--ink); }

/* ---- long-form text (legal pages, "How the forecast works") ---- */
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h3); font-weight: 720; letter-spacing: var(--ls-h3); line-height: 1.25; margin-top: 1.7em; scroll-margin-top: calc(var(--nav-h) + 1rem); }
.prose h3 { font-size: 1.125rem; font-weight: 700; margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .4rem; }
.prose code { font-family: var(--font-mono); font-size: .9em; padding: .1em .35em; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.prose .formula { padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 1rem; overflow-x: auto; }


/* ==========================================================================
   17. Phase 2 additions: page-level parts used by the generated site
   ========================================================================== */
.display--md, .hero--split .display, .hero--small .display { font-size: var(--fs-display-md); letter-spacing: -.034em; }

/* hero: small (text only) */
.hero--small { padding-block: clamp(1.5rem, 1rem + 2vw, 2.75rem) clamp(1.25rem, 1rem + 1.4vw, 2.25rem); }
.hero--small .hero__inner { gap: 1rem; }
.hero--small .hero__copy { max-width: 46rem; }
.hero--split .hero__inner { padding-block: 0; }
@media (min-width: 64rem) { .hero--split .hero__stage { margin-right: calc(var(--gutter) * -1); } }
.hero--404 { text-align: center; }
.rocket404 { width: min(15rem, 60vw); height: auto; color: var(--ink-3); margin-bottom: .5rem; }
.linklist { color: var(--ink-3); display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }

/* owner TODO markers: loud on purpose, impossible to ship by accident */
mark.todo { background: #ffe14d; color: #1a1300; padding: .05em .4em; border-radius: 6px; font-weight: 650; font-size: .92em; outline: 2px dashed #8a6a00; outline-offset: 1px; }

/* draft legal pages */
.section--legal { padding-top: clamp(1.25rem, 1rem + 1.6vw, 2.25rem); }
.draft-banner { margin-block: 1.25rem 1.5rem; }
.legal__summary { margin-bottom: 2rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--g1); background: var(--surface); border-radius: 0 var(--r-md) var(--r-md) 0; color: var(--ink); }
.prose a { font-weight: 600; }

/* steps as a vertical list with media beside the text (5-step flows) */
.steps--list { grid-template-columns: 1fr; max-width: 60rem; margin-inline: auto; gap: clamp(1.1rem, .9rem + 1vw, 1.75rem); }
@media (min-width: 52rem) {
  .steps--list .step { grid-template-columns: 3rem minmax(0, 1fr) minmax(0, 22rem); column-gap: 1.5rem; align-items: start; }
  .steps--list .step__num { grid-row: 1 / span 3; }
  .steps--list .step > h3, .steps--list .step > p { grid-column: 2; }
  .steps--list .step__media { grid-column: 3; grid-row: 1 / span 3; margin-top: 0; max-height: 14rem; }
  .steps--list .step:not(:last-child)::after { display: block; left: 1.5rem; right: auto; top: 3.4rem; bottom: -2.5rem; width: 2px; height: auto;
    background: linear-gradient(var(--line-strong), transparent); -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 51.99rem) { .steps--list .step__media { grid-column: 2; } }

/* media compositions */
.stack-media { display: grid; gap: 1rem; max-width: 52rem; margin-inline: auto; }
.sharecards { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.75rem, 2vw, 1.5rem); flex-wrap: wrap; }
.sharecard { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-device); border: 1px solid var(--line-strong); max-width: 18rem; flex: 0 1 auto; }
.sharecard--post { max-width: 15rem; }
.sharecard img { width: 100%; height: auto; }
.themes-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.5rem, 1.5vw, 1rem); }
.themes-2x2__img img { border-radius: var(--r-md); border: 1px solid var(--line-strong); box-shadow: var(--shadow-3); width: 100%; height: auto; }
.media-phones--tile { padding-top: .5rem; }

ol.numbered { padding-left: 1.4rem; display: grid; gap: .5rem; margin: 0; }
ol.numbered li::marker { color: var(--brand); font-weight: 700; }
.privacy__sub { margin-top: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); margin-bottom: .75rem; font-size: var(--fs-h3); }
.prose-lead > p + p, .prose-lead > p + .data-table-wrap, .prose-lead > .data-table-wrap + p { margin-top: 1rem; }
.prose-lead .data-table-wrap { font-size: var(--fs-small); }
.prose-lead ol.numbered { color: var(--ink-2); font-size: var(--fs-body); }
.checklist--no .icon { color: var(--neg); background: var(--neg-soft); }
.nav__drop-foot { margin: .4rem 0 0; padding: .6rem .75rem .3rem; border-top: 1px solid var(--line); }
.nav__drop-foot a { display: inline-flex; gap: .4rem; align-items: center; font-weight: 650; font-size: .9rem; text-decoration: none; }
.nav__trigger[data-current="true"] { color: var(--ink); }
.tour-next { margin-bottom: 1rem; }
.crumbs.container { padding-block: .6rem .1rem; }

/* calculator page */
.calc-section { padding-top: 0; }
.calc__actions { margin-top: 1.5rem; }
.calc__micro { margin-top: .9rem; }
.calc__big--sm { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); letter-spacing: -.03em; }
.calc__result[data-state="already"] .calc__big--sm, .calc__result[data-state="never"] .calc__big--sm { font-size: clamp(1.35rem, 1.2rem + .8vw, 1.8rem); }
.input-pct .input { padding-left: .9rem; padding-right: 1.9rem; text-align: right; }
.input-pct > span { left: auto; right: .9rem; }
.calc .field + .field { margin-top: 0; }
.calc__form { gap: 1.1rem; }


/* ==========================================================================
   18. Phase 5: visual components (crops, icon matrix, option cards, diagrams)
   ========================================================================== */

/* ---- crop: a zoomed region of a real screenshot ---- */
.crop { aspect-ratio: var(--ratio, 4 / 3); overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: var(--surface); position: relative; box-shadow: var(--shadow-2); }
.crop picture { display: block; width: 100%; }
.crop img { display: block; height: auto; }
.crop--fit img { width: 100%; height: 100%; max-width: 100%; object-fit: cover; object-position: var(--pos, top left); position: absolute; inset: 0; }
.crop--fit picture { position: absolute; inset: 0; height: 100%; }

/* ---- chip rows (replace bullet lists) ---- */
.chiprow { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.chiprow--center { justify-content: center; margin-bottom: 1.25rem; }
.chiprow__item {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem .45rem .6rem; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--line-strong); color: var(--ink); font-weight: 600; font-size: var(--fs-small); line-height: 1.2;
}
.chiprow__item .icon { width: 1.15rem; height: 1.15rem; color: var(--brand); }
.chiprow--left { margin-block: .1rem; }

/* ---- showcase: heading, one line, one big visual ---- */
.showcase .section-head { margin-bottom: 1rem; }
.showcase__media { max-width: 64rem; margin-inline: auto; }
.showcase__media--narrow { max-width: 34rem; }
.showcase__micro { text-align: center; margin-top: .75rem; }
.showcase > .container > * + * { margin-top: 1rem; }
.showcase .chiprow--center { margin-bottom: 0; }
.bigeq { text-align: center; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); font-weight: 760; letter-spacing: -.03em; line-height: 1.15; }
.bigeq b { background: var(--thrust-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.stack-media { display: grid; gap: 1rem; max-width: 52rem; margin-inline: auto; }

/* ---- numbered visual steps ---- */
.vsteps { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.9rem, .6rem + 1.2vw, 1.5rem); margin: 0; padding: 0; counter-reset: v; }
.vsteps--n3 .vstep, .vsteps--n5 .vstep, .vsteps--n6 .vstep { flex-basis: 20rem; }
.vstep { flex: 1 1 14.5rem; max-width: 22rem; display: grid; gap: .45rem; align-content: start; }
.vstep__media { position: relative; }
.vstep__media .crop { box-shadow: var(--shadow-3); }
.vstep__n {
  position: absolute; left: -.5rem; top: -.6rem; z-index: 1; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%;
  font-weight: 780; color: var(--on-primary); background: linear-gradient(135deg, var(--btn-g1), var(--btn-g2));
  box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--btn-g1) 80%, transparent), 0 0 0 3px var(--bg);
}
.section--tint .vstep__n { box-shadow: 0 6px 16px -4px color-mix(in srgb, var(--btn-g1) 80%, transparent), 0 0 0 3px var(--bg-soft); }
.vstep h3 { margin-top: .35rem; }
.vstep p { color: var(--ink-2); font-size: var(--fs-small); }
@media (max-width: 40rem) { .vstep { flex-basis: 100%; max-width: 26rem; } }

/* ---- icon matrix (COMPARE) ---- */
.compare--icons { min-width: 0; table-layout: fixed; }
.compare--icons th, .compare--icons td { padding: .55rem .4rem; }
.compare--icons thead th { font-size: .9375rem; line-height: 1.25; }
.compare--icons thead th:first-child, .compare--icons tbody th { width: 28%; text-align: left; padding-left: 1rem; min-width: 0; }
.compare--icons thead th.is-us { width: 23%; }
.compare--icons tbody th { font-size: var(--fs-small); font-weight: 620; }
.compare--icons .yes, .compare--icons .no, .compare--icons .part { gap: .4rem; flex-wrap: wrap; justify-content: center; }
.compare--icons .cmp-text { font-size: var(--fs-small); font-weight: 650; color: var(--ink); }
.compare--icons .na { color: var(--ink-3); }
.compare-wrap--icons { overflow-x: auto; }
.cmp-short { display: none; }
.compare-legend { display: flex; justify-content: center; gap: 1.25rem; margin-top: .75rem; color: var(--ink-2); font-size: var(--fs-small); }
.compare-legend span { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.compare-legend .icon { width: 1.25rem; height: 1.25rem; padding: .25rem; border-radius: 50%; }
.compare-legend .yes .icon { color: var(--pos); background: var(--pos-soft); }
.compare-legend .no .icon { color: var(--neg); background: var(--neg-soft); }
.compare-legend .part .icon { color: var(--warn); background: var(--warn-soft); }
@media (max-width: 40rem) {
  .compare--icons thead th { font-size: .75rem; padding-inline: .15rem; }
  .compare--icons thead th:first-child, .compare--icons tbody th { width: 27%; }
  .cmp-long { display: none; }
  .cmp-short { display: inline; }
  .vsteps .crop { aspect-ratio: 16 / 10; }
  .compare--icons tbody th { font-size: .8125rem; padding-left: .6rem; }
  .compare--icons .cmp-text { display: block; font-size: .6875rem; line-height: 1.2; flex-basis: 100%; }
}

/* ---- stays on your device ---- */
.privacy__copy + * { margin-top: 1rem; }
.section--flush-top.facts-section { padding-top: clamp(1rem, .8rem + 1vw, 1.5rem); }
.privacy > .container > .keep, .privacy .keep { margin-top: 1.25rem; }
.keep { display: grid; gap: .9rem; padding: clamp(1rem, .8rem + 1vw, 1.5rem); border-radius: var(--r-lg); border: 1px solid color-mix(in srgb, var(--g2) 40%, var(--line)); background: color-mix(in srgb, var(--surface) 85%, transparent); }
.keep__head { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.0625rem; }
.keep__head .icon { color: var(--g2); }
.keep__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .5rem; padding: 0; margin: 0; }
.keep__grid li { display: flex; align-items: center; gap: .6rem; padding: .6rem .75rem; border-radius: var(--r-sm); background: var(--surface-2); font-weight: 600; font-size: var(--fs-small); line-height: 1.25; }
.keep__grid .icon { width: 1.3rem; height: 1.3rem; color: var(--brand); }
.keep__foot { color: var(--ink-2); font-size: var(--fs-small); }

/* ---- what an optional service sends ---- */
.optcards { display: grid; gap: clamp(.625rem, .4rem + .8vw, 1rem); grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
/* exactly four cards: two by two, never three and a hole */
.optcards--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 36rem) { .optcards--four { grid-template-columns: minmax(0, 1fr); } }
.optcard { display: grid; gap: .4rem; align-content: start; padding: clamp(1rem, .8rem + .8vw, 1.25rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.optcard__head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .2rem; }
.optcard__head h3 { font-size: 1.0625rem; margin-right: auto; }
.optcard .icon-tile { width: 2.25rem; height: 2.25rem; border-radius: 10px; display: grid; place-items: center; color: #fff; background: var(--thrust-diag); flex: none; }
.optcard .icon-tile .icon { width: 1.2rem; height: 1.2rem; }
.optcard__lab { font-size: var(--fs-xs); font-weight: 680; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-3); margin-top: .35rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; line-height: 1.25; }
.chip--send { background: var(--brand-soft); color: var(--ink); }
.chip--never { background: var(--neg-soft); color: var(--ink); }
.chip--never .icon { width: .95rem; height: .95rem; color: var(--neg); }

/* ---- what we can't do ---- */
.cant { display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: clamp(.625rem, .4rem + .8vw, 1rem); padding: 0; margin: 0; }
@media (min-width: 48rem) { .cant { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.cant__item { display: grid; gap: .25rem; justify-items: start; align-content: start; padding: 1rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.cant__ic { position: relative; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); margin-bottom: .25rem; }
.cant__ic .icon { width: 1.4rem; height: 1.4rem; }
.cant__ic i { position: absolute; right: -.35rem; bottom: -.35rem; width: 1.2rem; height: 1.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--neg); color: #fff; box-shadow: 0 0 0 2px var(--surface); }
.cant__ic i .icon { width: .8rem; height: .8rem; }
.cant__item b { font-size: 1rem; line-height: 1.25; }
@media (max-width: 40rem) {
  .cant { grid-template-columns: 1fr; gap: .5rem; }
  .cant__item { grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: .75rem .9rem; }
  .cant__ic { grid-row: 1 / span 2; margin: 0; }
}
.cant__item small { color: var(--ink-2); font-size: var(--fs-small); line-height: 1.35; }

/* ---- three futures as big numbers ---- */
.scen { margin: 0; }
.scen__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.5rem, .3rem + .8vw, 1rem); padding: 0; margin: 0; }
.scen__item { display: grid; justify-items: center; gap: .1rem; padding: clamp(.9rem, .7rem + 1vw, 1.5rem) .5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.scen--2 .scen__list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 40rem; margin-inline: auto; }
.scen__item--1 { border-color: color-mix(in srgb, var(--g1) 55%, var(--line)); background: linear-gradient(160deg, color-mix(in srgb, var(--g1) 18%, var(--surface)), var(--surface) 75%); }
.scen__label { font-size: var(--fs-xs); font-weight: 680; letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--ink-2); }
.scen__years { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); font-weight: 780; letter-spacing: -.04em; line-height: 1.05; background: var(--thrust-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.scen__years small { font-size: .3em; font-weight: 650; letter-spacing: 0; margin-left: .3em; color: var(--ink-2); -webkit-text-fill-color: var(--ink-2); }
.scen__rate { font-weight: 650; color: var(--ink); }
.scen__cap { margin-top: .6rem; text-align: center; color: var(--ink-3); font-size: var(--fs-small); }

/* ---- the forecast loop ---- */
.formula { margin: 0; display: grid; gap: .9rem; justify-items: center; padding: clamp(1rem, .8rem + 1vw, 1.5rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); }
.formula__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .5rem .6rem; }
.fx { padding: .55rem .9rem; border-radius: var(--r-sm); font-weight: 700; font-size: clamp(1rem, .9rem + .5vw, 1.25rem); white-space: nowrap; }
.fx--bal { background: var(--brand-soft); color: var(--ink); }
.fx--g { background: color-mix(in srgb, var(--g2) 18%, transparent); color: var(--ink); }
.fx--m { background: var(--pos-soft); color: var(--ink); }
.fx__op { font-size: 1.4rem; font-weight: 700; color: var(--ink-2); }
.formula__loop { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-2); font-weight: 600; }
.formula__loop .icon { color: var(--brand); }

/* ---- diagram (inline SVG) ---- */
.diagram { margin: 0 auto; max-width: 62rem; }
.dg { width: 100%; height: auto; display: block; overflow: visible; font-family: var(--font); }
.dg--tall { display: none; max-width: 24rem; margin-inline: auto; }
@media (max-width: 44rem) { .dg--wide { display: none; } .dg--tall { display: block; } }
.dg-box { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.dg-box--you { stroke: color-mix(in srgb, var(--g2) 60%, var(--line-strong)); }
.dg-box--srv { fill: var(--surface-2); stroke-dasharray: 6 6; }
.dg-h { fill: var(--ink); font-size: 20px; font-weight: 720; }
.dg-t { fill: var(--ink); font-size: 16px; font-weight: 680; }
.dg-s { fill: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.dg-pills rect { fill: var(--brand-soft); }
.dg-pills text { fill: var(--ink); font-size: 13px; font-weight: 640; }
.dg-key { fill: color-mix(in srgb, var(--g2) 12%, var(--surface-2)); stroke: color-mix(in srgb, var(--g2) 55%, transparent); stroke-width: 1.5; }
.dg-chip { fill: var(--surface); stroke: var(--g2); stroke-width: 1.5; }
.dg-line { stroke: var(--g2); stroke-width: 2.5; stroke-dasharray: 3 7; stroke-linecap: round; }
.dg-ah { fill: var(--g2); }
.dg-ico { fill: none; stroke: var(--g2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg-ico--no { stroke: var(--ink-2); }
.dg-noise rect { fill: var(--brand); }

/* ---- theme montage ---- */
.montage { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: clamp(.5rem, .3rem + .8vw, 1rem); padding: 0; margin: 0; }
.montage__item { margin: 0; display: grid; gap: .35rem; }
.montage__item img { width: 100%; height: auto; border-radius: var(--r-sm); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); aspect-ratio: 8 / 5; object-fit: cover; object-position: top left; }
.montage__item figcaption { font-size: var(--fs-small); font-weight: 650; text-align: center; }

/* ---- type cloud ---- */
.typecloud { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); }
.typecloud__group { padding: 1rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: .6rem; align-content: start; }
.typecloud__group h3 { display: flex; align-items: center; gap: .5rem; font-size: 1rem; }
.typecloud__group h3 .icon { color: var(--brand); width: 1.25rem; height: 1.25rem; }
.typecloud .chip { background: var(--surface-2); }
.typecloud .chip--more { background: var(--brand-soft); font-weight: 700; }

/* ---- stat tiles with an icon (quick facts) ---- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .5rem; padding: 0; margin: 0; }
.facts li { display: grid; justify-items: center; gap: .35rem; padding: .9rem .5rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-align: center; font-weight: 650; font-size: var(--fs-small); line-height: 1.25; }
.facts .icon { width: 1.6rem; height: 1.6rem; color: var(--brand); }
.facts .facts__no { color: var(--neg); }

/* ==========================================================================
   16. Scroll reveals (JS adds .js to <html>; users who prefer reduced motion see everything at once)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal--scale { transform: translateY(24px) scale(.97); }
  .js .reveal--scale.is-in { transform: none; }
  .hero__stage .device--browser { animation: hero-rise 1.1s var(--ease) .15s both; }
  .hero__phone { animation: hero-rise 1.1s var(--ease) .45s both; }
  @keyframes hero-rise { from { opacity: 0; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ---- high-contrast / forced-colors safety ---- */
@media (forced-colors: active) {
  .btn--primary { border-color: ButtonText; }
  .grad, .display em, .h2 em, .stat__value, .tile__big { -webkit-text-fill-color: currentColor; color: CanvasText; background: none; }
}

/* log in link beside the main button (desktop) / in the menu (phone) */
.nav__login { font-weight: 600; font-size: var(--fs-small); color: var(--ink-2); text-decoration: none; padding: .45rem .7rem; border-radius: .6rem; white-space: nowrap; }
.nav__login:hover { color: var(--ink); background: var(--surface-2, rgba(127, 127, 127, .12)); }
.nav__login-li { display: none; }
@media (max-width: 68rem) {
  .nav__actions .nav__login { display: none; }
  .nav__login-li { display: list-item; }
}

/* compact privacy chips (title only) */
.privacy__col--short { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; }
.privacy__col--short .icon-tile { margin: 0; flex: none; width: 2.25rem; height: 2.25rem; }
.privacy__col--short h3 { font-size: 1rem; }


@media (max-width: 40rem) { .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ==========================================================================
   19. CAROUSEL (home hero): browser frame, crossfading slides, tab/dot controls
   Markup: R.carousel() in tools/lib/render.js. Behaviour: site.js section 8. With no JS slide 1 shows and the controls stay hidden.
   ========================================================================== */
.hero__stage--carousel { max-width: 66rem; }
.carousel { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; gap: clamp(.5rem, .3rem + .6vw, .9rem); position: relative; z-index: 1; --carousel-ms: 5000ms; }
.carousel .carousel__device { margin: 0; width: 100%; }
.carousel__viewport {
  position: relative; aspect-ratio: var(--ratio, 8 / 5); overflow: hidden; background: var(--surface);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
.carousel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease-in-out); }
.carousel__slide.is-active { opacity: 1; z-index: 1; }
.carousel__slide[hidden] { display: none; }
.carousel__slide .shot { width: 100%; height: 100%; }
.carousel__slide .shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; -webkit-user-drag: none; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .carousel__slide { transition: none; } }
/* phones: drop the app's sidebar (the left 20% of a 1440x900 window) and show the rest 25% larger, whole height kept */
@media (max-width: 40rem) {
  .carousel__viewport { aspect-ratio: 32 / 25; }
  .carousel__slide--window .shot img { width: 125%; max-width: none; height: auto; margin-left: -25%; object-fit: fill; }
}

/* controls: [prev] [label tabs] [next] [pause]. Space is reserved before JS runs so nothing moves when they appear. */
.carousel__bar { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 2.75rem; visibility: hidden; }
.js .carousel__bar { visibility: visible; }
.carousel__now { display: none; margin: 0; font-weight: 680; font-size: var(--fs-small); color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carousel__btn {
  flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border-radius: 50%; cursor: pointer;
  color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-1);
  transition: background var(--dur-1), border-color var(--dur-1), transform var(--dur-1);
}
.carousel__btn:hover { background: var(--brand-soft); border-color: var(--brand); }
.carousel__btn:active { transform: scale(.94); }
.carousel__btn .icon { width: 1.25rem; height: 1.25rem; }
.carousel.is-static .carousel__btn--pause { display: none; }
.carousel__btn--pause .i-resume { display: none; }
.carousel__btn--pause.is-stopped .i-pause { display: none; }
.carousel__btn--pause.is-stopped .i-resume { display: block; }
.carousel__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem; min-width: 0; }
.carousel__tab {
  position: relative; display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: 0 .9rem; cursor: pointer;
  border-radius: var(--r-pill); border: 1px solid transparent; background: transparent; color: var(--ink-2);
  font: inherit; font-size: .875rem; font-weight: 640; white-space: nowrap; transition: color var(--dur-1), background var(--dur-1), border-color var(--dur-1);
}
.carousel__tab:hover { color: var(--ink); background: var(--surface-2); }
.carousel__tab[aria-selected="true"] { color: var(--ink); background: var(--brand-soft); border-color: color-mix(in srgb, var(--brand) 38%, transparent); }
.carousel__dot { position: relative; flex: none; width: .5rem; height: .5rem; border-radius: var(--r-pill); background: currentColor; opacity: .45; overflow: hidden; transition: width var(--dur-2) var(--ease), opacity var(--dur-2); }
.carousel__tab[aria-selected="true"] .carousel__dot { width: 1.5rem; opacity: 1; background: var(--line-strong); }
.carousel__tab[aria-selected="true"] .carousel__dot::after { content: ""; position: absolute; inset: 0; background: var(--thrust); transform-origin: left; }
/* the selected dot fills over the interval while the carousel is running; stopped or reduced motion: shown full */
.carousel.is-playing .carousel__tab[aria-selected="true"] .carousel__dot::after { animation: carousel-fill var(--carousel-ms) linear both; }
.carousel.is-held .carousel__tab[aria-selected="true"] .carousel__dot::after { animation-play-state: paused; }
@keyframes carousel-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .carousel.is-playing .carousel__tab[aria-selected="true"] .carousel__dot::after { animation: none; } }

/* under 50rem the labels become dots (44px targets), with the current label in words beside the buttons */
@media (max-width: 49.99rem) {
  .carousel__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "now pause prev next" "tabs tabs tabs tabs"; gap: .15rem .4rem; align-items: center; }
  .carousel__now { display: block; grid-area: now; padding-left: .25rem; }
  .carousel__btn--pause { grid-area: pause; }
  .carousel__btn--prev { grid-area: prev; }
  .carousel__btn--next { grid-area: next; }
  .carousel__tabs { grid-area: tabs; gap: 0; }
  .carousel__tab { width: 2.75rem; padding: 0; justify-content: center; }
  .carousel__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .carousel__tab[aria-selected="true"] { background: transparent; border-color: transparent; }
  .carousel__btn { width: 2.5rem; height: 2.5rem; }
}
@media (forced-colors: active) { .carousel__tab[aria-selected="true"] { border-color: Highlight; } .carousel__dot { background: CanvasText; } }

/* ---- account card: three icon rows, optionally beside the real sign-up form ---- */
.acct { display: grid; gap: clamp(1rem, .8rem + 1.5vw, 2rem); align-items: center; padding: clamp(1rem, .8rem + 1.2vw, 1.75rem); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-2); }
@media (min-width: 48rem) { .acct--media { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.acct__copy { display: grid; gap: 1rem; }
.acct__rows { display: grid; gap: .75rem; margin: 0; padding: 0; }
.acct__rows li { display: flex; align-items: center; gap: .85rem; }
.acct__rows .icon-tile { flex: none; width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 12px; color: var(--brand); background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent); }
.acct__rows .icon { width: 1.35rem; height: 1.35rem; }
.acct__rows b { display: block; font-weight: 700; line-height: 1.25; }
.acct__rows small { display: block; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.35; }
.acct__media .device--bare { box-shadow: var(--shadow-3); border: 1px solid var(--line-strong); overflow: hidden; }
