:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #1d2321;
  --muted: #5b6662;
  --accent: #1f6f5c;
  --line: #e3e0d8;
  --notice-bg: #fff4d6;
  --notice-text: #6b4b00;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #131716;
    --surface: #1b201e;
    --text: #e7ebe9;
    --muted: #a3ada9;
    --accent: #7fcfb8;
    --line: #2c3431;
    --notice-bg: #3a2f12;
    --notice-text: #f3d88f;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.wrap { max-width: 44rem; margin: 0 auto; padding: 0 16px; }

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

.site-header { border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; gap: 1.25rem; padding-top: 1rem; padding-bottom: 1rem; }
.site-header a { text-decoration: none; color: var(--muted); }
.site-header a:first-child { color: var(--text); font-weight: 700; margin-right: auto; }
.site-header a[aria-current="page"] { color: var(--accent); }

main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 1rem; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.5rem; }
ul { padding-left: 1.25rem; }
li { margin: 0.35rem 0; }

.lead { font-size: 1.15rem; color: var(--muted); }

.notice {
  background: var(--notice-bg);
  color: var(--notice-text);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 600;
}

.features { display: grid; gap: 1rem; padding: 0; list-style: none; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.25rem; margin: 0; }
.features strong { display: block; margin-bottom: 0.25rem; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding-top: 1.25rem; }
.site-footer p { margin: 0.75rem 0 1.5rem; }
