:root {
  --honey-gold: #E0A030;
  --honey-gold-soft: #F1C36A;
  --hive-cream: #F8EDD0;
  --soft-cream: #FCF4DD;
  --deep-honey: #8B5A0F;
  --sky-petal: #6896A8;
  --meadow-green: #5C8C42;
  --charcoal: #2A241D;
  --charcoal-80: rgba(42, 36, 29, 0.8);
  --charcoal-60: rgba(42, 36, 29, 0.6);
  --charcoal-10: rgba(42, 36, 29, 0.1);
  --white: #FFFFFF;

  --display: 'Lora', Georgia, serif;
  --body: 'Nunito', system-ui, sans-serif;

  --maxw: 1100px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--charcoal);
  background: var(--soft-cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

/* iPad device frame. Wraps every screenshot so the iPad app is obvious.
   Bezel + double ring + camera dot, mirroring design_handoff prototype. */
.hero-shot, .feature-shot, .parents-shot {
  position: relative;
  background: #1a1612;
  padding: clamp(8px, 1.3vw, 15px);
  border-radius: clamp(22px, 2.6vw, 34px);
  box-shadow:
    0 0 0 2px #2d2620,
    0 0 0 7px #0c0a08,
    0 28px 64px rgba(42, 36, 29, 0.26);
}
.hero-shot img, .feature-shot img, .parents-shot img {
  border-radius: clamp(14px, 1.8vw, 22px);
}
/* Playful bee mascot centered on the hero device's bottom-right corner, so
   only its top-left quadrant overlaps the screen and the rest hangs outside. */
.hero-shot .hero-logo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(144px, 38%, 300px);
  height: auto;
  border-radius: 0;
  transform: translate(50%, 50%);
  filter: drop-shadow(0 6px 14px rgba(42, 36, 29, 0.35));
  pointer-events: none;
  z-index: 2;
}
/* Front-camera dot on the long (top) edge, landscape orientation. */
.hero-shot::before, .feature-shot::before, .parents-shot::before {
  content: "";
  position: absolute;
  top: clamp(4px, 0.65vw, 7px);
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3a332b;
  box-shadow: inset 0 0 0 1px #0c0a08;
  z-index: 1;
}

h1, h2, h3 { font-family: var(--display); line-height: 1.15; font-weight: 700; }

a { color: inherit; }

/* Header --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 48px);
  background: rgba(252, 244, 221, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--charcoal-10);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
}
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 28px; }
.nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--charcoal-80);
  transition: color 150ms var(--ease-out);
}
.nav a:hover { color: var(--deep-honey); }

/* Layout shells -------------------------------------------------- */
section { padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 48px); }
.band, .features, .closing { max-width: var(--maxw); margin: 0 auto; }

/* Hero ----------------------------------------------------------- */
.hero {
  background: var(--honey-gold-soft);
  color: var(--charcoal);
  overflow-x: clip;
}
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--deep-honey);
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); margin-bottom: 22px; }
.hero h1 em { color: var(--deep-honey); font-style: italic; }
.lede { font-size: 1.18rem; color: var(--charcoal-80); max-width: 32ch; }
.cta-row { margin: 32px 0 20px; }
.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--display);
  color: var(--honey-gold-soft);
}

/* App Store badge ------------------------------------------------ */
.badge-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-2xl);
  background: var(--charcoal);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: 0 10px 24px rgba(42, 36, 29, 0.25);
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
/* Default (data-live="false") = "Coming soon", honey, non-interactive.
   Flip data-live to "true" once the app is approved and released. That single
   attribute swaps the label, color, and hover affordance. */
.badge-link { background: var(--honey-gold); color: var(--charcoal); cursor: default; box-shadow: 0 10px 24px rgba(224, 160, 48, 0.3); }
.badge-link:hover { transform: none; }
.badge-link .live-label { display: none; }
.badge-link[data-live="true"] { background: var(--charcoal); color: var(--white); cursor: pointer; box-shadow: 0 10px 24px rgba(42, 36, 29, 0.25); }
.badge-link[data-live="true"]:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(42, 36, 29, 0.3); }
.badge-link[data-live="true"] .soon-label { display: none; }
.badge-link[data-live="true"] .live-label { display: inline; }

/* Section headings ----------------------------------------------- */
.features h2, .closing h2, .kids h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }

/* Feature rows --------------------------------------------------- */
.features { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 96px); }
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature.reverse .feature-shot { order: 2; }
.feature-copy h2 { margin-bottom: 14px; }
.feature-copy p { font-size: 1.12rem; color: var(--charcoal-80); }

/* Why kids keep coming back -------------------------------------- */
.kids { background: var(--hive-cream); max-width: none; }
.kids-inner { max-width: var(--maxw); margin: 0 auto; }
.kids h2 { text-align: center; }
.perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.perk {
  background: var(--white);
  border: 1px solid var(--charcoal-10);
  border-radius: var(--r-xl);
  padding: 32px 28px;
  text-align: center;
}
.perk h3 { font-size: 1.3rem; margin-bottom: 8px; }
.perk p { color: var(--charcoal-80); }

/* Perk art zone. Shared height so the chest and streak badge line up. */
.perk-art {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 22px;
}
.perk-art img { height: 132px; width: auto; }

.flame { font-size: 72px; line-height: 1; }
.streak-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 16px;
  font-weight: 800;
  font-size: 0.98rem;
  white-space: nowrap;
}
.pill-streak { background: var(--hive-cream); color: var(--deep-honey); }
.pill-coins { background: var(--honey-gold); color: var(--charcoal); }
.coin-dot {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--honey-gold-soft), var(--honey-gold));
  box-shadow: inset 0 0 0 2px rgba(139, 90, 15, 0.4);
}

/* Closing -------------------------------------------------------- */
.closing { text-align: center; }
.closing h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.closing p { font-size: 1.18rem; color: var(--charcoal-60); margin: 16px 0 32px; }

/* Footer --------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--charcoal-10); background: var(--soft-cream); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px) 36px;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: clamp(32px, 5vw, 56px);
}
.footer-brand .brand { font-size: 1.2rem; }
.footer-tagline { margin-top: 12px; color: var(--charcoal-60); max-width: 26ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--charcoal-80);
  font-weight: 600;
  padding: 5px 0;
}
.footer-col a:hover { color: var(--deep-honey); }
.footer-bottom { border-top: 1px solid var(--charcoal-10); }
.footer-bottom p {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px clamp(20px, 5vw, 48px);
  text-align: center;
  color: var(--charcoal-60);
  font-size: 0.9rem;
}

/* Legal pages ---------------------------------------------------- */
.legal { padding: clamp(44px, 7vw, 84px) clamp(20px, 5vw, 48px); }
.legal-inner { max-width: 760px; margin: 0 auto; }
.legal-back {
  display: inline-block;
  margin-bottom: 26px;
  font-weight: 700;
  text-decoration: none;
  color: var(--deep-honey);
}
.legal-back:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.7rem); margin-bottom: 6px; }
.legal-meta { color: var(--charcoal-60); margin-bottom: 32px; }
.legal h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.legal p { color: var(--charcoal-80); margin-bottom: 14px; line-height: 1.65; }
.legal ul { padding-left: 22px; margin-bottom: 14px; }
.legal li { color: var(--charcoal-80); margin-bottom: 10px; line-height: 1.6; }
.legal a { color: var(--deep-honey); }

/* Accessibility: skip link ---------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--charcoal);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* 404 page ------------------------------------------------------- */
.notfound {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(60px, 12vw, 140px) clamp(20px, 5vw, 48px);
}
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.notfound p { color: var(--charcoal-60); font-size: 1.15rem; margin-bottom: 28px; }

/* Responsive ----------------------------------------------------- */
@media (max-width: 820px) {
  .nav { display: none; }
  .hero-logo { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .lede { max-width: none; }
  .perks { grid-template-columns: 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature-shot, .feature.reverse .feature-shot { order: 2; }
  .footer-inner { grid-template-columns: 1fr; }
}
