/* Palette matches the app (src/theme.ts): deep navy, burnt orange, cream. */
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #10273e;
  --muted: #5c6a76;
  --accent: #c85f2e;
  --card: #fdf7e7;
  --border: #e8e2d2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a26;
    --fg: #ece5d6;
    --muted: #9aa9b4;
    --accent: #e88a56;
    --card: #14283c;
    --border: #27425c;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 44rem; margin: 0 auto; padding: 1.5rem 1.25rem 4rem; }
header.site {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 1.25rem 0; margin-bottom: 1rem;
}
header.site a.brand {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--fg); font-weight: 600; font-size: 1.05rem;
}
header.site .mark { display: block; border-radius: 22%; }
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0.5rem 0 0.25rem; }
.tagline { font-size: 1.15rem; color: var(--muted); margin: 0 0 2rem; }
h2 { font-size: 1.15rem; margin-top: 2rem; }
.updated { color: var(--muted); font-size: 0.9rem; margin-top: -0.25rem; }
a { color: var(--accent); }
.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.1rem 1.25rem; margin: 1.25rem 0;
}
ul { padding-left: 1.2rem; }
li { margin: 0.25rem 0; }
footer.site {
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.9rem;
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--accent); }
footer.site .spacer { flex: 1; }
