:root {
  --bg: #fdf6f4;
  --surface: #ffffff;
  --text: #1f1418;
  --muted: #6b5a60;
  --brand: #7a0a31;
  --accent: #8e2f52;
  --border: #ead9dc;
  --soft: #f7e7ea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #160d10;
    --surface: #21151a;
    --text: #f4e9ec;
    --muted: #b9a5ac;
    --brand: #e88aa8;
    --accent: #f0a2bb;
    --border: #3a272e;
    --soft: #2b1a20;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--accent); }
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px;
}
header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}
header.site .brand img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav { display: flex; gap: 16px; font-size: 15px; flex-wrap: wrap; justify-content: flex-end; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--text); }
main { max-width: 760px; margin: 0 auto; padding: 8px 16px 48px; }
h1 { font-size: 32px; line-height: 1.2; margin: 16px 0 4px; }
h2 { font-size: 21px; margin: 36px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 6px; }
.updated { color: var(--muted); margin: 0 0 24px; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { background: var(--soft); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  margin: 16px 0;
}
.notice { background: var(--soft); border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.hero { text-align: center; padding: 40px 0 16px; }
.hero img { width: 120px; height: 120px; border-radius: 28px; box-shadow: 0 8px 30px rgba(122, 10, 49, 0.25); }
.hero h1 { font-size: 40px; margin-top: 20px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 520px; margin: 8px auto 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin-top: 32px; }
.features .card { margin: 0; }
.features h3 { margin-top: 0; }
.features p { margin: 0; color: var(--muted); font-size: 15px; }
.badge { display: inline-block; background: var(--brand); color: var(--bg); border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 600; margin-top: 20px; }
footer.site {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
footer.site a { color: var(--muted); }
ol li, ul li { margin: 4px 0; }
