@font-face { font-family: "Geist"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/geist-latin.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/geist-mono-latin.woff2") format("woff2"); }
:root {
  --bg: #000;
  --bg-1: #0a0a0a;
  --bg-2: #111;
  --line: #1f1f1f;
  --line-2: #2a2a2a;
  --text: #ededed;
  --muted: #8f8f8f;
  --dim: #5f5f5f;
  --accent: #fff;
  --ok: #3ddc97;
  --bad: #ff6b6b;
  --radius: 14px;
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 0.1em 0.4em; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 600; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(0, 0, 0, 0.72); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; height: 60px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.links { display: flex; gap: 22px; margin-left: 12px; font-size: 14px; color: var(--muted); }
.links a:hover { color: var(--text); }
.nav-cta { margin-left: auto; display: flex; gap: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-1); color: var(--text); font-size: 14px; font-weight: 500; transition: background 0.15s, border-color 0.15s, transform 0.15s; cursor: pointer; }
.btn:hover { border-color: #444; background: var(--bg-2); }
.btn.primary { background: var(--accent); color: #000; border-color: var(--accent); }
.btn.primary:hover { background: #d9d9d9; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); }
.btn.sm { height: 34px; padding: 0 13px; font-size: 13px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 16px; height: 16px; }

/* Hero */
.hero { padding: 96px 0 40px; text-align: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: -200px 0 auto; height: 700px; background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(255, 255, 255, 0.08), transparent 70%); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px; padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--bg-1); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
h1 { font-size: clamp(42px, 7.4vw, 84px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 700; background: linear-gradient(180deg, #fff 30%, #9a9a9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 640px; margin: 24px auto 0; font-size: clamp(17px, 2vw, 19px); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 36px; }
.fine { margin: 18px 0 0; font-size: 13px; color: var(--dim); }
.models { margin-top: 30px; font-size: 14px; color: var(--dim); }
.models b { color: var(--muted); font-weight: 500; }

.shot { margin: 56px 0 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--bg-1); box-shadow: 0 40px 120px -20px rgba(255, 255, 255, 0.06), 0 0 0 6px rgba(255, 255, 255, 0.02); }
.hero-shot { margin-top: 64px; }

/* Sections */
.section { padding: 110px 0 0; }
.kicker { margin: 0 0 12px; font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; letter-spacing: -0.035em; }
.sub { max-width: 640px; margin: 16px 0 0; color: var(--muted); font-size: 17px; }

/* Pipeline */
.pipeline { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pipeline li { background: var(--bg); padding: 22px 18px 24px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.pipeline li span:last-child { color: var(--muted); }
.pipeline b { font-weight: 600; font-size: 15px; }
.num { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 12px var(--mono); color: var(--muted); margin-bottom: 6px; }

/* Bento */
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-1), var(--bg)); transition: border-color 0.2s; }
.tile:hover { border-color: var(--line-2); }
.tile.wide { grid-column: span 2; }
.tile h3 { font-size: 17px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 36px; }
.tabs button { font: 500 14px var(--font); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; cursor: pointer; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: #000; background: var(--accent); border-color: var(--accent); }
.tabs + .shot { margin-top: 22px; }

/* Benchmarks */
.bench-cards { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bcard { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.bcard.us { border-color: #3a3a3a; background: linear-gradient(180deg, #151515, var(--bg-1)); }
.bcard .name { font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.bcard .tag { font: 500 11px var(--mono); color: #000; background: var(--accent); border-radius: 5px; padding: 2px 6px; }
.bcard .big { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; margin: 8px 0 2px; }
.bcard .big small { font-size: 16px; color: var(--dim); font-weight: 500; }
.bcard .bar { height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; margin: 10px 0 14px; }
.bcard .bar i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.bcard dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: 13px; }
.bcard dt { color: var(--dim); }
.bcard dd { margin: 0; font-family: var(--mono); color: var(--text); text-align: right; }
.bench-table-wrap { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.bench-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.bench-table th, .bench-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bench-table thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); background: var(--bg-1); }
.bench-table tbody tr:last-child td { border-bottom: 0; }
.bench-table td.task { white-space: normal; }
.bench-table .cat { display: inline-block; margin-left: 8px; font: 500 11px var(--mono); color: var(--dim); border: 1px solid var(--line-2); border-radius: 5px; padding: 1px 6px; }
.res { font-family: var(--mono); font-size: 13px; }
.res .ok { color: var(--ok); }
.res .no { color: var(--bad); }
.res .part { color: #d9b45b; }
.bench-headline { margin: 28px 0 0; font-size: 16px; color: var(--muted); }
.bench-headline b { color: var(--text); font-weight: 600; white-space: nowrap; }
.bench-cost { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); color: var(--muted); font-size: 14px; }
.bench-cost b { color: var(--text); }
.res .t { color: var(--dim); margin-left: 6px; }
.bench-notes { margin-top: 20px; font-size: 14px; color: var(--dim); max-width: 860px; }
.bench-notes p { margin: 0 0 10px; }
.bench-empty { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }

/* Skills */
.skill-groups { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.skill-groups > div { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.skill-groups h4 { font-size: 15px; margin-bottom: 8px; }
.skill-groups p { margin: 0; color: var(--muted); font: 14px/1.9 var(--mono); }

/* Privacy */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* FAQ */
.faq { margin-top: 36px; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--muted); }

/* Final CTA */
.final { padding-bottom: 110px; }
.final img { margin: 0 auto 24px; }
.final .cta-row { margin-top: 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--dim); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.footer .links { margin: 0; font-size: 13px; }

/* Download page */
.dl { min-height: calc(100vh - 61px); display: grid; place-items: center; text-align: center; padding: 60px 0; }
.dl h1 { font-size: clamp(34px, 5vw, 52px); }
.dl ol { text-align: left; max-width: 460px; margin: 32px auto 0; color: var(--muted); padding-left: 20px; }
.dl ol li { margin-bottom: 8px; }


/* Hero stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 44px auto 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-1); }
.stats > div { padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { font-size: 26px; font-weight: 600; letter-spacing: -0.03em; }
.stats span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Animated swarm */
.swarm { margin: 56px auto 0; max-width: 900px; text-align: left; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-1); font: 13px/1 var(--mono); display: grid; gap: 11px; }
.lane { display: grid; grid-template-columns: 170px 1fr 250px; align-items: center; gap: 14px; color: var(--muted); }
.lane .track { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.lane .track i { display: block; height: 100%; width: 0; background: #d0d0d0; border-radius: 3px; animation: fill var(--t, 1.6s) cubic-bezier(.4,0,.2,1) var(--d) forwards; }
.lane .st { opacity: 0; animation: show .3s ease calc(var(--d) + var(--t, 1.6s)) forwards; color: var(--dim); }
.lane.result { padding-top: 11px; border-top: 1px solid var(--line); color: var(--text); }
.lane.result .track i { background: var(--ok); }
.lane .st.ok { color: var(--ok); }
@keyframes fill { to { width: 100%; } }
@keyframes show { to { opacity: 1; } }
.swarm + .hero-shot { margin-top: 24px; }

/* Use cases */
.uses { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uses article { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-1), var(--bg)); }
.uses .ico { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 17px; margin-bottom: 18px; background: var(--bg-2); }
.uses h3 { font-size: 18px; margin-bottom: 8px; }
.uses p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
.uses .eg { margin-top: auto; font: 13px/1.5 var(--mono); color: var(--text); padding: 10px 12px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line); }

/* Comparison */
.cmp-wrap { margin-top: 44px; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 820px; }
.cmp th, .cmp td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp thead th { font-weight: 500; color: var(--muted); background: var(--bg-1); white-space: nowrap; }
.cmp thead th.us { color: #000; background: var(--accent); font-weight: 600; }
.cmp tbody th { text-align: left; font-weight: 400; color: var(--text); width: 34%; }
.cmp td:nth-child(2) { background: rgba(255, 255, 255, 0.04); }
.cmp td.y { color: var(--ok); font-weight: 500; }
.cmp td.n { color: var(--dim); }
.cmp td.p { color: #d9b45b; font-size: 12.5px; }
.p-dot { color: #d9b45b; }
.fine.left { text-align: left; max-width: 860px; }
.fine a { text-decoration: underline; text-underline-offset: 3px; }
.center-sub { margin-left: auto; margin-right: auto; }
.sub em { font-style: normal; color: var(--text); }

@media (max-width: 960px) {
  .uses { grid-template-columns: 1fr; }
  .lane { grid-template-columns: 120px 1fr; }
  .lane .st { grid-column: 2; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .lane { grid-template-columns: 1fr; gap: 6px; }
  .lane .st { grid-column: auto; }
}

@media (max-width: 960px) {
  .links { display: none; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 64px; }
  .pipeline, .bento, .skill-groups { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .section { padding-top: 80px; }
  .repo-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lane .track i { animation: none; width: 100%; }
  .lane .st { animation: none; opacity: 1; }
  * { transition: none !important; }
}

/* Comparison cell notes */
.cmp td span { display: block; margin-top: 2px; font-size: 12px; line-height: 1.35; }
.cmp td.n span { color: var(--dim); }
.cmp th a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.cmp th a:hover { color: var(--text); }

/* GitHub button */
.gh { gap: 7px; }
.gh svg { width: 16px; height: 16px; }
.gh .stars { font: 500 12px var(--mono); color: var(--muted); border-left: 1px solid var(--line-2); padding-left: 8px; }

/* CLI install */
.install { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 6px 6px 6px 14px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-1); max-width: 100%; }
.install-label { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); white-space: nowrap; }
.install code { background: none; border: 0; padding: 0; font-size: 14px; color: var(--text); overflow-x: auto; white-space: nowrap; }
.install .copy { font: 500 12px var(--font); color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 6px 10px; cursor: pointer; }
.install .copy:hover { border-color: #444; }
@media (max-width: 640px) {
  .install { display: flex; flex-wrap: wrap; justify-content: center; padding: 10px; }
  .gh span:not(.stars) { display: none; }
}

/* Legal pages */
.legal { padding: 80px 0 100px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5vw, 48px); background: none; color: var(--text); -webkit-background-clip: initial; background-clip: initial; }
.legal .updated { margin: 10px 0 36px; color: var(--dim); font-size: 14px; }
.legal .lede-s { font-size: 18px; color: var(--text); }
.legal h2 { font-size: 20px; letter-spacing: -0.01em; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal b { color: var(--text); font-weight: 500; }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.legal a:hover { text-decoration-color: var(--text); }
.legal pre { background: var(--bg-1); border: 1px solid var(--line); border-radius: 10px; padding: 14px; overflow-x: auto; }
.legal pre code { background: none; border: 0; padding: 0; }

/* Footer */
.footer { padding: 48px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px; }
.footer-brand p { margin: 12px 0 0; max-width: 380px; }
.footer-brand .tm { font-size: 12px; color: var(--dim); line-height: 1.5; }
.footer-brand a:not(.brand) { text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links h4 { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); margin-bottom: 12px; }
.footer-links a { display: block; color: var(--muted); font-size: 14px; padding: 3px 0; }
.footer-links a:hover { color: var(--text); }
@media (max-width: 760px) {
  .footer-grid, .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

.parity { margin: 22px 0 0; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); font-size: 15px; background: var(--bg-1); }
.parity b { color: var(--text); font-weight: 500; }

/* Download page */
.platforms { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; max-width: 860px; margin: 34px auto 0; text-align: left; }
.platform { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-1); transition: border-color 0.15s; }
.platform:hover { border-color: var(--line-2); }
.platform.on { border-color: #4a4a4a; background: linear-gradient(180deg, #151515, var(--bg-1)); }
.platform b { font-weight: 500; font-size: 14px; }
.platform span { font: 12px var(--mono); color: var(--dim); overflow-wrap: anywhere; }
.dl code.sha { font-size: 11px; overflow-wrap: anywhere; }
