:root {
  color-scheme: light;
  --ink: #12231f;
  --muted: #64716d;
  --line: #dce7e2;
  --soft: #f4f8f6;
  --brand: #07634d;
  --brand-dark: #034b3a;
  --accent: #f2b84b;
  --danger: #a84235;
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

a { color: var(--brand); }

a:hover { color: var(--brand-dark); }

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.page,
.site-footer__inner {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 10px;
  background: var(--brand-dark);
  color: #fff;
  font-size: 14px;
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.page { padding-block: 36px 64px; }

.breadcrumbs {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a { text-decoration: none; }

.hero {
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 12%, rgba(242, 184, 75, .22), transparent 31%),
    linear-gradient(135deg, #f7fbf9 0%, #edf7f2 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1,
h2,
h3 { line-height: 1.28; }

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  letter-spacing: -.035em;
}

.hero__en {
  max-width: 820px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 21px);
}

.hero__summary {
  max-width: 780px;
  margin: 22px 0 0;
  font-size: 17px;
}

.pill-row,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid #d8e7df;
  border-radius: 999px;
  background: #fff;
  color: #31554a;
  font-size: 13px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--brand);
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-dark);
  color: #fff;
}

.button--secondary {
  background: #fff;
  color: var(--brand);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .8fr);
  gap: 24px;
  margin-top: 28px;
}

.stack {
  display: grid;
  gap: 24px;
}

.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.panel h2,
.panel h3 { margin-top: 0; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.facts div {
  min-width: 0;
  padding: 14px;
  border-radius: 12px;
  background: var(--soft);
}

.facts dt {
  color: var(--muted);
  font-size: 12px;
}

.facts dd {
  margin: 4px 0 0;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.status--closed { color: var(--danger); }
.status--open { color: var(--brand); }

.rounds {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.rounds th,
.rounds td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.rounds th {
  color: var(--muted);
  font-size: 12px;
}

.rounds tr:last-child td { border-bottom: 0; }

.prose {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.sources {
  margin: 0;
  padding-left: 20px;
}

.sources li + li { margin-top: 10px; }

.source-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.collection-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.collection-head h1 { font-size: clamp(34px, 5vw, 52px); }

.collection-head p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.card h2,
.card h3 {
  margin: 10px 0 4px;
  font-size: 19px;
}

.card__en {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.card__meta {
  margin: 14px 0 0;
  font-size: 14px;
}

.card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.notice {
  margin: 24px 0;
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: #fff9ed;
  color: #5d4b28;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.site-footer__inner {
  padding-block: 28px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .site-header__inner { min-height: 58px; }
  .site-nav a:first-child { display: none; }
  .page { padding-top: 22px; }
  .hero { padding: 24px 20px; border-radius: 18px; }
  .facts,
  .card-grid { grid-template-columns: 1fr; }
  .collection-head { align-items: start; flex-direction: column; }
  .rounds { font-size: 12px; }
  .rounds th,
  .rounds td { padding-inline: 6px; }
}
