/* Harness site: "Saddle & Signal". Bone paper and graphite, brass hardware, saddle-stitched seams.
   Colours are tokens on :root, redefined for dark (system preference, or the toggle's data-theme). */

:root {
  --bg: #f4efe6;
  --bg-2: #ece5d8;
  --surface: #fffbf4;
  --ink: #1c1a16;
  --ink-2: #4b463d;
  --ink-3: #6a6458;
  --line: #d9cfbd;
  --line-2: #c9bda6;
  --brass: #84560f;
  --brass-fill: #c99235;
  --brass-soft: #f1e2c3;
  --signal: #0b6a6a;
  --us: #f6e9cd;
  --yes: #1d6b41;
  --part: #84560f;
  --no: #5f594f;
  --na: #807868;
  --pass: #1d6b41;
  --weak: #c99235;
  --fail: #a33a2a;
  --shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -22px rgba(60, 40, 10, .35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101113;
    --bg-2: #15161a;
    --surface: #1b1c20;
    --ink: #f2ede3;
    --ink-2: #c3bbac;
    --ink-3: #9d968a;
    --line: #2c2d33;
    --line-2: #3a3b42;
    --brass: #e8b75c;
    --brass-fill: #d9a443;
    --brass-soft: #2b2416;
    --signal: #66d2c6;
    --us: #241f15;
    --yes: #7ed59b;
    --part: #e8b75c;
    --no: #a39d92;
    --na: #8a847a;
    --pass: #5fbf80;
    --weak: #d9a443;
    --fail: #e0705e;
    --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 50px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101113;
  --bg-2: #15161a;
  --surface: #1b1c20;
  --ink: #f2ede3;
  --ink-2: #c3bbac;
  --ink-3: #9d968a;
  --line: #2c2d33;
  --line-2: #3a3b42;
  --brass: #e8b75c;
  --brass-fill: #d9a443;
  --brass-soft: #2b2416;
  --signal: #66d2c6;
  --us: #241f15;
  --yes: #7ed59b;
  --part: #e8b75c;
  --no: #a39d92;
  --na: #8a847a;
  --pass: #5fbf80;
  --weak: #d9a443;
  --fail: #e0705e;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 24px 50px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 780px; }
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* stitched seam: the motif */
.seam, .band::before {
  content: ""; display: block; height: 0; border-top: 2px dashed var(--line-2);
}

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 20px/1 var(--serif); }
.mark { width: 28px; height: 28px; fill: none; stroke: var(--brass); stroke-width: 2.2; }
.mark circle:first-child { fill: var(--brass-soft); }
.mark circle:not(:first-child) { fill: var(--brass); stroke: none; }
.top nav { margin-left: auto; }
.top nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.top nav a { display: block; padding: 8px 10px; color: var(--ink-2); text-decoration: none; font-size: 15px; border-radius: 8px; }
.top nav a:hover { color: var(--ink); background: var(--bg-2); }
@media (max-width: 719px) { .top nav { display: none; } .theme { margin-left: auto; } }
.theme {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink); display: grid; place-items: center; cursor: pointer;
}
.theme svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme .i-sun { display: none; }
:root[data-theme="dark"] .theme .i-sun { display: block; }
:root[data-theme="dark"] .theme .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme .i-moon { display: none; }
}

/* ---------- shared section bits ---------- */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.band { background: var(--bg-2); position: relative; }
.band::before { position: absolute; left: 0; right: 0; top: 10px; }
.kicker {
  font: 600 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--brass);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.kicker::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff6 0 20%, transparent 22%), var(--brass-fill); box-shadow: 0 0 0 2px var(--brass-soft); }
h2 { font-size: clamp(30px, 5.2vw, 52px); max-width: 20ch; }
.section-lede { color: var(--ink-2); font-size: 18px; max-width: 64ch; margin-top: 18px; }
.fine { color: var(--ink-3); font-size: 15px; margin-top: 16px; }

/* ---------- hero ---------- */
.hero {
  padding-top: 56px;
  background:
    radial-gradient(1000px 500px at 85% -10%, color-mix(in srgb, var(--brass-fill) 18%, transparent), transparent 70%),
    repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--ink) 2.2%, transparent) 7px 8px),
    var(--bg);
  overflow: hidden;
}
.hero-in { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-in { grid-template-columns: 1.02fr 1fr; gap: 56px; } }
.eyebrow { font: 600 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.hero h1 { font-size: clamp(38px, 7vw, 68px); }
.hero h1 em { font-style: italic; color: var(--brass); display: block; margin-top: .15em; }
.lede { font-size: clamp(18px, 2.2vw, 20px); color: var(--ink-2); margin-top: 22px; max-width: 54ch; }
.proof { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .proof { grid-template-columns: repeat(3, 1fr); } }
.proof li {
  position: relative; padding: 14px 14px 14px 40px; background: var(--surface); border-radius: 12px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.proof li::after { content: ""; position: absolute; inset: 4px; border: 1px dashed var(--line-2); border-radius: 9px; pointer-events: none; }
.proof strong { display: block; font: 700 17px/1.25 var(--serif); }
.proof span:not(.stud) { display: block; font-size: 14px; color: var(--ink-3); margin-top: 2px; line-height: 1.35; }
.stud {
  position: absolute; left: 14px; top: 18px; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8 0 18%, transparent 22%), var(--brass-fill);
  box-shadow: 0 0 0 3px var(--brass-soft), 0 1px 2px rgba(0, 0, 0, .3);
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; border: 2px solid var(--ink);
}
.btn:hover { background: var(--brass); border-color: var(--brass); color: var(--bg); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--brass); color: var(--brass); background: transparent; }

.hero-shot { margin: 0; position: relative; padding-bottom: 40px; }
.frame {
  border-radius: 14px; overflow: hidden; background: #0d0e10; border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55), 0 0 0 6px var(--surface), 0 0 0 7px var(--line);
}
.frame.phone {
  position: absolute; right: -8px; bottom: 0; width: 30%; max-width: 190px; border-radius: 22px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), 0 0 0 5px #1b1c20, 0 0 0 6px var(--line-2);
}
@media (max-width: 520px) { .frame.phone { width: 34%; right: 0; } }
.hero-shot figcaption { font-size: 13px; color: var(--ink-3); margin-top: 18px; max-width: 60%; }

/* ---------- differentiators ---------- */
.diff { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 14px; }
@media (min-width: 640px) { .diff { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .diff { grid-template-columns: repeat(4, 1fr); } }
.diff li { position: relative; padding: 22px 20px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.diff li::after { content: ""; position: absolute; inset: 5px; border: 1px dashed var(--line-2); border-radius: 10px; pointer-events: none; }
.diff svg { width: 30px; height: 30px; fill: none; stroke: var(--brass); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.diff h3 { font-size: 21px; margin-top: 14px; }
.diff p { color: var(--ink-2); font-size: 15.5px; margin-top: 8px; line-height: 1.5; }

/* ---------- screens ---------- */
.gallery { display: grid; gap: 28px 22px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery figure { margin: 0; }
.g-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; }
.g-pair img { max-height: 420px; width: auto; margin: 0 auto; border-radius: 18px !important; }
.g-pair figcaption { grid-column: 1 / -1; }
.gallery > *, .hero-in > *, .how-grid > *, .tested-grid > *, .diff > *, .src-grid > * { min-width: 0; }
.gallery img { border-radius: 12px; border: 1px solid var(--line-2); background: #0d0e10; box-shadow: var(--shadow); }
.gallery figcaption { font-size: 15px; color: var(--ink-2); margin-top: 12px; }
.gallery figcaption strong { color: var(--ink); font-family: var(--serif); font-size: 17px; }

/* ---------- comparison ---------- */
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.legend > span { display: inline-flex; align-items: center; gap: 6px; }
/* The symbols are the characters ● ◐ ○ – (kept in the text for copy and paste), drawn as shapes of one size. */
.sym {
  display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px;
  font-size: 0 !important; color: transparent; overflow: hidden; box-sizing: border-box;
}
.sym.yes { background: var(--yes); }
.sym.part { border: 2px solid var(--part); background: linear-gradient(90deg, var(--part) 50%, transparent 50%); }
.sym.no { border: 2px solid var(--no); }
.sym.na { border-radius: 2px; height: 2px; width: 12px; vertical-align: 4px; background: var(--na); }
@media (forced-colors: active) {
  .sym { font-size: 16px !important; color: CanvasText; width: auto; height: auto; border: 0; background: none; }
}

.chips { border: 0; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; }
.chips legend { float: left; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-right: 6px; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; cursor: pointer; user-select: none;
}
.chip input { accent-color: var(--brass); width: 16px; height: 16px; margin: 0; }
.chip:has(input:not(:checked)) { color: var(--ink-3); background: transparent; border-style: dashed; }
.chip:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 2px; }

.table-scroll {
  position: relative; margin-top: 20px; overflow-x: auto; overscroll-behavior-x: contain; border-radius: var(--radius);
  border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow);
  -webkit-overflow-scrolling: touch;
}
.scroll-hint { font-size: 13px; color: var(--ink-3); margin-top: 8px; }
@media (min-width: 1100px) { .scroll-hint { display: none; } }

.matrix { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 860px; font-size: 14.5px; }
.matrix th, .matrix td { padding: 10px 8px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
.matrix thead th {
  font: 600 13px/1.2 var(--sans); color: var(--ink); background: var(--surface); position: sticky; top: 0; z-index: 2;
  border-bottom: 2px solid var(--line-2); padding-top: 14px; padding-bottom: 12px;
}
.matrix thead a { color: inherit; text-decoration: none; display: block; }
.matrix thead a:hover { color: var(--brass); }
.matrix thead .sub { display: block; font-weight: 400; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.matrix .feat {
  text-align: left; font-weight: 600; position: sticky; left: 0; z-index: 1; background: var(--surface);
  width: 150px; min-width: 150px; max-width: 150px; padding-left: 14px; line-height: 1.3;
}
.matrix thead .feat { z-index: 3; font: 600 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.matrix .us {
  position: sticky; left: 150px; z-index: 1; background: var(--us);
  width: 84px; min-width: 84px; box-shadow: inset 2px 0 0 var(--brass-fill), inset -2px 0 0 var(--brass-fill);
}
.matrix thead .us { z-index: 3; color: var(--brass); font-family: var(--serif); font-size: 15px; }
.matrix tbody tr:last-child .us { box-shadow: inset 2px 0 0 var(--brass-fill), inset -2px 0 0 var(--brass-fill), inset 0 -2px 0 var(--brass-fill); }
.matrix .cat th {
  text-align: left; background: var(--bg-2); padding: 0; border-bottom: 1px solid var(--line-2); border-top: 1px solid var(--line-2);
}
.matrix .cat th span {
  position: sticky; left: 0; display: inline-block; padding: 9px 14px; font: 700 15px/1.2 var(--serif); color: var(--ink);
}
.matrix .cat th span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brass-fill); margin-right: 8px; vertical-align: 2px; }
.matrix td .sym { width: 16px; height: 16px; }
.matrix td .sym.na { width: 12px; height: 2px; }
.matrix td .note { display: block; font-size: 11.5px; line-height: 1.2; color: var(--ink-3); margin-top: 2px; }
.matrix td .txt { font-size: 12.5px; color: var(--ink-2); line-height: 1.25; display: inline-block; }
.matrix td[data-v="tbd"] .note { font-size: 12px; font-style: italic; }
.matrix tbody tr:hover th.feat, .matrix tbody tr:hover td:not(.us) { background: color-mix(in srgb, var(--brass-fill) 7%, var(--surface)); }
.matrix [hidden] { display: none; }
@media (max-width: 719px) {
  .matrix { font-size: 13.5px; min-width: 0; }
  .matrix .feat { width: 118px; min-width: 118px; max-width: 118px; padding-left: 10px; font-size: 13px; }
  .matrix .us { left: 118px; width: 72px; min-width: 72px; }
  .matrix td, .matrix thead th:not(.feat):not(.us) { min-width: 78px; }
}

.only { margin-top: 56px; }
.only-title { font-size: clamp(24px, 3.6vw, 34px); }
.only-lede { color: var(--ink-2); margin-top: 10px; max-width: 64ch; }
.only-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 0; border-top: 2px dashed var(--line-2); }
@media (min-width: 760px) { .only-list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; } }
@media (min-width: 1100px) { .only-list { grid-template-columns: repeat(3, 1fr); } }
.only-list li { padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); position: relative; }
.only-list li::before {
  content: ""; position: absolute; left: 2px; top: 22px; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8 0 18%, transparent 22%), var(--brass-fill); box-shadow: 0 0 0 3px var(--brass-soft);
}
.only-list h3 { font-size: 18px; }
.only-list p { font-size: 15px; color: var(--ink-2); margin-top: 4px; line-height: 1.45; }

/* ---------- how ---------- */
.how-grid { display: grid; gap: 40px; margin-top: 36px; align-items: center; }
@media (min-width: 1000px) { .how-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.diagram { margin: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px; box-shadow: var(--shadow); }
.diagram svg { width: 100%; height: auto; display: block; }
.d-wires path { fill: none; stroke: var(--line-2); stroke-width: 2.5; stroke-dasharray: 7 6; }
.d-pulse circle { fill: var(--signal); }
.d-node rect { fill: var(--bg-2); stroke: var(--line-2); stroke-width: 1.5; }
.d-node text { fill: var(--ink); font: 600 15px var(--sans); text-anchor: middle; dominant-baseline: middle; }
.d-node .d-small { fill: var(--ink-3); font-size: 12.5px; font-weight: 400; }
.d-hub > circle:first-child { fill: var(--brass-soft); stroke: var(--brass-fill); stroke-width: 3; }
.d-hub .d-stitch { fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 5 5; }
.d-hub text { text-anchor: middle; fill: var(--ink); }
.d-hub-name { font: 700 22px var(--serif); }
.d-hub-sub { font: 500 12.5px var(--sans); fill: var(--ink-2) !important; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 26px; }
.steps li { counter-increment: s; position: relative; padding-left: 58px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 700 18px var(--serif); color: var(--brass);
  border: 2px dashed var(--brass-fill); background: var(--surface);
}
.steps h3 { font-size: 22px; }
.steps p { color: var(--ink-2); margin-top: 6px; }

/* ---------- tested ---------- */
.tested-grid { display: grid; gap: 40px; margin-top: 10px; }
@media (min-width: 1000px) { .tested-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }
.asks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.asks li { font: 500 14px/1 var(--mono); padding: 9px 12px; border-radius: 8px; background: var(--surface); border: 1px dashed var(--line-2); color: var(--ink-2); }
.results { margin: 0; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; padding: 24px; box-shadow: var(--shadow); }
.results h3 { font-size: 22px; }
.results figcaption p { color: var(--ink-3); font-size: 14px; margin-top: 4px; }
.bars { display: grid; gap: 20px; margin-top: 22px; }
.bar-label { font-size: 15px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.bar-label span { font-weight: 400; color: var(--ink-3); font-size: 13.5px; white-space: nowrap; }
.bar { display: flex; gap: 2px; height: 30px; margin-top: 8px; }
.seg { flex: var(--n) 1 0; min-width: 0; display: flex; align-items: center; padding-left: 8px; color: #fff; font: 600 13px var(--sans); }
.seg:first-child { border-radius: 4px 0 0 4px; }
.seg:last-child { border-radius: 0 4px 4px 0; }
.seg[style*="--n:0"] { display: none; }
.seg.pass { background: var(--pass); }
.seg.weak { background: var(--weak); color: #1c1a16; }
.seg.fail { background: var(--fail); }
:root[data-theme="dark"] .seg.pass, :root[data-theme="dark"] .seg.fail { color: #101113; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .seg.pass, :root:not([data-theme="light"]) .seg.fail { color: #101113; } }
.seg b { font-weight: 700; }
.bar-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.bar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bar-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.bar-legend i.pass { background: var(--pass); }
.bar-legend i.weak { background: var(--weak); }
.bar-legend i.fail { background: var(--fail); }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 2px dashed var(--line-2); margin-top: 28px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font: 700 20px/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; font: 400 20px/1 var(--sans); color: var(--brass);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 0 22px; max-width: 68ch; }

/* ---------- footer / sources ---------- */
.foot { background: var(--bg-2); border-top: 2px dashed var(--line-2); padding: 64px 0 48px; font-size: 15px; }
.foot h2 { font-size: clamp(26px, 4vw, 36px); }
.method { display: grid; gap: 14px; margin-top: 18px; color: var(--ink-2); max-width: 80ch; }
.src-grid { display: grid; gap: 26px 32px; margin-top: 36px; }
@media (min-width: 640px) { .src-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .src-grid { grid-template-columns: repeat(3, 1fr); } }
.src-grid section { padding: 0; }
.src-grid h3 { font-size: 17px; padding-bottom: 6px; border-bottom: 1px dashed var(--line-2); }
.src-grid ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-3); font-size: 14px; }
.src-grid li { margin: 3px 0; overflow-wrap: anywhere; }
.src-grid p { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.src-grid section:target h3 { color: var(--brass); }
.colophon { margin-top: 44px; color: var(--ink-3); font: 500 13px var(--mono); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .d-pulse { display: none; }
  * { transition: none !important; animation: none !important; }
}

/* ---- get started */
.start-grid { display: grid; gap: 32px; margin-top: 32px; }
.start-grid > * { min-width: 0; }
@media (min-width: 1000px) { .start-grid { grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; } }
.start-steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.start-steps > li { min-width: 0; counter-increment: step; position: relative; padding-left: 48px; color: var(--ink-2); }
.start-steps > li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ink); background: var(--brass-soft); box-shadow: 0 0 0 2px var(--brass-fill) inset; }
.start-steps b { color: var(--ink); display: block; margin-bottom: 4px; }
.term-box { margin: 10px 0; padding: 14px 16px; border-radius: 10px; background: #17181b; color: #f2ede3; font: 15px/1.5 var(--mono); overflow-x: auto; white-space: pre; box-shadow: var(--shadow); }
.term-box .prompt { color: #c99235; margin-right: 10px; user-select: none; }
.start-side { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.start-side h3 { margin: 0 0 8px; }
.start-side p { color: var(--ink-2); margin: 10px 0; }
.start-side .small { font-size: 14px; color: var(--ink-3); }
.start-side code { font-family: var(--mono); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 480px) { .term-box { font-size: 13px; padding: 12px; } }
