/* Colours follow the app's tokens (src/theme/tokens.ts). */
:root { color-scheme: light dark; --bg: #f6f5f1; --surface: #fff; --border: #e4e2da; --text: #15201b; --muted: #5d6963; --link: #0f7049; --warn: #fff1d6; --warn-text: #6b4300; }
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1412; --surface: #18201c; --border: #2b3530; --text: #eef3f0; --muted: #a3afa8; --link: #3dcc8c; --warn: #3a2c10; --warn-text: #ffd992; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, "Segoe UI", Roboto, sans-serif; overflow-wrap: break-word; }
a { color: var(--link); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 16px 20px; }
header, nav, footer { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
header { justify-content: space-between; }
header a, footer a { padding: 8px 0; text-decoration: none; }
.brand { font-weight: 700; font-size: 20px; color: var(--text); }
[aria-current] { color: var(--text); font-weight: 600; }
h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.2; margin: 16px 0 8px; }
h2 { font-size: 20px; line-height: 1.3; margin: 32px 0 8px; }
p { margin: 0 0 12px; }
li { margin-bottom: 8px; }
ul, ol { padding-left: 22px; }
.muted { color: var(--muted); font-size: 15px; }
.hero { padding: 32px 0; }
.hero img { border-radius: 22px; }
.hero p { font-size: 20px; max-width: 34em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 14px; margin-bottom: 24px; }
.cards section { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px; }
.cards h2 { margin-top: 0; }
.cards p { margin: 0; color: var(--muted); }
footer { border-top: 1px solid var(--border); margin-top: 24px; padding-bottom: 40px; font-size: 15px; }
.draft { margin: 0; padding: 10px 20px; background: var(--warn); color: var(--warn-text); text-align: center; font-size: 15px; }
