:root {
  --background: #f5f7f8;
  --surface: #ffffff;
  --text: #182126;
  --muted: #5f6c72;
  --line: #dce3e6;
  --accent: #087f5b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.65;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent); }
.site-header, main, footer { width: min(860px, calc(100% - 32px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; gap: 22px; padding: 22px 0; }
.brand { color: var(--text); font-size: 1.12rem; font-weight: 750; text-decoration: none; white-space: nowrap; }
nav { display: flex; flex: 1; gap: 18px; }
nav a, .language { color: var(--muted); text-decoration: none; }
nav a[aria-current="page"] { color: var(--accent); font-weight: 650; }
.language { white-space: nowrap; }
main { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(24px, 6vw, 56px); box-shadow: 0 12px 35px rgb(17 36 28 / 6%); }
h1 { margin: 0 0 4px; font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.15; }
h2 { margin: 2.2rem 0 .6rem; line-height: 1.3; }
h3 { margin: 1.4rem 0 .4rem; }
p, ul { margin-top: .55rem; }
.meta, .lede, footer { color: var(--muted); }
.lede { font-size: 1.08rem; }
.notice { border-left: 4px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); padding: 12px 16px; border-radius: 8px; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 11px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
th { background: var(--background); }
footer { padding: 24px 0 40px; font-size: .9rem; }

@media (max-width: 640px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; gap: 10px 18px; }
  nav { order: 3; flex-basis: 100%; }
  .language { margin-left: auto; }
  main { border-radius: 14px; }
  table { display: block; overflow-x: auto; }
}

@media (prefers-color-scheme: dark) {
  :root { --background: #101615; --surface: #17201e; --text: #edf4f1; --muted: #a9b7b2; --line: #33413d; --accent: #63d6ad; }
  main { box-shadow: none; }
}
