/* The public pages. Same colours and type as the app; large text, one column, nothing from another site. */
:root {
  color-scheme: light dark;
  --bg: #f6f2ea; --card: #fffdf8; --ink: #23201b; --soft: #5f584d; --line: #ded6c6;
  --accent: #2f5d50; --accent-ink: #ffffff; --warn: #8a2f2f;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #191815; --card: #23211d; --ink: #f0ebe1; --soft: #b3ab9c; --line: #3a3731; --accent: #7fbfa9; --accent-ink: #10201b; --warn: #e08a8a; }
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-size: 1.25rem; line-height: 1.6; overflow-wrap: break-word;
}
header, main, footer { max-width: 40rem; margin: 0 auto; padding: 0 1rem; }
header { padding-block: 1rem; }
header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; align-items: baseline; }
header nav li:first-child { margin-inline-end: auto; font-weight: 600; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a[aria-current="page"] { color: var(--ink); text-decoration: none; font-weight: 600; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
main { padding-block: 0.5rem 4rem; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); line-height: 1.2; margin: 1rem 0 0.6rem; font-weight: 600; text-wrap: balance; }
h2 { font-size: 1.45rem; line-height: 1.3; margin: 2.4rem 0 0.6rem; font-weight: 600; text-wrap: balance; }
h3 { font-size: 1.2rem; margin: 1.6rem 0 0.4rem; font-weight: 600; }
p, li { text-wrap: pretty; }
p { margin: 0.7rem 0; }
li { margin: 0.4rem 0; }
.lead { font-size: 1.4rem; }
.soft { color: var(--soft); }
.draft { border: 2px solid var(--warn); color: var(--warn); border-radius: 12px; padding: 0.6rem 1rem; font-weight: 600; }
.button {
  display: inline-block; background: var(--accent); color: var(--accent-ink); border-radius: 12px;
  padding: 0.8rem 1.4rem; min-block-size: 3rem; font-weight: 600; text-decoration: none; margin: 0.8rem 0;
}
.button:focus-visible { outline-color: var(--ink); }
.table { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; margin: 0.8rem 0; }
caption { text-align: start; color: var(--soft); padding-block-end: 0.4rem; }
th, td { border-block-end: 1px solid var(--line); padding: 0.6rem 0.5rem; text-align: start; vertical-align: top; }
thead th { text-wrap: balance; }
tbody td { text-align: center; }
tbody td.text { text-align: start; }
dt { font-weight: 600; margin-block-start: 1rem; }
dd { margin: 0.2rem 0 0; }
footer { border-block-start: 1px solid var(--line); padding-block: 1.2rem 3rem; font-size: 1.05rem; color: var(--soft); }
footer ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
