/* One stylesheet for four static pages. No build step, no framework.
 *
 * A store listing's privacy link opens on a phone, in a browser the reviewer
 * did not choose, so this is sized for a narrow viewport first and widened with
 * a single max-width rather than a grid system. */

:root {
  color-scheme: dark;

  /* Sampled from the game's own art: the plaque violet the lockup sits on, and
   * the gold its lettering uses. Keeping the site on the same two colours is
   * what makes it read as the game's page rather than a generic policy host. */
  --ground: #2b1b47;
  --raised: #35235a;
  --line: #4a3372;
  --ink: #f6f1ff;
  --ink-dim: #c9bce4;
  --gold: #ffd166;
}

* { box-sizing: border-box; }

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

.wrap {
  max-width: 46rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

a { color: var(--gold); }
a:hover { color: #ffe6a8; }

h1, h2, h3 { line-height: 1.25; }
h1 { font-size: 1.9rem; margin: 0 0 .5rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 .75rem; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 .5rem; color: var(--gold); }

.lede { color: var(--ink-dim); font-size: 1.05rem; }
.updated { color: var(--ink-dim); font-size: .9rem; margin: 0 0 2rem; }

/* --- landing ------------------------------------------------------------- */

.hero { text-align: center; padding: 1rem 0 .5rem; }
.hero img { width: min(24rem, 100%); height: auto; }
.hero p { color: var(--ink-dim); font-size: 1.1rem; margin: .5rem auto 0; max-width: 32rem; }

.features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.features li {
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: .75rem;
  padding: .9rem 1rem;
}

.features b { color: var(--gold); display: block; font-size: 1.05rem; }
.features span { color: var(--ink-dim); font-size: .95rem; }

/* The stores have nothing to link to yet. This says so rather than showing a
 * badge that 404s on the day a reviewer opens the page. */
.availability {
  margin-top: 2rem;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--line);
  border-radius: .75rem;
  color: var(--ink-dim);
}

/* --- long-form pages ----------------------------------------------------- */

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: .95rem;
}

/* A policy table is wider than a phone. It scrolls inside its own box so the
 * page body never scrolls sideways. */
.scroll { overflow-x: auto; }
.scroll table { min-width: 30rem; }

th, td {
  text-align: left;
  padding: .55rem .7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th { color: var(--gold); font-weight: 600; }

.callout {
  background: var(--raised);
  border-left: 3px solid var(--gold);
  border-radius: 0 .5rem .5rem 0;
  padding: .9rem 1.1rem;
  margin: 1.25rem 0;
}

.callout p:first-child { margin-top: 0; }
.callout p:last-child { margin-bottom: 0; }

code {
  background: var(--raised);
  border-radius: .3rem;
  padding: .1rem .35rem;
  font-size: .9em;
}

/* --- chrome -------------------------------------------------------------- */

.back { display: inline-block; margin-bottom: 1.5rem; color: var(--ink-dim); }

footer {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  font-size: .95rem;
}

footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: .75rem; }
