:root {
  --oat: #FDFBF7;
  --glass: #FFFFFF;
  --espresso: #2D231F;
  --muted: #6E655F;
  --coral: #F28C73;
  --coral-pressed: #DB795F;
  --coral-faint: #FCE3DA;
  --sage: #7FB093;
  --sage-faint: #E3F0E7;
  --butter: #FBE285;
  --butter-faint: #FDF4D5;
  --cobalt: #4A6984;
  --cobalt-faint: #E1E8ED;
  --divider: #EDE7DE;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--oat);
  color: var(--espresso);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.55;
}

a { color: inherit; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 251, 247, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--divider);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--espresso);
}
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 28px; font-weight: 700; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--espresso); }

/* Hero */
.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; text-align: center; }
  .hero-art { order: -1; }
  .pill-row { justify-content: center; }
}
.eyebrow {
  display: inline-block;
  background: var(--coral-faint);
  color: var(--coral-pressed);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 0 28px;
}
@media (max-width: 800px) { .hero p.lede { margin-left: auto; margin-right: auto; } }

.pill-row { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--espresso);
  color: var(--oat);
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
}
.badge.secondary {
  background: transparent;
  color: var(--espresso);
  border: 1.5px solid var(--divider);
}
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(340px, 80%);
  filter: drop-shadow(0 30px 40px rgba(45, 35, 31, 0.14));
}

/* Feature grid */
.section { padding: 56px 0; }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.section-sub { color: var(--muted); max-width: 60ch; margin: 0 0 40px; font-size: 1.05rem; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--glass);
  border: 1px solid var(--divider);
  border-radius: 20px;
  padding: 26px;
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 16px;
}
.icon.coral { background: var(--coral-faint); }
.icon.sage { background: var(--sage-faint); }
.icon.butter { background: var(--butter-faint); }
.icon.cobalt { background: var(--cobalt-faint); }

.card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* Band */
.band {
  background: linear-gradient(135deg, var(--butter-faint), var(--oat) 45%, var(--coral-faint));
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.band .wrap { padding: 56px 24px; text-align: center; }
.band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 14px; font-weight: 800; }
.band p { color: var(--muted); max-width: 52ch; margin: 0 auto 26px; }

/* Footer */
footer { padding: 40px 0 56px; color: var(--muted); font-size: 0.92rem; }
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--divider);
  padding-top: 28px;
}
footer a { text-decoration: none; font-weight: 700; color: var(--espresso); }
footer a:hover { color: var(--coral-pressed); }
.foot-links { display: flex; gap: 22px; }

/* Legal page */
.legal {
  padding: 56px 0 80px;
}
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 0.92rem; margin-bottom: 40px; }
.legal h2 {
  font-size: 1.2rem;
  margin: 36px 0 10px;
  font-weight: 800;
  color: var(--espresso);
}
.legal p, .legal li { color: var(--muted); font-size: 1rem; }
.legal ul { padding-left: 22px; }
.legal a.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--coral-pressed);
  text-decoration: none;
  margin-bottom: 28px;
}
.legal strong { color: var(--espresso); }
.callout {
  background: var(--coral-faint);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 28px 0;
}
.callout p { color: var(--espresso); margin: 0; }
