@font-face {
  font-family: "Noto Sans SC Local";
  src: url("/assets/fonts/NotoSansSC-Regular.otf") format("opentype");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #eeeae1;
  --surface: #fffdf8;
  --ink: #162335;
  --muted: #586677;
  --line: rgba(22, 35, 53, .17);
  --blue: #19557e;
  --red: #a54835;
  --pale-blue: #dce8ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC Local", "Noto Sans SC", "Source Han Sans SC", system-ui, sans-serif;
}
a { color: inherit; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.topbar > a { font-weight: 850; text-decoration: none; }
.topbar div { display: flex; gap: 22px; }
.topbar div a { color: var(--muted); text-decoration: none; }

.hero { padding: 74px 0 52px; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px !important;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(54px, 8vw, 104px);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 span { color: var(--red); }
.hero .lead {
  max-width: 920px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.85;
}
.status-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.status-row span { padding: 8px 12px; border: 1px solid var(--line); background: rgba(255,255,255,.4); font-size: 13px; font-weight: 750; }

.opening { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: var(--ink); color: white; }
.opening p { margin: 0; padding: 30px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); font-size: 22px; line-height: 1.75; }
.opening p:nth-child(even) { border-right: 0; }

.notice { margin-top: 20px; padding: 30px; border-left: 5px solid var(--red); background: #f8e9e5; }
.notice strong { display: block; margin-bottom: 12px; color: var(--red); font-size: 19px; }
.notice p { margin: 0; color: #563b35; font-size: 22px; line-height: 1.8; }

.prose { margin-top: 20px; padding: clamp(28px, 5.5vw, 70px); background: var(--surface); border: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; margin: 64px 0 26px; padding-top: 30px; border-top: 1px solid var(--line); }
.section-heading:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.section-heading span { color: var(--red); font-family: ui-monospace, monospace; font-size: 15px; font-weight: 900; }
.section-heading h2 { margin: 0; font-size: clamp(32px, 4.3vw, 54px); line-height: 1.18; letter-spacing: -.05em; }
.prose > p { margin: 0 0 20px; font-size: 22px; line-height: 1.95; text-align: justify; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); }
.evidence-table { width: 100%; min-width: 780px; border-collapse: collapse; background: white; }
.evidence-table th, .evidence-table td { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.evidence-table th { background: var(--pale-blue); font-size: 18px; }
.evidence-table td { font-size: 22px; line-height: 1.7; }

.conclusion { margin-top: 20px; padding: clamp(32px, 6vw, 72px); background: var(--blue); color: white; }
.conclusion .eyebrow { color: #b7d9ed; }
.conclusion h2 { margin: 0 0 24px; font-size: clamp(38px, 5vw, 64px); line-height: 1.15; letter-spacing: -.05em; }
.conclusion > p:last-child { max-width: 1000px; margin: 0; color: rgba(255,255,255,.82); font-size: 22px; line-height: 1.9; }

.downloads { margin-top: 20px; padding: clamp(30px, 5vw, 56px); border: 1px solid var(--line); background: rgba(255,255,255,.48); }
.downloads h2 { margin: 0 0 28px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.04em; }
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.download-grid a { display: flex; flex-direction: column; justify-content: space-between; min-height: 130px; padding: 22px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; }
.download-grid a:hover { border-color: var(--blue); transform: translateY(-2px); }
.download-grid strong { font-size: 18px; }
.download-grid span { color: var(--red); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 850; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 36px 0 60px; color: var(--muted); font-size: 13px; }
footer p { margin: 0; }

@media (max-width: 820px) {
  .page-shell { width: min(100% - 24px, 720px); }
  .hero { padding-top: 50px; }
  .opening, .download-grid { grid-template-columns: 1fr; }
  .opening p { border-right: 0; }
  .section-heading { grid-template-columns: 44px 1fr; gap: 10px; }
  .prose { padding: 28px 22px; }
  .topbar div a:first-child { display: none; }
  footer { display: block; }
  footer a { display: inline-block; margin-top: 14px; }
}

@media print {
  .topbar, .downloads { display: none; }
  body { background: white; }
  .page-shell { width: auto; }
  .prose, .opening, .notice, .conclusion { border: 0; }
}
