/* gethop.org — two products, two voices, one dark habitat.
   HopOS speaks phosphor green (it IS the console color of the OS);
   HOP speaks copper (the operator's tool — the metal in bare metal).
   The SURF banner borrows the blue of its own compositor — cooler than both,
   because it is a thing that runs on HopOS, not a third product.
   Each page sets --acc via a body class; everything inherits its voice. */
:root {
  --bg: #0b0f14;
  --panel: #10161d;
  --panel-2: #0d1219;
  --line: #1d2733;
  --text: #cdd6e0;
  --muted: #7f8b9b;
  --copper: #e09a63;
  --copper-dim: #a97045;
  --leaf: #56c88b;
  --leaf-dim: #3a8a60;
  --wave: #6ba6ff;
  --wave-dim: #43709f;
  --phosphor: #46d979;
  --fault: #e0654f;
  --acc: var(--copper);
  --acc-dim: var(--copper-dim);
  --mono: ui-monospace, "SF Mono", "Cascadia Code", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.pg-hopos { --acc: var(--leaf); --acc-dim: var(--leaf-dim); }
body.pg-hop { --acc: var(--copper); --acc-dim: var(--copper-dim); }
body.pg-surf { --acc: var(--wave); --acc-dim: var(--wave-dim); }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 2px; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

/* ── topbar ─────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  display: flex; align-items: center; gap: 28px;
  height: 56px; font-family: var(--mono); font-size: 13.5px;
}
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .04em; }
.brand:hover { text-decoration: none; }
.brand .ears { color: var(--acc); font-weight: 400; }
.topnav { display: flex; gap: 20px; margin-left: auto; align-items: center; }
.topnav a { color: var(--muted); letter-spacing: .02em; }
.topnav a:hover { color: var(--text); text-decoration: none; }
.topnav a.other-hopos:hover { color: var(--leaf); }
.topnav a.other-hop:hover { color: var(--copper); }
.topnav a.other-surf:hover { color: var(--wave); }
.gh {
  border: 1px solid var(--acc-dim); color: var(--acc);
  padding: 5px 14px; border-radius: 3px; letter-spacing: .02em;
}
.topnav a.gh:hover, .gh:hover {
  background: var(--acc); color: var(--bg); text-decoration: none;
}

/* mobiel: hamburger (checkbox-truc, geen JS) — de links passen niet naast
   het merk, dus onder 720px klapt de nav in een paneel onder de balk. */
.menu-box { display: none; }
.menu-btn { display: none; }
@media (max-width: 720px) {
  .topbar-in { position: relative; }
  .menu-btn {
    display: block; margin-left: auto; cursor: pointer;
    font-family: var(--mono); font-size: 19px; line-height: 1;
    color: var(--muted); padding: 6px 12px;
    border: 1px solid var(--line); border-radius: 3px;
  }
  .menu-box:checked ~ .menu-btn { color: var(--acc); border-color: var(--acc-dim); }
  .topnav { display: none; }
  .menu-box:checked ~ .topnav {
    display: grid; gap: 14px; justify-items: start;
    position: absolute; top: 55px; left: -24px; right: -24px;
    margin: 0; padding: 20px 32px 24px;
    background: var(--panel-2); border-bottom: 1px solid var(--line);
  }
  .menu-box:checked ~ .topnav a:not(.gh) { padding: 2px 0; }
}

/* ── chooser (front page) ───────────────────────────────── */
.chooser { min-height: 100svh; display: grid; align-content: center; padding: 48px 0; }
.chooser-head { margin-bottom: 42px; }
.chooser-head pre {
  margin: 0 0 20px; font-family: var(--mono); font-size: 14px; line-height: 1.5;
  color: var(--copper);
}
.chooser-head p { color: var(--muted); font-size: 19px; max-width: 32em; margin: 0; }
.chooser-head p strong { color: var(--text); }
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 800px) { .doors { grid-template-columns: 1fr; } }
.door {
  display: block; border: 1px solid var(--line); border-radius: 6px;
  padding: 32px 32px 28px; background: var(--panel-2); color: var(--text);
  transition: border-color .15s ease;
}
.door:hover { text-decoration: none; border-color: var(--acc-dim); }
.door .name { font-family: var(--mono); font-size: 32px; font-weight: 700; color: var(--acc); letter-spacing: -.01em; }
.door .role {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--muted); margin: 4px 0 16px;
}
.door p { margin: 0 0 20px; font-size: 15px; color: var(--muted); }
.door p b { color: var(--text); font-weight: 600; }
.door .door-fact {
  display: block; margin: -3px 0 13px; font-family: var(--mono);
  font-size: 11.5px; color: var(--acc); letter-spacing: .03em;
}
.door .go { font-family: var(--mono); font-size: 13.5px; color: var(--acc); }
.door-hopos { --acc: var(--leaf); --acc-dim: var(--leaf-dim); }
.door-hop { --acc: var(--copper); --acc-dim: var(--copper-dim); }

/* SURF krijgt een échte banner: een gevuld blauw blok, zoals een advertentie.
   Hij mág schreeuwen — maar hij is één regel hoog en heeft geen kop, dus hij
   kan nooit voor een sectie doorgaan. Het label zegt wat het is. */
.banner {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 30px; padding: 17px 24px; border-radius: 5px;
  font-family: var(--mono); color: #eaf2ff;
  background: linear-gradient(100deg,
    color-mix(in srgb, var(--wave) 54%, #071019),
    color-mix(in srgb, var(--wave) 38%, #071019));
  transition: filter .15s ease;
}
.banner:hover { text-decoration: none; filter: brightness(1.14); }
.banner-name { font-size: 19px; font-weight: 700; letter-spacing: .02em; color: #fff; }
.banner-sub { font-size: 14px; color: color-mix(in srgb, #fff 74%, var(--wave)); }
.banner .badge {
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; margin-left: auto; padding: 3px 9px;
  background: #eaf2ff; color: #0d1a2b; border-radius: 3px;
}
/* Zodra de regel wikkelt hoort het label niet meer rechts te hangen. */
@media (max-width: 620px) { .banner .badge { margin-left: 0; } }
.chooser-foot {
  margin-top: 46px; font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  display: flex; gap: 24px; flex-wrap: wrap;
}
.chooser-foot a { color: var(--muted); }
.chooser-foot a:hover { color: var(--text); }

/* ── page hero ──────────────────────────────────────────── */
.hero { padding: 76px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }
.pg-mark {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--acc); margin: 0 0 18px;
}
h1 {
  font-family: var(--mono); font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.16; letter-spacing: -.015em; margin: 0 0 20px;
  font-weight: 700; text-wrap: balance;
}
.lede { font-size: 17.5px; color: var(--muted); max-width: 30em; margin: 0 0 28px; }
.lede strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  font-family: var(--mono); font-size: 14.5px; padding: 11px 20px;
  border-radius: 3px; border: 1px solid transparent;
}
.btn-primary { background: var(--acc); color: #101418; font-weight: 700; }
.btn-primary:hover { filter: brightness(1.12); text-decoration: none; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--acc-dim); text-decoration: none; }
.btn-dl { display: inline-flex; align-items: center; gap: 9px; }
.btn-dl svg { flex: none; }
.cross { font-family: var(--mono); font-size: 12.5px; margin-top: 20px; color: var(--muted); }
.cross a.to-hop { color: var(--copper); }
.cross a.to-hopos { color: var(--leaf); }

/* ── sections ───────────────────────────────────────────── */
section { padding: 64px 0; border-bottom: 1px solid var(--line); }
h2 {
  font-family: var(--mono); font-size: clamp(21px, 2.8vw, 27px);
  letter-spacing: -.01em; margin: 0 0 16px; text-wrap: balance;
}
.section-lede { color: var(--muted); max-width: 42em; margin: 0 0 36px; }
.section-lede strong, section p strong { color: var(--text); font-weight: 600; }
section p { max-width: 42em; }

/* ── terminal ───────────────────────────────────────────── */
.term {
  background: #070b10; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; box-shadow: 0 24px 60px -32px rgba(0,0,0,.9);
}
.term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  letter-spacing: .05em; background: var(--panel-2);
}
.term-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.term-bar .dot:first-child { background: #2c3a4a; }
.term pre {
  margin: 0; padding: 18px 18px 20px; overflow-x: auto;
  font-family: var(--mono); font-size: 12.8px; line-height: 1.62;
  color: var(--phosphor);
}
.term .dim { color: #2f7a4c; }
.term .hi { color: #7dffa8; font-weight: 700; }
.term .fault { color: var(--fault); }
.term .cmt { color: var(--muted); }
.term .ps { color: var(--copper); }
.term-cli pre { color: var(--text); font-size: 13px; }
.term-cli .out { color: var(--phosphor); }
.boot-line { opacity: 0; animation: bootline .01s linear forwards; }
@keyframes bootline { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .boot-line { animation: none; opacity: 1; } }

/* ── tables ─────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14.5px; }
th {
  font-family: var(--mono); font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--muted); font-weight: 600; text-align: left;
}
th, td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
thead tr { background: var(--panel-2); }
td:first-child { color: var(--muted); }
td.us { color: var(--text); }
td.us::before { content: "▸ "; color: var(--acc); }

/* ── ladder ─────────────────────────────────────────────── */
.ladder { display: grid; gap: 12px; max-width: 720px; font-variant-numeric: tabular-nums; }
.rung { display: grid; grid-template-columns: 240px 1fr 90px; gap: 16px; align-items: center; font-size: 14px; }
@media (max-width: 720px) { .rung { grid-template-columns: 150px 1fr 80px; } }
.rung .lbl { color: var(--muted); }
.rung .lbl b { color: var(--text); font-weight: 600; }
.rung .bar { height: 10px; border-radius: 2px; background: var(--panel); position: relative; overflow: hidden; }
.rung .bar i { position: absolute; inset: 0 auto 0 0; background: var(--acc-dim); border-radius: 2px; }
.rung:first-child .bar i { background: var(--acc); }
.rung .n { font-family: var(--mono); font-size: 13.5px; color: var(--text); text-align: right; }
.ladder-sub {
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  max-width: 720px; text-align: right; margin: 14px 0 0;
}
.ladder-sub b { color: var(--acc); }

/* Per-architectuur-sprossen: je compileert er precies één van, dus ze staan
   onder een streep en dragen hun eigen label i.p.v. dat ze meetellen alsof
   elke node alles draait. */
.rung-split {
  grid-column: 1 / -1; margin: 6px 0 2px; padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
}
.rung-split b { color: var(--acc); font-weight: 600; }
.rung-arch .lbl b { color: var(--acc); }
.rung-arch .bar i { background: color-mix(in srgb, var(--acc) 55%, var(--panel)); }
.rung-board .lbl b { color: var(--text); }
.rung-board .bar i { background: color-mix(in srgb, var(--acc) 28%, var(--panel)); }

/* ── cards & callouts ───────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 5px; padding: 24px; background: var(--panel-2); }
.card h3 { font-family: var(--mono); font-size: 15.5px; margin: 0 0 10px; letter-spacing: .01em; color: var(--text); }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; max-width: none; }
.card p b { color: var(--text); font-weight: 600; }
.honest {
  border: 1px solid var(--line); border-left: 3px solid var(--acc);
  border-radius: 4px; padding: 20px 24px; background: var(--panel-2);
  max-width: 46em; margin-top: 36px;
}
.honest h3 { font-family: var(--mono); font-size: 13.5px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 10px; color: var(--acc); }
.honest p { font-size: 14.5px; color: var(--muted); margin: 0; max-width: none; }
.honest p b { color: var(--text); }

/* ── screenshots ────────────────────────────────────────── */
.shot { margin: 0; }
.shot img {
  display: block; width: 100%; height: auto; border: 1px solid var(--line);
  border-radius: 6px; background: #070b10;
  box-shadow: 0 24px 60px -32px rgba(0,0,0,.9);
}
.shot figcaption {
  font-family: var(--mono); font-size: 12.5px; color: var(--muted);
  margin-top: 12px; line-height: 1.55;
}
.shot figcaption b { color: var(--text); font-weight: 600; }

/* ── kant-en-klare apps ─────────────────────────────────── */
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 34px; margin: 0; }
@media (max-width: 720px) { .apps { grid-template-columns: 1fr; } }
.apps div {
  display: grid; grid-template-columns: 108px 1fr; gap: 14px;
  padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.apps dt {
  font-family: var(--mono); font-size: 13.5px; color: var(--acc);
  margin: 0; overflow-wrap: anywhere;
}
.apps dd { margin: 0; color: var(--muted); }
.apps dd b { color: var(--text); font-weight: 600; }

/* ── quickstart ─────────────────────────────────────────── */
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) { .qs-grid { grid-template-columns: 1fr; } }

/* ── footer ─────────────────────────────────────────────── */
footer { padding: 54px 0 56px; }
.foot-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 48px; flex-wrap: wrap;
}
footer pre {
  margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.5;
  color: var(--copper); flex-shrink: 0;
}
.foot-links { font-family: var(--mono); font-size: 13.5px; display: grid; gap: 10px; justify-items: start; }
.foot-links .l-hopos { color: var(--leaf); }
.foot-links .l-hop { color: var(--copper); }
.foot-links .l-surf { color: var(--wave); }
.foot-copy {
  margin: 40px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 12px; color: var(--muted);
}

/* ── hardware-status ────────────────────────────────────── */
.st { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.st::before { content: "● "; }
.st-ok { color: var(--leaf); }
.st-wip { color: var(--copper); }
.st-plan { color: var(--muted); }

/* ── better together ────────────────────────────────────── */
.together {
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2);
  padding: 26px 30px; display: flex; gap: 24px; align-items: center;
  justify-content: space-between; flex-wrap: wrap;
}
.together p { margin: 0; max-width: 38em; font-size: 15px; color: var(--muted); }
.together p b { color: var(--text); }

/* ── docs-viewer ─────────────────────────────────────────── */
  .docs-grid { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 48px 0 80px; }
  @media (max-width: 800px) { .docs-grid { grid-template-columns: 1fr; gap: 24px; } }
  .docs-nav { position: sticky; top: 80px; align-self: start; font-family: var(--mono); font-size: 13.5px; }
  @media (max-width: 800px) { .docs-nav { position: static; } }
  .pages-box, .pages-btn { display: none; }
  @media (max-width: 800px) {
    .pages-btn {
      display: block; cursor: pointer; font-family: var(--mono);
      font-size: 13.5px; color: var(--muted); padding: 9px 14px;
      border: 1px solid var(--line); border-radius: 4px; background: var(--panel-2);
    }
    .pages-box:checked ~ .pages-btn { color: var(--acc); border-color: var(--acc-dim); border-radius: 4px 4px 0 0; }
    .docs-nav { display: none; }
    .pages-box:checked ~ .docs-nav {
      display: block; border: 1px solid var(--line); border-top: 0;
      border-radius: 0 0 4px 4px; background: var(--panel-2);
      padding: 16px 22px 20px; margin-top: 0;
    }
    .docs-grid { gap: 0 24px; }
    .md { margin-top: 24px; }
  }
  .docs-nav h3 {
    font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); margin: 22px 0 10px; font-weight: 600;
  }
  .docs-nav h3:first-child { margin-top: 0; }
  .docs-nav a { display: block; color: var(--muted); padding: 4px 0; }
  .docs-nav a:hover { color: var(--text); text-decoration: none; }
  .docs-nav a.on { color: var(--acc); }
  .docs-nav .gh-src { margin-top: 26px; font-size: 12px; }

  .md { min-width: 0; max-width: 46em; }
  .md h1 { font-size: clamp(26px, 3.4vw, 34px); margin: 0 0 18px; }
  .md h2 { font-size: 21px; margin: 40px 0 14px; }
  .md h3 { font-family: var(--mono); font-size: 16px; margin: 30px 0 10px; }
  .md p, .md li { color: var(--text); }
  .md p { margin: 0 0 16px; }
  .md ul, .md ol { padding-left: 24px; margin: 0 0 16px; }
  .md li { margin: 6px 0; }
  .md strong { color: var(--text); font-weight: 600; }
  .md em { color: var(--muted); }
  .md code {
    font-family: var(--mono); font-size: .88em; background: var(--panel);
    border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px;
  }
  .md pre {
    background: #070b10; border: 1px solid var(--line); border-radius: 6px;
    padding: 16px 18px; overflow-x: auto; margin: 0 0 18px;
    font-family: var(--mono); font-size: 13px; line-height: 1.6;
  }
  .md pre code { background: none; border: 0; padding: 0; font-size: inherit; }
  .md table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 0 0 18px; }
  .md .md-tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: 5px; margin: 0 0 18px; }
  .md .md-tbl table { margin: 0; min-width: 540px; }
  .md th { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); text-align: left; background: var(--panel-2); }
  .md th, .md td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
  .md tr:last-child td { border-bottom: 0; }
  .md blockquote { border-left: 3px solid var(--acc-dim); margin: 0 0 16px; padding: 2px 0 2px 18px; color: var(--muted); }
  .md hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
  .md .mermaid { margin: 0 0 18px; }
  .md .mermaid svg { max-width: 100%; }
  .md img { max-width: 100%; border: 1px solid var(--line); border-radius: 5px; }
  .md .state { color: var(--muted); font-family: var(--mono); font-size: 14px; padding: 40px 0; }
  .md .state .cur { color: var(--acc); animation: statecur 1s steps(1) infinite; }
  @keyframes statecur { 50% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .md .state .cur { animation: none; } }

/* ── HopOS overview ───────────────────────────────────────
   The public page stays deliberately shorter than the docs. */
.hopos-overview .wrap { max-width: 1120px; }
.hopos-overview section { padding: 82px 0; }
.hopos-overview h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.2; max-width: 18em; }
.hopos-overview h3 { font-family: var(--mono); }
.hopos-overview .section-lede { font-size: 16.5px; line-height: 1.7; }
.section-kicker {
  margin: 0 0 12px; font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--acc);
}

.hopos-hero { padding: 94px 0 0; }
.hopos-hero .hero-grid { padding-bottom: 74px; }
.hopos-hero h1 { font-size: clamp(36px, 5.5vw, 58px); line-height: 1.06; max-width: 12em; }
.hopos-hero .lede { max-width: 35em; font-size: 18px; }

/* A code-native stack diagram is clearer here than a decorative screenshot:
   it shows exactly which layer was removed and where the hardware cages sit. */
.stack {
  padding: 18px; border: 1px solid var(--line); border-radius: 8px;
  background: #070b10; box-shadow: 0 28px 70px -40px rgba(0,0,0,.95);
  font-family: var(--mono);
}
.stack-label {
  margin-bottom: 15px; color: var(--muted); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase;
}
.stack-apps, .stack-cage {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.stack-apps > div {
  min-width: 0; padding: 20px 8px 17px; text-align: center;
  border: 1px solid color-mix(in srgb, var(--acc) 48%, var(--line));
  border-radius: 5px 5px 2px 2px;
  background: color-mix(in srgb, var(--acc) 7%, var(--panel));
}
.stack-apps span { display: block; color: var(--text); font-size: 13px; font-weight: 700; }
.stack-apps small { display: block; margin-top: 5px; color: var(--muted); font-size: 9.5px; }
.stack-cage { margin-top: 4px; }
.stack-cage span {
  padding: 5px 3px; text-align: center; border-radius: 2px;
  background: color-mix(in srgb, var(--acc) 28%, var(--panel));
  color: #b8efca; font-size: 9px; letter-spacing: .04em;
}
.stack-os, .stack-metal {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 9px; padding: 15px 17px; border-radius: 4px;
}
.stack-os { background: var(--acc); color: #08130d; }
.stack-os b { font-size: 15px; }
.stack-os span { font-size: 10.5px; text-align: right; }
.stack-metal {
  border: 1px solid #2a3542; background: #111821;
  color: var(--text); font-size: 12px; justify-content: center;
}
.stack > p {
  max-width: none; margin: 14px 0 0; text-align: center;
  color: var(--muted); font-size: 10.5px; letter-spacing: .04em;
}
.intro-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px;
  align-items: start;
}
.intro-copy { padding-top: 27px; }
.intro-copy p { max-width: 38em; margin: 0 0 18px; color: var(--muted); font-size: 17px; }
.intro-copy p:first-child { color: var(--text); }
.flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 13px; align-items: center; margin-top: 50px;
}
.flow > div { min-height: 145px; padding: 21px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel-2); }
.flow span {
  display: block; margin-bottom: 12px; font-family: var(--mono);
  font-size: 11px; color: var(--acc); letter-spacing: .12em;
}
.flow b { font-family: var(--mono); font-size: 14px; }
.flow p { margin: 7px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.flow i { color: var(--acc-dim); font-family: var(--mono); font-style: normal; }

.different-section, .download-section {
  background: color-mix(in srgb, var(--panel-2) 48%, var(--bg));
}
.difference-list { margin-top: 42px; border-top: 1px solid var(--line); }
.difference-list article {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 190px;
  gap: 26px; align-items: start; padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.difference-no { font-family: var(--mono); font-size: 12px; color: var(--acc); }
.difference-list h3 { margin: -4px 0 9px; font-size: 18px; color: var(--text); }
.difference-list article > div p { max-width: 45em; margin: 0; color: var(--muted); font-size: 15px; }
.difference-result {
  max-width: none; margin: 1px 0 0; font-family: var(--mono);
  color: var(--text); font-size: 12px; text-align: right;
}
.difference-result::before { content: "→ "; color: var(--acc); }
.deep-link { margin: 27px 0 0; color: var(--muted); font-size: 13.5px; font-family: var(--mono); }
.deep-link a { white-space: nowrap; }

.architecture-details {
  margin-top: 32px; border: 1px solid var(--line); border-radius: 6px;
  background: var(--bg); scroll-margin-top: 84px;
}
.architecture-details summary {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 20px 23px 20px 50px; list-style: none;
  cursor: pointer; font-family: var(--mono); color: var(--text); font-size: 13px;
}
.architecture-details summary::-webkit-details-marker { display: none; }
.architecture-details summary::before {
  content: "+"; position: absolute; left: 22px; color: var(--acc); font-size: 17px;
}
.architecture-details[open] summary::before { content: "−"; }
.architecture-details summary span { color: var(--muted); font-size: 11.5px; }
.architecture-body { padding: 27px 23px 23px; border-top: 1px solid var(--line); }
.architecture-lede { max-width: 54em; margin: 0 0 28px; color: var(--text); font-size: 15.5px; line-height: 1.7; }
.architecture-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 42px; }
.architecture-copy article { min-width: 0; }
.architecture-copy h3 { margin: 0 0 9px; color: var(--text); font-family: var(--mono); font-size: 14px; }
.architecture-copy p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.architecture-table-wrap { overflow-x: auto; margin-top: 30px; border: 1px solid var(--line); border-radius: 5px; }
.architecture-table-wrap table { width: 100%; min-width: 580px; border-collapse: collapse; font-size: 13px; }
.architecture-table-wrap th, .architecture-table-wrap td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.architecture-table-wrap tr:last-child th, .architecture-table-wrap tr:last-child td { border-bottom: 0; }
.architecture-table-wrap thead th { background: var(--panel-2); color: var(--text); font-family: var(--mono); font-size: 11.5px; }
.architecture-table-wrap tbody th { color: var(--muted); font-family: var(--mono); font-size: 11.5px; font-weight: 500; }
.architecture-table-wrap td { color: var(--text); }
.architecture-note { max-width: none; margin: 24px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.65; }
.architecture-doc-link { margin: 13px 0 0; font-family: var(--mono); font-size: 12px; }

.recovery-flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1.25fr;
  align-items: center; gap: 10px; margin: 0 0 31px;
}
.recovery-flow span, .recovery-flow b {
  min-width: 0; padding: 12px 9px; border: 1px solid var(--line); border-radius: 3px;
  color: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-align: center;
}
.recovery-flow b {
  border-color: var(--acc-dim); color: var(--acc);
  background: color-mix(in srgb, var(--acc) 6%, var(--panel));
}
.recovery-flow i { color: var(--acc); font-family: var(--mono); font-size: 11px; font-style: normal; }
.recovery-copy { padding-top: 2px; }
.recovery-measure {
  display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: center;
  margin-top: 31px; padding: 25px 27px; border: 1px solid var(--acc-dim);
  border-radius: 5px; background: color-mix(in srgb, var(--acc) 5%, var(--panel));
}
.recovery-measure > strong { color: var(--acc); font-family: var(--mono); font-size: 27px; }
.recovery-measure h3 { margin: 0 0 7px; color: var(--text); font-family: var(--mono); font-size: 14px; }
.recovery-measure p { max-width: 54em; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.fit-card { padding: 28px 30px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2); }
.fit-card.fit-yes { border-top: 2px solid var(--acc); }
.fit-label {
  margin: 0 0 18px; font-family: var(--mono); font-size: 12px;
  color: var(--muted); text-transform: uppercase; letter-spacing: .14em;
}
.fit-yes .fit-label { color: var(--acc); }
.fit-card ul { list-style: none; margin: 0; padding: 0; }
.fit-card li { position: relative; padding: 8px 0 8px 22px; color: var(--muted); font-size: 15px; }
.fit-card li::before { content: "—"; position: absolute; left: 0; color: var(--line); }
.fit-yes li::before { content: "✓"; color: var(--acc); }

.use-modes {
  display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: stretch; gap: 0; margin-top: 40px;
}
.use-modes article {
  display: flex; flex-direction: column; min-width: 0; padding: 31px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--panel-2);
}
.use-label {
  margin: 0 0 15px; color: var(--acc); font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
}
.use-modes h3 { margin: 0 0 14px; color: var(--text); font-size: 18px; line-height: 1.45; }
.use-modes article > p:not(.use-label) { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.use-modes article > small { margin-top: 14px; color: var(--muted); font-family: var(--mono); font-size: 10.5px; }
.use-or {
  z-index: 1; align-self: center; justify-self: center; display: grid; place-items: center;
  width: 38px; height: 38px; margin: 0 -1px; border: 1px solid var(--line);
  border-radius: 50%; background: var(--bg); color: var(--muted);
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
}
.use-flow {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center; gap: 8px; margin-top: auto; padding-top: 29px;
}
.use-flow span, .use-flow b {
  min-width: 0; padding: 10px 7px; border: 1px solid var(--line); border-radius: 3px;
  color: var(--muted); font-family: var(--mono); font-size: 10.5px; font-weight: 500;
  text-align: center;
}
.use-flow b { border-color: var(--acc-dim); color: var(--acc); background: color-mix(in srgb, var(--acc) 6%, var(--panel)); }
.use-flow i { color: var(--acc); font-family: var(--mono); font-size: 11px; font-style: normal; }

.apps-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 38px;
}
.apps-intro h2 { margin-bottom: 0; }
.apps-intro > p { margin: 0 0 5px; color: var(--muted); font-size: 16px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 300px; padding: 30px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--panel-2);
}
.project-card.project-featured {
  background:
    linear-gradient(140deg, color-mix(in srgb, var(--acc) 9%, var(--panel-2)), var(--panel-2) 52%);
}
.project-type {
  margin: 0 0 18px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .13em; text-transform: uppercase; color: var(--acc);
}
.project-card h3 { margin: 0 0 12px; font-size: 24px; }
.project-card > p:not(.project-type) { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.project-card .btn { margin-top: auto; }
.apps-section .app-shelf { margin-top: 20px; }
.apps-section .hopos-app-shelf { grid-template-columns: repeat(3, 1fr); }
.app-shelf { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.app-shelf div { min-height: 115px; padding: 20px; border-right: 1px solid var(--line); background: var(--panel-2); }
.app-shelf div:last-child { border-right: 0; }
.app-shelf b { display: block; margin-bottom: 7px; font-family: var(--mono); font-size: 13px; color: var(--text); }
.app-shelf span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

.hardware-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.machine-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 5px; }
.machine-list > span { min-height: 83px; padding: 17px 19px; border: 1px solid var(--line); border-radius: 5px; background: var(--panel-2); }
.machine-list b { display: block; font-family: var(--mono); font-size: 13px; }
.machine-list small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }

.download-head { display: grid; grid-template-columns: 1fr auto; gap: 70px; align-items: end; }
.download-head .section-lede { margin-bottom: 0; }
.download-actions { display: flex; gap: 9px; align-items: center; flex-wrap: wrap; justify-content: flex-end; padding-bottom: 5px; }
.start-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 42px; }
.start-grid > div { padding: 25px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.start-grid > div > span {
  display: block; margin-bottom: 17px; font-family: var(--mono);
  font-size: 11px; color: var(--acc); letter-spacing: .14em; text-transform: uppercase;
}
.start-grid ol { margin: 0; padding-left: 22px; color: var(--muted); font-size: 14.5px; }
.start-grid li { margin: 9px 0; padding-left: 5px; }
.start-grid .term { box-shadow: none; }
.start-grid .term pre { padding: 14px 16px; font-size: 11.5px; }
.direct-downloads { margin-top: 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg); }
.direct-downloads summary { padding: 18px 22px; cursor: pointer; font-family: var(--mono); color: var(--text); font-size: 13px; }
.direct-downloads summary::marker { color: var(--acc); }
.direct-downloads > p { max-width: none; margin: 0; padding: 0 22px 18px; color: var(--muted); font-size: 13.5px; }
.image-links { border-top: 1px solid var(--line); }
.image-links div { display: grid; grid-template-columns: 1fr 100px 100px; gap: 14px; padding: 12px 22px; border-bottom: 1px solid var(--line); font-size: 13px; }
.image-links div:last-child { border-bottom: 0; }
.image-links b { font-weight: 500; color: var(--muted); }
.image-links a, .image-links span { font-family: var(--mono); }
.final-links { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 26px; font-family: var(--mono); font-size: 12.5px; }

@media (max-width: 880px) {
  .hopos-overview section { padding: 64px 0; }
  .intro-grid, .apps-intro, .hardware-grid { grid-template-columns: 1fr; gap: 22px; }
  .intro-copy { padding-top: 0; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow i { display: none; }
  .difference-list article { grid-template-columns: 38px 1fr; }
  .difference-result { grid-column: 2; margin-top: -12px; text-align: left; }
  .architecture-copy { grid-template-columns: 1fr; }
  .recovery-flow { grid-template-columns: 1fr; }
  .recovery-flow i { display: none; }
  .recovery-measure { grid-template-columns: 1fr; gap: 9px; }
  .use-modes { grid-template-columns: 1fr; gap: 0; }
  .use-or { margin: -1px 0; }
  .app-shelf { grid-template-columns: 1fr 1fr; }
  .apps-section .hopos-app-shelf { grid-template-columns: 1fr 1fr; }
  .hopos-app-shelf div:last-child { grid-column: 1 / -1; }
  .app-shelf div:nth-child(2) { border-right: 0; }
  .app-shelf div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .download-head { grid-template-columns: 1fr; gap: 24px; }
  .download-actions { justify-content: flex-start; }
}
@media (max-width: 940px) {
  .hopos-overview .topbar-in { position: relative; }
  .hopos-overview .menu-btn {
    display: block; margin-left: auto; cursor: pointer;
    font-family: var(--mono); font-size: 19px; line-height: 1;
    color: var(--muted); padding: 6px 12px;
    border: 1px solid var(--line); border-radius: 3px;
  }
  .hopos-overview .menu-box:checked ~ .menu-btn { color: var(--acc); border-color: var(--acc-dim); }
  .hopos-overview .topnav { display: none; }
  .hopos-overview .menu-box:checked ~ .topnav {
    display: grid; gap: 14px; justify-items: start;
    position: absolute; top: 55px; left: -24px; right: -24px;
    margin: 0; padding: 20px 32px 24px;
    background: var(--panel-2); border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 620px) {
  .hopos-hero { padding-top: 66px; }
  .hopos-hero .hero-grid { padding-bottom: 52px; }
  .hopos-hero h1 { font-size: clamp(34px, 11vw, 46px); }
  .stack-os { align-items: flex-start; flex-direction: column; gap: 4px; }
  .stack-os span { text-align: left; }
  .stack-apps small { display: none; }
  .flow, .fit-grid, .project-grid, .machine-list, .start-grid { grid-template-columns: 1fr; }
  .flow > div { min-height: 0; }
  .difference-list article { grid-template-columns: 1fr; gap: 10px; }
  .difference-result { grid-column: 1; margin-top: 0; }
  .app-shelf { grid-template-columns: 1fr; }
  .apps-section .hopos-app-shelf { grid-template-columns: 1fr; }
  .app-shelf div { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .app-shelf div:last-child { border-bottom: 0; }
  .project-card { min-height: 0; }
  .project-card .btn { margin-top: 4px; }
  .image-links div { grid-template-columns: 1fr auto auto; }
  .architecture-details summary span { display: none; }
}

/* ── HOP overview ───────────────────────────────────────── */
.hop-overview .wrap, .surf-overview .wrap { max-width: 1120px; }
.hop-overview section, .surf-overview section { padding: 82px 0; }
.hop-overview h2, .surf-overview h2 {
  font-size: clamp(24px, 3vw, 34px); line-height: 1.2; max-width: 19em;
}
.hop-overview .section-lede, .surf-overview .section-lede {
  font-size: 16.5px; line-height: 1.7;
}
.hop-hero { padding: 94px 0 0; }
.hop-hero .hero-grid { padding-bottom: 74px; }
.hop-hero h1 {
  font-size: clamp(36px, 5.5vw, 58px); line-height: 1.06; max-width: 12em;
}
.hop-hero .lede { max-width: 34em; font-size: 18px; }

.hop-map {
  padding: 20px; border: 1px solid var(--line); border-radius: 8px;
  background: #0a0c10; box-shadow: 0 28px 70px -40px rgba(0,0,0,.95);
  font-family: var(--mono);
}
.hop-map-label {
  margin-bottom: 13px; color: var(--muted); font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase;
}
.job-spec {
  display: flex; justify-content: space-between; gap: 18px; align-items: center;
  padding: 16px 18px; border: 1px solid var(--copper-dim); border-radius: 5px;
  background: color-mix(in srgb, var(--copper) 8%, var(--panel));
}
.job-spec span { color: var(--copper); font-weight: 700; }
.job-spec small { color: var(--muted); font-size: 10px; text-align: right; }
.hop-map-line { display: flex; align-items: center; height: 51px; }
.hop-map-line i { flex: 1; border-top: 1px solid var(--copper-dim); }
.hop-map-line b {
  padding: 4px 12px; border: 1px solid var(--copper-dim);
  border-radius: 3px; color: var(--copper); font-size: 11px;
}
.hop-targets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.hop-targets > div {
  min-width: 0; padding: 17px 9px; text-align: center;
  border: 1px solid var(--line); border-radius: 4px; background: var(--panel-2);
}
.hop-targets strong, .hop-targets span, .hop-targets small { display: block; }
.hop-targets strong { color: var(--copper); font-size: 13px; }
.hop-targets span { margin-top: 4px; color: var(--text); font-size: 11px; }
.hop-targets small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.hop-targets > div:last-child {
  border-color: var(--leaf-dim);
  background: color-mix(in srgb, var(--leaf) 6%, var(--panel-2));
}
.hop-targets > div:last-child strong { color: var(--leaf); }
.hop-map > p {
  max-width: none; margin: 15px 0 0; color: var(--muted);
  font-size: 10.5px; text-align: center;
}

.workload-section {
  background: color-mix(in srgb, var(--panel-2) 48%, var(--bg));
}
.workload-intro {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 38px;
}
.workload-intro h2 { margin-bottom: 0; }
.workload-intro > p { max-width: 35em; margin: 0 0 5px; color: var(--muted); }
.driver-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.driver-grid article {
  display: flex; flex-direction: column; min-height: 280px; padding: 27px;
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg);
}
.driver-grid article > span {
  font-family: var(--mono); color: var(--copper); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .12em;
}
.driver-grid h3 { margin: 17px 0 12px; font-size: 22px; }
.driver-grid p { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; }
.driver-grid small {
  display: block; margin-top: auto; padding-top: 17px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 11.5px;
}
.driver-grid a { margin-top: 13px; font-family: var(--mono); font-size: 12px; }
.driver-grid .driver-hopos { border-top: 2px solid var(--leaf-dim); }
.driver-grid .driver-hopos > span, .driver-grid .driver-hopos a { color: var(--leaf); }

.operate-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.operate-grid .section-lede { margin-bottom: 27px; }
.operate-grid .term { min-width: 0; }
.download-contents {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  margin-top: 42px; border: 1px solid var(--line); border-radius: 6px;
  overflow: hidden; background: var(--bg);
}
.download-contents > div { padding: 22px; border-right: 1px solid var(--line); }
.download-contents > div:last-child { border-right: 0; }
.download-contents span {
  display: block; margin-bottom: 7px; font-family: var(--mono);
  color: var(--copper); font-size: 13px;
}
.download-contents p { max-width: none; margin: 0; color: var(--muted); font-size: 12.5px; }
.download-contents a { font-family: var(--mono); font-size: 11.5px; }

/* ── SURF overview ──────────────────────────────────────── */
.surf-hero { padding: 84px 0 0; }
.surf-hero-grid {
  max-width: 1240px; display: grid; grid-template-columns: .82fr 1.18fr;
  gap: 58px; align-items: center; padding-bottom: 70px;
}
.surf-hero h1 {
  font-size: clamp(36px, 5.3vw, 58px); line-height: 1.06; max-width: 11em;
}
.surf-hero .lede { max-width: 34em; font-size: 18px; }
.surf-main-shot { min-width: 0; }
.surf-main-shot img {
  border-color: color-mix(in srgb, var(--wave) 34%, var(--line));
  box-shadow: 0 32px 80px -38px rgba(22, 91, 182, .65);
}
.surf-flow {
  display: grid; grid-template-columns: 1fr .72fr 1.15fr .72fr 1fr;
  align-items: stretch; gap: 10px; margin-top: 50px; font-family: var(--mono);
}
.surf-flow-app, .surf-flow-display, .surf-flow-screen {
  min-height: 140px; padding: 20px; border: 1px solid var(--line);
  border-radius: 6px; background: var(--panel-2);
  display: flex; flex-direction: column; justify-content: center; text-align: center;
}
.surf-flow-app { border-top: 2px solid var(--wave); }
.surf-flow-display {
  border-color: var(--wave-dim);
  background: color-mix(in srgb, var(--wave) 7%, var(--panel-2));
}
.surf-flow span {
  color: var(--wave); font-size: 9.5px; letter-spacing: .12em;
  text-transform: uppercase;
}
.surf-flow b { margin: 7px 0; color: var(--text); font-size: 14px; }
.surf-flow small { color: var(--muted); font-size: 10px; }
.surf-wire { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.surf-wire i { color: var(--wave); font-size: 16px; font-style: normal; }
.surf-wire span { margin: 7px 0; color: var(--muted); font-size: 8.5px; line-height: 1.5; }

.demo-section, .limits-section {
  background: color-mix(in srgb, var(--panel-2) 48%, var(--bg));
}
.demo-grid { display: grid; gap: 22px; margin-top: 40px; }
.demo-card {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 0;
  border: 1px solid var(--line); border-radius: 7px;
  overflow: hidden; background: var(--bg);
}
.demo-card .shot img { border: 0; border-radius: 0; box-shadow: none; height: 100%; object-fit: cover; }
.demo-copy { display: flex; flex-direction: column; justify-content: center; padding: 34px; }
.demo-copy h3 { margin: 0 0 14px; font-size: 21px; line-height: 1.35; }
.demo-copy > p:not(.project-type) { margin: 0 0 19px; color: var(--muted); font-size: 14.5px; }
.demo-copy small { color: var(--muted); font-size: 12px; }
.demo-card-goboy { grid-template-columns: .82fr 1.18fr; }
.demo-card-goboy .shot { background: #070b10; }
.demo-card-goboy .shot img { object-fit: contain; }
.surf-app-shelf { margin-top: 22px; }

.architecture-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.architecture-stack {
  padding: 19px; border: 1px solid var(--line); border-radius: 7px;
  background: #080c12; font-family: var(--mono);
}
.architecture-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.architecture-apps span {
  padding: 13px 5px; border: 1px solid var(--wave-dim); border-radius: 3px;
  color: var(--text); text-align: center; font-size: 10px;
}
.architecture-wire {
  margin: 7px 0; padding: 5px; color: var(--wave);
  text-align: center; font-size: 9px; letter-spacing: .08em;
}
.architecture-display, .architecture-os {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 15px 17px; border-radius: 4px;
}
.architecture-display { background: var(--wave); color: #07101c; }
.architecture-display b, .architecture-os b { font-size: 13px; }
.architecture-display span, .architecture-os span { font-size: 10px; text-align: right; }
.architecture-grant {
  margin: 7px 0; padding: 5px; border: 1px solid var(--wave-dim);
  color: var(--wave); text-align: center; font-size: 9px;
}
.architecture-os { border: 1px solid var(--line); color: var(--text); background: var(--panel-2); }
.surf-source {
  display: flex; justify-content: space-between; gap: 30px; align-items: center;
  margin-top: 20px; padding: 26px 29px; border: 1px solid var(--wave-dim);
  border-radius: 6px; background: color-mix(in srgb, var(--wave) 6%, var(--panel-2));
}
.surf-source b { font-family: var(--mono); color: var(--wave); font-size: 13px; }
.surf-source p { max-width: 42em; margin: 6px 0 0; color: var(--muted); font-size: 14px; }

@media (max-width: 940px) {
  .hop-overview .topbar-in, .surf-overview .topbar-in { position: relative; }
  .hop-overview .menu-btn, .surf-overview .menu-btn {
    display: block; margin-left: auto; cursor: pointer;
    font-family: var(--mono); font-size: 19px; line-height: 1;
    color: var(--muted); padding: 6px 12px;
    border: 1px solid var(--line); border-radius: 3px;
  }
  .hop-overview .menu-box:checked ~ .menu-btn,
  .surf-overview .menu-box:checked ~ .menu-btn {
    color: var(--acc); border-color: var(--acc-dim);
  }
  .hop-overview .topnav, .surf-overview .topnav { display: none; }
  .hop-overview .menu-box:checked ~ .topnav,
  .surf-overview .menu-box:checked ~ .topnav {
    display: grid; gap: 14px; justify-items: start;
    position: absolute; top: 55px; left: -24px; right: -24px;
    margin: 0; padding: 20px 32px 24px;
    background: var(--panel-2); border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 880px) {
  .hop-overview section, .surf-overview section { padding: 64px 0; }
  .workload-intro, .operate-grid, .architecture-grid {
    grid-template-columns: 1fr; gap: 28px;
  }
  .driver-grid { grid-template-columns: 1fr; }
  .driver-grid article { min-height: 0; }
  .download-contents { grid-template-columns: 1fr; }
  .download-contents > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .download-contents > div:last-child { border-bottom: 0; }
  .surf-hero-grid { grid-template-columns: 1fr; }
  .surf-hero-copy { max-width: 660px; }
  .surf-flow { grid-template-columns: 1fr; }
  .surf-wire { flex-direction: row; gap: 10px; }
  .surf-wire i { transform: rotate(90deg); }
  .surf-flow-app, .surf-flow-display, .surf-flow-screen { min-height: 110px; }
  .demo-card, .demo-card-goboy { grid-template-columns: 1fr; }
  .demo-card .shot img { height: auto; }
  .demo-card-goboy .shot img { max-height: 520px; }
}
@media (max-width: 620px) {
  .hop-hero, .surf-hero { padding-top: 66px; }
  .hop-hero .hero-grid, .surf-hero-grid { padding-bottom: 52px; }
  .hop-hero h1, .surf-hero h1 { font-size: clamp(34px, 11vw, 46px); }
  .job-spec { align-items: flex-start; flex-direction: column; }
  .job-spec small { text-align: left; }
  .hop-targets span { display: none; }
  .hop-targets small { line-height: 1.4; }
  .surf-main-shot figcaption { font-size: 11px; }
  .demo-copy { padding: 26px; }
  .architecture-apps { grid-template-columns: 1fr 1fr; }
  .architecture-display, .architecture-os {
    align-items: flex-start; flex-direction: column; gap: 5px;
  }
  .architecture-display span, .architecture-os span { text-align: left; }
  .surf-source { align-items: flex-start; flex-direction: column; }
  .surf-source .btn { width: 100%; text-align: center; }
}
