/* Bairby Co: site styles.
   Clean white space, soft baby blue and baby pink, rounded shapes that respond to the pointer. */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --line: #e6e6eb;

  --blue: #a9d6ff;
  --blue-mid: #cfe7ff;
  --blue-soft: #eef7ff;
  --blue-deep: #2667a8;
  --pink: #ffc4d8;
  --pink-mid: #ffdbe7;
  --pink-soft: #fff2f7;
  --pink-deep: #b83a6e;

  /* Reading levels: soft, nursery-friendly versions of green, yellow and red. */
  --good-bg: #e1f6ea; --good-ink: #1c6b43;
  --fair-bg: #fff2c7; --fair-ink: #7a5600;
  --attn-bg: #ffdfe3; --attn-ink: #b02a37;

  --r-xl: 40px; --r-lg: 28px; --r-md: 20px; --r-sm: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.05);
  --shadow-hover: 0 2px 6px rgba(0,0,0,.04), 0 24px 50px rgba(38,103,168,.16);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 72rem;
  --ease: cubic-bezier(.2,.8,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
svg text { font-family: var(--font); }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 .55em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8vw, 4.9rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 5.5vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 99px; z-index: 100; }
.skip-link:focus { top: 1rem; }
.eyebrow { font-size: .95rem; font-weight: 600; letter-spacing: -0.01em; color: var(--pink-deep); margin: 0 0 .9rem; }
.lead { font-size: clamp(1.15rem, 2.4vw, 1.4rem); line-height: 1.5; color: var(--ink-2); max-width: 38rem; letter-spacing: -0.01em; }
.small { font-size: .9rem; color: var(--ink-2); }
.center { text-align: center; }
.center .lead, .center p { margin-inline: auto; }

/* ---------- Header: frosted glass ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.75); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1.25rem; padding-block: .7rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
/* Baby pink into baby blue, a shade deeper than the page tints so the letters hold up on white. */
.brand-air { color: #f48fb5; background: linear-gradient(90deg, #f48fb5, #7cbcf2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.brand-dot { display: inline-block; width: .45rem; height: .45rem; margin-left: .1rem; border-radius: 50%; background: var(--pink); transition: transform .4s var(--spring), background .3s; }
.brand:hover .brand-dot { transform: scale(1.8); background: var(--blue); }
/* The Bairby Co mascot: a baby scientist in lab goggles. On hover it gives a little curious tilt. */
.brand-logo { display: block; width: 3rem; height: 3rem; transition: transform .45s var(--spring); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
.footer-name { display: flex; align-items: center; gap: .55rem; }
.footer-logo { width: 2.5rem; height: 2.5rem; }
@media (prefers-reduced-motion: reduce) { .brand-logo { transition: none; } .brand:hover .brand-logo { transform: none; } }
.nav { display: flex; gap: .35rem; order: 3; width: 100%; font-size: .95rem; }
.nav a { color: var(--ink); padding: .4rem .85rem; border-radius: 99px; transition: background .25s var(--ease); }
.nav a:hover { background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; }
@media (min-width: 44rem) { .nav { order: 0; width: auto; margin-left: auto; } }

/* ---------- Buttons: soft pills that lift ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.1rem; padding: .75rem 1.6rem; border: 0; border-radius: 99px; font: inherit; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; text-align: center; cursor: pointer; transition: transform .35s var(--spring), box-shadow .3s var(--ease), background .25s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-3px) scale(1.03); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; color: #fff; box-shadow: 0 12px 28px rgba(126,182,234,.55); }
.btn-secondary { background: var(--blue-soft); color: var(--blue-deep); }
.btn-secondary:hover { background: var(--blue-mid); color: var(--blue-deep); box-shadow: 0 12px 28px rgba(126,182,234,.35); }
.btn-pink { background: var(--pink-mid); color: #7a1f47; }
.btn-pink:hover { background: var(--pink); color: #7a1f47; box-shadow: 0 12px 28px rgba(255,160,195,.45); }
.btn-small { min-height: 2.4rem; padding: .45rem 1.05rem; font-size: .92rem; }
.btn .arrow { transition: transform .35s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-direction: column; gap: .75rem; margin-top: 2rem; }
@media (min-width: 32rem) { .btn-row { flex-direction: row; flex-wrap: wrap; } }
.center .btn-row { justify-content: center; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 11vw, 8rem); }
.section--soft { background: var(--bg-soft); }
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section-head p { color: var(--ink-2); max-width: 36rem; font-size: 1.15rem; }
.section-head.center p { margin-inline: auto; }

/* ---------- Floating bubbles (decoration) ---------- */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubble { position: absolute; border-radius: 50%; opacity: .7; animation: drift 9s ease-in-out infinite; }
.bubble.b1 { width: 70px; height: 70px; background: var(--pink-mid); right: 6%; top: 8%; }
.bubble.b2 { width: 34px; height: 34px; background: var(--blue-mid); left: 3%; bottom: 8%; animation-delay: -3s; }
.bubble.b3 { width: 110px; height: 110px; background: var(--blue-soft); right: 4%; bottom: 10%; animation-delay: -5s; }
.bubble.b4 { width: 22px; height: 22px; background: var(--pink); left: 46%; bottom: 5%; animation-delay: -1.5s; }
.bubble.b5 { width: 48px; height: 48px; background: var(--blue-soft); left: 2%; top: 6%; animation-delay: -6s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(10px, -18px); } }
.section > .wrap, .hero > .wrap { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 9vw, 6.5rem) clamp(4rem, 9vw, 7rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .hero-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; } .hero h1 { font-size: clamp(2.6rem, 6vw, 4.7rem); } }
.hero h1 { max-width: 12em; }
.hero h1 .soft { color: var(--blue-deep); }
.hero-note { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.75rem; padding: .4rem .9rem; background: var(--pink-soft); border-radius: 99px; color: #7a1f47; font-size: .92rem; font-weight: 500; }
.hero-note::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--pink); }
.art-wrap { position: relative; max-width: 30rem; margin-inline: auto; width: 100%; }
.art-hint { margin: .5rem 0 0; text-align: center; font-size: .88rem; color: var(--ink-2); }

/* The sleeping baby: floats, and wakes up on hover or tap. */
.baby-art { display: block; width: 100%; height: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.baby-art .art-blob { transform-box: fill-box; transform-origin: center; transition: transform .6s var(--spring), fill .4s; }
.baby-art:hover .art-blob, .baby-art.awake .art-blob { transform: scale(1.04); fill: #fff2f7; }
.baby-art .art-float { animation: float 6s ease-in-out infinite; }
.baby-art .art-stars path { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.baby-art .art-stars path:nth-child(2) { animation-delay: -1s; }
.baby-art .art-stars path:nth-child(3) { animation-delay: -2s; }
.baby-art .eyes-open, .baby-art .mouth-awake, .baby-art .hearts { opacity: 0; }
.baby-art .eyes-closed, .baby-art .mouth-sleep, .baby-art .zzz, .baby-art .eyes-open, .baby-art .mouth-awake { transition: opacity .25s; }
.baby-art .hearts { transform-box: fill-box; transform-origin: center bottom; transform: translateY(14px) scale(.5); transition: opacity .3s, transform .5s var(--spring); }
.baby-art .zzz text { animation: zz 3s ease-in-out infinite; }
.baby-art .zzz text:nth-child(2) { animation-delay: .4s; }
.baby-art .zzz text:nth-child(3) { animation-delay: .8s; }
.baby-art .hand { transform-box: fill-box; transform-origin: 30% 80%; }
.baby-art:hover .eyes-closed, .baby-art.awake .eyes-closed,
.baby-art:hover .mouth-sleep, .baby-art.awake .mouth-sleep,
.baby-art:hover .zzz, .baby-art.awake .zzz { opacity: 0; }
.baby-art:hover .eyes-open, .baby-art.awake .eyes-open,
.baby-art:hover .mouth-awake, .baby-art.awake .mouth-awake { opacity: 1; }
.baby-art:hover .hearts, .baby-art.awake .hearts { opacity: 1; transform: none; }
.baby-art:hover .hand, .baby-art.awake .hand { animation: wave .9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes twinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .5; } }
@keyframes zz { 0% { opacity: 0; transform: translateY(8px); } 30%, 70% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-18deg); } }

/* Small baby face and house: bounce when their card is hovered. */
.face-art, .house-art, .step-art { display: block; width: 100%; height: auto; transition: transform .5s var(--spring); }
.face-art .face-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.lift:hover .face-art, .lift:hover .house-art, .lift:hover .step-art { transform: translateY(-6px) rotate(-6deg) scale(1.06); }

/* ---------- Cards that react ---------- */
.card { position: relative; background: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2rem); box-shadow: var(--shadow); }
.section--soft .card { box-shadow: none; }
.lift { transition: transform .45s var(--spring), box-shadow .35s var(--ease), background .3s; will-change: transform; }
.lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; border-radius: 18px; margin-bottom: 1.25rem; transition: transform .5s var(--spring); }
.tile svg { width: 2.15rem; height: 2.15rem; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tile--blue { background: var(--blue-soft); color: var(--blue-deep); }
.tile--pink { background: var(--pink-soft); color: var(--pink-deep); }
.lift:hover .tile { transform: rotate(-10deg) scale(1.12); }

/* ---------- What we measure ---------- */
.measure-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.measure-card { flex: 1 1 100%; }
@media (min-width: 40rem) { .measure-card { flex: 1 1 calc(50% - 1.25rem); max-width: calc(50% - .625rem); } }
@media (min-width: 64rem) { .measure-card { flex: 1 1 calc(33.333% - 1.25rem); max-width: calc(33.333% - .84rem); } }
.measure-card h3 { margin-bottom: .1rem; }
.measure-tag { display: inline-block; margin-left: .5rem; vertical-align: .2em; padding: .12rem .55rem; border-radius: 99px; font-size: .74rem; font-weight: 600; letter-spacing: 0; line-height: 1.5; white-space: nowrap; }
.measure-tag--addon { background: var(--blue-soft); color: var(--blue-deep); }
.measure-tag--soon { background: var(--pink-soft); color: #9a2f5c; }
.choice.is-disabled { cursor: not-allowed; opacity: .6; }
.choice.is-disabled:hover { transform: none; }
.measure-card .sub { font-size: .95rem; font-weight: 600; color: var(--ink-2); margin-bottom: .75rem; }
.measure-card p:last-child { margin: 0; color: var(--ink-2); }
.addons-head { margin: clamp(3rem, 7vw, 4.5rem) 0 1.25rem; text-align: center; }
.addons-head h3 { margin-bottom: .2rem; font-size: 1.6rem; }
.addons-head p { margin: 0; color: var(--ink-2); }
.addon-row { display: grid; gap: 1rem; }
@media (min-width: 34rem) { .addon-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .addon-row { grid-template-columns: repeat(4, 1fr); } }
.addon-row .card { padding: 1.4rem; border-radius: var(--r-md); }
.addon-row .tile { width: 2.75rem; height: 2.75rem; border-radius: 14px; margin-bottom: .85rem; }
.addon-row .tile svg { width: 1.5rem; height: 1.5rem; }
.addon-row h4 { font-size: 1.15rem; margin-bottom: .25rem; letter-spacing: -0.02em; }
.addon-row p { margin: 0; font-size: .93rem; color: var(--ink-2); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; padding-top: 2.25rem; }
.step .step-art { width: 7.5rem; margin: 0 auto 1rem; }
.step-num { position: absolute; top: 1.25rem; left: 1.25rem; display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--pink-mid); color: #7a1f47; font-weight: 700; font-size: .95rem; }
.step:nth-child(2) .step-num { background: var(--blue-mid); color: var(--blue-deep); }
.step h3 { margin-bottom: .4rem; }
.step p { margin: 0 auto; color: var(--ink-2); max-width: 20rem; }

/* ---------- Trust ---------- */
.split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 58rem) { .split { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; } }
.checks { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.checks li { position: relative; padding-left: 2.25rem; margin-bottom: .8rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.45rem; height: 1.45rem; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3 3 7-7' fill='none' stroke='%232667a8' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform .4s var(--spring); }
.checks li:hover::before { transform: scale(1.25) rotate(-8deg); }
.example { background: var(--pink-soft); border-radius: var(--r-xl); padding: clamp(1.75rem, 5vw, 2.5rem); box-shadow: none; overflow: visible; }
.example .peek { position: absolute; width: 5.5rem; top: -2.6rem; right: 1.75rem; }
.example-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.example-meta .label { font-size: .85rem; font-weight: 600; color: var(--pink-deep); }
.example h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.example .reading { color: var(--ink-2); margin-bottom: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.example dl { margin: 0; background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.25rem; }
.example dt { font-size: .82rem; font-weight: 700; color: var(--ink-2); margin-top: .9rem; }
.example dt:first-child { margin-top: 0; }
.example dd { margin: .15rem 0 0; }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .7rem; border-radius: 99px; background: var(--bg-soft); color: var(--ink); font-size: .82rem; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.chip::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; opacity: .8; }
.chip--good { background: var(--good-bg); color: var(--good-ink); }
.chip--fair { background: var(--fair-bg); color: var(--fair-ink); }
.chip--attn { background: var(--attn-bg); color: var(--attn-ink); }
.chip--sample { background: #fff; color: var(--ink-2); border: 1.5px dashed #c7c7cc; }
.chip--sample::before { display: none; }

/* ---------- CTA panel ---------- */
.cta-panel { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--blue-soft); padding: clamp(3rem, 8vw, 5rem) clamp(1.5rem, 5vw, 3rem); text-align: center; }
.cta-panel.pink { background: var(--pink-soft); }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { max-width: 15em; margin-inline: auto; }
.cta-panel p { color: var(--ink-2); max-width: 32rem; margin-inline: auto; }
.cta-panel .btn-row { justify-content: center; }
.cta-face { width: 6.5rem; margin: 0 auto 1.25rem; }
.cta-panel:hover .cta-face .face-art { transform: translateY(-6px) rotate(8deg) scale(1.08); }

/* ---------- Page heads ---------- */
.page-head { position: relative; padding-block: clamp(3.5rem, 9vw, 6rem) clamp(2rem, 5vw, 3rem); text-align: center; }
.page-head h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); max-width: 14em; margin-inline: auto; }
.page-head .lead { margin-inline: auto; }
.head-art { width: 6rem; margin: 0 auto 1.5rem; }
.head-art:hover .face-art, .head-art:hover .house-art { transform: translateY(-6px) rotate(-8deg) scale(1.08); }
.jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.75rem; }
.jump a { padding: .5rem 1.05rem; border-radius: 99px; background: var(--bg-soft); color: var(--ink); font-size: .95rem; font-weight: 500; transition: transform .35s var(--spring), background .25s; }
.jump a:hover { text-decoration: none; background: var(--blue-soft); color: var(--blue-deep); transform: translateY(-2px); }

/* ---------- Packages ---------- */
.packages { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .packages { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.package { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: var(--r-xl); }
.package-art { display: flex; align-items: center; justify-content: center; height: 11rem; background: var(--pink-soft); }
.package--house .package-art { background: var(--blue-soft); }
.package-art .face-art, .package-art .house-art { width: 7.5rem; }
.package-body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.5rem, 4vw, 2.25rem); }
.package h2 { font-size: clamp(1.6rem, 4vw, 2rem); margin-bottom: .3rem; }
.package-for { color: var(--ink-2); margin-bottom: 1.25rem; }
.price { font-size: 3.6rem; font-weight: 700; letter-spacing: -0.05em; line-height: 1; margin: 0; }
.price-note { display: inline-block; margin: .6rem 0 0; padding: .2rem .75rem; border-radius: 99px; background: var(--pink-soft); color: #7a1f47; font-size: .88rem; font-weight: 600; align-self: flex-start; justify-self: start; }
.package--house .price-note { background: var(--blue-soft); color: var(--blue-deep); }
.pkg-section { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.pkg-section h3 { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .75rem; }
.pkg-section p, .pkg-section ul { margin-bottom: 0; }
.package .btn { margin-top: 2rem; }
@media (min-width: 56rem) {
  .package-body { display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 0; }
  .package { display: grid; grid-template-rows: subgrid; grid-row: span 9; row-gap: 0; }
  .package .btn { align-self: end; }
}
.addon-list { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .addon-list { grid-template-columns: 1fr 1fr; } }
.addon-item { display: flex; flex-direction: column; }
.addon-item h3 { margin-bottom: .35rem; }
.addon-item p { margin: 0; color: var(--ink-2); }
.addon-foot { margin-top: auto; padding-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.addon-price { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
.addon-note { display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .9rem; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font-size: .9rem; font-weight: 600; transition: transform .35s var(--spring), background .25s; }
.addon-note:hover { text-decoration: none; background: var(--blue-mid); transform: translateX(3px); }

/* ---------- About ---------- */
.room-tiles { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 30rem) { .room-tiles { grid-template-columns: 1fr 1fr; } }
.room-tile { padding: 1rem 1.15rem; border-radius: var(--r-md); background: var(--bg-soft); }
.room-tile:nth-child(odd) { background: var(--blue-soft); }
.room-tile:nth-child(4n+2), .room-tile:nth-child(4n+3) { background: var(--pink-soft); }
.room-tile:nth-child(4n+3) { background: var(--pink-soft); }
.room-tile strong { display: block; margin-bottom: .1rem; }
.room-tile span { font-size: .95rem; color: var(--ink-2); }
.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .method { grid-template-columns: 1fr 1fr; } }
.method li h3 { margin-bottom: .35rem; }
.method li p { margin: 0; color: var(--ink-2); }

/* Sample report */
.report { max-width: 60rem; margin-inline: auto; border-radius: var(--r-xl); padding: clamp(1.5rem, 5vw, 3rem); }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .75rem 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.report-head h3 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 .25rem; }
.report-head p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.report-summary { margin: 1.25rem 0; font-size: 1.05rem; font-weight: 600; }
.rtable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.rtable th, .rtable td { text-align: left; padding: .8rem .6rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rtable thead th { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); vertical-align: bottom; }
.rtable thead th small { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; }
.rtable tbody tr { transition: background .2s; }
.rtable tbody tr:hover { background: var(--blue-soft); }
.rtable tbody th { font-weight: 600; }
.rtable .num { font-variant-numeric: tabular-nums; }
@media (max-width: 47.99rem) {
  .rtable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .rtable, .rtable tbody, .rtable tr, .rtable th, .rtable td { display: block; }
  .rtable tr { margin-bottom: .75rem; padding: 1rem 1.1rem; border-radius: var(--r-md); background: var(--bg-soft); }
  .rtable tbody tr:hover { background: var(--blue-soft); }
  .rtable th, .rtable td { border: 0; padding: .15rem 0; }
  .rtable tbody th { margin-bottom: .35rem; font-size: 1.1rem; }
  .rtable td { display: flex; justify-content: space-between; gap: 1rem; }
  .rtable td::before { content: attr(data-label); color: var(--ink-2); }
}
.report h4 { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin: 2rem 0 .75rem; }
.report-todo { margin: 0; padding-left: 1.2rem; }
.report-todo li { margin-bottom: .45rem; }
.report-foot { margin: 1.5rem 0 0; font-size: .85rem; color: var(--ink-2); }

/* Floor-plan demo: rounded room tiles that pop on hover */
.demo { display: grid; gap: 1.5rem; }
@media (min-width: 60rem) { .demo { grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; } }
.plan { display: grid; grid-template-columns: repeat(12, 1fr); gap: .6rem; padding: .6rem; background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); }
.room { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: .5rem; min-height: 7.5rem; padding: .9rem; margin: 0; border: 0; border-radius: 22px; font: inherit; color: var(--ink); text-align: left; cursor: pointer; appearance: none; -webkit-appearance: none; transition: transform .45s var(--spring), box-shadow .3s var(--ease); }
.room > * { position: relative; z-index: 1; }
.room:hover { transform: scale(1.04); z-index: 2; box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.room-name { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.room-level { align-self: flex-start; padding: .1rem .55rem; border-radius: 99px; background: rgba(255,255,255,.85); font-size: .76rem; font-weight: 600; line-height: 1.6; white-space: nowrap; }
.room-icon { position: absolute; right: .6rem; bottom: .55rem; width: 2.8rem; height: 2.8rem; z-index: 0; transition: transform .5s var(--spring); }
.room-icon svg { width: 100%; height: 100%; display: block; }
.room:hover .room-icon, .room.is-active .room-icon { transform: rotate(-12deg) scale(1.2); }
.lvl-good { background: var(--good-bg); }
.lvl-fair { background: var(--fair-bg); }
.lvl-attn { background: var(--attn-bg); }
/* Dotted texture on the highest level, so it never depends on colour alone. */
.lvl-attn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background-image: radial-gradient(rgba(176,42,55,.18) 1.4px, transparent 1.6px); background-size: 12px 12px; }
.room.is-active { box-shadow: 0 0 0 3px var(--ink), 0 14px 30px rgba(0,0,0,.1); }
.room:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.room--bedroom { grid-column: 1 / 7;  grid-row: 1; }
.room--bath    { grid-column: 7 / 13; grid-row: 1; }
.room--nursery { grid-column: 1 / 7;  grid-row: 2; }
.room--office  { grid-column: 7 / 13; grid-row: 2; }
.room--living  { grid-column: 1 / 7;  grid-row: 3; }
.room--kitchen { grid-column: 7 / 13; grid-row: 3; }
@media (min-width: 40rem) {
  .room { min-height: 9.5rem; padding: 1rem; }
  .room--bedroom { grid-column: 1 / 4; }
  .room--bath    { grid-column: 4 / 7; }
  .room--nursery { grid-column: 7 / 10; grid-row: 1; }
  .room--office  { grid-column: 10 / 13; grid-row: 1; }
  .room--living  { grid-column: 1 / 8; grid-row: 2; min-height: 11rem; }
  .room--kitchen { grid-column: 8 / 13; grid-row: 2; min-height: 11rem; }
}
.legend { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; font-size: .9rem; }
.legend li { display: flex; align-items: center; gap: .45rem; padding: .3rem .75rem .3rem .4rem; border-radius: 99px; background: #fff; }
.swatch { position: relative; width: 1.1rem; height: 1.1rem; border-radius: 50%; overflow: hidden; }
.swatch.lvl-attn::before { border-radius: 50%; background-size: 6px 6px; }
.demo-hint { margin: .75rem 0 0; font-size: .9rem; color: var(--ink-2); }
.plan-detail { border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2rem); }
.plan-detail h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-bottom: .5rem; font-size: 1.6rem; }
.plan-note { margin-bottom: 1rem; color: var(--ink-2); }
.readings { list-style: none; margin: 0 0 1rem; padding: 0; }
.readings li { display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem; align-items: center; padding: .7rem .85rem; margin-bottom: .45rem; border-radius: var(--r-sm); background: var(--bg-soft); transition: transform .35s var(--spring), background .2s; }
.readings li:hover { transform: translateX(4px); background: var(--blue-soft); }
.r-name { font-weight: 600; }
.r-name small { display: block; font-weight: 400; font-size: .82rem; color: var(--ink-2); }
.r-val { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.r-val small { display: block; font-weight: 400; font-size: .76rem; color: var(--ink-2); }
.r-chip { grid-column: 2; justify-self: end; }
.plan-action { margin: 0; padding: .9rem 1rem; border-radius: var(--r-sm); background: var(--pink-soft); }

/* ---------- Booking ---------- */
.book-section { background: var(--bg-soft); padding-block: 2rem clamp(4rem, 9vw, 6rem); }
.book-wrap { max-width: 46rem; }
.progress { display: flex; gap: .5rem; list-style: none; margin: 0 0 1.75rem; padding: .4rem; border-radius: 99px; background: #fff; box-shadow: var(--shadow); font-size: .88rem; }
.progress li { flex: 1; padding: .55rem .5rem; border-radius: 99px; text-align: center; color: var(--ink-2); font-weight: 500; transition: background .3s var(--ease), color .3s; }
.progress .is-done { color: var(--blue-deep); }
.progress .is-current { background: var(--ink); color: #fff; font-weight: 600; }
.progress span { display: none; }
@media (min-width: 32rem) { .progress span { display: inline; } }
.step-label { font-size: .95rem; font-weight: 600; color: var(--pink-deep); margin: 0 0 1rem; letter-spacing: -0.01em; }
.fieldset-block { margin: 0 0 1.25rem; padding: clamp(1.5rem, 4vw, 2rem); border-radius: var(--r-lg); background: #fff; }
.fieldset-block > h2 { font-size: 1.45rem; margin-bottom: 1.25rem; display: flex; align-items: center; gap: .6rem; }
.fieldset-block > h2 .dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--pink); }
.fieldset-block:nth-of-type(even) > h2 .dot { background: var(--blue); }
.field { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field > label, .group-label { display: block; font-weight: 600; margin: 0 0 .45rem; }
.group-label .opt, .field > label .opt { font-weight: 400; color: var(--ink-2); }
.hint { display: block; font-size: .9rem; color: var(--ink-2); margin: -.2rem 0 .5rem; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="number"], .field input[type="date"], .field select, .field textarea {
  display: block; width: 100%; min-height: 3.1rem; padding: .7rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 2px solid transparent; border-radius: var(--r-sm); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:hover, .field select:hover, .field textarea:hover { background: #ededf0; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 5px var(--blue-soft); }
.field [aria-invalid="true"] { border-color: #f2a2ac; background: #fff7f8; }
.field-error { margin: .45rem 0 0; color: var(--attn-ink); font-weight: 600; font-size: .92rem; }
.two-up { display: grid; gap: 0 1rem; }
.two-up .field { margin-bottom: 1.25rem; }
@media (min-width: 36rem) { .two-up { grid-template-columns: 1fr 1fr; } }
.choice-grid { display: grid; gap: .65rem; }
@media (min-width: 36rem) { .choice-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; background: var(--bg-soft); border: 2px solid transparent; border-radius: var(--r-md); cursor: pointer; transition: transform .35s var(--spring), background .2s, border-color .2s; }
.choice:hover { transform: translateY(-2px); background: #ededf0; }
.choice:has(input:checked) { background: var(--blue-soft); border-color: var(--blue); }
.choice:has(input:focus-visible) { outline: 3px solid var(--blue-deep); outline-offset: 2px; }
.choice input { flex: none; width: 1.2rem; height: 1.2rem; margin: 0; accent-color: var(--blue-deep); }
.choice-icon { flex: none; width: 2.6rem; height: 2.6rem; transition: transform .45s var(--spring); }
.choice:hover .choice-icon, .choice:has(input:checked) .choice-icon { transform: rotate(-10deg) scale(1.1); }
.choice-title { display: block; font-weight: 600; line-height: 1.3; }
.choice-meta { display: block; font-size: .88rem; color: var(--ink-2); }
.error-summary { margin: 0 0 1.25rem; padding: 1.25rem 1.5rem; border-radius: var(--r-lg); background: var(--attn-bg); }
.error-summary h2 { font-size: 1.15rem; margin-bottom: .5rem; color: var(--attn-ink); }
.error-summary ul { margin: 0; padding-left: 1.2rem; }
.error-summary a { color: var(--attn-ink); text-decoration: underline; }
.actions { display: flex; flex-direction: column-reverse; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 32rem) { .actions { flex-direction: row; justify-content: space-between; align-items: center; } }

.step-card { padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: var(--r-xl); background: #fff; }
.step-card > h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); }
.summary { margin: 0 0 2rem; padding: .35rem; background: var(--bg-soft); border-radius: var(--r-lg); }
.summary div { display: grid; gap: .1rem; padding: .8rem 1rem; border-radius: var(--r-sm); transition: background .2s; }
.summary div:hover { background: #fff; }
.summary dt { font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.summary dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
@media (min-width: 36rem) { .summary div { grid-template-columns: 10rem 1fr; gap: 1.5rem; } }

/* [PAYMENT]: replace this whole box with the payment form when a processor is connected. */

.done-art { width: min(15rem, 70%); margin: 0 auto 1rem; }
.confirm-head { text-align: center; }
.next-steps { list-style: none; counter-reset: n; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.next-steps li { counter-increment: n; display: flex; gap: .8rem; align-items: center; padding: .75rem 1rem; border-radius: var(--r-md); background: var(--pink-soft); }
.next-steps li:nth-child(2) { background: var(--blue-soft); }
.next-steps li::before { content: counter(n); flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: #fff; font-weight: 700; font-size: .9rem; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 3.5rem 2rem; background: var(--bg-soft); font-size: .92rem; color: var(--ink-2); }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 44rem) { .footer-grid { grid-template-columns: 1.5fr 1.2fr 1fr; gap: 3rem; } }
.footer-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .35rem; }
.site-footer p { margin: 0 0 .35rem; }
.site-footer address { font-style: normal; }
.site-footer a { color: var(--ink); }
.footer-nav { display: flex; flex-direction: column; gap: .4rem; }
.footer-legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid #d8d8dd; font-size: .82rem; }
.footer-legal p { margin: 0 0 .25rem; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .05s; } .js .reveal.d2 { transition-delay: .1s; } .js .reveal.d3 { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .site-footer, .btn, .bubbles, .progress, .page-head .family, .skip-link { display: none !important; }
  .page-head { padding: 0 0 1rem; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Families: babies, parents and grandparents ---------- */
.family { display: flex; justify-content: center; align-items: flex-end; margin: 0 auto 1.5rem; }
.family .face-art { width: 4.1rem; margin: 0 -.35rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.06)); }
.family .m-elder { width: 3.9rem; }
.family .m-baby { width: 3.3rem; z-index: 1; }
.family .face-art:hover { transform: translateY(-10px) rotate(-6deg) scale(1.1); }
/* Hovering the panel or header makes the family hop one after another. */
.cta-panel:hover .family .face-art, .page-head:hover .family .face-art { animation: hop .7s var(--spring); }
.family .face-art:nth-child(2) { animation-delay: .08s !important; }
.family .face-art:nth-child(3) { animation-delay: .16s !important; }
.family .face-art:nth-child(4) { animation-delay: .24s !important; }
.family .face-art:nth-child(5) { animation-delay: .32s !important; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-14px) rotate(-4deg); } }
@media (min-width: 40rem) {
  .family .face-art { width: 5.4rem; }
  .family .m-elder { width: 5rem; }
  .family .m-baby { width: 4.3rem; }
}
.package--house .package-art { gap: .5rem; }
.package-art .m-side { width: 5.4rem; align-self: flex-end; margin-bottom: 1.9rem; }
.package--house .package-art .house-art { width: 7rem; }
.lift:hover .m-side { transform: translateY(-8px) rotate(6deg); }

/* ---------- Family in front of their home ---------- */
.cta-home { max-width: 24rem; margin: -1rem auto 1rem; }
.home-scene { display: block; width: 100%; height: auto; }
.home-scene .scene-family { animation: float 6s ease-in-out infinite; }
.home-scene .scene-baby { transform-box: fill-box; transform-origin: center; transition: transform .5s var(--spring); }
.home-scene .scene-stars path { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.home-scene .scene-stars path:nth-child(2) { animation-delay: -1.5s; }
.home-scene .scene-hearts { opacity: 0; transform-box: fill-box; transform-origin: center bottom; transform: translateY(12px) scale(.5); transition: opacity .3s, transform .5s var(--spring); }
.cta-panel:hover .home-scene .scene-hearts { opacity: 1; transform: none; }
.cta-panel:hover .home-scene .scene-baby { transform: translateY(-4px) rotate(-4deg); }
.head-scene { max-width: 22rem; margin: -1.5rem auto .5rem; }
.head-scene .home-scene circle:first-child { fill: var(--blue-soft); }
.page-head:hover .home-scene .scene-hearts { opacity: 1; transform: none; }
.page-head:hover .home-scene .scene-baby { transform: translateY(-4px) rotate(-4deg); }

/* Family scene in the home hero: soft blue circle, reacts to hover or tap. */
.hero-scene { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-scene > circle:first-of-type { fill: var(--blue-soft); transform-box: fill-box; transform-origin: center; transition: transform .6s var(--spring), fill .4s; }
.hero-scene:hover > circle:first-of-type, .hero-scene.awake > circle:first-of-type { transform: scale(1.04); fill: var(--pink-soft); }
.hero-scene:hover .scene-hearts, .hero-scene.awake .scene-hearts { opacity: 1; transform: none; }
.hero-scene:hover .scene-baby, .hero-scene.awake .scene-baby { transform: translateY(-4px) rotate(-4deg); }

/* The sleeping baby now lives on the Baby Room package card. */
.package-art { height: auto; min-height: 11rem; padding: .75rem 1rem; }
.package-art .baby-art { width: 13.5rem; }
.package--baby:hover .baby-art .eyes-closed, .package--baby:hover .baby-art .mouth-sleep, .package--baby:hover .baby-art .zzz { opacity: 0; }
.package--baby:hover .baby-art .eyes-open, .package--baby:hover .baby-art .mouth-awake { opacity: 1; }
.package--baby:hover .baby-art .hearts { opacity: 1; transform: none; }
.package--baby:hover .baby-art .art-blob { transform: scale(1.04); fill: #fff; }

/* ---------- Sample report from the app{ max-width: 58rem; margin-inline: auto; }
/* The sample report's pages are pictures of the real report{ padding: clamp(.75rem, 3vw, 2rem); min-height: 0; background: var(--paper-soft, #f5f5f7); }

@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Interactive heatmap: 2D plan and 3D house ---------- */
.hm-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.hm-seg, .hm-metrics { display: flex; gap: .3rem; padding: .3rem; border-radius: 99px; background: #fff; box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.hm-seg button, .hm-metrics button { flex: none; padding: .5rem 1rem; border: 0; border-radius: 99px; background: transparent; color: var(--ink-2); font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, transform .35s var(--spring); }
.hm-seg button:hover, .hm-metrics button:hover { background: var(--bg-soft); color: var(--ink); transform: translateY(-1px); }
.hm-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.hm-metrics button[aria-pressed="true"] { background: var(--blue-soft); color: var(--blue-deep); }

.hm-2d { position: relative; aspect-ratio: 12 / 7.4; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); padding: 0; }
.hm-2d canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; }
.hm-room { position: absolute; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: clamp(.35rem, 1.4vw, .75rem); margin: 0; border: 0; border-radius: 16px; background: transparent; font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: box-shadow .25s, background .25s; }
.hm-room:hover { background: rgba(255,255,255,.18); }
.hm-room.is-active { box-shadow: inset 0 0 0 3px var(--ink); }
.hm-room:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: -3px; }
.hm-room-name { font-weight: 700; font-size: clamp(.7rem, 1.6vw, .95rem); letter-spacing: -0.01em; line-height: 1.15; }
.hm-room-val { padding: .05rem .5rem; border-radius: 99px; background: rgba(255,255,255,.88); font-size: clamp(.64rem, 1.4vw, .78rem); font-weight: 600; white-space: nowrap; }
.hm-room-icon { position: absolute; right: .45rem; bottom: .4rem; width: clamp(1.4rem, 4vw, 2.4rem); height: clamp(1.4rem, 4vw, 2.4rem); transition: transform .5s var(--spring); }
.hm-room-icon svg { width: 100%; height: 100%; display: block; }
.hm-room:hover .hm-room-icon, .hm-room.is-active .hm-room-icon { transform: rotate(-12deg) scale(1.15); }
.hm-pt { position: absolute; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); cursor: pointer; z-index: 2; transition: transform .3s var(--spring); }
.hm-pt:hover { transform: scale(1.5); }
.hm-tip { position: absolute; z-index: 10; transform: translate(-50%, calc(-100% - 12px)); padding: .35rem .7rem; border-radius: 10px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; pointer-events: none; }

.hm-3d { position: relative; height: clamp(19rem, 58vw, 27rem); overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); perspective: 1400px; perspective-origin: 50% 25%; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hm-3d.is-dragging { cursor: grabbing; }
.hm-3d:focus-visible { outline: 3px solid var(--blue-deep); outline-offset: 3px; }
.h3d-scene { position: absolute; left: 50%; top: 56%; transform-style: preserve-3d; }
.h3d-scene.is-animated { transition: transform 1s var(--ease); }
.h3d-floor { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; background: var(--bg-soft); box-shadow: 0 30px 60px rgba(38,103,168,.18); }
.h3d-room { position: absolute; padding: 9px; margin: 0; border: 0; border-radius: 14px; background: transparent; font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); text-align: left; display: flex; align-items: flex-start; cursor: pointer; transition: background .25s, box-shadow .25s; }
.h3d-room:hover { background: rgba(255,255,255,.2); }
.h3d-room.is-active { box-shadow: inset 0 0 0 3px var(--ink); }
.h3d-wall { position: absolute; height: 34px; transform-origin: 0 0; background: rgba(255,255,255,.88); border: 1.5px solid rgba(127,182,234,.8); border-radius: 3px 3px 0 0; pointer-events: none; }
.h3d-col { position: absolute; width: 0; height: 0; transform-style: preserve-3d; cursor: pointer; }
.h3d-bar { position: absolute; width: 14px; transform-origin: 0 0; border-radius: 3px; transition: height .6s var(--spring), background .4s; }
.h3d-bar.a { left: -7px; top: 0; transform: rotateX(90deg); }
.h3d-bar.b { left: 0; top: -7px; transform: rotateZ(90deg) rotateX(90deg); }
.h3d-cap { position: absolute; left: -11px; top: -11px; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .6s var(--spring), background .4s; }
.h3d-hint { position: absolute; left: 12px; top: 12px; z-index: 5; padding: .3rem .75rem; border-radius: 99px; background: var(--bg-soft); color: var(--ink-2); font-size: .8rem; font-weight: 600; pointer-events: none; }
.h3d-ctrl { position: absolute; right: 12px; bottom: 12px; z-index: 5; display: flex; gap: .35rem; }
.h3d-ctrl button { min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; border: 0; border-radius: 99px; background: #fff; box-shadow: var(--shadow); font: inherit; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; transition: transform .35s var(--spring), background .25s; }
.h3d-ctrl button:hover { transform: translateY(-2px); background: var(--blue-soft); }

.hm-scale { margin-top: 1rem; }
.hm-bar { position: relative; height: .7rem; border-radius: 99px; }
.hm-bar i { position: absolute; top: -.25rem; bottom: -.25rem; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--ink); }
.hm-ticks { display: flex; justify-content: space-between; gap: .5rem; margin-top: .4rem; font-size: .8rem; color: var(--ink-2); }
.hm-limit { font-weight: 600; color: var(--ink); text-align: center; }
.hm-scale.is-compact { margin-top: .5rem; }
.hm-scale.is-compact .hm-bar { height: .45rem; }
.hm-scale.is-compact .hm-ticks { font-size: .68rem; }
.readings li.is-current { background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--blue-deep); }

/* Room names float just above the walls, so they're never hidden behind one. */
.h3d-room { transform-style: preserve-3d; align-items: center; justify-content: center; }
.h3d-label { transform: translateZ(40px); padding: .15rem .6rem; border-radius: 99px; background: rgba(255,255,255,.92); box-shadow: 0 2px 8px rgba(0,0,0,.08); white-space: nowrap; pointer-events: none; }
.h3d-room.is-active .h3d-label { background: var(--ink); color: #fff; }

/* ---------- Home: heatmap preview ---------- */
.hp-card { padding: clamp(1rem, 3vw, 1.5rem); }
.hp-card .hm-metrics { margin: 0 auto 1rem; width: fit-content; flex-wrap: wrap; justify-content: center; overflow: visible; border-radius: 22px; }
.hp-card .hm-metrics button { padding: .45rem .8rem; font-size: .86rem; }
.hp-plan { position: relative; aspect-ratio: 12 / 7.4; border-radius: var(--r-md, 18px); overflow: hidden; background: var(--bg-soft); }
.hp-plan canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-room { position: absolute; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(.3rem, 1.2vw, .6rem); font-size: clamp(.62rem, 1.5vw, .8rem); color: var(--ink); pointer-events: none; }
.hp-room b { font-weight: 600; line-height: 1.15; }
.hp-val { align-self: flex-start; padding: .1rem .45rem; border-radius: 99px; background: rgba(255,255,255,.85); font-weight: 600; white-space: nowrap; }
.hp-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: .9rem; }
.hp-foot .hm-legend { flex: 1 1 16rem; }
.hp-note { margin: .4rem 0 0; font-size: .8rem; color: var(--ink-2); }
.hp-modes { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; padding: 0; list-style: none; }
.hp-modes li { padding: .45rem .9rem; border-radius: 99px; background: var(--blue-soft); color: var(--blue-deep); font-size: .9rem; font-weight: 600; }
.hp-modes li:nth-child(2) { background: var(--pink-soft); color: var(--pink-deep); }
@media (max-width: 30rem) { .hp-room b { font-size: .6rem; } .hp-val { font-size: .58rem; padding: .05rem .3rem; } }

/* The heatmap preview inside "What we measure", between the five cards and the add-ons. */
.hp-in-measure { margin-top: clamp(4rem, 9vw, 6.5rem); }

/* On phones the family scene stays small, so the heatmap below comes into view sooner. */
@media (max-width: 51.99rem) {
  .hero-grid { gap: 1.25rem; }
  .hero .art-wrap { max-width: 13rem; }
  .hero .art-hint { margin-top: .1rem; font-size: .8rem; }
}

/* "Try the heatmap" in the home hero: baby pink, jumps down to the heatmap. */
.btn-heat { background: var(--pink-soft); color: #7a1f47; }
.btn-heat:hover .arrow-down { transform: translateY(3px); }

/* Heatmap demo: the test points and what to do follow the room panel on a phone, and sit under the plan on wide
   screens, so the two columns come out about the same height. */
.plan-spots { margin: 0 0 1rem; }
.plan-extra:empty { display: none; }
@media (min-width: 60rem) {
  .demo { grid-template-rows: auto 1fr; }
  .demo > :first-child { grid-column: 1; grid-row: 1; }
  .demo > .plan-detail { grid-column: 2; grid-row: 1 / span 2; }
  .demo > .plan-extra { grid-column: 1; grid-row: 2; }
}

/* Every room's score under the heatmap, worst first; each one picks that room. */
.room-scores { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .35rem; }
.room-scores-title { margin: 0 0 .25rem; font-size: .95rem; }
.room-score { display: grid; grid-template-columns: minmax(7.5rem, auto) 1fr 3.2rem; align-items: center; gap: .75rem; width: 100%; padding: .4rem .6rem; border: 0; border-radius: var(--r-sm); background: transparent; font: inherit; font-size: .9rem; color: var(--ink); text-align: left; cursor: pointer; transition: background .2s; }
.room-score:hover, .room-score.is-active { background: #fff; }
.room-score.is-active { font-weight: 700; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.room-score-bar { height: .5rem; border-radius: 99px; background: rgba(0,0,0,.07); overflow: hidden; }
.room-score-bar i { display: block; height: 100%; border-radius: inherit; }
.room-score b { text-align: right; font-variant-numeric: tabular-nums; }
.room-score b small { font-weight: 400; color: var(--ink-2); }
.score-good { background: #7ccf9a; } .score-review { background: #f3c25c; } .score-action { background: #ec7f96; }
.plan-detail h3:has(.plan-title) { display: grid; grid-template-columns: 1fr auto; align-items: start; gap: .8rem; }
.plan-title { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem; }
.plan-score { font-size: 1rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan-score b { font-size: 1.6rem; color: var(--ink); }

/* Heatmap on a phone: a taller plan gives the small rooms space for their name, points and value, and the drawing
   sits between the name and the value, so it never covers either. */
@media (max-width: 39.99rem) {
  .hm-2d { aspect-ratio: 1 / 1; }
  .hm-room-icon { position: static; order: 1; align-self: flex-end; width: 1.4rem; height: 1.4rem; }
  .hm-room-val { order: 2; }
}

/* "What we measure": same cards, a little more compact. */
.measure-grid { gap: 1rem; }
.measure-card { padding: 1.35rem 1.4rem; border-radius: var(--r-md); }
.measure-card .tile { width: 2.75rem; height: 2.75rem; border-radius: 14px; margin-bottom: .8rem; }
.measure-card .tile svg { width: 1.6rem; height: 1.6rem; }
.measure-card h3 { font-size: 1.2rem; }
.measure-card .sub { font-size: .88rem; margin-bottom: .45rem; }
.measure-card p:last-child { font-size: .93rem; line-height: 1.5; }
@media (min-width: 40rem) { .measure-card { flex-basis: calc(50% - 1rem); max-width: calc(50% - .5rem); } }
@media (min-width: 64rem) { .measure-card { flex-basis: calc(33.333% - 1rem); max-width: calc(33.333% - .67rem); } }
@media (min-width: 76rem) { .measure-card { flex-basis: calc(25% - 1rem); max-width: calc(25% - .75rem); } }
@media (max-width: 39.99rem) {
  .measure-card { display: grid; grid-template-columns: auto 1fr; column-gap: .85rem; align-items: center; padding: 1.1rem 1.2rem; }
  .measure-card .tile { grid-row: span 2; margin: 0; width: 2.5rem; height: 2.5rem; }
  .measure-card h3 { margin: 0; }
  .measure-card .sub { margin: 0; }
  .measure-card p:last-child { grid-column: 1 / -1; margin-top: .6rem; }
}

/* ---------- Audit fixes ---------- */
/* Header button: "Book now" on narrow phones, the full label elsewhere. */
.lbl-short { display: none; }
@media (max-width: 25.99rem) { .lbl-short { display: inline; } .lbl-long { display: none; } }
/* Phones: a two-row header that tucks away while scrolling down. */
.site-header { transition: transform .3s var(--ease); }
.site-header.is-tucked { transform: translateY(-100%); }
@media (max-width: 43.99rem) {
  .header-row { padding-block: .45rem; gap: .25rem .75rem; }
  .brand-logo { width: 2.5rem; height: 2.5rem; }
  .brand-name { font-size: 1.25rem; }
  .nav { margin-inline: -.6rem; font-size: .92rem; }
  .nav a { padding: .45rem .7rem; }
  html { scroll-padding-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* Footer links: comfortable tap targets. */
.footer-nav { gap: 0; }
.footer-nav a, .site-footer address a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer address p { margin: 0; min-height: 2.75rem; display: flex; align-items: center; }

/* Heatmap on phones: reading buttons wrap instead of scrolling out of sight, and tiles use short names. */
.nm-short { display: none; }
@media (max-width: 39.99rem) {
  .hm-controls { justify-content: center; }
  .hm-metrics { flex-wrap: wrap; justify-content: center; overflow: visible; border-radius: 22px; }
  .hm-metrics button { padding: .45rem .8rem; font-size: .86rem; }
  .nm-full { display: none; } .nm-short { display: inline; }
}
@media (max-width: 24.99rem) { .hm-room-icon { display: none; } }
/* Under the plan on phones: which room is shown, with a jump to its readings. */
.plan-peek { display: none; }
@media (max-width: 59.99rem) {
  .plan-peek { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .75rem; margin: .75rem 0 0; padding: .7rem 1rem; border-radius: var(--r-sm); background: #fff; box-shadow: var(--shadow); color: var(--ink); font-size: .95rem; }
  .plan-peek:hover { text-decoration: none; }
  .plan-peek > span:first-child { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; }
  .plan-peek-go { color: var(--blue-deep); font-weight: 600; white-space: nowrap; }
}
/* Room list: the label sits at the end of each row. */
.room-score { grid-template-columns: minmax(7.5rem, auto) 1fr auto; }
.room-score b { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.room-scores-note { margin: -.5rem 0 1rem; }
.plan-score { font-size: .85rem; white-space: normal; text-align: right; line-height: 1.3; max-width: 8.5rem; }
.plan-score b { display: block; font-size: 1.15rem; }

/* What we measure, on phones: six cards, then a button for the rest. */
.measure-more { display: none; }
@media (max-width: 39.99rem) {
  .measure-grid.is-collapsed .measure-card:nth-child(n+7) { display: none; }
  .measure-more { display: flex; justify-content: center; margin-top: 1.25rem; }
}

/* Booking form notes. */
.form-note { margin: -.25rem 0 1.25rem; }
.field-note { margin: .4rem 0 0; padding: .55rem .8rem; border-radius: var(--r-sm); background: #fff6db; color: #6b4e00; font-size: .9rem; }
.field-zip input { max-width: 12rem; }
.pay-note { margin: 1.5rem 0 1rem; padding: 1.1rem 1.3rem; border-radius: var(--r-md); background: var(--blue-soft); }
.pay-note h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.pay-note p { margin: 0; color: var(--ink-2); }

/* FAQ. */
.faq-wrap { max-width: 50rem; }
.faq { display: grid; gap: .6rem; }
.faq details { background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 3rem; padding: 1rem 1.25rem; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--blue-soft); color: var(--blue-deep); font-size: 1.2rem; font-weight: 700; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--ink-2); }
.faq details:target { outline: 3px solid var(--blue-mid); }

/* ---------- Technician at work (About, methodology) ---------- */
/* Same flat cartoon style as the family and baby scenes. The arm sweeps, air drifts into the sensor,
   and the meter's screen steps through six readings, one every two seconds. */
.tech-wrap { max-width: 26rem; margin: -1rem auto 2rem; }
.tech-scene { display: block; width: 100%; height: auto; }
.tech-scene text { font-family: var(--font); }
.tech-scene .tech-body { animation: float 6s ease-in-out infinite; }
.tech-scene .tech-arm { transform-box: view-box; transform-origin: 188px 226px; animation: tech-scan 4s ease-in-out infinite; }
.tech-scene .tech-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.tech-scene .tech-stars path { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.tech-scene .tech-stars path:nth-child(2) { animation-delay: -1.5s; }
.tech-scene .tech-zzz text { animation: zz 3s ease-in-out infinite; }
.tech-scene .tech-zzz text:nth-child(2) { animation-delay: .4s; }
.tech-scene .tech-zzz text:nth-child(3) { animation-delay: .8s; }
.tech-scene .tech-waves path { animation: tech-wave 2s ease-out infinite; }
.tech-scene .tech-waves path:nth-child(2) { animation-delay: .35s; }
.tech-scene .tech-led { transform-box: fill-box; transform-origin: center; animation: tech-led 2s ease-in-out infinite; }
.tech-scene .tech-air circle { transform-box: fill-box; transform-origin: center; opacity: 0; animation: tech-air 3.2s ease-in infinite; }
.tech-scene .tech-air circle:nth-child(2) { animation-delay: -.7s; }
.tech-scene .tech-air circle:nth-child(3) { animation-delay: -1.4s; }
.tech-scene .tech-air circle:nth-child(4) { animation-delay: -2.1s; }
.tech-scene .tech-air circle:nth-child(5) { animation-delay: -2.7s; }
.tech-scene .tech-pt-ring { transform-box: fill-box; transform-origin: center; animation: tech-pulse 2.4s ease-out infinite; }
.tech-scene .tech-pt-b .tech-pt-ring { animation-delay: -1.2s; }
/* Screen readings: each shows for two seconds of a twelve-second loop. Without motion, the first stays on. */
.tech-scene .tech-read { opacity: 0; animation: tech-read 12s linear infinite; }
.tech-scene .tech-read:nth-child(1) { opacity: 1; }
.tech-scene .tech-read:nth-child(2) { animation-delay: -10s; }
.tech-scene .tech-read:nth-child(3) { animation-delay: -8s; }
.tech-scene .tech-read:nth-child(4) { animation-delay: -6s; }
.tech-scene .tech-read:nth-child(5) { animation-delay: -4s; }
.tech-scene .tech-read:nth-child(6) { animation-delay: -2s; }
/* Hover: the baby is happy with the results. */
.tech-scene .tech-hearts { opacity: 0; transform-box: fill-box; transform-origin: center bottom; transform: translateY(12px) scale(.5); transition: opacity .3s, transform .5s var(--spring); }
.tech-scene .tech-zzz { transition: opacity .25s; }
.tech-wrap:hover .tech-hearts { opacity: 1; transform: none; }
.tech-wrap:hover .tech-zzz { opacity: 0; }
@keyframes tech-scan { 0%, 100% { transform: rotate(0deg); } 35% { transform: rotate(-9deg); } 70% { transform: rotate(4deg); } }
@keyframes tech-wave { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }
@keyframes tech-led { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.8); } }
@keyframes tech-air { 0% { opacity: 0; transform: translate(0, 0) scale(1); } 25% { opacity: .9; } 85% { opacity: .6; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4); } }
@keyframes tech-pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes tech-read { 0% { opacity: 0; transform: translateY(3px); } 2%, 14.5% { opacity: 1; transform: none; } 16.5%, 100% { opacity: 0; transform: none; } }
@media (max-width: 39.99rem) { .tech-wrap { margin: -1.5rem auto 1.25rem; } }

/* ---------- Motto: "Wellness analytics" under the name ---------- */
.brand-text { display: inline-flex; flex-direction: column; gap: .3rem; }
.brand-motto { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1; color: var(--ink-2); padding-left: .05rem; }
.site-footer .footer-motto { margin: -.15rem 0 .5rem 3.05rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
@media (max-width: 43.99rem) { .brand-text { gap: .22rem; } .brand-motto { font-size: .58rem; letter-spacing: .12em; } }

/* Hero: "Full Sample Report" button, in the heatmap's soft mint. */
.btn-report { background: #e3f5ea; color: #1d5c39; }
.btn-report:hover { background: #cdeedb; color: #1d5c39; box-shadow: 0 12px 28px rgba(124,207,154,.4); }
.btn-icon { width: 1.15rem; height: 1.15rem; flex: none; transition: transform .35s var(--spring); }
.btn:hover .btn-icon { transform: rotate(-8deg) scale(1.1); }

/* ---------- Sample report page: all 88 pages in one long scroll ---------- */
.report-bar { position: sticky; top: var(--hdr-h, 4.1rem); z-index: 40; background: rgba(245,245,247,.86); -webkit-backdrop-filter: saturate(180%) blur(16px); backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(0,0,0,.06); transition: top .3s var(--ease); }
.site-header.is-tucked ~ main .report-bar { top: 0; }
.report-bar-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .55rem; }
.report-jump { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.report-jump-label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.report-jump select { min-width: 0; max-width: 100%; min-height: 2.6rem; padding: .45rem 2.3rem .45rem 1rem; border: 0; border-radius: 99px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d1d1f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .95rem center / .7rem; box-shadow: var(--shadow); color: var(--ink); font: inherit; font-size: .95rem; font-weight: 600; -webkit-appearance: none; appearance: none; cursor: pointer; }
.report-jump select:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 2px; }
.report-count { margin: 0; font-size: .92rem; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.report-count b { color: var(--ink); }
.report-scroll { padding-block: 2rem 1rem; background: var(--bg-soft); }
.report-pages { display: grid; gap: 2rem; max-width: 52rem; margin: 0 auto; }
.report-page { margin: 0; }
.report-page img { display: block; width: 100%; height: auto; aspect-ratio: 1100 / 1555; border-radius: var(--r-md); background: #fff; box-shadow: 0 10px 34px rgba(30,60,110,.10), 0 2px 6px rgba(0,0,0,.04); opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.report-page.is-loaded img, html:not(.js) .report-page img { opacity: 1; transform: none; }
.report-page figcaption { margin-top: .6rem; text-align: center; font-size: .85rem; color: var(--ink-2); }
.report-page[data-section] { scroll-margin-top: 1rem; }
.report-end { margin: 2rem auto 0; text-align: center; }
@media (max-width: 39.99rem) {
  .report-jump-label { display: none; }
  .report-jump select { font-size: .9rem; padding-left: .85rem; }
  .report-count { font-size: .85rem; }
  .report-pages { gap: 1.25rem; }
  .report-page img { border-radius: var(--r-sm); }
}
@media (prefers-reduced-motion: reduce) { .report-page img { opacity: 1; transform: none; } }

/* About: a preview that leads to the Sample report page. */
.report-teaser { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 52rem) { .report-teaser { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; } }
.report-teaser .btn-row { margin-top: 1.5rem; }
.report-teaser-cover { display: block; max-width: 22rem; margin: 0 auto; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 18px 44px rgba(30,60,110,.16); transform: rotate(2deg); transition: transform .5s var(--spring), box-shadow .3s; }
.report-teaser-cover:hover { transform: rotate(0) translateY(-6px); box-shadow: 0 24px 56px rgba(30,60,110,.22); }
.report-teaser-cover img { display: block; width: 100%; height: auto; }
/* Four menu items on one line, even on small phones. */
.nav a { white-space: nowrap; }
@media (max-width: 24.99rem) { .nav { font-size: .88rem; gap: .2rem; } .nav a { padding: .45rem .55rem; } }
/* Page-head content sits above its decorative bubbles. */
.page-head > .wrap { position: relative; z-index: 1; }

/* Sample report: the app's results page and floor plan, before the full report. */
.report-app { padding-block: 2.5rem 0; background: var(--bg-soft); }
.report-part { max-width: 52rem; margin: 0 auto 1.25rem; scroll-margin-top: 1rem; }
.report-part h2 { margin: .1rem 0 .4rem; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.report-part p:last-child { margin: 0; color: var(--ink-2); }
#full-report { margin-top: 3rem; margin-bottom: 0; }
.app-shot { max-width: 64rem; margin: 0 auto 3rem; }
.app-shot-frame { overflow: hidden; border-radius: var(--r-lg); background: #fff; box-shadow: 0 18px 50px rgba(30,60,110,.14), 0 2px 6px rgba(0,0,0,.04); }
.app-shot-frame img { display: block; width: 100%; height: auto; }
.app-shot-phone { display: none; max-width: 24rem; margin: 0 auto; border-radius: 2rem; border: 8px solid #1d1d1f; }
.app-shot figcaption { margin-top: .75rem; text-align: center; font-size: .85rem; color: var(--ink-2); }
@media (max-width: 39.99rem) {
  .app-shot-desktop { display: none; }
  .app-shot-phone { display: block; border-width: 6px; border-radius: 1.6rem; }
  .app-shot { margin-bottom: 2.25rem; }
}

/* Sample report: the live app in a frame. */
.app-live { max-width: 72rem; margin: 0 auto 1rem; }
.app-live iframe { display: block; width: 100%; height: min(860px, 85vh); border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: 0 18px 50px rgba(30,60,110,.14), 0 2px 6px rgba(0,0,0,.04); }
.app-live figcaption { margin-top: .75rem; text-align: center; font-size: .9rem; color: var(--ink-2); }
.app-live figcaption a { font-weight: 600; }
@media (max-width: 39.99rem) { .app-live iframe { height: 78vh; border-radius: var(--r-md); } }

/* Sample report tab: the live app is the page, filling the screen under the site header. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.app-page-frame { display: block; width: 100%; height: calc(100vh - var(--hdr-h, 66px)); height: calc(100dvh - var(--hdr-h, 66px)); border: 0; background: #fff; }
/* The header stays put here, since the app scrolls inside its own area. */
.app-page ~ * .site-header, body:has(.app-page) .site-header.is-tucked { transform: none; }

/* Every card reacts on hover: the ones that didn't yet. */
.plan-detail, .faq details, .pay-note, .plan-peek, .cta-panel, .room-tile { transition: transform .45s var(--spring), box-shadow .35s var(--ease), outline-color .3s; outline: 2px solid transparent; outline-offset: 0; }
.plan-detail:hover, .faq details:hover, .pay-note:hover, .plan-peek:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); outline-color: var(--blue-mid); }
.room-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cta-panel:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(30,60,110,.12); }
.faq details:hover summary::after { transform: scale(1.15); }
.faq details[open]:hover summary::after { transform: rotate(45deg) scale(1.15); }
.faq details:target:hover { outline-color: var(--blue-mid); }
@media (prefers-reduced-motion: reduce) {
  .plan-detail:hover, .faq details:hover, .pay-note:hover, .plan-peek:hover, .room-tile:hover, .cta-panel:hover { transform: none; }
}

/* ---------- Home hero: the family at home, with Bairby the baby scientist checking the air beside them ---------- */
.hero-duo { display: grid; grid-template-columns: minmax(0, 1fr) 30%; column-gap: 3%; }
/* Off-centre and a little tilted for a bubbly feel: the family leans left, Bairby hops in from the lower right. They never touch. */
.hero-duo .hero-scene { grid-column: 1 / -1; justify-self: start; width: 88%; rotate: -2deg; }
.hero-mascot-spot { position: relative; grid-column: 2; grid-row: 2; width: 100%; margin: .5rem 0 0; }
.hero-mascot-spot::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -2%; height: 9%; border-radius: 50%; background: #d9ecff; }
.hero-mascot-spot::before { content: ""; position: absolute; left: -16%; top: 18%; width: 11%; aspect-ratio: 1; border: 3px solid #b9d6f0; border-radius: 50%; }
.hero-mascot { position: relative; z-index: 1; display: block; width: 100%; height: auto; rotate: 7deg; transform-origin: 50% 90%; animation: mascot-float 6s ease-in-out infinite; transition: rotate .5s var(--spring); }
.hero-duo:hover .hero-mascot { rotate: -4deg; }
@keyframes mascot-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .hero-mascot { animation: none; transition: none; } }
/* Bairby now stands where the big pale bubble used to drift, so on the home page that bubble moves to the gap between the columns. */
.hero:has(.hero-duo) .bubble.b3 { right: auto; left: 52%; bottom: 7%; width: 80px; height: 80px; }
.hero:has(.hero-duo) .bubble.b2 { bottom: 2.5%; }
@media (max-width: 51.99rem) { .hero:has(.hero-duo) .bubble.b3 { left: auto; right: 3%; bottom: 12%; width: 48px; height: 48px; } .hero:has(.hero-duo) .bubble.b4 { bottom: 1.5%; } }
/* "Safer Homes" under the family and "Powered by Scientific Analysis" under Bairby, as the same soft pills as the price note. */
.hero-tag { display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .4rem .9rem; border-radius: 99px; font-size: .92rem; font-weight: 500; line-height: 1.4; }
.hero-tag::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; }
.hero-tag--safer { grid-column: 1; grid-row: 2; align-self: start; justify-self: center; margin: .5rem 0 0 31%; white-space: nowrap; background: var(--pink-soft); color: #7a1f47; }
.hero-tag--safer::before { background: var(--pink); }
.hero-tag--powered { grid-column: 1 / -1; grid-row: 3; justify-self: end; max-width: 100%; margin-top: .8rem; background: var(--blue-soft); color: var(--blue-deep); }
.hero-tag--powered::before { background: var(--blue); }
@media (max-width: 51.99rem) { .hero-tag { font-size: .85rem; } .hero-tag--safer { margin-left: 0; } .hero-tag--powered { white-space: nowrap; max-width: none; } .hero-mascot-spot::before { display: none; } }
