/* Editorial finish for product pages and supporting sections.
 * First screens contain copy and download links; photography starts below them.
 * This small final layer isolates the refresh from legacy campaign styles.
 */

:root { --bt-bright-sky: #7ad4ff; --bt-sky-mint: #b7f2ff; }

/* A compact text-only introduction leaves photography to the following block. */
.product-home .care-home-hero { min-height: 0 !important; padding: 0 !important; }
.product-home .care-home-hero .hero-grid--calm { display: block; grid-template-columns: minmax(0,1fr) !important; padding-block: 72px !important; }
.product-page .page-hero--product { min-height: 0 !important; padding: 64px 0 !important; }
.product-page .page-hero__grid { display: block; grid-template-columns: minmax(0,1fr); }
.product-home .hero-copy, .product-page .page-hero__copy { display: block !important; width: 100%; max-width: 880px !important; margin-inline: auto !important; text-align: center; }
.product-home .hero-copy .eyebrow, .product-page .page-hero__copy .eyebrow { width: auto !important; text-align: center; }
.product-home .hero-copy h1, .product-page .page-hero__copy h1 { max-width: 24ch; margin-inline: auto; font-weight: 600 !important; line-height: 1.15 !important; }
.product-home .hero-copy .sub, .product-page .page-hero__copy .sub { max-width: 68ch !important; margin: 24px auto 0 !important; color: var(--bt-bg-mist) !important; }
.product-home .hero-copy .store-links, .product-page .page-hero__copy .store-links { width: 100%; justify-content: center !important; margin: 30px auto 0 !important; }
.product-page .page-hero__note { max-width: 65ch; margin-inline: auto; }
.product-home .care-home-hero .hero-grid::after, .product-page .page-hero__grid::after { display: none; }

/* Consistent section rhythm and a restrained heading hierarchy. */
:is(.product-home > .section-shell, .product-page > .section-shell) {
  min-height: 0;
  padding-block: 88px !important;
  background: var(--bt-bg-deep) !important;
}
:is(.product-home > .section-shell, .product-page > .section-shell)::before,
:is(.product-home > .section-shell, .product-page > .section-shell)::after {
  display: none !important;
}
:is(.product-home > .section-shell, .product-page > .section-shell) .section-head {
  max-width: 1180px;
  margin-bottom: 42px;
}
:is(.product-home > .section-shell, .product-page > .section-shell) .section-head h2 {
  color: var(--bt-white) !important;
  font-size: clamp(1.8rem,3.05vw,2.65rem) !important;
  font-weight: 600 !important;
  line-height: 1.22 !important;
  letter-spacing: -.035em !important;
  text-shadow: none !important;
  text-wrap: balance;
}
:is(.product-home > .section-shell, .product-page > .section-shell) .section-head::after { display: none !important; }
:is(.product-home > .section-shell, .product-page > .section-shell) .section-kicker {
  font-weight: 600;
  letter-spacing: .14em;
}
.lang-ru :is(.section-head h2, .care-card h3, .glass-card--stage h3) { hyphens: none; }

/* Quiet surfaces, fine borders and no card movement. */
.care-card {
  padding: 32px;
  background: rgba(79,127,150,.24);
  border: 1px solid rgba(79,127,150,.65);
  border-radius: 18px;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease;
}
.care-card:hover { transform: none; background: rgba(79,127,150,.36); border-color: var(--bt-sky-mint); }
.care-card__icon { display: none; }
.care-overview .care-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.care-card h3 { font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em; }
.care-card p { color: var(--bt-bg-mist); font-size: .98rem; }
.care-card__link { color: var(--bt-sky-mint); font-weight: 600; }
.product-page > .section-shell .glass-card--stage {
  padding: 30px !important;
  border: 1px solid rgba(79,127,150,.65) !important;
  border-radius: 18px !important;
  background: rgba(79,127,150,.24) !important;
  box-shadow: none !important;
  transform: none !important;
}
.product-page > .section-shell .glass-card--stage::after,
.product-page > .section-shell .glass-card--stage::before { display: none !important; }
.product-page > .section-shell .glass-card--stage h3 { font-size: 1.22rem !important; font-weight: 600 !important; line-height: 1.4 !important; }
.product-page > .section-shell .glass-card--stage p { color: var(--bt-bg-mist) !important; font-size: .98rem !important; line-height: 1.8 !important; }
.product-page > .section-shell .glass-card--stage .section-kicker { color: var(--bt-sky-mint) !important; }
.product-page > .section-shell .glass-card--stage .care-text-link { margin-top: 18px; color: var(--bt-sky-mint); }

/* The plan comparison is a clear light pause, with a sober primary action. */
:is(.product-home, .site-shell) > .section-shell--plans {
  background: var(--bt-bg-mist) !important;
}
:is(.product-home, .site-shell) > .section-shell--plans .section-head h2 { color: var(--bt-ink) !important; }
.section-shell--plans .section-head h2 { max-width: 28ch; margin-inline: auto; }
.section-shell--plans .section-head--center .section-kicker { color: var(--bt-bg-deep) !important; }
.section-shell--plans .plan-card {
  padding: 36px !important;
  border: 1px solid rgba(79,127,150,.3) !important;
  border-radius: 18px !important;
  background: var(--bt-white) !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  transform: none !important;
}
.section-shell--plans .plan-card--featured { border-color: var(--bt-bg-ocean) !important; background: var(--bt-bg-mist) !important; }
.section-shell--plans .plan-card:hover { box-shadow: none !important; transform: none !important; }
.section-shell--plans .plan-list li { color: var(--bt-ink) !important; line-height: 1.75; }
.section-shell--plans .plan-list li::before { background: var(--bt-bg-deep); box-shadow: none; }
.section-shell--plans .plan-card__cta { border-radius: 999px !important; min-height: 52px; transform: none !important; box-shadow: none !important; }
.section-shell--plans .plan-card__cta--primary { background: var(--bt-bright-sky) !important; color: var(--bt-ink) !important; }
.section-shell--plans .plan-card__cta--primary:hover { background: var(--bt-sky-mint) !important; box-shadow: none !important; transform: none !important; }
.section-shell--plans .plans-note { color: var(--bt-ink-soft); }

/* Articles retain their images and readable links, without glass or zoom. */
.article-preview-card {
  border: 1px solid rgba(79,127,150,.3) !important;
  border-radius: 18px !important;
  background: var(--bt-white) !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  transform: none !important;
}
.article-preview-card:hover { border-color: var(--bt-bg-ocean) !important; box-shadow: none !important; transform: none !important; }
.article-preview-card::before { display: none !important; }
.article-preview-card .article-preview-card__media img,
.article-preview-card:hover .article-preview-card__media img { transform: none !important; }
.article-preview-card .article-preview-card__body { padding: 26px !important; gap: 14px !important; }
.article-preview-card h2, .article-preview-card h3 { font-weight: 600 !important; line-height: 1.45 !important; }
.article-preview-card .article-preview-card__footer a { justify-content: space-between !important; border: 0 !important; border-radius: 0 !important; padding: 8px 0 !important; background: none !important; color: var(--bt-bg-deep) !important; }
.article-preview-card .section-kicker { color: var(--bt-bg-deep) !important; letter-spacing: .1em !important; }

.product-page > .section-shell--steps,
.product-page > .care-examples,
.product-home > .section-shell--qa,
.product-page > .section-shell--qa { background: var(--bt-navy) !important; }
.steps-grid, .qa-grid { border: 1px solid rgba(79,127,150,.65); border-radius: 18px; box-shadow: none; background: transparent; backdrop-filter: none; }
.step-item { padding: 30px 36px; background: transparent; }
.step-item::before { color: var(--bt-sky-mint); font-weight: 500; opacity: 1; }
.step-item h3 { font-weight: 600; font-size: 1.05rem; }
.step-item p, .qa-item__a { color: var(--bt-bg-mist); font-size: .97rem; line-height: 1.8; }
.qa-item__q { font-weight: 600; }
.qa-item.is-open { background: rgba(79,127,150,.24); }
.qa-item.is-open .qa-item__a { max-height: none; }
.section-shell--page-cta .page-cta h2 { font-size: clamp(1.8rem,3.05vw,2.65rem); font-weight: 600; line-height: 1.25; letter-spacing: -.03em; }
.section-shell--page-cta .page-cta p { color: var(--bt-bg-mist); line-height: 1.8; max-width: 56ch; }
.page-cta {
  background:
    radial-gradient(circle at 16% 16%,rgba(122,212,255,.26),transparent 26%),
    radial-gradient(circle at 84% 14%,rgba(255,255,255,.16),transparent 18%),
    linear-gradient(135deg,rgba(8,39,57,.94),rgba(12,64,92,.82) 65%,rgba(79,127,150,.4));
}

@media (min-width: 761px) {
  .section-shell--plans .plan-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

@media (max-width: 760px) {
  .product-home .care-home-hero .hero-grid--calm { padding-block: 44px !important; }
  .product-page .page-hero--product { padding-block: 36px !important; }
  :is(.product-home > .section-shell, .product-page > .section-shell) { padding-block: 56px !important; }
  :is(.product-home > .section-shell, .product-page > .section-shell) .section-head { margin-bottom: 28px; }
  .care-card, .product-page > .section-shell .glass-card--stage { padding: 24px !important; }
  .section-shell--plans .plan-card { padding: 26px !important; }
  .step-item { padding: 24px; column-gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .care-card, .article-preview-card, .plan-card, .qa-item__a { transition: none !important; }
}

/* Illustrations sit behind the first content block below the text-only hero. */
:is(.product-home, .product-page) > .section-shell--illustrated {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bt-bg-deep) !important;
}
.section-shell--illustrated > .section-illustration {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-height: 900px;
  margin: 0;
  pointer-events: none;
}
.section-shell--illustrated > .section-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}
.section-illustration::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 65%,var(--bt-bg-deep)); }
:is(.product-home, .product-page) > .section-shell--illustrated::before {
  content: '';
  display: block !important;
  position: absolute;
  inset: 0;
  width: auto;
  height: auto !important;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg,rgba(8,39,57,.48),rgba(8,39,57,.36) 58%,rgba(8,39,57,.26)) !important;
  opacity: 1;
  filter: none;
  transform: none;
}
@media (max-width: 760px) {
  .section-shell--illustrated > .section-illustration { max-height: 360px; }
  :is(.product-home, .product-page) > .section-shell--illustrated::before {
    background: linear-gradient(180deg,rgba(8,39,57,.38),rgba(8,39,57,.55)) !important;
  }
}

.care-recovery .care-family-intro h2,
.assistant-section h2 { color: var(--bt-white); font-size: clamp(1.8rem,3.05vw,2.65rem); font-weight: 600; line-height: 1.22; letter-spacing: -.035em; text-wrap: balance; }
.care-recovery .care-family-example > div { width: 100%; }
.care-recovery .care-family-example h3 { color: var(--bt-white); }
.care-recovery .care-family-example p { color: var(--bt-bg-mist); }
.assistant-section { padding: 80px 0; background: var(--bt-navy) !important; }
.assistant-section .care-family-intro > p:not(.section-kicker) { color: var(--bt-bg-mist); }
.assistant-context { display: grid; gap: 16px; min-width: 0; }
.assistant-context > p {
  margin: 0;
  padding: 24px 30px;
  border: 1px solid rgba(79,127,150,.65);
  border-radius: 18px;
  background: var(--bt-navy);
  color: var(--bt-bg-mist);
  font-size: 1rem;
  line-height: 1.8;
}
.assistant-example {
  justify-self: end;
  inline-size: min(27rem, 90%);
  margin: 0;
  margin-inline-end: 10px;
}
.assistant-example figcaption {
  display: table;
  margin-block-end: 6px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--bt-navy);
  color: var(--bt-bg-mist);
  font-size: .85rem;
  font-weight: 600;
}
.assistant-message {
  position: relative;
  margin: 0;
  padding: 16px 20px;
  border-radius: 20px 20px 4px 20px;
  background: var(--bt-bg-mist);
  color: var(--bt-ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.assistant-message::after {
  content: "";
  position: absolute;
  inset-inline-end: -8px;
  inset-block-end: 0;
  border-inline-start: 10px solid var(--bt-bg-mist);
  border-block-start: 10px solid transparent;
}
#postpartum-recovery { scroll-margin-top: 90px; }
@media (max-width: 760px) {
  .assistant-section { padding-block: 56px; }
  .assistant-context > p { padding: 20px; }
  .assistant-message { padding: 14px 16px; }
}

/* Blue design-system accents on the supporting family sections. */
.care-family-intro .care-text-link, .care-related a { color: var(--bt-sky-mint); }

/* Leave room for the photograph beside the assistant copy. */
:is(.product-home, .product-page) > .assistant-section.section-shell--illustrated {
  padding-block: 64px !important;
}
.assistant-section.section-shell--illustrated > .section-illustration {
  inset: 0 0 0 auto;
  width: 74%;
}
.assistant-section.section-shell--illustrated > .section-illustration::after {
  background: linear-gradient(90deg, var(--bt-bg-deep), transparent 32%);
}
.assistant-section.section-shell--illustrated .care-family-layout {
  grid-template-columns: minmax(0, min(620px, 60%));
  gap: 16px;
}
.assistant-section.section-shell--illustrated .care-family-intro {
  padding: 24px 30px;
  border: 1px solid rgba(183, 242, 255, .26);
  border-radius: 18px;
  background: rgba(8, 39, 57, .91);
}
.assistant-section.section-shell--illustrated .care-family-intro > p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  :is(.product-home, .product-page) > .assistant-section.section-shell--illustrated {
    padding-block: 168px 48px !important;
  }
  .assistant-section.section-shell--illustrated > .section-illustration { width: 100%; }
  .assistant-section.section-shell--illustrated .care-family-layout { grid-template-columns: minmax(0, 1fr); }
  .assistant-section.section-shell--illustrated > .section-illustration::after {
    background: linear-gradient(180deg, transparent 55%, var(--bt-bg-deep));
  }
  .assistant-section.section-shell--illustrated .care-family-intro { padding: 20px; }
}
