/* Today in History: the support site. Warm paper and ink, like the app. */
:root {
  --paper: #f6f2ea;
  --card: #fffdf8;
  --ink: #1d1b18;
  --muted: #6e675d;
  --rule: #e4ddd0;
  --accent: #a4482e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #111214;
    --card: #1b1c1f;
    --ink: #ede9e1;
    --muted: #9c978e;
    --rule: #2a2b2f;
    --accent: #e08a68;
  }
}
* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); }
body {
  margin: 0 auto;
  max-width: 40rem;
  padding: 3rem 1.5rem 4rem;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, .year { font-family: "New York", "Iowan Old Style", Georgia, serif; font-weight: 500; }
h1 { font-size: 2.6rem; line-height: 1.1; margin: 0.2rem 0 1rem; }
h2 { font-size: 1.4rem; margin: 2.2rem 0 0.4rem; }
.kicker { color: var(--accent); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.lead { font-family: "New York", "Iowan Old Style", Georgia, serif; font-size: 1.25rem; }
.muted { color: var(--muted); }
a { color: var(--accent); }
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  margin: 1.5rem 0;
}
.year { font-size: 2.2rem; margin: 0; }
nav { display: flex; gap: 1.2rem; margin-bottom: 2.5rem; font-size: 0.95rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a[aria-current] { color: var(--ink); font-weight: 600; }
.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  border-radius: 14px;
  padding: 0.8rem 1.3rem;
  text-decoration: none;
  font-weight: 600;
}
.button[aria-disabled="true"] { opacity: 0.55; cursor: default; }
footer { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.85rem; }
ul { padding-left: 1.2rem; }
li { margin: 0.3rem 0; }
