:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #16181d;
  --muted: #5b606b;
  --line: #e2ded4;
  --accent: #1f4d3f;
  --accent-soft: #e4eee9;
  --max: 68rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121412;
    --surface: #1a1d1b;
    --ink: #ecebe6;
    --muted: #a3a79f;
    --line: #2c302d;
    --accent: #8cc7ab;
    --accent-soft: #1f2a25;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .wrap { padding: 0 2rem; } }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.1rem; padding-bottom: 1.1rem; flex-wrap: wrap; }
.brand { font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; font-size: 1.1rem; }
.brand span { color: var(--muted); font-weight: 500; }
nav a { color: var(--muted); text-decoration: none; margin-left: 1.25rem; font-size: 0.95rem; }
nav a:first-child { margin-left: 0; }
nav a:hover { color: var(--ink); }

.hero { padding-top: 4.5rem; padding-bottom: 3.5rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; color: var(--accent); font-weight: 600; margin: 0 0 1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 1.25rem; max-width: 20ch; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0; }

section { padding: 3rem 0; border-top: 1px solid var(--line); }
h2 { font-size: 1.6rem; letter-spacing: -0.015em; margin: 0 0 0.5rem; }
.sub { color: var(--muted); margin: 0 0 2rem; max-width: 62ch; }
h3 { font-size: 1.1rem; margin: 0 0 0.35rem; }

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; }
.card p { margin: 0 0 0.9rem; color: var(--muted); font-size: 0.97rem; }
.card .meta { margin-top: auto; font-size: 0.9rem; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); border-radius: 999px; padding: 0.1rem 0.6rem; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.7rem; align-self: flex-start; }

ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
ul.plain li:last-child { border-bottom: 0; }

dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.5rem; margin: 0; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }

.en { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1.4rem; }
.en p { margin: 0 0 0.6rem; }
.en p:last-child { margin: 0; }

.prose { max-width: 70ch; padding: 3.5rem 0; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.prose h2 { font-size: 1.25rem; margin-top: 2.2rem; }
.prose p, .prose li { color: var(--ink); }

footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; justify-content: space-between; }

.cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 2rem 0 0; }
.btn { display: inline-block; background: var(--accent); color: var(--bg); text-decoration: none; font-weight: 600; padding: 0.7rem 1.2rem; border-radius: 8px; border: 1px solid var(--accent); }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--accent); }
