:root {
  --bg: #F3F2EE; --surface: #FBFBF8; --ink: #1B1C19; --muted: #5F605A; --line: #D9D8D0;
  --accent: #2F5B3E; --flag: #855900; --flag-soft: #F5EACC;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #141512; --surface: #1C1D19; --ink: #ECEBE4; --muted: #A5A69C; --line: #30312C; --accent: #93C29D; --flag: #E6BF6B; --flag-soft: #3A2F14; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #141512; --surface: #1C1D19; --ink: #ECEBE4; --muted: #A5A69C; --line: #30312C; --accent: #93C29D; --flag: #E6BF6B; --flag-soft: #3A2F14; color-scheme: dark; }
* { box-sizing: border-box; }
html { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-block: 28px 64px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.brand { font-family: var(--display); font-weight: 400; font-size: 23px; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand span { color: inherit; }
.top a:not(.brand) { color: var(--muted); }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 56px); line-height: 1.05; margin: 0 0 10px; letter-spacing: -0.02em; }
h2 { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.2; margin: 40px 0 8px; }
p, li { max-width: 68ch; }
p { margin: 0 0 12px; }
ul { margin: 0 0 12px; padding-left: 22px; }
li { margin-bottom: 6px; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 8px; }
.summary p:last-child { margin-bottom: 0; }
.fill { background: var(--flag-soft); color: var(--flag); padding: 0 4px; border-radius: 4px; }
.note { display: block; background: var(--flag-soft); color: var(--flag); font-size: 14px; padding: 8px 12px; border-radius: 8px; margin: 0 0 12px; max-width: 68ch; }
footer { border-top: 1px solid var(--line); margin-top: 56px; padding-top: 20px; font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); }
