:root {
  --ink: #19231f;
  --muted: #66706b;
  --paper: #f4f1e8;
  --line: #cdcabe;
  --accent: #d75b36;
  --green: #183f35;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
.topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; padding: 0 5vw;
  background: rgba(244, 241, 232, .93); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { font-weight: 760; letter-spacing: -.02em; }
.brand span { color: var(--muted); font-weight: 500; }
nav { display: flex; align-items: center; gap: 24px; font-size: 14px; }
button { font: inherit; cursor: pointer; }
#language, .print { padding: 7px 11px; border: 1px solid var(--ink); color: var(--ink); background: transparent; border-radius: 99px; }
.print { background: var(--ink); color: var(--paper); }
main { overflow: hidden; }
.hero, .content-section, .statement, .contribute { padding-left: 9vw; padding-right: 9vw; }
.hero { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; padding-top: 90px; padding-bottom: 90px; }
.eyebrow { margin: 0 0 18px; color: var(--accent); font-size: 12px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
h1 { max-width: 1000px; margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(46px, 7.2vw, 104px); line-height: 1.06; letter-spacing: -.045em; font-weight: 500; }
.intro { max-width: 690px; margin: 35px 0 0; color: var(--muted); font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.actions a { display: inline-block; padding: 11px 18px; border: 1px solid var(--ink); border-radius: 2px; font-size: 14px; font-weight: 650; }
.actions .primary { color: var(--paper); background: var(--ink); }
.statement { padding-top: 76px; padding-bottom: 76px; color: #f3efe4; background: var(--green); }
.statement p { max-width: 1050px; margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(25px, 3.8vw, 52px); line-height: 1.35; }
.content-section { padding-top: 120px; padding-bottom: 120px; border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; margin-bottom: 58px; }
h2 { margin: 0; font-family: Georgia, "Noto Serif SC", serif; font-size: clamp(35px, 5vw, 68px); font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.protocol-list { list-style: none; counter-reset: protocol; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.protocol-list li { counter-increment: protocol; min-height: 145px; padding: 28px 42px 28px 60px; border-bottom: 1px solid var(--line); position: relative; font-size: 18px; }
.protocol-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.protocol-list li::before { content: "0" counter(protocol); position: absolute; left: 0; top: 31px; color: var(--accent); font: 12px/1 ui-monospace, monospace; }
.resources { background: #e8e4d9; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards a { min-height: 205px; padding: 28px; display: flex; flex-direction: column; background: var(--paper); transition: transform .15s, background .15s; }
.cards a:hover { background: #fffdf6; transform: translateY(-3px); }
.cards span { color: var(--accent); font: 12px ui-monospace, monospace; }
.cards strong { margin-top: auto; font: 500 29px Georgia, "Noto Serif SC", serif; }
.cards small { margin-top: 5px; color: var(--muted); }
.language-note { text-align: right; margin: 22px 0 0; }
.language-note a { border-bottom: 1px solid var(--ink); }
.contribute { padding-top: 120px; padding-bottom: 120px; color: var(--paper); background: var(--ink); }
.contribute p:not(.eyebrow) { max-width: 680px; color: #c9ccc7; font-size: 18px; }
.actions .light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.actions .light-outline { color: var(--paper); border-color: #737b76; }
.contribute small { display: block; margin-top: 24px; color: #929a95; }
footer { display: flex; justify-content: space-between; padding: 28px 5vw; color: var(--muted); background: #111815; font-size: 13px; }

@media (max-width: 720px) {
  .topbar { padding: 0 20px; }
  nav > a { display: none; }
  nav { gap: 8px; }
  .hero, .content-section, .statement, .contribute { padding-left: 24px; padding-right: 24px; }
  .hero { min-height: 620px; }
  .section-heading { display: block; }
  .section-heading .eyebrow { margin-bottom: 14px; }
  .protocol-list, .cards { grid-template-columns: 1fr; }
  .protocol-list li:nth-child(odd) { border-right: 0; }
}

@media print {
  @page { size: A4; margin: 17mm; }
  body { background: white; font-size: 10.5pt; }
  .topbar, .actions, footer { display: none !important; }
  .hero { min-height: auto; padding: 28mm 0 20mm; page-break-after: always; }
  .hero h1 { font-size: 38pt; }
  .statement { margin: 0 -17mm; padding: 22mm 17mm; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .content-section, .contribute { padding: 18mm 0; }
  .protocol-list li { min-height: 27mm; }
  .cards a { min-height: 36mm; }
  .contribute { margin: 0 -17mm; padding: 22mm 17mm; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  a { color: inherit; }
}

