/* Self-hosted so the first paint waits on nothing but this origin.
   Bricolage Grotesque and Instrument Sans, SIL Open Font License 1.1,
   Latin subset only, variable weight axes. See assets/fonts/OFL.txt. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/instrument-sans.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* SideMini — site styles. No build step; plain CSS.
   Tokens first, then layout, then components, then page-specific bits. */

:root {
  --paper: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #EDF1F6;
  --text: #10203D;
  --muted: #5C6B84;
  --line: #D8DFEA;
  --line-strong: #B9C4D4;
  --ink: #0B1B3A;
  --ink-2: #12244A;
  --ink-text: #EAF0FA;
  --ink-muted: #9FB0CB;
  --ink-line: #24375C;
  --blue: #2864EE;
  --blue-deep: #1B4FCB;
  --blue-soft: #E4ECFD;
  --mint: #99EED8;
  --mint-ink: #0F7A63;
  --mint-soft: #DDF7F0;
  --alu: #C9D1DC;
  --alu-2: #E6EBF2;
  --alu-3: #A9B4C4;
  --screen: #101728;
  --shadow: 0 24px 48px -28px rgba(11, 27, 58, .35);
  --radius: 6px;
  --radius-lg: 14px;
  --font-display: "Bricolage Grotesque", "SF Pro Display", -apple-system, system-ui, sans-serif;
  --font-body: "Instrument Sans", "SF Pro Text", -apple-system, system-ui, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0B1220;
    --surface: #121B30;
    --surface-2: #182339;
    --text: #E8EEF8;
    --muted: #9AA8BF;
    --line: #26324A;
    --line-strong: #364562;
    --ink: #060D1C;
    --ink-2: #0E1A33;
    --ink-text: #EAF0FA;
    --ink-muted: #9FB0CB;
    --ink-line: #223258;
    --blue: #5A8BFF;
    --blue-deep: #7FA3FF;
    --blue-soft: #16274D;
    --mint-ink: #7FE7CB;
    --mint-soft: #0F2A2C;
    --alu: #4A5670;
    --alu-2: #2B3650;
    --alu-3: #64738F;
    --screen: #05080F;
    --shadow: 0 24px 48px -28px rgba(0, 0, 0, .8);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a, li a, .link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p a:hover, li a:hover, .link:hover { color: var(--blue-deep); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
code, kbd, .mono { font-family: var(--font-mono); font-size: .92em; }
kbd { border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 4px; padding: 0 .4em; background: var(--surface); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -.028em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0; }
.measure { max-width: 60ch; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin: 0 0 18px;
}
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px 64px; align-items: end; margin-bottom: 56px; }
.section-head .lede { margin: 0; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 54ch; }
.stack { display: grid; gap: 14px; }
.tnum { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--surface); color: var(--text); padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px; border-radius: var(--radius); border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
@media (prefers-color-scheme: dark) { .btn-primary { color: #071129; } }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-mint { background: var(--mint); color: #071129; }
.btn-mint:hover { background: #B4F4E3; }
.btn-lg { min-height: 56px; padding-inline: 26px; font-size: 1.05rem; }
/* .8 put the trial note at 4.42:1 on the dark-mode button. */
.btn small { font-weight: 500; opacity: .95; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn):hover { color: var(--blue); }
.nav .btn { min-height: 40px; padding-inline: 16px; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius); width: 42px; height: 40px; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor; margin: 3px auto; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lede { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; align-items: center; margin-bottom: 18px; }
.hero-fine { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-fine span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); margin-right: 8px; vertical-align: 3px; }

/* scene */
.scene { position: relative; }
.scene-frame {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 22px 22px 16px; overflow: hidden;
}
.scene-top { display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.status-pill {
  display: inline-flex; align-items: center; gap: 8px; text-transform: none; letter-spacing: 0; white-space: nowrap;
  font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: var(--surface-2); color: var(--muted); transition: background .3s, color .3s;
}
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--alu-3); transition: background .3s; }
.status-pill[data-state="connecting"] .dot { background: var(--blue); animation: pulse 1s infinite; }
.status-pill[data-state="connected"] { background: var(--mint-soft); color: var(--mint-ink); }
.status-pill[data-state="connected"] .dot { background: var(--mint-ink); }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.7); } }

.scene svg { width: 100%; height: auto; }
.scene-tabs { display: inline-flex; flex: 0 0 auto; margin-left: auto; gap: 2px; padding: 3px; border-radius: 8px; background: var(--surface-2); }
.scene-tabs button { border: 0; background: transparent; padding: 5px 9px; border-radius: 6px; font-size: .8rem; font-weight: 600; white-space: nowrap; color: var(--muted); transition: background .2s, color .2s; }
.scene-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(11, 27, 58, .12); }
.scene-tabs button:hover { color: var(--text); }
.scene .monitor { transition: opacity .6s ease, transform .6s ease; transform-origin: center; }
.scene[data-mode="only"]:not([data-phase="0"]) .monitor, .scene[data-mode="server"]:not([data-phase="0"]) .monitor { opacity: 0; transform: translateY(-14px); }
.scene:not([data-mode="server"]) .laptop, .scene[data-mode="server"] .ipad { display: none; }
.scene[data-mode="second"] .stand, .scene[data-mode="second"] .mon-label, .scene[data-mode="second"] .link-mon { display: none; }
.scene:not([data-mode="second"]) .laptop-base, .scene:not([data-mode="second"]) .mon-label-second, .scene:not([data-mode="second"]) .link2, .scene:not([data-mode="second"]) .any-mac { display: none; }
.scene:not([data-mode="server"]) .link3, .scene[data-mode="server"] .link:not(.link3) { display: none; }
.scene[data-mode="server"] .monitor, .scene[data-mode="server"] .link-mon { display: none; }
.scene:not([data-mode="server"]) .uptime { display: none; }
.scene[data-mode="server"] .uptime text { animation: uptime-in .7s ease both; }
@keyframes uptime-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.scene .bits, .scene .mac-label-server { display: none; }
.scene[data-mode="server"] .bits, .scene[data-mode="server"] .mac-label-server { display: block; }
.scene[data-mode="server"] .mac-label { display: none; }
.scene[data-mode="server"] .mac-label-server { paint-order: stroke; stroke: var(--alu); stroke-width: 4.5px; stroke-linejoin: round; }
.bits text { opacity: .8; animation: bits-flow 7s linear infinite; }
.bits text:nth-of-type(2) { opacity: .65; animation-duration: 11s; animation-direction: reverse; }
@keyframes bits-flow { from { transform: translateX(0); } to { transform: translateX(-340px); } }
.scene[data-mode="server"][data-phase="5"] .led { animation: led-pulse 1.6s ease-in-out infinite; }
@keyframes led-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.scene .link-mon { opacity: 0; transition: opacity .3s; }
.scene[data-mode="second"] .link-mon { opacity: 1; }
.scene .led { fill: var(--alu-3); transition: fill .3s; }
.scene[data-phase="2"] .led, .scene[data-phase="3"] .led, .scene[data-phase="4"] .led, .scene[data-phase="5"] .led { fill: #fff; filter: drop-shadow(0 0 4px rgba(255,255,255,.9)); }
.scene .link { stroke: var(--line-strong); stroke-dasharray: 6 8; opacity: 0; transition: opacity .4s; }
.scene[data-phase="4"] .link, .scene[data-phase="5"] .link { opacity: 1; animation: flow 1.2s linear infinite; stroke: var(--blue); }
.scene[data-phase="5"] .link { stroke: var(--mint-ink); animation-duration: 2.4s; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.scene .ipad-screen { fill: var(--screen); transition: fill .5s; }
.scene .desktop { opacity: 0; transition: opacity .7s ease .1s; }
.scene[data-phase="5"] .desktop { opacity: 1; }
.scene[data-mode="only"] .desktop-extend, .scene[data-mode="second"] .desktop-mirror { display: none; }
.scene .glow { opacity: 0; transition: opacity .8s; }
.scene[data-phase="5"] .glow { opacity: 1; }
.scene .log { display: none; }
.scene[data-mode="only"] .log[data-for="only"], .scene[data-mode="second"] .log[data-for="second"], .scene[data-mode="server"] .log[data-for="server"] { display: grid; }

.log {
  margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px;
  font-family: var(--font-mono); font-size: .78rem; line-height: 1.7; color: var(--muted);
  min-height: calc(4 * 1.7 * .78rem + 4px); display: grid; align-content: start;
}
.log div { display: grid; grid-template-columns: 62px 1fr; gap: 12px; opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.log div.show { opacity: 1; transform: none; }
.log .t { color: var(--alu-3); }
.log .ok { color: var(--mint-ink); }
.log .hl { color: var(--blue); }
.scene-caption { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: right; }

/* ---------- facts strip ---------- */
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 22px 20px 22px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.fact:last-child { border-right: 0; margin-right: 0; }
.fact strong { display: block; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 4px; }
.fact span { font-size: .9rem; color: var(--muted); }

/* ---------- why / before-after ---------- */
.compare { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 26px 28px 24px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.panel-head h3 { font-size: 1.15rem; }
.panel-head .tag { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.panel-head .tag.good { color: var(--mint-ink); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; line-height: 1.45; }
.checklist .box {
  width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid var(--line-strong); border-radius: 5px;
  display: grid; place-items: center; transition: background .25s, border-color .25s;
}
.checklist .box svg { width: 12px; height: 12px; opacity: 0; transition: opacity .2s; }
.checklist li.done .box { background: var(--blue); border-color: var(--blue); }
.checklist li.done .box svg { opacity: 1; }
.panel.good .checklist li.done .box { background: var(--mint-ink); border-color: var(--mint-ink); }
.panel.good .checklist li { font-size: 1.15rem; font-weight: 600; }
.panel.good .checklist li .box { margin-top: 5px; }
.panel .after { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; display: grid; gap: 6px; }
.repeat { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.repeat svg { width: 16px; height: 16px; }
.repeat.spin svg { animation: spin .8s ease; }
@keyframes spin { to { transform: rotate(360deg); } }

/* modes */
.modes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode-num { font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--blue); letter-spacing: .06em; margin-right: 10px; vertical-align: 3px; }
.mode-more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .92rem; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ticks li { display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; }
.ticks svg { width: 18px; height: 18px; color: var(--mint-ink); margin-top: 4px; }
.ticks strong { display: block; margin-bottom: 3px; }
.ticks span { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.ticks.dark { gap: 12px; }
.ticks.dark strong { color: #fff; }
.ticks.dark span { color: var(--ink-muted); }
.ticks.dark svg { color: var(--mint); }
.server-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.server-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 36px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--ink-line); }
.server-detail .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); display: block; margin-bottom: 12px; }
.pmset code { display: none; font-size: .92rem; color: var(--mint); background: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; overflow-x: auto; }
.pmset > span:last-child { color: var(--ink-muted); font-size: .95rem; }
.server-recipe ol { margin: 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-muted); font-size: .95rem; }
.server-recipe strong, .server-recipe code { color: #fff; }
.panel.mode h3 em { font-style: normal; color: var(--blue); }
.panel.mode > .muted { margin: 4px 0 18px; font-size: .98rem; }
.mode-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.mode-list li { display: grid; grid-template-columns: 78px 1fr; gap: 12px; font-size: .95rem; line-height: 1.45; }
.mode-list .k { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding-top: 3px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.step { padding: 28px 28px 30px; border-right: 1px solid var(--line); display: grid; grid-template-rows: auto auto 1fr; gap: 12px; }
.step:last-child { border-right: 0; }
.step .n { font-family: var(--font-display); font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--blue); }
.step p { color: var(--muted); font-size: .98rem; }
.step .once { font-size: .8rem; color: var(--mint-ink); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; align-self: end; }

/* mac menu mock */
.menu-mock {
  width: 292px; background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); padding: 6px;
  font-size: .86rem; line-height: 1.35; font-family: var(--font-body);
}
.menu-mock .row { padding: 5px 10px; border-radius: 5px; display: flex; justify-content: space-between; align-items: center; }
.menu-mock .row.dim { color: var(--muted); }
/* macOS paints its menu highlight in a saturated blue; the dark-mode token
   is too light to carry white text at AA, so this one keeps the deep blue. */
.menu-mock .row.hi { background: #2864EE; color: #fff; }
.menu-mock hr { border: 0; border-top: 1px solid var(--line); margin: 5px 8px; }
.menu-mock .status { font-weight: 600; }
.menu-mock .status .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--mint-ink); margin-right: 8px; vertical-align: 1px; }
.menubar { display: inline-flex; align-items: center; gap: 12px; padding: 6px 12px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px 8px 0 0; font-size: .78rem; color: var(--muted); }
.menubar img { width: 16px; height: 16px; border-radius: 4px; }
.menu-stage { display: grid; justify-items: start; gap: 0; }

.how-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px 56px; align-items: start; }
.how-grid .steps { grid-template-columns: 1fr; }
.how-grid .step { border-right: 0; border-bottom: 1px solid var(--line); grid-template-columns: 56px 1fr; grid-template-rows: none; gap: 8px 16px; padding: 22px 24px; }
.how-grid .step .n { grid-row: 1 / span 3; padding-top: 4px; }
.how-grid .step:last-child { border-bottom: 0; }
.how-grid .step .once { grid-column: 2; margin-top: 4px; }

/* ---------- dark bands ---------- */
.band { background: var(--ink); color: var(--ink-text); }
.band .eyebrow { color: var(--mint); }
.band .lede, .band .muted { color: var(--ink-muted); }
.band .panel { background: var(--ink-2); border-color: var(--ink-line); }
.band h2, .band h3 { color: #fff; }
.band + .section { border-top: 0; }
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 44px; }
.node { border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: 20px 22px; background: var(--ink-2); display: grid; gap: 6px; min-height: 128px; }
.node .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.node strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.node span { font-size: .9rem; color: var(--ink-muted); }
.node.virtual { border-style: dashed; border-color: var(--mint); }
.node.virtual strong { color: var(--mint); }
.flow .arrow { color: var(--mint); font-size: 1.4rem; }
.hood-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--ink-line); }
.hood-notes h4 { color: #fff; margin-bottom: 8px; }
.hood-notes p { color: var(--ink-muted); font-size: .95rem; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { padding: 26px 26px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: background .2s; }
.feature:hover { background: var(--surface); }
.feature .ico { width: 36px; height: 36px; color: var(--blue); display: grid; place-items: center; background: var(--blue-soft); border-radius: 8px; margin-bottom: 4px; }
.feature .ico svg { width: 20px; height: 20px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- honesty ---------- */
.honest { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.honest .panel { display: grid; gap: 12px; align-content: start; }
.honest .panel h3 { display: flex; align-items: center; gap: 10px; }
.honest .panel h3 svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.honest ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .95rem; display: grid; gap: 6px; }
.honest p { color: var(--muted); font-size: .95rem; }
.honest .panel.warn { border-color: #E2B34A; }
.honest .panel.warn h3 svg { color: #C48A12; }
.callout { border-left: 3px solid var(--blue); padding: 10px 16px; background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-size: .95rem; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px 64px; align-items: center; }
.price-card { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: 30px 30px 26px; display: grid; gap: 18px; }
.price-card .k { display: flex; justify-content: space-between; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); }
.price-card .k span:last-child { color: var(--mint); }
.price-line { display: flex; align-items: baseline; gap: 12px; }
.price { font-family: var(--font-display); font-size: 4rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; color: #fff; }
.price-was { font-size: 1.2rem; color: var(--ink-muted); text-decoration: line-through; }
.price-unit { font-size: .95rem; color: var(--ink-muted); }
.price-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
.price-card li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.price-card li svg { width: 16px; height: 16px; color: var(--mint); margin-top: 4px; }
.price-card .btn { width: 100%; }
.price-card .fine { font-size: .82rem; color: var(--ink-muted); text-align: center; line-height: 1.5; }
.license-steps { display: grid; gap: 18px; margin-top: 28px; }
.license-steps > div { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.license-steps .n { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink-line); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--mint); }
.license-steps strong { display: block; color: #fff; margin-bottom: 2px; }
.license-steps p { color: var(--ink-muted); font-size: .95rem; }
.key-sample { font-family: var(--font-mono); font-size: .8rem; color: var(--mint); background: var(--ink); border: 1px solid var(--ink-line); border-radius: var(--radius); padding: 6px 10px; display: inline-block; margin-top: 6px; word-break: break-all; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 40px 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 1.05rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--blue); flex: none; width: 24px; text-align: center; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .a { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }
.faq-list .a p + p { margin-top: 10px; }

/* ---------- guides ---------- */
.guide-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.guide-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 26px 28px; display: grid; gap: 12px; align-content: start; transition: border-color .2s, transform .2s; }
.guide-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.guide-card .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.guide-card p { color: var(--muted); font-size: .95rem; }
.guide-card .alt { font-size: .86rem; color: var(--muted); padding-top: 10px; border-top: 1px solid var(--line); }
.guide-card .alt a { color: var(--blue); }
.crosslinks { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .95rem; }
.crosslinks a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.crosslinks a:hover { color: var(--blue-deep); }
.related-list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.related-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; border-bottom: 1px solid var(--line); padding: 14px 0; }
.related-list li a { color: var(--blue); font-weight: 500; }
.related-list li span { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

/* article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px 72px; align-items: start; padding-block: 56px 96px; }
.article { max-width: 68ch; }
.article h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 18px; }
.article .meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.article .intro { font-size: 1.2rem; line-height: 1.55; color: var(--muted); margin-bottom: 24px; }
.article h2 { font-size: 1.65rem; margin: 44px 0 14px; }
.article p { margin-bottom: 16px; }
.article ol, .article ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; }
.takeaway { border: 1px solid var(--line); border-left: 3px solid var(--mint-ink); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; margin-bottom: 28px; }
.takeaway strong { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: 6px; }
.takeaway p { margin: 0; }
.toc { position: sticky; top: 92px; border-left: 1px solid var(--line); padding-left: 20px; display: grid; gap: 10px; font-size: .9rem; }
.toc .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--blue); }
.toc .cta { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--blue); font-weight: 600; }
.breadcrumbs { display: flex; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.related { display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; background: var(--surface); margin-top: 44px; transition: border-color .2s; }
.related:hover { border-color: var(--blue); }
.related span { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.related h3 { margin-top: 6px; }
.sources ul { padding-left: 20px; }
.cmp { border-collapse: collapse; width: 100%; font-size: .92rem; min-width: 560px; }
.cmp th, .cmp td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.cmp th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmp td:first-child { font-weight: 600; white-space: nowrap; }
.cmp td:last-child { color: var(--mint-ink); font-weight: 600; }

/* ---------- simple pages (download/buy/legal) ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) 40px; }
.page-head h1 { margin-bottom: 16px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px 64px; align-items: start; }
.legal { max-width: 70ch; padding-block: 8px 96px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p { margin-bottom: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.dl-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: 28px; display: grid; gap: 14px; }
.dl-card .btn { width: 100%; }
.dl-meta { font-size: .86rem; color: var(--muted); display: grid; gap: 4px; }
.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; counter-reset: n; }
.numbered li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; counter-increment: n; }
.numbered li::before { content: counter(n); width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: var(--blue); }
.numbered strong { display: block; margin-bottom: 2px; }
.numbered p { color: var(--muted); font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px 48px; font-size: .9rem; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px 48px; }
.site-footer .brand { color: var(--text); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--blue); }
.site-footer .k { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 12px; color: var(--text); }
.site-footer .legal-line { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: .82rem; }

/* ---------- reveal ---------- */
.reveal { transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .6s ease; }
/* Movement only: a resting opacity below 1 drops small text under AA. */
.js .reveal:not(.in) { transform: translateY(14px); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .modes-grid, .server-grid, .server-detail { grid-template-columns: 1fr; }
  .hero .wrap, .how-grid, .pricing-grid, .faq, .two-col, .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .honest, .hood-notes { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow .arrow { transform: rotate(90deg); justify-self: center; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .pricing-grid { gap: 32px; }
  .price-card { max-width: 520px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 16px; flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 6px; }
  .nav-toggle { display: block; }
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { border-right: 0; margin-right: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .compare, .guide-cards, .features, .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step:last-child { border-bottom: 0; }
  .hero-actions .btn { width: 100%; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .price { font-size: 3.4rem; }
  .menu-mock { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .js .reveal:not(.in) { transform: none; opacity: 1; }
}

/* ---------- landing pages, help, changelog ---------- */
/* One primary action, repeated: download. The price is a quiet second line. */
.cta-block { display: grid; gap: 8px; justify-items: start; margin-top: 28px; }
.cta-note { font-size: .92rem; color: var(--muted); }
.cta-second { font-size: .92rem; color: var(--muted); }
.cta-second a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.landing-head { max-width: 62ch; }
.landing-head h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); margin-bottom: 20px; }
.landing-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px 72px; align-items: start; padding-bottom: 96px; }
.landing-body article { max-width: 68ch; }
.landing-body .article-section h2 { font-size: 1.6rem; margin: 40px 0 14px; }
.landing-body .article-section:first-child h2 { margin-top: 0; }
.landing-body p { margin-bottom: 14px; }
.landing-body ol, .landing-body ul { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 9px; }
.landing-aside { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: var(--surface); display: grid; gap: 14px; }
.landing-aside .cta-block { margin-top: 0; }
.aside-note { font-size: .86rem; color: var(--muted); line-height: 1.6; }
.plain-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
.plain-list li { display: grid; grid-template-columns: 14px 1fr; gap: 12px; line-height: 1.6; }
.plain-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); margin-top: 10px; }
.table-scroll { overflow-x: auto; margin-bottom: 32px; }
.help-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.help-list li { border-bottom: 1px solid var(--line); }
.help-list a { display: grid; gap: 4px; padding: 18px 0; }
.help-list a:hover strong { color: var(--blue); }
.help-list span { color: var(--muted); font-size: .95rem; }
.changelog { max-width: 72ch; }
.release { border-top: 1px solid var(--line); padding-top: 22px; margin-bottom: 34px; }
.release-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; }
.release-head h2 { font-size: 1.5rem; }
@media (max-width: 1000px) {
  .landing-body { grid-template-columns: 1fr; }
  .landing-aside { position: static; }
}

/* ---------- homepage rework ---------- */
/* Sentence case, no tracking: a label should read like a sentence fragment,
   not a system message. */
.hero-kicker, .section-kicker { font-size: .95rem; color: var(--muted); margin: 0 0 18px; }
.section-kicker { font-weight: 500; }
h1 .accent { color: var(--blue); }
.hero-fine { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .88rem; color: var(--muted); }
.hero-fine li::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--line-strong); margin-right: 8px; vertical-align: 3px; }
.objections { border-top: 1px solid var(--line); }
.objection-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 36px 56px; align-items: start; }
.objection h3 { margin-bottom: 10px; }
.objection p { color: var(--muted); font-size: .98rem; line-height: 1.65; margin-bottom: 10px; }
.objection a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
/* Cards earn their border by holding a choice; prose does not get one. */
.panel.mode { box-shadow: none; }
@media (max-width: 1000px) { .objection-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- download facts ---------- */
.dl-facts { margin: 18px 0 0; display: grid; gap: 0; }
.dl-facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .93rem; }
.dl-facts dt { color: var(--muted); }
.dl-facts dd { margin: 0; }
.dl-facts .mono { font-size: .82rem; word-break: break-all; }
@media (max-width: 560px) { .dl-facts > div { grid-template-columns: 1fr; gap: 2px; } }
