:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --fg: #0e0e10;
  --muted: #5c5c63;
  --line: #e7e7ea;
  --accent: #8a1538;
  --card: #f7f7f8;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0b0d;
    --fg: #f2f2f4;
    --muted: #9a9aa2;
    --line: #1f1f23;
    --accent: #e0668b;
    --card: #131318;
  }
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 56px;
}

.brand img {
  height: 28px;
  width: auto;
  display: block;
}

.brand img.dark { display: none; }
@media (prefers-color-scheme: dark) {
  .brand img.light { display: none; }
  .brand img.dark { display: block; }
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  margin-left: 20px;
  transition: color 120ms ease;
}

nav a:hover { color: var(--fg); }

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 680;
  margin: 0 0 16px;
}

h2 {
  font-size: 20px;
  letter-spacing: -0.01em;
  font-weight: 620;
  margin: 40px 0 12px;
}

p { margin: 0 0 16px; color: var(--fg); }
p.lead { color: var(--muted); font-size: 18px; }

small.date {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

li { margin-bottom: 6px; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease;
}

a:hover { border-bottom-color: var(--accent); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.card p { margin: 0; }

footer.site {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer.site a { color: var(--muted); }
