:root {
  --paper: #f5f2ea;
  --paper-strong: #fffdf8;
  --ink: #1d2423;
  --muted: #5d6966;
  --line: #cfd6d1;
  --teal: #126c66;
  --teal-dark: #0d514d;
  --red: #9d3732;
  --gold: #a36b18;
  --green-soft: #dcebe5;
  --red-soft: #f2dfdb;
  --shadow: 0 8px 22px rgba(29, 36, 35, 0.08);
  --radius: 6px;
  --content: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--red); }
img { max-width: 100%; }
button, input, select { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  background: #172523;
  color: white;
}

.header-inner,
.container {
  width: min(calc(100% - 32px), var(--content));
  margin-inline: auto;
}

.header-inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: white;
  text-decoration: none;
  white-space: nowrap;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.brand-mark {
  width: 28px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.65);
  color: #e6bd69;
  font-family: Inter, sans-serif;
  font-size: 0.76rem;
}

.primary-nav { margin-left: auto; }
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: block;
  color: #eaf1ef;
  text-decoration: none;
  padding: 0.55rem 0.7rem;
  border-bottom: 2px solid transparent;
  font-size: 0.9rem;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"] { border-color: #e6bd69; color: white; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  background: transparent;
  color: white;
  cursor: pointer;
}

.language-select {
  width: 92px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  background: #223735;
  color: white;
  padding: 0.45rem 0.55rem;
}

.hero {
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}
.hero-grid {
  min-height: min(720px, calc(100vh - 66px));
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 3.2rem;
  padding-block: 54px;
}
.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.14;
  letter-spacing: 0;
}
h1 { margin: 0; font-size: clamp(2.55rem, 5vw, 5.2rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.8rem, 3vw, 2.7rem); }
h3 { margin: 0 0 0.55rem; font-size: 1.25rem; }
.lede { max-width: 670px; color: var(--muted); font-size: 1.08rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.6rem 0; }
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  border-radius: var(--radius);
  background: var(--teal);
  color: white;
  padding: 0.65rem 0.95rem;
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: var(--teal-dark); color: white; }
.button.secondary { background: transparent; color: var(--teal-dark); }
.button.secondary:hover { background: var(--green-soft); }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.facts li { border-top: 2px solid var(--teal); padding-top: 0.6rem; }
.facts span { display: block; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; }
.facts strong { font-size: 0.98rem; }

.hero-figure { margin: 0; }
.hero-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
figcaption { color: var(--muted); font-size: 0.8rem; margin-top: 0.55rem; }

.band { padding: 64px 0; border-bottom: 1px solid var(--line); }
.band.white { background: var(--paper-strong); }
.section-head { max-width: 780px; margin-bottom: 1.7rem; }
.section-head p { color: var(--muted); }

.status-grid,
.topic-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.status-item,
.topic-card,
.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 1.2rem;
}
.status-item { border-top: 4px solid var(--gold); }
.status-item.confirmed { border-top-color: var(--teal); }
.status-item.pending { border-top-color: var(--red); }
.status-label {
  display: inline-block;
  margin-bottom: 0.65rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.status-label.confirmed { color: var(--teal-dark); }
.status-label.pending { color: var(--red); }

.two-col { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.prose { max-width: 780px; }
.prose p, .prose li { color: #35413f; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose blockquote { border-left: 4px solid var(--teal); margin: 1.5rem 0; padding: 0.2rem 1rem; color: var(--muted); }

.toc {
  position: sticky;
  top: 90px;
  border-left: 3px solid var(--teal);
  padding-left: 1rem;
}
.toc strong { display: block; margin-bottom: 0.55rem; }
.toc a { display: block; padding: 0.2rem 0; }

.data-header { padding: 48px 0 30px; background: var(--paper-strong); border-bottom: 1px solid var(--line); }
.data-header .lede { margin-bottom: 0; }
.notice {
  margin: 1.25rem 0;
  border: 1px solid #d7b7ae;
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--red-soft);
  padding: 0.9rem 1rem;
}
.source-note {
  border: 1px solid #b7d4c9;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--green-soft);
  padding: 0.9rem 1rem;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 210px 150px;
  gap: 0.7rem;
  margin: 1.4rem 0;
}
.toolbar input, .toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #9eaaa6;
  border-radius: var(--radius);
  background: white;
  color: var(--ink);
  padding: 0.65rem 0.75rem;
}
.result-count { align-self: center; color: var(--muted); text-align: right; }

.data-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.data-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.data-table th, .data-table td { padding: 0.75rem; border-bottom: 1px solid #e2e6e3; text-align: left; vertical-align: top; }
.data-table th { position: sticky; top: 0; z-index: 1; background: #e7ece8; color: #263330; font-size: 0.78rem; text-transform: uppercase; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #f3f7f4; }
.tag { display: inline-block; margin: 0 0.25rem 0.25rem 0; border: 1px solid #a8b7b2; border-radius: 999px; padding: 0.08rem 0.45rem; font-size: 0.72rem; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { color: var(--muted); }

.site-footer { background: #172523; color: #dce5e3; padding: 42px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer-grid h2, .footer-grid h3 { color: white; font-size: 1.05rem; }
.footer-grid p { color: #b8c6c3; max-width: 520px; }
.footer-links { list-style: none; padding: 0; }
.footer-links a { color: #dce5e3; }
.legal-line { border-top: 1px solid rgba(255,255,255,0.18); margin-top: 2rem; padding-top: 1rem; color: #aebdb9; font-size: 0.8rem; }

.empty-state { padding: 2rem; text-align: center; color: var(--muted); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; gap: 2rem; }
  .hero-copy { order: 1; }
  .hero-figure { order: 2; }
  .status-grid, .topic-grid, .policy-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .toc { position: static; }
  .primary-nav { display: none; position: absolute; inset: 66px 0 auto; background: #172523; border-top: 1px solid rgba(255,255,255,0.18); }
  .primary-nav.open { display: block; }
  .primary-nav ul { width: min(calc(100% - 32px), var(--content)); margin: 0 auto; padding: 0.7rem 0 1rem; flex-direction: column; align-items: stretch; }
  .primary-nav a { padding: 0.7rem 0; }
  .menu-toggle { display: block; margin-left: auto; }
  .language-select { width: 82px; }
}

@media (max-width: 620px) {
  .header-inner, .container { width: min(calc(100% - 22px), var(--content)); }
  .brand span:last-child { display: none; }
  .hero-grid { padding-block: 34px; }
  h1 { font-size: 2.55rem; }
  .facts, .status-grid, .topic-grid, .policy-grid, .footer-grid { grid-template-columns: 1fr; }
  .toolbar { grid-template-columns: 1fr; }
  .result-count { text-align: left; }
  .band { padding: 46px 0; }
}
