:root {
  color-scheme: light dark;
  --background: #f5f1e8;
  --surface: rgba(255, 252, 247, 0.84);
  --surface-strong: rgba(255, 252, 247, 0.96);
  --text: #1f1d1a;
  --muted: #58524b;
  --accent: #1d6b57;
  --accent-strong: #144a3c;
  --border: rgba(31, 29, 26, 0.1);
  --shadow: 0 24px 60px rgba(29, 23, 15, 0.08);
  --page-width: 960px;
  --radius: 28px;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Avenir Next", "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #12110f;
    --surface: rgba(31, 29, 26, 0.86);
    --surface-strong: rgba(31, 29, 26, 0.96);
    --text: #f4efe7;
    --muted: #c5bfb6;
    --accent: #74d2b2;
    --accent-strong: #9ce7cc;
    --border: rgba(244, 239, 231, 0.08);
    --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(29, 107, 87, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(209, 143, 76, 0.16), transparent 24%),
    var(--background);
}

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

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

.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero {
  padding: 40px 32px;
  background: linear-gradient(135deg, var(--surface-strong), var(--surface));
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

h1,
h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 12ch;
}

h2 {
  font-size: 1.35rem;
}

p,
li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 1rem;
}

.lede {
  font-size: 1.05rem;
  max-width: 62ch;
}

ul {
  margin: 0;
  padding-left: 20px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button,
.inline-link {
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.button.primary {
  color: white;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

.button.secondary:hover,
.inline-link:hover {
  color: var(--accent);
}

.inline-link {
  color: inherit;
}

@media (max-width: 640px) {
  .page {
    width: min(calc(100% - 24px), var(--page-width));
    padding-top: 20px;
  }

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