/* gestaltx.wiki
   Taste Skill direction: The product performs (seed 1576487649, redraw 1: Newsprint and brass)
   App fragment style: Data terminal (seed 1601043987, devtools dark, 1px brass selection line)
   Type: Clash Grotesk (400, 500, 600) across display, headings, controls, and body */
:root {
  --bg: #e8e8e3;
  --surface: #dcdcd6;
  --surface-2: #cfcfc8;
  --surface-3: #b9b9b0;
  --ink: #181715;
  --muted: #4a4944;
  --accent: #bfb21a;
  --accent-hover: #a89c14;
  --accent-ink: #181715;
  --field: #181715;
  --field-surface: #23221f;
  --field-surface-2: #2f2e2a;
  --field-border: #3a3934;
  --field-ink: #e8e8e3;
  --field-muted: #b5b4ac;
  --ok: #1b5e3a;
  --warn: #6e4800;
  --bad: #8f1d1d;
  --font: "Clash Grotesk", "Helvetica Neue", Arial, sans-serif;
  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.15rem);
  --step-lead: clamp(1.2rem, 1.08rem + 0.42vw, 1.42rem);
  --step-head: clamp(1.55rem, 1.15rem + 1.5vw, 2.3rem);
  --step-display: clamp(2.05rem, 4.6vw, 3.4rem);
  --r: 4px;
  --margin: clamp(20px, 4vw, 44px);
  --wrap: 1320px;
  --gap: clamp(24px, 3.4vw, 52px);
  --section: clamp(88px, 8.5vw, 140px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.52 var(--font);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; height: auto; }
a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--muted);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color var(--t-hover), text-decoration-color var(--t-hover);
}
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
b, strong { font-weight: 600; color: var(--ink); }

code, kbd, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
code, kbd {
  font-size: var(--step-small);
  background: var(--surface);
  color: var(--ink);
  padding: 0.1em 0.36em;
  border-radius: var(--r);
  overflow-wrap: anywhere;
}
pre {
  background: var(--surface);
  color: var(--ink);
  padding: 18px 20px;
  overflow-x: auto;
  font-size: var(--step-small);
  line-height: 1.58;
  margin: 0 0 1.2em;
  border-radius: var(--r);
}
pre code { background: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-display); line-height: 0.95; }
h2 { font-size: var(--step-head); line-height: 1.02; margin: 0 0 0.55em; }
h3 { font-size: var(--step-lead); line-height: 1.14; letter-spacing: -0.02em; margin: 1.3em 0 0.4em; }
h4 { font-size: var(--step-body); line-height: 1.24; font-weight: 600; letter-spacing: -0.01em; margin: 1.1em 0 0.3em; }

p { margin: 0 0 1em; max-width: 54ch; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; margin: 0 0 1.2em; max-width: 54ch; }
li { margin: 0.38em 0; }
li::marker { color: var(--ink); font-weight: 600; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--margin); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 14px; top: 14px; z-index: 99; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: var(--r); }
.lead { font-size: var(--step-lead); line-height: 1.4; max-width: 44ch; }
.fine, .sub { font-size: var(--step-small); color: var(--muted); }
.note { background: var(--surface); padding: 18px 22px; max-width: 62ch; border-radius: var(--r); margin: 0 0 1.2em; }

/* Flat square-cornered buttons (4px architectural radius) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 var(--step-body)/1.15 var(--font);
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 0;
  border-radius: var(--r);
  cursor: pointer;
  transition: background-color var(--t-hover), transform var(--t-press) var(--ease-out);
  text-align: center;
}
.btn:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--ghost { background: var(--surface); color: var(--ink); }
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn--paper { background: var(--field-ink); color: var(--field); }
.btn--paper:hover { background: var(--surface); color: var(--field); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* Plain navigation bar: wordmark left, plain links, language toggle */
.nav .wrap {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  min-height: 74px;
  flex-wrap: wrap;
  padding-block: 12px;
}
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font: 600 var(--step-lead)/1 var(--font);
  letter-spacing: -0.03em;
}
.mark svg { flex: none; }
.nav__links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-left: auto; }
.nav__links a, .nav__lang a {
  font-weight: 500;
  font-size: var(--step-small);
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--t-hover);
}
.nav__links a:hover, .nav__lang a:hover { color: var(--ink); }
.nav__links a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}
.nav__lang { display: flex; gap: 10px; }
.nav__lang a[aria-current] { color: var(--ink); font-weight: 600; }

/* Hero: The product performs (5/7 split: plain headline left, true-size live inspector fragment right) */
.hero { padding: clamp(28px, 4vw, 56px) 0 0; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
  align-items: start;
}
.hero h1 { margin: 0 0 20px; max-width: 15ch; }
.hero .lead { max-width: 42ch; }
.status { list-style: none; padding: 0; margin: 28px 0 0; max-width: 34rem; }
.status li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 6px;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: var(--r);
}
.status li > b { font-weight: 500; font-size: var(--step-small); color: var(--muted); }
.status .tag { font-weight: 600; font-size: var(--step-small); font-variant-numeric: tabular-nums; margin-left: auto; }
.status .when { color: var(--muted); font-size: var(--step-small); text-align: right; font-variant-numeric: tabular-nums; }

/* App-screen Data Terminal style for [data-ui] interface fragments */
[data-ui].insp {
  background: var(--field);
  color: var(--field-ink);
  border-radius: var(--r);
  padding: clamp(20px, 2.6vw, 30px);
}
[data-ui].insp h2, [data-ui].insp h3, [data-ui].insp b, [data-ui].insp strong { color: var(--field-ink); }
[data-ui].insp .sub { color: var(--field-muted); margin: 6px 0 14px; max-width: 48ch; }
[data-ui] .insp__os {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--field-border);
  margin-bottom: 16px;
}
[data-ui] .insp__os button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 0 10px;
  margin-bottom: -1px;
  color: var(--field-muted);
  font: 500 var(--step-small)/1.2 var(--font);
  cursor: pointer;
  transition: color var(--t-hover), border-color var(--t-hover);
}
[data-ui] .insp__os button:hover { color: var(--field-ink); }
[data-ui] .insp__os button[aria-pressed="true"] {
  color: var(--field-ink);
  border-bottom-color: var(--accent);
}
[data-ui] .insp__body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px;
  align-items: start;
}
[data-ui] .insp__list {
  display: grid;
  gap: 4px;
}
[data-ui] .insp__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  background: var(--field-surface);
  color: var(--field-muted);
  border: 0;
  border-left: 2px solid transparent;
  border-radius: var(--r);
  padding: 9px 12px;
  font: 500 var(--step-small)/1.25 var(--font);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--t-hover), color var(--t-hover), border-color var(--t-hover);
}
[data-ui] .insp__item:hover { background: var(--field-surface-2); color: var(--field-ink); }
[data-ui] .insp__item[aria-selected="true"] {
  background: var(--field-surface-2);
  color: var(--field-ink);
  border-left-color: var(--accent);
}
[data-ui] .insp__tag {
  font-size: var(--step-small);
  color: var(--field-muted);
  font-variant-numeric: tabular-nums;
}
[data-ui] .insp__card {
  background: var(--field-surface);
  border: 1px solid var(--field-border);
  border-radius: var(--r);
  padding: 16px 18px;
}
[data-ui] .insp__card h3 {
  margin: 0 0 8px;
  font-size: var(--step-lead);
  color: var(--field-ink);
}
[data-ui] .insp__card p {
  font-size: var(--step-small);
  color: var(--field-ink);
  margin: 0 0 12px;
}
[data-ui] .insp__kv {
  margin: 0;
  display: grid;
  gap: 8px;
}
[data-ui] .insp__kv > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--field-border);
  font-size: var(--step-small);
  font-variant-numeric: tabular-nums;
}
[data-ui] .insp__kv dt { color: var(--field-muted); }
[data-ui] .insp__kv dd { margin: 0; text-align: right; color: var(--field-ink); font-weight: 500; }
[data-ui] code { background: var(--field-surface-2); color: var(--field-ink); }

/* Hardware photography reel + figures */
.reel { position: relative; margin: clamp(44px, 5vw, 76px) 0 0; }
.reel__frame {
  position: relative;
  height: clamp(240px, 35vw, 480px);
  overflow: clip;
  background: var(--surface);
  border-radius: var(--r);
}
.reel__frame img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1200ms ease;
  will-change: transform, opacity;
}
.reel__frame img.is-on { opacity: 1; }
.reel figcaption, .ph figcaption { color: var(--muted); font-size: var(--step-small); margin-top: 10px; }
.ph { margin: 0; }
.ph__frame { position: relative; overflow: clip; background: var(--surface); border-radius: var(--r); aspect-ratio: 4 / 3; }
.ph__frame img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.ph--light .ph__frame { background: #ffffff; }
.ph--light .ph__frame img { inset: 0; height: 100%; object-fit: contain; transform: none; padding: 6%; }

/* Near-black inverted stage: IPA Package Picker + WebCrypto SHA-256 Verifier */
.band {
  background: var(--field);
  color: var(--field-ink);
  padding: clamp(68px, 8vw, 124px) 0;
  margin-top: var(--section);
}
.band h2, .band h3, .band b, .band strong { color: var(--field-ink); }
.band .sub, .band .fine { color: var(--field-muted); }
.band code { background: var(--field-surface-2); color: var(--field-ink); }
.band a { color: var(--field-ink); text-decoration-color: var(--field-muted); }
.band a.btn { color: var(--accent-ink); text-decoration: none; }
.band a.btn--paper { color: var(--field); text-decoration: none; }

.band__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: var(--gap);
  align-items: start;
}

[data-ui].tool h2, [data-ui].checker h2 { font-size: var(--step-head); margin-bottom: 8px; }
[data-ui].tool .sub, [data-ui].checker .sub { color: var(--field-muted); margin-bottom: 16px; max-width: 48ch; }
[data-ui] .seg {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-bottom: 1px solid var(--field-border);
  margin-bottom: 16px;
}
[data-ui] .seg button {
  font: 500 var(--step-small)/1.25 var(--font);
  color: var(--field-muted);
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 8px 0 10px;
  margin-bottom: -1px;
  cursor: pointer;
  text-align: left;
  transition: color var(--t-hover), border-color var(--t-hover);
}
[data-ui] .seg button small {
  display: block;
  font-weight: 400;
  font-size: var(--step-small);
  color: var(--field-muted);
  margin-top: 2px;
}
[data-ui] .seg button:hover { color: var(--field-ink); }
[data-ui] .seg button[aria-pressed="true"] {
  color: var(--field-ink);
  border-bottom-color: var(--accent);
}
[data-ui] .picks { display: grid; gap: 10px; }
[data-ui] .pick {
  background: var(--field-surface);
  border: 1px solid var(--field-border);
  border-radius: var(--r);
  padding: 16px 18px;
}
[data-ui] .pick h3 { margin: 0 0 6px; font-size: var(--step-lead); color: var(--field-ink); }
[data-ui] .pick p { font-size: var(--step-small); margin: 0 0 8px; color: var(--field-ink); }
[data-ui] .pick .meta { font-size: var(--step-small); color: var(--field-muted); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
[data-ui] .pick .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
[data-ui] .copy {
  font: 500 var(--step-small)/1 var(--font);
  color: var(--field-ink);
  background: var(--field-surface-2);
  border: 1px solid var(--field-border);
  border-radius: var(--r);
  min-height: 44px;
  padding: 0 14px;
  cursor: pointer;
  transition: background-color var(--t-hover), transform var(--t-press) var(--ease-out);
}
[data-ui] .copy:hover { background: var(--field-ink); color: var(--field); }
[data-ui] .copy:active { transform: scale(0.97); }

[data-ui].checker { display: grid; gap: 14px; }
[data-ui] .drop {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 6px;
  min-height: 168px;
  padding: 22px;
  background: var(--field-surface);
  border: 2px dashed var(--field-muted);
  border-radius: var(--r);
  cursor: pointer;
  transition: background-color var(--t-hover), transform var(--t-press) var(--ease-out);
}
[data-ui] .drop b { font: 500 var(--step-lead)/1.15 var(--font); color: var(--field-ink); }
[data-ui] .drop span { color: var(--field-muted); font-size: var(--step-small); }
[data-ui] .drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
[data-ui] .drop:hover, [data-ui] .drop.is-over { background: var(--field-surface-2); }
[data-ui] .drop:active { transform: scale(0.99); }
[data-ui] .paste { display: flex; gap: 8px; }
[data-ui] .paste input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  font: 400 var(--step-small)/1.2 var(--font);
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--surface-3);
  border-radius: var(--r);
  padding: 0 14px;
}
[data-ui] .result {
  padding: 14px 16px;
  background: var(--field-surface);
  border: 1px solid var(--field-border);
  color: var(--field-ink);
  font-size: var(--step-small);
  border-radius: var(--r);
  overflow-wrap: anywhere;
}
[data-ui] .result .big { display: block; font: 600 var(--step-body)/1.2 var(--font); margin-bottom: 4px; }
[data-ui] .result.ok { background: #143d28; }
[data-ui] .result.bad { background: #521818; }
[data-ui] .bar { height: 5px; background: var(--field-surface); border-radius: var(--r); overflow: clip; }
[data-ui] .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 200ms; }

.band--box {
  background: var(--field);
  color: var(--field-ink);
  border-radius: var(--r);
  padding: clamp(22px, 2.8vw, 32px);
  margin: 0 0 1.8em;
}
.band--box h2, .band--box h3, .band--box b, .band--box strong { color: var(--field-ink); }
.band--box a { color: var(--field-ink); text-decoration-color: var(--field-muted); }
.band--box a.btn { color: var(--accent-ink); text-decoration: none; }
.band--box a.btn--paper { color: var(--field); text-decoration: none; }
.band--box .sub { color: var(--field-muted); }
.band--box code { background: var(--field-surface-2); color: var(--field-ink); }

/* Sections & Dealt Blueprints */
.sec { padding: var(--section) 0 0; }
.sec--surface { background: var(--surface); padding-block: var(--section); margin-top: var(--section); }
.sec--surface + .sec { padding-top: var(--section); }
.split { display: grid; gap: var(--gap); align-items: start; }
.split--57 { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.split--75 { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--66 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split > * { min-width: 0; }
.split .ph__frame { aspect-ratio: 4 / 3; }

/* Blueprint: Cropped MG Control & Backup plate with side notes */
[data-ui].plate {
  background: var(--field);
  color: var(--field-ink);
  border-radius: var(--r);
  padding: 20px 22px;
}
[data-ui].plate h3 { color: var(--field-ink); margin: 0 0 12px; font-size: var(--step-lead); }
[data-ui] .plate__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--field-border);
  font-size: var(--step-small);
  font-variant-numeric: tabular-nums;
}
[data-ui] .plate__row b { color: var(--field-ink); font-weight: 500; }
[data-ui] .plate__row span { color: var(--field-muted); text-align: right; }
[data-ui] .plate__badge,
[data-ui] .plate__row span.plate__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 2px 8px;
  border-radius: var(--r);
  font-weight: 600;
  font-size: var(--step-small);
}

.notes-list { display: grid; gap: 26px; }
.note-item { padding: 0; }
.note-item h3 { margin: 0 0 6px; font-size: var(--step-lead); }
.note-item p { margin: 0; font-size: var(--step-body); max-width: 52ch; }

/* Blueprint: Two-ended rows ledger (no boxes, no lines, tabular figures) */
.ledger-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.ledger { display: grid; gap: 4px; width: 100%; }
.ledger__group { color: var(--muted); font-size: var(--step-small); font-weight: 600; margin: 20px 0 6px; }
.ledger__group:first-child { margin-top: 0; }
.ledger__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  min-height: 38px;
  padding: 6px 0;
}
.ledger__name { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.ledger__dot { width: 10px; height: 10px; border-radius: 99px; background: var(--ink); flex: none; }
.ledger__dot--accent { background: var(--accent); }
.ledger__val { color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; text-align: right; }

/* Blueprint: Interactive release download calculator (stats blueprint) */
[data-ui].calc {
  background: var(--surface);
  padding: 24px 26px;
  border-radius: var(--r);
}
[data-ui].calc label { display: block; font-weight: 600; font-size: var(--step-body); margin-bottom: 10px; }
[data-ui].calc select {
  width: 100%;
  min-height: 46px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--surface-3);
  border-radius: var(--r);
  padding: 0 12px;
  font: 500 var(--step-body)/1.2 var(--font);
}
.calc__big {
  font: 600 clamp(2.8rem, 7vw, 4.8rem)/0.9 var(--font);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  margin: 24px 0 8px;
  color: var(--ink);
}
.calc__unit { font-size: var(--step-lead); font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: -0.01em; }

/* Key-value definition rows & real tables */
.rows { margin: 0; max-width: 48rem; display: grid; gap: 18px; }
.rows > div { display: grid; grid-template-columns: 11.5rem minmax(0, 1fr); gap: 6px 24px; padding: 2px 0; }
.rows dt { font-weight: 600; font-size: var(--step-body); color: var(--ink); }
.rows dd { margin: 0; max-width: 50ch; }

.tw { overflow-x: auto; margin: 0 0 1.4em; max-width: 100%; background: var(--surface); padding: 12px 18px; border-radius: var(--r); }
.tw code { background: var(--bg); }
.sec--surface .tw, .amz-quick .tw { background: var(--bg); }
.sec--surface .tw code, .amz-quick .tw code { background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: var(--step-body); font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--surface-3); }
tr:last-child td { border-bottom: 0; }
th { font-weight: 600; font-size: var(--step-small); color: var(--muted); }
td.num, th.num { text-align: right; white-space: nowrap; }
td.nw, th.nw { white-space: nowrap; }
td.hash code, .hash { font-size: var(--step-small); overflow-wrap: anywhere; word-break: break-all; }
.yes { color: var(--ok); font-weight: 600; white-space: nowrap; }
.no { color: var(--bad); font-weight: 600; white-space: nowrap; }
.part { color: var(--warn); font-weight: 600; white-space: nowrap; }

/* Inner documentation pages */
.phead { padding: clamp(28px, 4vw, 56px) 0 0; }
.phead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: end; }
.phead h1 { margin: 0 0 20px; max-width: 16ch; }
.phead .ph__frame { aspect-ratio: 4 / 3; }
.phead .ph figcaption { display: none; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 12px; max-width: none; }
.facts li { margin: 0; padding: 6px 12px; background: var(--surface); border-radius: var(--r); font-size: var(--step-small); color: var(--muted); }
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--gap); padding-top: clamp(68px, 7vw, 108px); }
.body { min-width: 0; }
.body > h2 { margin-top: 2.1em; max-width: 24ch; }
.body > h2:first-child { margin-top: 0; }
.side { min-width: 0; display: grid; gap: 28px; align-content: start; }
.side__box { padding: 0; }
.side__box h2 { font-size: var(--step-lead); margin: 0 0 10px; }
.side__box ul { list-style: none; padding: 0; margin: 0; }
.side__box li { margin: 0 0 7px; font-size: var(--step-small); }
.side__box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.side__box dt { color: var(--muted); font-weight: 600; }
.side__box dd { margin: 0; text-align: right; }

.rel { background: var(--surface); padding: 6px 20px; margin: 0 0 10px; border-radius: var(--r); }
.rel > summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.rel > summary::-webkit-details-marker { display: none; }
.rel > summary small { font-weight: 400; color: var(--muted); font-size: var(--step-small); font-variant-numeric: tabular-nums; }
.rel:not([open]) > .notes { display: none; }
.rel .notes { padding: 4px 0 12px; }

.strip { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: clamp(68px, 7vw, 112px); }
.strip--top { margin-top: clamp(44px, 5vw, 72px); }
.strip .ph__frame { aspect-ratio: auto; height: clamp(190px, 21vw, 300px); }

/* Amazon Associates hardware box */
.amz-quick { background: var(--surface); padding: clamp(22px, 3vw, 32px); border-radius: var(--r); margin: 2.2em 0; }
.amz-quick h2 { margin-top: 0; }

/* Blueprint: FAQ Accordion of filled tiles */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--gap); padding: var(--section) 0 0; align-items: start; }
.faq__list { display: grid; gap: 8px; }
.qa { background: var(--surface); border-radius: var(--r); transition: background-color var(--t-hover); }
.qa:hover { background: var(--surface-2); }
.qa summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 60px 22px 24px;
  font: 500 var(--step-body)/1.3 var(--font);
  position: relative;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 16px;
  height: 3px;
  margin-top: -1.5px;
  background: currentColor;
  transition: transform var(--t-hover) var(--ease-out);
}
.qa summary::after { transform: rotate(90deg); }
.qa[open] { background: var(--accent); color: var(--accent-ink); }
.qa[open] summary { color: var(--accent-ink); font-weight: 600; }
.qa[open] summary::after { transform: rotate(0deg); }
.qa > div { padding: 0 24px 22px; }
.qa > div p { max-width: 54ch; margin: 0; color: var(--accent-ink); }
.qa[open] a { color: var(--accent-ink); text-decoration-color: var(--ink); }
.qa[open] code { background: var(--bg); color: var(--ink); }

/* Adsterra 3-slot static wrappers (generous bottom margin so AD_NATIVE never hugs a heading) */
.ad { margin: 56px 0 96px; text-align: center; }
.ad > span { display: block; font-size: var(--step-small); color: var(--muted); margin-bottom: 8px; }
.ad-l { display: flex; flex-direction: column; align-items: center; margin: 36px 0 0; overflow: clip; }
.ad-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--margin); }

/* Blueprint: A footer of filled tiles */
.foot { margin-top: var(--section); padding-bottom: 36px; }
.foot__board { display: grid; gap: 10px; }
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.foot__tile {
  background: var(--surface);
  border-radius: var(--r);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}
.foot__tile h2 { font-size: var(--step-body); font-weight: 600; margin: 0 0 12px; color: var(--ink); }
.foot__tile ul { list-style: none; padding: 0; margin: 0; }
.foot__tile li { margin: 0 0 8px; font-size: var(--step-small); }
.foot__tile li a { text-decoration: none; color: var(--ink); }
.foot__tile li a:hover { text-decoration: underline; }
.foot__stmt { font-size: var(--step-lead); line-height: 1.32; margin: 0 0 16px; max-width: 32ch; }
.foot__bottom {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 10px;
}
.foot__brand {
  background: var(--field);
  color: var(--field-ink);
  border-radius: var(--r);
  padding: 28px;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  text-decoration: none;
  font: 600 clamp(2.4rem, 7.2vw, 6.2rem)/0.88 var(--font);
  letter-spacing: -0.04em;
  transition: background-color var(--t-hover);
}
.foot__brand:hover { background: var(--field-surface); color: var(--field-ink); }
.foot__cta {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--r);
  padding: 26px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  transition: background-color var(--t-hover), transform var(--t-press) var(--ease-out);
}
.foot__cta:hover { background: var(--accent-hover); color: var(--accent-ink); transform: translateY(-2px); }
.foot__cta span { font: 600 var(--step-head)/1.05 var(--font); letter-spacing: -0.02em; max-width: 12ch; }
.foot__cta svg { align-self: flex-end; }
.foot__legal {
  background: var(--surface);
  border-radius: var(--r);
  padding: 22px 26px;
  font-size: var(--step-small);
  color: var(--muted);
}
.foot__legal p { max-width: 54ch; margin: 0 0 0.65em; }
.foot__legal p:last-child { margin: 0; }

/* Motion layer: strictly scoped to prefers-reduced-motion: no-preference so reduced motion is the finished page */
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(12px); } }
  .hero h1, .phead h1 { animation: rise 500ms var(--ease-expo) both; }
  .hero .lead, .phead .lead { animation: rise 500ms 45ms var(--ease-expo) both; }
  .hero .actions, .phead .actions { animation: rise 500ms 90ms var(--ease-expo) both; }
  .hero .status, .phead .facts { animation: rise 500ms 130ms var(--ease-expo) both; }
  .hero .insp, .phead .ph { animation: rise 540ms 175ms var(--ease-expo) both; }
  .rv {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 720ms var(--ease-expo), transform 720ms var(--ease-expo);
    transition-delay: var(--d, 0ms);
  }
  .rv.in { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .nav .wrap { gap: 8px 14px; min-height: 0; padding-block: 12px 8px; }
  .nav__links { margin-left: 0; order: 3; width: 100%; gap: 4px 14px; }
  .nav__lang { margin-left: auto; }
  .hero__grid, .phead__grid, .band__grid, .split--57, .split--75, .split--66, .ledger-wrap, .faq, .article, .foot__bottom {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-ui] .insp__body { grid-template-columns: minmax(0, 1fr); }
  .side, .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1, .phead h1, .status, .rows { max-width: none; }
}

@media (max-width: 820px) {
  .amz-quick thead, .tw thead { display: none; }
  .amz-quick table, .amz-quick tbody, .amz-quick tr, .amz-quick td,
  .tw table, .tw tbody, .tw tr, .tw td { display: block; width: 100%; }
  .amz-quick tr, .tw tr { padding: 12px 0; border-bottom: 1px solid var(--surface-3); }
  .amz-quick td, .tw td { padding: 3px 0; border: 0; }
  .tw td.num, .tw td.nw, .yes, .no, .part { text-align: left; white-space: normal; }
}

@media (max-width: 640px) {
  .actions .btn { flex: 1 1 100%; }
  .status .when { display: none; }
  .rows > div, [data-ui] .paste { grid-template-columns: 1fr; flex-direction: column; }
  .strip, .side, .foot__top { grid-template-columns: 1fr; }
  .foot__brand, .foot__cta { min-height: 148px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reel__frame img, .ph__frame img { transform: none !important; }
}
