:root {
  --page: #F7F5EE;
  --panel: #FFFDF8;
  --primary: #2D6A4F;
  --accent: #2FC66D;
  --text: #2C2C2E;
  --muted: #8B8B6E;
  --border: #E2DDD1;
  --radius: 16px;
  --max: 720px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.brand {
  font-weight: 900;
  font-size: 20px;
  text-decoration: none;
  color: var(--primary);
}

.lang a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}

.lang a[aria-current="page"] {
  background: var(--primary);
  color: #fff;
}

h1 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 12px;
}

h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 32px 0 8px;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 20px 0 6px;
}

p, ul, ol, table {
  margin: 0 0 14px;
}

ul, ol {
  padding-left: 20px;
}

li + li {
  margin-top: 4px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

th, td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

th {
  background: var(--page);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: none;
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.hint {
  color: var(--muted);
}

.pick {
  list-style: none;
  padding: 0;
}

.pick li {
  margin-bottom: 8px;
}

.pick a {
  display: inline-block;
  padding: 10px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 700;
  color: var(--primary);
}

.disclaimer {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  margin-top: 40px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #1B1A17;
    --panel: #24221D;
    --primary: #70D9A4;
    --accent: #2FC66D;
    --text: #F0EDE4;
    --muted: #9C9684;
    --border: #3A362E;
  }
}
