/* ==========================================================================
   bintelbot — waitlist page.

   A small system, applied everywhere:
   - Colour: the AIO Tracker app's dark-theme tokens, value for value.
   - Type: seven sizes (display, h2, h3, lead, body, small, micro) and two
     weights (400, 500). 600 is only for the wordmark.
   - Radii: the app's scale. 8 for panels, cards, inputs, tiles and every
     button; 6 for rows, tags, choice chips and the small icon boxes inside
     buttons; 4 for badges. Circles only for dots, nodes and marks.
   - Space: one 4-based scale, one section padding, one header-to-content gap.
   - Layout: a 12-column grid with one left edge. Every section opens with the
     same header: a micro label, a two-line h2, a hairline running to the right.
   - Content sits on the ground, divided by hairlines, not boxed.

   Two named exceptions: the hero (centred, the serif pill, the big light) and
   the waitlist (the one lit full-width band).
   ========================================================================== */

@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage-grotesque-latin.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* colour: app dark theme */
  --ground: #0D100E;          /* --color-sidebar: the page */
  --bg: #121513;              /* --color-bg: the waitlist band */
  --surface: #1A1E1B;         /* --color-surface: panels, cards */
  --ink: #EEF3EC;             /* --color-ink */
  --body: #B7BDB5;            /* --color-body */
  --muted: #8A9188;           /* --color-muted */
  --hair: rgba(255, 255, 255, .07); /* --color-line */
  --line: #343B35;            /* --color-input-line */
  --line-strong: #465048;     /* --chart-none (dark): control outlines on hover */
  --fill: rgba(255, 255, 255, .03); /* rows inside panels */
  --neutral-soft: rgba(255, 255, 255, .06); /* --color-neutral-soft */
  --forest: #132E28;          /* --color-forest */
  --lime: #B0E67F;            /* --color-accent */
  --lime-light: #C8F1A2;      /* --color-accent-light */
  --lime-soft: rgba(176, 230, 127, .12); /* --color-accent-soft (dark) */
  --lime-ring: rgba(176, 230, 127, .35); /* --color-accent-ring (dark) */
  --primary: #E3F1D5;         /* --color-primary (dark) */
  --primary-hover: #F0F8E8;   /* --color-primary-hover (dark) */
  --on-primary: #132E28;      /* --color-on-primary (dark) */
  --success: #A5DB78;         /* --color-success (dark) */
  --success-soft: rgba(165, 219, 120, .13);
  --danger: #F0857B;          /* --color-danger (dark) */
  --danger-soft: rgba(240, 133, 123, .14);
  --haze: rgba(31, 66, 57, .5); /* forest-hover, as ambient light */

  /* type: seven sizes */
  --t-display: clamp(2.5rem, min(5.3vw, 9svh), 4.75rem); /* hero only */
  --t-h2: clamp(2rem, 1.4rem + 1.9vw, 3rem);             /* 32 → 48 */
  --t-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);         /* 20 → 24 */
  --t-lead: 1.125rem;  /* 18 */
  --t-body: 1rem;      /* 16 */
  --t-small: .875rem;  /* 14 */
  --t-micro: .75rem;   /* 12 */

  /* radii: the app's scale */
  --r-lg: 8px;
  --r-md: 6px;
  --r-sm: 4px;
  --r-pill: 999px;

  /* space */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --section: clamp(56px, 6.1vw, 88px);    /* each side of every section */
  --head-gap: clamp(40px, 4.4vw, 64px);   /* section header to its content */
  --gap: 24px;                             /* grid gutter */
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 72px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1); /* the app's --ease-out: soft start, long settle */
  /* underdamped spring, about 8% overshoot; only for small transforms */
  --spring: linear(0, .0267, .0961, .1933, .3064, .4252, .5424, .6523, .7513, .8372, .9089, .9666, 1.011, 1.0432, 1.0649, 1.0776, 1.083, 1.0828, 1.0784, 1.0712, 1.0623, 1.0525, 1.0425, 1.033, 1.0243, 1.0167, 1.0101, 1.0048, 1.0006, .9975, .9953, .9939, .9932, .993, .9932, .9938, .9945, .9952, .9961, .9969, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: var(--t-body); font-weight: 400; line-height: 1.5; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
h1, h2, h3 { font-weight: 500; }
ul, ol { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
small { font-size: var(--t-micro); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 1em; height: 1em; flex: none; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
::selection { background: var(--lime-ring); color: var(--primary-hover); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; left: 12px; top: 12px; z-index: 400; padding: var(--s3) var(--s4); border-radius: var(--r-lg); background: var(--primary); color: var(--on-primary); font-weight: 500; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Type roles ---------- */
.kicker { display: flex; align-items: center; gap: var(--s3); font-size: var(--t-micro); font-weight: 500; line-height: 1.34; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kicker::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime-ring); }
.kicker:empty { display: none; }
.h2 { font-size: var(--t-h2); font-weight: 500; line-height: 1.16; letter-spacing: -.03em; text-wrap: balance; }
/* the second line starts dim and lights up word by word as it scrolls in (script.js) */
.tone { display: block; color: rgba(238, 243, 236, .38); }
.tone.is-lit { color: inherit !important; }
.h3 { font-size: var(--t-h3); font-weight: 500; line-height: 1.34; letter-spacing: -.02em; }

/* one section header for every section: label, two-line heading, hairline to the right */
.sh { display: grid; grid-template-columns: minmax(0, auto) minmax(48px, 1fr); column-gap: var(--s6); align-items: end; margin-bottom: var(--head-gap); }
.sh .kicker { grid-column: 1 / -1; margin-bottom: var(--s5); }
.sh .h2 { grid-column: 1; grid-row: 2; }
.sh::after { content: ""; grid-column: 2; grid-row: 2; align-self: end; height: 1px; margin-bottom: calc(var(--t-h2) * .3); background: var(--hair); transform-origin: left; }
.js .sh:not(.is-in)::after { transform: scaleX(0); }
.js .sh.is-in::after { transition: transform 1.8s var(--ease-out) .35s; }
.sh__note { grid-column: 1 / -1; margin-top: var(--s4); font-size: var(--t-small); color: var(--muted); }

.section { padding-block: var(--section); }

/* ---------- Badges, tiles, notes ---------- */
.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 var(--s2); border-radius: var(--r-sm); font-size: var(--t-micro); font-weight: 500; line-height: 1; white-space: nowrap; color: var(--body); background: var(--neutral-soft); }
.badge--lime { color: var(--lime-light); background: var(--lime-soft); }
.badge--danger { color: var(--danger); background: var(--danger-soft); }
.note { display: flex; align-items: flex-start; gap: var(--s2); margin-top: var(--s3); font-size: var(--t-micro); line-height: 1.5; color: var(--muted); }
.note svg { margin-top: .1em; font-size: 14px; color: var(--lime); }

/* ---------- Buttons: primary and ghost, 8px like every other control ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s3); min-height: 48px; padding: 0 var(--s5); border-radius: var(--r-lg); font-size: var(--t-body); font-weight: 500; line-height: 1; white-space: nowrap; transition: background-color .3s, box-shadow .4s, transform .5s var(--ease); }
.btn:active { transform: scale(.97); }
.btn svg { font-size: 16px; transition: transform .45s var(--ease); }
.btn:hover > svg { transform: translate(2px, -2px); }
.btn--primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 12px 32px -14px var(--lime-ring); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: 0 14px 40px -12px rgba(176, 230, 127, .6); }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--fill); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--icon { padding-right: var(--s2); }
.btn__ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-md); background: var(--forest); color: var(--lime); transition: transform .5s var(--ease); }
.btn__ic svg { font-size: 14px; }
.btn--icon:hover .btn__ic { transform: translateY(3px); }
.btn--sm { min-height: 40px; padding: 0 var(--s4); font-size: var(--t-small); }
.btn--sm.btn--icon { padding-right: var(--s1); }
.btn--sm .btn__ic { width: 32px; height: 32px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 210; transition: background-color .4s, box-shadow .4s, transform .55s var(--ease); }
.header.is-scrolled { background: rgba(13, 16, 14, .92); box-shadow: 0 1px 0 var(--hair); }
.header.is-tucked { transform: translateY(-100%); }
.header__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s4); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: var(--s3); min-height: 44px; justify-self: start; }
.logo__mark { width: 32px; height: 32px; transition: transform .7s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-10deg) scale(1.06); }
.logo__word { font-size: var(--t-h3); font-weight: 600; line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
.nav { display: flex; gap: var(--s1); }
.nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--s4); border-radius: var(--r-md); font-size: var(--t-small); font-weight: 500; color: var(--body); transition: color .3s, background-color .3s; }
.nav a:hover { color: var(--ink); background: var(--neutral-soft); }
.header__right { justify-self: end; display: flex; align-items: center; gap: var(--s3); }
.status { display: flex; align-items: center; gap: var(--s2); font-size: var(--t-small); color: var(--muted); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--success); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(165, 219, 120, .5); } 70%, 100% { box-shadow: 0 0 0 8px rgba(165, 219, 120, 0); } }

/* three left-aligned lines, long, short, medium; no box. Every bar is 20px wide and centred
   by margin; scaleX shortens it and translateX pulls its left end back to the same edge, so
   transform stays the only animated property. Open: the outer two cross into a centred X and
   the middle one fades out before they meet. */
.burger { display: none; position: relative; width: 44px; height: 44px; margin-right: -12px; border-radius: var(--r-lg); color: var(--ink); -webkit-tap-highlight-color: transparent; }
.burger i { position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; border-radius: var(--r-sm); background: currentColor; transition: transform .5s var(--ease), opacity .2s var(--ease); }
.burger i:nth-child(1) { transform: translate(0, -6px) rotate(0) scaleX(1); }
.burger i:nth-child(2) { transform: translate(-4px, 0) rotate(0) scaleX(.6); }
.burger i:nth-child(3) { transform: translate(-2px, 6px) rotate(0) scaleX(.8); }
@media (hover: hover) and (pointer: fine) {
  .burger:hover i:nth-child(2) { transform: translate(0, 0) rotate(0) scaleX(1); }
  .burger:hover i:nth-child(3) { transform: translate(0, 6px) rotate(0) scaleX(1); }
}
.burger:active i { transition-duration: .2s; }
html.is-menu-open .burger i:nth-child(1) { transform: translate(0, 0) rotate(45deg) scaleX(1); }
html.is-menu-open .burger i:nth-child(2) { opacity: 0; transform: translate(-4px, 0) rotate(0) scaleX(.2); transition: transform .2s var(--ease), opacity .12s; }
html.is-menu-open .burger i:nth-child(3) { transform: translate(0, 0) rotate(-45deg) scaleX(1); }
/* fixed while the menu is open: when the body is pinned (no Lenis), a sticky header would leave the screen with the X */
html.is-menu-open .header { position: fixed; left: 0; right: 0; top: 0; background: transparent; box-shadow: none; }
html.is-menu-open .header .header__cta { visibility: hidden; }

/* ---------- Menu (site-core.js, below 1024px) ---------- */
.menu {
  position: fixed; left: 0; right: 0; top: 0; z-index: 200; isolation: isolate; height: 100dvh;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--s6);
  padding: calc(var(--header-h) + var(--s5)) var(--gutter) max(var(--s6), env(safe-area-inset-bottom));
  background: var(--ground); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility 0s linear .45s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu__nav { display: flex; flex-direction: column; border-top: 1px solid var(--hair); }
.menu__nav a { display: block; padding: var(--s4) 0; border-bottom: 1px solid var(--hair); font-size: var(--t-h2); font-weight: 500; line-height: 1.16; letter-spacing: -.03em; opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s; }
.menu__nav a:active { color: var(--lime); }
.menu.is-open .menu__nav a { opacity: 1; transform: none; transition-delay: calc(.1s + var(--i) * .06s); }
.menu:not(.is-open) .menu__nav a { transition-delay: 0s; }
.menu__foot { display: grid; gap: var(--s4); }
.menu__foot .btn { width: 100%; }

/* ---------- Hero (exception: centred, the serif pill, the big light) ---------- */
/* overflow-x: clip keeps the wide ambient glow from widening the page */
.hero { position: relative; isolation: isolate; overflow-x: clip; padding-top: clamp(24px, 4svh, 56px); padding-bottom: var(--section); text-align: center; }
.hero::before { content: ""; position: absolute; left: 50%; top: calc(var(--header-h) * -1); z-index: -1; width: min(1600px, 140vw); height: 980px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(34% 30% at 50% 36%, rgba(176, 230, 127, .07), transparent 70%), radial-gradient(46% 42% at 50% 0%, var(--haze), transparent 72%); }
.hero .kicker { justify-content: center; }
.hero__title { margin-top: clamp(16px, 2.6svh, 24px); font-size: var(--t-display); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.hero__l1, .hero__l2 { display: block; }
.hero__l2 { margin-top: .16em; }
.glow-pill { position: relative; display: inline-block; padding: .02em .42em .12em; border-radius: var(--r-pill); font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 1.14em; line-height: 1; letter-spacing: -.012em; color: var(--primary-hover);
  background: linear-gradient(180deg, rgba(227, 241, 213, .1), rgba(227, 241, 213, .025) 55%, rgba(200, 241, 162, .07));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), inset 0 -1px 0 rgba(200, 241, 162, .2), inset 0 0 0 1px rgba(227, 241, 213, .1), 0 0 60px -8px rgba(176, 230, 127, .3), 0 28px 60px -26px rgba(0, 0, 0, .9);
  text-shadow: 0 0 24px rgba(200, 241, 162, .55), 0 0 2px rgba(255, 255, 255, .45); }
.glow-pill::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -.16em; height: 1px; background: linear-gradient(90deg, transparent, rgba(227, 241, 213, .95), transparent); box-shadow: 0 0 14px 1px rgba(176, 230, 127, .65); }
.hero__lede { max-width: 36em; margin: clamp(16px, 2.6svh, 24px) auto 0; font-size: var(--t-lead); line-height: 1.56; color: var(--body); text-wrap: pretty; }
.hero__lede strong { font-weight: 500; color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: clamp(20px, 3.4svh, 32px); }
.hero__note { display: flex; flex-wrap: wrap; justify-content: center; margin-top: clamp(12px, 2svh, 16px); font-size: var(--t-small); color: var(--muted); }
.hero__note span + span::before { content: "·"; margin: 0 .65em; }

/* stage: the light, the dust and the dashboard rising out of it */
.stage { position: relative; isolation: isolate; margin-top: clamp(24px, 4svh, 56px); padding: clamp(32px, 4.4vw, 64px) clamp(16px, 7vw, 100px) clamp(48px, 5.6vw, 80px); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 0 0 1px var(--hair); }
.stage__light { position: absolute; inset: 0; z-index: -2; transform-origin: 50% 100%;
  background:
    radial-gradient(36% 58% at 50% 108%, #F0F8E8 0%, rgba(227, 241, 213, .96) 22%, rgba(176, 230, 127, .58) 50%, rgba(176, 230, 127, 0) 100%),
    radial-gradient(70% 108% at 50% 112%, rgba(132, 196, 76, .5) 0%, rgba(132, 196, 76, .26) 38%, rgba(31, 66, 57, .3) 64%, transparent 86%),
    radial-gradient(56% 150% at 50% 120%, rgba(132, 196, 76, .14) 0%, rgba(132, 196, 76, .07) 70%, transparent 96%),
    radial-gradient(80% 60% at 50% 0%, rgba(31, 66, 57, .2), transparent 70%); }
.motes { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.mote { position: absolute; bottom: -8px; width: var(--s); height: var(--s); border-radius: 50%; background: var(--primary); box-shadow: 0 0 6px 1px rgba(200, 241, 162, .7); opacity: 0; animation: rise var(--d) linear var(--delay) infinite; }
@keyframes rise { 0% { transform: translate3d(0, 0, 0); opacity: 0; } 15%, 80% { opacity: var(--o); } 100% { transform: translate3d(var(--dx), calc(var(--h) * -1), 0); opacity: 0; } }

/* the screenshot: the same lit rim as the form, brightest along the bottom edge where the light hits it */
.shot { position: relative; max-width: 1040px; margin: 0 auto; border-radius: var(--r-lg); background: var(--bg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 40px 90px -30px rgba(0, 0, 0, .95), 0 0 120px -40px rgba(176, 230, 127, .35); }
.shot::after { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(227, 241, 213, .3), rgba(227, 241, 213, .08) 30%, rgba(176, 230, 127, .22) 76%, rgba(227, 241, 213, .9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.shot img { display: block; width: 100%; height: auto; border-radius: inherit; }

/* rows inside the example panels */
.erows, .pack, .fix { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); margin-top: var(--s4); }
.rate { display: inline-flex; align-items: center; gap: var(--s1); flex: none; font-size: var(--t-small); font-variant-numeric: tabular-nums; color: var(--body); }
.rate svg { font-size: 12px; color: var(--lime); }
.pack .is-you { background: rgba(240, 133, 123, .05); box-shadow: none; outline: 1px dashed rgba(240, 133, 123, .5); outline-offset: -1px; }
.pack li { padding: var(--s3); border-radius: var(--r-md); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); }
.rev__top { display: flex; justify-content: space-between; gap: var(--s3); font-size: var(--t-small); }
.bar { display: block; height: 6px; margin-top: var(--s2); border-radius: var(--r-sm); background: var(--neutral-soft); overflow: hidden; }
.bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #A3DC6E, var(--lime-light)); transform-origin: left; }
.is-you .bar i { background: linear-gradient(90deg, #C7655D, var(--danger)); }
.js .panel:not(.is-in) .bar i { transform: scaleX(0); }
.js .panel.is-in .bar i { transition: transform 1.6s var(--ease-out) .3s; }
.js .panel.is-in li:nth-child(2) .bar i { transition-delay: .42s; }
.js .panel.is-in li:nth-child(3) .bar i { transition-delay: .54s; }
.js .panel.is-in li:nth-child(4) .bar i { transition-delay: .66s; }

/* ---------- What it checks: a strip between two hairlines ---------- */
.checks__bar { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); align-items: center; gap: var(--gap); padding-block: var(--s6); border-block: 1px solid var(--hair); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 59s linear infinite; /* about 80px a second; scale it with the width of one set */ }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; gap: var(--s7); padding-right: var(--s7); }
.marquee__set li { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-lead); color: var(--body); white-space: nowrap; }
.marquee__set li::before { content: ""; width: 4px; height: 4px; margin-right: var(--s4); border-radius: 50%; background: var(--lime); }
/* engines not available yet: muted, an unlit dot, an Unavailable badge */
.marquee__set .is-soon, .tags .is-soon { color: var(--muted); }
.marquee__set .is-soon::before { background: var(--line-strong); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- What you see: numbered rows ---------- */
.rows { border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; padding-block: var(--s7); border-bottom: 1px solid var(--hair); }
.row__text { grid-column: 1 / span 5; display: grid; justify-items: start; }
.row__n { font-size: var(--t-micro); font-weight: 500; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--muted); }
.row__text .h3 { margin-top: var(--s3); }
.row__text .badge { margin-top: var(--s3); }
.row__desc { max-width: 30em; margin-top: var(--s4); color: var(--body); }
.panel { grid-column: 7 / -1; padding: var(--s5); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--hair); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 24px; font-size: var(--t-small); color: var(--body); }
.panel__head > span:first-child { display: inline-flex; align-items: center; gap: var(--s2); min-width: 0; }
/* the rows share the list's columns (subgrid), so "Names first" lines up whatever the badge says */
.erows { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; column-gap: var(--s3); }
.erow > .badge { justify-self: end; }
.erow { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; grid-template-columns: subgrid; align-items: center; gap: var(--s3); min-height: 56px; padding: var(--s2) var(--s3); border-radius: var(--r-md); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); font-size: var(--t-small); }
.erow__eng { font-weight: 500; }
.erow__first { min-width: 0; color: var(--body); }
.erow__first small { display: block; color: var(--muted); }
.cmp { width: 100%; margin-top: var(--s3); font-size: var(--t-small); }
.cmp th, .cmp td { padding: var(--s2) var(--s3); text-align: left; vertical-align: middle; }
.cmp thead th { padding-block: var(--s1) var(--s2); font-size: var(--t-micro); font-weight: 500; color: var(--muted); }
.cmp tbody tr { border-top: 1px solid var(--hair); }
.cmp tbody th { padding-left: 0; font-weight: 400; }
.cmp td { width: 26%; color: var(--body); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mark { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; }
.mark svg { font-size: 12px; }
.mark--yes { background: var(--success-soft); color: var(--success); }
.mark--no { background: var(--danger-soft); color: var(--danger); }
.fix__row { padding: var(--s3); border-radius: var(--r-md); background: var(--fill); box-shadow: inset 0 0 0 1px var(--hair); font-size: var(--t-small); }
.fix__row small { display: block; margin-bottom: var(--s1); color: var(--muted); }
.fix__row--now p { color: var(--body); text-decoration: line-through; text-decoration-color: rgba(240, 133, 123, .7); }
.fix__row--new { background: var(--lime-soft); box-shadow: inset 0 0 0 1px rgba(176, 230, 127, .24); }
.fix__row--new small { color: var(--lime-light); }
.fix__next { display: flex; align-items: center; gap: var(--s3); color: var(--body); }

/* ---------- How it works: a rail of light through four steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); padding-top: var(--s7); }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; height: 1px; }
.steps::before { background: linear-gradient(90deg, var(--line) 80%, transparent); }
.steps::after { background: linear-gradient(90deg, var(--lime) 60%, rgba(176, 230, 127, 0)); box-shadow: 0 0 12px var(--lime-ring); transform-origin: left; transition: transform 2.4s var(--ease-out) .2s; }
.js .steps:not(.is-in)::after { transform: scaleX(0); }
.step { position: relative; padding-right: var(--s5); }
.step__node { position: absolute; top: calc(var(--s7) * -1); left: 0; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); }
.step__node::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(176, 230, 127, .15), 0 0 14px var(--lime-ring); transition: background-color .6s var(--ease-out), box-shadow .6s var(--ease-out); transition-delay: calc(.4s + var(--i) * .5s); }
.js .steps:not(.is-in) .step__node::after { background: var(--line); box-shadow: none; transition-delay: 0s; }
.step__n { font-size: var(--t-micro); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lime-light); }
.step .h3 { margin-top: var(--s3); }
.step__desc { margin-top: var(--s2); color: var(--body); }

/* ---------- Why we built it: question left, story right ---------- */
.split { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.lead-q { grid-column: 1 / span 5; font-size: var(--t-h3); font-weight: 500; line-height: 1.34; letter-spacing: -.02em; }
.split > div { grid-column: 7 / -1; }
.split__p { max-width: 36em; font-size: var(--t-lead); line-height: 1.56; color: var(--body); }
.tags { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }
.tags li { display: inline-flex; align-items: center; gap: var(--s2); min-height: 32px; padding: 0 var(--s3); border-radius: var(--r-md); font-size: var(--t-small); color: var(--body); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Questions: hairline rows on the same grid ---------- */
.faq { border-top: 1px solid var(--hair); }
.srow { border-bottom: 1px solid var(--hair); }
.srow__h { font-size: inherit; font-weight: inherit; }
.srow__btn, .srow__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.srow__btn { align-items: center; width: 100%; min-height: 80px; padding-block: var(--s5); text-align: left; }
.srow__btn:focus-visible { outline-offset: -2px; }
.srow__n { grid-column: 1; font-size: var(--t-micro); font-weight: 500; letter-spacing: .14em; font-variant-numeric: tabular-nums; color: var(--muted); }
.srow__name { grid-column: 2 / span 9; font-size: var(--t-h3); font-weight: 500; line-height: 1.34; letter-spacing: -.02em; transition: color .3s; }
.srow__btn:hover .srow__name { color: var(--lime-light); }
.srow__go { grid-column: 12; justify-self: end; display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-md); font-size: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.srow__go svg { transition: transform .5s var(--ease); }
.srow.is-open .srow__go { background: var(--lime); color: var(--forest); box-shadow: none; }
.srow.is-open .srow__go svg { transform: rotate(45deg); }
.srow__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.srow.is-open .srow__panel { grid-template-rows: 1fr; }
.srow__inner { min-height: 0; overflow: hidden; }
.srow:not(.is-open) .srow__inner { visibility: hidden; transition: visibility 0s .55s; }
.srow__desc { grid-column: 2 / span 8; max-width: 40em; padding-bottom: var(--s5); color: var(--body); }

/* ---------- Waitlist (exception: the one lit band) ---------- */
.band { position: relative; isolation: isolate; overflow: hidden; background: var(--bg); box-shadow: inset 0 1px 0 var(--hair); }
.band__light { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(30% 44% at 76% 112%, rgba(227, 241, 213, .5), rgba(176, 230, 127, .22) 40%, transparent 72%),
    radial-gradient(56% 80% at 76% 120%, rgba(132, 196, 76, .26), rgba(31, 66, 57, .22) 55%, transparent 78%),
    radial-gradient(40% 50% at 0% 0%, var(--haze), transparent 70%); }
.join { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.join__copy { grid-column: 1 / span 5; }
.join__lede { max-width: 30em; font-size: var(--t-lead); line-height: 1.56; color: var(--body); }
.facts { margin-top: var(--s6); border-top: 1px solid var(--hair); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding-block: var(--s4); border-bottom: 1px solid var(--hair); }
.facts dt { font-size: var(--t-small); color: var(--muted); }
.facts dd { font-weight: 500; text-align: right; }
.mail { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; margin-top: var(--s5); font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 10px) / 100% 1px no-repeat; transition: color .3s; overflow-wrap: anywhere; }
.mail:hover { color: var(--lime-light); }
.mail svg { font-size: 14px; transition: transform .45s var(--ease); }
.mail:hover svg { transform: translate(2px, -2px); }

/* the form: a lit panel, the same rim as the hero cards */
.brief { position: relative; grid-column: 7 / -1; padding: var(--s6); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), var(--bg)); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .95); }
.brief::after { content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(227, 241, 213, .22), rgba(227, 241, 213, .05) 34%, rgba(176, 230, 127, .18) 72%, rgba(227, 241, 213, .7));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.brief__form { display: grid; gap: var(--s5); }
.brief__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.field { display: grid; gap: var(--s2); font-size: var(--t-small); font-weight: 500; color: var(--body); }
.field--wide { grid-column: 1 / -1; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: var(--s3) var(--s4); border: 0; border-radius: var(--r-lg); background: var(--ground); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: var(--t-body); font-weight: 400; line-height: 1.5; transition: box-shadow .25s; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--lime), 0 0 0 4px var(--lime-ring); }
.field [aria-invalid="true"] { box-shadow: inset 0 0 0 1px var(--danger); }
.field ::placeholder { color: var(--muted); opacity: 1; }
legend { margin-bottom: var(--s3); font-size: var(--t-small); font-weight: 500; color: var(--body); }
.brief__chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pick { position: relative; display: inline-flex; }
.pick input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--s4); border-radius: var(--r-md); font-size: var(--t-small); color: var(--body); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s, color .25s, box-shadow .25s; pointer-events: none; }
.pick:hover span { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.pick input:checked + span { background: var(--lime); color: var(--forest); box-shadow: none; }
.pick input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.brief__note { margin-top: calc(var(--s2) * -1); font-size: var(--t-small); text-align: center; color: var(--muted); }
.brief__msg { margin-top: var(--s4); font-size: var(--t-small); font-weight: 500; text-align: center; color: var(--body); }
.brief__msg:empty { display: none; }
.brief__msg.is-error { color: var(--danger); }
.brief__done { padding: var(--s6) 0; text-align: center; }
.brief__done:focus { outline: none; }
.brief__tick { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--lime); color: var(--forest); font-size: 24px; box-shadow: 0 0 40px -4px var(--lime-ring); }
.brief__done .h3 { margin-top: var(--s5); }
.brief__done p { max-width: 26em; margin: var(--s2) auto 0; color: var(--body); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; padding-top: var(--section); border-top: 1px solid var(--hair); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.footer__about { grid-column: 1 / span 5; }
.footer__about p { max-width: 26em; margin-top: var(--s4); font-size: var(--t-small); color: var(--muted); }
.footer__grid > :nth-child(2) { grid-column: 7 / span 2; }
.footer__grid > :nth-child(3) { grid-column: 9 / -1; }
.footer__col ul { display: grid; gap: var(--s1); margin-top: var(--s4); }
.footer__col a { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--t-small); color: var(--body); overflow-wrap: anywhere; transition: color .3s; }
.footer__col a:hover { color: var(--ink); }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s4); margin-top: var(--s8); padding-block: var(--s3); border-top: 1px solid var(--hair); font-size: var(--t-small); color: var(--muted); }
.footer__legal button { min-height: 44px; color: var(--muted); transition: color .3s; }
.footer__legal button:hover { color: var(--ink); }
.footer__word { display: flex; justify-content: center; overflow: hidden; margin-top: var(--s4); line-height: .78; white-space: nowrap; user-select: none; }
.footer__word span { display: inline-block; margin-bottom: -.14em; font-size: 33vw; font-weight: 600; font-optical-sizing: none; letter-spacing: -.055em; color: transparent; background: linear-gradient(180deg, rgba(238, 243, 236, .12), rgba(238, 243, 236, .02) 82%); -webkit-background-clip: text; background-clip: text; will-change: transform; }

/* ---------- Dialog ---------- */
.dialog { width: min(480px, calc(100% - 32px)); max-height: calc(100svh - 32px); padding: var(--s6); border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair), 0 40px 100px -20px rgba(0, 0, 0, .9); overscroll-behavior: contain; }
.dialog::backdrop { background: rgba(0, 0, 0, .7); }
.dialog[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } }
.dialog .h3 { margin-top: var(--s4); padding-right: var(--s7); }
.dialog__body { margin-top: var(--s3); color: var(--body); }
.dialog__close { position: absolute; right: var(--s4); top: var(--s4); display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-lg); font-size: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .45s var(--ease), background-color .3s; }
.dialog__close svg { transition: transform .45s var(--ease); }
.dialog__close:hover { background: var(--neutral-soft); }
.dialog__close:hover svg { transform: rotate(90deg); }

/* ---------- Motion ---------- */
.is-tweening { transition: none !important; }
/* hero entrance: the light comes up, then the dashboard rises into it (script.js adds .is-in) */
.js [data-hero] [data-in] { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.js [data-hero].is-in [data-in] { opacity: 1; transform: none; filter: none; transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-hero] .glow-pill { color: rgba(238, 243, 236, .4); text-shadow: none; }
.js [data-hero].is-in .glow-pill { color: var(--primary-hover); text-shadow: 0 0 24px rgba(200, 241, 162, .55), 0 0 2px rgba(255, 255, 255, .45); transition: color .5s .55s, text-shadow 1.2s .55s; animation: ignite 1.1s .5s both; }
@keyframes ignite { 0% { filter: brightness(.55); } 10% { filter: brightness(1.15); } 16% { filter: brightness(.7); } 26%, 100% { filter: brightness(1); } }
.js [data-hero] .stage__light { opacity: 0; transform: scale(.9); }
.js [data-hero].is-in .stage__light { opacity: 1; transform: none; transition: opacity 1.8s var(--ease) .6s, transform 2.4s var(--ease) .6s; }
.js [data-hero] .shot { opacity: 0; transform: translateY(56px) scale(.97); }
.js [data-hero].is-in .shot { opacity: 1; transform: none; transition: opacity 1.1s var(--ease-out) .75s, transform 1.8s var(--ease-out) .75s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .motes { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee__track { width: auto; transform: none !important; }
  .marquee__set { flex-wrap: wrap; gap: var(--s3) var(--s6); padding-right: 0; }
  .marquee__set[aria-hidden] { display: none; }
  /* nothing to wait for: hairlines, bars and the step rail start drawn */
  .js .sh:not(.is-in)::after, .js .panel:not(.is-in) .bar i { transform: none; }
  .js .steps:not(.is-in)::after { transform: none; }
  .js .steps:not(.is-in) .step__node::after { background: var(--lime); box-shadow: 0 0 0 4px rgba(176, 230, 127, .15), 0 0 14px var(--lime-ring); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav { display: none; }
  .header__bar { grid-template-columns: 1fr auto; }
  .burger { display: block; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .hero__cta .btn { min-height: 44px; }
}
@media (max-width: 900px) {
  .row, .split, .join, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .row__text, .panel, .lead-q, .split > div, .join__copy, .brief, .footer__grid > :nth-child(n) { grid-column: 1 / -1; }
  .row__desc, .split__p, .join__lede { max-width: 40em; }
  .lead-q { max-width: 24em; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: var(--s7); padding-top: 0; padding-left: 40px; }
  .steps::before, .steps::after { left: 12px; right: auto; top: 12px; bottom: 0; width: 1px; height: auto; }
  .steps::before { background: linear-gradient(180deg, var(--line) 80%, transparent); }
  .steps::after { background: linear-gradient(180deg, var(--lime) 60%, rgba(176, 230, 127, 0)); transform-origin: top; }
  .js .steps:not(.is-in)::after { transform: scaleY(0); }
  .step__node { top: 0; left: -40px; }
  .step { padding-right: 0; }
  .step__n { line-height: 24px; }
}
@media (max-width: 760px) {
  .stage { padding: var(--s5) var(--s3) var(--s7); }
  /* phones show a crop around the headline card. Only the page header (the top 19%) runs past the
     crop's right edge, so only that band fades out; the card below stays sharp to its edge. */
  .shot {
    -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent), linear-gradient(#000, #000);
    -webkit-mask-size: 100% 19%, 100% 81%; -webkit-mask-position: top, bottom; -webkit-mask-repeat: no-repeat;
    mask-image: linear-gradient(90deg, #000 78%, transparent), linear-gradient(#000, #000);
    mask-size: 100% 19%, 100% 81%; mask-position: top, bottom; mask-repeat: no-repeat;
  }
  .stage__light { background:
    radial-gradient(70% 34% at 50% 104%, #F0F8E8 0%, rgba(227, 241, 213, .92) 26%, rgba(176, 230, 127, .45) 58%, rgba(176, 230, 127, 0) 100%),
    radial-gradient(120% 60% at 50% 108%, rgba(132, 196, 76, .45) 0%, rgba(132, 196, 76, .22) 42%, rgba(31, 66, 57, .2) 68%, transparent 90%),
    radial-gradient(100% 40% at 50% 0%, rgba(31, 66, 57, .22), transparent 70%); }
  .checks__bar { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.3rem, 10.4vw, 3rem); }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__note span:last-child { flex-basis: 100%; }
  .hero__note span:last-child::before { content: none; }
  .sh { grid-template-columns: minmax(0, 1fr); }
  .sh::after { display: none; }
  .panel { padding: var(--s4); }
  .erows { grid-template-columns: minmax(0, 1fr); }
  .erow { grid-template-columns: minmax(0, 1fr) auto; row-gap: var(--s1); }
  .erow__first { grid-column: 1 / -1; grid-row: 2; }
  .erow__first small { display: inline; margin-right: var(--s2); }
  .cmp th, .cmp td { padding-inline: var(--s2); }
  .cmp tbody th { padding-left: 0; }
  .srow__btn, .srow__inner { grid-template-columns: 32px minmax(0, 1fr) 32px; column-gap: var(--s3); }
  .srow__name { grid-column: 2; }
  .srow__go { grid-column: 3; }
  .srow__desc { grid-column: 2 / -1; }
  .brief { padding: var(--s5) var(--s4); }
  .brief__fields { grid-template-columns: minmax(0, 1fr); }
  .footer__legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .header__cta .btn__ic, .xs-hide { display: none; }
  .header__cta.btn--sm { padding: 0 var(--s4); }
  .stage { padding-inline: var(--s2); }
}
@media (max-width: 360px) {
  .header__cta { display: none; }
}
@media (max-width: 340px) {
  .stage { margin-inline: calc(var(--gutter) * -1); border-radius: 0; padding-inline: var(--s2); }
}

/* ---------- Form results without JavaScript: the relay redirects to #sent, #waitlist-joined and so on ---------- */
.form-anchor { display: none; margin: 0 0 var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-md); font-size: var(--t-small); font-weight: 500; }
.form-anchor:target { display: block; }
.form-anchor--done { color: var(--lime-light); background: var(--lime-soft); box-shadow: inset 0 0 0 1px var(--lime-ring); }
.form-anchor--failed { color: var(--danger); background: var(--danger-soft); }
