:root {
  --ink: #0E0B1F;
  --ink-2: #1B1736;
  --lime: #C8FF4D;
  --lime-soft: #F1FBD9;
  --lime-text: #3A5A0B;
  --coral: #F0506E;
  --violet: #4B2FD0;
  --gold: #E0A400;
  --cream: #F6F5FA;
  --white: #FFFFFF;
  --line: #E8E6EF;
  --line-strong: #D5D2E0;
  --text: #15121F;
  --body-text: #3A3549;
  --mute: #625C74;
  --faint: #A29DB3;
  --danger: #B8213F;
  --coral-soft: #FDECEF;
  --violet-soft: #EFEBFF;
  --gold-soft: #FFF6DC;
  --gold-text: #5A4500;
  --success: #1F7A4D;
  --success-soft: #E6F6EC;
  --info-soft: #F3F2F8;
  --on-dark: #FFFFFF;
  --on-dark-muted: rgba(255,255,255,0.74);
  --on-dark-line: rgba(255,255,255,0.18);
  --on-dark-fill: rgba(255,255,255,0.12);
  --scrim: rgba(14,11,31,0.5);
  --hero-1: #120E2E;
  --hero-2: #221A63;
  --hero-3: #3B2CA6;
}
/*
 * The landing page. Colour variables (--ink, --lime, --violet, …) are generated at build time from
 * the app's own tokens (apps/mobile/src/theme/colors.ts) and prepended to this file, so the site and
 * the app cannot drift; the few shades below are mixed from those tokens, never typed in.
 *
 * The page is dark and quiet; colour comes from the product shown in it. The small windows inside
 * are the app's own light surfaces. Same rules as the app: lime marks the one positive action and
 * is never text on white; violet marks what the matching engine says.
 */

@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/PlusJakartaSans_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/PlusJakartaSans_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/DMSans_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/DMSans_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/DMSans_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/DMSans_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --display: 'Jakarta', ui-sans-serif, system-ui, sans-serif;
  --sans: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --page: color-mix(in srgb, var(--ink) 92%, black);
  --surface: color-mix(in srgb, var(--ink2) 55%, var(--page));
  --surface-2: var(--ink2);
  --hair: color-mix(in srgb, var(--on-dark) 9%, transparent);
  --hair-strong: color-mix(in srgb, var(--on-dark) 16%, transparent);
  --fg: var(--on-dark);
  --fg-2: color-mix(in srgb, var(--on-dark) 62%, transparent);
  --fg-3: color-mix(in srgb, var(--on-dark) 42%, transparent);
  --violet-on-dark: color-mix(in srgb, var(--violet) 45%, var(--white));
  --coral-on-dark: color-mix(in srgb, var(--coral) 75%, var(--white));

  --r-sm: 10px;
  --r-md: 14px;
  --r-card: 20px;
  --r-big: 28px;
  --shadow-float: 0 40px 100px -40px rgba(0, 0, 0, 0.8);
  --max: 1136px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--page); }
body { margin: 0; font: 400 17px/1.55 var(--sans); color: var(--fg); background: var(--page); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-sm); background: var(--white); color: var(--text); font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 760px; }
.section { padding: 72px 0; }
@media (min-width: 1024px) { .section { padding: 112px 0; } }

/* Section rule: a hairline with a short brighter tick at its start. */
.rule { position: relative; margin-bottom: 36px; border-top: 1px solid var(--hair); }
.rule::before { content: ''; position: absolute; left: 0; top: -1px; width: 10px; height: 1px; background: var(--fg); }
.eyebrow { padding-top: 18px; font-size: 14px; font-weight: 500; color: var(--fg-2); }
.h2 { display: flex; flex-direction: column; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.04; }
.h2--xl { font-size: clamp(40px, 6vw, 76px); }
.quiet { color: var(--fg-2); font-size: 18px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--fg-3); }
.lead strong { color: var(--fg); font-weight: 500; }
.split { display: grid; gap: 28px; align-items: start; }
.split__side { display: grid; gap: 22px; max-width: 30em; }
@media (min-width: 960px) { .split { grid-template-columns: 1.15fr 1fr; gap: 64px; } .split__side { padding-top: 10px; } }

/* Logo: a lime tile with the initial, beside the name (as in the app). */
.logo { display: inline-flex; align-items: center; gap: 10px; }
/* The mark (mark.ts): lime tile, ink letters. Sized by its box. */
.mark { display: block; flex: none; }
.mark rect { fill: var(--lime); }
.mark path { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.logo__mark { width: 32px; height: 32px; }
.logo__name { font: 800 22px/1 var(--display); letter-spacing: -0.03em; color: var(--fg); }

/* Buttons: pills. Light for the main action, outlined for the second. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 500 16px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: transform 0.25s var(--ease), background-color 0.2s, border-color 0.2s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(0.98); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--lime); }
.btn--outline { color: var(--fg); border-color: var(--hair-strong); }
.btn--outline:hover { border-color: color-mix(in srgb, var(--on-dark) 40%, transparent); }
.btn--small { height: 38px; padding: 0 16px; font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions--tight { margin-top: 20px; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.3s, box-shadow 0.3s; }
.nav.is-scrolled, .nav--solid, .nav.is-open { background: color-mix(in srgb, var(--page) 86%, transparent); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); box-shadow: 0 1px 0 var(--hair); }
.nav--solid { position: sticky; top: 0; }
.nav__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; padding: 12px 24px; }
.nav__home { text-decoration: none; }
.nav__links { display: none; justify-content: center; gap: 30px; }
.nav__links a, .nav__signin { color: var(--fg-2); text-decoration: none; font-size: 15px; transition: color 0.2s; }
.nav__links a:hover, .nav__signin:hover { color: var(--fg); }
.nav__actions { display: flex; align-items: center; gap: 18px; justify-self: end; grid-column: 3; }
.nav__signin { display: none; }
.nav__menu { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer; }
.nav__burger, .nav__burger::before, .nav__burger::after { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--fg); transition: transform 0.3s var(--ease), background-color 0.2s; }
.nav__burger { position: relative; }
.nav__burger::before, .nav__burger::after { content: ''; position: absolute; left: 0; }
.nav__burger::before { top: -6px; }
.nav__burger::after { top: 6px; }
.nav.is-open .nav__burger { background: transparent; }
.nav.is-open .nav__burger::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__burger::after { transform: translateY(-6px) rotate(-45deg); }
.menu { display: flex; flex-direction: column; padding: 8px 24px 28px; min-height: calc(100dvh - 62px); background: var(--page); }
.menu[hidden] { display: none; }
.menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--hair); color: var(--fg); text-decoration: none; font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.menu .btn { margin-top: 24px; }
@media (max-width: 899px) { .nav .nav__actions .btn--small { display: none; } }
@media (min-width: 900px) { .nav__links, .nav__signin { display: flex; } .nav__menu, .menu { display: none !important; } }

/* Hero */
.hero { position: relative; padding: 128px 0 40px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 380px -10% auto; height: 760px; background: radial-gradient(closest-side, color-mix(in srgb, var(--violet) 32%, transparent), transparent); filter: blur(30px); pointer-events: none; }
@media (min-width: 1024px) { .hero { padding: 152px 0 56px; } }
.hero__top { position: relative; display: grid; gap: 28px; margin-bottom: 56px; }
@media (min-width: 960px) { .hero__top { grid-template-columns: 1.5fr 0.8fr; gap: 56px; align-items: end; margin-bottom: 64px; } .hero__title span { white-space: nowrap; } }
.hero__label { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 14px; }
.hero__label strong { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__label span { padding-left: 14px; border-left: 1px solid var(--hair-strong); color: var(--fg-2); }
.hero__title { display: flex; flex-direction: column; margin-bottom: 32px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.0; letter-spacing: -0.045em; }
.hero__title span:last-child { color: var(--fg-2); }
.hero__note { margin-top: 18px; font-size: 14px; color: var(--fg-3); }

/* ── The hero window ── */
.win { position: relative; overflow: hidden; border: 1px solid var(--hair-strong); border-radius: var(--r-big); background: var(--surface); box-shadow: var(--shadow-float); }
.win__bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--hair); }
.win__dots { display: flex; gap: 7px; }
.win__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--hair-strong); }
.win__title { display: flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--hair); color: var(--fg-2); font-size: 13px; font-weight: 500; }
.win__live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 60%, transparent); animation: ping 2.4s var(--ease) infinite; }
.win__chip { justify-self: end; padding: 5px 12px; border: 1px solid var(--hair-strong); border-radius: 999px; color: var(--fg-2); font-size: 12px; }
.win__body { display: grid; min-height: 500px; }
@media (min-width: 860px) { .win__body { grid-template-columns: 260px 1fr; } }
.win__side { display: none; padding: 16px 12px; border-right: 1px solid var(--hair); }
@media (min-width: 860px) { .win__side { display: block; } }
.win__new { display: block; padding: 10px 12px; border: 1px dashed var(--hair-strong); border-radius: var(--r-sm); color: var(--fg-2); font-size: 14px; }
.win__group { margin: 18px 12px 8px; color: var(--fg-3); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.camps { display: grid; gap: 2px; }
.camp { display: flex; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); }
.camp--active { background: var(--hair); }
.camp__dot { flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--fg-3); }
.camp--violet .camp__dot { background: var(--violet-on-dark); }
.camp--lime .camp__dot { background: var(--lime); }
.camp--coral .camp__dot { background: var(--coral-on-dark); }
.camp__text { display: grid; min-width: 0; }
.camp__text strong { font-size: 14px; font-weight: 500; }
.camp__text small { color: var(--fg-3); font-size: 13px; }
.win__main { position: relative; display: flex; flex-direction: column; padding: 18px clamp(16px, 3vw, 32px) 18px; background: var(--white); color: var(--text); }
.win__day { margin-bottom: 14px; color: var(--mute); font-size: 12px; text-align: center; }
.thread { display: flex; flex-direction: column; gap: 12px; flex: 1; }
.pending { display: flex; align-items: center; gap: 10px; color: var(--violet); font-size: 14px; font-weight: 700; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--violet-soft); border-top-color: var(--violet); animation: spin 0.8s linear infinite; }
.reply { display: grid; gap: 10px; max-width: 640px; }
.reply__head { display: flex; align-items: center; gap: 8px; color: var(--body-text); font-size: 14px; }
.reply__mark, .spanel__mark { width: 22px; height: 22px; }
.lineup { display: grid; gap: 8px; }
.lineup__row, .mrow { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--white); }
.lineup__who, .mrow__text { display: grid; gap: 1px; min-width: 0; }
.lineup__who strong, .mrow__text strong { font-size: 15px; }
.lineup__who small { color: var(--mute); font-size: 13px; }
.why { display: block; margin-top: 5px; padding-left: 9px; border-left: 2px solid var(--violet); color: var(--violet); font-size: 13px; line-height: 1.4; }
.match { padding: 4px 9px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 12px; font-weight: 800; white-space: nowrap; }
.approve { display: flex; }
.approve__btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-size: 15px; font-weight: 700; transition: transform 0.18s var(--ease), background-color 0.3s; }
.win[data-step='4'] .approve__btn, .win[data-step='5'] .approve__btn { background: var(--success-soft); color: var(--success); }
.compose { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 8px 8px 8px 16px; border: 1px solid var(--line-strong); border-radius: 18px; transition: border-color 0.3s, background-color 0.3s; }
.win.is-typing .compose { border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.compose__field { display: grid; flex: 1; min-width: 0; gap: 2px; }
.compose__label { color: var(--mute); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.compose__text { min-height: 22px; font-size: 15px; font-weight: 500; }
.compose__text .caret { display: none; }
.win.is-typing .compose__text .caret { display: inline-block; }
.caret { width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -0.15em; background: var(--violet); animation: blink 1s steps(1) infinite; }
.compose__send { display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: var(--on-dark); font-size: 14px; font-weight: 700; transition: transform 0.18s var(--ease); }
@media (max-width: 560px) { .compose { flex-wrap: wrap; } .compose__send { width: 100%; justify-content: center; } }
.toast { position: absolute; right: 18px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--white); box-shadow: 0 18px 40px -12px rgba(14, 11, 31, 0.35), 0 0 0 1px var(--line); }
.toast span { display: grid; }
.toast strong { font-size: 14px; }
.toast small { color: var(--mute); font-size: 12px; }

/* Scene parts: [data-at] lists the steps a part shows at; a part waiting for step k hides until
   the scene has class s<k>. Entrances use the same land: rise 10px and fade, 0.42s. */
[data-at] { display: none; }
[data-scene][data-step='0'] [data-at~='0'], [data-scene][data-step='1'] [data-at~='1'], [data-scene][data-step='2'] [data-at~='2'],
[data-scene][data-step='3'] [data-at~='3'], [data-scene][data-step='4'] [data-at~='4'], [data-scene][data-step='5'] [data-at~='5'] { display: var(--at-display, inline-flex); align-items: center; gap: 6px; }
.win .pending, .win .reply, .win .lineup__row, .win .approve, .win .toast { transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
.win:not(.s2) .reply, .win:not(.s2) .lineup__row, .win:not(.s2) .approve, .win:not(.s5) .toast { opacity: 0; transform: translateY(10px); }
.win:not(.s1) .pending, .win.s2 .pending { display: none; }
.win:not(.s2) .reply { visibility: hidden; }
.win.s2 .lineup__row { transition-delay: calc(var(--i) * 160ms + 120ms); }
.win.s2:not(.s3) .approve { transition-delay: 700ms; }
.win:not(.s5) .toast { transform: translateY(14px) scale(0.98); }

/* The pointer that acts out a click. Placed by the script; hidden without it. */
.cursor { position: absolute; left: 0; top: 0; z-index: 5; display: none; pointer-events: none; transition: transform 0.9s var(--ease), opacity 0.3s; }
.cursor__arrow { fill: var(--white); stroke: var(--ink); }
.cursor__tag { position: absolute; left: 14px; top: 18px; padding: 2px 7px; border-radius: 6px; background: var(--ink); color: var(--white); font-size: 11px; font-weight: 700; }
.js [data-scene].has-cursor > .cursor { display: block; }
.is-pressed { transform: scale(0.94) !important; }

/* Flow strip: the one marquee. */
.flow { position: relative; overflow: hidden; border-block: 1px solid var(--hair); }
.flow::before, .flow::after { content: ''; position: absolute; top: 0; bottom: 0; z-index: 1; width: 14%; pointer-events: none; }
.flow::before { left: 0; background: linear-gradient(90deg, var(--page), transparent); }
.flow::after { right: 0; background: linear-gradient(270deg, var(--page), transparent); }
.flow__track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.flow ul { display: flex; }
.flow li { display: flex; align-items: center; gap: 12px; padding: 22px 34px; color: var(--fg-2); font: 500 17px/1 var(--sans); white-space: nowrap; }
.flow li::after { content: ''; width: 5px; height: 5px; margin-left: 34px; border-radius: 50%; background: var(--lime); }
.flow__n { color: var(--fg-3); font-size: 12px; }

/* The money's path: brand, the hub that holds it, creator. A coin moves along each track. */
.bridge { display: grid; align-items: center; gap: 0; margin-top: 64px; }
@media (min-width: 860px) { .bridge { grid-template-columns: 1fr minmax(60px, 0.6fr) 170px minmax(60px, 0.6fr) 1fr; } }
.bridge__card { padding: 20px; border: 1px solid var(--hair-strong); border-radius: var(--r-card); background: var(--surface); }
.bridge__card--brand { border-top: 2px solid var(--coral-on-dark); }
.bridge__card--creator { border-top: 2px solid var(--lime); }
.bridge__who { display: flex; align-items: center; gap: 12px; }
.bridge__who span { display: grid; }
.bridge__who strong { font-size: 16px; font-weight: 500; }
.bridge__who small { color: var(--fg-3); font-size: 13px; }
.bridge__line { margin: 14px 0; color: var(--fg-2); font-size: 15px; }
.bridge__state { min-height: 30px; }
.bridge__state [data-at], .bridge__hold [data-at] { padding: 5px 11px; border-radius: 999px; background: var(--hair); color: var(--fg-2); font-size: 13px; font-weight: 500; }
.bridge[data-step='4'] .bridge__card .bridge__state [data-at~='4'] { background: color-mix(in srgb, var(--lime) 16%, transparent); color: var(--lime); }
.bridge__hub { display: grid; justify-items: center; gap: 12px; padding: 18px 8px; }
.bridge__tile { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 0 0 8px color-mix(in srgb, var(--lime) 10%, transparent); transition: box-shadow 0.5s var(--ease); }
.bridge.s1:not(.s4) .bridge__tile { box-shadow: 0 0 0 14px color-mix(in srgb, var(--lime) 16%, transparent); }
.bridge__hold { min-height: 30px; text-align: center; white-space: nowrap; }
.bridge[data-step='1'] .bridge__hold [data-at], .bridge[data-step='2'] .bridge__hold [data-at], .bridge[data-step='3'] .bridge__hold [data-at] { background: color-mix(in srgb, var(--violet) 30%, transparent); color: var(--fg); }
.bridge__track { position: relative; justify-self: stretch; height: 2px; margin: 0 -1px; background: repeating-linear-gradient(90deg, var(--hair-strong) 0 6px, transparent 6px 12px); }
.bridge__coin { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--lime); color: var(--ink); font: 800 14px/1 var(--sans); box-shadow: 0 6px 18px -4px color-mix(in srgb, var(--lime) 60%, transparent); opacity: 0; transition: left 1.1s var(--ease), opacity 0.3s; }
.bridge.s1 .bridge__track--in .bridge__coin { left: calc(100% - 28px); opacity: 1; }
.bridge.s1:not(.s2) .bridge__track--in .bridge__coin { transition-delay: 0.1s; }
.bridge.s2 .bridge__track--in .bridge__coin { opacity: 0; }
.bridge.s4 .bridge__track--out .bridge__coin { left: calc(100% - 28px); opacity: 1; }
@media (max-width: 859px) {
  .bridge__track { justify-self: center; width: 2px; height: 56px; margin: -1px 0; background: repeating-linear-gradient(180deg, var(--hair-strong) 0 6px, transparent 6px 12px); }
  .bridge__coin { top: 0; left: 50%; margin: 0 0 0 -14px; transition: top 1.1s var(--ease), opacity 0.3s; }
  .bridge.s1 .bridge__track--in .bridge__coin, .bridge.s4 .bridge__track--out .bridge__coin { left: 50%; top: calc(100% - 28px); }
}
.niches { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; margin-top: 56px; }
.niches p { color: var(--fg-3); font-size: 14px; }
.niches ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.niches li { padding: 6px 13px; border: 1px solid var(--hair); border-radius: 999px; color: var(--fg-2); font-size: 14px; }

/* Bento: one card per thing the product does, each with a small scene. */
.bento { display: grid; gap: 18px; margin-top: 48px; }
@media (min-width: 900px) { .bento { grid-template-columns: 1fr 1fr; gap: 22px; } }
.bento__card { display: flex; flex-direction: column; overflow: hidden; padding: 28px 28px 0; border: 1px solid var(--hair); border-radius: var(--r-big); background: var(--surface); }
.bento__side { margin-bottom: 14px; color: var(--fg-3); font-size: 13px; font-weight: 500; }
.bento__card--brand .bento__side { color: var(--coral-on-dark); }
.bento__card--creator .bento__side { color: var(--lime); }
.bento__card h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.025em; }
.bento__body { margin-top: 10px; max-width: 32em; color: var(--fg-2); font-size: 16px; }
.bento__stage { position: relative; flex: 1; display: flex; align-items: flex-end; margin-top: 28px; padding: 0 0 0 0; }
.mini { position: relative; width: 100%; padding: 18px 18px 22px; border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--white); color: var(--text); }
.mini__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font: 700 16px/1.2 var(--display); letter-spacing: -0.015em; }
.mini__head em, .spanel__title em { font: 700 10px/1 var(--sans); font-style: normal; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.mini__foot { margin-top: 12px; color: var(--mute); font-size: 13px; }
.mini__rows { display: grid; gap: 8px; }
.mrow .why { margin-top: 4px; }
.chip { padding: 5px 11px; border-radius: 999px; background: var(--info-soft); color: var(--body-text); font-size: 12px; font-weight: 700; transition: transform 0.18s var(--ease); }

/* lineup scene */
[data-scene='lineup'] .mrow { transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), max-height 0.5s var(--ease), padding 0.5s var(--ease), margin 0.5s var(--ease); max-height: 120px; }
[data-scene='lineup']:not(.s1) .mrow { opacity: 0; transform: translateY(10px); }
[data-scene='lineup'].s1 .mrow { transition-delay: calc(var(--i, 0) * 140ms); }
[data-scene='lineup'].s3 .mrow--out, [data-scene='lineup']:not(.s3) .mrow--in { opacity: 0; max-height: 0; padding-block: 0; margin-top: -8px; overflow: hidden; border-width: 0; }
[data-scene='lineup'].s3 .mrow--in { transition-delay: 0.25s; }

/* held scene */
.path { display: grid; }
.path__step { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.path__step:last-child { border-bottom: 0; }
.path__step strong { font-weight: 800; }
.path__dot { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-strong); color: var(--white); transition: background-color 0.3s, border-color 0.3s; }
.path__dot .tick-xs { opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.3s var(--ease); }
[data-scene='held'].s1 .p1 .path__dot, [data-scene='held'].s2 .p2 .path__dot, [data-scene='held'].s3 .p3 .path__dot, [data-scene='held'].s4 .p4 .path__dot, [data-scene='held'].s5 .p5 .path__dot { background: var(--ink); border-color: var(--ink); }
[data-scene='held'].s1 .p1 .tick-xs, [data-scene='held'].s2 .p2 .tick-xs, [data-scene='held'].s3 .p3 .tick-xs, [data-scene='held'].s4 .p4 .tick-xs, [data-scene='held'].s5 .p5 .tick-xs { opacity: 1; transform: none; }
.path__step strong { transition: opacity 0.3s; }
[data-scene='held']:not(.s2) .p2 strong, [data-scene='held']:not(.s3) .p3 strong, [data-scene='held']:not(.s4) .p4 strong, [data-scene='held']:not(.s5) .p5 strong { opacity: 0.25; }
.path__step.is-held strong { color: var(--violet); }
[data-scene='held'].s5 .is-paid strong { padding: 3px 8px; border-radius: 8px; background: var(--lime-soft); color: var(--lime-text); }

/* invite scene */
.inv__who { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.inv__who > span:nth-child(2) { display: grid; flex: 1; }
.inv__who small { color: var(--mute); font-size: 13px; }
.inv__timer { padding: 4px 9px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-text); font-size: 12px; font-weight: 700; }
.inv__terms { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin: 14px 0 16px; }
.inv__terms dt { color: var(--mute); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.inv__terms dd { margin-top: 4px; font-weight: 700; }
.inv__terms dd.big { font: 800 26px/1.05 var(--sans); letter-spacing: -0.02em; }
.inv__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; min-height: 46px; }
.pill { --at-display: flex; justify-content: center; padding: 12px; border-radius: 14px; font-weight: 700; font-size: 15px; transition: transform 0.18s var(--ease); }
.pill--ghost { border: 1px solid var(--line-strong); color: var(--body-text); }
.pill--lime { background: var(--lime); color: var(--ink); }
.pill--done { grid-column: 1 / -1; background: var(--success-soft); color: var(--success); }
[data-scene='invite'] .inv { transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
[data-scene='invite']:not(.s1) .inv { opacity: 0; transform: translateY(12px); }

/* results scene */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 520px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 10px 12px; border-radius: var(--r-md); background: var(--cream); }
.stat small { display: block; color: var(--mute); font-size: 12px; font-weight: 700; }
.stat strong { font: 800 22px/1.2 var(--sans); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; margin-top: 16px; }
.bars span { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--violet), color-mix(in srgb, var(--violet) 55%, var(--white))); transform-origin: bottom; transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
[data-scene='results']:not(.s1) .bars span { transform: scaleY(0.04); }

/* chat scene */
.chat { display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 82%; padding: 10px 13px; border-radius: 15px; font-size: 14px; line-height: 1.45; transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
.msg--them { align-self: flex-start; background: var(--cream); border-bottom-left-radius: 5px; }
.msg--me { align-self: flex-end; background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 5px; }
.notice { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-text); font-size: 13px; font-weight: 500; transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
.notice__dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
[data-scene='chat']:not(.s1) .c1, [data-scene='chat']:not(.s2) .c2, [data-scene='chat']:not(.s3) .c3 { opacity: 0; transform: translateY(10px); }

/* files scene */
.files { display: grid; gap: 8px; }
.file { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.file__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--violet-soft); color: var(--violet); font-size: 10px; font-weight: 800; }
.file__text { display: grid; gap: 7px; min-width: 0; }
.file__text strong { overflow: hidden; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.file__bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.file__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform 0.9s var(--ease); }
.file__state { display: flex; align-items: center; gap: 6px; color: var(--mute); font-size: 12px; }
.file__state .tick-xs { padding: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--success); color: var(--white); transition: opacity 0.25s, transform 0.3s var(--ease); }
[data-scene='files']:not(.s1) .f1 .file__bar i, [data-scene='files']:not(.s2) .f2 .file__bar i, [data-scene='files']:not(.s3) .f3 .file__bar i { transform: scaleX(0); }
[data-scene='files']:not(.s1) .f1 .tick-xs, [data-scene='files']:not(.s2) .f2 .tick-xs, [data-scene='files']:not(.s3) .f3 .tick-xs { opacity: 0; transform: scale(0.5); }
.adcode { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: var(--r-md); background: var(--cream); font-size: 13px; }
.adcode span:first-child { flex: 1; color: var(--mute); font-weight: 700; }
.adcode code { font: 500 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.adcode__copied { padding: 3px 8px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-weight: 700; transition: opacity 0.3s, transform 0.3s var(--ease); }
[data-scene='files']:not(.s4) .adcode__copied { opacity: 0; transform: scale(0.8); }

/* Stories: before and after, with a panel that fills in. */
.stories { display: grid; gap: 18px; margin-top: 48px; }
.story { display: grid; gap: 32px; overflow: hidden; padding: 30px; border: 1px solid var(--hair); border-radius: var(--r-big); background: var(--surface); }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1fr; gap: 48px; padding: 36px 0 36px 40px; } }
.story__label { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; color: var(--fg-2); font-size: 14px; }
.story__mark { width: 18px; height: 18px; border-radius: 6px; }
.story__mark--brand { background: var(--coral-on-dark); }
.story__mark--creator { background: var(--lime); }
.story h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.story__body { margin-top: 12px; max-width: 30em; color: var(--fg-2); }
.story__ba { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.story__ba dt { margin-bottom: 6px; color: var(--fg-3); font-size: 13px; }
.story__ba dd { color: var(--fg-2); font-size: 16px; line-height: 1.4; }
.story__ba .story__after { color: var(--fg); font: 700 20px/1.25 var(--display); letter-spacing: -0.02em; }
.spanel { position: relative; align-self: center; padding-bottom: 54px; }
.spanel__card { padding: 16px 18px; border: 1px solid var(--hair-strong); border-right: 0; border-radius: 16px 0 0 16px; background: var(--surface-2); }
@media (max-width: 959px) { .spanel__card { border-right: 1px solid var(--hair-strong); border-radius: 16px; } }
.spanel__title { display: flex; justify-content: space-between; margin-bottom: 8px; color: var(--fg-3); font-size: 13px; }
.spanel li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 15px; }
.spanel__value { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--hair); color: var(--fg-2); font-size: 12px; white-space: nowrap; transition: background-color 0.3s, color 0.3s; }
.spanel__value .tick-xs { width: 12px; height: 12px; opacity: 0; transition: opacity 0.25s; }
[data-scene='story'].s1 .r1 .spanel__value, [data-scene='story'].s2 .r2 .spanel__value, [data-scene='story'].s3 .r3 .spanel__value { background: color-mix(in srgb, var(--lime) 18%, transparent); color: var(--lime); }
[data-scene='story'].s1 .r1 .tick-xs, [data-scene='story'].s2 .r2 .tick-xs, [data-scene='story'].s3 .r3 .tick-xs { opacity: 1; }
.spanel__note { position: absolute; right: 24px; bottom: 0; display: flex; gap: 10px; align-items: flex-start; width: min(320px, 82%); padding: 12px 14px; border: 1px solid var(--hair-strong); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-float); transition: opacity 0.42s var(--ease), transform 0.42s var(--ease); }
.spanel__note span:last-child { display: grid; }
.spanel__note strong { font-size: 14px; }
.spanel__note small { color: var(--fg-2); font-size: 13px; }
[data-scene='story']:not(.s4) .spanel__note { opacity: 0; transform: translateY(12px); }

/* Steps */
.steps { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid var(--hair); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 26px 24px 30px 0; border-bottom: 1px solid var(--hair); }
@media (min-width: 900px) { .step { border-bottom: 0; } .step + .step { padding-left: 24px; border-left: 1px solid var(--hair); } }
.step__n { display: block; margin-bottom: 40px; color: var(--fg-3); font: 500 14px/1 var(--sans); }
.step h3 { margin-bottom: 8px; font-size: 21px; letter-spacing: -0.02em; }
.step p { color: var(--fg-2); font-size: 16px; }

/* Trust */
.trust { display: grid; gap: 18px; margin-top: 48px; }
@media (min-width: 720px) { .trust { grid-template-columns: repeat(2, 1fr); } }
.trust__card { padding: 30px 28px; border: 1px solid var(--hair); border-radius: var(--r-card); background: var(--surface); }
.trust__icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 10px; background: color-mix(in srgb, var(--lime) 14%, transparent); color: var(--lime); }
.trust__icon .tick { width: 18px; height: 18px; }
.trust__card h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -0.02em; }
.trust__card p { color: var(--fg-2); }

/* FAQ: centred, as on the reference. */
.faq__head { text-align: center; margin-bottom: 36px; }
.faq__head .eyebrow { padding-top: 0; margin-bottom: 12px; }
.faq__head .h2 { align-items: center; }
.faq__list { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--hair); }
.faq__item { border-bottom: 1px solid var(--hair); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; cursor: pointer; list-style: none; font: 500 18px/1.4 var(--sans); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 30px; height: 30px; border: 1px solid var(--hair-strong); border-radius: 50%; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: var(--fg); transition: transform 0.3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { padding: 0 54px 24px 0; color: var(--fg-2); }
.faq__item[open] p { animation: open 0.4s var(--ease); }

/* Closing */
.closing__inner { display: grid; gap: 32px; align-items: end; }
.closing__inner .quiet { margin-top: 20px; max-width: 30em; }
@media (min-width: 900px) { .closing__inner { grid-template-columns: 1fr auto; } }

/* Footer */
.footer { padding: 0 0 36px; }
.footer__grid { display: grid; gap: 36px; padding-top: 48px; border-top: 1px solid var(--hair); }
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand p { margin-top: 16px; max-width: 24em; color: var(--fg-2); }
.footer__col { display: grid; align-content: start; gap: 12px; }
.footer__col p { margin-bottom: 4px; font-weight: 500; }
.footer__col a, .footer__legal a { color: var(--fg-2); text-decoration: none; font-size: 15px; }
.footer__col a:hover, .footer__legal a:hover { color: var(--fg); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hair); color: var(--fg-3); font-size: 14px; }
.footer__legal-links { display: flex; gap: 22px; }

/* Avatars */
.avatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: var(--white); font-weight: 700; font-size: 13px; }
.avatar--0 { background: linear-gradient(135deg, var(--violet), color-mix(in srgb, var(--violet) 60%, var(--ink))); }
.avatar--1 { background: linear-gradient(135deg, var(--success), color-mix(in srgb, var(--violet) 50%, var(--success))); }
.avatar--2 { background: linear-gradient(135deg, var(--coral), color-mix(in srgb, var(--violet) 60%, var(--coral))); }
.avatar--3 { background: linear-gradient(135deg, var(--gold), var(--danger)); }
.avatar--4 { background: linear-gradient(135deg, color-mix(in srgb, var(--success) 50%, var(--violet)), var(--violet)); }
.tick { width: 16px; height: 16px; }
.tick-sm { width: 15px; height: 15px; }
.tick-xs { width: 12px; height: 12px; }

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal .eyebrow { padding: 0; margin-bottom: 12px; }
.legal h1 { font-size: clamp(36px, 5vw, 54px); line-height: 1.05; }
.legal__meta { margin: 14px 0 28px; color: var(--fg-3); font-size: 15px; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.legal__toc a { padding: 6px 12px; border: 1px solid var(--hair-strong); border-radius: 999px; color: var(--fg-2); font-size: 14px; text-decoration: none; }
.legal__toc a:hover { color: var(--fg); border-color: var(--fg-3); }
.legal__intro { font-size: 19px; color: var(--fg); }
.legal section { padding-top: 36px; scroll-margin-top: 80px; }
.legal h2 { margin-bottom: 12px; font-size: 23px; letter-spacing: -0.02em; }
.legal p { margin-bottom: 14px; color: var(--fg-2); }

/* 404 */
.notfound { display: grid; place-content: center; justify-items: start; gap: 18px; min-height: 100dvh; padding: 24px; }
.notfound h1 { margin-top: 24px; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; }
.notfound p { color: var(--fg-2); font-size: 19px; }
.notfound .actions { margin-top: 12px; }

/* Arrival: the page fades in, and blocks rise once as they come into view. Without the script
   everything is simply there. */
.js body { animation: mount 0.9s var(--ease) both; }
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@keyframes mount { from { opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lime) 55%, transparent); } 80%, 100% { box-shadow: 0 0 0 7px transparent; } }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  [data-scene] *, .btn { transition: none !important; }
}
