:root {
  --bg: #f7f1e6;
  --panel: #fffaf1;
  --ink: #2e261c;
  --muted: #6b5d49;
  --line: #e4d8c3;
  --tan: #c8974e;
  --tan-ink: #8a5a1c;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17130d;
    --panel: #211a11;
    --ink: #f1e7d6;
    --muted: #b3a488;
    --line: #38301f;
    --tan: #d9a75d;
    --tan-ink: #e8bd75;
  }
}
:root[data-theme="dark"] {
  --bg: #17130d; --panel: #211a11; --ink: #f1e7d6;
  --muted: #b3a488; --line: #38301f; --tan: #d9a75d; --tan-ink: #e8bd75;
}
:root[data-theme="light"] {
  --bg: #f7f1e6; --panel: #fffaf1; --ink: #2e261c;
  --muted: #6b5d49; --line: #e4d8c3; --tan: #c8974e; --tan-ink: #8a5a1c;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

header.site {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; text-decoration: none; color: var(--ink); }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(150deg, var(--tan), var(--tan-ink));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px; letter-spacing: -.5px;
}
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
nav.site a {
  color: var(--muted); text-decoration: none; font-size: 15px; margin-left: 18px;
}
nav.site a:hover, nav.site a.active { color: var(--tan-ink); }

main { padding: 40px 0 72px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 20px; margin: 34px 0 8px; }
.updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
p, li { color: var(--ink); }
a { color: var(--tan-ink); }
ul { padding-left: 20px; }
li { margin: 6px 0; }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; margin: 18px 0;
}
.hero { text-align: center; padding: 48px 0 8px; }
.hero .mark-lg {
  width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 18px;
  background: linear-gradient(150deg, var(--tan), var(--tan-ink));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 30px;
}
.hero p { color: var(--muted); max-width: 44ch; margin: 8px auto 0; }
.links { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; padding: 11px 20px;
  border-radius: 11px; font-weight: 600; font-size: 15px;
  border: 1px solid var(--line); color: var(--ink); background: var(--panel);
}
.btn.primary { background: var(--tan); border-color: var(--tan); color: #201603; }

footer.site {
  border-top: 1px solid var(--line); color: var(--muted);
  font-size: 14px; padding: 22px 0 40px;
}
footer.site .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer.site a { color: var(--muted); }
