/* Style for the standalone pages (privacy.html, legal.html): same look as the in-game "How to play" page. */
:root {
  color-scheme: light;
  --page: #f3efe6; --ink: #1d2b30; --text: #24363b; --muted: #5d6b6e; --ocean: #174a5a; --forest: #2f7d54; --line: rgba(23, 74, 90, .15);
  --f-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --f-body: 'IBM Plex Sans', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --page: #12202f; --ink: #e8eef2; --text: #d3dde3; --muted: #93a3ad; --ocean: #8fd0f5; --forest: #34c9b4; --line: rgba(143, 208, 245, .18); }
}
html, body { margin: 0; background: var(--page); }
body { font-family: var(--f-body); color: var(--text); padding: max(28px, env(safe-area-inset-top)) 16px 48px; }
article { max-width: 680px; margin: 0 auto; line-height: 1.6; font-size: 16px; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.logo { font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: var(--ocean); text-decoration: none; }
.logo i { font-style: normal; color: var(--forest); }
.back { font-weight: 600; color: var(--ocean); text-decoration: none; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; }
h1 { font-family: var(--f-display); font-size: clamp(34px, 6vw, 48px); letter-spacing: -.035em; line-height: 1; margin: 0 0 8px; color: var(--ocean); }
h2 { font-family: var(--f-display); font-size: 22px; letter-spacing: -.01em; margin: 30px 0 6px; color: var(--ink); }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 10px; }
.updated { font-size: 13px; color: var(--muted); }
ul { padding-left: 20px; } li { margin: 4px 0; }
a { color: var(--ocean); }
address { font-style: normal; }
footer { max-width: 680px; margin: 40px auto 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; gap: 16px; flex-wrap: wrap; }
