@font-face {
  font-family: "Noto Sans Local";
  src: url("./NotoSans-Subset.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}

@font-face {
  font-family: "Noto Serif Local";
  src: url("./NotoSerif-Subset.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 800;
}

@font-face {
  font-family: "Noto Sans Mono Local";
  src: url("./NotoSansMono-Subset.woff2") format("woff2");
  font-display: swap;
  font-weight: 400 700;
}

:root {
  --paper: #e7e4dc;
  --paper-deep: #d6d2c8;
  --ink: #191f1c;
  --muted: #56625a;
  --carbon: #191f1c;
  --green: #c7d7bf;
  --teal: #3d6f63;
  --coral: #c85232;
  --brass: #e2b94c;
  --line: rgba(25, 31, 28, .22);
  --white-line: rgba(231, 228, 220, .22);
  --serif: "Noto Serif Local", Georgia, serif;
  --sans: "Noto Sans Local", Arial, sans-serif;
  --mono: "Noto Sans Mono Local", ui-monospace, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body::selection { background: var(--brass); color: var(--ink); }

a { color: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

button { font: inherit; }

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.js .static-ledger { display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 1rem;
  padding: .65rem 1rem;
  background: var(--brass);
  color: var(--ink);
  font-family: var(--mono);
  font-size: .75rem;
  text-decoration: none;
  transform: translateY(-130%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--brass);
  font-family: var(--mono);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: -.08em;
}

.brand-name {
  color: var(--ink);
  font-family: var(--mono);
  font-size: .73rem;
  line-height: 1.25;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-name small { color: var(--muted); font-size: .62rem; letter-spacing: .04em; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.site-header nav a { text-decoration: none; }
.site-header nav a:hover { color: var(--coral); }
.site-header nav .language-switch { color: var(--teal); font-weight: 700; }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  width: min(1400px, calc(100% - 64px));
  min-height: 630px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.hero-copy { max-width: 710px; }

.eyebrow, .section-label, .control-label, .source-kind, .source-date, .source-links-label, .guide-tag, .registration-mark, .visual-stamp {
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow { display: flex; justify-content: space-between; gap: 1rem; color: var(--coral); }
.eyebrow span { color: var(--muted); }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.04; }

h1 {
  max-width: 750px;
  margin-bottom: 1.5rem;
  font-size: clamp(4.2rem, 9vw, 8.4rem);
  letter-spacing: -.065em;
}

.standfirst {
  max-width: 620px;
  margin-bottom: 1.5rem;
  color: #313b35;
  font-size: clamp(1.14rem, 1.7vw, 1.45rem);
  line-height: 1.45;
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  max-width: 560px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: .76rem;
}

.dot { width: .52rem; height: .52rem; margin-top: .38rem; flex: 0 0 auto; border-radius: 50%; background: var(--coral); }

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 3rem;
  padding: .78rem 1.1rem;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--coral); border-color: var(--coral); }
.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--green); }

.hero-visual {
  position: relative;
  min-width: 0;
  min-height: 430px;
  padding: 2rem 0 0;
}

.hero-visual::before {
  position: absolute;
  inset: 1.5rem 0 0 4rem;
  border: 1px solid var(--line);
  content: "";
}

.hero-visual::after {
  position: absolute;
  right: -1rem;
  bottom: 1rem;
  width: 4rem;
  height: 4rem;
  border-right: 7px solid var(--coral);
  border-bottom: 7px solid var(--coral);
  content: "";
}

.hero-visual .phone-visual { position: relative; z-index: 1; padding-top: 2.6rem; }
.registration-mark { position: absolute; top: 0; right: 1rem; z-index: 2; color: var(--muted); text-align: right; }
.registration-mark strong { color: var(--coral); font-size: 1rem; }
.visual-stamp { position: absolute; z-index: 2; bottom: 1.25rem; left: 0; width: 6rem; height: 6rem; display: grid; place-content: center; border: 2px solid var(--coral); border-radius: 50%; color: var(--coral); font-size: .63rem; line-height: 1.25; text-align: center; transform: rotate(-13deg); }

.phone-visual { margin: 0; }
.phone-visual svg { display: block; width: 100%; height: auto; overflow: visible; }
.phone-visual figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: .2rem 1rem 0 2.2rem; border-top: 1px solid var(--line); padding-top: .7rem; }
.phone-visual figcaption strong { font-family: var(--mono); font-size: .73rem; letter-spacing: .08em; text-transform: uppercase; }
.phone-visual figcaption span { max-width: 240px; color: var(--muted); font-size: .75rem; line-height: 1.3; text-align: right; }
.bench-grid path { stroke: var(--line); stroke-width: 1; }
.screw-set circle { fill: var(--coral); }
.phone-frame { fill: var(--green); stroke: var(--ink); stroke-width: 4; }
.phone-screen { fill: var(--ink); stroke: var(--teal); stroke-width: 3; }
.phone-battery { fill: var(--brass); stroke: var(--ink); stroke-width: 4; }
.battery-mark { fill: var(--ink); }
.phone-port { fill: var(--coral); stroke: var(--ink); stroke-width: 4; }
.port-mark, .connector { fill: none; stroke: var(--ink); stroke-width: 3; }
.phone-camera { fill: var(--ink); stroke: var(--coral); stroke-width: 4; }
.phone-camera circle { fill: var(--green); }
.arrow { fill: var(--coral); }
.island { fill: var(--ink); }
.lock-mark { fill: none; stroke: var(--coral); stroke-width: 5; }
.phone-visual text { fill: var(--muted); font-family: var(--mono); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.phone-visual .visual-name { fill: var(--ink); font-size: 16px; font-weight: 700; }

.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.hero-stats div { display: flex; align-items: baseline; gap: 1rem; min-width: 0; padding: 1rem 1.25rem 1rem 0; }
.hero-stats div + div { border-left: 1px solid var(--line); padding-left: 1.25rem; }
.hero-stats strong { color: var(--coral); font-family: var(--serif); font-size: 2.6rem; line-height: 1; }
.hero-stats span { color: var(--muted); font-family: var(--mono); font-size: .68rem; line-height: 1.25; text-transform: uppercase; }

.guide-strip {
  display: grid;
  grid-template-columns: minmax(150px, .35fr) minmax(0, 1.3fr) minmax(150px, .45fr);
  gap: 2rem;
  align-items: center;
  width: 100%;
  padding: 2.1rem max(32px, calc((100% - 1400px) / 2));
  background: var(--carbon);
  color: var(--paper);
}

.guide-tag { align-self: start; color: var(--brass); }
.guide-strip h2 { margin-bottom: .7rem; font-size: clamp(1.7rem, 3vw, 2.55rem); }
.guide-strip p { max-width: 760px; margin-bottom: 0; color: #ccd3ca; }
.guide-strip .text-link { justify-self: end; color: var(--green); }

.section-pad { width: min(1400px, calc(100% - 64px)); margin: 0 auto; padding-top: clamp(5rem, 9vw, 8.5rem); padding-bottom: clamp(5rem, 9vw, 8.5rem); }
.section-intro { max-width: 800px; margin-bottom: 3rem; }
.section-label { margin-bottom: 1rem; color: var(--coral); }
.section-intro h2, .unknown-copy h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 5vw, 5rem); letter-spacing: -.05em; }
.section-intro > p:last-child, .unknown-copy > p:last-child { max-width: 680px; color: var(--muted); font-size: 1.08rem; }

.method-section { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 10vw, 10rem); border-bottom: 1px solid var(--line); }
.method-section .section-intro { margin-bottom: 0; }
.method-section .section-intro h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.65rem); }
.gate-rail { align-self: center; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.gate-rail div { min-height: 9rem; padding: 1rem .7rem .8rem; }
.gate-rail div + div { border-left: 1px solid var(--line); }
.gate-rail span { display: block; margin-bottom: 2.4rem; color: var(--coral); font-family: var(--mono); font-size: .7rem; }
.gate-rail strong { display: block; font-family: var(--serif); font-size: 1rem; line-height: 1.1; }

.path-section { background: var(--paper-deep); }
.path-section.section-pad { width: 100%; padding-left: max(32px, calc((100% - 1400px) / 2)); padding-right: max(32px, calc((100% - 1400px) / 2)); }
.path-intro { width: min(780px, 100%); }
.path-interface { display: grid; grid-template-columns: minmax(270px, .55fr) minmax(0, 1.45fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.device-chooser, .gate-chooser { min-width: 0; }
.control-label { margin-bottom: .8rem; color: var(--teal); }
.device-tabs { display: grid; gap: .65rem; }
.device-tab, .gate-tab { appearance: none; border: 1px solid var(--line); cursor: pointer; text-align: left; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.device-tab { display: grid; grid-template-columns: auto 1fr; gap: .85rem; align-items: center; width: 100%; padding: 1rem; background: transparent; color: var(--ink); }
.device-tab:hover, .gate-tab:hover { border-color: var(--coral); transform: translateX(3px); }
.device-tab.is-selected { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.device-number, .gate-number { color: var(--coral); font-family: var(--mono); font-size: .72rem; }
.device-tab strong { display: block; font-family: var(--serif); font-size: 1.4rem; line-height: 1.1; }
.device-tab small { display: block; margin-top: .2rem; color: var(--muted); font-family: var(--mono); font-size: .68rem; text-transform: uppercase; }
.device-tab.is-selected small { color: var(--green); }
.device-visuals { margin-top: 1.5rem; padding: .5rem 0 0; }
.device-visuals .phone-visual figcaption { margin-left: 0; }
.gate-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gate-tab { display: grid; gap: .8rem; min-height: 8.8rem; padding: .8rem .65rem; background: var(--paper); color: var(--ink); }
.gate-tab span:last-child { display: block; font-family: var(--serif); font-size: 1.05rem; line-height: 1.05; }
.gate-tab.is-selected { background: var(--coral); border-color: var(--coral); color: var(--paper); }
.gate-tab.is-selected .gate-number { color: var(--brass); }
.panel-stage { min-height: 30rem; margin-top: 1rem; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--carbon); color: var(--paper); }
.selected-device { margin-bottom: 2rem; color: var(--brass); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.gate-panel { max-width: 720px; }
.panel-meta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.panel-index { color: var(--coral); font-family: var(--mono); font-size: .72rem; }
.status-pill { display: inline-flex; align-items: center; min-height: 1.55rem; padding: .18rem .5rem; border: 1px solid currentColor; color: inherit; font-family: var(--mono); font-size: .62rem; letter-spacing: .07em; line-height: 1; text-transform: uppercase; }
.status-documented { color: var(--green); }
.status-conditional { color: var(--brass); }
.status-rule { color: var(--teal); }
.status-calculation { color: var(--brass); }
.status-unknown { color: var(--coral); }
.gate-panel h3 { margin-bottom: .5rem; color: var(--paper); font-size: clamp(2.1rem, 4vw, 3.8rem); letter-spacing: -.05em; }
.gate-panel > p { max-width: 680px; color: #d0d5cf; }
.gate-panel .panel-short { margin-bottom: 1.1rem; color: var(--green); font-family: var(--mono); font-size: .75rem; text-transform: uppercase; }
.next-question { margin: 2rem 0; padding: 1rem 0 0 1rem; border-left: 3px solid var(--coral); }
.next-question span { display: block; margin-bottom: .35rem; color: var(--brass); font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.next-question strong { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; }
.source-links { display: grid; gap: .4rem; padding: 0; margin: 0; list-style: none; }
.source-links li { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: baseline; }
.source-links a { color: var(--green); font-size: .78rem; }
.source-links a:hover { color: var(--brass); }
.source-links span { color: #9ca99f; font-size: .7rem; }
.source-links-label { display: none; }
.live-message { min-height: 1.5rem; margin: 1rem 0 0; color: var(--teal); font-family: var(--mono); font-size: .68rem; text-align: right; text-transform: uppercase; }

.static-ledger { margin-top: 3rem; padding: 1.5rem; border: 1px solid var(--line); background: rgba(231, 228, 220, .42); }
.static-ledger h3 { margin-bottom: .5rem; font-size: 2rem; }
.static-ledger > p { color: var(--muted); }
.static-ledger details { border-top: 1px solid var(--line); }
.static-ledger details:last-child { border-bottom: 1px solid var(--line); }
.static-ledger summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1rem 0; cursor: pointer; list-style: none; }
.static-ledger summary::-webkit-details-marker { display: none; }
.static-ledger summary::after { color: var(--coral); content: "+"; font-family: var(--mono); }
.static-ledger details[open] summary::after { content: "−"; }
.static-ledger summary span { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; }
.static-ledger summary small { color: var(--muted); font-family: var(--mono); font-size: .7rem; }
.ledger-gates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; padding-bottom: 1rem; }
.ledger-gates article { min-width: 0; padding: 1rem; background: var(--paper); }
.ledger-gates h4 { margin-bottom: .7rem; font-size: 1.35rem; }
.ledger-gates article > p { color: var(--muted); font-size: .85rem; }
.ledger-gates .next-question { margin: 1rem 0; padding-left: .7rem; }

.compare-section { border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; border-top: 2px solid var(--ink); }
table { width: 100%; min-width: 700px; border-collapse: collapse; }
th, td { padding: 1.1rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { color: var(--muted); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
tbody th { width: 25%; font-family: var(--serif); font-size: 1.2rem; }
tbody th span { display: inline-block; width: 2.1rem; color: var(--coral); font-family: var(--mono); font-size: .7rem; }
tbody td { width: 37.5%; }
tbody td span:last-child { display: block; margin-top: .7rem; color: var(--muted); font-size: .9rem; }
tbody .status-pill { color: var(--teal); }
tbody td:nth-child(3) .status-pill { color: var(--coral); }

.evidence-section { background: var(--ink); color: var(--paper); width: 100%; padding-left: max(32px, calc((100% - 1400px) / 2)); padding-right: max(32px, calc((100% - 1400px) / 2)); }
.evidence-section .section-intro > p:last-child { color: #c7d0c8; }
.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.source-grid-brief { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.source-card { min-width: 0; padding: 1.35rem; border: 1px solid var(--line); background: rgba(231, 228, 220, .22); }
.evidence-section .source-card { border-color: var(--white-line); background: rgba(231, 228, 220, .07); }
.source-card-head { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: 2rem; }
.source-kind { color: var(--coral); font-size: .61rem; }
.source-date { color: var(--muted); font-size: .59rem; font-weight: 400; letter-spacing: .03em; text-align: right; }
.evidence-section .source-date { color: #a6b2aa; }
.source-card h3 { margin-bottom: .5rem; font-size: 1.45rem; letter-spacing: -.02em; }
.source-card h3 a { text-decoration-thickness: 1px; text-underline-offset: .15em; }
.source-card h3 a:hover { color: var(--coral); }
.source-card > p { margin-bottom: .55rem; color: var(--muted); font-family: var(--mono); font-size: .72rem; }
.source-card .source-support { min-height: 3.3rem; margin: 1rem 0 1.5rem; color: var(--ink); font-family: var(--sans); font-size: .92rem; }
.evidence-section .source-card > p { color: #a6b2aa; }
.evidence-section .source-card .source-support { color: var(--paper); }
.text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--teal); font-family: var(--mono); font-size: .7rem; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .25em; text-transform: uppercase; }
.text-link:hover { color: var(--coral); }
.evidence-section .text-link { color: var(--green); }

.unknown-section { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 10vw, 10rem); border-bottom: 1px solid var(--line); }
.unknown-copy { max-width: 650px; }
.unknown-list { align-self: center; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--ink); }
.unknown-list li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; align-items: baseline; padding: 1.05rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem); }
.unknown-list span { color: var(--coral); font-family: var(--mono); font-size: .7rem; }

.checklist-section { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 10vw, 10rem); background: var(--green); width: 100%; padding-left: max(32px, calc((100% - 1400px) / 2)); padding-right: max(32px, calc((100% - 1400px) / 2)); }
.checklist-section .section-intro { margin-bottom: 0; }
.checklist { padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--ink); }
.checklist li { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(25, 31, 28, .28); }
.checklist li span { color: var(--coral); font-family: var(--mono); font-size: .7rem; }
.checklist li p { margin: 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; }

.sources-section { width: 100%; padding-left: max(32px, calc((100% - 1400px) / 2)); padding-right: max(32px, calc((100% - 1400px) / 2)); }
.sources-section .section-intro { max-width: 760px; }
.source-grid-final { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.source-grid-final .source-card { background: transparent; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; padding: 2rem max(32px, calc((100% - 1400px) / 2)); background: var(--carbon); color: var(--paper); }
.site-footer > div:last-child { text-align: right; }
.site-footer p { max-width: 420px; margin: .7rem 0 0; color: #9daaa1; font-family: var(--mono); font-size: .68rem; }
.site-footer a { color: var(--green); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; }
.site-footer a:hover { color: var(--brass); }
.footer-top { display: inline-flex; align-items: center; min-height: 2.5rem; }
.js .footer-top { opacity: 0; pointer-events: none; visibility: hidden; }
.js .footer-top.is-floating { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 15; min-width: 7.5rem; min-height: 44px; justify-content: center; padding: .7rem .9rem; border: 1px solid var(--brass); background: var(--ink); box-shadow: 5px 5px 0 var(--coral); color: var(--paper); opacity: 1; pointer-events: auto; visibility: visible; }
.js .footer-top.is-floating:hover { background: var(--coral); border-color: var(--coral); color: var(--paper); }

.not-found { display: grid; min-height: 100vh; place-items: center; padding: 2rem; }
.not-found main { width: min(720px, 100%); padding: clamp(2rem, 7vw, 5rem); border: 1px solid var(--line); background: var(--paper-deep); }
.not-found h1 { margin-bottom: 1rem; font-size: clamp(5rem, 15vw, 10rem); }

@media (max-width: 1050px) {
  .hero-section { grid-template-columns: minmax(0, 1fr) minmax(340px, .8fr); gap: 2rem; }
  .hero-visual { min-height: 360px; }
  .source-grid-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-grid-final { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-gates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header, .hero-section, .section-pad { width: min(100% - 36px, 680px); }
  .site-header { align-items: flex-start; padding: 1rem 0; }
  .site-header nav { gap: .75rem; font-size: .62rem; }
  .site-header nav a:nth-child(2) { display: none; }
  .hero-section { display: block; min-height: 0; padding: 4.5rem 0 3rem; }
  h1 { font-size: clamp(3.7rem, 15vw, 6rem); }
  .hero-visual { max-width: 560px; min-height: 350px; margin: 3rem auto 0; }
  .hero-stats { margin-top: 3rem; }
  .hero-stats div { display: block; padding: .8rem .65rem .8rem 0; }
  .hero-stats div + div { padding-left: .65rem; }
  .hero-stats strong { display: block; margin-bottom: .3rem; font-size: 2rem; }
  .hero-stats span { display: block; font-size: .58rem; }
  .guide-strip { grid-template-columns: 1fr; gap: .8rem; padding: 2rem 18px; }
  .guide-strip .text-link { justify-self: start; }
  .method-section, .path-interface, .unknown-section, .checklist-section { display: block; }
  .method-section .section-intro, .unknown-copy { margin-bottom: 2.5rem; }
  .gate-rail { margin-top: 2rem; }
  .gate-rail div { min-height: 7rem; padding: .7rem .4rem; }
  .gate-rail span { margin-bottom: 1.2rem; }
  .gate-rail strong { font-size: .83rem; }
  .device-chooser { margin-bottom: 2.5rem; }
  .gate-tabs { width: 100%; min-width: 0; grid-template-columns: repeat(5, 95px); overflow-x: auto; padding-bottom: .5rem; }
  .gate-tab { min-height: 7.3rem; }
  .panel-stage { min-height: 0; }
  .static-ledger { padding: 1rem; }
  .ledger-gates { grid-template-columns: 1fr; }
  .source-grid, .source-grid-final { grid-template-columns: 1fr; }
  .source-grid-brief { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-card-brief { padding: 1rem; }
  .source-card-brief .source-card-head { display: block; margin-bottom: 1.3rem; }
  .source-card-brief .source-date { display: block; margin-top: .4rem; text-align: left; }
  .sources-section, .evidence-section, .checklist-section { padding-left: 18px; padding-right: 18px; }
  .site-footer { grid-template-columns: 1fr; padding-left: 18px; padding-right: 18px; }
  .site-footer > div:last-child { text-align: left; }
}

@media (max-width: 480px) {
  .site-header, .hero-section, .section-pad { width: min(100% - 28px, 680px); }
  .site-header nav a:first-child { display: none; }
  .brand-name { font-size: .63rem; }
  .brand-name small { font-size: .55rem; }
  .eyebrow { display: block; }
  .eyebrow span { display: block; margin-top: .45rem; }
  h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .hero-visual { min-height: 280px; margin-top: 2.5rem; }
  .hero-visual::before { inset: 1rem 0 0 1.5rem; }
  .registration-mark { right: 0; font-size: .56rem; }
  .registration-mark strong { font-size: .8rem; }
  .visual-stamp { bottom: .5rem; left: -.35rem; width: 4.5rem; height: 4.5rem; font-size: .5rem; }
  .phone-visual figcaption { display: block; margin-left: 1.3rem; }
  .phone-visual figcaption span { display: block; max-width: 260px; margin-top: .35rem; text-align: left; }
  .hero-stats div { display: block; padding-right: .3rem; }
  .hero-stats span { min-height: 2.2rem; }
  .section-pad { padding-top: 4rem; padding-bottom: 4rem; }
  .section-intro { margin-bottom: 2rem; }
  .section-intro h2, .unknown-copy h2 { font-size: 2.45rem; }
  .gate-rail { grid-template-columns: repeat(5, 100px); overflow-x: auto; }
  .gate-rail div { min-height: 6.8rem; }
  .device-tab strong { font-size: 1.2rem; }
  .device-visuals { margin-top: 1rem; }
  .panel-stage { padding: 1.2rem; }
  .gate-panel h3 { font-size: 2.45rem; }
  .source-grid-brief { grid-template-columns: 1fr; }
  .unknown-list li { grid-template-columns: 2rem 1fr; font-size: 1.25rem; }
  .checklist li { grid-template-columns: 2rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
