/* HumanityOS Update hub (WP-002). Tokens and fonts from the 500lost player (design pass 2026-10-09). */
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/literata-latin-ext.3f1abb33.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Literata'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/literata-latin.33b49c48.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Instrument Sans. Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans). SIL Open Font License 1.1: /fonts/OFL-instrumentsans.txt */
/* latin-ext */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/instrumentsans-latin-ext.21fac8da.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* latin */
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/instrumentsans-latin.6219bc4b.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --bg: #E4E9E6;
  --surface: #F2F4F1;
  --ink: #1C2529;
  --muted: #5A6866;
  --line: #A9792A;      /* ochre: lines and nodes only (3.1:1) */
  --accent: #6E4C14;    /* ochre text (6.3:1) */
  --line-soft: #CDB991;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1D282E;
    --surface: #25333A;
    --ink: #E8E3D7;
    --muted: #9BA8A5;
    --line: #D3A64E;
    --accent: #D9B068;
    --line-soft: #5B5035;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--sans); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 2; }
.skip:focus { left: 16px; }
.wrap { max-width: 680px; margin: 0 auto; padding: 0 22px; }

/* Header */
.site-head { padding: calc(18px + env(safe-area-inset-top)) 0 10px; border-bottom: 1px solid var(--line-soft); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.brand { text-decoration: none; display: block; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; display: block; }
.motto-line { display: block; font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--muted); }
.lang-switch { font-size: .85rem; font-weight: 600; color: var(--muted); }
.site-nav { width: 100%; display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font-size: .92rem; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--line); }

/* Main */
main { padding: 34px 0 56px; }
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 7vw, 2.7rem); margin: 0 0 18px; }
h2 { font-size: 1.45rem; margin: 40px 0 12px; }
h3 { font-size: 1.15rem; margin: 26px 0 8px; }
p, ul, ol { max-width: 62ch; }
.muted { color: var(--muted); }

/* Home */
.motto { margin: 8px 0 30px; }
.motto h1 { font-style: italic; font-size: clamp(2.4rem, 10vw, 3.6rem); margin: 0; }
.motto .source { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.l0 .lead { font-family: var(--serif); font-size: clamp(1.3rem, 4.6vw, 1.6rem); line-height: 1.35; margin: 0 0 22px; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; }
.btn:hover { color: var(--bg); background: var(--accent); }
.l1 { list-style: none; margin: 54px 0 0; padding: 0 0 0 26px; border-left: 2px solid var(--line-soft); }
.l1 > li { position: relative; margin: 0 0 46px; }
.l1 > li::before { content: ""; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line); }
.l1 figure { margin: 0 0 14px; }
.l1 img { display: block; width: 100%; height: auto; border-radius: 3px; }
.l1 figcaption, .credit { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.l1 .lead { font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; }
.l1 blockquote { margin: 16px 0; padding: 0 0 0 16px; border-left: 3px solid var(--line); font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.down { font-weight: 600; }
.paths { display: grid; gap: 14px; margin: 20px 0 0; padding: 0; list-style: none; }
.paths li { background: var(--surface); border-radius: 6px; padding: 18px 20px; }
.paths h3 { margin: 0 0 6px; }
.paths p { margin: 0; }

/* Book cards */
.book { background: var(--surface); border-radius: 6px; padding: 20px 22px; margin: 0 0 18px; }
.book h2 { margin: 0; }
.book .subtitle { margin: 4px 0 0; color: var(--muted); }
.book .question { font-family: var(--serif); font-size: 1.15rem; margin: 14px 0; }
.book .links { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 0; list-style: none; margin: 10px 0; }
.book .note { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.book .num { font-size: .82rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }

/* Help lines */
.helplines { padding: 0; list-style: none; }
.country { margin: 0 0 18px; }
.country h3 { margin: 0 0 6px; }
.country ul { margin: 0; padding-left: 18px; }
.country .checked { font-size: .8rem; color: var(--muted); }
.tel { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

/* Footer */
.site-foot { border-top: 1px solid var(--line-soft); padding: 22px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .88rem; color: var(--muted); }
.site-foot ul { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 0; margin: 0 0 12px; list-style: none; }
.site-foot a { color: var(--muted); }
.site-foot p { margin: 6px 0; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.impressum hr { border: 0; border-top: 1px solid var(--line-soft); margin: 40px 0; }
/* Tap targets (Lighthouse) */
.site-nav a, .lang-switch, .site-foot li a { display: inline-block; padding: 8px 0; }
.site-nav { gap: 0 20px; }
.country h2 { font-size: 1.15rem; margin: 0 0 6px; }
.down a { display: inline-block; padding: 6px 0; }

/* Comments form (WP-004) */
.feedback p { margin: 0 0 1rem; }
.feedback label { display: block; font-weight: 600; margin-bottom: .25rem; }
.feedback .check label { font-weight: 400; display: flex; gap: .5rem; align-items: flex-start; }
.feedback .check input { margin-top: .3rem; flex: none; }
.feedback .hint { display: block; font-size: .9em; margin-bottom: .4rem; }
.feedback select, .feedback textarea, .feedback input[type=text] { width: 100%; font: inherit; padding: .5rem; box-sizing: border-box; }
.feedback button { font: inherit; font-weight: 600; padding: .6rem 1.2rem; min-height: 44px; cursor: pointer; }
.feedback .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
