:root {
  --paper: #f3f5f7;
  --surface: #ffffff;
  --ink: #0c1a28;
  --ink-2: #3e4c5e;
  --muted: #637387;
  --line: #dce2e9;
  --stage: #0a1520;
  --stage-2: #12202e;
  --stage-line: #24364a;
  --stage-text: #e6edf4;
  --stage-muted: #93a4b7;
  --signal: #f2b134;          /* detection amber: boxes, highlights, primary action */
  --signal-ink: #1d1404;
  --in: #3b7bf0;
  --out: #ee6a32;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, ui-monospace, monospace;
  --radius: 14px;
  --wrap: 1200px;
  --shadow: 0 1px 2px rgb(12 26 40 / .05), 0 12px 32px -12px rgb(12 26 40 / .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--signal); }
h1, h2 { font-family: var(--display); font-weight: 650; letter-spacing: -.025em; line-height: 1.04; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 60ch; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--body); text-decoration: none; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-signal { background: var(--signal); color: var(--signal-ink); box-shadow: 0 8px 22px -10px rgb(242 177 52 / .9); }
.btn-signal:hover { background: #f6bf52; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-quiet { background: none; border-color: var(--stage-line); color: var(--stage-text); }
.btn-quiet:hover { border-color: var(--stage-muted); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgb(243 245 247 / .82); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font: 700 20px/1 var(--display); letter-spacing: -.02em; }
.brand-mark { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.4; }
.brand-mark circle { fill: var(--signal); stroke: none; }
.brand-sub { font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgb(12 26 40 / .05); }
.nav-cta { margin-left: auto; padding: 10px 18px; font-size: 14px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 88px;
  background: radial-gradient(900px 480px at 85% 10%, rgb(59 123 240 / .10), transparent 70%),
              radial-gradient(700px 420px at 10% 100%, rgb(242 177 52 / .10), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 40px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero-facts dt { font: 500 12px/1.4 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.hero-facts dd { font-weight: 600; font-size: 15px; }

/* viewfinder: the detection-bracket frame used for every video */
.viewfinder { position: relative; padding: 12px; }
.vf-frame { position: relative; border-radius: 10px; overflow: hidden; background: var(--stage); box-shadow: var(--shadow); }
.vf-frame img, .vf-frame video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.vf-corner { position: absolute; width: 30px; height: 30px; border: 0 solid var(--signal); }
.vf-corner.tl { top: 0; left: 0; border-top-width: 3px; border-left-width: 3px; border-top-left-radius: 6px; }
.vf-corner.tr { top: 0; right: 0; border-top-width: 3px; border-right-width: 3px; border-top-right-radius: 6px; }
.vf-corner.bl { bottom: 0; left: 0; border-bottom-width: 3px; border-left-width: 3px; border-bottom-left-radius: 6px; }
.vf-corner.br { bottom: 0; right: 0; border-bottom-width: 3px; border-right-width: 3px; border-bottom-right-radius: 6px; }
.hero-visual figcaption { position: absolute; left: 12px; right: 12px; top: calc(100% + 6px); font-size: 13px; color: var(--muted); }
.hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-overlay .box { fill: none; stroke: var(--signal); stroke-width: 4; }
.hero-overlay .box-fill { fill: rgb(242 177 52 / .10); }
.hero-overlay .chip rect { fill: var(--signal); }
.hero-overlay .chip text { font: 600 26px var(--mono); fill: var(--signal-ink); }
.hero-overlay .cline { stroke: var(--signal); stroke-width: 5; stroke-dasharray: 18 12; }
.vf-osd { position: absolute; font: 500 12px/1 var(--mono); color: #fff; background: rgb(10 21 32 / .72); padding: 7px 10px; border-radius: 6px;
  backdrop-filter: blur(6px); display: inline-flex; align-items: center; gap: 8px; }
.vf-osd-tl { top: 12px; left: 12px; } .vf-osd-br { bottom: 12px; right: 12px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #ff5a4f; box-shadow: 0 0 0 3px rgb(255 90 79 / .25); }
@media (prefers-reduced-motion: no-preference) {
  .hero-overlay .box { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw .9s ease-out forwards; animation-delay: var(--d); }
  .hero-overlay .chip, .hero-overlay .box-fill { opacity: 0; animation: fade .4s ease-out forwards; animation-delay: calc(var(--d) + .6s); }
  .rec { animation: pulse 1.6s ease-in-out infinite; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes pulse { 50% { opacity: .35; } }

/* sections */
.section { padding: 104px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 52px; }
.section-head.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }

/* overview list */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature-grid li { background: var(--surface); padding: 28px 26px; display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; transition: background-color .2s; }
.feature-grid li:hover { background: #fbfcfd; }
.feature-grid svg, .cap svg, .step-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #fff6e2; color: #9a6400; }
.feature-grid h3 { font-size: 17px; }
.feature-grid p { color: var(--ink-2); font-size: 15px; }

/* footfall console */
.console { background: var(--stage); color: var(--stage-text);
  background-image: radial-gradient(800px 400px at 100% 0%, rgb(59 123 240 / .14), transparent 70%); }
.console .eyebrow { color: var(--stage-muted); }
.console .lead { color: var(--stage-muted); }
.clip-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 20px; }

.clip { text-align: left; padding: 0; border: 1px solid var(--stage-line); border-radius: 12px; background: var(--stage-2); overflow: hidden;
  transition: border-color .2s, transform .2s; }
.clip:hover { border-color: var(--stage-muted); transform: translateY(-2px); }
.clip[aria-current="true"] { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.clip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .85; transition: opacity .2s; }
.clip:hover img, .clip[aria-current="true"] img { opacity: 1; }
.clip-meta { display: grid; gap: 2px; padding: 10px 12px 12px; }
.clip-meta b { font: 600 15px var(--display); }
.clip-meta span { font: 12px var(--mono); color: var(--stage-muted); }

.ff-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.stage { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 12px 12px 0 0; overflow: hidden; }
.stage video, .stage canvas, .stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage video { object-fit: fill; }
.stage canvas { pointer-events: none; }
.stage svg { pointer-events: none; touch-action: none; }
.stage.editing svg, .stage.drawing svg { pointer-events: auto; }
.stage.drawing svg { cursor: crosshair; }
.stage-osd { position: absolute; left: 12px; bottom: 12px; font: 500 12px/1 var(--mono); background: rgb(10 21 32 / .75); padding: 7px 10px; border-radius: 6px; pointer-events: none; }
.stage-flash { position: absolute; right: 12px; top: 12px; display: grid; gap: 6px; justify-items: end; pointer-events: none; }
.stage-flash span { font: 600 13px/1 var(--mono); padding: 8px 12px; border-radius: 6px; color: #fff; animation: fade .2s ease-out; }
.stage-flash .in { background: var(--in); } .stage-flash .out { background: var(--out); }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; font: 14px var(--mono); color: var(--stage-muted); background: rgb(10 21 32 / .6); }

/* counting line (SVG in video pixels: 1920 x 1080) */
.l-band { fill: rgb(242 177 52 / .10); }
/* decision zone: a faint tint that only lightens the video (screen blend), so people stay fully visible */
.l-zone { pointer-events: none; stroke-width: 2.5; stroke-dasharray: 12 9; mix-blend-mode: screen; }
.l-zone.in { fill: rgb(59 123 240 / .07); stroke: rgb(110 160 255 / .8); }
.l-zone.out { fill: rgb(238 106 50 / .07); stroke: rgb(255 140 90 / .8); }
.l-ext { pointer-events: none; stroke: var(--signal); stroke-width: 3; stroke-dasharray: 12 10; opacity: .75; }
.zone-ctl { display: grid; grid-template-columns: auto 1fr 3.2em; align-items: center; gap: 6px 10px; margin-top: 12px;
  font-size: 13px; color: var(--stage-muted); }
.zone-ctl input { width: 100%; accent-color: var(--signal); }
.zone-ctl output { font: 12px var(--mono); color: var(--stage-text); text-align: right; }
.l-main { stroke: var(--signal); stroke-width: 6; stroke-linecap: round; }
.l-hit { stroke: transparent; stroke-width: 60; stroke-linecap: round; }
.stage.editing .l-hit { cursor: move; }
.l-arrow { cursor: pointer; }
.l-arrow path { stroke-width: 7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.l-arrow text { font: 700 30px var(--mono); }
.l-arrow.in path { stroke: var(--in); } .l-arrow.in text { fill: var(--in); }
.l-arrow.out path { stroke: var(--out); } .l-arrow.out text { fill: var(--out); }
.l-arrow .hit { fill: transparent; stroke: none; }
.l-arrow text { paint-order: stroke; stroke: rgb(0 0 0 / .65); stroke-width: 6px; }
.l-handle { fill: #fff; stroke: var(--signal); stroke-width: 6; cursor: grab; }
.l-handle-hit { fill: transparent; cursor: grab; }
.l-handle:focus { outline: none; stroke: #fff; fill: var(--signal); }
.stage:not(.editing) .l-handle, .stage:not(.editing) .l-handle-hit { display: none; }
.stage.flash-in .l-main { stroke: var(--in); } .stage.flash-out .l-main { stroke: var(--out); }

.transport { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: var(--stage-2);
  border: 1px solid var(--stage-line); border-top: 0; border-radius: 0 0 12px 12px; }
.icon-btn { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--signal); display: grid; place-items: center; }
.icon-btn svg { width: 20px; height: 20px; fill: var(--signal-ink); }
.time { font: 13px var(--mono); color: var(--stage-muted); white-space: nowrap; }
.timeline { position: relative; flex: 1; height: 34px; min-width: 80px; }
.markers { position: absolute; left: 8px; right: 8px; top: 3px; height: 10px; pointer-events: none; }
.markers i { position: absolute; top: 0; width: 2px; height: 10px; border-radius: 1px; transform: translateX(-1px); }
.markers i.in { background: var(--in); } .markers i.out { background: var(--out); top: 2px; height: 8px; }
.timeline input { position: absolute; left: 0; right: 0; bottom: 2px; width: 100%; margin: 0; accent-color: var(--signal); }
.speed { display: flex; border: 1px solid var(--stage-line); border-radius: 8px; overflow: hidden; }
.speed button { border: 0; background: none; padding: 6px 9px; font: 12px var(--mono); color: var(--stage-muted); }
.speed button[aria-pressed="true"] { background: var(--stage-line); color: var(--stage-text); }
.speed button:disabled { opacity: .35; cursor: not-allowed; }
.speed.mode button[aria-pressed="true"] { background: var(--signal); color: #1d1404; }

.ff-panel { background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: 12px; padding: 18px; display: grid; gap: 18px; }
.counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.count { padding: 12px; border-radius: 10px; background: var(--stage); border: 1px solid var(--stage-line); position: relative; overflow: hidden; }
.count::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; }
.count.in::before { background: var(--in); } .count.out::before { background: var(--out); } .count.now::before { background: var(--signal); }
.count .label { display: block; font-size: 12px; color: var(--stage-muted); }
.count b { font: 500 32px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.totals { font-size: 13px; color: var(--stage-muted); margin-top: -8px; }
.panel-block { border-top: 1px solid var(--stage-line); padding-top: 16px; }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.block-head h3 { font-size: 16px; }
.line-state { font: 12px var(--mono); color: var(--stage-muted); }
.line-state.dirty { color: var(--signal); }
.line-tools { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.tool { display: grid; justify-items: center; gap: 6px; padding: 10px 4px; border: 1px solid var(--stage-line); border-radius: 10px;
  background: var(--stage); font-size: 12.5px; color: var(--stage-text); line-height: 1.2; text-align: center; transition: border-color .15s; }
.tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tool:hover { border-color: var(--stage-muted); }
.tool[aria-pressed="true"] { border-color: var(--signal); color: var(--signal); }
.hint { font-size: 13px; color: var(--stage-muted); margin: 12px 0; min-height: 3.2em; }
.save-row { display: flex; gap: 8px; flex-wrap: wrap; }
.legend { font-size: 12px; color: var(--stage-muted); display: flex; align-items: center; gap: 6px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.dot.in { background: var(--in); } .dot.out { background: var(--out); margin-left: 6px; }
.events { max-height: 236px; overflow: auto; display: grid; gap: 2px; scrollbar-width: thin; scrollbar-color: var(--stage-line) transparent; }
.events button { width: 100%; display: grid; grid-template-columns: 8px 70px 1fr auto; gap: 10px; align-items: center; padding: 7px 8px;
  border: 0; border-radius: 6px; background: none; text-align: left; font-size: 13px; color: var(--stage-text); }
.events button:hover { background: var(--stage); }
.events .future { opacity: .4; }
.events .t { font-family: var(--mono); color: var(--stage-muted); }
.events .id { font-family: var(--mono); color: var(--stage-muted); font-size: 12px; }
.events .empty { padding: 8px; color: var(--stage-muted); font-size: 13px; }
.footnote { margin-top: 18px; font-size: 13px; color: var(--stage-muted); max-width: 90ch; }

/* showcase */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.feature-player .viewfinder { margin: -12px; }
.feature-player video { background: var(--stage); object-fit: contain; }
.feature-info { padding-top: 28px; display: grid; gap: 10px; max-width: 70ch; }
.feature-info h3 { font-size: 26px; }
.feature-info p { color: var(--ink-2); }
.feature-info h4 { font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 8px; }
.tag { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: #8a5a00; background: #fff3d6; padding: 6px 9px; border-radius: 6px; justify-self: start; }
.ticks { display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 6px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.demo-list { display: grid; gap: 10px; }
.demo { width: 100%; display: grid; grid-template-columns: 120px 1fr; gap: 14px; align-items: center; padding: 8px; text-align: left;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s; }
.demo:hover { border-color: #c4ccd6; box-shadow: var(--shadow); transform: translateY(-1px); }
.demo[aria-current="true"] { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal); }
.demo .thumb { position: relative; border-radius: 8px; overflow: hidden; background: var(--stage); }
.demo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.demo .dur { position: absolute; right: 5px; bottom: 5px; font: 11px/1 var(--mono); color: #fff; background: rgb(10 21 32 / .8); padding: 3px 5px; border-radius: 4px; }
.demo b { display: block; font: 600 15px/1.3 var(--display); }
.demo small { font: 12px var(--mono); color: var(--muted); }

/* capabilities */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cap { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  transition: transform .2s, box-shadow .2s, background-color .2s; }
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow); background: var(--surface); }
.cap .ico { margin-bottom: 18px; }
.cap h3 { margin-bottom: 8px; }
.cap p { color: var(--ink-2); font-size: 15px; }
.cap .out { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.cap .out b { font: 500 11.5px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); display: block; margin-bottom: 2px; }

/* about */
.pipeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: step; margin-bottom: 64px; }
.pipeline li { position: relative; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.pipeline li:not(:last-child)::after { content: ""; position: absolute; right: -14px; top: 42px; width: 14px; height: 2px; background: var(--signal); }
.pipeline h3 { font-size: 17px; margin: 14px 0 6px; }
.pipeline p { font-size: 14.5px; color: var(--ink-2); }
.step-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--stage); color: var(--signal); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-grid h3 { margin-bottom: 16px; }

/* footer */
.footer { background: var(--stage); color: var(--stage-text); padding: 64px 0 28px; }
.brand-light .brand-mark { stroke: var(--stage-text); }
.brand-light .brand-sub { color: var(--stage-muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--stage-line); }
.footer h3 { font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--stage-muted); margin-bottom: 14px; }
.footer-tag { margin-top: 14px; color: var(--stage-muted); }
.contact { display: grid; gap: 8px; font-size: 15px; }
.contact li { display: grid; grid-template-columns: 64px 1fr; }
.contact li > span:first-child { color: var(--stage-muted); }
.placeholder { color: var(--signal); }
.contact a { color: inherit; text-decoration: underline; text-decoration-color: rgb(242 177 52 / .6); text-underline-offset: 3px; }
.contact a:hover { color: var(--signal); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; color: var(--stage-text); }
.footer-links a:hover { color: var(--signal); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 13px; color: var(--stage-muted); }

/* reveal on scroll */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.in-view { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* responsive */
@media (max-width: 1080px) {
  .hero-grid, .section-head.split { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 40px; }
  .ff-layout, .showcase { grid-template-columns: minmax(0, 1fr); }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline li::after { display: none; }
  .feature-grid, .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--surface); flex-direction: column;
    padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 680px) {
  .section { padding: 72px 0; }
  .lead { font-size: 16.5px; }
  .hero-facts { grid-template-columns: 1fr; }
  .feature-grid, .cap-grid, .pipeline, .about-grid, .footer-grid, .demo-list { grid-template-columns: minmax(0, 1fr); }
  .clip-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .transport { flex-wrap: wrap; gap: 10px; }
  .timeline { order: 5; flex-basis: 100%; }
  .speed { margin-left: auto; }
  .counts b { font-size: 26px; }
}
