:root {
  color: #1d1d1f;
  background: #f5f5f7;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  font-synthesis: none;
  --ink: #1d1d1f;
  --secondary: #515154;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --soft-line: #e5e5e7;
  --surface: #ffffff;
  --canvas: #f5f5f7;
  --blue: #0066cc;
  --blue-dark: #004f9f;
  --green: #187a38;
  --green-bg: #ddf5e3;
  --amber: #8a5a00;
  --amber-bg: #fff0c7;
  --red: #a12b2b;
  --red-bg: #fbe2e2;
  --purple: #6950a1;
  --purple-bg: #eee9f8;
  --dark: #171719;
  --dark-2: #242426;
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

button,
input,
select,
textarea { font: inherit; }

a {
  color: inherit;
  text-decoration: none;
}

code,
pre {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
}

code { overflow-wrap: anywhere; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  background: #ffffff;
  color: var(--blue);
  transform: translateY(-140%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 0 32px;
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(29, 29, 31, 0.1);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12px;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 40px;
  color: var(--secondary);
  font-size: 13px;
  white-space: nowrap;
}

.nav-primary a,
.text-link,
.artifact-list a,
.source-map a { transition: color 140ms ease; }

.nav-primary a:hover,
.text-link:hover,
.artifact-list a:hover strong,
.source-map a:hover strong { color: var(--blue); }

.build {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.mobile-jump { display: none; }

.hero {
  display: grid;
  min-height: calc(100svh - 178px);
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  gap: 72px;
  align-items: center;
  padding: 76px max(40px, calc((100vw - 1200px) / 2));
  background: var(--surface);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section-intro h2,
.reproduce-layout h2 {
  margin: 0;
  font-weight: 680;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 72px;
  line-height: 1.03;
}

.lede {
  max-width: 680px;
  margin: 24px 0 30px;
  color: var(--secondary);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.reproduce-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.filter {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 110ms ease, background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  font-size: 14px;
  font-weight: 650;
}

.button:active,
.filter:active { transform: scale(0.97); }

.primary { background: var(--blue); color: #ffffff; }
.primary:hover { background: var(--blue-dark); }
.secondary { background: #e8e8ed; color: var(--ink); }
.secondary:hover { background: #dedee3; }

.copy-note {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 13px;
}

.verdict {
  max-width: 470px;
  justify-self: end;
  padding: 30px 0 30px 30px;
  border-left: 1px solid var(--line);
}

.verdict-topline {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.signal {
  display: inline-block;
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.signal-verified { background: #34a853; }
.signal-partial { background: #f5a623; }
.signal-optional { background: #826bb5; }

.verdict h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.26;
  letter-spacing: 0;
}

.verdict p {
  margin: 18px 0;
  color: var(--secondary);
  font-size: 14px;
}

.text-link {
  color: var(--blue);
  font-size: 14px;
  font-weight: 650;
}

.text-link::after { content: "  ›"; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #3a3a3c;
}

.metric-strip div {
  min-height: 120px;
  padding: 25px max(24px, calc((100vw - 1200px) / 8));
  background: var(--dark);
  color: #ffffff;
}

.metric-strip strong {
  display: block;
  font-size: 30px;
  line-height: 1.2;
}

.metric-strip span {
  display: block;
  margin-top: 6px;
  color: #b6b6bb;
  font-size: 13px;
}

.band { padding: 92px 0; }
.band-white { background: var(--surface); }
.container { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }

.section-intro { margin-bottom: 44px; }

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 64px;
  align-items: end;
}

.section-intro h2,
.reproduce-layout h2 {
  max-width: 720px;
  font-size: 46px;
  line-height: 1.13;
}

.section-intro > p,
.split-intro > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.mode-table-wrap,
.evaluation-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mode-table,
.evaluation-table {
  width: 100%;
  min-width: 850px;
  border-collapse: collapse;
  text-align: left;
}

.mode-table th,
.mode-table td,
.evaluation-table th,
.evaluation-table td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--soft-line);
  font-size: 14px;
  vertical-align: middle;
}

.mode-table thead th,
.evaluation-table thead th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mode-table tbody tr:last-child > *,
.evaluation-table tbody tr:last-child > * { border-bottom: 0; }

.mode-table tbody th { white-space: nowrap; }

.mode-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
}

.fast-dot { background: #34a853; }
.standard-dot { background: #7c7c80; }
.expert-dot { background: #3478f6; }

.table-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.table-note code,
.requirement-body code,
.decision-list code,
.time-ledger code,
.security-controls code,
.redaction-policy code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #eeeef1;
  color: #333336;
  font-size: 0.92em;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 36px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.feature-grid article {
  min-height: 190px;
  padding: 26px;
  background: var(--surface);
}

.index,
.decision-list > article > span,
.security-controls > article > span,
.product-roadmap > article > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
}

.feature-grid h3,
.decision-list h3,
.security-controls h3,
.product-roadmap h3,
.market-grid h3 {
  margin: 25px 0 8px;
  font-size: 18px;
  line-height: 1.3;
}

.feature-grid p,
.decision-list p,
.security-controls p,
.product-roadmap p,
.market-grid p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.design-principles {
  margin-top: 36px;
  padding: 34px 36px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  background: #fbfbfd;
}

.design-principles h3 {
  max-width: 930px;
  margin: 0;
  font-size: 27px;
  line-height: 1.3;
}

.focus-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.focus-points p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.focus-points strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
}

.legend span { display: inline-flex; align-items: center; gap: 7px; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}

.filter {
  padding: 8px 13px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--secondary);
  font-size: 13px;
}

.filter:hover { border-color: #99999e; }
.filter.active { border-color: var(--ink); background: var(--ink); color: #ffffff; }

.requirement-list { border-top: 1px solid var(--line); }

.requirement {
  border-bottom: 1px solid var(--line);
}

.requirement summary {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto 20px;
  gap: 16px;
  align-items: center;
  min-height: 78px;
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
}

.requirement summary::-webkit-details-marker { display: none; }

.requirement summary::after {
  content: "+";
  color: var(--muted);
  font-size: 22px;
  font-weight: 350;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease;
}

.requirement[open] summary::after { transform: rotate(45deg); }
.req-id { color: var(--muted); font-size: 12px; font-weight: 750; }
.req-title { font-size: 17px; font-weight: 650; }

.status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}

.status.verified { background: var(--green-bg); color: var(--green); }
.status.partial { background: var(--amber-bg); color: var(--amber); }
.status.optional { background: var(--purple-bg); color: var(--purple); }

.requirement-body {
  padding: 0 0 27px 98px;
}

.requirement-body dl { margin: 0; }

.requirement-body dl > div {
  display: grid;
  grid-template-columns: 98px minmax(0, 1fr);
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--soft-line);
}

.requirement-body dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.requirement-body dd {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}

.requirement-body a { color: var(--blue); font-weight: 600; }

.band-dark {
  background: var(--dark);
  color: #f5f5f7;
}

.band-dark .eyebrow,
.band-dark .section-intro > p,
.band-dark .split-intro > p { color: #a7a7ad; }

.architecture-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  margin: 34px 0 30px;
}

.flow-node {
  display: flex;
  min-height: 126px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid #444448;
  border-radius: var(--radius);
  background: var(--dark-2);
}

.flow-node span { color: #7fb7ff; font-size: 11px; font-weight: 750; }
.flow-node strong { margin-top: auto; font-size: 15px; line-height: 1.25; }
.flow-node small { margin-top: 6px; color: #a7a7ad; font-size: 11px; line-height: 1.45; }
.split-node { border-color: #496a98; }
.flow-line { display: none; }

.decision-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-top: 1px solid #3a3a3e;
  border-bottom: 1px solid #3a3a3e;
  background: #3a3a3e;
}

.decision-list article {
  min-height: 190px;
  padding: 26px 22px;
  background: var(--dark);
}

.decision-list h3 { color: #ffffff; }
.decision-list p { color: #a7a7ad; }
.decision-list code { background: #303034; color: #ffffff; }

.source-map {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.source-map a {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 4px;
  padding: 15px 0;
  border-bottom: 1px solid #454549;
}

.source-map strong { color: #ffffff; font-size: 13px; }
.source-map span { color: #8f8f95; font-size: 11px; overflow-wrap: anywhere; }

.evidence-file-map { grid-template-columns: repeat(4, 1fr); }

.evidence-file-map a {
  border-bottom-color: var(--line);
}

.evidence-file-map strong { color: var(--ink); }
.evidence-file-map span { color: var(--muted); }

.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.terminal-proof {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fbfbfd;
}

.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 17px;
  border-bottom: 1px solid var(--line);
  font: 12px/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace;
}

.terminal-proof pre,
.blocked pre,
.reproduce-layout pre {
  margin: 0;
  overflow: auto;
  background: #1f1f21;
  color: #f5f5f7;
  font-size: 12px;
  line-height: 1.72;
}

.terminal-proof pre { min-height: 224px; padding: 22px; }
.wide-proof { grid-column: 1 / -1; }
.wide-proof pre { min-height: auto; }

.terminal-proof > p {
  margin: 0;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 13px;
}

.blocked {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 40px;
  align-items: center;
  margin-top: 24px;
  padding: 35px;
  border: 1px solid #e4b4b4;
  border-radius: var(--radius);
  background: #fff8f8;
}

.blocked h3 {
  max-width: 680px;
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
}

.blocked-copy > p:not(.eyebrow) { margin: 13px 0; color: var(--secondary); font-size: 14px; }
.blocked pre { padding: 20px; border-radius: 6px; }

.evidence-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 42px;
}

.slot-heading { grid-column: 1 / -1; margin-bottom: 5px; }
.slot-heading h3 { margin: 0; font-size: 24px; }
.slot-heading p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.evidence-slots article {
  min-height: 215px;
  padding: 23px;
  border: 1px dashed #aaaab0;
  border-radius: var(--radius);
  background: #fbfbfd;
}

.evidence-slots article > span { color: var(--red); font-size: 11px; font-weight: 750; }
.evidence-slots h4 { margin: 28px 0 8px; font-size: 17px; }
.evidence-slots p { margin: 0; color: var(--secondary); font-size: 13px; }
.evidence-slots article > strong { display: block; margin-top: 20px; color: var(--red); font-size: 11px; }
.evidence-slots article > strong.ok { color: var(--green); }

.screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.screenshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f5f5f7;
}

.screenshot-grid figcaption {
  padding: 13px 15px 15px;
  color: var(--secondary);
  font-size: 13px;
}

.host-verification-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 36px;
  border-block: 1px solid var(--line);
}

.host-verification-strip > div {
  min-width: 0;
  padding: 20px 18px;
  border-right: 1px solid var(--line);
}

.host-verification-strip > div:first-child { padding-left: 0; }
.host-verification-strip > div:last-child { border-right: 0; }
.host-verification-strip span { display: block; color: var(--muted); font-size: 11px; }
.host-verification-strip strong { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; }

.native-proof-list {
  display: grid;
  gap: 20px;
}

.native-proof-list figure {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(250px, 0.65fr);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.native-proof-list img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  border-right: 1px solid var(--line);
  object-fit: cover;
  object-position: left top;
  background: var(--canvas);
}

.native-proof-list figcaption {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
}

.native-proof-list figcaption > span {
  color: var(--blue);
  font: 750 11px/1.35 ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-transform: uppercase;
}

.native-proof-list figcaption > strong {
  display: block;
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.35;
}

.native-proof-list figcaption p {
  margin: 12px 0 0;
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.7;
}

.evidence-file-map { margin-top: 36px; }

.report-panel {
  scroll-margin-top: 28px;
  min-height: 500px;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.report-header {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.report-header > span { color: var(--muted); font-size: 11px; font-weight: 750; }
.report-header h3 { max-width: 660px; margin: 0; font-size: 27px; line-height: 1.3; }
.report-header a { color: var(--blue); font-size: 12px; font-weight: 650; white-space: nowrap; }

.report-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin-top: 14px;
}

.report-columns > div { padding: 23px 0; border-bottom: 1px solid var(--soft-line); }
.report-columns h4 { margin: 0 0 7px; font-size: 15px; }
.report-columns p { margin: 0; color: var(--secondary); font-size: 14px; }

.test-bars { margin-top: 24px; }

.test-bars > div {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 50px;
  gap: 16px;
  align-items: center;
  padding: 12px 0;
}

.test-bars span,
.test-bars strong { font-size: 13px; }
.test-bars strong { text-align: right; }

.test-bars i {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e2e2e6;
}

.test-bars i::after {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  border-radius: inherit;
  background: #34a853;
  content: "";
}

.report-note {
  margin-top: 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.report-note p { margin: 6px 0 0; color: var(--secondary); font-size: 14px; }

.evaluation-table-wrap { margin-top: 24px; }
.evaluation-table { min-width: 760px; }

.workflow-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 55px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--soft-line);
}

.workflow-list li > span { color: var(--blue); font-size: 12px; font-weight: 750; }
.workflow-list strong { font-size: 15px; }
.workflow-list p { margin: 4px 0 0; color: var(--secondary); font-size: 13px; }

.token-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.token-facts article {
  min-height: 178px;
  padding: 22px;
  background: var(--surface);
}

.token-facts span { color: var(--muted); font-size: 11px; font-weight: 750; }
.token-facts strong { display: block; margin: 24px 0 12px; font-size: 38px; line-height: 1; }
.token-facts p { margin: 0; color: var(--secondary); font-size: 13px; }

.timeline { position: relative; }

.timeline::before {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 99px;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 75px 49px minmax(0, 1fr);
  gap: 0;
  min-height: 126px;
}

.timeline time { color: var(--muted); font-size: 12px; font-weight: 750; }
.timeline article > span { position: relative; }

.timeline article > span::before {
  position: absolute;
  top: 6px;
  left: 20px;
  width: 9px;
  height: 9px;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
  content: "";
}

.timeline h3 { margin: 0 0 6px; font-size: 18px; }
.timeline p { max-width: 760px; margin: 0; color: var(--secondary); font-size: 14px; }

.corrections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--line);
}

.corrections article { min-height: 210px; padding: 24px; background: var(--surface); }
.corrections span { color: var(--blue); font-size: 11px; font-weight: 750; }
.corrections h3 { margin: 28px 0 9px; font-size: 16px; line-height: 1.4; }
.corrections p { margin: 0; color: var(--secondary); font-size: 13px; }

.time-ledger {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 56px;
  align-items: start;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid var(--ink);
}

.time-ledger h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.3; }
.time-ledger dl { margin: 0; }

.time-ledger dl > div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--soft-line);
}

.time-ledger dt { color: var(--muted); font-size: 12px; font-weight: 700; }
.time-ledger dd { margin: 0; font-size: 14px; font-weight: 650; }
.time-ledger dd span { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; font-weight: 400; }

.security-band { background: #eef6f0; }

.security-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid #bfd4c4;
  border-radius: var(--radius);
  overflow: hidden;
  background: #bfd4c4;
}

.security-controls article { min-height: 235px; padding: 25px; background: #f8fbf8; }
.security-controls > article > span { color: var(--green); }

.redaction-policy {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px 28px;
  margin-top: 24px;
  padding: 24px 0;
  border-top: 1px solid #9fbea7;
  border-bottom: 1px solid #9fbea7;
}

.redaction-policy strong { grid-row: 1 / span 2; }
.redaction-policy p { margin: 0; color: #38533f; font-size: 13px; }
.redaction-policy span { color: #607966; font-size: 12px; }
.redaction-policy code { background: rgba(255, 255, 255, 0.65); color: #26442f; }

.product-roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.product-roadmap article { min-height: 220px; padding: 26px; background: var(--surface); }

.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 36px;
  margin-top: 48px;
}

.market-grid article { padding-top: 16px; border-top: 1px solid var(--line); }
.market-grid h3 { margin-top: 0; }

.reproduce-band { background: #e9edf3; }

.reproduce-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 65px;
  align-items: center;
}

.reproduce-layout > div > p:not(.eyebrow):not(.copy-note) { margin: 20px 0 26px; color: var(--secondary); font-size: 14px; }
.reproduce-layout pre { padding: 28px; border-radius: var(--radius); }
.reproduce-layout pre span { color: #87bfff; }

.artifact-list { border-top: 1px solid var(--line); }

.artifact-list a {
  display: grid;
  grid-template-columns: 60px minmax(200px, 0.65fr) minmax(0, 1fr) 18px;
  gap: 18px;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid var(--line);
}

.artifact-list a::after { content: "›"; color: var(--muted); font-size: 20px; }
.artifact-list span { color: var(--muted); font-size: 11px; font-weight: 700; }
.artifact-list strong { font-size: 15px; }
.artifact-list small { color: var(--muted); font-size: 12px; }

.doc-reader {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.reader-doc {
  scroll-margin-top: 92px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(29, 29, 31, 0.04);
}

.reader-doc header {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--soft-line);
}

.reader-doc header span {
  color: var(--muted);
  font: 750 11px/1.4 ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.reader-doc h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.reader-doc h4 {
  margin: 24px 0 8px;
  font-size: 16px;
  line-height: 1.35;
}

.reader-doc p,
.reader-doc li {
  color: var(--secondary);
  font-size: 14px;
}

.reader-doc p { margin: 18px 0 0; }
.reader-doc ul,
.reader-doc ol { margin: 14px 0 0; padding-left: 1.2em; }

.reader-doc code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #eeeef1;
  color: #333336;
  font-size: 0.92em;
}

.reader-doc pre {
  margin: 22px 0 0;
  overflow: auto;
  padding: 22px;
  border-radius: 10px;
  background: #1f1f21;
  color: #f5f5f7;
  font-size: 12px;
  line-height: 1.72;
}

.reader-doc pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.reader-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.reader-grid > div {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--soft-line);
  border-radius: 10px;
  background: #fbfbfd;
}

.reader-grid h4 { margin-top: 0; }
.reader-grid p,
.reader-grid ul { margin-top: 8px; }

.reader-table-wrap {
  width: 100%;
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--soft-line);
  border-radius: 10px;
}

.reader-table-wrap table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  text-align: left;
}

.reader-table-wrap th,
.reader-table-wrap td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--soft-line);
  color: var(--secondary);
  font-size: 13px;
  vertical-align: top;
}

.reader-table-wrap th {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.reader-table-wrap tr:last-child > * { border-bottom: 0; }

footer {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 34px max(32px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

footer div { display: flex; flex-direction: column; }
footer strong { color: var(--ink); }
footer p { margin: 0; }
footer a { color: var(--blue); font-weight: 650; white-space: nowrap; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid #0a84ff;
  outline-offset: 3px;
}

@media (max-width: 1040px) {
  .nav-primary { gap: 14px; margin-left: 24px; }
  .nav-primary a:nth-last-child(-n + 2) { display: none; }
  .build { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr); gap: 45px; padding-inline: 44px; }
  .hero h1 { font-size: 60px; }
  .decision-list { grid-template-columns: 1fr 1fr; }
  .source-map { grid-template-columns: repeat(3, 1fr); }
  .corrections { grid-template-columns: 1fr 1fr; }
  .security-controls { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .topbar { padding-inline: 22px; }
  .nav-primary { display: none; }
  .mobile-jump { display: inline; margin-left: auto; color: var(--blue); font-size: 12px; font-weight: 650; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 66px 28px; }
  .hero h1 { font-size: 52px; }
  .verdict { max-width: none; justify-self: stretch; padding: 26px 0 0; border-top: 1px solid var(--line); border-left: 0; }
  .metric-strip { grid-template-columns: 1fr 1fr; }
  .container { width: min(100% - 44px, 1120px); }
  .split-intro { grid-template-columns: 1fr; gap: 20px; }
  .section-intro h2,
  .reproduce-layout h2 { font-size: 39px; }
  .focus-points { grid-template-columns: 1fr; }
  .architecture-flow { grid-template-columns: 1fr 1fr; }
  .flow-line { display: none; }
  .source-map { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .wide-proof { grid-column: auto; }
  .blocked { grid-template-columns: 1fr; }
  .evidence-slots { grid-template-columns: 1fr; }
  .screenshot-grid { grid-template-columns: 1fr; }
  .host-verification-strip { grid-template-columns: 1fr 1fr; }
  .host-verification-strip > div:nth-child(2) { border-right: 0; }
  .host-verification-strip > div:first-child { padding-left: 18px; }
  .native-proof-list figure { grid-template-columns: 1fr; }
  .native-proof-list img { height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .report-panel { min-height: 0; padding: 28px; }
  .report-header { grid-template-columns: 1fr; gap: 10px; }
  .report-columns { grid-template-columns: 1fr; }
  .token-facts { grid-template-columns: 1fr; }
  .token-facts article { min-height: 190px; }
  .time-ledger { grid-template-columns: 1fr; gap: 28px; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .reproduce-layout { grid-template-columns: 1fr; gap: 34px; }
  .artifact-list a { grid-template-columns: 42px minmax(0, 1fr) 18px; }
  .artifact-list small { grid-column: 2; }
  .artifact-list a::after { grid-column: 3; grid-row: 1 / span 2; }
  .reader-doc { padding: 26px; }
  .reader-doc header { grid-template-columns: 1fr; gap: 8px; }
  .reader-doc h3 { font-size: 24px; }
  .reader-grid { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .brand span:last-child { display: none; }
  .hero { gap: 38px; padding: 54px 20px; }
  .hero h1 { font-size: 42px; }
  .lede { font-size: 17px; }
  .hero-actions .button { width: 100%; }
  .verdict h2 { font-size: 23px; }
  .metric-strip div { min-height: 112px; padding: 22px 20px; }
  .metric-strip strong { font-size: 27px; }
  .band { padding: 66px 0; }
  .container { width: calc(100% - 40px); }
  .section-intro { margin-bottom: 32px; }
  .section-intro h2,
  .reproduce-layout h2 { font-size: 34px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: 165px; }
  .design-principles { padding: 25px 22px; }
  .design-principles h3 { font-size: 23px; }
  .legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .filter { flex: 1 1 calc(50% - 8px); }
  .requirement summary { grid-template-columns: 62px minmax(0, 1fr) 18px; gap: 10px; }
  .requirement summary .status { grid-column: 2; grid-row: 2; }
  .requirement summary::after { grid-column: 3; grid-row: 1 / span 2; }
  .requirement-body { padding-left: 0; }
  .requirement-body dl > div { grid-template-columns: 1fr; gap: 3px; }
  .architecture-flow { grid-template-columns: 1fr; }
  .flow-node { min-height: 120px; }
  .decision-list { grid-template-columns: 1fr; }
  .decision-list article { min-height: 185px; }
  .source-map { grid-template-columns: 1fr; }
  .blocked { padding: 25px 21px; }
  .blocked h3 { font-size: 22px; }
  .host-verification-strip { grid-template-columns: 1fr; }
  .host-verification-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .host-verification-strip > div:nth-child(2) { border-right: 0; }
  .host-verification-strip > div:last-child { border-bottom: 0; }
  .native-proof-list figcaption { padding: 22px 20px; }
  .report-panel { padding: 22px 19px; }
  .report-header h3 { font-size: 23px; }
  .test-bars > div { grid-template-columns: 1fr 42px; gap: 8px; }
  .test-bars i { grid-column: 1 / -1; grid-row: 2; }
  .workflow-list li { grid-template-columns: 38px minmax(0, 1fr); }
  .timeline::before { left: 13px; }
  .timeline article { grid-template-columns: 28px minmax(0, 1fr); min-height: 150px; }
  .timeline time { grid-column: 2; margin-bottom: 5px; }
  .timeline article > span { grid-column: 1; grid-row: 1 / span 2; }
  .timeline article > span::before { left: 9px; }
  .timeline article > div { grid-column: 2; }
  .corrections { grid-template-columns: 1fr; }
  .corrections article { min-height: 175px; }
  .time-ledger dl > div { grid-template-columns: 1fr; gap: 4px; }
  .security-controls { grid-template-columns: 1fr; }
  .security-controls article { min-height: 195px; }
  .redaction-policy { grid-template-columns: 1fr; }
  .redaction-policy strong { grid-row: auto; }
  .product-roadmap { grid-template-columns: 1fr; }
  .product-roadmap article { min-height: 180px; }
  .market-grid { grid-template-columns: 1fr; gap: 22px; }
  .reproduce-actions .button { width: 100%; }
  .artifact-list a { grid-template-columns: 36px minmax(0, 1fr) 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .topbar { background: #ffffff; backdrop-filter: none; }
}

@media (prefers-contrast: more) {
  :root { --line: #77777c; --soft-line: #a0a0a5; }
  .topbar { border-bottom-color: var(--ink); }
  .status { border: 1px solid currentColor; }
}

/* Application shell */
body {
  height: 100svh;
  overflow: hidden;
}

.sidebar {
  position: fixed;
  z-index: 30;
  inset: 0 auto 0 0;
  display: flex;
  width: 292px;
  flex-direction: column;
  border-right: 1px solid rgba(29, 29, 31, 0.11);
  background: rgba(251, 251, 253, 0.92);
  backdrop-filter: saturate(160%) blur(24px);
  transition: width 180ms ease, transform 180ms ease;
}

.sidebar-header {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 10px;
  padding: 13px 13px 13px 16px;
  border-bottom: 1px solid var(--soft-line);
}

.sidebar .brand {
  min-width: 0;
  flex: 1;
}

.brand-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.brand-copy strong {
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.sidebar-toggle,
.mobile-menu {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--secondary);
  cursor: pointer;
}

.sidebar-toggle:hover,
.mobile-menu:hover { background: #e9e9ed; color: var(--ink); }
.sidebar-toggle span { font-size: 25px; font-weight: 300; line-height: 1; }

.sidebar-summary {
  margin: 16px 14px 10px;
  padding: 13px 12px;
  border: 1px solid #e0c88c;
  border-radius: 7px;
  background: #fffaf0;
}

.summary-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 700;
}

.sidebar-summary p {
  margin: 7px 0 0;
  color: #66583c;
  font-size: 11px;
  line-height: 1.5;
}

.side-nav {
  min-height: 0;
  flex: 1;
  padding: 8px 9px 16px;
  overflow-y: auto;
}

.nav-group {
  margin: 3px 0;
  border-radius: 9px;
}

.nav-group summary {
  display: grid;
  min-height: 38px;
  grid-template-columns: 30px minmax(0, 1fr) 18px;
  gap: 8px;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--secondary);
  cursor: pointer;
  list-style: none;
  transition: background-color 120ms ease, color 120ms ease;
}

.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary:hover { background: #eeeef1; color: var(--ink); }
.nav-group.active > summary { background: #f2f5fa; color: var(--ink); }

.nav-group summary span {
  color: var(--muted);
  font: 10px/1 ui-monospace, "SFMono-Regular", Menlo, monospace;
  text-align: center;
}

.nav-group.active summary span { color: #3975b6; }

.nav-group summary strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-group summary i {
  color: #8f8f95;
  font-style: normal;
  text-align: center;
  transition: transform 140ms ease;
}

.nav-group:not([open]) summary i { transform: rotate(-90deg); }

.sub-nav {
  display: grid;
  gap: 2px;
  padding: 3px 0 8px 38px;
}

.sub-nav a {
  position: relative;
  display: flex;
  min-height: 30px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 7px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 560;
  transition: background-color 120ms ease, color 120ms ease, transform 100ms ease;
}

.sub-nav a:hover { background: #eeeef1; color: var(--ink); }
.sub-nav a:active { transform: scale(0.98); }

.sub-nav a.active {
  background: #e5eef9;
  color: #084d98;
}

.sub-nav a.active::before {
  position: absolute;
  inset: 7px auto 7px -12px;
  width: 2px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.sidebar-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 13px 16px;
  border-top: 1px solid var(--soft-line);
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.app-main {
  position: fixed;
  inset: 0 0 0 292px;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--canvas);
  scroll-behavior: smooth;
  transition: left 180ms ease;
}

.app-main > [data-module] { scroll-margin-top: 28px; }
.app-main > .band { min-height: auto; }
.app-main .hero {
  min-height: calc(100% - 190px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 48px;
  padding: 58px clamp(28px, 4vw, 60px);
}

.app-main .hero h1 { font-size: 56px; }
.app-main .section-intro h2,
.app-main .reproduce-layout h2 { font-size: 38px; }
.app-main .band { padding-block: 66px; }
.app-main .container { width: min(100% - 64px, 1120px); }

.mobile-header,
.sidebar-backdrop { display: none; }

#blocked-evidence { scroll-margin-top: 72px; }

.cost-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.cost-summary article {
  min-height: 164px;
  padding: 25px 22px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.cost-summary article:last-child { border-right: 0; }
.cost-summary span { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.cost-summary strong { display: block; margin: 20px 0 10px; font-size: 30px; letter-spacing: -0.04em; }
.cost-summary p { margin: 0; color: var(--secondary); font-size: 13px; line-height: 1.55; }

.cost-table th:first-child { min-width: 120px; }
.cost-table td { min-width: 150px; }

.cost-note {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 30px;
  padding: 24px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}

.cost-note div { display: grid; gap: 8px; }
.cost-note code { color: #b9d9ff; font-size: 12px; }
.cost-note p { margin: 0; color: #c8c8cd; font-size: 13px; line-height: 1.6; }
.cost-note .text-link { color: #72b6ff; white-space: nowrap; }

.method-principles,
.skill-cards {
  display: grid;
  gap: 12px;
}

.method-principles { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 34px; }
.skill-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.method-principles article,
.skill-cards article {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.method-principles span,
.skill-cards span { color: var(--blue); font: 700 11px/1 ui-monospace, "SFMono-Regular", Menlo, monospace; }
.method-principles h3,
.skill-cards h3 { margin: 18px 0 10px; font-size: 18px; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.method-principles p,
.skill-cards p { margin: 0; color: var(--secondary); font-size: 13px; line-height: 1.6; }
.methods-link { margin-top: 28px; }

body.sidebar-collapsed .sidebar { width: 76px; }
body.sidebar-collapsed .app-main { left: 76px; }
body.sidebar-collapsed .sidebar-header { justify-content: center; padding-inline: 10px; }
body.sidebar-collapsed .sidebar-header .brand,
body.sidebar-collapsed .sidebar-summary,
body.sidebar-collapsed .sidebar-footer { display: none; }
body.sidebar-collapsed .side-nav { padding-inline: 9px; }
body.sidebar-collapsed .nav-group summary {
  grid-template-columns: 1fr;
  justify-items: center;
  padding-inline: 0;
}
body.sidebar-collapsed .nav-group summary strong,
body.sidebar-collapsed .nav-group summary i,
body.sidebar-collapsed .sub-nav { display: none; }

@media (max-width: 1180px) {
  .app-main .hero { grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
  .app-main .hero h1 { font-size: 50px; }
  .app-main .architecture-flow { grid-template-columns: 1fr 1fr; }
  .app-main .flow-line { display: none; }
  .cost-summary { grid-template-columns: 1fr 1fr; }
  .cost-summary article:nth-child(2) { border-right: 0; }
  .cost-summary article:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .method-principles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  body { padding-top: 54px; }

  .mobile-header {
    position: fixed;
    z-index: 25;
    inset: 0 0 auto 0;
    display: grid;
    height: 54px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 0 14px 0 10px;
    border-bottom: 1px solid rgba(29, 29, 31, 0.12);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(160%) blur(20px);
  }

  .mobile-header strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-header > span { color: var(--muted); font-size: 10px; }
  .mobile-menu { display: grid; font-size: 18px; }

  .sidebar,
  body.sidebar-collapsed .sidebar {
    width: 292px;
    transform: translateX(-102%);
    box-shadow: 14px 0 38px rgba(0, 0, 0, 0.14);
  }

  body.sidebar-open .sidebar { transform: translateX(0); }
  body.sidebar-collapsed .sidebar-header { justify-content: initial; padding: 13px 13px 13px 16px; }
  body.sidebar-collapsed .sidebar-header .brand,
  body.sidebar-collapsed .sidebar-summary,
  body.sidebar-collapsed .sidebar-footer { display: flex; }
  .sidebar .brand .brand-copy { display: flex; }
  body.sidebar-collapsed .sidebar-summary { display: block; }
  body.sidebar-collapsed .side-nav { padding-inline: 8px; }
  body.sidebar-collapsed .nav-group summary {
    grid-template-columns: 30px minmax(0, 1fr) 18px;
    justify-items: stretch;
    padding-inline: 10px;
  }
  body.sidebar-collapsed .nav-group summary strong,
  body.sidebar-collapsed .nav-group summary i { display: block; }
  body.sidebar-collapsed .sub-nav { display: grid; }

  .sidebar-toggle { display: none; }
  .sidebar-backdrop {
    position: fixed;
    z-index: 29;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.28);
  }
  body.sidebar-open .sidebar-backdrop { display: block; }

  .app-main,
  body.sidebar-collapsed .app-main { inset: 54px 0 0 0; }
  .app-main .hero { min-height: auto; grid-template-columns: 1fr; padding: 52px 28px; }
  .app-main .hero h1 { font-size: 44px; }
  .app-main .container { width: min(100% - 44px, 1120px); }
  .app-main .section-intro h2,
  .app-main .reproduce-layout h2 { font-size: 34px; }
  .cost-note { grid-template-columns: 1fr; gap: 16px; }
  .skill-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .app-main .hero { padding: 44px 20px; }
  .app-main .hero h1 { font-size: 40px; }
  .app-main .band { padding-block: 56px; }
  .app-main .container { width: calc(100% - 36px); }
  .app-main .section-intro h2,
  .app-main .reproduce-layout h2 { font-size: 30px; }
  .cost-summary,
  .method-principles { grid-template-columns: 1fr; }
  .cost-summary article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .cost-summary article:last-child { border-bottom: 0; }
  .reader-doc { padding: 22px; border-radius: 12px; }
  .reader-doc h3 { font-size: 22px; }
  .reader-doc pre { padding: 18px; }
}

@media (prefers-reduced-transparency: reduce) {
  .sidebar,
  .mobile-header { background: #ffffff; backdrop-filter: none; }
}
