@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: Sora; font-weight: 600; font-display: swap; src: url(fonts/sora-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 500; font-display: swap; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); }

:root {
  --bg: #070b14;
  --bg2: #0a0f1a;
  --card: #0d1422;
  --card2: #111a2b;
  --line: rgba(148, 163, 184, 0.14);
  --line2: rgba(148, 163, 184, 0.28);
  --fg: #e8eef6;
  --fg2: #b6c2d1;
  --fg3: #9aa7b8;
  --accent: #22d3ee;
  --on-accent: #04131a;
  --link: #67e8f9;
  --ok: #4ade80;
  --warn: #fbbf24;
  --err: #f87171;
  --display: Sora, Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--link); }
a:hover { color: #a5f3fc; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
code, pre { font-family: var(--mono); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 10; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: 8px; }
.skip:focus { left: 16px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.band { background: var(--bg2); border-block: 1px solid var(--line); }

/* Header */
.topbar { position: relative; z-index: 20; }
.site-header { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-block: 22px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; }
.brand:hover { color: var(--fg); }
.brand img { height: 30px; width: auto; }
.brand span { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: 0.01em; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 28px; flex: 1 1 auto; font-size: 15px; }
.site-nav a, .footer-nav a { color: var(--fg3); text-decoration: none; }
.site-nav a:hover, .footer-nav a:hover { color: var(--fg); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: #67e8f9; color: var(--on-accent); }
.btn-ghost { border: 1px solid var(--line2); color: var(--fg); font-weight: 500; }
.btn-ghost:hover { border-color: var(--fg3); color: var(--fg); }
.btn-lg { min-height: 52px; padding: 0 26px; border-radius: 12px; font-size: 17px; }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0; font: 400 13px/1.4 var(--mono); color: var(--fg3); letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; }
.h1 { font-size: clamp(42px, 5.6vw, 74px); line-height: 1.04; letter-spacing: -0.025em; }
.h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -0.02em; }
.h3 { font-size: clamp(28px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 19px; color: var(--fg2); max-width: 34em; }
.sub { margin: 0; font-size: 18px; color: var(--fg2); }
.muted { color: var(--fg3); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: 72px 96px; }
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 12px 0 0; list-style: none; font-size: 15px; color: var(--fg3); }
.facts strong { color: var(--fg); font-weight: 600; }
.hero-visual { flex: 1 1 520px; min-width: 0; position: relative; }
.pixels { position: absolute; left: -84px; top: 70px; width: 84px; height: 170px; pointer-events: none; }
.pixels i { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); background: var(--accent); opacity: 0.55; }
.pixels i:nth-child(even) { background: #0ea5c4; }
.browser { position: relative; border-radius: 16px; border: 1px solid rgba(148, 163, 184, 0.18); background: var(--card); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: var(--card2); }
.dots { display: flex; gap: 6px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.url { flex: 1 1 auto; min-width: 0; padding: 6px 12px; border-radius: 8px; background: #0a101c; font: 12px var(--mono); color: var(--fg3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ext-icon { position: relative; width: 30px; height: 30px; border-radius: 8px; background: #1b2638; display: flex; align-items: center; justify-content: center; flex: none; }
.ext-icon img { width: 22px; }
.ext-icon b { position: absolute; right: -6px; bottom: -5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 4px; background: #dc2626; color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
@property --n { syntax: "<integer>"; inherits: false; initial-value: 5; }
.ext-icon b::after { counter-reset: n var(--n); content: counter(n); }
.browser-body { display: flex; flex-wrap: wrap; }
.skeleton { flex: 1 1 160px; min-width: 0; padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.skeleton i { display: block; height: 10px; border-radius: 4px; background: #131d2e; }
.skeleton .t1 { height: 14px; width: 60%; background: #1b2638; }
.skeleton .t2 { height: 30px; width: 85%; border-radius: 6px; background: #162133; }
.skeleton .img { height: 120px; border-radius: 10px; background: var(--card2); border: 1px solid rgba(148, 163, 184, 0.1); }
.skeleton .btn-s { height: 40px; width: 46%; border-radius: 8px; background: #1b2638; }
.panel-shot { position: relative; flex: 0 0 auto; width: 300px; max-width: 100%; border-left: 1px solid var(--line); overflow: hidden; }
.panel-shot img { display: block; width: 100%; }
.scan { position: absolute; left: 0; right: 0; top: 0; height: 90px; opacity: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.10) 85%, rgba(103, 232, 249, 0.55) 99%, rgba(34, 211, 238, 0)); }

/* Platforms: two rows that drift in opposite directions; a wrapped static list without motion */
.platforms-band { padding-block: 56px 60px; overflow: hidden; }
.plat-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.plat-head h2 { display: flex; align-items: center; gap: 10px; font: 500 13px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg3); }
.plat-head h2::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; }
.plat-head p { margin: 0; font-size: 15px; color: var(--fg3); }
.marquees { max-width: 1200px; margin: 0 auto; padding-inline: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.marquee, .track, .track ul { display: contents; }
.track ul { margin: 0; padding: 0; list-style: none; }
.track ul[aria-hidden] { display: none; }
.track li { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 16px; border-radius: 999px; border: 1px solid rgba(148, 163, 184, 0.18); background: rgba(13, 20, 34, 0.75); font-size: 15px; color: #dfe6ef; white-space: nowrap; transition: border-color 0.3s, color 0.3s, background-color 0.3s; }
.track li:hover { border-color: rgba(34, 211, 238, 0.5); background: var(--card); color: var(--fg); }
.track li i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); flex: none; }
.track li.soon { border-style: dashed; color: var(--fg3); }
.track li.soon code { color: var(--accent); background: rgba(34, 211, 238, 0.1); }
.track li code { font-size: 12px; color: var(--fg3); padding: 3px 9px; border-radius: 999px; background: rgba(148, 163, 184, 0.09); }

/* Sections */
.section { padding-block: 120px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 720px; margin-bottom: 56px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { padding: 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 21px; line-height: 1.3; }
.card p { margin: 0; color: var(--fg2); font-size: 16px; }
.sev { display: flex; align-items: center; gap: 10px; font: 12px var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg3); }
.sev::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--err); }
.sev.warn::before { background: var(--warn); }
.card code { margin-top: auto; padding: 10px 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; color: #cfd8e3; white-space: pre-wrap; word-break: break-word; }

.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.tabs-copy { flex: 1 1 420px; display: flex; flex-direction: column; gap: 28px; }
.tab-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tab-list li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.tab-list b { flex: 0 0 72px; font: 500 14px/1.7 var(--mono); color: var(--accent); }
.tab-list span { flex: 1 1 auto; min-width: 0; color: #cfd8e3; font-size: 16px; }
.shots { flex: 1 1 520px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.shots img { width: 260px; border-radius: 16px; border: 1px solid rgba(148, 163, 184, 0.2); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.shots img + img { margin-top: 48px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin: 48px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 12px; }
.steps .n { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font: 500 16px var(--mono); }
.steps h3 { font-size: 21px; }
.steps p { margin: 0; color: var(--fg2); font-size: 16px; }

.privacy-copy { flex: 1 1 400px; display: flex; flex-direction: column; gap: 18px; align-self: flex-start; }
.facts-grid { flex: 1 1 460px; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.facts-grid li { padding: 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.facts-grid b { font-weight: 600; font-size: 16px; }
.facts-grid span { color: var(--fg3); font-size: 14.5px; line-height: 1.5; }

.panel-box { border-radius: 20px; border: 1px solid rgba(148, 163, 184, 0.16); background: var(--card); padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.panel-box > div { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.kicker { margin: 0; font: 13px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.terminal { flex: 1 1 440px; min-width: 0; margin: 0; padding: 22px 24px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-size: 13px; line-height: 1.8; color: #cfd8e3; overflow-x: auto; }
.terminal .ln { display: block; white-space: pre; }
.terminal .k { color: var(--fg3); }
.terminal .ok { color: var(--ok); }
.terminal .err { color: var(--err); }
.terminal .warn { color: var(--warn); }

/* Setup agent */
.agent-head { display: flex; flex-direction: column; gap: 16px; max-width: 780px; margin-bottom: 56px; }
.agent-body { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.agent-steps { flex: 1 1 440px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.agent-steps li { position: relative; display: flex; gap: 20px; padding-bottom: 28px; }
.agent-steps li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: 4px; width: 1px; background: linear-gradient(var(--accent), rgba(34, 211, 238, 0.1)); }
.agent-steps .n { flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font: 500 16px var(--mono); background: var(--bg); }
.agent-steps h3 { font-size: 20px; line-height: 40px; }
.agent-steps p { margin: 2px 0 0; color: var(--fg2); font-size: 16px; }
.agent-demo { flex: 1 1 420px; min-width: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 110px; }
.demo-card { border-radius: 16px; border: 1px solid rgba(148, 163, 184, 0.18); background: var(--card); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); overflow: hidden; }
.demo-top { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 15px; }
.demo-top img { width: 28px; }
.demo-top b { flex: 1 1 auto; font-weight: 600; }
.demo-tag { padding: 3px 10px; border-radius: 999px; background: rgba(251, 191, 36, 0.14); color: var(--warn); font-size: 12px; white-space: nowrap; }
.demo-plan { width: 100%; border-collapse: collapse; font-size: 14px; }
.demo-plan th { padding: 10px 18px; text-align: left; font: 500 12px var(--mono); color: var(--fg3); background: rgba(148, 163, 184, 0.06); }
.demo-plan th:not(:first-child), .demo-plan td:not(:first-child) { text-align: center; width: 64px; padding-inline: 6px; }
.demo-plan td { padding: 12px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 13px; color: #cfd8e3; }
.demo-plan i { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 7px; font-style: normal; font-size: 13px; background: rgba(148, 163, 184, 0.1); color: var(--fg3); }
.demo-plan i.on { background: rgba(74, 222, 128, 0.14); color: var(--ok); }
.demo-actions { display: flex; gap: 10px; padding: 16px 18px; border-top: 1px solid var(--line); }
.demo-btn { padding: 8px 16px; border-radius: 9px; border: 1px solid var(--line2); font-size: 14px; font-weight: 500; }
.demo-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.demo-log { list-style: none; margin: 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg2); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #cfd8e3; }
.demo-log li { display: flex; align-items: center; gap: 10px; }
.demo-log li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; }
.demo-log li.wait::before { background: var(--warn); }
.agent-trust { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.agent-trust li { padding: 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.agent-trust b { font-weight: 600; font-size: 16px; }
.agent-trust span { color: var(--fg3); font-size: 14.5px; line-height: 1.5; }
.agent-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px; border-radius: 14px; border: 1px solid rgba(34, 211, 238, 0.25); background: rgba(34, 211, 238, 0.05); }
.agent-cta p { margin: 0; color: var(--fg); font-size: 16px; }

.cta { max-width: 860px; margin: 0 auto; padding: 120px 24px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.dino { position: relative; width: 132px; }
.dino img { display: block; width: 132px; }
.dino .pixels { left: -56px; top: 4px; width: 56px; height: 70px; }
.cta h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.025em; }
.store-note { margin: 0; font-size: 15px; color: var(--fg3); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { padding-block: 40px 56px; display: flex; flex-direction: column; gap: 24px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-row .brand { flex: 1 1 auto; }
.footer-row .brand img { height: 24px; }
.footer-row .brand span { font-size: 17px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.fine { margin: 0; font-size: 13px; line-height: 1.6; color: #8592a3; max-width: 70em; }

/* Legal and support pages */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 96px; }
.doc h1 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; }
.doc .date { margin: 12px 0 32px; color: var(--fg3); font-size: 15px; }
.doc h2 { margin: 48px 0 12px; font-size: 24px; line-height: 1.25; }
.doc h3 { margin: 28px 0 8px; font-size: 18px; }
.doc p, .doc li { color: #cfd8e3; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li { margin: 6px 0; }
.doc code { padding: 1px 6px; border-radius: 4px; background: var(--card2); font-size: 0.88em; }
.doc strong { color: var(--fg); }
.doc .toc { margin: 0 0 8px; padding: 20px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.doc .toc ul { margin: 8px 0 0; }
.doc .callout { padding: 18px 20px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); border-left-width: 1px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #cfd8e3; }
.doc th { color: var(--fg); font-weight: 600; }
.table-box { overflow-x: auto; }

@media (max-width: 600px) {
  .section { padding-block: 80px; }
  .hero { padding-block: 40px 72px; }
  .pixels, .skeleton { display: none; }
  .panel-shot { width: 100%; border-left: 0; border-top: 1px solid var(--line); }
  .shots img { width: 100%; max-width: 320px; }
  .shots img + img { margin-top: 0; }
}

/* Motion. Everything below is CSS only (the CSP allows no scripts) and is skipped
   when the visitor asks for reduced motion. Scroll-linked parts need
   animation-timeline support (Chrome 115+); elsewhere the page is simply static. */
:root { --ease: cubic-bezier(0.2, 0.7, 0.2, 1); }
.h1 .w { display: inline-block; }
.tab-list li { position: relative; }
.tab-list li::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.tab-list li:hover::after { transform: scaleX(1); }
.tab-list b { transition: letter-spacing 0.4s var(--ease); }
.tab-list li:hover b { letter-spacing: 0.06em; }
.btn { position: relative; overflow: hidden; transition: translate 0.25s var(--ease), box-shadow 0.3s, background-color 0.2s, border-color 0.2s; }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%); translate: -120% 0; }
.btn-primary:hover { translate: 0 -2px; box-shadow: 0 12px 32px rgba(34, 211, 238, 0.28); }
.btn-primary:hover::after { translate: 120% 0; transition: translate 0.8s var(--ease); }
.btn-ghost:hover { translate: 0 -2px; }
.card { transition: translate 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s; }
.card:hover { translate: 0 -4px; border-color: rgba(34, 211, 238, 0.35); box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }
.sev::before { color: var(--err); }
.sev.warn::before { color: var(--warn); }
.facts-grid li { transition: border-color 0.4s, translate 0.4s var(--ease); }
.facts-grid li:hover { border-color: rgba(34, 211, 238, 0.3); translate: 0 -3px; }
.hero-visual::before { content: ""; position: absolute; inset: 10% -6% -4% 18%; background: radial-gradient(closest-side, rgba(34, 211, 238, 0.16), transparent); filter: blur(30px); pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance */
  .hero .eyebrow { animation: rise 0.9s var(--ease) 0.05s both; }
  .h1 .w { animation: word 1s var(--ease) both; animation-delay: calc(0.12s + var(--i) * 0.07s); }
  .hero .lead { animation: rise 0.9s var(--ease) 0.5s both; }
  .hero .actions { animation: rise 0.9s var(--ease) 0.62s both; }
  .hero .facts { animation: rise 0.9s var(--ease) 0.74s both; }
  .browser { animation: browser-in 1.2s var(--ease) 0.3s both, float 9s ease-in-out 1.6s infinite; }
  .hero-visual::before { animation: breathe 7s ease-in-out infinite; }
  .ext-icon b { animation: pop 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 1.1s both, ping 2.8s ease-out 2.6s infinite; }
  .ext-icon b::after { animation: count 1.3s ease-out 1.15s both; }
  .scan { animation: scan 5s var(--ease) 1.8s infinite; }
  .pixels i { opacity: 0; animation: drift var(--t) linear var(--d) infinite; }
  .dino img { animation: bob 2.8s ease-in-out infinite; }
  .card:hover .sev::before { animation: ring 1.2s ease-out infinite; }
  .marquees { flex-direction: column; flex-wrap: nowrap; max-width: none; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .marquee { display: block; overflow: hidden; }
  .track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
  .marquee.rev .track { animation-direction: reverse; animation-duration: 52s; }
  .marquee:hover .track { animation-play-state: paused; }
  .track ul { display: flex; gap: 12px; padding-right: 12px; }
  .track ul[aria-hidden] { display: flex; }

  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes word { from { opacity: 0; transform: translateY(0.4em); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
  @keyframes browser-in { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  @keyframes breathe { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }
  @keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6); } 60%, 100% { box-shadow: 0 0 0 9px rgba(220, 38, 38, 0); } }
  @keyframes count { from { --n: 0; } to { --n: 5; } }
  @keyframes scan { 0% { top: -90px; opacity: 0; } 8% { opacity: 1; } 55% { top: 100%; opacity: 1; } 56%, 100% { top: 100%; opacity: 0; } }
  @keyframes drift { 0% { opacity: 0; transform: translateX(0) scale(1); } 15% { opacity: 0.8; } 100% { opacity: 0; transform: translateX(-70px) scale(0.4); } }
  @keyframes marquee { to { transform: translateX(-50%); } }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
  @keyframes ring { 0% { box-shadow: 0 0 0 0 currentColor; } 100% { box-shadow: 0 0 0 7px transparent; } }

  /* Scroll-linked: sections rise in, screenshots move at different speeds, terminal lines type in */
  @supports (animation-timeline: view()) {
    .section-head, .privacy-copy, #how-h, .card, .tab-list li, .steps li, .facts-grid li,
    .panel-box, .cta > *, .plat-head, .marquees, .agent-head, .agent-steps li, .agent-trust li, .agent-cta, .demo-card, .demo-log li {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 5% cover 26%;
    }
    .grid .card:nth-child(3n + 2), .steps li:nth-child(2), .facts-grid li:nth-child(2), .tab-list li:nth-child(2) { animation-range: entry 12% cover 30%; }
    .grid .card:nth-child(3n + 3), .steps li:nth-child(3), .facts-grid li:nth-child(3), .tab-list li:nth-child(3) { animation-range: entry 19% cover 34%; }
    .facts-grid li:nth-child(4), .tab-list li:nth-child(4) { animation-range: entry 26% cover 38%; }
    .agent-trust li:nth-child(2), .demo-log li:nth-child(2) { animation-range: entry 12% cover 30%; }
    .agent-trust li:nth-child(3), .demo-log li:nth-child(3) { animation-range: entry 19% cover 34%; }
    .shots img:first-child { animation: lift-a linear both; animation-timeline: view(); animation-range: cover; }
    .shots img + img { animation: lift-b linear both; animation-timeline: view(); animation-range: cover; }
    .panel-box { view-timeline-name: --term; }
    .terminal .ln { animation: type linear both; animation-timeline: --term; }
    .terminal .ln:nth-child(1) { animation-range: cover 14% cover 24%; }
    .terminal .ln:nth-child(2) { animation-range: cover 20% cover 30%; }
    .terminal .ln:nth-child(3) { animation-range: cover 26% cover 36%; }
    .terminal .ln:nth-child(4) { animation-range: cover 32% cover 42%; }
    .terminal .ln:nth-child(5) { animation-range: cover 38% cover 48%; }
    .terminal .ln:last-child::after { content: ""; display: inline-block; width: 8px; height: 15px; margin-left: 6px; vertical-align: -2px; background: var(--accent); animation: blink 1.1s steps(1) infinite; }

    @keyframes reveal { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
    @keyframes lift-a { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
    @keyframes lift-b { from { transform: translateY(100px); } to { transform: translateY(-60px); } }
    @keyframes type { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
    @keyframes blink { 50% { opacity: 0; } }
  }
}

/* Header frosts once the page scrolls (wide screens only, where it stays on one line) */
@supports (animation-timeline: scroll()) {
  @media (min-width: 900px) {
    .topbar { position: sticky; top: 0; -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); animation: frost linear both; animation-timeline: scroll(root); animation-range: 0 140px; }
    @keyframes frost {
      from { background-color: rgba(7, 11, 20, 0); box-shadow: 0 1px 0 rgba(148, 163, 184, 0); }
      to { background-color: rgba(7, 11, 20, 0.86); box-shadow: 0 1px 0 var(--line); }
    }
  }
}

@media (max-width: 600px) {
  .shots img { animation: none !important; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 899px) { .agent-demo { position: static; } }
