/* Fonts and design tokens */
@font-face { font-family:"Fira Sans"; src:url("/assets/fonts/fira-sans-regular.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Fira Sans"; src:url("/assets/fonts/fira-sans-medium.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:"Fira Sans"; src:url("/assets/fonts/fira-sans-semibold.woff2") format("woff2"); font-weight:600; font-style:normal; font-display:swap; }
@font-face { font-family:"Fira Sans"; src:url("/assets/fonts/fira-sans-bold.woff2") format("woff2"); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:"Fira Sans Compressed Heavy"; src:url("/assets/fonts/fira-sans-compressed-heavy.woff2") format("woff2"); font-weight:900; font-style:normal; font-display:swap; }

:root {
  --slate:#2b313a;
  --dark:#232830;
  --black:#171b21;
  --panel:#343b45;
  --well:#1e232a;
  --terminal:#10151c;
  --shadow:#1a1f2a;
  --line:rgba(226,234,245,.10);
  --line-strong:rgba(226,234,245,.18);
  --text:#eef2f7;
  --soft:#c0c9d4;
  --muted:#8b96a3;
  --faint:#66707c;
  --cobalt:#3465c9;
  --green:#93b05c;
  --orange:#e2701f;
  --sans:"Fira Sans",sans-serif;
  --display:"Fira Sans Compressed Heavy","Arial Narrow",sans-serif;
  --mono:ui-monospace,"JetBrains Mono","SFMono-Regular",Consolas,monospace;
  --max:1440px;
}

/* Reset and global elements */
*,*::before,*::after { box-sizing:border-box; }
html { background:var(--slate); color:var(--text); font-family:var(--sans); font-synthesis:none; font-size:17px; line-height:1.5; overflow-x:hidden; scroll-behavior:smooth; }
body { margin:0; min-width:0; overflow-x:hidden; }
img { max-width:100%; height:auto; }
a { color:inherit; }
a:hover,.button:hover { cursor:crosshair; }
.display { margin:0; font-family:var(--display); font-weight:900; line-height:.88; letter-spacing:-.005em; }
.mono { font-family:var(--mono); }
.accent { color:var(--cobalt); }
.pixel-art,.wordmark img { image-rendering:pixelated; }
.content-shell { width:min(100%,var(--max)); margin:0 auto; padding-inline:48px; }
.band-slate { background:var(--slate); }
.band-dark { background:var(--dark); }
.band-black { background:var(--black); }

/* Navigation */
.site-header { display:flex; align-items:center; gap:34px; min-height:87px; padding:16px 48px; border-bottom:1px solid var(--line); background:var(--slate); }
.wordmark { display:inline-flex; align-items:center; gap:11px; flex:none; color:var(--text); font-family:var(--display); font-size:23px; line-height:1; letter-spacing:.01em; text-decoration:none; }
.wordmark img { width:auto; height:30px; object-fit:contain; }
.site-nav { display:flex; align-items:center; gap:6px; margin-left:8px; }
.site-nav a { padding:9px 16px; border-radius:8px; color:var(--soft); font-size:15px; font-weight:500; text-decoration:none; }
.site-nav a:hover,.site-nav a:focus-visible { color:var(--text); background:rgba(255,255,255,.04); }
.site-nav a.active { color:var(--text); background:var(--dark); font-weight:600; }
.nav-actions { display:flex; align-items:center; gap:12px; margin-left:auto; }

/* Buttons */
.button { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 28px; color:var(--text); font-size:16px; font-weight:700; line-height:1.1; text-align:center; text-decoration:none; }
.button-primary { border:0; border-radius:0; background:var(--cobalt); box-shadow:4px 4px 0 var(--shadow); color:#fff; transition:transform 120ms ease,box-shadow 120ms ease; }
.button-primary:hover,.button-primary:focus-visible { transform:translate(2px,2px); box-shadow:2px 2px 0 var(--shadow); }
.button-secondary,.button-ghost { border:1px solid var(--line-strong); border-radius:6px; background:transparent; }
.button-secondary:hover,.button-ghost:hover { border-color:rgba(226,234,245,.35); background:rgba(255,255,255,.025); }
.button-small { min-height:42px; padding-inline:20px; font-size:15px; }
.button-row { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-top:30px; }

/* Hero */
.hero { padding:72px 0 112px; }
.hero-banner { display:block; width:min(1100px,100%); margin:0 auto; }
.hero-grid { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(400px,.9fr); align-items:center; gap:72px; margin-top:60px; }
.hero-title { font-size:clamp(54px,5vw,68px); }
.lede { max-width:640px; margin:20px 0 0; color:var(--soft); font-size:20px; line-height:1.55; }
.hero-note { margin:20px 0 0; color:var(--muted); font-size:14px; }
.status-card { overflow:hidden; min-width:0; border:1px solid var(--line-strong); border-radius:12px; background:#171b22; box-shadow:0 30px 80px rgba(0,0,0,.45); }
.status-titlebar { display:flex; align-items:center; gap:9px; padding:12px 16px; border-bottom:1px solid var(--line); background:#131720; }
.status-titlebar img { width:auto; height:18px; }
.status-titlebar strong { font-size:12.5px; }
.status-titlebar span,.status-titlebar time { color:var(--faint); font-size:10px; }
.status-titlebar time { margin-left:auto; }
.status-lines { padding:15px 16px; color:var(--soft); font-size:11px; letter-spacing:.03em; line-height:2.2; }
.status-dot { display:inline-block; width:7px; height:7px; margin-right:9px; }
.status-dot-orange { background:var(--orange); }
.status-dot-green { background:var(--green); }
.status-highlight { display:flex; align-items:center; gap:12px; padding:14px 16px; border-top:1px solid var(--line); }
.status-thumb { position:relative; flex:none; width:112px; height:62px; overflow:hidden; border:1px solid var(--line); border-radius:6px; background:var(--well); }
.status-thumb img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.status-thumb span { position:absolute; right:6px; bottom:5px; padding:1px 5px; border-radius:3px; background:#0d1014; color:var(--soft); font-size:9px; }
.status-highlight-copy { display:flex; min-width:0; flex:1; flex-direction:column; }
.status-highlight-copy strong { font-size:13px; }
.status-highlight-copy span { margin-top:3px; color:var(--muted); font-size:10px; }
.status-highlight-copy .confirmed { margin-top:2px; color:var(--green); }
.status-score { margin-left:auto; text-align:right; white-space:nowrap; }
.status-score strong { display:block; font-size:22px; }
.status-score span { display:block; color:var(--green); font-size:10px; }

/* Shared section devices */
.section-shell { padding-top:90px; padding-bottom:104px; }
.section-rule { display:flex; align-items:center; gap:18px; margin-bottom:42px; color:var(--muted); font-family:var(--mono); font-size:11px; letter-spacing:.11em; white-space:nowrap; }
.section-rule::after { content:""; order:2; width:100%; height:1px; background:var(--line-strong); }
.section-rule span:first-child { order:1; display:flex; align-items:center; gap:10px; color:var(--soft); }
.section-rule span:last-child { order:3; }
.crosshair { position:relative; display:inline-block; width:13px; height:13px; flex:none; border:1px solid var(--cobalt); border-radius:50%; }
.crosshair::before,.crosshair::after { content:""; position:absolute; background:var(--cobalt); }
.crosshair::before { top:-4px; bottom:-4px; left:5px; width:1px; }
.crosshair::after { top:5px; right:-4px; left:-4px; height:1px; }
.section-title { font-size:clamp(46px,4.2vw,56px); }
.section-intro { max-width:640px; margin:20px 0 28px; color:var(--soft); font-size:17px; }
.fine-print { margin:16px 0 0; color:var(--muted); font-size:14px; }

/* Capture */
.capture .section-shell { padding-top:0; }
.clip-reel { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.clip { position:relative; height:190px; overflow:hidden; border:1px solid var(--line-strong); border-radius:10px; background:var(--well); }
.clip > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.clip-kind,.clip-who,.clip-length { position:absolute; z-index:1; font-family:var(--mono); }
.clip-kind { top:10px; left:10px; color:var(--cobalt); font-size:10.5px; font-weight:500; letter-spacing:.1em; }
.clip-who,.clip-length { bottom:9px; padding:3px 8px; border-radius:5px; background:#141c26; color:#e8eef3; font-size:11px; }
.clip-who { left:10px; }
.clip-length { right:10px; }

/* Evidence and screenshots */
.evidence-grid { display:grid; grid-template-columns:410px minmax(0,1fr); align-items:center; gap:60px; }
.evidence-copy p,.install-copy p { margin:20px 0 0; color:var(--soft); font-size:17px; }
.evidence-copy p + p { margin-top:14px; }
.screen { position:relative; overflow:hidden; min-width:0; margin:0; border:1px solid var(--line-strong); border-radius:12px; background:var(--panel); box-shadow:0 30px 80px rgba(0,0,0,.45); }
.screen img { display:block; width:100%; }
.screen figcaption { position:absolute; right:0; bottom:0; left:0; display:flex; justify-content:space-between; gap:16px; padding:20px 16px 10px; background:linear-gradient(transparent,rgba(8,11,15,.88)); color:var(--muted); font-family:var(--mono); font-size:9px; letter-spacing:.09em; pointer-events:none; }

/* Privacy statement */
.statement-shell { padding-top:96px; padding-bottom:100px; }
.privacy-statement h2 { max-width:1060px; font-size:clamp(62px,8.7vw,126px); }
.privacy-statement p { margin:34px 0 0; color:var(--muted); font-size:12px; letter-spacing:.08em; text-transform:lowercase; }

/* Install and support */
.install-grid { display:grid; grid-template-columns:400px minmax(0,1fr); align-items:center; gap:56px; }
.status-pill { display:inline-block; margin-bottom:22px; padding:7px 10px; border:1px solid var(--line-strong); color:var(--soft); font-size:10px; letter-spacing:.08em; }
.terminal { overflow:hidden; margin:0; border:1px solid var(--line-strong); border-radius:12px; background:var(--terminal); box-shadow:0 30px 80px rgba(0,0,0,.45); }
.terminal-bar { display:flex; align-items:center; gap:8px; padding:12px 18px; border-bottom:1px solid rgba(255,255,255,.08); }
.terminal-bar i { width:11px; height:11px; border-radius:50%; background:#39434d; }
.terminal-bar span { margin-left:auto; color:#6b7883; font-family:var(--mono); font-size:11px; }
.terminal pre { overflow:auto; margin:0; padding:22px 26px 12px; color:#c9d4dd; font-family:var(--mono); font-size:14.5px; line-height:2.1; white-space:pre; }
.terminal pre b { color:#8fc7ea; font-weight:500; }
.terminal pre em { color:#5d6a75; font-style:normal; }
.terminal figcaption { padding:0 26px 20px; color:var(--muted); font-size:12px; }
.support-card { margin-top:64px; padding:26px 30px; border:1px solid var(--line-strong); background-color:rgba(23,27,33,.35); background-image:radial-gradient(rgba(226,234,245,.09) 1px,transparent 1px); background-size:14px 14px; }
.support-card h3 { margin:0 0 18px; color:var(--text); font-size:12px; letter-spacing:.12em; }
.support-rows { border-top:1px solid var(--line); background:rgba(35,40,48,.78); }
.support-rows div { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:12px 14px; border-bottom:1px solid var(--line); }
.support-rows strong { color:var(--muted); font-family:var(--mono); font-size:11px; font-weight:500; }
.support-rows strong.tested { color:var(--green); }
.support-card p { margin:16px 0 0; color:var(--muted); font-size:13px; }

/* Editorial page */
.manifesto { padding:108px 0 132px; background:var(--slate); }
.article-shell { width:min(100%,680px); margin:0 auto; padding-inline:24px; }
.article-header { margin-bottom:112px; }
.dateline { margin:0 0 26px; color:var(--muted); font-size:11px; letter-spacing:.12em; }
.article-header h1 { font-size:clamp(64px,8vw,100px); }
.article-lede { margin:32px 0 0; color:var(--soft); font-size:21px; line-height:1.55; }
.article-section { margin-top:100px; }
.article-section h2 { display:flex; align-items:center; gap:12px; margin:0 0 22px; color:var(--soft); font-size:12px; letter-spacing:.12em; }
.article-section p { margin:0; color:var(--soft); font-size:18px; line-height:1.72; }
.article-section p + p { margin-top:18px; }
.article-screen { width:min(calc(100vw - 48px),1120px); margin:100px 50% 0; transform:translateX(-50%); }
.article-cta { margin-top:104px; }

/* Footer */
.site-footer { padding:68px 0 28px; border-top:1px solid var(--line); background:var(--black); }
.footer-bottom { display:flex; align-items:center; justify-content:space-between; gap:28px; padding-top:26px; border-top:1px solid var(--line); }
.footer-bottom .wordmark { font-size:17px; }
.footer-bottom .wordmark img { height:22px; }
.footer-bottom p { margin:0; color:var(--muted); font-size:11px; text-align:right; }

/* 404 */
.error-page { min-height:100vh; background:var(--slate); }
.error-page main { display:flex; min-height:100vh; flex-direction:column; align-items:flex-start; justify-content:center; width:min(100%,760px); margin:0 auto; padding:48px; }
.error-page img { width:auto; height:112px; }
.error-page p { margin:28px 0 18px; color:var(--muted); font-size:12px; letter-spacing:.12em; }
.error-page h1 { margin-bottom:38px; font-size:clamp(64px,10vw,110px); }

/* Responsive */
@media (max-width:900px) {
  .site-header { flex-wrap:wrap; gap:12px 22px; padding:14px 24px; }
  .site-nav { order:3; width:100%; margin:0; }
  .site-nav a { padding:7px 10px; }
  .nav-actions { margin-left:auto; }
  .nav-actions .button-primary { display:none; }
  .content-shell { padding-inline:24px; }
  .hero { padding-top:48px; }
  .hero-grid,.evidence-grid,.install-grid { grid-template-columns:1fr; }
  .hero-grid { gap:48px; margin-top:40px; }
  .status-card { width:100%; max-width:620px; }
  .clip-reel { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .evidence-grid,.install-grid { gap:40px; }
  .evidence-copy,.install-copy { max-width:620px; }
  .article-screen { width:calc(100vw - 32px); }
}

@media (max-width:560px) {
  html { font-size:16px; }
  .site-header { padding-inline:16px; }
  .wordmark { font-size:20px; }
  .wordmark img { height:26px; }
  .nav-actions .button { min-height:38px; padding-inline:14px; }
  .site-nav { gap:0; overflow-x:auto; }
  .site-nav a { font-size:14px; white-space:nowrap; }
  .content-shell { padding-inline:18px; }
  .hero { padding:36px 0 80px; }
  .hero-title { font-size:48px; }
  .lede { font-size:18px; }
  .button-row { align-items:stretch; flex-direction:column; }
  .button-row .button { width:100%; }
  .status-highlight { align-items:flex-start; flex-wrap:wrap; }
  .status-score { width:100%; margin-left:124px; text-align:left; }
  .section-shell { padding-top:70px; padding-bottom:78px; }
  .section-rule { align-items:flex-start; gap:10px; white-space:normal; }
  .section-rule::after { display:none; }
  .section-rule span:last-child { margin-left:auto; text-align:right; }
  .capture .section-shell { padding-top:0; }
  .clip-reel { grid-template-columns:1fr; }
  .clip { height:210px; }
  .privacy-statement h2 { font-size:55px; }
  .statement-shell { padding-top:72px; padding-bottom:74px; }
  .terminal pre { padding-inline:16px; font-size:11.5px; }
  .terminal figcaption { padding-inline:16px; }
  .support-card { padding:20px 16px; }
  .manifesto { padding-top:74px; padding-bottom:92px; }
  .article-header { margin-bottom:80px; }
  .article-header h1 { font-size:61px; }
  .article-section { margin-top:76px; }
  .article-section p { font-size:17px; }
  .article-screen { margin-top:76px; }
      .footer-bottom { align-items:flex-start; flex-direction:column; }
  .footer-bottom p { text-align:left; }
  .error-page main { padding:28px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .button-primary { transition:none; }
}

.footer-row { display:flex; align-items:center; gap:26px; flex-wrap:wrap; }
.footer-links { display:flex; gap:20px; }
.footer-links a { color:var(--muted); font-size:14.5px; }
.footer-row > p { margin-left:auto; color:var(--faint); font-size:12px; }
.footer-row > p a { color:var(--muted); }
