/* Phone frames and floating cards */
.stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0 1rem;
}

.stage::before {
  content: "";
  position: absolute;
  inset: 8% 8% 12%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--glow, #ecd2bd), transparent);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: clamp(230px, 64vw, 300px);
  padding: 9px;
  border-radius: 46px;
  background: #1d1916;
  box-shadow: 0 40px 80px -20px rgba(20, 17, 15, 0.35), inset 0 0 0 1.5px #3a332d;
  -webkit-mask-image: linear-gradient(#000 80%, transparent);
  mask-image: linear-gradient(#000 80%, transparent);
}

.phone img {
  width: 100%;
  border-radius: 37px;
}

.float {
  position: absolute;
  z-index: 2;
  width: min(62%, 270px);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.float-left { left: 0; bottom: 14%; }
.float-right { right: 0; top: 16%; }
.float-small { width: min(46%, 200px); }

.hero .float-left { width: min(54%, 240px); bottom: 6%; }
.hero .float-right { top: 10%; }

@media (min-width: 900px) {
  .float-left { left: -4%; }
  .float-right { right: -4%; }
  .hero .phone { width: 310px; }
  .hero .float-left { left: -2%; bottom: 4%; }
  .hero .float-right { right: -2%; top: 8%; }
}

/* Hero */
.hero {
  padding: 2.5rem 0 1rem;
}

.hero .wrap {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero h1 {
  margin: 0.9rem 0 1.1rem;
  font-size: clamp(2.35rem, 6.4vw, 4rem);
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero .lead {
  max-width: 33rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--muted);
}

.trust li::before {
  content: "✓ ";
  color: var(--diaper);
  font-weight: 700;
}

@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 2rem; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
}

/* Pillars */
.pillars {
  padding: 3.5rem 0;
}

.pillars .wrap {
  display: grid;
  gap: 1rem;
}

.pillar {
  padding: 1.6rem 1.5rem;
  border-radius: 22px;
  background: #fffaf3;
  border: 1px solid var(--sand);
}

.pillar svg {
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.55rem;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
}

.pillar h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1.35rem;
}

.pillar p,
.feature p,
.section-head p {
  color: var(--muted);
}

@media (min-width: 760px) {
  .pillars .wrap { grid-template-columns: repeat(3, 1fr); }
}

/* Feature rows */
.feature {
  padding: 3.5rem 0;
}

.feature.tinted {
  background: var(--cream-deep);
}

.feature .wrap {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.feature h2,
.section-head h2 {
  margin: 0.6rem 0 1rem;
  font-size: clamp(1.9rem, 4.6vw, 2.75rem);
}

.checks {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-top: 1px solid color-mix(in srgb, var(--sand) 70%, transparent);
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.95rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--terracotta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

@media (min-width: 900px) {
  .feature { padding: 5.5rem 0; }
  .feature .wrap { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .feature.flip .copy { order: 2; }
}

/* Dark pediatrician section */
.dark {
  background: var(--night);
  color: var(--cream);
}

.dark .eyebrow { color: #e3a58f; }
.dark p, .dark .checks li { color: #d8cbbd; }
.dark .checks li { border-top-color: #2f2924; }
.dark .stage { --glow: #3a2c24; }

.pair {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.pair .phone {
  width: clamp(150px, 42vw, 245px);
  border-radius: 34px;
  padding: 7px;
}

.pair .phone img { border-radius: 28px; }
.pair .phone:last-child { margin-top: 3rem; }

.note {
  margin-top: 1.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: var(--night-card);
  font-size: 0.92rem;
}

/* Ages */
.ages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.ages span {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--sand);
  font-size: 0.9rem;
  font-weight: 600;
}

.card-solo {
  width: min(100%, 430px);
  margin-inline: auto;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
