/* The legal pages' colours, fonts and base text (the account page itself is on luderra.com now), from the site
   prototype's direction A ("cinematic dark", the game's own UI palette, client ui/palette.rs). The fonts are the game's own files (data/ui/fonts), served by the
   backend itself: no font CDN, so a page asks nothing of anyone else and the CSP stays 'self'. */
@font-face {
  font-family: "Chakra Petch";
  src: url("/web/chakra-petch-bold.ttf") format("truetype");
  font-weight: 500 700; /* (only the bold cut is in the game; the lighter weights fall back to it) */
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("/web/nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  --bg: #0b0e14;
  --surface: #111621;
  --panel: #1a2130;
  --line: #2c374c;
  --text: #e8ecf3;
  --muted: #a3abbb;
  --accent: #ff7a3d;
  --accent-hover: #ffa66e;
  --on-accent: #0b0e14;
  --link: #ffa66e;
  --accent-text: #ff7a3d;
  --focus: #ffd866;
  --good: #4cd18a;
  --bad: #ff6b70;
  --rare: #6cc4ff;
  --radius: 6px;
  --border: 1px solid var(--line);
  --card-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.8);
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 "Nunito", system-ui, sans-serif; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2 {
  font-family: "Chakra Petch", system-ui, sans-serif; font-weight: 700; line-height: 1.08;
  margin: 0 0 0.5em; text-transform: uppercase; letter-spacing: 0.04em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
