/*
 * One stylesheet for the whole public site, which is three pages of text.
 *
 * Deliberately plain. These pages exist because two app stores require a reachable URL,
 * and they are read by exactly two audiences: a reviewer checking a box, and a player who
 * wants their account gone. Both are served by text that is easy to read on a phone and
 * nothing else.
 */
:root {
  color-scheme: light dark;
  --bg: #fcfcfb;
  --fg: #16181d;
  --muted: #5c5f66;
  --rule: #e4e4df;
  --link: #1f5fb8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --fg: #f2f3f5;
    --muted: #a2a6ad;
    --rule: #2a2d33;
    --link: #74a9f0;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}

main {
  max-width: 44rem;
  /* A 20px side gutter so nothing touches the edge of a phone screen. */
  margin: 0 auto;
  padding: 40px 20px 72px;
}

h1 { font-size: 1.9rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 6px; }
h2 { font-size: 1.15rem; margin: 2.2rem 0 0.6rem; letter-spacing: -0.01em; }
h3 { font-size: 1rem; margin: 1.4rem 0 0.4rem; }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.3rem; }

a { color: var(--link); }

.meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.6rem; }
.back { margin-bottom: 1.5rem; font-size: 0.9rem; }
.back a { text-decoration: none; color: var(--muted); }
.back a:hover { color: var(--link); }

code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--rule);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.mark {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(160deg, #16204A, #24356F);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3px; padding: 9px; margin-bottom: 18px;
}
.mark i { border-radius: 3px; display: block; }

.code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  margin: 0 0 1rem;
}

.card {
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 1.4rem 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.9rem;
}
