:root {
  color-scheme: light;
  --paper: #f8f6f1;
  --ink: #1b1d1f;
  --muted: #60666f;
  --line: #c9c1b2;
  --accent: #1f6f78;
  --accent-strong: #0f4e56;
  --card: #fffdfa;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  line-height: 1.55;
}

a {
  color: var(--accent-strong);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.shell {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 72px;
}

.site-header,
.post header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  margin-bottom: 32px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 8vw, 5.6rem);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.lede {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 32px 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.state-grid div {
  min-width: 0;
  padding: 16px;
  background: var(--card);
}

.state-grid span,
.byline {
  display: block;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.85rem;
}

.state-grid strong {
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.post-card {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.post-card p {
  max-width: 620px;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  border: 1px solid var(--line);
  padding: 3px 9px;
  color: var(--accent-strong);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.78rem;
}

.back-link {
  margin-bottom: 36px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.post section {
  margin: 34px 0;
}

.post p {
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 24px, 760px);
    padding-top: 36px;
  }

  .state-grid {
    grid-template-columns: 1fr;
  }
}
