/* One stylesheet for the whole site. Four pages, no build step, so the
   variables live here rather than being inlined per page. Palette is a
   desaturated cousin of numquat.app's so the two sites read as related
   without the dev site pretending to be the game. */
:root {
  color-scheme: light dark;
  --bg: #f7f6f3;
  --fg: #1a1a1e;
  --muted: #6b6b74;
  --card: #ffffff;
  --rule: #dcdad4;
  --accent: #2f6fed;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17171b;
    --fg: #ececf0;
    --muted: #9a9aa4;
    --card: #222228;
    --rule: #33333c;
    --accent: #5b8def;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
  max-width: 42rem;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--accent); }
a:hover { text-decoration: none; }

h1 { font-size: 1.9rem; line-height: 1.2; margin: 0 0 .4rem; letter-spacing: -.02em; }
h2 { font-size: 1.15rem; margin: 2.25rem 0 .5rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 .35rem; }

.tagline { color: var(--muted); font-size: 1.05rem; margin: 0 0 2.5rem; }
.updated { color: var(--muted); font-size: .9rem; margin: 0 0 2rem; }

ul { padding-left: 1.25rem; }
li { margin: .35rem 0; }

/* App list on the home page. Cards, not a bare list, so each app has room
   for a one-line description and its platforms. */
.apps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.apps li { margin: 0; }
.apps a.card {
  display: block;
  padding: 1.15rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.apps a.card:hover { border-color: var(--accent); }
.apps .name { font-weight: 600; font-size: 1.05rem; }
.apps .desc { color: var(--muted); margin-top: .2rem; }

.platforms {
  margin-top: .55rem;
  font-size: .8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.back { display: inline-block; margin-bottom: 2rem; font-size: .9rem; }

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: .9rem;
}
footer a { color: inherit; }
