:root {
  color-scheme: light;
  --bg: #f0efde;
  --card: rgba(255, 255, 255, 0.72);
  --text: #5c4a44;
  --muted: #7b675f;
  --primary: #689183;
  --accent: #b29638;
  --border: rgba(92, 74, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(104, 145, 131, 0.14), transparent 34%),
    radial-gradient(circle at bottom right, rgba(178, 150, 56, 0.14), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.shell.narrow {
  width: min(760px, calc(100% - 32px));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  gap: 16px;
  color: var(--muted);
}

.nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

.card {
  background: var(--card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(92, 74, 68, 0.08);
}

.hero {
  padding: 36px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1, h2 {
  margin: 0;
  line-height: 1.1;
}

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

h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.lead {
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--muted);
  margin: 16px 0 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}

.button.primary {
  background: var(--primary);
  color: #fdfcfd;
  border-color: transparent;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.grid.single {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid .card,
.prose {
  padding: 24px;
}

.prose h2 {
  margin-top: 28px;
}

.prose p,
.prose ul {
  color: var(--muted);
}

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

@media (max-width: 760px) {
  .topbar,
  .grid,
  .grid.single {
    grid-template-columns: 1fr;
    display: grid;
  }

  .topbar {
    display: grid;
    justify-content: start;
  }

  .hero {
    padding: 28px;
  }

  .nav {
    gap: 12px;
  }
}
