/* VokalCRM marketing site.
   Brand tokens: vokalcrm/docs/design/logo-brief.md. Layout follows .agents/design-trends-2026.md. */
:root {
  --paper: #FBF8F3;
  --layer: #F5F0E8;
  --line: #E7DFD3;
  --ink: #2A241C;
  --ink-soft: #5C5247;
  --muted: #7E7367;
  --accent: #DE5A3D;          /* large text, buttons, marks only */
  --accent-hover: #C6472C;
  --accent-text: #A3381F;     /* small text in accent colour (AA on paper) */
  --accent-soft: #FDF0EC;     /* small tints only (chips, badges), never big surfaces */
  --sand: #F3EADF;            /* warm surface for the hero stage */
  --sage: #517A5F;
  --sage-text: #3F6A4E;
  --sage-soft: #E8EFE9;
  --card: #FFFDF9;
  --dark-bg: #231E18;
  --dark-card: #2C261F;
  --dark-line: #3A3229;
  --dark-ink: #F5F0E8;
  --dark-muted: #B9AD9E;
  --shadow: 0 1px 2px rgba(42, 36, 28, .06), 0 24px 48px -24px rgba(42, 36, 28, .28);
  --radius: 20px;
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --text: "Hanken Grotesk", system-ui, sans-serif;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1C1813;
    --layer: #231E18;
    --line: #3A3229;
    --ink: #F5F0E8;
    --ink-soft: #CFC4B6;
    --muted: #A39787;
    --accent-text: #F09A84;
    --accent-soft: #2E211B;
    --sand: #26201A;
    --sage-text: #8FB79B;
    --sage-soft: #1E2721;
    --card: #26201A;
    --dark-bg: #14110D;
    --dark-card: #1E1914;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 24px 48px -24px rgba(0, 0, 0, .75);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 32px); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.02; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.8rem, 7.2vw, 6rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; max-width: 18ch; }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
p { color: var(--ink-soft); }
.eyebrow {
  font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 16px;
}
.lead { font-size: 1.18rem; max-width: 34rem; margin-top: 26px; }
.micro { font-size: .92rem; color: var(--muted); margin-top: 16px; }

/* Grain overlay */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--grain); opacity: .09; mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) { .grain::after { mix-blend-mode: screen; opacity: .05; } }
.dark.grain::after { mix-blend-mode: screen; opacity: .05; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #FFF8F4; text-decoration: none; font-weight: 700;
  font-size: 1rem; padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer; font-family: inherit;
  transition: background .2s, transform .2s;
  box-shadow: 0 12px 26px -14px rgba(222, 90, 61, .8);
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px;
}
.btn-small { padding: 10px 18px; font-size: .92rem; box-shadow: none; }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { background: var(--layer); }
.btn-ghost { background: transparent; color: var(--sage-text); box-shadow: inset 0 0 0 2px currentColor; margin-top: 28px; }
.btn-ghost:hover { background: var(--sage); color: #FFF8F4; }
.link-btn { background: none; border: 0; font: inherit; color: var(--muted); cursor: pointer; padding: 8px 0; }
.link-btn:hover { color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.lockup { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.lockup-mark { width: 30px; height: 28px; fill: var(--accent); }
.lockup-word { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); }
.lockup-word span { color: var(--accent); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--ink-soft); }
.nav a:hover { color: var(--accent-text); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stage {
  position: relative; border-radius: 28px; padding: clamp(18px, 3vw, 36px);
  background: linear-gradient(160deg, var(--sand), var(--layer));
  border: 1px solid var(--line);
}
.hero-frame { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--card); }
.hero-frame img { width: 100%; height: auto; }
.hero-stage figcaption { margin-top: 14px; font-size: .8rem; color: var(--muted); }
.toast {
  position: absolute; left: -22px; bottom: 17%; display: flex; gap: 12px; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: var(--shadow); max-width: 300px;
  animation: toast-in .6s cubic-bezier(.2,.8,.2,1) 3.5s both;
}
.toast b { display: block; font-size: .95rem; color: var(--ink); }
.toast small { display: block; font-size: .8rem; color: var(--muted); }
.toast-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--sage); color: #fff; display: grid; place-items: center; flex: none; }
.toast-icon svg { width: 18px; height: 18px; }
.next-chip {
  position: absolute; right: -14px; bottom: 9%; background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: .92rem; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow);
  animation: toast-in .6s cubic-bezier(.2,.8,.2,1) 4.2s both, nudge 2.6s ease-in-out 5s infinite;
}
.next-chip span { display: inline-block; margin-left: 4px; }

/* Hero moment: the call "talks", then the bars settle into the heart (the VokalCRM mark).
   Final state is the default style; animations only play the way in, so reduced motion shows the end state. */
.call-pill {
  position: absolute; top: -18px; left: clamp(18px, 3vw, 36px); z-index: 2;
  display: flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: toast-in .5s cubic-bezier(.2,.8,.2,1) .3s both, pop .45s ease 3.05s;
}
.pill-mark { width: 30px; height: 28px; fill: var(--accent); animation: to-heart .5s ease 3s both; }
.pill-mark rect { transform-box: fill-box; transform-origin: center; animation: talk .55s ease-in-out .5s 4; }
.pill-mark rect:nth-child(2) { animation-duration: .45s; animation-delay: .62s; }
.pill-mark rect:nth-child(3) { animation-duration: .6s;  animation-delay: .55s; }
.pill-mark rect:nth-child(4) { animation-duration: .5s;  animation-delay: .7s; }
.pill-mark rect:nth-child(5) { animation-duration: .65s; animation-delay: .52s; }
.pill-mark rect:nth-child(6) { animation-duration: .48s; animation-delay: .66s; }
.pill-mark rect:nth-child(7) { animation-duration: .58s; animation-delay: .6s; }
.pill-mark rect:nth-child(8) { animation-duration: .44s; animation-delay: .74s; }
.pill-mark rect:nth-child(9) { animation-duration: .52s; animation-delay: .58s; }
.pill-text { display: grid; font-weight: 700; font-size: .9rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pill-text > span { grid-area: 1 / 1; white-space: nowrap; }
.pt-live { color: var(--sage-text); opacity: 0; animation: fade-out .35s ease 3s backwards; }
.pt-done { animation: fade-in .35s ease 3.1s backwards; }
@keyframes to-heart { from { fill: var(--sage); } to { fill: var(--accent); } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { 0%, 100% { transform: none; } 45% { transform: scale(1.07); } }

/* Board tile: one ranking row overtakes another when the tile comes into view (class .go set by app.js) */
.board-wrap { position: relative; }
.rank {
  position: absolute; right: -10px; bottom: -14px; width: min(270px, 62%);
  background: #1C1813; border: 1px solid #4A3F33; border-radius: 16px; padding: 14px 16px;
  box-shadow: 0 24px 40px -18px rgba(0,0,0,.85);
}
.rank-h { font-size: .72rem !important; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #B9AD9E !important; display: flex; justify-content: space-between; margin-bottom: 10px; }
.rank-h span { color: #8FB79B; letter-spacing: .04em; }
.rank-body { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.rank ol { list-style: none; display: grid; gap: 6px; }
.rank-pos li { height: 34px; display: grid; align-items: center; color: #8A7F72; font-weight: 700; font-size: .9rem; }
.rank-rows li {
  height: 34px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px;
  border-radius: 10px; background: #2C261F; color: #F5F0E8; font-weight: 600; font-size: .92rem;
  transition: transform .7s cubic-bezier(.3,.9,.3,1), background .6s;
}
.rank-rows b { position: relative; display: inline-grid; color: #8FD3A8; font-variant-numeric: tabular-nums; }
.rank-rows i { grid-area: 1 / 1; font-style: normal; transition: opacity .3s, transform .3s; }
.n-new { opacity: 0; transform: translateY(8px); }
.rank.go .r-b { transform: translateY(calc(-100% - 6px)); background: #3A2A22; }
.rank.go .r-a { transform: translateY(calc(100% + 6px)); }
.rank.go .n-old { opacity: 0; transform: translateY(-8px); }
.rank.go .n-new { opacity: 1; transform: none; transition-delay: .15s; }

/* Fact strip */
.facts { border-block: 1px solid var(--line); }
.facts-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row li { padding: 22px 20px; border-left: 1px solid var(--line); display: grid; gap: 2px; }
.facts-row li:first-child { border-left: 0; padding-left: 0; }
.facts-row b { font-family: var(--display); font-size: 1.12rem; color: var(--ink); letter-spacing: -0.01em; }
.facts-row span { font-size: .92rem; color: var(--muted); }

/* Problem */
.problem { padding: clamp(72px, 10vw, 136px) 0; }
.statement { max-width: none; font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 28px; }
.statement .fade { color: var(--muted); }
.problem p { font-size: 1.15rem; max-width: 42rem; }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.sub { margin-top: 16px; font-size: 1.12rem; }

/* Timeline */
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline li { position: relative; padding-top: 38px; }
.timeline li::before {
  content: ""; position: absolute; top: 2px; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 4px var(--accent);
}
.when { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 8px; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { font-size: .97rem; }

/* Screenshots */
.shot { margin-top: 56px; }
.shot img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.shot figcaption { margin-top: 12px; font-size: .82rem; color: var(--muted); }

/* Telephony */
.telephony { border-top: 1px solid var(--line); }
.banner {
  margin-top: 24px; display: inline-block; font-weight: 600; color: var(--accent-text);
  border-left: 3px solid var(--accent); padding: 4px 0 4px 14px; font-size: 1.08rem;
}
.paths { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; margin-top: 48px; }
.path { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.path-strong { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); box-shadow: var(--shadow); }
.path-tag { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sage-text); margin-bottom: 10px; }
.path h3 { font-size: 1.55rem; margin-bottom: 10px; }
.path-arrow { display: grid; place-items: center; color: var(--accent); }
.path-arrow svg { width: 64px; }

/* CRM */
.crm { padding-top: 0; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.split p { font-size: 1.1rem; }

/* Dark agency section + bento */
.dark { background: var(--dark-bg); }
.dark h2, .dark h3 { color: var(--dark-ink); }
.dark p { color: var(--dark-muted); }
.dark .eyebrow { color: #F09A84; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.tile {
  background: var(--dark-card); border: 1px solid var(--dark-line); border-radius: 22px; padding: 26px;
  display: flex; flex-direction: column; gap: 10px; overflow: hidden;
}
.tile h3 { font-size: 1.12rem; }
.tile p { font-size: .95rem; }
.tile-n { font-family: var(--display); font-weight: 800; color: #F09A84; font-size: 1rem; letter-spacing: .02em; }
.tile-board, .tile-portal { grid-column: span 2; padding-bottom: 18px; }
.tile-board img, .tile-portal img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--dark-line); margin-top: 12px; }
.tile-portal picture { margin-block: auto; }
.tile-note { font-size: .78rem !important; color: #8A7F72 !important; }

/* Bot */
.bot { background: var(--sage-soft); }
.bot-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bot-grid p + p { margin-top: 14px; }
.bot-grid h2 { margin-bottom: 22px; }
.bot .eyebrow { color: var(--sage-text); }
.convo { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.convo-head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.convo-live { font-size: .75rem; font-weight: 700; color: var(--muted); background: var(--layer); padding: 4px 10px; border-radius: 999px; transition: background .3s, color .3s; }
.convo-timer { margin-left: auto; font-size: .85rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.convo.live .convo-live { color: var(--sage-text); background: var(--sage-soft); }
.convo.live .convo-live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--sage); margin-right: 6px; vertical-align: 1px; animation: blink 1.2s ease-in-out infinite; }
.breathe { width: 28px; height: 26px; fill: var(--accent); flex: none; transition: fill .5s; }
.convo.live .breathe { fill: var(--sage); }
.breathe rect { transform-box: fill-box; transform-origin: center; }
.convo.bot-speaking .breathe rect { animation: talk .5s ease-in-out infinite; }
.convo.bot-speaking .breathe rect:nth-child(2n) { animation-duration: .42s; animation-delay: .1s; }
.convo.bot-speaking .breathe rect:nth-child(3n) { animation-duration: .58s; animation-delay: .2s; }
.lines { list-style: none; display: grid; gap: 10px; padding: 18px 0; align-content: start; }
.lines li { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.45; }
.convo.playing .lines li:not(.shown):not(.typing), .convo.playing .convo-result:not(.shown) { display: none; }
.lines li.shown, .convo-result.shown { animation: rise .35s ease both; }
.line-tag { display: block; width: fit-content; margin-top: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--sage-text); background: var(--card); border: 1px solid color-mix(in srgb, var(--sage) 35%, transparent); padding: 2px 8px; border-radius: 999px; }
.lines li.typing { display: flex; gap: 4px; align-items: center; padding: 14px 16px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; animation: dot 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.replay { background: none; border: 0; font: inherit; color: var(--sage-text); font-weight: 600; cursor: pointer; margin-left: 8px; }
.replay:hover { text-decoration: underline; }
.bot-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.bot-chips li { font-size: .88rem; font-weight: 600; color: var(--sage-text); background: var(--card); border: 1px solid color-mix(in srgb, var(--sage) 30%, var(--line)); padding: 6px 12px; border-radius: 999px; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes dot { 0%, 100% { transform: none; opacity: .4; } 50% { transform: translateY(-3px); opacity: .9; } }
.bot-line { background: var(--sage-soft); color: var(--ink); border-bottom-left-radius: 4px; }
.human-line { justify-self: end; background: var(--layer); color: var(--ink-soft); border-bottom-right-radius: 4px; }
.convo-result { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: var(--layer); }
.convo-result svg { width: 22px; height: 22px; color: var(--sage-text); flex: none; }
.convo-result span { font-size: .88rem; color: var(--muted); }
.convo-result b { display: block; color: var(--ink); font-size: .95rem; }
.convo figcaption { margin-top: auto; padding-top: 12px; font-size: .8rem; color: var(--muted); }

/* Deploy */
.deploy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.deploy article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.deploy h3 { font-size: 1.55rem; margin-bottom: 10px; }
.note { margin-top: 22px; color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.12rem; color: var(--ink); line-height: 1.3;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 500; color: var(--accent); transition: transform .2s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 0 22px; max-width: 46rem; }

/* Final + form */
.final { border-top: 1px solid var(--line); }
.final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.final-grid h2 { margin-bottom: 20px; }
.final-grid > div > p { font-size: 1.12rem; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
.ticks svg { width: 22px; height: 22px; color: var(--sage-text); flex: none; }
.form {
  background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow); display: grid; gap: 18px; position: relative;
}
.form-steps { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); }
.step-dot { width: 28px; height: 4px; border-radius: 4px; background: var(--line); }
.step-dot.is-on { background: var(--accent); }
.step-label { margin-left: 8px; }
.step { border: 0; display: grid; gap: 16px; min-width: 0; }
.step[hidden] { display: none; }
.form-title { font-family: var(--display); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label, .label { font-size: .88rem; font-weight: 600; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input:not([type]) {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%;
}
input[aria-invalid="true"] { border-color: var(--accent); }
.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: block; text-align: center; padding: 11px 6px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); font-weight: 600; font-size: .95rem; color: var(--ink-soft); cursor: pointer;
}
.seg input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.seg[aria-invalid="true"] span { border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.check a { color: var(--accent-text); }
.form-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step > .btn { width: 100%; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { font-size: .95rem; min-height: 1.2em; }
.form-status.ok { color: var(--sage-text); font-weight: 700; }
.form-status.err { color: var(--accent-text); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid nav { display: grid; gap: 8px; align-content: start; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
.footer-grid a:hover { color: var(--accent-text); }
.footer-grid p { font-size: .95rem; }
.footer-h { font-weight: 700; color: var(--ink) !important; margin-bottom: 4px; font-size: .9rem !important; }
.footer-tag { margin-top: 14px; color: var(--muted); max-width: 18rem; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.footer-bottom p { font-size: .85rem; color: var(--muted); }

/* Motion */
@keyframes talk { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.5); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(4px); } }
.reveal { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 110ms); }
@supports (animation-timeline: view()) {
  .shot, .tile, .path, .deploy article, .timeline li {
    animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1020px) {
  .nav { display: none; }
  .header-row { justify-content: space-between; }
  .hero-grid, .bot-grid, .final-grid, .split, .faq-grid { grid-template-columns: 1fr; }
  .hero-stage { max-width: 620px; }
  .toast { left: 8px; }
  .next-chip { right: 8px; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .paths { grid-template-columns: 1fr; }
  .path-arrow { transform: rotate(90deg); height: 40px; }
  .bento { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .toast { position: static; margin-top: 14px; max-width: none; }
  .next-chip { display: none; }
  .call-pill { left: 12px; top: -14px; }
  .rank { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .facts-row { grid-template-columns: 1fr; }
  .facts-row li { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .facts-row li:first-child { border-top: 0; }
  .timeline, .deploy, .bento { grid-template-columns: 1fr; }
  .tile-board, .tile-portal { grid-column: auto; }
  .seg { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
