/* ==================================================================
   Little Healer — Global Styles
   Soft, clean, modern — a calm baby-&-mother world.
   Palette + softness derived from the client's chosen demo,
   executed to the Webnova premium standard.
   ================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    /* Brand */
    --plum:        #1a161a;   /* headings, primary */
    --plum-700:    #1a161a;
    --plum-900:    #1a161a;
    --coral:       #F2727D;   /* accent / calls to action */
    --coral-600:   #E85D6A;
    --coral-soft:  #F79AA2;
    --blush:       #FDCDC9;   /* soft borders / fills */
    --blush-soft:  #FDE3E0;
    --peach:       #FEF0E7;   /* warm section backgrounds */
    --cream:       #FFF9F6;   /* page background */
    --cream-2:     #FFF5F3;
    --sage:        #9FB8A4;   /* quiet "gentle & natural" accent */
    --sage-soft:   #EAF1E8;
    --sand:        #e1bf9d;   /* light tan — decorative fills / gradients */
    --caramel:     #ceb388;   /* box-matching tan — headings/price text */

    /* Neutrals */
    --taupe:       #655752;   /* body text */
    --taupe-soft:  #8B7D77;   /* muted text */
    --ink:         #2A1E28;
    --white:       #FFFFFF;

    /* Type */
    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body:    'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radii — soft and cuddly */
    --r-sm:   14px;
    --r:      22px;
    --r-lg:   34px;
    --r-xl:   44px;
    --r-pill: 999px;

    /* Shadows — diffuse, plum-tinted, never harsh */
    --shadow-sm: 0 4px 18px -8px rgba(26, 22, 26, 0.16);
    --shadow:    0 22px 54px -24px rgba(26, 22, 26, 0.26);
    --shadow-lg: 0 44px 100px -44px rgba(26, 22, 26, 0.38);
    --shadow-coral: 0 26px 60px -26px rgba(242, 114, 125, 0.55);

    /* Layout */
    --container: 1200px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --section-y: clamp(4.5rem, 9vw, 8rem);

    /* Motion */
    --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-gentle: cubic-bezier(0.34, 1.2, 0.44, 1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--taupe);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); text-decoration: none; transition: color 0.25s var(--ease-soft); }
a:hover { color: var(--coral); }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
    font-family: 'Fredoka', var(--font-display);
    font-weight: 400;
    color: var(--plum);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 0 0.5em;
}
/* All h2 headings use the warm sand accent. The white overrides for h2 on
   dark backgrounds (.section--plum, .newsletter) still apply for contrast. */
h2 { color: var(--caramel); text-shadow: 0 1px 1px rgba(26, 22, 26, 0.32); }

p { margin: 0 0 1.15em; }

::selection { background: var(--blush); color: var(--plum-900); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 100;
    background: var(--plum); color: #fff; padding: 0.75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible { outline: 2.5px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--section-y); position: relative; background: var(--cream); }
/* Tighter vertical rhythm for sections that need less breathing room. */
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--peach { background: var(--peach); }
.section--cream { background: var(--cream-2); }
/* Warm light-wood panelling — same recipe as the hero (vertical planks,
   seam shadow + highlight, fine grain over a whitewashed base). */
.section--wood {
    background-color: #f1ece2;
    /* Soft warm veil over the wood image calms the grain behind text. */
    background-image:
        linear-gradient(rgba(250, 245, 238, 0.38), rgba(250, 245, 238, 0.38)),
        url("../images/wood-panel.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.section--plum  { background: var(--plum); color: var(--blush-soft); }
.section--plum h2, .section--plum h3 { color: #fff; }

.section-head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
/* Wider column + tidy spacing for multi-paragraph intros. */
.section-head--intro { max-width: 48rem; }
.section-head--intro .section-lead { margin-bottom: 1.1rem; }
.section-head--intro .section-lead:last-child { margin-bottom: 0; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.55rem;
    font-family: var(--font-body); font-weight: 700;
    font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--coral); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--coral); border-radius: 2px; }
.section-head .eyebrow::before { display: none; }
.section-head .eyebrow { justify-content: center; }

h2.section-title { font-size: clamp(2rem, 4.4vw, 3.15rem); }
.section-lead { font-size: 1.12rem; color: var(--taupe-soft); }

/* ---------- 4. Buttons ---------- */
.btn {
    --btn-bg: var(--coral);
    --btn-fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
    padding: 0.95rem 1.8rem; border-radius: var(--r-pill);
    background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid transparent;
    cursor: pointer; transition: transform 0.35s var(--ease-gentle), box-shadow 0.35s var(--ease-soft), background 0.3s var(--ease-soft);
    will-change: transform;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }
.btn--primary { --btn-bg: var(--coral); box-shadow: var(--shadow-coral); }
.btn--primary:hover { --btn-bg: var(--coral-600); }
.btn--teal { --btn-bg: #41ADA9; box-shadow: 0 26px 60px -26px rgba(65, 173, 169, 0.55); }
.btn--teal:hover { --btn-bg: #379691; }
.btn--ghost {
    --btn-bg: transparent; --btn-fg: var(--plum);
    border-color: #41ada9;
}
.btn--ghost:hover { --btn-bg: var(--white); border-color: #41ada9; box-shadow: var(--shadow-sm); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--plum); box-shadow: var(--shadow-sm); }
.btn--light:hover { --btn-fg: var(--plum); }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* ---------- 5. Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 249, 246, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(253, 205, 201, 0.5);
    transition: background 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), border-color 0.4s;
}
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 78px; }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 249, 246, 0.94); }

/* Transparent-over-hero mode (home) */
.site-header--transparent {
    position: fixed; left: 0; right: 0;
    background: transparent; border-color: transparent; backdrop-filter: none;
}
.site-header--transparent.is-scrolled {
    position: fixed; background: rgba(255, 249, 246, 0.94); border-color: rgba(253, 205, 201, 0.5);
    backdrop-filter: blur(14px);
}
.has-transparent-header #main { margin-top: -78px; }

.site-header__logo { display: inline-flex; align-items: center; }
.site-header__logo img { height: 56px; width: auto; }
.site-footer__logo { display: inline-flex; align-items: center; }
.site-footer__logo img { height: 56px; width: auto; }
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--plum); }
.wordmark__mark {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
    background: linear-gradient(140deg, var(--blush), var(--coral-soft));
    color: #fff; flex: none;
}
.wordmark__mark svg { width: 20px; height: 20px; }
.wordmark__text { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: -0.01em; color: var(--plum); }
.wordmark--light .wordmark__text, .wordmark--light { color: #fff; }
.wordmark--light .wordmark__mark { background: rgba(255,255,255,0.14); }

.site-header__actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.header-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--plum); transition: background 0.25s; }
.header-cart:hover { background: var(--blush-soft); color: var(--plum); }
.header-cart svg { width: 22px; height: 22px; }
.header-cart__count {
    position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px;
    display: grid; place-items: center; font-size: 0.66rem; font-weight: 700; color: #fff;
    background: var(--coral); border-radius: var(--r-pill); line-height: 1;
}

/* ---------- 6. Navigation ---------- */
.site-nav { display: flex; align-items: center; }
/* Desktop: let the nav fill the middle and centre the menu, so it sits with
   balanced padding between the logo and the header actions (cart / CTA). */
@media (min-width: 821px) {
    .site-nav { flex: 1; justify-content: center; }
}
.nav-menu { display: flex; align-items: center; gap: 0.35rem; }
.nav-menu__link {
    position: relative; display: inline-block; padding: 0.5rem 0.9rem;
    font-weight: 600; font-size: 0.95rem; color: var(--plum);
}
.nav-menu__link::after {
    content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem; height: 2px;
    background: #e1bf9d; border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform 0.35s var(--ease-soft);
}
.nav-menu__link:hover, .nav-menu__link.is-active { color: #41ADA9; }
.nav-menu__link:hover::after, .nav-menu__link.is-active::after { transform: scaleX(1); }
.nav-menu__item--cta { display: none; }

.site-header--transparent:not(.is-scrolled) .nav-menu__link,
.site-header--transparent:not(.is-scrolled) .wordmark__text,
.site-header--transparent:not(.is-scrolled) .header-cart { color: var(--plum-900); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
    background: transparent; border: 0; cursor: pointer; padding: 10px;
}
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--plum); border-radius: 2px; transition: transform 0.35s var(--ease-soft), opacity 0.25s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================================================================
   7. HERO — the signature moment (90% of the effort)
   ================================================================== */
.hero {
    position: relative; overflow: hidden;
    padding-top: clamp(13rem, 20vh, 16rem);
    padding-bottom: clamp(4rem, 8vw, 7rem);
    /* Light-wood panelling image (vertical planks) with a soft warm veil. */
    background-color: #f1ece2;
    background-image:
        linear-gradient(rgba(250, 245, 238, 0.38), rgba(250, 245, 238, 0.38)),
        url("../images/wood-panel.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero__inner {
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
    align-items: center; position: relative; z-index: 2;
}
.hero__eyebrow { margin-bottom: 1.4rem; }
.hero__title {
    font-family: 'Fredoka', var(--font-display);
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 400; line-height: 1.14; letter-spacing: -0.01em; color: var(--plum);
    margin-bottom: 1.4rem;
}
/* Each sentence sits on its own line. */
.hero__title-line { display: block; }
/* Fredoka has no italic, so the accent stays upright (faux-italic looks poor
   on a rounded display face) — it's set apart by colour instead. */
.hero__title .soft { font-style: normal; font-weight: 400; color: var(--coral); }
/* word-by-word reveal */
/* padding-bottom gives descenders (g, y, p) room inside the clip box, so the
   slide-up reveal no longer crops them; the negative margin keeps line spacing. */
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.16em; margin-bottom: -0.16em; }
.hero__title .word > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease-soft); }
.hero.is-in .hero__title .word > span { transform: translateY(0); }
.hero__lead {
    max-width: 30rem; font-size: 1.18rem; color: var(--taupe);
    opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease 0.5s, transform 0.8s var(--ease-soft) 0.5s;
}
.hero.is-in .hero__lead { opacity: 1; transform: none; }
.hero__actions {
    display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem;
    opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease 0.68s, transform 0.8s var(--ease-soft) 0.68s;
}
.hero.is-in .hero__actions { opacity: 1; transform: none; }
.hero__reassure {
    display: flex; align-items: center; gap: 0.9rem; margin-top: 2.2rem; color: var(--taupe-soft); font-size: 0.9rem;
    opacity: 0; transition: opacity 0.8s ease 0.85s;
}
.hero.is-in .hero__reassure { opacity: 1; }
.hero__stars { color: var(--coral); letter-spacing: 2px; }

/* Product visual with soft "nightlight" glow */
.hero__visual { position: relative; display: grid; place-items: center; }
.hero__glow {
    position: absolute; inset: 0; margin: auto; width: 78%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(247,154,162,0.55) 0%, rgba(254,240,231,0) 68%);
    filter: blur(6px); animation: breathe 6s var(--ease-soft) infinite;
}
.hero__product {
    position: relative; width: min(88%, 420px); border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    transform: translateY(24px) scale(0.96); opacity: 0;
    transition: transform 1.1s var(--ease-soft) 0.35s, opacity 1s ease 0.35s;
    animation: float 7s ease-in-out infinite 1.5s;
}
.hero.is-in .hero__product { transform: none; opacity: 1; }

/* soft floating chips around the product */
.hero__chip {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.92); backdrop-filter: blur(6px);
    padding: 0.6rem 1rem; border-radius: var(--r-pill); box-shadow: var(--shadow);
    font-size: 0.82rem; font-weight: 600; color: var(--plum);
    opacity: 0; transition: opacity 0.7s ease, transform 0.9s var(--ease-gentle);
}
.hero.is-in .hero__chip { opacity: 1; }
.hero__chip svg { width: 17px; height: 17px; color: var(--coral); }
.hero__chip--1 { top: 12%; left: -4%; transform: translateY(14px); transition-delay: 0.9s; }
.hero__chip--2 { bottom: 16%; right: -6%; transform: translateY(14px); transition-delay: 1.1s; }
.hero.is-in .hero__chip--1, .hero.is-in .hero__chip--2 { transform: none; }
.hero__chip--1 { animation: float 8s ease-in-out infinite 2s; }
.hero__chip--2 { animation: float 9s ease-in-out infinite 2.4s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes breathe { 0%,100% { transform: scale(0.94); opacity: 0.85; } 50% { transform: scale(1.06); opacity: 1; } }

/* soft wave divider at foot of hero */

/* ==================================================================
   8. ASSURANCES BAR  (echoes demo's "support block")
   ================================================================== */
.assurances { border-bottom: 1px solid var(--blush-soft); padding-top: clamp(2.5rem, 5vw, 3.75rem); padding-bottom: clamp(3.75rem, 7vw, 6rem); }
.assurances__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.assurance { display: flex; align-items: flex-start; gap: 0.9rem; }
.assurance__icon {
    flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--blush-soft); color: var(--plum);
}
.assurance__icon svg { width: 22px; height: 22px; }
.assurance__title { font-family: var(--font-body); font-weight: 700; font-size: 0.98rem; color: var(--plum); margin: 0 0 0.15rem; }
.assurance__text { font-size: 0.85rem; color: var(--taupe-soft); margin: 0; line-height: 1.5; }

/* ==================================================================
   9. PRODUCT FEATURE  (the one product on show)
   ================================================================== */
.product-feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.product-feature__media { position: relative; }
.product-feature__media img {
    width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow);
    background: var(--peach);
}
.product-feature__badge {
    position: absolute; top: 1.2rem; left: 1.2rem;
    background: var(--coral); color: #fff; font-weight: 700; font-size: 0.72rem;
    letter-spacing: 0.12em; text-transform: uppercase; padding: 0.4rem 0.9rem; border-radius: var(--r-pill);
}
.product-feature__rating { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font-size: 0.9rem; color: var(--taupe-soft); }
.product-feature__stars { color: var(--coral); letter-spacing: 2px; }
.product-feature__title { font-size: clamp(2rem, 4vw, 2.9rem); }
.product-feature__price { display: flex; align-items: baseline; gap: 0.75rem; margin: 1.3rem 0; }
.product-feature__price .now { font-family: var(--font-display); font-size: 2rem; color: var(--caramel); font-weight: 600; text-shadow: 0 1px 1px rgba(26, 22, 26, 0.32); }
.product-feature__price .was { font-size: 1.1rem; color: var(--taupe-soft); text-decoration: line-through; }
.product-feature__price .save { font-size: 0.78rem; font-weight: 700; color: var(--sage); background: var(--sage-soft); padding: 0.25rem 0.7rem; border-radius: var(--r-pill); }
.product-feature__list { display: grid; gap: 0.7rem; margin: 1.6rem 0 2rem; }
.product-feature__list li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.98rem; color: var(--taupe); }
.product-feature__list svg { flex: none; width: 20px; height: 20px; color: var(--coral); }
.product-feature__actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.product-feature__note { font-size: 0.82rem; color: var(--taupe-soft); margin-top: 1rem; }

/* ==================================================================
   10. WHAT'S INSIDE  (echoes demo's "specification block")
   ================================================================== */
.inside__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); }
.inside-card {
    background: var(--white); border: 1px solid var(--blush-soft); border-radius: var(--r-lg);
    padding: 2rem 1.8rem; transition: transform 0.4s var(--ease-soft), box-shadow 0.4s var(--ease-soft), border-color 0.4s;
}
.inside-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blush); }
.inside-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--peach); color: var(--plum); margin-bottom: 1.2rem; }
.inside-card__icon svg { width: 26px; height: 26px; }
.inside-card__title { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; color: #41ADA9; margin-bottom: 0.4rem; }
.inside-card__text { font-size: 0.92rem; color: var(--taupe-soft); margin: 0; line-height: 1.65; }
.inside-card__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.inside-card__list li { position: relative; padding-left: 1rem; font-size: 0.88rem; color: var(--taupe-soft); line-height: 1.4; }
.inside-card__list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); }

/* ==================================================================
   11. REASSURANCE STRIP  ("right when you need it" — the 3am promise)
   ================================================================== */
.promise {
    position: relative; overflow: hidden;
    /* Light sand overlay over bg.jpg — text switches to dark for legibility. */
    background-image:
        linear-gradient(rgb(247 219 191 / 77%), #e1bf9d5c),
        url("../images/bg.jpg");
    background-size: cover;
    background-position: center;
    /* Parallax: image stays fixed in the viewport while the section scrolls
       over it. (Ignored on some mobile browsers, which fall back to static.) */
    background-attachment: fixed;
}
.promise .container { position: relative; z-index: 2; }
.promise__inner { max-width: 54rem; margin: 0 auto; text-align: center; }
.promise__quote { font-family: var(--font-display); font-weight: 400; font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.35; color: var(--plum); }
.promise__cite { display: block; margin-top: 1.4rem; font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 0.9rem; letter-spacing: 0.04em; color: var(--taupe); }

/* ==================================================================
   12. TESTIMONIALS
   ================================================================== */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 1.8rem); }
.testimonial {
    background: var(--white); border-radius: var(--r-lg); padding: 2.2rem;
    box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1.2rem;
}
.testimonial__stars { color: var(--coral); letter-spacing: 2px; font-size: 0.95rem; }
.testimonial__quote { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.55; color: var(--plum-700); font-weight: 400; margin: 0; }
.testimonial__person { display: flex; align-items: center; gap: 0.85rem; margin-top: auto; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(140deg, var(--blush), var(--coral-soft)); display: grid; place-items: center; color: #fff; font-weight: 700; }
.testimonial__name { font-weight: 700; font-size: 0.92rem; color: var(--plum); }
.testimonial__role { font-size: 0.8rem; color: var(--taupe-soft); }

/* ==================================================================
   13. FAQ
   ================================================================== */
.faq { max-width: 46rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--blush-soft); }
.faq-item__q {
    width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.4rem 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--plum); font-weight: 500;
}
.faq-item__icon { flex: none; width: 26px; height: 26px; display: grid; place-items: center; color: var(--coral); transition: transform 0.4s var(--ease-soft); }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-soft); }
.faq-item__a p { padding: 0 0 1.4rem; margin: 0; color: var(--taupe-soft); }

/* ==================================================================
   14. NEWSLETTER / CTA
   ================================================================== */
.newsletter__card {
    background: linear-gradient(140deg, #e1bf9d 0%, rgba(253,227,224,0.7) 100%);
    border-radius: var(--r-xl); padding: clamp(2rem, 4vw, 3.25rem);
    text-align: center; position: relative; overflow: hidden;
}
.newsletter__inner { position: relative; z-index: 2; max-width: 34rem; margin: 0 auto; }
.newsletter h2 { color: var(--plum); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.newsletter p { color: var(--taupe); }
.newsletter__form { display: flex; gap: 0.7rem; margin-top: 1.8rem; }
.newsletter__form input {
    flex: 1; min-width: 0; font-family: inherit; font-size: 1rem; font-weight: 300;
    padding: 0.95rem 1.4rem; border-radius: var(--r-pill); border: 1.5px solid transparent; background: rgba(255,255,255,0.95); color: var(--plum);
}
.newsletter__form input::placeholder { color: var(--taupe-soft); }
.newsletter__form input:focus { outline: none; border-color: var(--coral-soft); }
.newsletter__fineprint { font-size: 0.78rem; color: var(--taupe-soft); margin-top: 1rem; }

/* form status + captcha notice (from final-steps.txt) */
.grecaptcha-badge { visibility: hidden !important; }
.captcha-notice { font-size: 0.72rem; font-weight: 300; color: #9a9aa0; line-height: 1.55; margin-top: 0.85rem; }
.captcha-notice a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-status { font-size: 0.9rem; min-height: 1.4em; margin: 0.75rem 0; }
.form-status.is-success { color: #3f9d6b; }
.form-status.is-error   { color: #c85454; }

/* ==================================================================
   14b. OUR STORY
   ================================================================== */
.story { padding-bottom: clamp(2rem, 4vw, 3rem); }
.story__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story__media { position: relative; display: grid; place-items: center; min-height: 320px; }
.story__card {
    position: relative; z-index: 2; width: min(100%, 380px);
    background: linear-gradient(140deg, #41ada96b 0%, #e1bf9d85 100%);
    border-radius: var(--r-xl); padding: clamp(1.5rem, 3vw, 2rem);
    box-shadow: var(--shadow); text-align: center;
}
.story__mark {
    display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 1.4rem;
    border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff;
}
.story__mark svg { width: 30px; height: 30px; }
.story__cardquote {
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem); line-height: 1.4; color: #fff; margin: 0;
}
.story__sign { font-family: var(--font-display); font-style: italic; color: var(--taupe-soft); margin-top: 1.6rem; margin-bottom: 0; }

/* ==================================================================
   14c. TIPS FOR NEW MOMS  (reuses .inside__grid / .inside-card)
   ================================================================== */
.tips__note {
    max-width: 44rem; margin: clamp(2rem, 4vw, 3rem) auto 0; text-align: center;
    font-size: 0.85rem; color: var(--taupe-soft);
}

/* ==================================================================
   14d. CONTACT
   ================================================================== */
.contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 3vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.contact-card {
    display: block; text-align: center; padding: 0.5rem;
    transition: transform 0.4s var(--ease-soft);
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card__icon {
    display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 0.9rem;
    border-radius: 50%; background: var(--peach); color: var(--plum);
    transition: background 0.3s var(--ease-soft), color 0.3s var(--ease-soft);
}
.contact-card__icon svg { width: 26px; height: 26px; }
.contact-card__text { font-size: 0.98rem; color: var(--taupe); margin: 0; word-break: break-word; }
.contact-card:hover .contact-card__icon { background: #41ADA9; color: #fff; }
.contact-card:hover .contact-card__text { color: #41ADA9; }
.contact-col { text-align: center; }
.contact-card__email { display: inline-block; margin-top: 0.15rem; font-size: 0.98rem; color: var(--taupe); word-break: break-word; transition: color 0.3s var(--ease-soft); }
.contact-card__email:hover { color: #41ADA9; }
.contact__hours { font-size: 0.85rem; color: var(--taupe-soft); margin: 1rem 0 0; }

/* Contact form */
.contact-form {
    max-width: 40rem; margin: clamp(1.5rem, 3vw, 2rem) auto 0; text-align: left;
    background: var(--white); border: 1px solid var(--blush-soft); border-radius: var(--r-lg);
    padding: clamp(1.6rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm);
}
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.contact-form .field { margin-bottom: 1.1rem; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--plum); margin-bottom: 0.45rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; font-family: inherit; font-size: 1rem; font-weight: 300; color: var(--plum);
    padding: 0.8rem 1rem; border: 1.5px solid var(--blush-soft); border-radius: var(--r-sm);
    background: var(--cream);
    transition: border-color 0.25s var(--ease-soft), box-shadow 0.25s var(--ease-soft), background 0.25s;
}
.contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--coral-soft); box-shadow: 0 0 0 3px var(--blush-soft); background: var(--white);
}
.contact-form .btn { margin-top: 0.3rem; }
.contact-form .form-status { text-align: center; }
.contact-form .contact__hours { text-align: center; }

/* Anchor targets clear the sticky header when jumped to from the menu */
:is(section, [id])[id] { scroll-margin-top: 96px; }

/* ==================================================================
   15. FOOTER
   ================================================================== */
.site-footer { background: #41ada9; color: rgba(253,227,224,0.7); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 2fr; gap: clamp(2rem, 6vw, 5rem); padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer__tagline { margin: 1.2rem 0 1.6rem; max-width: 22rem; font-size: 0.95rem; }
.site-footer__social { display: flex; gap: 0.7rem; }
.site-footer__social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.08); color: #fff; transition: background 0.25s, transform 0.25s; }
.site-footer__social a:hover { background: var(--coral); color: #fff; transform: translateY(-3px); }
.site-footer__social svg { width: 20px; height: 20px; }
.site-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.site-footer__heading { font-family: var(--font-body); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blush); margin-bottom: 1.1rem; }
.site-footer__col a { display: block; color: rgba(253,227,224,0.72); font-size: 0.95rem; padding: 0.35rem 0; }
.site-footer__col a:hover { color: #fff; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; padding-top: 1.8rem; font-size: 0.85rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__credit a { color: var(--blush); }
.site-footer__credit a:hover { color: #fff; }

/* ==================================================================
   15b. BACK-TO-TOP BUTTON
   ================================================================== */
.back-to-top {
    position: fixed; bottom: clamp(1.1rem, 3vw, 1.75rem); right: clamp(1.1rem, 3vw, 1.75rem);
    z-index: 55; display: grid; place-items: center;
    width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--coral); color: #fff; box-shadow: var(--shadow-coral);
    opacity: 0; transform: translateY(12px) scale(0.9); pointer-events: none;
    transition: opacity 0.4s var(--ease-soft), transform 0.4s var(--ease-gentle), background 0.3s var(--ease-soft);
}
.back-to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.back-to-top:hover { background: var(--coral-600); transform: translateY(-3px); }
.back-to-top svg { width: 22px; height: 22px; }

/* ==================================================================
   16. Scroll reveal utility
   ================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease-soft), transform 0.9s var(--ease-soft); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal, .hero__lead, .hero__actions, .hero__product, .hero__chip, .hero__reassure { opacity: 1 !important; transform: none !important; }
    .hero__title .word > span { transform: none !important; }
}

/* ==================================================================
   17. INNER PAGES  (Our Story, The Box, Why Us, Tips, Contact)
   ================================================================== */

/* Compact page hero for sub-pages (header is solid/sticky here) */
.page-hero {
    position: relative; overflow: hidden;
    padding-top: clamp(3.5rem, 8vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    text-align: center;
}
.page-hero .container { max-width: 54rem; }
.page-hero__title {
    font-family: 'Fredoka', var(--font-display); font-weight: 400;
    font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; color: var(--plum);
    margin: 0.6rem 0 1.1rem;
}
.page-hero__lead { font-size: clamp(1.1rem, 2vw, 1.28rem); color: var(--taupe); margin: 0 auto; max-width: 42rem; }

/* Shared inner-page rhythm */
.page-section { padding-block: clamp(2.5rem, 5vw, 4rem); }
.page-section--tight { padding-block: clamp(2.75rem, 5vw, 4rem); }
.measure { max-width: 46rem; margin-inline: auto; }

/* "When in doubt" medical note — appears on most pages */
.med-note {
    display: flex; gap: 0.9rem; align-items: flex-start;
    max-width: 52rem; margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
    padding: 1.1rem 1.4rem; border-radius: var(--r-lg);
    background: var(--sage-soft); border: 1px solid rgba(159,184,164,0.4);
    color: var(--taupe); font-size: 0.96rem; line-height: 1.55;
}
.med-note svg { flex: none; width: 22px; height: 22px; color: var(--sage); margin-top: 2px; }
.med-note strong { color: var(--plum); }

/* Narrative prose blocks (Our Story, product descriptions) */
.prose p { font-size: 1.1rem; line-height: 1.75; color: var(--taupe); margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }
.block-label {
    display: block; font-family: var(--font-body); font-weight: 700;
    font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--coral); margin: 0 0 0.7rem;
}
.story-block { margin-bottom: clamp(2rem, 4vw, 3rem); }
.pullquote {
    font-family: var(--font-display); font-style: italic; font-weight: 400;
    font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.4; color: #41ADA9;
    text-align: center; max-width: 40rem; margin: clamp(2rem,4vw,3rem) auto;
}
.story-closing { text-align: center; font-family: var(--font-display); font-size: 1.4rem; color: var(--plum); }

/* The Box — summary table */
.box-table-wrap { overflow-x: auto; margin-inline: auto; max-width: 60rem; }
.box-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; min-width: 34rem; }
.box-table th, .box-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--blush-soft); }
.box-table thead th { font-family: var(--font-body); font-weight: 700; font-size: 0.76rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); }
.box-table tbody tr:hover { background: rgba(65,173,169,0.05); }
.box-table td:first-child { color: var(--sage); font-weight: 700; width: 2.4rem; }
.box-table td strong { color: var(--plum); }
/* Product name is a button so mobile rows can open; on desktop it reads as plain text. */
.box-row__toggle {
    all: unset; display: block; font: inherit; color: inherit; text-align: left; cursor: default;
}
.box-more { display: none; }

/* The Box — individual product blocks */
.product-detail {
    background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow);
    padding: clamp(1.8rem, 4vw, 3rem); margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.product-detail__num {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: #41ADA9; color: #fff; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 1rem;
}
/* Small, subtle packaging thumbnail — floats top-right, text wraps around it. */
.product-detail__thumb {
    float: right; width: clamp(72px, 11vw, 104px); height: auto; aspect-ratio: 1 / 1;
    object-fit: cover; border-radius: 14px; margin: 0 0 1rem 1.4rem;
    box-shadow: var(--shadow-sm); border: 1px solid var(--blush-soft);
}
.product-detail__name { font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--plum); margin: 0 0 0.2rem; }
.product-detail__for { font-weight: 700; color: #41ADA9; font-size: 0.92rem; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 1rem; }
.product-detail .prose p { font-size: 1.05rem; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.4rem 2rem; margin-top: 1.4rem; }
.sub-label {
    display: block; font-family: var(--font-body); font-weight: 700; font-size: 0.76rem;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum); margin: 0 0 0.6rem;
}
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.55rem; color: var(--taupe); line-height: 1.5; }
.tick-list li::before {
    content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%;
    background: #41ADA9;
}
.also-in-box { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed var(--blush); }
.also-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
.also-chips span { background: var(--peach); color: var(--taupe); border-radius: var(--r-pill); padding: 0.35rem 0.9rem; font-size: 0.85rem; }

/* Why Us — feature checklist */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.2rem; }
.why-item { display: flex; gap: 0.9rem; align-items: flex-start; background: #fff; border-radius: var(--r-lg); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); }
.why-item svg { flex: none; width: 26px; height: 26px; color: #41ADA9; margin-top: 2px; }
.why-item h3 { font-family: var(--font-body); font-size: 1.02rem; color: var(--plum); margin: 0 0 0.25rem; }
.why-item p { margin: 0; color: var(--taupe); font-size: 0.95rem; line-height: 1.5; }

/* Tips page — long-form list */
.tip-entry { max-width: 48rem; margin: 0 auto clamp(1.8rem,3vw,2.6rem); }
.tip-entry__title { display: flex; align-items: center; gap: 0.8rem; font-size: clamp(1.2rem,2.4vw,1.5rem); color: var(--plum); margin: 0 0 0.6rem; }
.tip-entry__num { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: #41ADA9; color: #fff; font-family: var(--font-display); font-size: 0.95rem; }
.tip-entry p { color: var(--taupe); line-height: 1.7; margin: 0 0 0.8rem; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band__inner { background: linear-gradient(140deg, #e1bf9d 0%, rgba(253,227,224,0.7) 100%); border-radius: var(--r-xl); padding: clamp(1.25rem,3vw,1.75rem); }
.cta-band h2 { color: var(--plum); margin-bottom: 0.4rem; text-wrap: balance; }
.cta-band p { color: var(--taupe); margin: 0 auto 1.1rem; max-width: 34rem; text-wrap: balance; }

/* Small-print legal disclaimer */
.legal-note { max-width: 52rem; margin: 0 auto; font-size: 0.85rem; line-height: 1.65; color: var(--taupe-soft); text-align: center; }
.legal-note p { margin: 0 0 0.8rem; }

/* ---------- Legal / policy pages (Privacy, Terms, Returns) ---------- */
.legal { max-width: 48rem; margin-inline: auto; }
.legal__updated {
    font-size: 0.9rem; color: var(--taupe-soft); margin-top: 0.6rem;
    display: flex; flex-direction: column; gap: 0.15rem; align-items: center;
}
.legal__intro {
    font-size: 1.08rem; line-height: 1.75; color: var(--taupe);
    margin: 0 auto clamp(1.8rem, 4vw, 2.8rem); max-width: 46rem;
}

.legal-section { margin-bottom: clamp(1.6rem, 3.5vw, 2.4rem); scroll-margin-top: 6rem; }
.legal-section > h2 {
    font-family: 'Fredoka', var(--font-display); font-weight: 400;
    font-size: clamp(1.25rem, 2.6vw, 1.6rem); color: var(--plum);
    line-height: 1.25; margin: 0 0 0.9rem;
}
.legal-section h3 {
    font-family: var(--font-body); font-weight: 700; font-size: 1.04rem;
    color: var(--plum); margin: 1.4rem 0 0.6rem;
}
.legal-section p { font-size: 1.02rem; line-height: 1.75; color: var(--taupe); margin: 0 0 1rem; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section strong { color: var(--plum); }
.legal-section a { color: var(--coral-600); text-decoration: underline; text-underline-offset: 2px; }
.legal-section a:hover { color: var(--coral); }

.legal-section ul { list-style: none; margin: 0 0 1.15rem; padding: 0; }
.legal-section ul li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; color: var(--taupe); line-height: 1.65; }
.legal-section ul li::before {
    content: ""; position: absolute; left: 0.15rem; top: 0.62em;
    width: 7px; height: 7px; border-radius: 50%; background: var(--sage);
}
.legal-section ol { margin: 0 0 1.15rem; padding-left: 1.5rem; }
.legal-section ol li { margin-bottom: 0.5rem; color: var(--taupe); line-height: 1.65; padding-left: 0.3rem; }
.legal-section ol li::marker { color: var(--sage); font-weight: 700; }

/* Contact / company detail card at the foot of a policy */
.legal-contact {
    background: var(--peach); border-radius: var(--r-lg);
    padding: clamp(1.3rem, 3vw, 1.8rem); margin-top: 0.4rem;
}
.legal-contact p { font-size: 0.98rem; line-height: 1.6; color: var(--taupe); margin: 0 0 0.3rem; }
.legal-contact p:last-child { margin-bottom: 0; }
.legal-contact strong { color: var(--plum); }
.legal-contact a { color: var(--coral-600); }
.social-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-top: 1rem; }
.social-tags span { font-weight: 700; color: #41ADA9; }
