/* Babycoming sales page. Brand board colors and fonts; separate from the family page styles. */
:root {
  --forest: #1f3d2e; --forest-deep: #162d22; --cream: #f8f6eb; --sand: #d9c7b0; --sage: #a7b89a;
  --blush: #ebd1cb; --gold: #c9a96a; --ink: #1f3d2e; --muted: #5c6b5f; --line: #e3dccb; --card: #fffdf6;
  --blush-soft: #f6e6e1; --sage-soft: #e4eadb; --sand-soft: #efe5d6;
  --serif: "Young Serif", Georgia, serif; --sans: "Figtree", system-ui, sans-serif;
  --hand: "Caveat", cursive; --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.01em; }
h1 { font-size: clamp(42px, 11.5vw, 68px); }
h2 { font-size: clamp(32px, 8.5vw, 48px); }
h3 { font-size: 23px; margin-bottom: 8px; }
p { margin: 0 0 14px; }
.in { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 700px; }
.center { text-align: center; }
.sub { color: var(--muted); max-width: 600px; margin-left: auto; margin-right: auto; }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.fine { font-size: 14px; color: var(--muted); }
.strong { font-weight: 600; font-size: 19px; }
section { padding: 72px 0; }
.band { background: #f1eedf; }

/* Buttons: pill with a hard bottom shadow, like the product */
.btn { display: inline-block; background: var(--forest); color: var(--cream); text-decoration: none; font: 600 16px/1 var(--sans);
  padding: 17px 28px; border-radius: 999px; box-shadow: 0 3px 0 var(--forest-deep); transition: transform .1s, box-shadow .1s; text-align: center; }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--forest-deep); }
.btn.ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn.light { background: var(--cream); color: var(--forest); box-shadow: 0 3px 0 var(--sand); }
.btn.sm { padding: 10px 18px; font-size: 14px; }
.btn.block { display: block; width: 100%; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(248, 246, 235, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.mark { display: block; }
.mark img { height: 30px; width: auto; }

/* Phone frame around real screenshots */
.phone { border-radius: 34px; padding: 7px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 26px 50px -22px rgba(31, 61, 46, .4); max-width: 300px; margin: 0 auto; }
.phone img { border-radius: 28px; width: 100%; }
.phone.dark { background: #0d110f; box-shadow: 0 0 0 1px #2c3a31, 0 30px 60px -20px rgba(0, 0, 0, .6); }
/* Shorter crop: the top of the screen is the part worth seeing */
.phone.crop img { aspect-ratio: 10 / 13; object-fit: cover; object-position: top; }

/* Hero */
.hero { padding: 36px 0 64px; }
.hero h1 { max-width: 11ch; }
.lede { font-size: 19px; color: #34503f; max-width: 520px; }
.split { display: grid; gap: 40px; align-items: center; }

/* Hero stage: three sample pages fanned on a striped panel */
.stage { position: relative; height: 470px; border-radius: 28px; margin-top: 8px;
  background: repeating-linear-gradient(90deg, var(--sage-soft) 0 18px, #eef2e8 18px 36px); overflow: hidden; }
.fan { position: absolute; width: 168px; top: 70px; padding: 5px; border-radius: 26px; }
.fan img { border-radius: 21px; }
.fan.mid { width: 196px; left: 50%; margin-left: -98px; top: 56px; z-index: 2; }
.fan.left { left: 50%; margin-left: -190px; transform: rotate(-8deg); top: 96px; }
.fan.right { left: 50%; margin-left: 22px; transform: rotate(8deg); top: 96px; }
.toast { position: absolute; z-index: 3; left: 16px; right: 16px; top: 16px; max-width: 340px; margin: 0 auto;
  display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 255, 255, .94); border-radius: 18px;
  padding: 11px 13px; box-shadow: 0 14px 30px -12px rgba(31, 61, 46, .35); font-size: 14px; line-height: 1.35; }
.toast b { display: block; }
.toast > span:nth-child(2) { flex: 1; }
.toast-icon { flex: 0 0 34px; height: 34px; border-radius: 9px; background: #3b3632; color: #fff; font: 400 18px/34px var(--serif); text-align: center; }
.toast-time { font-size: 12px; color: var(--muted); }
.reacts { position: absolute; z-index: 3; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.reacts span { background: #fff; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; box-shadow: 0 8px 18px -8px rgba(31, 61, 46, .4); white-space: nowrap; }
.anim .toast { animation: drop .7s .5s both cubic-bezier(.2, .8, .2, 1); }
.anim .reacts span { animation: pop .45s both cubic-bezier(.2, .8, .3, 1.4); }
.anim .reacts span:nth-child(1) { animation-delay: 1.1s; }
.anim .reacts span:nth-child(2) { animation-delay: 1.25s; }
.anim .reacts span:nth-child(3) { animation-delay: 1.4s; }
@keyframes drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } }

/* The questions, as texts */
.bubbles { display: grid; gap: 8px; margin: 6px 0 22px; justify-items: start; }
.bub { background: #fff; border-radius: 20px 20px 20px 6px; padding: 9px 16px 10px; margin: 0; font-size: 17px;
  box-shadow: 0 6px 16px -10px rgba(31, 61, 46, .35); }
.bub small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bub:nth-child(2) { margin-left: 22px; }
.bub:nth-child(3) { margin-left: 44px; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.pair .phone { padding: 5px; border-radius: 24px; }
.pair .phone img { border-radius: 20px; }
.pair figure { margin: 0; }
.arrow { font-size: 26px; color: var(--gold); }
figcaption { text-align: center; font: 500 12px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }

/* How it works: cards you swipe on a phone, three across on a laptop */
.steps { list-style: none; margin: 36px 0 0; padding: 0 20px 8px; display: flex; gap: 14px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.steps::-webkit-scrollbar { display: none; }
.step { flex: 0 0 84%; scroll-snap-align: start; border-radius: 24px; padding: 26px 22px 12px; }
.step .phone { max-width: 210px; margin-bottom: 24px; }
.step > p:not(.num) { color: #4c5b4f; }
.cream { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.sage { background: var(--sage-soft); }
.sand { background: var(--sand-soft); }
.num { font: 400 40px/1 var(--serif); color: var(--gold); margin-bottom: 10px; }
.swipe-hint { text-align: center; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 16px 0 0; }

/* Themes: each one on its own color */
.themes { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px 20px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.themes::-webkit-scrollbar { display: none; }
.themes a { flex: 0 0 218px; scroll-snap-align: center; text-decoration: none; text-align: center; border-radius: 26px; padding: 18px 18px 16px; transition: transform .2s; }
.themes a:hover { transform: translateY(-4px); }
.themes .phone { padding: 5px; border-radius: 24px; }
.themes .phone img { border-radius: 20px; }
.themes span { display: block; margin-top: 14px; font-weight: 700; }
.themes span::after { content: " \2192"; }
.t-blossom { background: #f7d6de; color: #8f3557; }
.t-sky { background: #d7e4fb; color: #1e3a8a; }
.t-forest { background: #d5dfcf; color: #1f3d2e; }
.t-sunshine { background: #fbe9b7; color: #8a5413; }
.t-linen { background: #eadfd0; color: #3b3632; }

/* Labor mode feature */
.labor { background: var(--forest); color: var(--cream); overflow: hidden; }
.labor h2 { font-size: clamp(36px, 9.5vw, 54px); }
.labor .eyebrow { color: var(--sage); }
.labor p { color: #dfe4d4; font-size: 19px; max-width: 480px; }
.labor .split > div:last-child { isolation: isolate; }
.glow { position: relative; max-width: 290px; }
.glow::before { content: ""; position: absolute; inset: -60px; z-index: -1; background: radial-gradient(closest-side, rgba(201, 169, 106, .3), transparent); }

/* Feature cards */
.features { display: grid; gap: 14px; }
.feat { border-radius: 22px; padding: 26px 24px 14px; background: var(--sage-soft); }
.feat p { color: #4c5b4f; }
.ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); margin-bottom: 18px; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--cream); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Share on your own terms: sage stripes behind a cream card */
.stripes { background: repeating-linear-gradient(90deg, #dfe6d6 0 22px, #e9eee2 22px 44px); }
.terms { background: var(--card); border-radius: 24px; padding: 40px 26px 26px; text-align: center; box-shadow: 0 24px 50px -30px rgba(31, 61, 46, .45); }
.terms .big { font: 400 22px/1.4 var(--serif); }
.terms p:not(.big) { color: var(--muted); }

/* Founder note */
.note { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px 26px; font-size: 18px; }
.stork { width: 190px; margin: 0 auto 26px; }
.sig { font: 700 38px/1 var(--hand); color: var(--forest); margin: 22px 0 0; }

/* Pricing on forest */
.pricing { background: var(--forest); color: var(--cream); }
.pricing .sub { color: #cdd6c6; }
.price { background: var(--card); color: var(--ink); border: 2px solid var(--gold); border-radius: 24px; padding: 32px 26px 28px; margin: 34px auto 0; max-width: 420px; text-align: left; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.price .eyebrow { margin-bottom: 6px; }
.amt { font: 400 76px/1 var(--serif); margin: 0 0 8px; }
.price ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.price li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; font-size: 16px; }
.price li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 10px; height: 6px; border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg); }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 24px/1 var(--sans); color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); }
.faq details p:last-child { padding-bottom: 8px; }

/* Final call to action */
.final { background: var(--sand-soft); padding: 80px 0; }
.final p { color: #4c5b4f; }
.final .btn { margin-top: 12px; }
.tag { font: 700 34px/1.2 var(--hand); color: var(--forest) !important; margin: 36px 0 0; }

/* Footer */
.foot { background: var(--forest-deep); color: #b9c4b3; font-size: 14px; padding: 32px 0 40px; }
.foot .in { display: grid; gap: 10px; }
.mark-foot { height: 24px; width: auto; filter: brightness(0) invert(.95) sepia(.15); }
.foot a { color: #dfe4d4; }
.foot p { margin: 0; }

/* Rise-in (only when motion is OK; set up by the page script) */
.anim .rise { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.anim .rise.in-view { opacity: 1; transform: none; }
.anim .bub.rise:nth-child(2) { transition-delay: .15s; }
.anim .bub.rise:nth-child(3) { transition-delay: .3s; }

@media (min-width: 820px) {
  section { padding: 104px 0; }
  .hero { padding: 64px 0 96px; }
  .split { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .split.rev > :first-child { order: 2; }
  .stage { height: 560px; margin-top: 0; }
  .fan { width: 200px; }
  .fan.mid { width: 236px; margin-left: -118px; top: 78px; }
  .fan.left { margin-left: -230px; top: 120px; }
  .fan.right { margin-left: 30px; top: 120px; }
  .steps { max-width: 1120px; margin: 44px auto 0; overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .swipe-hint { display: none; }
  .themes { justify-content: center; }
  .themes a { flex-basis: 196px; }
  .features { grid-template-columns: 1fr 1fr; gap: 20px; }
  .terms { padding: 56px 56px 36px; }
  .note { padding: 48px 52px 40px; }
  .foot .in { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; }
  .foot nav { justify-self: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .themes a:hover { transform: none; } }
.phone.tall img { aspect-ratio: 10 / 15; object-fit: cover; object-position: top; }

/* Hospital photo with the family's questions floating over it */
.moment { position: relative; margin: 8px 0 24px; border-radius: 24px; overflow: hidden; }
.moment img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; object-position: center top; }
.moment .bubbles { position: absolute; left: 14px; right: 14px; bottom: 16px; margin: 0; }
.moment .bub { background: rgba(255, 255, 255, .95); }
.final-photo { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; margin: 0 auto 36px; box-shadow: 0 24px 50px -28px rgba(31, 61, 46, .5); }

/* Stork above the headline */
.hero-stork { width: 150px; margin: 0 0 18px -6px; }

/* "One update": heading and text on the left, the hospital photo on the right, posting below */
.loop { display: grid; gap: 0 56px; grid-template-areas: "head" "photo" "body"; }
.loop-head { grid-area: head; }
.loop .moment { grid-area: photo; }
.loop-body { grid-area: body; }
.loop + .pair { max-width: 620px; margin: 48px auto 0; }

/* Steps: link to the themes, and the invitation centered in its frame */
.more { display: inline-block; margin: 2px 0 16px; font-weight: 700; color: var(--forest); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.phone.crop img.mid { object-position: center; }

@media (min-width: 820px) {
  .loop { grid-template-columns: 1fr 1fr; grid-template-areas: "head photo" "body photo"; align-items: start; }
  .loop-head { align-self: end; }
  .loop .moment { margin: 0; max-width: 460px; justify-self: end; width: 100%; }
  .loop + .pair { margin-top: 72px; }
  .hero-stork { width: 170px; }
}

/* Founder: photo beside the note */
.founder { display: grid; gap: 24px; max-width: 980px; }
.founder-photo { width: 100%; max-width: 420px; margin: 0 auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 22px; box-shadow: 0 24px 50px -28px rgba(31, 61, 46, .5); }
@media (min-width: 820px) {
  .founder { grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: center; }
  .founder-photo { max-width: none; aspect-ratio: 3 / 4; }
}

/* Privacy, Terms, Contact */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(38px, 10vw, 56px); margin-bottom: 14px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal .lead { font-size: 19px; color: #34503f; }
.legal p, .legal li { color: #34503f; }
.legal ul { padding-left: 20px; margin: 0 0 14px; }
.legal li { margin-bottom: 8px; }
.legal a:not(.btn) { color: var(--forest); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.summary { background: var(--sage-soft); border-radius: 22px; padding: 6px 24px 10px; margin: 28px 0 8px; }
.summary h2 { margin-top: 20px; }
.contact .btn { margin: 8px 0 8px; word-break: break-all; }

/* Share on your own terms: three short points with icons */
.points { list-style: none; padding: 0; margin: 26px 0 6px; display: grid; gap: 18px; text-align: left; }
.points li { display: flex; gap: 16px; align-items: flex-start; }
.points .ico { flex: 0 0 48px; margin: 0; }
.points h3 { font-size: 20px; margin: 4px 0 4px; }
.points p { margin: 0; color: var(--muted); }
@media (min-width: 820px) { .terms .points { grid-template-columns: repeat(3, 1fr); gap: 28px; } .points li { flex-direction: column; } }

/* Founder sign-off */
.heart { color: var(--gold); }
.sig { font: 400 64px/1 "Mrs Saint Delafield", "Caveat", cursive; margin: 14px 0 0; }
@media (min-width: 820px) { .stripes .narrow { max-width: 1000px; } }
.top-links { display: flex; align-items: center; gap: 18px; } .signin { font-weight: 600; font-size: 15px; text-decoration: none; color: var(--forest); }


/* Inner circle: the highlighted feature, full width */
.feat-hi { grid-column: 1 / -1; display: flex; gap: 18px; align-items: flex-start; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--gold); }
.feat-hi .ico { flex: none; margin: 0; background: var(--gold); }
.feat-hi h3 { margin-top: 4px; }

/* Arrival Story section */
.story-sec { background: #efe5d6; }
.story-pair { grid-template-columns: 1fr 1fr; gap: 14px; }
.story-pair .phone { padding: 5px; border-radius: 24px; }
.story-pair .phone img { border-radius: 20px; }
.story-pair figure { margin: 0; }
.story-pair figure:last-child { margin-top: 36px; }
