/* Manrope — the app's own typeface (app/src/theme.ts), served from this origin
   rather than from Google Fonts: no visitor IP handed to a third party to draw
   our own text, no extra DNS + TLS round trip before first paint, and nothing
   third-party that can silently drop the brand face. One variable file per
   subset covers 400-800. Provenance and licence: fonts/README.md, fonts/OFL.txt.
   The unicode-range values are Google's own, so latin-ext is fetched only if a
   glyph on the page actually falls in it. Since the sample data became Berlin
   (2026-11-27) nothing does — ö and ß are both Latin-1 — so that second file
   now costs nothing and is kept for the day a venue name needs it. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin.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;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/manrope-latin-ext.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;
}

/* Shared styling for every page on the site. Self-contained: no external
   requests at all, fonts included. Theme-aware: respects light/dark. */
:root {
  /* Brand tokens — brand/BRAND.md §3. Coral is the ONLY brand hue. */
  --bg: #faf6f0;        /* cream ground */
  --fg: #17171b;        /* ink */
  --muted: #6b6560;
  --accent: #ff5a4f;    /* coral: fills, large elements, icons, big numbers */
  --accent-text: #c2443c; /* coral darkened for SMALL TEXT — see note below */
  --on-accent: #fff3ee;
  --border: #ece7e3;
  --card: #fffdfa;

  /* Coral SURFACES that carry text. Bright coral can't do this on a light
     ground: the app hit the same wall and deepened it (app/src/theme.ts
     CORAL_DEEP), so these are that exact pair — #FFF3EE on #CB362A is 4.67:1. */
  --accent-fill: #cb362a;
  --on-accent-fill: #fff3ee;
  --accent-soft: rgba(203, 54, 42, 0.10);

  /* The "night" ground. Dark in BOTH themes — the page opens and closes at
     night, which is what the product is about, so these tokens do not flip.
     Measured on #101119: text 16.5:1, muted 6.3:1, coral 6.1:1 — all AA. */
  --night: #101119;
  --night-fg: #f3efe9;
  --night-muted: #9a948c;
  --night-border: #2e2f3b;
  --night-card: #191a22;
  --night-accent: #ff5a4f;
  --night-accent-soft: rgba(255, 90, 79, 0.14);
}

/* Why --accent-text exists: BRAND.md §3 warns that coral #FF5A4F does not pass
   WCAG AA for small body text on cream. Measured: 2.86:1 against #FAF6F0, where
   AA body wants 4.5. #C2443C is the same hue and saturation darkened to v=0.76
   and measures 4.66:1, so links stay recognisably coral without failing. On the
   dark ground coral is already 5.93:1, so the dark block below keeps it. */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141519;        /* near-black ground */
    --fg: #f3efe9;
    --muted: #a39c93;
    --accent: #ff5a4f;    /* 5.93:1 on #141519 — passes AA, so no shift needed */
    --accent-text: #ff5a4f;
    --on-accent: #fff3ee;
    --border: #2c2721;
    --card: #1c1d22;
    --accent-fill: #ff5a4f;   /* on dark, bright coral is the fill and ink sits on it */
    --on-accent-fill: #1e0d09;
    --accent-soft: rgba(255, 90, 79, 0.14);
    --night: #0b0c11;         /* deeper than the page, so the night bands still separate */
    --night-card: #15161d;
  }
}
/* Tell the UA which themes exist, so scrollbars, form controls and the
   overscroll gutter follow the page instead of staying light. */
:root { color-scheme: light dark; }

/* One selection colour for the whole site. It has to be legible on the cream
   ground, on the night bands and on the coral block, so it can't be built from
   theme tokens: bright coral behind near-black ink reads on all three. */
::selection { background: #ff5a4f; color: #1e0d09; }

* { box-sizing: border-box; }
body {
  margin: 0;
  text-wrap: pretty;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
}
main { max-width: 720px; margin: 0 auto; padding: 40px 22px 96px; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 4px; }
h2 { font-size: 1.25rem; margin: 40px 0 10px; }
h3 { font-size: 1.05rem; margin: 26px 0 6px; }
.eff { color: var(--muted); font-size: 0.95rem; margin: 0 0 8px; }
a { color: var(--accent-text); }
hr { border: 0; border-top: 1px solid var(--border); margin: 32px 0; }
ul { padding-left: 1.25rem; }
li { margin: 6px 0; }
.callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  margin: 20px 0;
}
.callout p { margin: 6px 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.95rem; }
.table-wrap { overflow-x: auto; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
th { color: var(--muted); font-weight: 600; }
footer { color: var(--muted); font-size: 0.9rem; margin-top: 48px; }
.nav { margin-bottom: 24px; font-size: 0.95rem; }
.nav a { margin-right: 16px; }
