:root {
  --bg: #F3EDE1;
  --tile: #FFFFFF;
  --line: #E2D9C8;
  --text: #16161D;
  --muted: #595964;
  --accent: #3434B8;
  --gold: #A9782A;
  --band: #FFFFFF;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E0F1F;
    --tile: #16172C;
    --line: #2A2B47;
    --text: #F3EFE6;
    --muted: #A6A3BD;
    --accent: #E2B857;
    --gold: #E2B857;
    --band: #23255A;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 680px; margin: 0 auto; padding: 48px 20px 64px; }
header { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
header img { width: 64px; height: 64px; border-radius: 15px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
header a { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 14px; }
.brand { font-family: "New York", "Iowan Old Style", Georgia, serif; font-size: 34px; color: var(--gold); line-height: 1; }
.tag { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }
.eyebrow { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin: 0 0 6px; }
h1 { font-family: "New York", "Iowan Old Style", Georgia, serif; font-weight: 500; font-size: 40px; line-height: 1.15; margin: 0 0 16px; }
h2 { font-family: "New York", "Iowan Old Style", Georgia, serif; font-weight: 500; font-size: 24px; margin: 36px 0 8px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--accent); }
.tile {
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  margin: 18px 0;
}
.tile h2 { margin-top: 0; }
.button {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  margin-top: 6px;
}
.links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.links a { background: var(--tile); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; text-decoration: none; font-weight: 600; }
footer { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer a { color: var(--muted); }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 0; }
