/* Guizzo landing (guizzo.ai). Tokens mirror the brand kit (tokens.json).
   Layout: a fixed, blurred mesh of darts (agents) and sparks (people) drifts behind the whole page.
   Full-height hero and closing call; the bands between are translucent panels over the mesh. */
:root {
  --surface: #FFFFFF; --surface-alt: #F4F5F8; --surface-raised: #FFFFFF;
  --line: #DCDFE7; --line-strong: #808799;
  --ink: #15171F; --ink-muted: #565C6D;
  --dardo: #2C55F5; --dardo-strong: #1E40D0; --dardo-tint: #E8EDFF; --on-dardo: #FFFFFF;
  --spark: #FFB224; --spark-tint: #FFF3D9; --on-spark: #15171F;
  --success: #0F7A55; --focus: #2C55F5; --spark-mark: #C97F00;
  --shadow-raised: 0 1px 2px rgba(21,23,31,.06), 0 16px 40px -10px rgba(21,23,31,.22);
  --panel: rgba(255,255,255,.66); --panel-alt: rgba(244,245,248,.74);
  --mesh-ground: #F7F8FC; --mesh-a: #2C55F5; --mesh-b: #7F9BFF; --mesh-c: #B9C8FF; --mesh-s: #FFB224; --mesh-alpha: .55;
  --lg-tile: #15171F; --lg-tile-a: #5577FF; --lg-tile-p: #FFB224; --lg-ink: #15171F; --lg-z-a: #2C55F5; --lg-z-p: #C97F00;
  --display: "Saira", "Arial Narrow", system-ui, sans-serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r-sm: 4px; --r-md: 6px; --r-lg: 10px;
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --surface: #0E1016; --surface-alt: #171A23; --surface-raised: #1E2230;
  --line: #2D3240; --line-strong: #6B7286;
  --ink: #EEF0F8; --ink-muted: #A3A9BA;
  --dardo: #5577FF; --dardo-strong: #7F9BFF; --dardo-tint: #1C2550; --on-dardo: #0E1016;
  --spark: #FFC14D; --spark-tint: #3A2C0F; --on-spark: #15171F;
  --success: #4CD6A0; --focus: #A3B7FF; --spark-mark: #FFB224;
  --shadow-raised: 0 1px 2px rgba(0,0,0,.4), 0 20px 48px -10px rgba(0,0,0,.65);
  --panel: rgba(14,16,22,.6); --panel-alt: rgba(23,26,35,.7);
  --mesh-ground: #0B0D14; --mesh-a: #2C55F5; --mesh-b: #1E40D0; --mesh-c: #3B2FA8; --mesh-s: #FFB224; --mesh-alpha: .6;
  --lg-tile: #EEF0F8; --lg-tile-a: #2C55F5; --lg-tile-p: #C97F00; --lg-ink: #EEF0F8; --lg-z-a: #5577FF; --lg-z-p: #FFB224;
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --surface: #0E1016; --surface-alt: #171A23; --surface-raised: #1E2230;
  --line: #2D3240; --line-strong: #6B7286;
  --ink: #EEF0F8; --ink-muted: #A3A9BA;
  --dardo: #5577FF; --dardo-strong: #7F9BFF; --dardo-tint: #1C2550; --on-dardo: #0E1016;
  --spark: #FFC14D; --spark-tint: #3A2C0F; --on-spark: #15171F;
  --success: #4CD6A0; --focus: #A3B7FF; --spark-mark: #FFB224;
  --shadow-raised: 0 1px 2px rgba(0,0,0,.4), 0 20px 48px -10px rgba(0,0,0,.65);
  --panel: rgba(14,16,22,.6); --panel-alt: rgba(23,26,35,.7);
  --mesh-ground: #0B0D14; --mesh-a: #2C55F5; --mesh-b: #1E40D0; --mesh-c: #3B2FA8; --mesh-s: #FFB224; --mesh-alpha: .6;
  --lg-tile: #EEF0F8; --lg-tile-a: #2C55F5; --lg-tile-p: #C97F00; --lg-ink: #EEF0F8; --lg-z-a: #5577FF; --lg-z-p: #FFB224;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--mesh-ground); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--dardo); text-underline-offset: 3px; }
a:hover { color: var(--dardo-strong); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--r-sm); }
code { font-family: var(--mono); font-size: .88em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 24px; }
@media (max-width: 480px) { .wrap { padding-inline: 16px; } }
.eyebrow { font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Mesh background */
#mesh { position: fixed; inset: -10%; width: 120%; height: 120%; z-index: 0; pointer-events: none; filter: blur(48px) saturate(1.15); opacity: var(--mesh-alpha); }
.grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, transparent 0%, transparent 55%, var(--mesh-ground) 100%); opacity: .55; }
.page { position: relative; z-index: 1; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: var(--panel); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; flex: none; }
.lockup { height: 28px; width: auto; display: block; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; background: transparent; color: var(--ink-muted); border: 1px solid var(--line); border-radius: var(--r-md); cursor: pointer; }
.icon-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn .moon { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .moon { display: block; }
@media (max-width: 860px) { .nav { display: none; } .top-actions { margin-left: auto; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15.5px/1 var(--sans); padding: 13px 18px; border-radius: var(--r-md); border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--dardo); color: var(--on-dardo); }
.btn-primary:hover { background: var(--dardo-strong); color: var(--on-dardo); }
.btn-small { padding: 9px 14px; font-size: 14.5px; }
@media (max-width: 400px) { .top .btn-small { display: none; } }

/* Hero */
.hero { min-height: calc(100svh - 64px); display: flex; align-items: center; }
.hero .wrap { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { position: relative; z-index: 0; font-size: clamp(46px, 6.6vw, 84px); font-weight: 700; letter-spacing: -0.02em; }
.hero h1 .a { color: var(--dardo); }
.hero h1 .p { position: relative; white-space: nowrap; }
.hero h1 .p::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--spark); z-index: -1; transform: skewX(-38deg); }
.lede { font-size: 20px; color: var(--ink-muted); max-width: 32em; }
.lede strong { color: var(--ink); font-weight: 600; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.scroll-cue svg { width: 16px; height: 16px; animation: nudge 2.4s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }
@media (max-width: 960px) { .hero { min-height: 0; } .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 56px 72px; gap: 44px; } }

/* Waitlist form */
.wl { display: flex; flex-direction: column; gap: 10px; max-width: 30rem; }
.wl-row { display: flex; gap: 8px; }
.wl input { flex: 1; min-width: 0; font: 16px var(--sans); color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line-strong); border-radius: var(--r-md); padding: 12px 14px; }
.wl input::placeholder { color: var(--ink-muted); }
.wl input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.wl .note { font-size: 14px; color: var(--ink-muted); max-width: 30rem; }
.wl .note a { color: var(--ink-muted); }
.wl .done { padding: 12px 14px; border-radius: var(--r-md); background: var(--spark-tint); font-size: 15.5px; }
.wl .err { color: var(--ink); font-size: 14px; }
.wl .err::before { content: "Check the address: "; font-weight: 600; }
.wl .err.plain::before { content: none; }
.wl .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl button[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 440px) { .wl-row { flex-direction: column; } }

/* Demo: rotating examples */
.demo { position: relative; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-raised); overflow: hidden; min-width: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab { flex: 1; position: relative; font: 500 13.5px var(--sans); color: var(--ink-muted); background: none; border: 0; padding: 13px 10px; cursor: pointer; white-space: nowrap; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tab .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--dardo); }
.tab[aria-selected="true"] .bar { width: 100%; }
.demo.playing .tab[aria-selected="true"] .bar { animation: fill var(--dur, 6.5s) linear forwards; }
@keyframes fill { from { width: 0; } to { width: 100%; } }
.scenes { display: grid; grid-template-columns: minmax(0, 1fr); }
.scene { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 18px; transition: opacity .45s ease, transform .45s ease; }
.scene[aria-hidden="true"] { opacity: 0; transform: translateY(6px); visibility: hidden; }
.who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); margin-bottom: 8px; }
.who b { color: var(--ink); font-weight: 600; }
.client { font-family: var(--mono); font-size: 11.5px; padding: 2px 7px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--ink-muted); }
.tick { width: 14px; height: 10px; flex: none; }
.tick.a { fill: var(--dardo); } .tick.p { fill: var(--spark); } .tick.n { fill: var(--line-strong); }
.call { margin: 0; background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; font-family: var(--mono); font-size: 12.8px; line-height: 1.65; overflow-x: auto; color: var(--ink); }
.call .fn { color: var(--dardo); font-weight: 500; }
.call .k { color: var(--ink-muted); }
.answer { background: var(--spark-tint); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.answer .q { font-size: 14px; color: var(--ink-muted); }
.answer .choice { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 13.5px; padding: 4px 10px; border-radius: var(--r-sm); border: 1px solid var(--line-strong); color: var(--ink-muted); background: var(--surface-raised); }
.chip.on { background: var(--spark); border-color: var(--spark); color: var(--on-spark); font-weight: 600; }
.answer .said { font-size: 15px; }
.verdict { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.verdict .ok { display: inline-flex; align-items: center; gap: 6px; color: var(--success); }
.verdict svg { width: 16px; height: 16px; }
.memory { background: var(--surface-alt); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.memory .fact { font-size: 15.5px; font-weight: 500; }
.memory .prov { font-size: 13px; color: var(--ink-muted); }
.memory .valid { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-sm); background: var(--dardo-tint); color: var(--dardo-strong); }
.saved { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-muted); border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto; }
.saved svg { width: 16px; height: 16px; flex: none; color: var(--success); }
.scene > * { min-width: 0; }
/* Phones: the examples wrap instead of running off the card. */
@media (max-width: 560px) {
  .tab { flex: 1 1 auto; font-size: 12.5px; padding: 12px 6px; }
  .scene { padding: 14px; }
  .call { font-size: 11.5px; padding: 10px 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
}

/* Bands */
.band { padding-block: 112px; background: var(--panel); border-block: 1px solid var(--line); }
.band + .band { border-top: 0; }
.band.alt { background: var(--panel-alt); }
.band.clear { background: transparent; border-color: transparent; }
@media (max-width: 600px) { .band { padding-block: 72px; } }
.band-head { display: flex; flex-direction: column; gap: 14px; max-width: 46rem; margin-bottom: 52px; }
.band-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 600; }
.band-head p { color: var(--ink-muted); font-size: 18.5px; }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 900px) { .stories { grid-template-columns: minmax(0, 1fr); } }
.story { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.story h3 { font-size: 22px; font-weight: 600; }
.story p { color: var(--ink-muted); font-size: 16px; }
.story .flow { margin-top: auto; display: flex; flex-wrap: nowrap; min-height: 42px; align-items: center; gap: 6px; font-size: 13px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-muted); }
.story .flow span { padding: 3px 8px; border-radius: var(--r-sm); white-space: nowrap; }
.story .flow .a { background: var(--dardo-tint); color: var(--dardo-strong); }
.story .flow .p { background: var(--spark-tint); color: var(--ink); }
.story .flow i { font-style: normal; color: var(--line-strong); }
@media (max-width: 360px) { .story .flow { flex-wrap: wrap; } }

/* Jobs (what your agent can do) */
.jobs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; row-gap: 20px; }
@media (max-width: 1000px) { .jobs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .jobs { grid-template-columns: minmax(0, 1fr); } }
.job { display: grid; grid-template-rows: subgrid; grid-row: span 3; gap: 14px; padding: 26px 24px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); }
.job h3 { font-size: 21px; font-weight: 600; }
.job p { color: var(--ink-muted); font-size: 15.5px; }
.tl { list-style: none; margin: 0; align-self: start; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.tl li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.tl svg { width: 24px; height: 24px; flex: none; color: var(--ink); }
.aside { margin-top: 28px; font-size: 15px; color: var(--ink-muted); }
.aside b { color: var(--ink); font-weight: 600; }

/* Channels: four small pictures */
.chans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1040px) { .chans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .chans { grid-template-columns: minmax(0, 1fr); } }
.chan { display: flex; flex-direction: column; gap: 16px; }
.pic { height: 250px; border-radius: var(--r-lg); background: var(--surface-alt); border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; position: relative; }
.chan h3 { font-size: 19px; font-weight: 600; }
.chan p { color: var(--ink-muted); font-size: 15px; margin-top: -8px; }
.m-card { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 12px; font-size: 13px; }
.m-muted { color: var(--ink-muted); font-size: 12px; }
.m-row { display: flex; gap: 6px; flex-wrap: wrap; }
.m-btn { font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: var(--r-sm); background: var(--dardo); color: var(--on-dardo); }
.m-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-strong); }
.bubble { align-self: flex-end; max-width: 80%; background: var(--dardo-tint); color: var(--ink); border-radius: 10px 10px 2px 10px; padding: 8px 10px; font-size: 12.5px; }
.inbox-item { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 10px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 12.5px; }
.inbox-item .av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: var(--dardo-tint); color: var(--dardo-strong); }
.inbox-item .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 99px; white-space: nowrap; }
.pill.wait { background: var(--spark); color: var(--on-spark); }
.pill.done { background: transparent; color: var(--success); border: 1px solid currentColor; }
.mail-head { display: flex; flex-direction: column; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.mail-head b { font-size: 13px; }
.phone { align-self: center; width: 132px; height: 250px; margin-bottom: -60px; border: 1px solid var(--line-strong); border-radius: 22px; background: var(--surface-raised); padding: 18px 12px; display: flex; flex-direction: column; gap: 10px; }
.phone .notch { width: 40px; height: 5px; border-radius: 3px; background: var(--line); align-self: center; margin-bottom: 4px; }
.otp { display: flex; gap: 4px; }
.otp span { flex: 1; height: 22px; border: 1px solid var(--line-strong); border-radius: 3px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; }
.facts { list-style: none; margin: 44px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.facts li { display: flex; align-items: baseline; gap: 10px; font-size: 16px; }
.facts svg { width: 14px; height: 10px; fill: var(--spark); flex: none; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cl { display: flex; align-items: center; gap: 14px; padding: 22px; font-family: var(--display); font-size: 20px !important; letter-spacing: -0.01em; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); font-size: 16.5px; font-weight: 600; min-width: 0; }
.cl svg { width: 30px; height: 30px; flex: none; fill: var(--ink); }
.cl.more { font-family: var(--sans); font-size: 16px !important; border-style: dashed; background: transparent; color: var(--ink-muted); font-weight: 500; }
.cl.more .plus { width: 30px; height: 30px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px dashed var(--line-strong); font-size: 18px; }
.also { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; color: var(--ink-muted); font-size: 16px; }
.also .mini { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.also .mini svg { width: 20px; height: 20px; fill: var(--ink); }

/* Beta (pricing placeholder) */
.beta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
@media (max-width: 860px) { .beta { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.beta .band-head { margin-bottom: 0; }
.beta-points { display: flex; flex-direction: column; gap: 0; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); }
.beta-points div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 16px; }
.beta-points div:last-child { border-bottom: 0; }
.beta-points b { font-family: var(--display); font-weight: 600; font-size: 17px; }
.beta-points span { color: var(--ink-muted); }

/* Final CTA */
.cta { min-height: 78svh; display: flex; align-items: center; padding-block: 96px; }
.cta .wrap { width: 100%; display: flex; flex-direction: column; gap: 24px; }
.cta h2 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; max-width: 12em; }
.cta p { color: var(--ink-muted); font-size: 19px; max-width: 34em; }

/* Footer */
footer { border-top: 1px solid var(--line); padding-block: 36px; background: var(--panel); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; font-size: 14px; color: var(--ink-muted); }
footer .lockup { height: 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer nav a { color: var(--ink-muted); text-decoration: none; }
footer nav a:hover { color: var(--ink); }

/* ---------- Motion ---------- */
.step2 { position: relative; }
.waiting { display: none; }
.anim .waiting { position: absolute; left: 0; top: 0; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); opacity: 0; pointer-events: none; }
.waiting i { width: 10px; height: 7px; background: var(--spark); clip-path: polygon(0 100%, 45% 100%, 100% 0, 55% 0); }
.waiting span { margin-left: 6px; }
@keyframes up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes typeIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes waitShow { 0% { opacity: 0; } 10%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hop { 0%, 100% { transform: translateY(0); opacity: .35; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes pick { 0% { background: var(--surface-raised); color: var(--ink-muted); border-color: var(--line-strong); transform: scale(1); } 50% { transform: scale(1.08); } 100% { background: var(--spark); color: var(--on-spark); border-color: var(--spark); transform: scale(1); } }
@keyframes press { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; } 40% { transform: scale(.92); box-shadow: 0 0 0 4px var(--dardo-tint); } }
@keyframes pop { 0% { opacity: 0; transform: scale(.6) translateY(6px); } 70% { transform: scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes underline { from { transform: skewX(-38deg) scaleX(0); } to { transform: skewX(-38deg) scaleX(1); } }
@keyframes slideX { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 5px var(--dardo-tint); } }

/* Hero intro */
.anim .hero-copy > * { animation: up .8s cubic-bezier(.2,.7,.2,1) both; }
.anim .hero-copy > :nth-child(1) { animation-delay: .05s; }
.anim .hero-copy > :nth-child(2) { animation-delay: .15s; }
.anim .hero-copy > :nth-child(3) { animation-delay: .35s; }
.anim .hero-copy > :nth-child(4) { animation-delay: .45s; }
.anim .hero-copy > :nth-child(5) { animation-delay: .6s; }
.anim .hero h1 .p::after { transform-origin: left center; animation: underline .7s cubic-bezier(.6,0,.2,1) .75s both; }
.anim .demo { animation: up 1s cubic-bezier(.2,.7,.2,1) .4s both; }

/* Each example plays out: the call is written, we wait, the person answers */
.anim .scene.run pre.call { animation: typeIn 1.1s steps(7, end) .25s both; }
.anim .scene.run .waiting { animation: waitShow 1.6s ease 1.4s both; }
.anim .scene.run .waiting i { animation: hop 1s ease-in-out infinite; }
.anim .scene.run .waiting i:nth-child(2) { animation-delay: .15s; }
.anim .scene.run .waiting i:nth-child(3) { animation-delay: .3s; }
.anim .scene.run .step2 > .who, .anim .scene.run .step2 > .answer, .anim .scene.run .step2 > .memory { animation: up .55s cubic-bezier(.2,.7,.2,1) 3s both; }
.anim .scene.run .chip.on { animation: pick .45s ease 3.8s both; }
.anim .scene.run .said, .anim .scene.run .prov { animation: fade .5s ease 4.2s both; }
.anim .scene.run .verdict { animation: pop .5s ease 3.5s both; }
.anim .scene.run .valid { animation: pop .45s ease 3.5s both; }
.anim .scene.run .saved { animation: up .5s ease 4.8s both; }

/* Sections enter as you scroll */
.anim .rv-pre { opacity: 0; transform: translateY(22px); }
.anim .rv-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }

/* Story flows run left to right */
.anim .story.play .flow > * { animation: slideX .45s ease both; }
.anim .story.play .flow > :nth-child(1) { animation-delay: .5s; }
.anim .story.play .flow > :nth-child(2) { animation-delay: .75s; }
.anim .story.play .flow > :nth-child(3) { animation-delay: .9s; }
.anim .story.play .flow > :nth-child(4) { animation-delay: 1.15s; }
.anim .story.play .flow > :nth-child(5) { animation-delay: 1.3s; }

/* Channel pictures act out an answer */
.anim .chan.play .m-card { animation: up .6s ease .3s both; }
.anim .chan.play .press { animation: press .5s ease 1.3s both; }
.anim .chan.play .bubble { transform-origin: right bottom; animation: pop .5s ease 1.8s both; }
.anim .chan.play .sent { animation: fade .5s ease 2.3s both; }
.anim .chan.play .inbox-item { animation: slideX .5s ease both; }
.anim .chan.play .inbox-item:nth-child(1) { animation-delay: .3s; }
.anim .chan.play .inbox-item:nth-child(2) { animation-delay: .5s; }
.anim .chan.play .inbox-item:nth-child(3) { animation-delay: .7s; }
.anim .chan.play .pill.wait { animation: pulse .6s ease 1.5s 2; }
.anim .chan.play .phone { animation: up .7s ease .2s both; }
.anim .chan.play .otp span { animation: pop .3s ease both; }
.anim .chan.play .otp span:nth-child(1) { animation-delay: .8s; }
.anim .chan.play .otp span:nth-child(2) { animation-delay: 1s; }
.anim .chan.play .otp span:nth-child(3) { animation-delay: 1.2s; }
.anim .chan.play .otp span:nth-child(4) { animation-delay: 1.4s; }
.anim .chan.play .otp span:nth-child(5) { animation-delay: 1.6s; }
.anim .chan.play .otp span:nth-child(6) { animation-delay: 1.8s; }
.anim .chan.play .approve { animation: glow .8s ease 2.2s 2; }

/* Hover */
.story, .job, .cl, .pic { transition: transform .3s cubic-bezier(.2,.7,.2,1), border-color .3s ease, box-shadow .3s ease; }
.story:hover, .job:hover, .cl:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.pic:hover { transform: translateY(-3px); }
.tl svg path:last-child { transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.tl li:hover svg path:last-child { transform: translate(1.5px, -1.5px); }
.btn-primary { transition: background .2s ease, transform .2s ease; }
.btn-primary:active { transform: scale(.97); }

/* Legal dialogs */
footer .tm { flex-basis: 100%; font-size: 12.5px; color: var(--ink-muted); }
dialog.legal { width: min(680px, calc(100vw - 32px)); max-height: min(80vh, 760px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-raised); }
dialog.legal::backdrop { background: rgba(14,16,22,.45); backdrop-filter: blur(4px); }
.legal-head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; background: var(--surface-raised); border-bottom: 1px solid var(--line); }
.legal-head h2 { font-size: 24px; font-weight: 600; }
.legal-body { padding: 8px 24px 28px; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; line-height: 1.65; }
.legal-body h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin-top: 14px; }
.legal-body p { color: var(--ink-muted); max-width: 62ch; }
.legal-body b { color: var(--ink); font-weight: 600; }
.legal-body .meta { font-size: 13.5px; }
/* Without JavaScript, #privacy and #legal still open the text as a page overlay. */
html:not(.js) dialog.legal:target:not([open]) { display: block; position: fixed; inset: 0; margin: auto; height: fit-content; z-index: 50; overflow: auto; }
.anim dialog.legal[open] { animation: up .35s cubic-bezier(.2,.7,.2,1) both; }

/* Standalone pages (waitlist confirm / leave) */
.msg-page { min-height: 100svh; display: grid; place-items: center; padding: 32px 16px; }
.msg { width: min(560px, 100%); display: flex; flex-direction: column; gap: 18px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-raised); padding: 32px; }
.msg .lockup { height: 26px; align-self: flex-start; }
.msg h1 { font-size: clamp(28px, 5vw, 38px); font-weight: 600; }
.msg p { color: var(--ink-muted); }
.msg form { margin: 0; }
.msg .back { font-size: 14.5px; }
