/* Reading pages written by tools/seo.mjs (how-it-works/, whats-new/, 404.html): the app's colours and type (css/app.css, which is
   built for the fullscreen canvas and isn't loaded here), one readable column, 16px gutter on phones. */
:root {
  --accent: #ffc86e;
  --line: rgba(255, 255, 255, 0.09);
  --text: #eceeff;
  --body: #cdd0ee;
  --muted: #9ba0cc;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: #05060f; -webkit-text-size-adjust: 100%; }
body {
  max-width: calc(68ch + 48px); margin: 0 auto; padding: 32px 24px 48px; color: var(--body);
  font: 17px/1.65 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }
.wordmark { display: inline-block; padding: 8px 0; font: 600 12px/1 var(--mono); letter-spacing: .28em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
h1, h2 { color: var(--text); font-weight: 650; letter-spacing: -.01em; line-height: 1.2; }
h1 { margin: 32px 0 8px; font-size: clamp(28px, 6vw, 40px); }
h2 { margin: 40px 0 10px; font-size: 22px; }
p { margin: 0 0 16px; }
.meta { font: 13px var(--mono); color: var(--muted); }
/* the cities: name in its own accent (--c, from the scene) and tagline; the whole card is the link */
.cities { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 8px; }
.cities li { position: relative; padding: 10px 13px 11px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .03); line-height: 1.4; }
.cities a { color: var(--c, var(--accent)); font-weight: 600; text-decoration: none; }
.cities a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; }
.cities li:hover { border-color: color-mix(in srgb, var(--c, var(--accent)) 45%, transparent); }
.cities a:hover { text-decoration: underline; }
.cities a:focus-visible { outline: none; }
.cities li:has(a:focus-visible) { outline: 2px solid var(--c, var(--accent)); outline-offset: 2px; }
.cities span { display: block; font: 12px var(--mono); color: var(--muted); }
/* whats-new/: the changes of each day under its date */
.changes { margin: 0; padding-left: 20px; }
.changes li { margin-bottom: 8px; }
.changes li::marker { color: var(--accent); }
footer { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (max-width: 600px) {
  body { max-width: none; padding: 24px 16px 40px; font-size: 16px; }
  h1 { margin-top: 20px; }
  h2 { margin-top: 32px; font-size: 20px; }
}
