:root {
  --bg: #f7f5f0;
  --surface: #ffffff;
  --border: #e4dfd4;
  --text: #1b2422;
  --muted: #5e6b67;
  --primary: #0e6b63;
  --primary-soft: #d7edea;
  --gold: #8a5f00;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1513;
    --surface: #16201e;
    --border: #26332f;
    --text: #ecf2ef;
    --muted: #9aaba6;
    --primary: #3cc2b3;
    --primary-soft: #123a36;
    --gold: #e8b84a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--primary); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { display: flex; align-items: center; gap: 12px; padding-top: 24px; padding-bottom: 8px; }
header a.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
header img { width: 36px; height: 36px; border-radius: 9px; }
header nav { margin-left: auto; display: flex; gap: 16px; font-size: 14px; flex-wrap: wrap; }
main { padding-bottom: 48px; }
h1 { font-size: 30px; line-height: 1.25; margin: 32px 0 8px; }
h2 { font-size: 20px; margin: 36px 0 8px; }
h3 { font-size: 16px; margin: 20px 0 4px; }
p.lead { font-size: 18px; color: var(--muted); margin-top: 0; }
.muted { color: var(--muted); font-size: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; margin: 16px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.grid .card { margin: 0; }
.grid h3 { margin-top: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--border); }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
.table-wrap { overflow-x: auto; }
footer { border-top: 1px solid var(--border); padding-top: 16px; padding-bottom: 32px; font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-mark { width: 88px; height: 88px; border-radius: 20px; margin-top: 40px; }
.pill { display: inline-block; background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 600; }
