:root {
  --bg: #f6f7f2; --surface: #ffffff; --fg: #1f2a22; --muted: #5c6b60; --line: #dde3d8; --accent: #2f6b45; --accent-soft: #e3efe5;
  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #141a16; --surface: #1c241f; --fg: #e7ede6; --muted: #9eaea2; --line: #2e3a32; --accent: #7cc795; --accent-soft: #233528; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #141a16; --surface: #1c241f; --fg: #e7ede6; --muted: #9eaea2; --line: #2e3a32; --accent: #7cc795; --accent-soft: #233528; color-scheme: dark; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 64px max(16px, env(safe-area-inset-left, 0px)); }
a { color: var(--accent); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--fg); text-decoration: none; }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
h1, h2 { font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 2.6rem); font-weight: 800; line-height: 1.1; margin: 0 0 6px; }
h2 { font-size: 1.25rem; margin: 32px 0 6px; }
.stand { color: var(--muted); margin: 0 0 24px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.hint { background: var(--accent-soft); border-radius: 12px; padding: 12px 16px; }
ul { padding-left: 1.2em; }
li { margin: 4px 0; }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; display: flex; gap: 16px; flex-wrap: wrap; }
.todo { background: #fff3c4; color: #5a4300; padding: 0 4px; border-radius: 4px; }
