:root {
  --bg: #f4efe7;
  --surface: rgba(255, 252, 247, 0.82);
  --surface-strong: #fffaf2;
  --text: #1a1713;
  --muted: #62584b;
  --line: rgba(78, 61, 42, 0.15);
  --accent: #b75628;
  --accent-strong: #8a3611;
  --shadow: 0 18px 60px rgba(80, 53, 24, 0.12);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(231, 177, 96, 0.35), transparent 28%),
    linear-gradient(180deg, #f8f1e7 0%, var(--bg) 48%, #efe7dc 100%);
}

a {
  color: var(--accent-strong);
}

.background {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.5;
}

.glow-a {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  right: -8rem;
  background: rgba(212, 121, 39, 0.28);
}

.glow-b {
  width: 24rem;
  height: 24rem;
  left: -8rem;
  bottom: -8rem;
  background: rgba(146, 84, 37, 0.2);
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 20px 80px;
}

.site-header {
  margin-bottom: 32px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.hero {
  padding: 32px;
  border-radius: 28px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.95;
  max-width: 12ch;
}

.lead {
  font-size: 1.15rem;
  max-width: 52ch;
}

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

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

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

.card h2 {
  margin-top: 0;
  font-size: 1.7rem;
}

.link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.link-group a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(138, 54, 17, 0.18);
  background: rgba(255, 250, 242, 0.95);
  text-decoration: none;
}

.prose h1,
.prose h2 {
  line-height: 1.05;
}

.prose h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 18px;
}

.prose h2 {
  margin-top: 32px;
  font-size: 1.5rem;
}

.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.prose ul {
  padding-left: 20px;
}

@media (max-width: 640px) {
  .page {
    padding: 20px 14px 48px;
  }

  .hero,
  .card,
  .content-card {
    padding: 20px;
    border-radius: 20px;
  }

  .link-group {
    flex-direction: column;
  }

  .link-group a {
    justify-content: center;
  }
}
