:root {
  color-scheme: light;
  --ink: #121212;
  --muted: #5c5c5c;
  --bg: #f7f5f2;
  --line: #e4e0d9;
  --prose: 42rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

a {
  color: inherit;
}

.ssr-header,
.ssr-footer,
.ssr-main {
  width: min(100% - 2rem, 72rem);
  margin-inline: auto;
}

.ssr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}

.ssr-header a {
  text-decoration: none;
  font-weight: 600;
}

.ssr-main {
  padding: 2.5rem 0 4rem;
}

.ssr-article-header {
  max-width: var(--prose);
  margin: 0 auto 1.75rem;
  text-align: center;
}

.ssr-article-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ssr-meta {
  margin: 1rem 0 0;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: 0.875rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.ssr-cover {
  display: block;
  width: min(100%, 64rem);
  margin: 0 auto 2rem;
  border-radius: 0.5rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ssr-prose {
  max-width: var(--prose);
  margin-inline: auto;
  font-size: 1.0625rem;
}

.ssr-prose h2,
.ssr-prose h3,
.ssr-prose h4 {
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ssr-prose img {
  max-width: 100%;
  height: auto;
}

.ssr-prose a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ssr-footer {
  padding: 1.5rem 0 3rem;
  border-top: 1px solid var(--line);
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
}
