:root {
  --cream: #fff8df;
  --paper: #fffdf5;
  --moss: #397653;
  --forest: #203a2c;
  --sage: #bfd4a2;
  --honey: #f6bd4e;
  --peach: #efa16b;
  --rose: #d98ab2;
  --sky: #8dc7d9;
  --muted: #6d796f;
  --line: rgba(32, 58, 44, .13);
  color-scheme: light;
  font-family: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--forest);
  background:
    radial-gradient(circle at 85% 8%, rgba(246, 189, 78, .30), transparent 22rem),
    radial-gradient(circle at 10% 35%, rgba(141, 199, 217, .22), transparent 24rem),
    linear-gradient(180deg, #eef3da, var(--cream));
}

a { color: inherit; }

.site-header,
.hero,
.section,
.legal,
footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  color: var(--forest);
  font-weight: 950;
  letter-spacing: .11em;
  text-decoration: none;
  font-size: 1.35rem;
}

.wordmark.small { font-size: 1rem; }

nav { display: flex; gap: 22px; }
nav a, footer a { color: var(--moss); font-weight: 750; text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 58px;
  align-items: center;
  padding: 74px 0 96px;
}

.eyebrow {
  color: var(--moss);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .14em;
}

h1 {
  margin: .22em 0;
  max-width: 760px;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: .94;
  letter-spacing: -.055em;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.6;
}

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

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

.button.primary { color: white; background: var(--moss); box-shadow: 0 12px 28px rgba(57, 118, 83, .22); }
.button.secondary { background: rgba(255,255,255,.66); border: 1px solid var(--line); }

.phone {
  max-width: 420px;
  margin-inline: auto;
  padding: 20px 16px;
  border: 9px solid var(--forest);
  border-radius: 52px;
  background: var(--cream);
  box-shadow: 0 28px 80px rgba(32, 58, 44, .22);
  transform: rotate(2deg);
}

.phone-top { width: 37%; height: 24px; margin: -10px auto 18px; border-radius: 20px; background: var(--forest); }
.phone h2 { font-size: 1.1rem; margin: 0 5px 14px; }

.village-strip {
  height: 128px;
  display: flex;
  align-items: end;
  justify-content: space-around;
  padding: 18px 12px;
  border-radius: 28px;
  background: linear-gradient(#cce7e2, #eaf2bd);
  font-size: 2rem;
}

.object-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.object-card {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 3px 0 rgba(32,58,44,.08);
  font-size: 1.65rem;
}
.satchel { display: flex; gap: 7px; padding: 13px; margin-top: 12px; border-radius: 20px; background: #e8d5a9; }
.slot { flex: 1; aspect-ratio: .8; border: 1px dashed rgba(32,58,44,.18); border-radius: 11px; background: rgba(255,255,255,.28); }

.section { padding: 88px 0; }
.section h2 { max-width: 700px; margin: 0 0 34px; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1; letter-spacing: -.04em; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255,255,255,.60);
}
.feature .icon { font-size: 2.25rem; }
.feature h3 { margin: 22px 0 10px; font-size: 1.35rem; }
.feature p { color: var(--muted); line-height: 1.55; }

.sets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.set {
  padding: 22px 18px;
  border-radius: 24px;
  text-align: center;
  font-size: 2rem;
}
.set span { display: block; margin-top: 10px; font-size: .88rem; font-weight: 850; }
.set:nth-child(1) { background: #f9d884; }
.set:nth-child(2) { background: #c8acd0; }
.set:nth-child(3) { background: #abd09b; }
.set:nth-child(4) { background: #f2b18c; }

.legal { max-width: 820px; padding: 70px 0 100px; }
.legal h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
.legal h2 { margin-top: 42px; font-size: 1.5rem; }
.legal p, .legal li { color: var(--muted); line-height: 1.75; }
.legal-card { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.62); }

.challenge-shell {
  width: min(640px, calc(100% - 36px));
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding: 42px 0 60px;
}
.challenge-card {
  margin-top: 30px;
  padding: clamp(28px, 7vw, 56px);
  border: 1px solid var(--line);
  border-radius: 38px;
  text-align: center;
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 70px rgba(32,58,44,.13);
}
.challenge-card h1 { font-size: clamp(2.2rem, 8vw, 4.1rem); }
.challenge-card .lede { font-size: 1.08rem; }
.challenge-village { display: flex; justify-content: center; gap: 15px; font-size: 2rem; }
.connection-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 30px 0; }
.connection-row span {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--moss);
  background: linear-gradient(145deg, #f8d98a, #edf1ce);
  font-size: 1.5rem;
  font-weight: 950;
}
.challenge-card .button { width: 100%; }
.fine-print { margin-top: 20px; color: var(--muted); font-size: .84rem; line-height: 1.55; }

footer {
  display: flex;
  gap: 22px;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
  font-size: .9rem;
}

@media (max-width: 760px) {
  nav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 45px; }
  .phone { max-width: 350px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .sets { grid-template-columns: repeat(2, 1fr); }
  footer { flex-wrap: wrap; }
}
