/* Landing page sections, in page order. */

/* Shared section pieces */
.section {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
}
.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.02;
}
.section-head { display: flex; flex-direction: column; gap: 12px; }
.lead { margin: 0; font-size: 22px; font-weight: 500; color: var(--ink-soft); }

/* Hero */
.hero-band { background: var(--yellow); }
.hero {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 40px var(--gutter) 96px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 56px;
}
.hero__copy { flex: 1.3 1 520px; display: flex; flex-direction: column; gap: 24px; }
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1;
  color: var(--navy);
}
.hero__title span { display: block; white-space: nowrap; }
.hero__sub { margin: 0; font-size: 22px; font-weight: 500; max-width: 460px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.hero__art { flex: 1 1 340px; display: flex; flex-direction: column; align-items: center; }

/* Voice clip sticker */
.clip {
  align-self: flex-start;
  margin-left: 4%;
  margin-bottom: -18px;
  z-index: 2;
  transform: rotate(-4deg);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--navy);
  border-radius: 999px;
  padding: 10px 20px 10px 10px;
}
.clip__play {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  --focus: var(--white);
}
.clip__play { transition: scale .12s ease; }
.clip__play:hover { scale: 1.1; }
.clip__play:active { scale: .95; }
.clip.is-static .clip__play { cursor: default; scale: none; }
.clip__icon--pause { display: none; }
.clip.is-playing .clip__icon--play { display: none; }
.clip.is-playing .clip__icon--pause { display: block; }
/* Bars already played turn white. */
.clip__wave rect { transition: fill .15s linear; }
.clip__wave rect.is-played { fill: var(--white); }
.clip__time { color: var(--white); font-weight: 600; font-size: 15px; min-width: 2.2em; font-variant-numeric: tabular-nums; }

/* Daily card (reused by the web app later) */
.day-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border-radius: 28px;
  border: var(--outline);
  transform: rotate(2deg);
  box-shadow: 8px 8px 0 var(--navy);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.day-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.day-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; }
.note { border-radius: 18px; padding: 14px 18px; display: flex; flex-direction: column; gap: 2px; }
.note--yellow { background: var(--soft-yellow); }
.note--mint { background: var(--mint); }
.note--try { border: 3px dashed var(--blue); padding: 12px 18px; }
.note__label { font-size: 13px; font-weight: 600; }
/* Dashed note: the "Curious about" box */
.note--try .note__label { color: var(--blue); }
.note__text { font-size: 17px; font-weight: 500; }

/* Three feature blocks */
.features { background: var(--white); }
.features__grid {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 64px var(--gutter) 96px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature {
  flex: 1 1 280px;
  min-height: 340px;
  border: var(--outline);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.feature--coral { background: var(--coral); }
.feature--blue { background: var(--blue); color: var(--white); }
.feature--green { background: var(--green); }
.feature__text { display: flex; flex-direction: column; gap: 6px; }
.feature__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
}
.feature__text p { margin: 0; font-weight: 500; }

/* Milestones timeline */
.milestones { gap: 40px; }
.journey {
  background: var(--white);
  border: var(--outline);
  border-radius: 32px;
  box-shadow: 8px 8px 0 var(--coral);
  padding: 32px 24px 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.journey__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 8px;
}
.journey__title { font-family: var(--font-display); font-weight: 600; font-size: 24px; }
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  row-gap: 32px;
}
.timeline__item {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.timeline__plant {
  height: 184px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0; /* stems run down into the rail and dot */
}
.timeline__rail {
  align-self: stretch;
  border-top: 6px solid var(--navy);
  display: flex;
  justify-content: center;
}
.timeline__dot {
  width: 30px;
  height: 30px;
  margin-top: -18px;
  border-radius: 50%;
  border: 4px solid var(--navy);
}
.timeline__dot--coral { background: var(--coral); }
.timeline__dot--yellow { background: var(--yellow); }
.timeline__dot--blue { background: var(--blue); }
.timeline__dot--green { background: var(--green); }
.timeline__label {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
}
.timeline__age { font-size: 15px; color: var(--ink-muted); }
.timeline__item--next .timeline__rail { border-top-style: dashed; }
.timeline__item--next .timeline__dot { background: var(--white); border-style: dashed; }
.timeline__item--next .timeline__label { color: var(--coral); }
.timeline__plant img { display: block; }
/* Marker highlight */
.hl { background: var(--green); border-radius: .22em; padding: .04em .3em; rotate: -1.5deg; }
.closing-line {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  text-align: center;
}

/* How it works */
.how { gap: 48px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 24px; }
.step {
  flex: 1 1 260px;
  background: var(--white);
  border: var(--outline);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: var(--outline);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
}
.step__num--coral { background: var(--coral); }
.step__num--yellow { background: var(--yellow); }
.step__num--green { background: var(--green); }
.step__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.05;
}
.step p { margin: 0; color: var(--ink-soft); }
.how__extra { margin: 0; font-weight: 500; color: var(--ink-soft); }

/* Privacy */
.privacy { background: var(--navy); color: var(--cream); }
.privacy__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 96px var(--gutter);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.privacy__head { display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.privacy__shield { flex: none; }
.privacy__head-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.privacy .section-title { color: var(--white); }
.privacy .lead { color: var(--on-navy); }
.promises { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 20px; }
.promise {
  flex: 1 1 300px;
  background: var(--navy-raised);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.promise svg { flex: none; }
.promise__text { display: flex; flex-direction: column; gap: 4px; }
.promise__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.1;
  color: var(--white);
}
.promise__desc { font-size: 16px; color: var(--on-navy); }
.privacy__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--yellow);
  font-weight: 600;
}

/* Closing call to action */
.cta { background: var(--coral); border-top: var(--outline); }
.cta__inner {
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 96px var(--gutter) 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.cta__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1;
  max-width: 800px;
}
/* The pea family peeks over the footer's top edge. */
.cta__family { display: block; width: min(520px, 86vw); height: auto; margin: 0 auto; }
.cta__sub { margin: 0; font-size: 22px; font-weight: 600; max-width: 560px; }
.cta__actions { display: flex; flex-direction: column; align-items: center; gap: 24px; }

/* Smaller screens */
@media (max-width: 479px) {
  /* Keep feature titles on one line. */
  .feature__title { font-size: clamp(32px, 9.6vw, 40px); }
}

@media (max-width: 501px) {
  /* Timeline is one column here, so each plant only takes the room it needs. */
  .timeline__plant { height: auto; }
  .timeline { row-gap: 40px; margin-top: 24px; }
}
