/* Shared by /privacy and /support: plain static pages (no app bundle), so
   they load instantly for App Review and anyone following the App Store's
   links. Same palette as the game (see apps/mobile/src/theme.tsx). */

:root {
  --void: #0a0b10;
  --panel: #14151e;
  --ink: #ffffff;
  --body: #c9cad6;
  --muted: #7a7b8f;
  --rule: rgba(255, 255, 255, 0.08);
  --grid: rgba(255, 255, 255, 0.05);
  --surge: #ffe100;
  --bolt: #3d8bff;
  --blaze: #ff3355;
}

@media (prefers-color-scheme: light) {
  :root {
    --void: #f4f4f7;
    --panel: #e6e7ed;
    --ink: #0a0b10;
    --body: #33343f;
    --muted: #5a5b6d;
    --rule: rgba(10, 11, 16, 0.1);
    --grid: rgba(10, 11, 16, 0.06);
    --surge: #9a8400;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--void);
  /* The arena grid, 28px cells like the app's. */
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--body);
  font-family: 'Saira', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 28px 20px 64px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--rule);
}

.logo {
  display: inline-block;
  font-family: 'Bungee Inline', 'Saira', sans-serif;
  font-size: 30px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  transform: skewX(-18deg);
}

nav a {
  margin-left: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

nav a[aria-current='page'] {
  color: var(--ink);
}

.eyebrow {
  margin: 40px 0 4px;
  color: var(--surge);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(36px, 9vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.meta {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 14px;
}

h2 {
  margin: 44px 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h3 {
  margin: 26px 0 6px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}

p,
ul {
  margin: 0 0 14px;
}

ul {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

a {
  color: var(--bolt);
  text-underline-offset: 3px;
}

/* The one-glance summary at the top of the privacy policy. */
.card {
  margin: 0 0 12px;
  padding: 18px 20px;
  border: 2px solid var(--rule);
  background: var(--panel);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.contact {
  display: inline-block;
  margin: 4px 0 8px;
  padding: 12px 18px;
  border: 2px solid var(--ink);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 2px solid var(--rule);
  color: var(--muted);
  font-size: 13px;
}

footer a {
  color: var(--muted);
}
