:root {
  --ink: #1d1c1a;
  --paper: #fff;
  --panel: #fafafa;
  --tint: #eee;
  --scan: #f9f9f9;
  --accent: #e0612b;
  --accent-ink: #b8481a;
  --lamp: #f5b451;
  --lamp-off: #3d3a35;
  --dim: #d8d0bf;
  --rule: rgb(29 28 26 / .3);
  --rule-soft: rgb(29 28 26 / .25);
  --sans: 'Archivo', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b { font-weight: 650; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
code { font-family: var(--mono); font-size: .88em; background: var(--tint); padding: 1px 5px; }
.mono { font-family: var(--mono); }
p, li { text-wrap: pretty; }

/* ---------- scanlines ---------- */
.scan {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, var(--scan) 0 36px, transparent 36px 72px);
  opacity: 0; transition: opacity .12s;
  animation: scan linear both; animation-timeline: scroll(root);
}
.scan.on { opacity: 1; transition-duration: .03s; }
@keyframes scan { to { background-position: 0 1440px; } }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 5; background: var(--ink); color: var(--paper); font: 12px/1.4 var(--mono); letter-spacing: .06em; }
.topbar__in { max-width: var(--wrap); margin: 0 auto; padding: 10px 28px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 14px; align-items: center; }
.brand__mark { width: 12px; height: 12px; background: var(--accent); }
.brand__name { font-weight: 600; }
.brand__code { opacity: .6; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 6px 20px; text-transform: uppercase; }
.topbar nav a { text-decoration: none; }

main { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---------- buttons, tags ---------- */
.btn { display: inline-block; text-decoration: none; font: 600 14px var(--mono); letter-spacing: .04em; padding: 14px 22px; }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--accent); color: var(--ink); }
.btn--line { border: 1.5px solid var(--ink); padding: 12.5px 22px; font-weight: 500; }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--sm { font-size: 12px; padding: 9px 14px; }

.tag { display: inline-block; font: 600 12px var(--mono); padding: 3px 7px; }
.tag--best { background: var(--accent); }
.tag--good { background: var(--tint); border: 1px solid var(--ink); padding: 2px 6px; }
.tag--works { border: 1px solid var(--ink); padding: 2px 6px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; font: 12.5px var(--mono); }
.chips span { border: 1px solid var(--ink); padding: 4px 9px; }
.chips--dashed span { border-style: dashed; }

/* ---------- hero ---------- */
.hero { padding-top: 48px; }
.runner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font: 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 8px 0; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 40px; padding: 40px 0 44px; align-items: flex-end; }
.hero__main { flex: 999 1 560px; min-width: 0; }
.hero__side { flex: 1 1 300px; max-width: 400px; display: flex; flex-direction: column; gap: 20px; }
.title { font-size: clamp(64px, 12.5vw, 176px); line-height: .84; font-weight: 850; font-stretch: 78%; letter-spacing: -.02em; }
.title__line { white-space: nowrap; }
.title__label { display: inline-block; vertical-align: top; margin-left: .08em; background: var(--accent); font-weight: 800; font-stretch: 90%; font-size: .2em; line-height: 1; letter-spacing: 0; padding: .2em .35em .15em; }
.lede { margin-top: 32px; max-width: 640px; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.22; font-weight: 600; }
.intro { margin-top: 16px; max-width: 620px; font-size: 17px; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.card { background: var(--ink); border: 1.5px solid var(--ink); }
.card img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.card figcaption { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid var(--lamp-off); padding: 7px 12px; color: var(--dim); font: 11px var(--mono); letter-spacing: .08em; }

.specs { font: 13px var(--mono); border-top: 1.5px solid var(--ink); }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.specs div:last-child { border-bottom: 1.5px solid var(--ink); }
.specs dd { font-weight: 600; }

/* ---------- front panel ---------- */
.panel { background: var(--ink); color: var(--dim); padding: clamp(14px, 3vw, 26px) clamp(14px, 3vw, 26px) 0; }
.panel__legend { display: flex; justify-content: space-between; gap: 12px; font: clamp(9px, 1.2vw, 11px) var(--mono); letter-spacing: .1em; }
.panel__legend--top { margin-bottom: 14px; }
.panel__legend--bottom { padding: 12px 0 16px; }
.panel__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(4px, 1.6vw, 18px); }
.panel__row + .panel__row { margin-top: clamp(12px, 2.4vw, 22px); }
.lamps { display: flex; justify-content: space-around; gap: 2px; }
.lamp { width: clamp(6px, 1.5vw, 14px); aspect-ratio: 1; border-radius: 50%; background: var(--lamp-off); }
.lamp.on { background: var(--lamp); box-shadow: 0 0 10px rgb(245 180 81 / .8); }
.switches { display: flex; gap: clamp(1px, .4vw, 4px); }
.switches span { flex: 1; height: clamp(22px, 4vw, 44px); background: #e9e1cf; }
.switches:nth-child(even) span { background: var(--accent); }

/* ---------- section layout ---------- */
.sec { display: flex; flex-wrap: wrap; gap: 24px 48px; padding-top: 96px; scroll-margin-top: 60px; }
.sec--first { padding-top: 88px; }
.sec__head { flex: 1 1 200px; max-width: 260px; }
.sec__body { flex: 999 1 520px; min-width: 0; }
.sec__num { font: 13px var(--mono); }
.sec__title { margin-top: 6px; font-size: 34px; line-height: 1; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.sec__badge { margin-top: 10px; }

.lead { font-size: 19px; line-height: 1.45; max-width: 680px; margin-bottom: 28px; }
.body { font-size: 17px; line-height: 1.55; max-width: 680px; }
.small { font-size: 15.5px; line-height: 1.55; max-width: 680px; }
.fine { font: 12.5px/1.6 var(--mono); }

/* ---------- tables ---------- */
.table { border-top: 3px solid var(--ink); }
.table .row { display: grid; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.table .row:last-child { border-bottom: 1.5px solid var(--ink); }
.table .row--head { padding: 10px 0; border-bottom: 1px solid var(--ink); font: 11px var(--mono); letter-spacing: .1em; align-items: end; }
.num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }

.dl .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; }
.dl__os { font-size: 19px; font-weight: 700; }
.dl__os span { font-weight: 400; }
.dl__file { font: 13px var(--mono); overflow-wrap: anywhere; }

.hw .row { grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; align-items: start; font-size: 15.5px; line-height: 1.5; }
.perf .row { grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr)); gap: 14px; align-items: baseline; padding: 14px 0; }
.perf .row--head { letter-spacing: .08em; }
.perf .row > :first-child { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.perf .row > :nth-child(2) { font-size: 15px; font-weight: 600; }
.perf .row > :nth-child(n+3) { font-size: 14px; }
.perf .row--head > * { font-size: 11px !important; font-weight: 400 !important; }

.lang .row { grid-template-columns: minmax(0, 1fr) minmax(64px, .5fr) minmax(0, 2fr); gap: 14px; padding: 11px 0; }
.lang .row--head { letter-spacing: .08em; }
.lang__name { font-size: 16px; font-weight: 700; }
.lang .num { font-size: 13px; }
.bar { display: flex; align-items: center; gap: 10px; }
.bar__track { flex: 1; height: 10px; background: var(--tint); }
.bar__fill { display: block; height: 100%; width: var(--v); background: var(--ink); }
.bar .num { min-width: 52px; font-weight: 600; }
.lang__note { grid-column: span 2; text-align: right; font: 12px var(--mono); }

/* ---------- notes (callouts) ---------- */
.note { margin-top: 32px; border: 1.5px solid var(--ink); background: var(--panel); }
.note__head { display: flex; gap: 12px; align-items: center; background: var(--ink); color: var(--paper); padding: 7px 14px; font: 12px var(--mono); letter-spacing: .1em; }
.note__head::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.note__head--hollow::before { background: none; border: 1.5px solid var(--accent); }
.note__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.note__cols > div { padding: 16px 18px; font-size: 15px; line-height: 1.5; border-right: 1px solid var(--rule-soft); }
.note__cols > div:last-child { border-right: 0; }
.note__label { font: 11px var(--mono); letter-spacing: .1em; margin-bottom: 6px; }
.note__foot { border-top: 1px solid var(--rule-soft); padding: 12px 18px; font-weight: 650; font-size: 15px; }
.note__text { padding: 16px 18px; font-size: 15.5px; line-height: 1.55; }

/* ---------- install steps ---------- */
.auto { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--accent); padding: 10px 14px; font: 600 13px var(--mono); letter-spacing: .08em; }
.auto span:last-child { font-weight: 500; }
.steps { border-top: 3px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 1.5px solid var(--ink); }
.steps__n { font-size: 52px; line-height: .9; font-weight: 850; font-stretch: 75%; }
.steps h3 { font-size: 21px; font-weight: 700; line-height: 1.25; }
.steps p { margin-top: 8px; font-size: 16px; line-height: 1.55; max-width: 680px; }
.steps p:has(+ .chips) { margin-bottom: 14px; }
.after { margin-top: 24px; }

/* ---------- architecture figure ---------- */
.fig { border: 1.5px solid var(--ink); background: var(--panel); container-type: inline-size; }
.fig figcaption { border-top: 1px solid var(--ink); padding: 9px 14px; font: 12px var(--mono); letter-spacing: .04em; }
.topo { padding: 32px 24px; display: grid; grid-template-columns: 150px 40px 170px minmax(90px, 1fr) 190px; align-items: center; font: 13px var(--mono); }
.topo__agents { display: flex; flex-direction: column; gap: 10px; }
.box { border: 1.5px solid var(--ink); padding: 10px 12px; background: var(--paper); }
.box--proxy { padding: 14px; }
.box small { display: block; font-size: 11px; margin-top: 4px; }
.box b { font-weight: 600; }
.topo__fan { align-self: stretch; display: flex; align-items: center; }
.topo__fan::before { content: ""; width: 14px; align-self: stretch; margin: 19px 0; border: 1.5px solid var(--ink); border-left: 0; }
.topo__fan::after { content: ""; flex: 1; height: 1.5px; background: var(--ink); }
.topo__pipe { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 8px; font-size: 10.5px; letter-spacing: .06em; text-align: center; }
.topo__pipe i { width: 100%; display: flex; align-items: center; font-style: normal; font-size: 12px; line-height: 1; }
.topo__pipe i::before { content: ""; flex: 1; border-top: 1.5px dashed var(--ink); }
.daemon { background: var(--ink); color: var(--paper); padding: 18px 16px; }
.daemon__top { display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.daemon__top::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 8px var(--lamp); }
.daemon small { display: block; font-size: 11px; margin-top: 6px; color: var(--dim); }
.daemon__tags { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px; font-size: 10.5px; }
.daemon__tags span { border: 1px solid #6b665c; padding: 2px 5px; }
.topo__down { display: none; }

@container (max-width: 700px) {
  .topo { grid-template-columns: 1fr; padding: 24px 18px; }
  .topo__agents { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; }
  .topo__fan { display: none; }
  .topo__down { display: flex; justify-content: center; padding: 6px 0; line-height: 1; }
  .topo__pipe { flex-direction: row; justify-content: center; gap: 10px; padding: 8px 0; }
  .topo__pipe::before { content: ""; height: 28px; border-left: 1.5px dashed var(--ink); }
  .topo__pipe br, .topo__pipe i { display: none; }
  .topo__pipe::after { content: "▼"; }
}

.cols3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 32px; }
.cols2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 24px 0 32px; }
.point { border-top: 1.5px solid var(--ink); padding-top: 12px; font-size: 15.5px; line-height: 1.55; }
.point__label { font: 12px var(--mono); margin-bottom: 6px; }

/* ---------- sub-section ---------- */
.sub { margin-top: 64px; }
.sub__head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; font-size: 26px; line-height: 1.05; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.sub__head span { color: var(--accent-ink); }
.sub > p { margin: 14px 0 24px; font-size: 16px; line-height: 1.55; max-width: 680px; }
.bullets { display: grid; gap: 8px; margin-top: 20px; font-size: 15px; line-height: 1.5; }

/* ---------- features ---------- */
.features { padding-top: 96px; scroll-margin-top: 60px; }
.features__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 3px solid var(--ink); padding-bottom: 14px; }
.features__head h2 { margin-top: 6px; font-size: clamp(44px, 7vw, 88px); line-height: .9; font-weight: 850; font-stretch: 75%; text-transform: uppercase; }
.features__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 48px 40px; padding-top: 36px; font-size: 15px; line-height: 1.5; }
.feat h3 { display: flex; gap: 12px; align-items: baseline; border-bottom: 1.5px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; font-size: 22px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; }
.feat h3 span { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.feat ul { display: grid; gap: 10px; }

.roadmap { margin-top: 32px; }
.roadmap__label { font: 12px var(--mono); letter-spacing: .08em; margin-bottom: 10px; }

/* ---------- privacy ---------- */
.privacy { margin-top: 96px; background: var(--ink); color: var(--paper); padding: 40px clamp(20px, 4vw, 48px) 44px; display: flex; flex-wrap: wrap; gap: 24px 48px; scroll-margin-top: 60px; }
.privacy .sec__body { flex-basis: 480px; }
.privacy__claim { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; font-weight: 600; max-width: 720px; }
.privacy__claim mark { background: var(--accent); color: var(--ink); padding: 0 6px; }
.privacy__more { margin-top: 16px; font-size: 15.5px; line-height: 1.55; color: var(--dim); max-width: 680px; }
.privacy__more b { color: var(--paper); background: var(--lamp-off); padding: 0 5px; }
.privacy__more .mono { color: var(--paper); }

footer { margin-top: 72px; padding: 14px 0 40px; border-top: 3px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font: 12px var(--mono); letter-spacing: .06em; }

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

.hw__min { margin-top: 16px; }
.features__range { font: 12px var(--mono); letter-spacing: .06em; }
.lang__foot { margin-top: 12px; }
.lang__also { margin-top: 20px; }
