/*
 * The site's own pages (FAQ, privacy, the launcher's start page) in Joki Party's look: Geist, the
 * graphite or the warm light grey, light or dark as the device or as chosen in the game
 * (html[data-tema], set by each page from the game's setting). Colour belongs to the players: the
 * pages are ink on ground, with the logo's magenta dot under the links.
 */
@font-face { font-family: Geist; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/geist-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: Geist; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/geist-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: Geist; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/geist-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: Geist; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/geist-latin-800-normal.woff2') format('woff2'); }

:root {
  --g: #e6e5e1;
  --panel: #fafafa;
  --ink: #17181a;
  --soft: #616265;
  --line: #d4d3ce;
  --bar: #b4b2ad;
  --dot: #ff2e93;
  /* "only": a browser's forced dark mode leaves the light pages alone (they have their own dark). */
  color-scheme: only light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-tema='chiaro']) { --g: #0f1012; --panel: #1c1d21; --ink: #f0f1f3; --soft: #a4a4a9; --line: #2a2b30; --bar: #3a3b41; color-scheme: dark; }
}
:root[data-tema='scuro'] { --g: #0f1012; --panel: #1c1d21; --ink: #f0f1f3; --soft: #a4a4a9; --line: #2a2b30; --bar: #3a3b41; color-scheme: dark; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--g); color: var(--ink); font: 17px/1.55 Geist, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 680px; margin: 0 auto; padding: 32px max(20px, env(safe-area-inset-right)) 64px max(20px, env(safe-area-inset-left)); }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: -0.04em; }
.logo svg { width: 42px; height: 42px; flex: none; }
.logo .wm i { display: inline-block; width: 0.2em; height: 0.2em; margin: 0 0.04em; border-radius: 0.03em; background: var(--dot); vertical-align: baseline; }
h1 { margin: 40px 0 8px; font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
h2 { margin: 32px 0 6px; font-size: 20px; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
p, li { margin: 0 0 12px; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--dot); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid var(--dot); outline-offset: 2px; border-radius: 4px; }
.small { font-size: 14px; color: var(--soft); }
hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }
