/* Wain's palette (src/theme/palette.ts, light): Pale Oak background, Espresso text. Light only. */
:root {
  --bg: #ddd9ce;
  --surface2: #cdc7bc;
  --text: #3c2415;
  --muted: #5e4c3f;
  --border: #bdb5a9;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--bg);
  color: var(--text);
  font:
    17px/1.55 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  padding: 24px 16px 48px;
}
main {
  max-width: 720px;
  margin: 0 auto;
}
h1 {
  font-size: 1.9rem;
  line-height: 1.2;
  margin: 0 0 4px;
}
h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
p,
li {
  margin: 0 0 12px;
}
ul {
  padding-inline-start: 22px;
}
a {
  color: var(--text);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.meta a {
  margin-inline-start: 8px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 8px 0 16px;
}
th,
td {
  text-align: start;
  vertical-align: top;
  padding-block: 8px;
  padding-inline: 0 8px;
  border-bottom: 1px solid var(--border);
}
th {
  color: var(--muted);
  font-weight: 600;
}
td:first-child {
  white-space: nowrap;
  font-weight: 600;
}
.callout {
  background: var(--surface2);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 16px 0;
}
footer {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.links a {
  display: block;
  padding: 12px 0;
  font-size: 1.1rem;
}
