:root {
  --cream: #FFF7E4;
  --cream-alt: #E9F7EC;
  --green: #35A85B;
  --green-dark: #1F7A44;
  --green-lime: #C6EB5B;
  --gold: #FFC63C;
  --ink: #1E2B22;
  --text-secondary: #6E7C71;
  --text-secondary-alt: #8A7F6A;
  --shadow-cream: #EADFC0;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .heading {
  font-family: 'Baloo 2', 'Figtree', sans-serif;
  font-weight: 800;
  color: var(--ink);
}

a { color: var(--green-dark); }

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

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 720px;
  margin: 0 auto;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-brand span { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 20px; color: var(--ink); }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-secondary); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 24px 24px 48px;
}
.hero img.mascot {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin: 8px auto 12px;
  display: block;
}
.hero .tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin: 0 0 14px;
}
.hero p.pitch {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 28px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: var(--white);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 16px;
  text-decoration: none;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 8px 24px 56px;
  max-width: 720px;
  margin: 0 auto;
}
.feature-card {
  background: var(--white);
  border-radius: 22px;
  padding: 20px 16px;
  text-align: center;
  box-shadow: 0 5px 0 var(--shadow-cream);
}
.feature-card .emoji { font-size: 28px; display: block; margin-bottom: 10px; }
.feature-card h3 { font-size: 15px; margin: 0 0 6px; }
.feature-card p { font-size: 13px; line-height: 1.4; color: var(--text-secondary); margin: 0; }

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}

/* ---------- Footer ---------- */
footer {
  padding: 28px 24px 40px;
  text-align: center;
  border-top: 1.5px solid var(--shadow-cream);
  max-width: 720px;
  margin: 0 auto;
}
footer .footer-links { display: flex; justify-content: center; gap: 18px; margin-bottom: 10px; flex-wrap: wrap; }
footer a { font-size: 13px; color: var(--text-secondary); text-decoration: none; }
footer .copyright { font-size: 12px; color: var(--text-secondary-alt); }

/* ---------- Legal pages ---------- */
.legal-header {
  padding: 40px 24px 12px;
  max-width: 720px;
  margin: 0 auto;
}
.legal-header h1 { font-size: 28px; margin: 0 0 6px; }
.legal-header .updated { font-size: 13px; color: var(--text-secondary-alt); }
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-section {
  background: var(--white);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 4px 0 var(--shadow-cream);
}
.legal-section h2 { font-size: 16px; margin: 0 0 8px; }
.legal-section p { font-size: 14px; line-height: 1.55; color: #4E5C52; margin: 0; }
.back-link { display: inline-block; margin: 0 0 10px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--green-dark); }
