/* Shared by every page: the app's palette (light and dark), the base type, the linked app icon and the footer. */
:root {
  color-scheme: light dark;
  --bg: #F6F1E7;
  --card: #FFFFFF;
  --text: #1E2622;
  --muted: #4F5A53;
  --accent: #2F6B4F;
  --accent-soft: #CDE7D6;
  --line: rgba(30, 38, 34, 0.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1614;
    --card: #16211E;
    --text: #E3ECE6;
    --muted: #A9B8AF;
    --accent: #8FD1AC;
    --accent-soft: #1F3B2E;
    --line: rgba(227, 236, 230, 0.12);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: var(--accent); }
.home-link { display: block; width: 96px; margin: 2.5rem auto 0; }
.home-link + h1 { margin-top: 1.25rem; }
.app-icon { display: block; width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding: 1.75rem 1.25rem calc(4.5rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.site-footer nav { margin-bottom: 0.75rem; }
.site-footer nav a { text-decoration: none; margin: 0 0.75rem; font-weight: 600; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer p { margin: 0.4rem auto; max-width: 40rem; }
