/* Shared look for the info pages (How to play, About, Privacy, Terms, Contact).
   Same colors and fonts as the game. Fonts are stored on this site. */
@font-face{font-family:'Bricolage Grotesque';font-style:normal;font-weight:200 800;font-display:swap;src:url(/fonts/bricolage-grotesque-latin-opsz-normal.woff2) format('woff2')}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 1000;font-display:swap;src:url(/fonts/dm-sans-latin-opsz-normal.woff2) format('woff2')}
:root {
  --bg:#f3f4f8; --surface:#fff; --fg:#1b1e2b; --muted:#646a80; --line:#d4d7e3;
  --hit:#158f7c; --near:#d9951a; --miss:#7b8197; --accent:#4b3fd1; --accent-fg:#fff;
  --display:"Bricolage Grotesque","Avenir Next",system-ui,sans-serif;
  --body:"DM Sans",system-ui,-apple-system,sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg:#12141d; --surface:#1b1e2b; --fg:#eceef6; --muted:#9a9fb5; --line:#343850;
    --hit:#1ba891; --near:#d99a26; --miss:#464b62; --accent:#8c82ff; --accent-fg:#12141d; color-scheme:dark; }
}
:root[data-theme="dark"] { --bg:#12141d; --surface:#1b1e2b; --fg:#eceef6; --muted:#9a9fb5; --line:#343850;
  --hit:#1ba891; --near:#d99a26; --miss:#464b62; --accent:#8c82ff; --accent-fg:#12141d; color-scheme:dark; }
:root[data-contrast="high"] { --hit:#c2410c; --near:#2563eb; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--fg); font:16px/1.6 var(--body);
  padding:0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.wrap { max-width:680px; margin:0 auto; padding:14px 0 28px; }
.top { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid var(--line); padding-bottom:10px; margin-bottom:22px; }
.brand { font-family:var(--display); font-weight:800; font-size:26px; letter-spacing:-.02em; display:flex; align-items:center; gap:8px; color:var(--fg); text-decoration:none; }
.brand .mark { display:inline-grid; grid-template-columns:1fr 1fr; gap:2px; }
.brand .mark i { width:9px; height:9px; border-radius:2px; display:block; }
.btn { display:inline-block; border:0; border-radius:10px; padding:9px 14px; font:inherit; font-weight:700; font-size:14px;
  background:var(--accent); color:var(--accent-fg); text-decoration:none; cursor:pointer; }
h1 { font-family:var(--display); font-weight:800; font-size:32px; line-height:1.15; letter-spacing:-.02em; margin:0 0 6px; text-wrap:balance; }
h2 { font-family:var(--display); font-weight:700; font-size:21px; margin:30px 0 8px; letter-spacing:-.01em; }
h3 { font-size:16px; margin:18px 0 4px; }
p, li { margin:0 0 12px; }
ul, ol { padding-left:22px; margin:0 0 12px; }
li { margin-bottom:6px; }
a { color:var(--accent); }
.updated { color:var(--muted); font-size:14px; margin-bottom:20px; }
.lede { font-size:18px; color:var(--muted); }
.card { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:16px 18px; margin:16px 0; }
.card p:last-child, .card ul:last-child { margin-bottom:0; }
code { font-family:ui-monospace, Menlo, monospace; font-size:.9em; background:var(--surface); border:1px solid var(--line); border-radius:5px; padding:1px 5px; word-break:break-all; }
/* Example rows of tiles on How to play */
.tiles { display:flex; gap:5px; margin:10px 0 6px; }
.tiles span { width:42px; height:42px; border:2px solid var(--line); border-radius:7px; display:grid; place-items:center;
  font-family:var(--display); font-weight:800; font-size:20px; background:var(--surface); }
.tiles .hit, .tiles .near, .tiles .miss { color:#fff; border-color:transparent; }
.tiles .hit { background:var(--hit); } .tiles .near { background:var(--near); } .tiles .miss { background:var(--miss); }
/* Footer, same on every page */
.foot { border-top:1px solid var(--line); margin-top:34px; padding-top:14px; font-size:14px; color:var(--muted); }
.foot nav { display:flex; flex-wrap:wrap; gap:6px 16px; margin-bottom:8px; }
.foot a, .foot button { color:var(--muted); text-decoration:underline; text-underline-offset:2px; background:none; border:0; padding:0; font:inherit; cursor:pointer; }
.foot p { margin:0; }
a:focus-visible, button:focus-visible { outline:3px solid var(--accent); outline-offset:2px; }
