:root {
  --ink: #162019;
  --ink-soft: #526057;
  --paper: #f4f1e9;
  --paper-deep: #e9e4d8;
  --line: rgba(22, 32, 25, 0.16);
  --night: #101713;
  --night-soft: #1a251d;
  --acid: #d8ff72;
  --moss: #476b51;
  --danger: #9e3f34;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 4px;
  border-radius: 3px;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  background: var(--acid);
  color: var(--night);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, 0.94);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .16em;
}
.brand img { width: 36px; height: 36px; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: .85rem;
  font-weight: 700;
}
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--ink); }
.language-link {
  border: 1px solid var(--line);
  padding: 7px 11px;
  letter-spacing: .08em;
}
.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr);
  overflow: hidden;
  background: var(--night);
  color: #f7f5ef;
}
.hero-copy {
  padding: clamp(74px, 10vw, 144px) max(28px, calc((100vw - 1180px) / 2));
  padding-right: clamp(40px, 7vw, 110px);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--acid);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1, .document-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(3.2rem, 7vw, 7.1rem); }
.hero-lead { max-width: 640px; margin: 30px 0 0; color: #bbc6bd; font-size: clamp(1rem, 1.4vw, 1.22rem); }
.hero-panel {
  position: relative;
  min-height: 400px;
  display: grid;
  align-content: end;
  padding: clamp(32px, 5vw, 72px);
  background:
    linear-gradient(140deg, transparent 20%, rgba(216,255,114,.08)),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(255,255,255,.055) 43px),
    var(--night-soft);
  border-left: 1px solid rgba(255,255,255,.08);
}
.hero-panel::before {
  content: "";
  position: absolute;
  top: 15%; right: 16%;
  width: min(24vw, 270px); aspect-ratio: 1;
  border: 1px solid rgba(216,255,114,.6);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(216,255,114,.035), 0 0 0 56px rgba(216,255,114,.025);
}
.status-card { position: relative; border-top: 1px solid rgba(255,255,255,.18); padding-top: 20px; }
.status-card strong { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.status-card span { color: #95a299; font-size: .84rem; }
.status-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 18px var(--acid); }
.content-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-intro { padding: 76px 0 30px; display: flex; justify-content: space-between; gap: 30px; align-items: end; }
.section-intro h2 { max-width: 680px; margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4.4vw, 4.5rem); line-height: 1; font-weight: 500; letter-spacing: -.04em; }
.section-intro p { max-width: 380px; margin: 0; color: var(--ink-soft); }
.document-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.document-card {
  min-height: 260px;
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.document-card:nth-child(even) { border-right: 0; }
.document-card:hover { background: var(--night); color: #f7f5ef; }
.card-number { display: block; color: var(--moss); font: 800 .75rem/1 var(--sans); letter-spacing: .14em; }
.document-card h3 { margin: 54px 0 12px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 500; letter-spacing: -.035em; }
.document-card p { max-width: 460px; margin: 0; color: var(--ink-soft); }
.document-card:hover p, .document-card:hover .card-number { color: #aeb9b0; }
.document-hero { padding: clamp(70px, 9vw, 125px) 0 55px; border-bottom: 1px solid var(--line); }
.document-title { max-width: 900px; margin: 12px 0 26px; font-size: clamp(3rem, 7vw, 6.8rem); }
.document-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; color: var(--ink-soft); font-size: .88rem; }
.document-layout { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: clamp(40px, 8vw, 110px); padding: 60px 0 100px; }
.toc { position: sticky; top: 112px; align-self: start; }
.toc strong { display: block; margin-bottom: 16px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.toc a { display: block; padding: 8px 0; color: var(--ink-soft); font-size: .86rem; text-decoration: none; }
.toc a:hover { color: var(--ink); }
.document-body section { scroll-margin-top: 110px; padding: 0 0 42px; margin: 0 0 42px; border-bottom: 1px solid var(--line); }
.document-body section:last-child { border-bottom: 0; }
.document-body h2 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.document-body h3 { margin: 26px 0 8px; font-size: 1rem; }
.document-body p, .document-body li { color: #344039; }
.document-body ul, .document-body ol { padding-left: 1.25rem; }
.document-body li + li { margin-top: 8px; }
.notice { margin: 10px 0 38px; padding: 22px 24px; border-left: 3px solid var(--moss); background: var(--paper-deep); }
.notice strong { display: block; margin-bottom: 4px; }
.action-block { margin: 24px 0 40px; padding: clamp(25px, 5vw, 42px); background: var(--night); color: #f7f5ef; }
.action-block h2 { margin-top: 0; color: #fff; }
.action-block p { color: #b6c0b8; }
.primary-button { display: inline-flex; align-items: center; gap: 18px; margin-top: 10px; padding: 14px 18px; background: var(--acid); color: var(--night); text-decoration: none; font-weight: 900; }
.primary-button:hover { background: #e4ff9b; }
.site-footer { margin-top: 90px; padding: 42px 0; background: var(--night); color: #d9ded9; }
.footer-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.footer-inner p { max-width: 520px; margin: 10px 0 0; color: #8f9b92; font-size: .84rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 18px; }
.footer-links a { color: #d9ded9; font-size: .82rem; text-decoration: none; }
.footer-links a:hover { color: var(--acid); }

@media (max-width: 820px) {
  .header-nav a:not(.language-link) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-panel { min-height: 300px; border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .hero-copy { padding: 84px 24px 72px; }
  .section-intro { align-items: start; flex-direction: column; }
  .document-layout { grid-template-columns: 1fr; }
  .toc { position: static; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .header-inner, .content-shell, .footer-inner { width: min(100% - 28px, 1180px); }
  .document-grid { grid-template-columns: 1fr; }
  .document-card { min-height: 220px; border-right: 0; padding: 27px 8px; }
  .document-card h3 { margin-top: 42px; }
  .document-hero { padding-top: 58px; }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-links { justify-content: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
  .site-header, .toc, .site-footer, .skip-link { display: none; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .content-shell { width: 100%; }
  .document-layout { display: block; padding-top: 25px; }
  .document-body section { break-inside: avoid; }
}
