:root {
  color-scheme: light dark;
  --background: #f9f7f1;
  --surface: #fffefb;
  --text: #1d201d;
  --muted: #60685f;
  --border: #dedbd2;
  --sage: #50836a;
  --blue: #4071a6;
  --amber: #d49939;
  --coral: #cf5545;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #0e0f11;
    --surface: #1b1d20;
    --text: #edeae3;
    --muted: #b1b3aa;
    --border: #30343a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: var(--sage);
  font-weight: 700;
}

.page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 28px 20px 56px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sage), var(--blue));
  color: white;
  font-size: 24px;
  font-weight: 800;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.96rem;
  text-decoration: none;
}

.hero {
  padding: 44px 0 18px;
}

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

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.35rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

h3 {
  margin: 28px 0 8px;
  font-size: 1.1rem;
}

p {
  margin: 0 0 16px;
}

.lead {
  max-width: 760px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.card,
.section {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
}

.card p,
.section p:last-child,
.section ul:last-child {
  margin-bottom: 0;
}

.section {
  margin-top: 18px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.pill-list li {
  border-radius: 999px;
  background: color-mix(in srgb, var(--sage) 13%, transparent);
  color: var(--sage);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 7px 12px;
}

ul {
  padding-left: 1.2rem;
}

.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  border-top: 1px solid var(--border);
  margin-top: 42px;
  padding-top: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 24px;
  }
}
