/* Homepage layout and polish that used to be added by the separate
   "wellnest-home-offers" Cloudflare Worker. That worker also rewrote the page
   with old wording, so it has been retired and these rules live here now. */
@media (min-width: 64rem) {
  #homebeta .hb-header .hb-nav,
  #hb-main .hb-hero.hb-container {
    width: min(calc(100% - clamp(3rem, 9vw, 12rem)), 120rem);
    margin-inline: auto;
  }
  #hb-main .hb-hero {
    grid-template-columns: minmax(0, 0.93fr) minmax(0, 1.07fr);
    column-gap: clamp(1.5rem, 3vw, 4rem);
    row-gap: 1rem;
    min-height: auto;
    padding-block: clamp(1.5rem, 2.5vw, 3rem) 1.25rem;
    align-items: center;
  }
  #hb-main .hb-hero-copy { padding-bottom: 0; }
  #hb-main .hb-hero-eyebrow { margin-bottom: clamp(1rem, 1.35vw, 1.5rem); }
  #hb-main .hb-hero-copy h1 { margin-block: 0 1rem; }
  #hb-main .hb-hero-headline-line { line-height: 1.02; }
  #hb-main .hb-hero-lead { max-width: 55ch; margin-bottom: 1.1rem; font-size: clamp(1rem, 1.1vw, 1.25rem); line-height: 1.5; }
  #hb-main .hb-hero-picker { margin-bottom: 1rem; }
  #hb-main .hb-hero-ctas { gap: 0.65rem; }
  #hb-main .hb-hero-price { margin-block: 0; max-width: 62ch; }
  #hb-main .hb-hero-trust { margin-top: 1rem; padding-top: 0.85rem; max-width: none; }
  #hb-main .hb-fc-stage { box-sizing: border-box; width: 100%; min-width: 0; min-height: 0; padding: clamp(1.5rem, 2.7vw, 3.5rem) clamp(0.85rem, 1.7vw, 2rem); isolation: isolate; }
  #hb-main .hb-fc-stage::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: 2rem;
    background: radial-gradient(circle, #c4ebc538 1px, transparent 1.5px) 0 0 / 18px 18px, radial-gradient(ellipse at center, #39795d55, transparent 77%);
    mask-image: radial-gradient(ellipse at center, black 54%, transparent 83%);
  }
  #hb-main .hb-fc-stage > .hb-fc { box-sizing: border-box; width: 100%; max-width: 54rem; min-width: 0; padding: clamp(1.15rem, 1.8vw, 2.25rem); border: 1px solid #729f8775; box-shadow: inset 0 1px 0 #d2f4c61f, 0 20px 50px -24px #001710cc; }
  #hb-main .hb-fc-chart { background-image: repeating-linear-gradient(to top, transparent 0 31px, #9cbaa01a 31px 32px); }
  #hb-main .hb-fc-stage > .hb-fc-chip { display: none; }
}
@media (max-width: 63.99rem) {
  #hb-main .hb-hero-eyebrow { margin-bottom: 1rem; }
  #hb-main .hb-hero-copy h1 { margin-bottom: 1rem; }
  #hb-main .hb-hero-ctas { gap: 0.75rem; }
  #hb-main .hb-hero-price { margin-block: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  #hb-main .hb-hero-copy .hb-hero-headline-line { animation: wn-welcome-line 660ms cubic-bezier(0.22, 1, 0.36, 1) backwards; }
  #hb-main .hb-hero-copy .hb-hero-headline-understand { animation-delay: 100ms; }
  #hb-main .hb-hero-copy .hb-hero-headline-live { animation-delay: 200ms; }
  @keyframes wn-welcome-line { from { opacity: 0.78; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
}
#hb-main :is(.hb-button, .hb-text-link, summary):focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
#hb-main .hb-section-intro h2, #hb-main .hb-final-content h2 { text-wrap: balance; }
#hb-main .hb-section-intro p { max-width: 50ch; }
#hb-main .hb-condition { transition: box-shadow .18s ease, transform .18s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #hb-main .hb-condition:hover { transform: translateY(-3px); box-shadow: 0 8px 22px #133c3017; }
}
.hb-ticker, #hb-features .hb-intro-aside, #hb-main .hb-kicker, #hb-main .hb-chart-pill, #hb-main .hb-ember-speech, #hb-main .hb-final-flower { display: none; }
#hb-main .hb-intro-grid { grid-template-columns: 1fr; }
.hb-brand { transform: translateY(0); }
.hb-brand-icon { transform: translateY(3px); }
