/* Six Second Run's small static site: system fonts only, so a visit loads nothing from
   anyone else. Colours follow the app (theme.ts), with a dark version. */
:root {
  --bg: #fff8ec;
  --surface: #ffffff;
  --ink: #1b1f24;
  --muted: #4a5260;
  --line: #d9d2c3;
  --link: #005a8c;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181c;
    --surface: #1e2227;
    --ink: #f1ede4;
    --muted: #b9bfc9;
    --line: #3a4048;
    --link: #8fcbf0;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    1.0625rem/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
}

main {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 0.25rem;
}

h2 {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 2.25rem 0 0.5rem;
}

p,
ul {
  margin: 0 0 1rem;
}

li + li {
  margin-top: 0.35rem;
}

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

.updated,
footer {
  color: var(--muted);
}

.summary {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.summary h2 {
  margin-top: 0;
}

.summary ul {
  margin-bottom: 0;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
