/* Rübezahl's light and dark colors, from ui/theme/Color.kt. */
:root {
  color-scheme: light dark;
  --background: #F8FAF2;
  --on-background: #191C18;
  --muted: #42493E;
  --primary: #2E6B27;
  --rule: #C2C9BB;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111410;
    --on-background: #E1E4DA;
    --muted: #C2C9BB;
    --primary: #94D785;
    --rule: #42493E;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--on-background);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 16px 4rem;
}

header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

header img { width: 2.5rem; height: auto; }
header a { color: inherit; text-decoration: none; }
header p { margin: 0; line-height: 1.3; }
header .tagline { color: var(--muted); font-size: 0.9rem; }

h1 { font-size: 1.8rem; line-height: 1.25; margin: 0 0 0.25rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 0.5rem; }
a { color: var(--primary); }
ul { padding-left: 1.25rem; }
li { margin: 0.25rem 0; }

.stand { color: var(--muted); margin-top: 0; }

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