:root {
  --bg: #fdf8f6;
  --surface: #ffffff;
  --text: #2b2024;
  --muted: #6f5f65;
  --accent: #c2577a;
  --border: #eadfe2;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1517;
    --surface: #251d20;
    --text: #f3eaed;
    --muted: #b6a5ab;
    --accent: #e98aa9;
    --border: #3a2e33;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

a {
  color: var(--accent);
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  border-bottom: 1px solid var(--border);
}

header .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-size: 0.95rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
}

main {
  padding: 40px 0 56px;
}

h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 16px;
}

h2 {
  font-size: 1.25rem;
  margin: 36px 0 8px;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
}

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

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.table-scroll {
  overflow-x: auto;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

footer .wrap {
  padding-top: 24px;
  padding-bottom: 32px;
}

footer p {
  margin: 4px 0;
}
