:root {
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --text: #1a1d21;
  --text-muted: #5c6470;
  --accent: #1f4e8c;
  --accent-hover: #163a6a;
  --border: #e2e5e9;
  --max-width: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14161a;
    --bg-alt: #1c1f24;
    --text: #e8eaed;
    --text-muted: #9aa2ad;
    --accent: #7aa7e0;
    --accent-hover: #a3c2ec;
    --border: #2a2e34;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}

header.site-header .container {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand {
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand:hover {
  text-decoration: none;
  color: var(--text);
}

nav a {
  margin-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

main {
  padding: 3.5rem 0 4rem;
}

.hero h1 {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 36rem;
}

section {
  margin-top: 3.25rem;
}

section h2 {
  font-size: 1.3rem;
  font-weight: 650;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

section p + p {
  margin-top: 0.9rem;
}

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.4rem 1.5rem;
  margin-top: 1.1rem;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  margin-left: 0.6rem;
  vertical-align: middle;
}

ul.plain {
  list-style: none;
}

ul.plain li {
  padding: 0.3rem 0;
}

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

footer.site-footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

footer.site-footer a {
  color: var(--text-muted);
  margin-right: 1.2rem;
}

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

.page h1 {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.page .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.page h2 {
  font-size: 1.15rem;
  font-weight: 650;
  margin: 2rem 0 0.6rem;
}
