/* ═══════════════════════════════════════════════════════════════════════
   D9Commerce public site — home.css
   Used by / (home), /help, /contact, /terms, /privacy via
   inc/public_chrome.php. Builds on /assets/css/d9-tokens.css ("Aurora":
   cyan #22D3EE → indigo #6366F1 → violet #A855F7 at 135deg, ink #0B1020).

   • Mobile-first; breakpoints 520 / 640 / 720 / 900 / 1024 / 1100 / 1180.
   • "Night" bands (header, hero, page heroes, autopilot, CTA, footer) are
     always dark; everything else follows prefers-color-scheme.
   • Motion is CSS-first. landing.js only adds the `.js` root class (which
     gates the scroll-reveal start states) plus small enhancements — with JS
     off every element is visible.
   • prefers-reduced-motion: everything static (see the end of the file and
     the global rule in d9-tokens.css).
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  color-scheme: light;
  --font: var(--d9-font, 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;

  /* Themable surfaces (light) */
  --bg: #FFFFFF;
  --bg-alt: var(--d9-bg, #F5F6FB);
  --surface: var(--d9-surface, #FFFFFF);
  --surface-2: var(--d9-surface-2, #F8F9FD);
  --line: var(--d9-line, #E5E8F2);
  --line-2: var(--d9-line-strong, #D3D8E8);
  --ink: var(--d9-ink, #0B1020);
  --ink-2: var(--d9-ink-2, #2A3350);
  --muted: #5B6584;
  --faint: #8C95AF;
  --primary: var(--d9-primary, #5B5CF0);
  --primary-ink: #4338CA;
  --focus: #6366F1;
  --good: #059669;
  --good-ink: #047857;
  --good-soft: var(--d9-success-soft, #E7F8F1);
  --warn: #B45309;
  --danger: #DC2626;
  --eb-c: #4F46E5;
  --eb-bg: #EEF0FF;
  --eb-line: rgba(99, 102, 241, .22);

  /* Brand gradients */
  --grad: var(--d9-grad, linear-gradient(135deg, #22D3EE 0%, #6366F1 52%, #A855F7 100%));
  --grad-ui: linear-gradient(135deg, #22D3EE -40%, #4F46E5 38%, #7C3AED 100%);   /* white text on it */
  --grad-text: linear-gradient(120deg, #0891B2 0%, #4F46E5 48%, #9333EA 100%);   /* AA on light */
  --grad-text-night: linear-gradient(120deg, #22D3EE 0%, #818CF8 46%, #C084FC 100%);

  --shadow-sm: var(--d9-shadow-sm, 0 1px 2px rgba(16, 24, 64, .06));
  --shadow: var(--d9-shadow, 0 6px 16px -6px rgba(16, 24, 64, .12));
  --shadow-lg: var(--d9-shadow-lg, 0 24px 48px -18px rgba(16, 24, 64, .25));

  /* Night bands (always dark) */
  --n-bg: #060914;
  --n-bg-2: #0A0F1F;
  --n-line: rgba(148, 163, 184, .14);
  --n-line-2: rgba(148, 163, 184, .26);
  --n-ink: #F5F7FF;
  --n-ink-2: #CDD4EA;
  --n-muted: #9AA5C4;

  /* Layout & motion */
  --head-h: 64px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: var(--d9-ease, cubic-bezier(.22, 1, .36, 1));
  --spring: var(--d9-spring, cubic-bezier(.34, 1.56, .64, 1));
  --cycle: 6s;   /* hero sync-demo loop */
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #070B16;
    --bg-alt: #0A1020;
    --surface: #0E1426;
    --surface-2: #121A30;
    --line: #1D2742;
    --line-2: #2A3658;
    --ink: #EEF1FA;
    --ink-2: #C3C9DE;
    --muted: #95A0BE;
    --faint: #66718F;
    --primary: #8F92FA;
    --primary-ink: #A5A8FB;
    --focus: #A5B4FC;
    --good: #34D399;
    --good-ink: #34D399;
    --good-soft: rgba(16, 185, 129, .14);
    --warn: #FBBF24;
    --danger: #F87171;
    --eb-c: #A5B4FC;
    --eb-bg: rgba(99, 102, 241, .14);
    --eb-line: rgba(129, 140, 248, .3);
    --grad-text: var(--grad-text-night);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45);
    --shadow: 0 10px 24px -10px rgba(0, 0, 0, .65), 0 2px 4px rgba(0, 0, 0, .3);
    --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .8);
  }
}

/* Dark-band scope: re-points the themable tokens so shared components
   (eyebrow, grad-text, cards…) adapt automatically inside it. */
.night {
  color-scheme: dark;
  --bg: var(--n-bg);
  --bg-alt: var(--n-bg-2);
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: var(--n-line);
  --line-2: var(--n-line-2);
  --ink: var(--n-ink);
  --ink-2: var(--n-ink-2);
  --muted: var(--n-muted);
  --faint: #6F7A99;
  --primary: #A5B4FC;
  --focus: #67E8F9;
  --good: #34D399;
  --good-ink: #34D399;
  --eb-c: #A5B4FC;
  --eb-bg: rgba(99, 102, 241, .14);
  --eb-line: rgba(129, 140, 248, .3);
  --grad-text: var(--grad-text-night);
  color: var(--ink-2);
  background-color: var(--n-bg);
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; font-family: var(--font); font-size: 16px; line-height: 1.6;
  color: var(--ink-2); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  overflow-x: clip;
}
h1, h2, h3, h4 { margin: 0; color: var(--ink); letter-spacing: -.025em; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
a { color: var(--primary); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(99, 102, 241, .28); }
kbd {
  font-family: var(--mono); font-size: .8em; padding: 1px 6px; border-radius: 6px;
  border: 1px solid var(--line-2); border-bottom-width: 2px; background: var(--surface); color: var(--ink-2);
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 16px;
  background: #4F46E5; color: #fff; border-radius: 10px; font-weight: 700; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }
html:not(.js) [data-js-only] { display: none !important; }

.wrap {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.grad-text {
  background-image: var(--grad-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .06em;
}
.shimmer {
  background-image: linear-gradient(100deg, #22D3EE 0%, #818CF8 25%, #C084FC 50%, #818CF8 75%, #22D3EE 100%);
  background-size: 200% auto; animation: shimmer 9s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--eb-c); background: var(--eb-bg); border: 1px solid var(--eb-line);
}
.eyebrow i { font-size: 11px; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  --bh: 46px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--bh); padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 650; font-size: 15px; letter-spacing: -.01em; line-height: 1.2; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent; text-decoration: none;
  transition: transform .22s var(--ease), box-shadow .3s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn i { font-size: .85em; transition: transform .25s var(--ease); }
.btn:hover .fa-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-sm { --bh: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-lg { --bh: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-primary {
  color: #fff; background: var(--grad-ui);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px rgba(99, 102, 241, .45), 0 10px 26px -10px rgba(79, 70, 229, .75);
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .32) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform .8s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 1px rgba(129, 140, 248, .6),
              0 18px 36px -12px rgba(99, 102, 241, .85), 0 0 28px -6px rgba(34, 211, 238, .5);
}
.btn-primary:hover::after { transform: translateX(130%); }
.btn-glass {
  color: #fff; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.btn-glass:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); transform: translateY(-2px); }
.btn-glass .fa-play { font-size: .75em; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.btn-ghost { color: var(--n-ink-2); background: transparent; }
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.btn-soft { color: var(--ink); background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn-soft:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary) 45%, var(--line-2)); box-shadow: var(--shadow); color: var(--primary-ink); }

/* ── Aurora backdrop (public_aurora()) ──────────────────────────────────── */
.aurora {
  position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -12%, #131B46 0%, rgba(6, 9, 20, 0) 62%),
    var(--n-bg);
}
.aurora-curtain {
  position: absolute; top: -30%; left: -50%; width: 200%; height: 95%;
  background: repeating-linear-gradient(100deg,
    rgba(34, 211, 238, 0) 0%, rgba(34, 211, 238, .55) 6%, rgba(99, 102, 241, 0) 11%,
    rgba(99, 102, 241, .6) 16%, rgba(168, 85, 247, 0) 21%, rgba(168, 85, 247, .5) 26%,
    rgba(34, 211, 238, 0) 32%);
  filter: blur(42px) saturate(130%);
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 60% 30%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 60% 70% at 60% 30%, #000 25%, transparent 72%);
  transform-origin: 50% 0;
  animation: curtain 26s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes curtain {
  0%   { transform: translate3d(-6%, 0, 0) skewX(-6deg) scaleY(1); }
  50%  { transform: translate3d(4%, 2%, 0) skewX(4deg) scaleY(1.08); }
  100% { transform: translate3d(10%, -1%, 0) skewX(-3deg) scaleY(.96); }
}
.aurora-blob { position: absolute; border-radius: 50%; will-change: transform; }
.ab1 {
  width: 70vmax; height: 70vmax; left: -28vmax; top: -40vmax;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .34), rgba(34, 211, 238, 0));
  animation: blobA 24s ease-in-out infinite alternate;
}
.ab2 {
  width: 64vmax; height: 64vmax; right: -26vmax; top: -30vmax;
  background: radial-gradient(closest-side, rgba(168, 85, 247, .32), rgba(168, 85, 247, 0));
  animation: blobB 28s ease-in-out infinite alternate;
}
.ab3 {
  width: 56vmax; height: 56vmax; left: 18%; bottom: -40vmax;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .34), rgba(99, 102, 241, 0));
  animation: blobC 32s ease-in-out infinite alternate;
}
@keyframes blobA { to { transform: translate3d(8vmax, 6vmax, 0) scale(1.12); } }
@keyframes blobB { to { transform: translate3d(-10vmax, 8vmax, 0) scale(.92); } }
@keyframes blobC { to { transform: translate3d(6vmax, -8vmax, 0) scale(1.1); } }
.aurora-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, .07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, .07) 1px, transparent 1px);
  background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 10%, transparent 75%);
}
.aurora--soft .aurora-curtain { opacity: .32; }
.aurora--soft .ab3 { display: none; }
.aurora--cta { inset: 1px; border-radius: 31px; }
.aurora--cta .aurora-curtain { opacity: .45; top: -20%; height: 120%; }

/* ── Header (always night glass) ────────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 60; height: var(--head-h); margin-bottom: calc(-1 * var(--head-h));
  color: var(--n-ink);
  background: rgba(6, 9, 20, .8);
  -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--n-line);
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.site-head :focus-visible { outline-color: #67E8F9; }
.js .site-head:not(.is-scrolled) {
  background: rgba(6, 9, 20, 0); border-bottom-color: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.js .nav-open .site-head { background: rgba(6, 9, 20, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.site-head.is-scrolled { box-shadow: 0 12px 32px -20px rgba(0, 0, 0, .7); }
.head-wrap { display: flex; align-items: center; gap: 10px; height: 100%; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; border-radius: 8px; transition: filter .3s, transform .3s var(--ease); }
.brand:hover { filter: drop-shadow(0 0 14px rgba(99, 102, 241, .55)); }
.brand-full { width: 128px; height: auto; }
.brand-mark { display: none; width: 32px; height: 32px; }

.head-actions { order: 2; margin-left: auto; display: flex; align-items: center; gap: 6px; }
.head-login { display: none; }
.nav-toggle {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; opacity: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.nav-toggle-label {
  order: 3; position: relative; z-index: 3; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05);
  cursor: pointer; transition: background .2s, border-color .2s;
}
.nav-toggle-label:hover { background: rgba(255, 255, 255, .1); }
.nav-toggle:focus-visible ~ .nav-toggle-label { outline: 2px solid #67E8F9; outline-offset: 3px; }
.burger { position: relative; width: 18px; height: 12px; }
.burger span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 5px; }
.burger span:nth-child(3) { top: 10px; }
.nav-toggle:checked ~ .nav-toggle-label .burger span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label .burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.nav-toggle:checked ~ .nav-toggle-label .burger span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* Mobile/tablet: the nav is a dropdown panel */
.site-nav {
  position: absolute; top: calc(100% + 8px); left: 10px; right: 10px; z-index: 2;
  display: flex; flex-direction: column; gap: 2px; padding: 10px;
  background: rgba(11, 17, 34, .98); border: 1px solid var(--n-line-2); border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  max-height: calc(100dvh - var(--head-h) - 24px); overflow: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
}
.nav-toggle:checked ~ .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-nav > a {
  position: relative; display: flex; align-items: center; justify-content: space-between;
  min-height: 50px; padding: 12px 14px; border-radius: 12px;
  color: var(--n-ink-2); font-weight: 600; font-size: 17px; transition: color .2s, background .2s;
}
.site-nav > a::after { content: '\f105'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 13px; color: #5D6888; }
.site-nav > a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav > a.is-current { color: #fff; background: rgba(99, 102, 241, .16); }
.site-nav > a.is-current::after { color: #67E8F9; }
.nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--n-line); }
.nav-actions .btn { --bh: 50px; }
body:has(.nav-toggle:checked) { overflow: hidden; }
body:has(.nav-toggle:checked)::before {
  content: ''; position: fixed; inset: 0; z-index: 59;
  background: rgba(2, 4, 12, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: fadeIn .25s ease;
}
body:has(.nav-toggle:checked) .mobile-cta { display: none; }
@keyframes fadeIn { from { opacity: 0; } }

@media (max-width: 359px) {
  .brand-full { display: none; }
  .brand-mark { display: block; }
}
@media (min-width: 640px) {
  .head-login { display: inline-flex; }
}
@media (min-width: 1100px) {
  :root { --head-h: 72px; }
  .head-wrap { gap: 16px; }
  .brand-full { width: 142px; }
  .nav-toggle-label { display: none; }
  .site-nav {
    position: static; order: 1; flex-direction: row; align-items: center; gap: 2px;
    margin-inline: auto; padding: 0; max-height: none; overflow: visible;
    background: none; border: 0; border-radius: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .site-nav > a { min-height: 38px; padding: 8px 12px; font-size: 14.5px; font-weight: 550; border-radius: 10px; }
  .site-nav > a::after {
    content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
    background: #67E8F9; box-shadow: 0 0 8px #22D3EE; transform: translateX(-50%) scale(0); transition: transform .3s var(--spring);
  }
  .site-nav > a.is-current { background: none; }
  .site-nav > a.is-current::after { transform: translateX(-50%) scale(1); }
  .nav-actions { display: none; }
  .head-actions { margin-left: 0; }
  body:has(.nav-toggle:checked) { overflow: visible; }
  body:has(.nav-toggle:checked)::before { display: none; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  padding-top: calc(var(--head-h) + clamp(36px, 7vw, 92px));
}
.hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 140, 248, .55), rgba(34, 211, 238, .45), transparent);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 112px; align-items: center; }
.hero-copy { width: 100%; max-width: 640px; margin-inline: auto; }
@media (min-width: 1024px) { .hero-copy { margin-inline: 0; } }
.hero-copy > :not(h1), .hero-title .ln {
  animation: rise .95s var(--ease) both; animation-delay: calc(var(--o, 0) * 85ms + 60ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

.pill {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin-bottom: 26px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; font-weight: 550; color: var(--n-ink-2);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.pill:hover { border-color: rgba(103, 232, 249, .45); background: rgba(255, 255, 255, .08); transform: translateY(-1px); }
.pill-tag {
  flex: 0 0 auto; padding: 4px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #A5F3FC; background: rgba(34, 211, 238, .14); border: 1px solid rgba(34, 211, 238, .3);
}
.pill-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pill i { flex: 0 0 auto; font-size: 11px; color: #67E8F9; transition: transform .25s var(--ease); }
.pill:hover i { transform: translateX(3px); }

.hero-title {
  font-size: clamp(2.25rem, 9.4vw - .15rem, 4.25rem); font-weight: 780; letter-spacing: -.045em; line-height: 1.02;
  color: #fff; margin-bottom: 22px;
}
.hero-title .ln { display: block; }
.hero-lead {
  font-size: clamp(1.04rem, .96rem + .45vw, 1.24rem); line-height: 1.6; color: #AEB8D3; max-width: 34em; margin-bottom: 32px; text-wrap: pretty;
}
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.hero-cta .btn { width: 100%; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 550; color: #BFC7DE; }
.hero-trust i { color: #34D399; font-size: 13px; }
@media (min-width: 520px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; }
  .hero-cta .btn { width: auto; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: clamp(40px, 4.5vw, 72px); }
  .hero-title { font-size: clamp(3rem, 4.75vw, 4rem); }
}

/* Hero product visual — one stock pool fanning out to every channel */
.hero-visual { position: relative; animation: rise 1.1s .3s var(--ease) both; }
.hv-stage {
  --rx: 0deg; --ry: 0deg;
  position: relative; max-width: 580px; margin: 0 auto;
  transform: perspective(1400px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .7s var(--ease);
}
.hv-stage::before {
  content: ''; position: absolute; inset: 8% -6% 18%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(99, 102, 241, .45), rgba(34, 211, 238, .12) 55%, transparent);
  filter: blur(24px);
}
.pool {
  position: relative; z-index: 2; padding: 12px; border-radius: 20px; color: var(--n-ink-2);
  background: linear-gradient(180deg, rgba(22, 30, 58, .94), rgba(11, 16, 33, .96));
  box-shadow: 0 0 0 1px rgba(148, 163, 184, .16), 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 90px -24px rgba(99, 102, 241, .55);
}
.pool::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(140deg, rgba(34, 211, 238, .7), rgba(99, 102, 241, .1) 38%, rgba(99, 102, 241, .05) 62%, rgba(168, 85, 247, .6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.pool-head { display: flex; align-items: center; gap: 10px; padding: 2px 2px 12px; }
.pool-mark { width: 30px; height: 30px; flex: 0 0 auto; filter: drop-shadow(0 4px 10px rgba(99, 102, 241, .5)); }
.pool-title { min-width: 0; flex: 1; }
.pool-title b { display: block; font-size: 13.5px; color: #fff; letter-spacing: -.01em; }
.pool-title small { display: block; font-size: 11px; color: var(--n-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sync-badge {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 700; color: #6EE7B7; background: rgba(16, 185, 129, .12); border: 1px solid rgba(52, 211, 153, .28);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.live-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #34D399; animation: pulse 1.8s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.pool-item {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(148, 163, 184, .14);
}
.pi-thumb {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 18px;
  background: linear-gradient(135deg, #334155, #1E293B); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 0 0 1px rgba(148, 163, 184, .2);
}
.pi-meta { min-width: 0; }
.pi-meta b { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-meta small { display: block; font-size: 11px; color: var(--n-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pi-qty { text-align: right; }
.pi-qty small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--n-muted); }
.pi-qty .roll { --rh: 28px; font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -.03em; }

/* Number roller: two stacked digits, the column slides to show the second */
.roll { display: inline-flex; flex-direction: column; height: var(--rh, 1.15em); overflow: hidden; font-variant-numeric: tabular-nums; vertical-align: bottom; }
.roll > span { display: block; height: var(--rh, 1.15em); line-height: var(--rh, 1.15em); text-align: center; animation: rollPool var(--cycle) var(--ease) infinite; }
@keyframes rollPool {
  0%, 10% { transform: translateY(0); opacity: 1; }
  15%, 88% { transform: translateY(-100%); opacity: 1; }
  92% { transform: translateY(-100%); opacity: 0; }
  93% { transform: translateY(0); opacity: 0; }
  98%, 100% { transform: translateY(0); opacity: 1; }
}

.pool-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.pool-kpis div { min-width: 0; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(148, 163, 184, .12); }
.pool-kpis small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--n-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pool-kpis b { display: block; font-size: 16px; color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1.3; }
.pool-kpis em { display: block; font-style: normal; font-size: 10px; font-weight: 700; color: #6EE7B7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pool-feed { border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(148, 163, 184, .12); overflow: hidden; }
.pf-head {
  display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-bottom: 1px solid rgba(148, 163, 184, .12);
  font-size: 11px; font-weight: 700; color: #fff;
}
.pf-live { display: inline-flex; align-items: center; gap: 6px; color: var(--n-muted); font-weight: 600; font-size: 10.5px; }
.feed { display: flex; flex-direction: column; }
.feed-row {
  --kc: #818CF8;
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center;
  padding: 8px 12px; border-top: 1px solid rgba(148, 163, 184, .1); font-size: 11.5px; overflow: hidden; max-height: 64px;
  transition: opacity .35s, transform .35s var(--ease), max-height .35s var(--ease), padding .35s var(--ease);
}
.feed-row:first-child { border-top: 0; }
.feed-row[data-kind="sold"] { --kc: #FB923C; }
.feed-row[data-kind="sync"] { --kc: #34D399; }
.feed-row[data-kind="ai"] { --kc: #C084FC; }
.feed-row[data-kind="offer"] { --kc: #818CF8; }
.feed-row[data-kind="ship"] { --kc: #60A5FA; }
.feed-row[data-kind="scan"] { --kc: #2DD4BF; }
.feed-row[data-kind="auto"] { --kc: #FBBF24; }
.feed-ico { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 11.5px; color: var(--kc); background: color-mix(in srgb, var(--kc) 16%, transparent); }
.feed-txt { min-width: 0; }
.feed-txt b { display: block; color: #fff; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-txt small { display: block; color: var(--n-muted); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-meta { font-weight: 800; color: var(--kc); font-variant-numeric: tabular-nums; font-size: 11px; white-space: nowrap; }
.js .feed-row.is-new { opacity: 0; transform: translateY(-10px); max-height: 0; padding-block: 0; border-top-width: 0; }
.feed-row.is-out { opacity: 0; transform: translateY(6px); max-height: 0; padding-block: 0; }

/* Sync beams + channel nodes */
.beams, .nodes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-inline: 4px; }
.beams { height: 52px; position: relative; }
.beam {
  position: relative; justify-self: center; width: 12px; height: 100%; overflow: hidden;
  background: linear-gradient(90deg, transparent 5px, rgba(129, 140, 248, .38) 5px 7px, transparent 7px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}
.beam::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 26px;
  background: radial-gradient(closest-side, #fff 0%, #67E8F9 35%, rgba(34, 211, 238, 0) 100%);
  transform: translateY(-30px); opacity: 0;
  animation: beam var(--cycle) cubic-bezier(.5, 0, .3, 1) infinite; animation-delay: calc(var(--i) * .14s);
}
@keyframes beam {
  0%, 15% { transform: translateY(-30px); opacity: 0; }
  17% { opacity: 1; }
  33% { transform: translateY(56px); opacity: 1; }
  35%, 100% { transform: translateY(56px); opacity: 0; }
}
.node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
.node-tile {
  position: relative; isolation: isolate; width: 46px; height: 46px;
  animation: nodeBump var(--cycle) var(--ease) infinite; animation-delay: calc(var(--i) * .14s);
}
.node-tile img { width: 100%; height: 100%; }
.node-tile::before {
  content: ''; position: absolute; inset: -12px; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 211, 238, .7), rgba(99, 102, 241, .3) 55%, transparent);
  opacity: 0; transform: scale(.5);
  animation: nodeGlow var(--cycle) ease-out infinite; animation-delay: calc(var(--i) * .14s);
}
@keyframes nodeBump { 0%, 31% { transform: none; } 35% { transform: translateY(-3px) scale(1.07); } 45%, 100% { transform: none; } }
@keyframes nodeGlow { 0%, 30% { opacity: 0; transform: scale(.5); } 35% { opacity: 1; transform: scale(1); } 55%, 100% { opacity: 0; transform: scale(1.3); } }
.node-qty {
  position: absolute; top: -7px; left: calc(50% + 12px); z-index: 2;
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: #fff; background: #10B981; box-shadow: 0 0 0 2px var(--n-bg), 0 4px 10px -2px rgba(16, 185, 129, .6);
}
.node-qty .roll { --rh: 20px; }
.node-qty .roll > span { animation-name: rollNode; animation-delay: calc(var(--i) * .14s); }
@keyframes rollNode {
  0%, 32% { transform: translateY(0); opacity: 1; }
  36%, 88% { transform: translateY(-100%); opacity: 1; }
  92% { transform: translateY(-100%); opacity: 0; }
  93% { transform: translateY(0); opacity: 0; }
  98%, 100% { transform: translateY(0); opacity: 1; }
}
.node-name { display: none; font-size: 11px; font-weight: 600; color: var(--n-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.toast {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px; border-radius: 14px; white-space: nowrap;
  background: rgba(15, 21, 42, .96); border: 1px solid rgba(148, 163, 184, .22);
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  font-size: 12px; color: var(--n-ink-2); opacity: 0;
}
.toast b { display: block; color: #fff; font-size: 12.5px; }
.toast small { display: block; color: var(--n-muted); font-size: 11px; }
.t-ico { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 12px; }
.t-ico.warm { background: linear-gradient(135deg, #FDBA74, #EA580C); box-shadow: 0 6px 14px -6px rgba(234, 88, 12, .8); }
.t-ico.good { background: linear-gradient(135deg, #6EE7B7, #059669); box-shadow: 0 6px 14px -6px rgba(5, 150, 105, .8); }
/* The two toasts share one spot and tell the story in sequence:
   "Sold on Amazon" → (beams fire) → "6 channels updated". */
.toast-sold, .toast-done { bottom: calc(100% + 10px); right: 0; }
.toast-sold { animation: toastA var(--cycle) var(--ease) infinite; }
.toast-done { animation: toastB var(--cycle) var(--ease) infinite; }
@keyframes toastA { 0%, 3% { opacity: 0; transform: translateY(10px) scale(.94); } 8%, 40% { opacity: 1; transform: none; } 45%, 100% { opacity: 0; transform: translateY(-8px) scale(.97); } }
@keyframes toastB { 0%, 44% { opacity: 0; transform: translateY(10px) scale(.94); } 49%, 86% { opacity: 1; transform: none; } 91%, 100% { opacity: 0; transform: translateY(-8px) scale(.97); } }

@media (min-width: 520px) {
  .pool { padding: 14px; }
  .node-tile { width: 54px; height: 54px; }
  .node-name { display: block; }
  .node-qty { left: calc(50% + 16px); }
  .beams { height: 60px; }
  @keyframes beam {
    0%, 15% { transform: translateY(-30px); opacity: 0; }
    17% { opacity: 1; }
    33% { transform: translateY(64px); opacity: 1; }
    35%, 100% { transform: translateY(64px); opacity: 0; }
  }
}
@media (min-width: 1024px) {
  /* Floating off the card's left edge, beside the beams it announces */
  .toast-sold, .toast-done { right: auto; bottom: 86px; left: calc(-1 * clamp(28px, 6vw - 22px, 64px)); }
}
@media (max-width: 380px) {
  .pool-kpis em { display: none; }
  .sync-badge > span:last-child { max-width: 74px; overflow: hidden; text-overflow: ellipsis; }
}

/* Channel marquee (bottom of the hero) */
.hero-logos { position: relative; margin-top: clamp(56px, 8vw, 96px); padding: 26px 0 34px; border-top: 1px solid var(--n-line); background: linear-gradient(180deg, rgba(6, 9, 20, 0), rgba(6, 9, 20, .7)); }
.logos-head { text-align: center; padding: 0 var(--gutter); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n-muted); margin-bottom: 18px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; padding: 4px 0; animation: marquee 64s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 10px; padding-right: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chan {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border-radius: 999px;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--n-line);
  font-weight: 600; font-size: 13.5px; color: var(--n-ink-2); white-space: nowrap;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.chan:hover { border-color: rgba(103, 232, 249, .4); background: rgba(255, 255, 255, .07); transform: translateY(-2px); }
.chan img { width: 32px; height: 32px; }
.chan small {
  font-size: 9.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 3px 7px; border-radius: 999px;
  color: var(--n-muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--n-line);
}
.chan small.native { color: #A5F3FC; background: rgba(34, 211, 238, .1); border-color: rgba(34, 211, 238, .28); }

/* ── Numbers band ───────────────────────────────────────────────────────── */
.stats { position: relative; padding: clamp(44px, 6vw, 72px) 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.stat { position: relative; text-align: center; }
.stat b {
  display: block; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.08;
  font-variant-numeric: tabular-nums; background-image: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.45; text-wrap: balance; }
@media (min-width: 900px) {
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
  .stat + .stat::before { content: ''; position: absolute; left: -12px; top: 10%; height: 80%; width: 1px; background: linear-gradient(180deg, transparent, var(--line-2), transparent); }
}

/* ── Section scaffolding ────────────────────────────────────────────────── */
.sec { position: relative; isolation: isolate; padding: clamp(72px, 10vw, 128px) 0; background: var(--bg); }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec h2, .sec-title {
  font-size: clamp(2rem, 1.2rem + 3vw, 3.3rem); font-weight: 780; letter-spacing: -.042em; line-height: 1.05;
  margin-bottom: 16px; color: var(--ink);
}
.sub { font-size: clamp(1.02rem, .96rem + .35vw, 1.18rem); color: var(--muted); line-height: 1.62; text-wrap: pretty; }

.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.checks li i {
  flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center;
  font-size: 9px; color: var(--fc, var(--primary)); background: color-mix(in srgb, var(--fc, var(--primary)) 14%, transparent);
}

/* ── Workflow ───────────────────────────────────────────────────────────── */
.flow {
  --p: 0;
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 16px;
}
.flow::-webkit-scrollbar { display: none; }
.flow-step {
  position: relative; flex: 0 0 min(78vw, 300px); scroll-snap-align: center; padding: 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm);
}
.flow-ico {
  position: relative; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; display: grid; place-items: center;
  font-size: 18px; color: var(--faint); background: var(--surface-2); border: 1px solid var(--line);
  transition: color .5s, background .5s, border-color .5s, box-shadow .5s, transform .6s var(--spring);
}
.flow-step.is-active .flow-ico {
  color: #fff; background: var(--grad-ui); border-color: transparent; transform: scale(1.06);
  box-shadow: 0 14px 30px -12px rgba(79, 70, 229, .7), 0 0 0 6px color-mix(in srgb, var(--primary) 12%, transparent);
}
.step-no { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.flow-step h3 { font-size: 18px; margin-bottom: 8px; }
.flow-step p { font-size: 14px; color: var(--muted); line-height: 1.55; }
.flow-hint { text-align: center; color: var(--muted); font-size: 12.5px; font-weight: 600; margin-top: 4px; }
@media (min-width: 900px) {
  .flow { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; overflow: visible; margin: 0; padding: 0; }
  .flow::before, .flow::after { content: ''; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; border-radius: 2px; z-index: 0; }
  .flow::before { background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
  .flow::after { background: var(--grad); transform-origin: left; transform: scaleX(var(--p)); transition: transform 1s var(--ease); box-shadow: 0 0 12px rgba(99, 102, 241, .5); }
  .flow-step { z-index: 1; padding: 0 8px; text-align: center; background: none; border: 0; box-shadow: none; }
  .flow-ico { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 22px; font-size: 22px; background: var(--surface); box-shadow: var(--shadow-sm); }
  .flow-hint { display: none; }
}

/* ── Feature bento ──────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.card {
  --fc: var(--primary);
  position: relative; isolation: isolate; overflow: hidden; padding: 24px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(480px 260px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--fc) 14%, transparent), transparent 65%);
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: linear-gradient(140deg, color-mix(in srgb, var(--fc) 75%, transparent), transparent 40%, transparent 65%, color-mix(in srgb, var(--fc) 45%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card:hover::before, .card:hover::after { opacity: 1; }
.chip {
  width: 50px; height: 50px; margin-bottom: 18px; border-radius: 15px; display: grid; place-items: center; font-size: 19px; color: #fff;
  background: linear-gradient(140deg, color-mix(in srgb, var(--fc) 62%, #fff) 0%, var(--fc) 55%, color-mix(in srgb, var(--fc) 78%, #000) 100%);
  box-shadow: 0 12px 24px -12px var(--fc), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .6s var(--spring);
}
.card:hover .chip { transform: rotate(-8deg) scale(1.1); }
.card h3 { font-size: 20px; letter-spacing: -.025em; margin-bottom: 8px; }
.card .blurb { font-size: 15px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.card .checks li { font-size: 13.5px; }

.ai-visual { display: grid; grid-template-columns: 1fr auto 1.25fr; gap: 12px; align-items: center; margin-top: 24px; }
.ai-photos { display: grid; gap: 7px; }
.ai-photos i {
  --ph: linear-gradient(135deg, #CBD5E1, #64748B);
  height: 46px; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background:
    radial-gradient(circle at 76% 30%, rgba(255, 255, 255, .85) 0 3px, transparent 4px),
    linear-gradient(160deg, transparent 58%, rgba(255, 255, 255, .28) 59% 70%, transparent 71%),
    var(--ph);
}
.ai-photos i:nth-child(2) { --ph: linear-gradient(135deg, #67E8F9, #6366F1); }
.ai-photos i:nth-child(3) { --ph: linear-gradient(135deg, #C4B5FD, #A855F7); }
.ai-arrow {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 13px;
  background: var(--grad-ui); box-shadow: 0 8px 18px -8px rgba(99, 102, 241, .8); animation: breathe 2.6s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: scale(1.12); box-shadow: 0 8px 26px -6px rgba(168, 85, 247, .8); } }
.ai-out { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: var(--surface-2); display: grid; gap: 8px; }
.ai-out .l { height: 8px; border-radius: 4px; background: var(--line-2); position: relative; overflow: hidden; }
.ai-out .l::after {
  content: ''; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .55), transparent); animation: sweep 2.4s infinite;
}
.ai-out .l:nth-child(2)::after { animation-delay: .2s; }
.ai-out .l:nth-child(3)::after { animation-delay: .4s; }
.ai-out .l:nth-child(4)::after { animation-delay: .6s; }
.ai-out .l.w1 { width: 92%; } .ai-out .l.w2 { width: 64%; } .ai-out .l.w3 { width: 78%; }
.ai-out .ok { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 2px; }
.ai-out .ok span { font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: color-mix(in srgb, #8B5CF6 14%, transparent); color: var(--primary-ink); }
@keyframes sweep { to { transform: translateX(100%); } }

.receipt {
  margin-top: 20px; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; background: var(--surface-2);
  display: grid; gap: 9px; font-size: 12.5px;
}
.receipt div { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; align-items: center; color: var(--ink-2); font-weight: 600; }
.receipt div i { width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 8px; color: #fff; background: #10B981; }
.receipt div i.warm { background: #EA580C; }
.receipt time { font-family: var(--mono); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.receipt .tot { border-top: 1px dashed var(--line-2); padding-top: 9px; color: var(--good-ink); font-weight: 800; }
.receipt .tot i { background: var(--grad-ui); }
.micro-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 780px; margin: 36px auto 0; line-height: 1.7; }

@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-wide { grid-column: 1 / -1; }
  .bento .card:nth-child(2) { grid-column: 1 / -1; }
  .bento .card:nth-child(2) .card-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; }
  .bento .card:nth-child(2) .card-body > :not(.checks):not(.receipt) { grid-column: 1; }
  .bento .card:nth-child(2) .checks { grid-column: 1; }
  .bento .card:nth-child(2) .receipt { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin-top: 0; }
  .card { padding: 28px; }
}
@media (min-width: 900px) {
  .card-wide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; }
  .card-wide .card-body { align-self: center; }
  .card-wide .ai-visual {
    margin-top: 0; padding: 28px 22px; border-radius: 18px; border: 1px solid var(--line);
    background:
      radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, #8B5CF6 14%, transparent), transparent 70%),
      var(--surface-2);
  }
  .card-wide .ai-photos i { height: 58px; }
  .card-wide .checks { grid-template-columns: 1fr; }
}
@media (min-width: 1100px) {
  .bento { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-wide { grid-column: span 2; }
  .bento .card:nth-child(2) { grid-column: auto; }
  .bento .card:nth-child(2) .card-body { display: block; }
  .bento .card:nth-child(2) .receipt { margin-top: 20px; }
}

/* ── Autopilot (night) ──────────────────────────────────────────────────── */
.auto-band { overflow: clip; }
.auto-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.term {
  border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 24, 48, .95), rgba(9, 13, 28, .97));
  box-shadow: 0 0 0 1px rgba(148, 163, 184, .16), 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 80px -30px rgba(99, 102, 241, .5);
}
.term-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--n-line); font-size: 11.5px; color: var(--n-muted); font-weight: 600; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, .28); }
.term-bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #6EE7B7; white-space: nowrap; }
.term-body { padding: 12px 16px 16px; font-family: var(--mono); font-size: 12px; line-height: 1.65; color: var(--n-ink-2); }
.ln { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 10px; padding: 7px 0; border-top: 1px dashed rgba(148, 163, 184, .1); }
.ln:first-child { border-top: 0; }
.ln time { color: #6B7799; font-variant-numeric: tabular-nums; }
.ln .tag {
  display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 6px; font-size: 10px; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: #fff; background: #4F46E5; vertical-align: 1px;
}
.ln .tag.warm { background: #EA580C; }
.ln .tag.good { background: #059669; }
.ln .tag.violet { background: #7C3AED; }
.ln .tag.sky { background: #0284C7; }
.ln .v { color: #EEF1FA; }
.ln .d { color: var(--n-muted); }
.caret { display: inline-block; width: 8px; height: 15px; vertical-align: -3px; background: #67E8F9; box-shadow: 0 0 10px #22D3EE; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.js .term .ln { opacity: 0; transform: translateX(-6px); }
.js .term.is-in .ln { animation: lnIn .5s var(--ease) forwards; animation-delay: calc(var(--i, 0) * .28s + .2s); }
@keyframes lnIn { to { opacity: 1; transform: none; } }
.rules { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.rule {
  position: relative; isolation: isolate; overflow: hidden; padding: 18px; border-radius: 18px;
  background: rgba(255, 255, 255, .035); border: 1px solid var(--n-line);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.rule::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(340px 200px at var(--mx, 50%) var(--my, 0%), rgba(103, 232, 249, .16), transparent 62%);
}
.rule:hover { transform: translateY(-3px); border-color: rgba(103, 232, 249, .35); background: rgba(255, 255, 255, .05); }
.rule:hover::before { opacity: 1; }
.rule-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.rule .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; color: #C7D2FE; background: linear-gradient(140deg, rgba(34, 211, 238, .22), rgba(99, 102, 241, .28) 50%, rgba(168, 85, 247, .26)); box-shadow: inset 0 0 0 1px rgba(165, 180, 252, .2); }
.tog { position: relative; width: 36px; height: 21px; border-radius: 999px; background: #10B981; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 0 14px -2px rgba(16, 185, 129, .6); }
.tog::after { content: ''; position: absolute; top: 3px; right: 3px; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.rule h3 { color: #fff; font-size: 15.5px; margin-bottom: 6px; }
.rule p { color: var(--n-muted); font-size: 13.5px; line-height: 1.55; }
@media (min-width: 640px) { .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } .term-body { font-size: 12.5px; padding: 14px 18px 18px; } .ln { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .auto-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; } }

/* ── AI band + calculator ───────────────────────────────────────────────── */
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.ai-points { display: grid; gap: 14px; }
.ai-points li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.ai-points i { flex: 0 0 auto; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; background: var(--good-soft); color: var(--good); font-size: 11px; }
.calc {
  position: relative; overflow: hidden; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255, 255, 255, .02) inset;
}
.calc::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.calc h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 4px; }
.calc-ic { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; display: grid; place-items: center; background: var(--grad-ui); color: #fff; font-size: 13px; box-shadow: 0 8px 16px -8px rgba(99, 102, 241, .8); }
.calc .hint { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.calc-row output { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 8px 0 6px; border-radius: 999px; outline: none;
  background: linear-gradient(90deg, #22D3EE, #6366F1 calc(var(--pct, 13%) * .6), #A855F7 var(--pct, 13%), var(--line-2) var(--pct, 13%));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid #6366F1;
  box-shadow: 0 4px 14px rgba(79, 70, 229, .45); cursor: grab; transition: transform .2s var(--spring);
}
.range::-webkit-slider-thumb:hover, .range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid #6366F1; box-shadow: 0 4px 14px rgba(79, 70, 229, .45); cursor: grab; }
.range:focus-visible { outline: 2px solid var(--focus); outline-offset: 8px; }
.range-labels { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.calc-opt { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 14px; font-weight: 550; color: var(--ink-2); cursor: pointer; min-height: 32px; }
.calc-opt input { width: 18px; height: 18px; margin: 0; flex: 0 0 auto; accent-color: #6366F1; }
.calc-res { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; margin-bottom: 14px; }
.calc-res div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.calc-res span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.calc-res output { display: block; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 14px; }
.tiers span {
  text-align: center; font-size: 10.5px; font-weight: 700; color: var(--muted); padding: 7px 2px; border-radius: 9px;
  background: var(--surface-2); border: 1px solid var(--line); transition: background .35s, color .35s, border-color .35s, transform .35s var(--spring);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tiers span.is-on { background: var(--grad-ui); color: #fff; border-color: transparent; transform: translateY(-2px); box-shadow: 0 8px 16px -8px rgba(99, 102, 241, .8); }
.calc-note {
  display: flex; gap: 9px; align-items: flex-start; padding: 11px 13px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
  background: var(--eb-bg); border: 1px solid var(--eb-line);
}
.calc-note i { color: var(--eb-c); margin-top: 3px; flex: 0 0 auto; }
.credit-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-top: 16px; }
.credit-table td { padding: 10px 2px; border-top: 1px solid var(--line); color: var(--ink-2); }
.credit-table td:last-child { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 10px; }
.credit-table i { color: var(--primary); width: 20px; }
@media (min-width: 640px) { .calc { padding: 28px; } }
@media (min-width: 1024px) { .ai-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 72px); } }

/* ── Trust strip ────────────────────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.trust-item {
  position: relative; isolation: isolate; overflow: hidden; display: flex; gap: 14px; padding: 20px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.trust-item::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(320px 180px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, #6366F1 12%, transparent), transparent 62%);
}
.trust-item:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); box-shadow: var(--shadow); }
.trust-item:hover::before { opacity: 1; }
.ti-ic {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 16px; color: var(--eb-c);
  background: var(--eb-bg); border: 1px solid var(--eb-line); transition: transform .5s var(--spring);
}
.trust-item:hover .ti-ic { transform: scale(1.1) rotate(-6deg); }
.trust-item h3 { font-size: 15.5px; color: var(--ink); margin-bottom: 4px; letter-spacing: -.015em; }
.trust-item p { font-size: 14px; color: var(--muted); line-height: 1.55; }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ── Pricing ────────────────────────────────────────────────────────────── */
.billing {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(100%, 380px); min-width: 0; margin: 0 auto 44px; padding: 5px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.bill-radio { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.billing label {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 10px;
  border-radius: 999px; font-weight: 650; font-size: 14.5px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .3s;
}
.billing label:hover { color: var(--ink); }
.bill-radio:checked + label { color: #fff; }
.bill-radio:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.bill-thumb {
  position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px;
  background: var(--grad-ui); box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .8);
  transition: transform .5s var(--spring);
}
#bill-yr:checked ~ .bill-thumb { transform: translateX(100%); }
.save { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 3px 7px; border-radius: 999px; background: var(--good-soft); color: var(--good-ink); transition: background .3s, color .3s; }
#bill-yr:checked + label .save { background: rgba(255, 255, 255, .2); color: #fff; }

/* Price swap — JS mirrors the radios into .is-annual; with no JS :has() does it,
   and where :has() is unsupported both prices simply stay visible. */
.js .pricing-shell:not(.is-annual) .p-yr, .js .pricing-shell.is-annual .p-mo { display: none; }
html:not(.js) .pricing-shell:not(:has(#bill-yr:checked)) .p-yr { display: none; }
html:not(.js) .pricing-shell:has(#bill-yr:checked) .p-mo { display: none; }
@supports not selector(:has(*)) { html:not(.js) .billing { display: none; } }

.plans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 28px 24px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
.plan.featured {
  border: 1.5px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  box-shadow: 0 30px 70px -30px rgba(99, 102, 241, .6), 0 0 50px -20px rgba(34, 211, 238, .35);
}
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px;
  background: var(--grad-ui); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  box-shadow: 0 10px 22px -8px rgba(79, 70, 229, .8);
}
.plan-badge i { font-size: 9px; color: #FDE68A; }
.plan-head { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.plan-ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 15px; color: var(--eb-c); background: var(--eb-bg); border: 1px solid var(--eb-line); }
.featured .plan-ic { color: #fff; background: var(--grad-ui); border-color: transparent; }
.plan-head h3 { font-size: 19px; }
.plan-blurb { font-size: 14px; color: var(--muted); line-height: 1.5; margin-bottom: 18px; min-height: 2.9em; }
.plan-price { margin-bottom: 20px; }
.price { display: flex; align-items: baseline; gap: 2px; }
.price .cur { align-self: flex-start; margin-top: 6px; font-size: 22px; font-weight: 700; color: var(--ink); }
.price .amt { font-size: 50px; font-weight: 800; letter-spacing: -.05em; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.price .amt-word { font-size: 42px; }
.price .per { margin-left: 3px; font-size: 15px; font-weight: 600; color: var(--muted); }
.price .amt.flip { animation: flip .45s var(--ease); }
@keyframes flip { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.price-note { margin-top: 8px; font-size: 13px; color: var(--muted); min-height: 1.5em; }
.plan-btn { width: 100%; }
.plan-list { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.plan-list li { font-size: 14px; }
.plan-list li i { --fc: #10B981; }
.guarantee { max-width: 700px; margin: 36px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.6; text-wrap: balance; }
.guarantee i { color: var(--good); margin-right: 4px; }
.nowrap { white-space: nowrap; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) {
  .plans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .plan.featured { transform: translateY(-10px); }
  .plan.featured:hover { transform: translateY(-15px); }
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.faq-head { margin-bottom: 24px; }
.faq-more { margin-top: 18px; color: var(--muted); font-size: 15px; }
.faq-more a { font-weight: 650; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent); text-underline-offset: 3px; }
.faq-more a:hover { text-decoration-color: currentColor; }
.faq-list { display: grid; gap: 10px; min-width: 0; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; transition: border-color .3s, box-shadow .3s; }
.faq-item:hover { border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); }
.faq-item[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 18px; min-height: 58px; font-weight: 650; font-size: 15.5px; color: var(--ink); border-radius: 16px;
  -webkit-tap-highlight-color: transparent;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-item summary i {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
  color: var(--primary); background: var(--surface-2); border: 1px solid var(--line);
  transition: transform .45s var(--spring), background .3s, color .3s, border-color .3s;
}
.faq-item[open] summary i { transform: rotate(135deg); background: var(--grad-ui); color: #fff; border-color: transparent; }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 18px 18px; color: var(--muted); font-size: 15px; line-height: 1.7; }
@media (min-width: 640px) {
  .faq-item summary { padding: 18px 22px; font-size: 16px; }
  .faq-body p { padding: 0 22px 22px; }
}
@media (min-width: 1024px) {
  .faq-wrap { grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--head-h) + 36px); margin-bottom: 0; }
}

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.cta-band { padding: clamp(56px, 8vw, 104px) 0; background: var(--bg); }
.cta-card {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  border-radius: 32px; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px);
  background: transparent; box-shadow: 0 40px 100px -40px rgba(79, 70, 229, .65);
}
.cta-card::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; z-index: -3;
  transform: translate(-50%, -50%);
  background: conic-gradient(from 0deg, rgba(34, 211, 238, .9), rgba(99, 102, 241, .15) 18%, rgba(168, 85, 247, .9) 34%, rgba(99, 102, 241, .1) 52%, rgba(34, 211, 238, .9) 70%, rgba(168, 85, 247, .2) 86%, rgba(34, 211, 238, .9));
  animation: spin 14s linear infinite;
}
.cta-card::after { content: ''; position: absolute; inset: 1px; z-index: -2; border-radius: 31px; background: var(--n-bg); }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.cta-mark { width: 64px; height: 64px; margin: 0 auto 22px; filter: drop-shadow(0 14px 30px rgba(99, 102, 241, .65)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px) rotate(-3deg); } }
.cta-card .eyebrow { margin-bottom: 18px; }
.cta-card h2 { font-size: clamp(2rem, 1.1rem + 3.4vw, 3.6rem); font-weight: 780; letter-spacing: -.045em; line-height: 1.04; color: #fff; max-width: 15ch; margin: 0 auto 16px; }
.cta-card > p { color: #B3BDD8; max-width: 560px; margin: 0 auto 30px; font-size: clamp(1rem, .95rem + .3vw, 1.12rem); line-height: 1.6; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.cta-card .hero-trust { justify-content: center; margin-top: 26px; }
.cta-login { margin-top: 18px !important; font-size: 14px !important; color: var(--n-muted) !important; }
.cta-login a { color: #A5F3FC; font-weight: 650; }
.cta-login a:hover { text-decoration: underline; }
@media (min-width: 520px) { .cta-actions { flex-direction: row; flex-wrap: wrap; } }

/* ── Footer (night) ─────────────────────────────────────────────────────── */
.site-foot {
  position: relative; isolation: isolate; overflow: hidden; color: var(--n-muted); background: var(--n-bg);
  padding-top: clamp(56px, 7vw, 88px); border-top: 1px solid var(--n-line);
}
.site-foot :focus-visible { outline-color: #67E8F9; }
.foot-glow { position: absolute; z-index: -1; top: -1px; left: 50%; width: min(1000px, 92%); height: 260px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(99, 102, 241, .22), transparent 70%); }
.foot-glow::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #22D3EE, #6366F1, #A855F7, transparent); }
.foot-cta {
  display: flex; flex-direction: column; gap: 20px; margin-bottom: 56px; padding: 26px; border-radius: 22px;
  border: 1px solid var(--n-line); background: linear-gradient(135deg, rgba(34, 211, 238, .08), rgba(99, 102, 241, .1) 50%, rgba(168, 85, 247, .08));
}
.foot-cta h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); letter-spacing: -.03em; margin-bottom: 6px; }
.foot-cta p { font-size: 15px; color: var(--n-ink-2); }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand .brand img { width: 152px; height: auto; }
.foot-brand p { margin-top: 16px; max-width: 360px; font-size: 14.5px; line-height: 1.65; }
.foot-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.foot-badges li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--n-ink-2); border: 1px solid var(--n-line); background: rgba(255, 255, 255, .03); }
.foot-badges i { color: #67E8F9; font-size: 11px; }
.foot-col h3 { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 10px; }
.foot-col a { display: flex; align-items: center; min-height: 38px; color: var(--n-muted); font-size: 14.5px; transition: color .2s, transform .25s var(--ease); }
.foot-col a:hover { color: #fff; transform: translateX(3px); }
.foot-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px;
  margin-top: 48px; padding: 22px 0; border-top: 1px solid var(--n-line); font-size: 13px; color: #8390B0;
}
.foot-bottom span { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom i { color: #818CF8; }
.foot-word {
  margin: 4px 0 -.14em; text-align: center; white-space: nowrap; user-select: none; pointer-events: none;
  font-size: clamp(56px, 16vw, 236px); font-weight: 800; letter-spacing: -.06em; line-height: .9;
  background: linear-gradient(180deg, rgba(165, 180, 252, .16), rgba(165, 180, 252, 0) 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 768px) {
  .foot-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 30px 34px; }
}
@media (min-width: 900px) {
  .foot-grid { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
  .foot-brand { grid-column: auto; }
}

/* ── Mobile sticky CTA ──────────────────────────────────────────────────── */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(8, 12, 26, .9); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid var(--n-line-2); box-shadow: 0 -16px 40px -20px rgba(0, 0, 0, .6);
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.mobile-cta span { font-size: 12px; font-weight: 550; color: var(--n-muted); line-height: 1.35; min-width: 0; }
.mobile-cta span b { display: block; color: #fff; font-size: 14px; font-weight: 750; }
.mobile-cta .btn { --bh: 44px; flex: 0 0 auto; }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 899px) { .js .mobile-cta { display: flex; } }

/* ── Inner-page hero (help / contact / legal) ───────────────────────────── */
.page-hero {
  position: relative; isolation: isolate; overflow: clip; text-align: center;
  padding: calc(var(--head-h) + clamp(40px, 7vw, 84px)) 0 clamp(48px, 7vw, 84px);
}
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(129, 140, 248, .5), rgba(34, 211, 238, .4), transparent); }
.page-hero .wrap > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--o, 0) * 80ms + 40ms); }
.page-hero h1 { font-size: clamp(2.3rem, 1.3rem + 4vw, 4.1rem); font-weight: 780; letter-spacing: -.045em; line-height: 1.02; color: #fff; margin-bottom: 16px; }
.page-hero .sub { color: #AEB8D3; max-width: 600px; margin: 0 auto; }
.page-hero-meta { margin-top: 14px; color: var(--n-muted); font-size: 14px; }
.page-hero-meta a { color: #A5F3FC; font-weight: 600; }
.doc-switch { display: inline-flex; gap: 4px; padding: 4px; margin-top: 22px; border-radius: 999px; border: 1px solid var(--n-line-2); background: rgba(255, 255, 255, .04); }
.doc-switch a { padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 650; color: var(--n-ink-2); transition: background .25s, color .25s; }
.doc-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.doc-switch a[aria-current="page"] { color: #fff; background: var(--grad-ui); box-shadow: 0 6px 16px -8px rgba(99, 102, 241, .8); }

/* ── Legal prose (/terms, /privacy) ─────────────────────────────────────── */
.legal-shell { background: var(--bg); padding: clamp(44px, 6vw, 80px) 0 clamp(72px, 9vw, 112px); }
.legal-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; max-width: 1100px; }
.legal-toc { display: none; }
.prose { max-width: 740px; min-width: 0; }
.prose > p:first-child { font-size: clamp(1.05rem, 1rem + .25vw, 1.15rem); color: var(--ink); line-height: 1.7; }
.prose h2 {
  font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); font-weight: 750; letter-spacing: -.02em;
  margin: 44px 0 12px; padding-top: 22px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--head-h) + 20px);
}
.prose p, .prose li { font-size: 16px; color: var(--ink-2); line-height: 1.75; }
.prose p { margin: 0 0 14px; }
.prose ul { display: grid; gap: 10px; margin: 12px 0 16px; }
.prose li { position: relative; padding-left: 22px; }
.prose li::before { content: ''; position: absolute; left: 3px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 3px color-mix(in srgb, #6366F1 14%, transparent); }
.prose b { color: var(--ink); }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
@media (min-width: 1024px) {
  .js .legal-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 64px; }
  .js .legal-toc:not(:empty) { display: block; position: sticky; top: calc(var(--head-h) + 32px); align-self: start; max-height: calc(100vh - var(--head-h) - 64px); overflow: auto; }
}
.toc-cap { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px 12px; }
.toc-list { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc-list a {
  position: relative; display: block; padding: 6px 12px; margin-left: -1px; border-left: 2px solid transparent;
  font-size: 13.5px; color: var(--muted); line-height: 1.4; transition: color .2s, border-color .2s;
}
.toc-list a:hover { color: var(--ink); }
.toc-list a.is-current { color: var(--primary-ink); border-left-color: #6366F1; font-weight: 650; }

/* ── Help center (/help) ────────────────────────────────────────────────── */
.help-search {
  position: relative; max-width: 620px; margin: 30px auto 0; display: flex; align-items: center;
  border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--n-line-2);
  box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.help-search:focus-within { border-color: rgba(103, 232, 249, .6); background: rgba(255, 255, 255, .09); box-shadow: 0 0 0 4px rgba(34, 211, 238, .14), 0 20px 50px -24px rgba(0, 0, 0, .8); }
.help-search > i { position: absolute; left: 18px; color: #67E8F9; font-size: 15px; pointer-events: none; }
.help-search input {
  width: 100%; min-height: 56px; padding: 0 56px 0 48px; border: 0; background: transparent; color: #fff; font-size: 16px; outline: none;
}
.help-search input::placeholder { color: #8390B0; }
.help-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); }
.help-search kbd { position: absolute; right: 14px; display: none; color: var(--n-ink-2); background: rgba(255, 255, 255, .06); border-color: var(--n-line-2); }
@media (hover: hover) and (pointer: fine) { .help-search kbd { display: block; } }
.help-search input:not(:placeholder-shown) ~ kbd { display: none; }
.help-count { margin-top: 12px; min-height: 1.5em; font-size: 13.5px; color: var(--n-muted); }
.help-count a { color: #A5F3FC; font-weight: 650; }

.help-topics { position: relative; z-index: 2; padding: 0 0 clamp(24px, 4vw, 40px); background: var(--bg); }
.help-topics .wrap { transform: translateY(-36px); margin-bottom: -36px; }
.topic-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.topic-card {
  --fc: var(--primary);
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center;
  padding: 16px; border-radius: 18px; color: inherit; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.topic-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px 160px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--fc) 14%, transparent), transparent 65%);
}
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--fc) 40%, var(--line)); }
.topic-card:hover::before { opacity: 1; }
.topic-card .chip { width: 44px; height: 44px; margin: 0; border-radius: 13px; font-size: 17px; }
.topic-card:hover .chip { transform: rotate(-8deg) scale(1.08); }
.tc-txt { min-width: 0; }
.tc-txt b { display: block; font-size: 15.5px; color: var(--ink); letter-spacing: -.015em; }
.tc-txt span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.topic-card .go { color: var(--faint); font-size: 13px; transition: transform .3s var(--ease), color .3s; }
.topic-card:hover .go { color: var(--fc); transform: translateX(3px); }
@media (min-width: 640px) { .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1024px) {
  .topic-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .topic-card { grid-template-columns: minmax(0, 1fr); align-items: start; align-content: start; gap: 14px; padding: 20px; }
  .topic-card .chip { width: 46px; height: 46px; }
  .topic-card .go { position: absolute; top: 22px; right: 20px; }
}

.help-body { background: var(--bg); padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 8vw, 104px); }
.help-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.help-nav { display: none; }
.help-section { scroll-margin-top: calc(var(--head-h) + 16px); padding: 8px 0 40px; }
.help-section + .help-section { padding-top: 40px; border-top: 1px solid var(--line); }
.hs-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.hs-head .chip { flex: 0 0 auto; margin: 4px 0 0; width: 46px; height: 46px; font-size: 17px; }
.hs-head .eyebrow { margin-bottom: 10px; }
.hs-head h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 760; letter-spacing: -.035em; margin-bottom: 6px; }
.hs-head .sub { font-size: 15.5px; }
.back-top { margin-top: 18px; }
.back-top a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 6px 0; }
.back-top a:hover { color: var(--primary); }
.help-empty { display: none; text-align: center; padding: 48px 20px; border: 1px dashed var(--line-2); border-radius: 20px; color: var(--muted); }
.help-empty.is-on { display: block; }
.help-empty i { font-size: 26px; color: var(--faint); margin-bottom: 12px; }
.help-empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.is-filtering .help-section + .help-section { border-top: 0; padding-top: 8px; }
.faq-item mark { background: color-mix(in srgb, #22D3EE 28%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
@media (min-width: 1024px) {
  .help-grid { grid-template-columns: 230px minmax(0, 1fr); gap: 56px; }
  .help-nav { display: block; position: sticky; top: calc(var(--head-h) + 28px); align-self: start; }
  .help-nav ul { display: grid; gap: 2px; }
  .help-nav a {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px;
    color: var(--muted); font-size: 14px; font-weight: 600; transition: background .2s, color .2s;
  }
  .help-nav a i { width: 18px; text-align: center; color: var(--faint); transition: color .2s; }
  .help-nav a:hover { color: var(--ink); background: var(--surface-2); }
  .help-nav a.is-current { color: var(--ink); background: var(--surface); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
  .help-nav a.is-current i { color: var(--fc, #6366F1); }
  .help-nav .hn-cta { margin-top: 18px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); font-size: 13.5px; color: var(--muted); line-height: 1.5; }
  .help-nav .hn-cta b { display: block; color: var(--ink); margin-bottom: 4px; }
  .help-nav .hn-cta a { display: inline; padding: 0; color: var(--primary); background: none; box-shadow: none; }
}

.help-cta { background: var(--bg); padding: 0 0 clamp(64px, 8vw, 104px); }
.help-cta-card {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 22px; padding: clamp(28px, 4vw, 44px); border-radius: 26px; color: var(--n-ink-2);
}
.help-cta-card h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); letter-spacing: -.035em; margin-bottom: 8px; }
.help-cta-card p { color: #B3BDD8; max-width: 520px; }
.help-cta-card .aurora { border-radius: inherit; }
.help-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .help-cta-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* ═══════════════════════════════════════════════════════════════════════
   Contact page (/contact)
   ═══════════════════════════════════════════════════════════════════════ */
.c-stats { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.c-stats li {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--n-line-2); font-size: 13px; font-weight: 550; color: var(--n-ink-2);
}
.c-stats li i { color: #67E8F9; font-size: 12px; flex: 0 0 auto; }
.c-stats li span { text-align: left; }
.c-stats b { color: #fff; }

.contact-main { padding: clamp(36px, 5vw, 64px) 0 clamp(64px, 9vw, 110px); background: var(--bg); }
.contact-cols { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "channels" "form" "more"; gap: 18px; align-items: start; }
.c-form-area { grid-area: form; min-width: 0; }
.c-channels { grid-area: channels; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 8px; }
.c-channels::-webkit-scrollbar { display: none; }
.c-more { grid-area: more; display: grid; gap: 14px; }

.cform-card {
  position: relative; overflow: hidden; padding: clamp(20px, 3vw, 36px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-lg);
}
.cform-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.cform-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.cform-head > i {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center;
  background: var(--grad-ui); color: #fff; font-size: 16px; box-shadow: 0 10px 20px -10px rgba(79, 70, 229, .8);
}
.cform-head h2 { font-size: clamp(20px, 1.2rem + .6vw, 24px); letter-spacing: -.025em; margin-bottom: 2px; }
.cform-head p { font-size: 13.5px; color: var(--muted); }
.cform { display: grid; gap: 20px; }
.cform .hp { position: absolute; left: -9999px; top: -9999px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13.5px; font-weight: 650; color: var(--ink-2); padding: 0; }
.lbl small { font-size: 12px; font-weight: 550; color: var(--muted); }
.counter { font-variant-numeric: tabular-nums; transition: color .2s; }
.counter.warn { color: var(--warn); }
.counter.ok { color: var(--good-ink); }
.input {
  width: 100%; min-height: 50px; font-size: 16px; color: var(--ink);
  background: var(--surface-2); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 13px 16px;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input:hover { border-color: color-mix(in srgb, #6366F1 40%, var(--line-2)); }
.input:focus { outline: none; border-color: #6366F1; background: var(--surface); box-shadow: 0 0 0 4px rgba(99, 102, 241, .18); }
.input::placeholder { color: var(--faint); }
.input:user-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
textarea.input { resize: vertical; min-height: 150px; line-height: 1.6; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics label { position: relative; }
.topics input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.topics span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 13px; border-radius: 999px;
  border: 1.5px solid var(--line-2); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--ink-2);
  cursor: pointer; transition: border-color .18s, background .18s, color .18s, transform .18s var(--ease);
}
.topics span i { color: var(--faint); font-size: 12px; transition: color .18s; }
.topics label:hover span { border-color: color-mix(in srgb, #6366F1 45%, var(--line-2)); transform: translateY(-1px); }
.topics input:checked + span { border-color: #6366F1; background: var(--eb-bg); color: var(--eb-c); }
.topics input:checked + span i { color: var(--eb-c); }
.topics input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.cform-foot { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.cf-note { display: inline-flex; gap: 9px; align-items: flex-start; justify-content: center; text-align: center; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.cf-note > i { color: var(--good); margin-top: 2px; flex: 0 0 auto; }
.cf-note a { font-weight: 600; }
.cform-foot .btn { --bh: 52px; width: 100%; padding: 0 26px; }
.btn.is-busy { opacity: .75; pointer-events: none; }
.btn.is-busy i { animation: busy 1s linear infinite; }
@keyframes busy { to { transform: rotate(360deg); } }
.cform-error {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 18px; padding: 12px 14px; border-radius: 14px;
  background: color-mix(in srgb, #DC2626 9%, var(--surface)); border: 1px solid color-mix(in srgb, #DC2626 32%, transparent);
  color: var(--danger); font-size: 14px; font-weight: 600; line-height: 1.5;
}
.cform-error i { margin-top: 3px; flex: 0 0 auto; }

.csuccess { text-align: center; padding: 18px 4px 6px; }
.csuccess svg { width: 74px; height: 74px; margin: 0 auto 16px; }
.csuccess svg circle { fill: var(--good-soft); stroke: var(--good); stroke-width: 2.5; stroke-dasharray: 158; stroke-dashoffset: 158; animation: cdraw .5s .1s ease-out forwards; }
.csuccess svg path { fill: none; stroke: var(--good); stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: cdraw .35s .5s cubic-bezier(.55, 0, .35, 1.4) forwards; }
@keyframes cdraw { to { stroke-dashoffset: 0; } }
.csuccess h2 { font-size: clamp(24px, 1.4rem + .8vw, 30px); letter-spacing: -.03em; margin-bottom: 8px; }
.csuccess > p { color: var(--muted); font-size: 15px; max-width: 460px; margin: 0 auto; line-height: 1.6; }
.csuccess > p b { color: var(--ink); }
.next-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 26px 0 20px; text-align: left; }
.next-steps div { background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.next-steps i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; margin-bottom: 10px; background: var(--eb-bg); color: var(--eb-c); font-size: 12px; }
.next-steps b { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 3px; }
.next-steps span { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.cs-tip { font-size: 13.5px !important; color: var(--ink-2) !important; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0 auto 22px !important; max-width: 560px !important; }
.cs-tip i { color: var(--warn); margin-right: 4px; }
.cs-tip a { font-weight: 600; }
.csuccess .actions { display: flex; flex-direction: column; gap: 10px; justify-content: center; }

.cside-cap { display: none; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 2px 2px 0; }
.cc-mini {
  --fc: #6366F1;
  position: relative; flex: 0 0 min(76vw, 290px); scroll-snap-align: start; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; color: inherit;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.cc-mini:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--fc) 40%, var(--line)); box-shadow: var(--shadow-lg); }
.cc-ico {
  width: 48px; height: 48px; flex: 0 0 auto; border-radius: 15px; display: grid; place-items: center; font-size: 18px; color: #fff;
  background: linear-gradient(140deg, color-mix(in srgb, var(--fc) 62%, #fff), var(--fc) 55%, color-mix(in srgb, var(--fc) 80%, #000));
  box-shadow: 0 10px 20px -10px var(--fc), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.cc-mini > div { min-width: 0; flex: 1; }
.cc-mini b { display: block; font-size: 15px; color: var(--ink); letter-spacing: -.01em; }
.cc-mini > div > span { display: block; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cc-mini em { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; font-style: normal; font-size: 11px; font-weight: 700; color: var(--ink-2); }
.cc-mini em i { font-size: 10px; color: var(--fc); }
.cc-mini .go {
  width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: 12px;
  color: var(--faint); background: var(--surface-2); transition: transform .25s var(--ease), color .25s, background .25s;
}
.cc-mini:hover .go { transform: translateX(3px); color: #fff; background: var(--fc); }

.ticket-tips { padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.ticket-tips h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 14px; letter-spacing: -.015em; }
.ticket-tips h3 i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; color: #fff; background: linear-gradient(140deg, #C4B5FD, #8B5CF6 55%, #6D28D9); box-shadow: 0 6px 12px -6px rgba(139, 92, 246, .7); }
.ticket-tips ul { display: grid; gap: 11px; }
.ticket-tips li { display: flex; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.ticket-tips li i { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; font-size: 9px; color: var(--good); background: var(--good-soft); }
.ticket-tips b { color: var(--ink); }
.cside-quote {
  position: relative; isolation: isolate; overflow: hidden; padding: 22px; border-radius: 20px; color: var(--n-ink-2);
  background: linear-gradient(140deg, #121A3A, #070B18 65%); border: 1px solid var(--n-line);
  box-shadow: 0 18px 40px -22px rgba(6, 9, 20, .7);
}
.cside-quote::after { content: ''; position: absolute; z-index: -1; top: -45%; right: -18%; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, .38), transparent 65%); }
.cside-quote::before { content: ''; position: absolute; z-index: -1; bottom: -55%; left: -12%; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 65%); }
.cside-quote i { color: #67E8F9; font-size: 16px; }
.cside-quote p { margin-top: 10px; font-size: 13.5px; line-height: 1.65; }

@media (min-width: 640px) {
  .row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .next-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cform-foot { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .cform-foot .btn { width: auto; }
  .cf-note { max-width: 380px; text-align: left; justify-content: flex-start; }
  .csuccess .actions { flex-direction: row; }
  .c-more { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 768px) {
  .c-channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .cc-mini { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cc-mini .go { display: none; }
  .cc-mini > div > span { white-space: normal; }
}
@media (min-width: 1024px) {
  .contact-cols { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); grid-template-areas: "form channels" "form more"; gap: 20px; }
  .c-channels { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cside-cap { display: block; }
  .cc-mini { flex-direction: row; align-items: center; gap: 14px; }
  .cc-mini .go { display: grid; }
  .cc-mini > div > span { white-space: nowrap; }
  .c-more { grid-template-columns: minmax(0, 1fr); }
}

/* ── Scroll reveal ──────────────────────────────────────────────────────────
   Start states only exist under `.js` (set by landing.js in <head>), so with
   JS off nothing is hidden. The reveal is a fill-mode:backwards animation —
   when it ends the element falls back to its own styles, so hover transforms
   and transitions keep working with no delay. */
.js [data-reveal]:not(.is-in) { opacity: 0; }
.js [data-reveal].is-in { animation: rvUp .9s var(--ease) var(--d, 0ms) backwards; }
.js [data-reveal="scale"].is-in { animation-name: rvScale; }
.js [data-reveal="left"].is-in { animation-name: rvLeft; }
.js [data-reveal="right"].is-in { animation-name: rvRight; }
@keyframes rvUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes rvScale { from { opacity: 0; transform: translateY(18px) scale(.96); } }
@keyframes rvLeft { from { opacity: 0; transform: translateX(-28px); } }
@keyframes rvRight { from { opacity: 0; transform: translateX(28px); } }

/* ── Reduced motion & print ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal]:not(.is-in) { opacity: 1; }
  .js [data-reveal].is-in { animation: none; }
  .js .term .ln { opacity: 1; transform: none; animation: none; }
  .aurora-curtain, .aurora-blob, .shimmer, .cta-card::before, .cta-mark, .ai-arrow, .ai-out .l::after,
  .hero-copy > *, .hero-title .ln, .hero-visual, .page-hero .wrap > *, .live-dot, .caret { animation: none !important; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-list { flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); row-gap: 10px; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  /* Hero demo: freeze on the "synced" frame */
  .beam::after, .node-tile, .node-tile::before { animation: none !important; }
  .roll > span { animation: none !important; transform: translateY(-100%); }
  .toast { animation: none !important; opacity: 1; }
  .toast-sold { display: none; }
  .hv-stage { transform: none !important; }
}
@media print {
  .site-head, .mobile-cta, .aurora, .toast, .marquee-list[aria-hidden="true"], .foot-word, .help-search { display: none !important; }
  .js [data-reveal]:not(.is-in) { opacity: 1; }
  .night, .site-foot { background: #fff !important; color: #000 !important; }
}
