/* Layout: a rack of full-width "bays", one per plugin, each a running plugin on video with its pitch laid over the
   left third; a brass nameplate rail on the right indexes the bays. Dark by commitment: the plugins are dark. */
/* base reset (the real site has no wrapper page around it) */
html, body { margin: 0; padding: 0; }
img, video { max-width: 100%; }

:root {
  --bg: #0c0f13;          /* slate, matches the plugin windows */
  --bg-raise: #141920;
  --line: #242c36;
  --ink: #eef1f4;
  --ink-soft: #a7b0bc;
  --ink-faint: #6c7684;
  --brass: #e2b04a;       /* polished brass: what "brightwork" means on a boat */
  --brass-deep: #b98a2c;
  --scrim: 12, 15, 19;    /* --bg as rgb, for gradients */
  --font-display: "Big Shoulders Display", "Big Shoulders", "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0: clamp(0.98rem, 0.94rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.3rem);
  --step-4: clamp(3.4rem, 2.2rem + 6vw, 7.6rem);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 66px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.label { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- top bar ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
.bar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9;
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px; padding-left: var(--gutter); padding-right: var(--gutter-r);
  background: linear-gradient(rgba(var(--scrim), 0.92), rgba(var(--scrim), 0.72));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.wordmark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark b { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: 0.2em; line-height: 1; padding-top: 2px; }
.rivet { width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3cf 0 18%, var(--brass) 45%, var(--brass-deep) 100%); box-shadow: 0 0 0 2px rgba(226, 176, 74, 0.18); flex: none; }
.bar nav { display: flex; gap: 22px; margin-left: auto; }
.bar nav a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; font-weight: 500; }
.bar nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible, .sound:focus-visible, .rail a:focus-visible, .bar a:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.btn-brass { background: var(--brass); color: #1a1406; }
.btn-brass:hover { background: #f0c464; }
.btn-ghost { border-color: rgba(238, 241, 244, 0.28); color: var(--ink); background: rgba(var(--scrim), 0.35); }
.btn-ghost:hover { border-color: var(--ink); }
.btn small { font: 500 0.8rem var(--font-mono); opacity: 0.75; }
.bar .btn { min-height: 38px; padding: 0 16px; font-size: 0.88rem; }
@media (max-width: 760px) { .bar nav { display: none; } .bar .btn { margin-left: auto; } }

/* ---------- bays (heroes) ---------- */
.bay {
  --c: var(--brass);
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(560px, 86vh, 920px);
  display: flex; align-items: flex-end;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.media { position: absolute; inset: 0; z-index: -2; }
.media video, .media .poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus, 70% 40%);
}
.media video { z-index: 1; }
.bay::before { /* the scrim the pitch sits on */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--scrim), 0.96) 0%, rgba(var(--scrim), 0.88) 26%, rgba(var(--scrim), 0.35) 52%, rgba(var(--scrim), 0) 70%),
    linear-gradient(0deg, rgba(var(--scrim), 0.9) 0%, rgba(var(--scrim), 0) 34%);
}
.pitch {
  position: relative; width: 100%;
  display: grid; gap: 18px; align-content: end;
  max-width: calc(36rem + var(--gutter));
  padding-block: 64px 56px; padding-left: max(var(--gutter), 4vw); padding-right: var(--gutter-r);
}
.kind { display: flex; align-items: center; gap: 12px; }
.kind::before { content: ""; width: 26px; height: 2px; background: var(--c); }
.name {
  font-family: var(--font-display); font-weight: 900; font-size: var(--step-4);
  line-height: 0.82; letter-spacing: 0.035em; text-transform: uppercase;
  color: var(--c);
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.5);
}
.hook { font: 800 var(--step-2)/1.1 var(--font-body); font-stretch: 125%; letter-spacing: -0.01em; color: var(--ink); max-width: 22ch; text-wrap: balance; }
.blurb { color: var(--ink-soft); max-width: 34rem; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 2px 0 0; list-style: none; }
.specs li {
  font: 500 var(--step--1) var(--font-mono); letter-spacing: 0.02em; color: var(--ink);
  padding: 6px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.09);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.price { font-family: var(--font-mono); font-weight: 500; }

/* sound control, one per bay; the state is shared across the page */
.sound {
  position: absolute; z-index: 3;
  right: max(20px, calc(env(safe-area-inset-right, 0px) + 20px)); bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22); background: rgba(var(--scrim), 0.62);
  color: var(--ink); font: 600 0.88rem var(--font-body); cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sound:hover { border-color: rgba(255, 255, 255, 0.5); }
.sound svg { width: 20px; height: 20px; flex: none; }
.sound .on, .sound .eq { display: none; }
.sound-on .sound .off { display: none; }
.sound-on .sound .on { display: inline; }
.sound-on .bay.live .sound { border-color: var(--c); }
.sound-on .bay.live .sound .eq { display: inline-flex; }
.eq { align-items: flex-end; gap: 2px; height: 14px; }
.eq i { width: 3px; background: var(--c); border-radius: 1px; animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
@media (prefers-reduced-motion: reduce) { .eq i { animation: none; height: 10px; } }
.stand-in { position: absolute; z-index: 2; left: max(var(--gutter), 4vw); top: 20px; font-size: 0.72rem; color: var(--ink-faint); }

/* opening bay: the label, with all nine running at once */
.bay.open { min-height: clamp(600px, 92vh, 980px); --c: var(--brass); --focus: 50% 50%; }
.bay.open::before {
  background:
    radial-gradient(120% 90% at 15% 85%, rgba(var(--scrim), 0.97) 0%, rgba(var(--scrim), 0.85) 38%, rgba(var(--scrim), 0.45) 70%, rgba(var(--scrim), 0.3) 100%);
}
.open .pitch { max-width: calc(60rem + var(--gutter)); gap: 22px; }
.open h1 { font: 900 clamp(2.9rem, 1.4rem + 5.2vw, 6.4rem)/0.88 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.open h1 em { font-style: normal; color: var(--brass); }
.open .blurb { color: var(--ink); opacity: 0.86; font-size: var(--step-1); max-width: 38rem; line-height: 1.45; }
.promise { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--ink-soft); font-size: 0.9rem; }
.promise span { display: inline-flex; align-items: center; gap: 8px; }
.promise span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

/* nameplate rail: where you are in the rack */
.rail {
  position: fixed; z-index: 8; right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%);
  display: grid; gap: 4px; padding: 0; margin: 0; list-style: none;
}
.rail a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  text-decoration: none; font: 500 0.7rem var(--font-mono); letter-spacing: 0.14em; color: transparent;
  padding: 3px 0 3px 8px; border-radius: 4px;
}
.rail:hover a, .rail a.here { background: rgba(var(--scrim), 0.78); }
.rail a::after { content: ""; width: 14px; height: 2px; background: rgba(238, 241, 244, 0.3); transition: width 0.2s, background-color 0.2s; }
.rail:hover a { color: var(--ink-faint); }
.rail a:hover { color: var(--ink); }
.rail a.here { color: var(--ink-soft); }
.rail a.here::after { width: 28px; background: var(--rc, var(--brass)); }
@media (max-width: 1100px) { .rail { display: none; } }

/* ---------- bundle & licensing ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); padding-left: var(--gutter); padding-right: var(--gutter-r); }
.wrap { max-width: 1180px; margin: 0 auto; }
.bundle { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.bundle h2 { font: 900 clamp(2.8rem, 1.8rem + 4.5vw, 5.6rem)/0.88 var(--font-display); text-transform: uppercase; letter-spacing: 0.01em; }
.bundle h2 em { font-style: normal; color: var(--brass); }
.bundle .copy { display: grid; gap: 22px; align-content: start; }
.bundle .copy p { color: var(--ink-soft); max-width: 32rem; }
.ticket {
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raise);
  padding: 8px 22px 22px;
}
.ticket table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.ticket td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.ticket td:first-child { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.12em; text-transform: uppercase; }
.ticket td:nth-child(2) { color: var(--ink-faint); font-size: 0.9rem; }
.ticket td:last-child { text-align: right; font-family: var(--font-mono); color: var(--ink-soft); }
.ticket .sum td { border-bottom: 0; padding-top: 16px; font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.ticket .sum td:last-child s { color: var(--ink-faint); }
.ticket .total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 8px; padding-top: 16px; border-top: 2px solid var(--brass); }
.ticket .total b { font: 900 3.4rem/1 var(--font-display); color: var(--brass); }
.ticket .total span { color: var(--ink-soft); font-size: 0.92rem; }
.ticket .btn { width: 100%; margin-top: 18px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dc); margin-right: 12px; vertical-align: 2px; }

.terms { border-top: 1px solid var(--line); }
.terms h2 { font: 800 var(--step-2)/1.1 var(--font-body); font-stretch: 125%; max-width: 22ch; }
.terms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-top: 40px; }
.term { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--line); }
.term h3 { font-size: var(--step-1); font-weight: 600; }
.term p { color: var(--ink-soft); }
.term .label { color: var(--brass); }
.sysreq { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--ink-faint); font: 0.85rem var(--font-mono); }

footer { padding-block: 36px 48px; padding-left: var(--gutter); padding-right: var(--gutter-r); border-top: 1px solid var(--line); color: var(--ink-faint); font-size: 0.88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }

.toast {
  position: fixed; z-index: 20; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px);
  max-width: min(92vw, 440px); padding: 14px 18px; border-radius: 12px;
  background: #1d242d; border: 1px solid var(--line); color: var(--ink); font-size: 0.92rem; line-height: 1.4;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- shared bits for the plugin and manual pages ---------- */
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a, .sysreq a { color: var(--ink-soft); text-decoration: none; }
.foot-nav a:hover, .sysreq a:hover { color: var(--ink); }
.sysreq a { color: var(--brass); }
.more { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.more::after { content: "→"; color: var(--c); transition: transform 0.15s; }
.more:hover::after { transform: translateX(3px); }
.bar nav a[aria-current="page"] { color: var(--ink); }
.rail button {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; width: 100%;
  background: none; border: 0; cursor: pointer; font: 500 0.7rem var(--font-mono); letter-spacing: 0.14em; color: transparent;
  padding: 3px 0 3px 8px; border-radius: 4px;
}
.rail button::after { content: ""; width: 14px; height: 2px; background: rgba(238, 241, 244, 0.3); transition: width 0.2s, background-color 0.2s; }
.rail:hover button { color: var(--ink-faint); background: rgba(var(--scrim), 0.78); }
.rail button:hover { color: var(--ink); }
.rail button.here { color: var(--ink-soft); background: rgba(var(--scrim), 0.78); }
.rail button.here::after { width: 28px; background: var(--rc, var(--brass)); }
.rail button:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.pg { --c: var(--brass); }
.pg-section { padding-block: clamp(56px, 8vw, 104px); padding-left: var(--gutter); padding-right: var(--gutter-r); border-bottom: 1px solid var(--line); }
.pg-section h2 { font: 900 clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem)/0.92 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.pg-section h2 + *, .sec-head + * { margin-top: 28px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.sec-head p { color: var(--ink-soft); max-width: 38rem; }
.crumb {
  position: absolute; z-index: 3; top: 18px; left: calc(max(var(--gutter), 4vw) - 12px);
  padding: 6px 12px; border-radius: 999px; background: rgba(var(--scrim), 0.72);
  font: 500 var(--step--1) var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft);
}
.crumb:hover { color: var(--ink); }
.bay.hero { min-height: clamp(560px, 84vh, 900px); }
.hero .stand-in { top: 52px; }

/* the lede and the four numbers */
.intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro .lede { font: 500 var(--step-1)/1.5 var(--font-body); color: var(--ink); max-width: 40rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin: 0; }
.facts div { border-top: 2px solid var(--c); padding-top: 12px; display: grid; gap: 6px; }
.facts dt { font: 900 clamp(2.4rem, 1.9rem + 2vw, 3.6rem)/0.9 var(--font-display); color: var(--c); letter-spacing: 0.01em; }
.facts dd { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.4; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 3vw, 48px); counter-reset: f; }
.feature { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 1px solid var(--line); counter-increment: f; }
.feature::before { content: counter(f, decimal-leading-zero); font: 500 var(--step--1) var(--font-mono); color: var(--c); letter-spacing: 0.1em; }
.feature h3 { font: 700 var(--step-1)/1.2 var(--font-body); font-stretch: 112%; }
.feature p { color: var(--ink-soft); }

/* signal chain */
.chain { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 0; padding: 0; margin: 0; list-style: none; }
.chain > li { display: flex; align-items: center; }
.chain > li + li::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--line), var(--c)); flex: none; }
.tile {
  font: 500 0.82rem var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg-raise); white-space: nowrap;
}
.par { display: grid; gap: 6px; padding: 6px; border: 1px dashed rgba(255, 255, 255, 0.16); border-radius: 10px; }
.chain-note { margin-top: 18px; color: var(--ink-faint); font-size: 0.92rem; }

/* presets */
.presets { columns: 4 210px; column-gap: 32px; }
.pgroup { break-inside: avoid; margin-bottom: 26px; }
.pgroup h3 { font: 500 var(--step--1) var(--font-mono); letter-spacing: 0.14em; color: var(--c); margin-bottom: 8px; }
.pgroup ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 3px; }
.pgroup li { color: var(--ink-soft); font-size: 0.95rem; }
.pgroup li.more-names { color: var(--ink-faint); font-style: italic; }

/* specs + buy */
.spec-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec-table th { width: 34%; padding-right: 16px; font: 500 var(--step--1) var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.buybox { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-raise); padding: 26px; display: grid; gap: 16px; border-top: 3px solid var(--c); }
.buybox .big { font: 900 4rem/0.9 var(--font-display); }
.buybox p { color: var(--ink-soft); }
.buybox .actions { margin-top: 0; }
.buybox .alt { font-size: 0.92rem; border-top: 1px solid var(--line); padding-top: 14px; }
.buybox .alt a { color: var(--brass); }

/* previous / next */
.neighbours { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 40px; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.nb {
  position: relative; overflow: hidden; isolation: isolate; min-height: 150px; border-radius: 14px; border: 1px solid var(--line);
  display: grid; align-content: end; gap: 2px; padding: 20px; text-decoration: none; background: var(--bg-raise);
}
.nb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.45; transition: opacity 0.2s, transform 0.4s; }
.nb::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--scrim), 0.95), rgba(var(--scrim), 0.25)); }
.nb:hover img { opacity: 0.7; transform: scale(1.03); }
.nb small { font: 500 var(--step--1) var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }
.nb b { font: 900 2.2rem/0.95 var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--nc); }
.nb.next { text-align: right; }

/* ---------- manuals and support ---------- */
.doc-head { padding-block: clamp(48px, 7vw, 96px) 32px; padding-left: var(--gutter); padding-right: var(--gutter-r); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 9%, transparent), transparent 80%); }
.doc-head .wrap { display: grid; gap: 16px; }
.doc-head h1 { font: 900 clamp(3rem, 2rem + 5vw, 6rem)/0.85 var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--c); }
.doc-head .sub { color: var(--ink-soft); font-size: var(--step-1); max-width: 40rem; }
.doc-links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.doc-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.doc-links a::after { content: " →"; color: var(--c); }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); max-width: 1180px; margin: 0 auto; padding-block: 48px 96px; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.toc { position: sticky; top: 92px; align-self: start; display: grid; gap: 2px; }
.toc p { margin-bottom: 8px; }
.toc button {
  text-align: left; background: none; border: 0; border-left: 2px solid var(--line); padding: 6px 0 6px 14px;
  font: 500 0.92rem var(--font-body); color: var(--ink-soft); cursor: pointer;
}
.toc button:hover { color: var(--ink); }
.toc button.here { color: var(--ink); border-left-color: var(--c); }
.prose { max-width: 46rem; min-width: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font: 900 clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; margin-top: 2.2em; padding-top: 0.6em; border-top: 1px solid var(--line); scroll-margin-top: 84px; }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font: 700 var(--step-1)/1.25 var(--font-body); margin-top: 1.8em; }
.prose p, .prose li { color: #c9d0d8; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.45em; }
.prose li::marker { color: var(--c); }
.prose code { font: 0.86em var(--font-mono); background: rgba(255, 255, 255, 0.07); padding: 2px 6px; border-radius: 4px; color: var(--ink); overflow-wrap: anywhere; }
.prose a { color: var(--c); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.prose th { font: 500 var(--step--1) var(--font-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); background: var(--bg-raise); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.prose td { color: #c9d0d8; }
.manual-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.mcard {
  display: grid; gap: 4px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-raise);
  text-decoration: none; border-top: 3px solid var(--mc); transition: border-color 0.15s, transform 0.15s;
}
.mcard:hover { transform: translateY(-2px); border-color: var(--mc); }
.mcard b { font: 900 1.6rem/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; color: var(--mc); }
.mcard span { color: var(--ink-soft); font-size: 0.9rem; }
.placeholder { border: 1px dashed var(--brass-deep); border-radius: 8px; padding: 10px 14px; color: var(--brass) !important; font-family: var(--font-mono); font-size: 0.88rem; }

@media (max-width: 980px) {
  .intro, .spec-grid { grid-template-columns: minmax(0, 1fr); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doc { grid-template-columns: minmax(0, 1fr); padding-top: 28px; }
  .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .toc p { width: 100%; margin-bottom: 2px; }
  .toc button { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 0.85rem; }
  .toc button.here { border-color: var(--c); }
}


/* full screenshot + viewer */
.shot { margin: 0; display: grid; gap: 14px; }
.shot-open { display: block; padding: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; cursor: zoom-in; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.shot-open img { display: block; width: 100%; height: auto; transition: transform 0.4s; }
.shot-open:hover img { transform: scale(1.01); }
.shot-open:focus-visible { outline: 2px solid var(--c); outline-offset: 4px; }
.shot figcaption { color: var(--ink-faint); font-size: 0.92rem; max-width: 52rem; }
.viewer { position: fixed; inset: 0; z-index: 60; background: var(--bg); display: grid; grid-template-rows: auto minmax(0, 1fr);
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); gap: 10px; }
.viewer-close { justify-self: end; }
.viewer-scroll { overflow: auto; display: grid; place-items: center; min-height: 0; }
.viewer-scroll img { max-width: none; width: min(1922px, 100%); height: auto; }
@media (max-width: 760px) { .viewer-scroll { place-items: start; } .viewer-scroll img { width: 1400px; } }

/* ---------- phones: picture on top, pitch underneath ---------- */
@media (max-width: 760px) {
  .bay, .bay.open { min-height: 0; display: block; }
  .media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 10; max-width: 100%; }
  .media video, .media .poster { object-position: var(--focus-m, var(--focus, 70% 40%)); }
  .media::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(var(--scrim), 1) 0%, rgba(var(--scrim), 0) 42%); pointer-events: none; }
  .bay::before { display: none; }
  .pitch { position: relative; z-index: 3; margin-top: -48px; padding-block: 0 44px; padding-left: var(--gutter); gap: 14px; }
  .sound { top: 12px; bottom: auto; right: max(12px, env(safe-area-inset-right, 0px)); min-height: 40px; }
  .stand-in { position: static; margin: -28px 0 0; padding: 0 var(--gutter-r) 36px var(--gutter); }
  .bundle, .terms-grid { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 auto; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .facts { gap: 20px; }
  .neighbours { grid-template-columns: minmax(0, 1fr); }
  .nb.next { text-align: left; }
  .crumb { top: 14px; }
  .bay.hero { min-height: 0; }
  .hero .stand-in { top: auto; }
  .tile { white-space: normal; }
}

/* ---------- free plugin band, downloads, legal ---------- */
.freebie { border-top: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 8%, transparent), transparent 70%); }
.freebie-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.freebie-shot { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8); }
.freebie-shot img { display: block; width: 100%; height: auto; }
.freebie h2 { font: 900 clamp(2.6rem, 2rem + 3vw, 4.4rem)/0.9 var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; color: var(--c); }
.freebie .copy { display: grid; gap: 14px; }
.freebie .copy > p:not(.label):not(.hook) { color: var(--ink-soft); }
.freebie .hook { font: 700 var(--step-1)/1.25 var(--font-body); }
.dl-table td { vertical-align: middle; }
.dl-table td:first-child a { color: var(--ink); text-decoration: none; }
.dl-table .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dc); margin-right: 10px; }
.dl-table tr:target td { background: color-mix(in srgb, var(--dc) 14%, transparent); }
.dl-table .btn { padding: 8px 14px; font-size: 0.85rem; }
.prose .small { font-size: 0.88rem; color: var(--ink-faint); }
.prose .mono { font-family: var(--font-mono); }
pre.legal { white-space: pre-wrap; overflow-wrap: anywhere; font: 0.84rem/1.6 var(--font-mono); color: #c9d0d8; background: var(--bg-raise); border: 1px solid var(--line); border-radius: 10px; padding: 20px; max-width: 100%; }
footer .tm { flex-basis: 100%; font-size: 0.78rem; color: var(--ink-faint); }
footer a { color: var(--ink-soft); }
@media (max-width: 760px) { .freebie-grid { grid-template-columns: minmax(0, 1fr); } }
