:root {
  --ink: #18232f;
  --muted: #5b6773;
  --paper: #f5f1e8;
  --surface: #fffdf8;
  --line: #d9d2c6;
  --accent: #254a63;
  --accent-soft: #dce8ed;
  --warn: #7b5b20;
  --risk: #7a3737;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}
a { color: var(--accent); text-underline-offset: .16em; }
a:hover { text-decoration-thickness: 2px; }
img { display: block;  height: auto; }
.shell { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(245,241,232,.96); }
.masthead { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-name { font-weight: 800; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.masthead nav { display: flex; gap: 18px; flex-wrap: wrap; }
.masthead nav a { text-decoration: none; font-size: .95rem; }
.hero { padding-block: 72px 46px; }
.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .76rem;
  font-weight: 800;
  color: var(--accent);
}
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -.025em; }
h1 { max-width: 1000px; font-size: clamp(2.4rem, 6vw, 5.3rem); margin: 16px 0 24px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: 8px 0 18px; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.15em; }
.lead { max-width: 920px; font-size: clamp(1.15rem, 2vw, 1.45rem); color: #35424e; }
.hero-figure, .wide-figure { margin: 34px 0 0; background: var(--surface); border: 1px solid var(--line); }
.hero-figure img {object-fit: cover; background: var(--accent-soft); }
.wide-figure img { object-fit: cover; background: var(--accent-soft); }
figcaption { padding: 12px 16px 15px; color: var(--muted); font-size: .9rem; }
section.shell { padding-block: 42px; border-top: 1px solid var(--line); }
.context-section { display: block; }
.context-heading { margin-bottom: 22px; }
.context-section .table-wrap { margin-bottom: 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: .94rem; }
th, td { text-align: left; vertical-align: top; padding: 14px; border-bottom: 1px solid var(--line); }
th { background: #e6edf0; color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1.35fr .65fr; gap: 42px; align-items: start; }
.two-col > .wide-figure:first-child { margin-top: 0; }
.note-card, .feature-card, .checklist { background: var(--surface); border: 1px solid var(--line); padding: 24px; }
.note-card { border-top: 5px solid var(--accent); }
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-grid { margin-top: 24px; }
.feature-card { min-width: 0; }
.feature-card h3 { margin-top: 0; }
.decision-grid { display: grid; grid-template-columns: .7fr 1.7fr; gap: 38px; align-items: start; }
.status-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.status-grid > div { padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.status-grid strong { display: block; margin-bottom: 8px; }
.status { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: .78rem; font-weight: 800; margin-bottom: 10px; }
.status.amber { background: #efe3bf; color: var(--warn); }
.status.red { background: #efd5d5; color: var(--risk); }
.layers-list dt { font-weight: 800; margin-top: 18px; }
.layers-list dd { margin: 5px 0 0; color: #3d4852; }
.reader-list { max-width: 980px; }
.reader-list li + li { margin-top: 14px; }
.link-list { columns: 2; column-gap: 42px; padding-left: 20px; }
.link-list li { break-inside: avoid; margin: 0 0 12px; }
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; color: var(--ink); font-weight: 800; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.4rem; font-weight: 500; }
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p { margin: 0; padding: 0 20px 20px; max-width: 980px; }
.closing { padding-bottom: 70px !important; }
.site-footer { background: #24323d; color: #f6f2ea; padding-block: 36px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; }
.site-footer a { color: #dce8ed; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer p { color: #d3d9dd; font-size: .9rem; }
@media (max-width: 820px) {
  .masthead { align-items: flex-start; flex-direction: column; padding-block: 18px; }
  .decision-grid, .two-col, .split-cards, .footer-grid { grid-template-columns: 1fr; }
  .status-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 44px; }
  .link-list { columns: 1; }
}
