:root {
  --olive: #202B22;
  --olive-raised: #33402F;
  --yellow: #FFD85F;
  --butter: #FFE58B;
  --paper: #F6F2E9;
  --plate: #FFFDF6;
  --graphite: #59635A;
  --muted: #D6D2C4;
  --display: "Fraunces", Georgia, serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--olive);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: var(--yellow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 24px; text-decoration: none; }
.wordmark.small { font-size: 18px; }
.bulb { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--olive); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--olive); color: var(--yellow);
  font-weight: 600; font-size: 18px; text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-yellow { background: var(--yellow); color: var(--olive); }
.btn-yellow:focus-visible { outline-color: var(--yellow); }

/* Hero */
.hero { background: var(--yellow); padding: 40px 0 88px; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hero h1 { margin-top: 14px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; }
.lede { margin-top: 20px; max-width: 30em; font-size: 19px; font-weight: 500; }
.hero .btn { margin-top: 32px; }

.hero-art { position: relative; height: 460px; }
.glow { position: absolute; left: 50%; top: 50%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; background: var(--butter); }
.card {
  position: absolute; left: 50%; top: 40px; width: 210px; margin: 0;
  background: var(--plate); border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(32, 43, 34, 0.22);
}
.card img { width: 100%; height: 132px; object-fit: cover; }
.card figcaption { padding: 12px 14px 16px; font-family: var(--display); font-weight: 600; font-size: 16px; line-height: 1.22; }
.card figcaption span, .lessons span {
  display: block; margin-bottom: 4px;
  font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite);
}
.card-center { margin-left: -105px; z-index: 2; }
.card-left { margin-left: -245px; top: 90px; transform: rotate(-9deg); }
.card-right { margin-left: 35px; top: 90px; transform: rotate(9deg); }
.mascot { position: absolute; z-index: 3; width: 130px; left: 50%; bottom: 0; margin-left: 40px; animation: bob 3.4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .mascot { animation: none; } .btn { transition: none; } }

/* Sections */
section h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.08; }
.section-lede { margin-top: 12px; color: var(--graphite); font-size: 18px; }

.how { padding: 88px 0; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { border-radius: 28px; padding: 28px; }
.step-pink { background: #F4D4E3; }
.step-blue { background: #CDE7E8; }
.step-mint { background: #CDEBD9; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--olive); color: var(--yellow); font-family: var(--display); font-weight: 700; font-size: 20px; }
.step h3 { margin-top: 18px; font-size: 26px; }
.step p { margin-top: 8px; }

.taste { background: var(--olive); color: var(--paper); padding: 88px 0; border-radius: 40px 40px 0 0; }
.taste .section-lede { color: var(--muted); }
.lessons { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.lessons li { background: var(--plate); color: var(--olive); border-radius: 22px; overflow: hidden; }
.lessons img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.lessons p { padding: 14px 18px 18px; font-family: var(--display); font-weight: 600; font-size: 18px; line-height: 1.22; }
.subjects { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.subjects li { background: var(--c); color: var(--olive); border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 15px; }

.cta { background: var(--olive); color: var(--paper); padding: 24px 0 96px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--olive-raised); border-radius: 36px; padding: 48px 24px 56px; }
.cta img { width: 160px; height: auto; }
.cta h2 { margin-top: 12px; }
.cta p { margin-top: 14px; max-width: 32em; color: var(--muted); font-size: 18px; }
.cta .btn { margin-top: 28px; }

.footer { background: var(--olive); color: var(--muted); padding: 28px 0 40px; font-size: 14px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--olive-raised); padding-top: 28px; }
.footer .wordmark { color: var(--paper); }

/* Phone */
@media (max-width: 820px) {
  .hero { padding: 24px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { height: 360px; }
  .glow { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
  .card { width: 170px; }
  .card img { height: 104px; }
  .card figcaption { font-size: 14px; }
  .card-center { margin-left: -85px; }
  .card-left { margin-left: -190px; top: 70px; }
  .card-right { margin-left: 20px; top: 70px; }
  .mascot { width: 100px; margin-left: 30px; }
  .how, .taste { padding: 64px 0; }
  .steps, .lessons { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Footer links */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: var(--paper); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Document pages: support, privacy, terms */
.doc { background: var(--paper); padding: 56px 0 88px; }
.doc-inner { max-width: 760px; }
.doc h1 { font-size: clamp(38px, 5vw, 54px); line-height: 1.05; }
.doc-date { margin-top: 10px; color: var(--graphite); font-size: 15px; }
.doc-lede { margin-top: 16px; font-size: 19px; font-weight: 500; }
.doc h2 { margin-top: 40px; font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul { padding-left: 22px; }
.doc li + li { margin-top: 8px; }
.doc a { font-weight: 600; text-underline-offset: 3px; }
