/* Simple long-form reading layout */
:root {
  --bg: #f7f5f0;
  --text: #1a1a18;
  --muted: #5c5a54;
  --accent: #2c5282;
  --border: #e2dfd6;
  --max-width: 38rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 112.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.85rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.site-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.site-title {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-title a {
  color: var(--muted);
  text-decoration: none;
}

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

main {
  padding: 2.5rem 1.5rem 4rem;
}

.article {
  max-width: var(--max-width);
  margin: 0 auto;
}

.article-header {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 5vw, 2.35rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--muted);
}

.meta {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.article-body h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.article-body p {
  margin: 0 0 1rem;
  hyphens: auto;
}

.article-body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.article-body li {
  margin-bottom: 0.6rem;
  padding-left: 0.25rem;
}

.article-body li::marker {
  color: var(--accent);
}

.article-body strong {
  font-weight: 600;
}

.site-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--muted);
}

@media (min-width: 40rem) {
  main {
    padding-top: 3.5rem;
  }
}
