/* ===================================================================================================
   ===== THE SITE'S PAGES: the landing page, the guide and the about page ==============================
   ===================================================================================================
   One stylesheet for the pages that are words rather than the game. The palette is the game's own
   (the splash, the HUD gold), so walking from here into /play/ does not change colour under you.
   `privacy.html` and `delete-account.html` keep their own inline styles: they are audited documents
   with checks of their own, and they should not change because this file did. */
:root {
  --bg: #0b1220; --bg2: #0f182b; --panel: #121a2a; --line: rgba(255,255,255,.10);
  --ink: #e6f0ff; --body: #d3dff0; --dim: #9db0cc; --gold: #ffca6b; --gold2: #ffcf33;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); }
p, li, td { color: var(--body); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* ----- the bar along the top ----- */
.bar { border-bottom: 1px solid var(--line); background: rgba(11,18,32,.92); position: sticky; top: 0; z-index: 5;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bar .wrap { display: flex; align-items: center; gap: 18px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; }
.word { font-weight: 900; letter-spacing: .28em; font-size: 15px; }
.word b { color: var(--gold); font-weight: 900; }
.bar nav { margin-left: auto; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.bar nav a { color: var(--dim); text-decoration: none; font-size: 14px; }
.bar nav a:hover, .bar nav a[aria-current] { color: var(--ink); }

/* ----- the button everything leads to ----- */
.play {
  display: inline-block; padding: 14px 26px; border-radius: 12px;
  background: linear-gradient(180deg, #ffe58a, var(--gold2)); color: #0b1220 !important;
  font-weight: 900; letter-spacing: .04em; text-decoration: none; font-size: 17px;
  box-shadow: 0 6px 24px rgba(255,202,107,.25);
}
.play:hover { filter: brightness(1.06); }
.play.small { padding: 8px 16px; font-size: 14px; border-radius: 9px; box-shadow: none; }

/* ----- the first screen ----- */
.hero { padding: 56px 0 28px; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, #16264a 0%, var(--bg) 60%); }
.hero h1 { font-size: clamp(30px, 5.4vw, 52px); line-height: 1.12; margin: 0 auto 16px; max-width: 18ch; letter-spacing: -.015em; }
.hero .sub { font-size: clamp(17px, 2.2vw, 20px); max-width: 60ch; margin: 0 auto 26px; }
.hero .facts { color: var(--dim); font-size: 14px; margin: 16px 0 34px; }
.shot { border-radius: 14px; border: 1px solid var(--line); overflow: hidden; background: var(--panel); }
.hero .shot { max-width: 960px; margin: 0 auto; box-shadow: 0 30px 80px rgba(0,0,0,.45); }

/* ----- sections ----- */
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--line); }
h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; margin: 0 0 14px; letter-spacing: -.01em; }
h3 { font-size: 19px; margin: 0 0 8px; }
.kicker { color: var(--gold); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; margin: 0 0 8px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature + .feature { margin-top: 56px; }
.feature.flip .shot { order: 2; }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; gap: 18px; }
  .feature.flip .shot { order: 0; }
}

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.card p { margin: 0; font-size: 15.5px; }
.card h3 { font-size: 17px; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 12px 0 0; list-style: none; }
.tags li { background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 10px; font-size: 13.5px; margin: 0; }

/* ----- the guide's tables ----- */
.tablewrap { overflow-x: auto; margin: 14px 0 6px; }
table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--dim); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
kbd { font: 700 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--ink);
  background: rgba(255,255,255,.08); border: 1px solid var(--line); border-bottom-width: 2px;
  border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin: 24px 0 0; }
.toc ol { margin: 6px 0 0; padding-left: 20px; } .toc li { margin: 3px 0; }
.page-head { padding: 44px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4.6vw, 42px); line-height: 1.15; margin: 0 0 12px; }

/* ----- questions ----- */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 800; color: var(--ink); }
details p { margin: 10px 0 0; }

/* ----- the end of every page ----- */
.cta-band { text-align: center; }
.cta-band p { max-width: 56ch; margin: 0 auto 22px; }
footer { border-top: 1px solid var(--line); padding: 30px 0 48px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
footer a { color: var(--dim); }
footer a:hover { color: var(--ink); }
footer .copy { margin-left: auto; }
