:root {
  --bg: #f6f1e8;
  --surface: rgba(255, 255, 255, 0.72);
  --text: #1f1f1a;
  --muted: #6c675d;
  --line: rgba(31, 31, 26, 0.12);
  --accent: #345c4a;
  --shadow: 0 20px 50px rgba(31, 31, 26, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 42%),
    linear-gradient(180deg, #f8f4ec 0%, #efe7db 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.hero,
.article,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero,
.article {
  padding: 32px;
}

.hero {
  border-radius: 28px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
}

h1,
h2 {
  margin: 0 0 16px;
  line-height: 1.05;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  max-width: 12ch;
}

h2 {
  font-size: 1.7rem;
}

.lede,
.article p,
.card p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.06rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.card {
  border-radius: 22px;
  padding: 24px;
}

.article-page {
  max-width: 760px;
}

.article {
  border-radius: 24px;
}

.back-link {
  color: var(--accent);
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible,
.card a:hover,
.card a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .page {
    width: min(100% - 20px, 960px);
    padding-top: 20px;
    padding-bottom: 40px;
  }

  .hero,
  .article,
  .card {
    padding: 22px;
  }
}
