/* Quiet interaction polish, with the approved page structure and media frames intact. */
@media (prefers-reduced-motion:no-preference) {
  html { scroll-behavior:smooth; }
  :is(.btn,.icon-button,.selective-launch__button,.selective-prep__step,.home-selective-cycle__phases button,.home-selective-cycle__pills button,.ingredient-carousel__more,.ingredient-carousel__nav,.current-product-gallery__controls button,.current-product-gallery__thumb,.home-back-to-top) {
    transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease;
  }
  :is(.btn,.selective-launch__button,.ingredient-carousel__more) .site-action-icon {
    transition:transform .18s ease;
  }
  @media (hover:hover) and (pointer:fine) {
    :is(.btn,.selective-launch__button,.ingredient-carousel__more):hover:not(:disabled) {
      transform:translateY(-2px);
      box-shadow:0 5px 12px #79002015;
    }
    :is(.btn,.selective-launch__button,.ingredient-carousel__more):hover:not(:disabled) .site-action-icon {
      transform:translateX(2px);
    }
    :is(.icon-button,.ingredient-carousel__nav,.current-product-gallery__controls button,.current-product-gallery__thumb,.home-selective-cycle__phases button,.home-selective-cycle__pills button):hover:not(:disabled) {
      transform:translateY(-1px);
    }
  }
  :is(.btn,.icon-button,.selective-launch__button,.selective-prep__step,.ingredient-carousel__more,.ingredient-carousel__nav,.home-selective-cycle__phases button,.home-selective-cycle__pills button,.current-product-gallery__controls button,.home-back-to-top):active:not(:disabled) {
    transform:translateY(1px) scale(.985);
    box-shadow:none;
  }
}

/* Tighten the intervals between sections without altering either video frame. */
.page-index .herese-hero-action { padding-block:18px 20px; }
.page-index .herese-hero-action > .selective-chapter { max-width:1000px; margin:0 auto 10px; justify-content:flex-start; text-align:left; }
.page-index .herese-hero-action h2 { margin-block:10px 8px; }
.page-index .selective-prep { padding-block:24px; }
.page-index .home-selective-cycle { padding-block:30px 24px; }
.page-index .home-selective-cycle__header { margin-bottom:19px; }
.page-index .selective-routine { padding-block:20px 26px; }
.page-index .home-development-notice { padding-block:15px; }
.page-index .home-development-notice p { font-size:14px; line-height:1.65; }
.page-index .home-development-notice strong { font-size:11px; letter-spacing:.06em; }
.page-index .ingredient-carousel-section { padding-block:32px; }
.page-index .ingredient-carousel-heading { margin-bottom:16px; }
.page-index .home-formula-banner { padding-block:24px; }
.page-index .formula-facts { gap:10px; }
.page-index .formula-fact { padding:17px 10px 15px; gap:10px; border-radius:18px; }
.page-index .formula-fact__icon { width:40px; height:40px; }
.page-index .formula-fact__label { font-size:12px; line-height:1.5; }
.page-index .founder-story-section { padding-block:28px; }
.page-index .founder-story-section .founder-story-body { margin-bottom:20px; }
.page-index .selective-closing { padding-block:36px 32px; }
.page-index .selective-closing__inner { column-gap:clamp(28px,4vw,56px); }
.page-index .selective-footer { padding-block:28px 24px; }

/* A quieter, fluid heading scale and consistently left-aligned chapter labels. */
body:not(.page-index) #MainContent :is(.page-hero h1,.sip-product-info h1) { font-size:clamp(32px,3.6vw,48px); line-height:1.12; }
body:not(.page-index) #MainContent :is(.section-heading h2,.product-answers__intro h2,.page-shell .content-card h2) { font-size:clamp(27px,3vw,40px); line-height:1.14; }
body .info-dialog h2 { font-size:clamp(26px,3.3vw,38px); line-height:1.14; }
.page-index .herese-hero-copy h1 { font-size:clamp(34px,3.7vw,54px); line-height:1.08; }
.page-index .herese-hero-action h2 { font-size:clamp(30px,3.3vw,46px); line-height:1.1; }
.page-index .selective-prep__copy h2 { font-size:clamp(29px,2.9vw,40px); line-height:1.1; }
.page-index .home-selective-cycle__header h2 { max-width:none; font-size:clamp(30px,3.3vw,44px); line-height:1.1; white-space:nowrap; }
.page-index .selective-chapter,.page-index .home-selective-cycle__chapter { justify-content:flex-start; text-align:left; }
.page-index .ingredient-carousel-heading h2 { font-size:clamp(30px,3.25vw,44px); line-height:1.1; }
.page-index .ingredient-carousel__copy h3 { font-size:clamp(26px,2.4vw,32px); }
.page-index .founder-story-section .founder-story-header { grid-template-columns:36px minmax(0,1fr); }
.page-index .founder-story-section .founder-story-header h2 { margin:0; font-size:clamp(30px,3.2vw,42px); line-height:1.12; text-wrap:balance; }
.page-index .selective-faq h2 { font-size:clamp(29px,2.9vw,40px); line-height:1.12; }
.page-index .selective-launch h2 { font-size:clamp(28px,2.7vw,38px); line-height:1.12; }

/* Shorter gallery and pack rows keep discovery and the launch action together. */
.page-index .selective-routine-showcase { padding:22px; gap:14px 26px; }
.page-index .selective-routine-showcase .home-routine-showcase__intro > .selective-chapter { margin:0 0 9px; font:600 10px/1.5 var(--sans); }
.page-index .selective-routine-showcase .home-routine-showcase__intro h2 { display:block; margin:0 0 8px; font-size:clamp(28px,2.8vw,38px); line-height:1.1; }
.page-index .selective-routine-showcase .home-routine-showcase__intro > p:last-child { font-size:11px; line-height:1.6; }
.page-index .selective-routine-showcase .current-product-gallery__stage { height:260px; }
.page-index .selective-routine-showcase .current-product-gallery__caption { padding:7px 0; }
.page-index .selective-routine-showcase .current-product-gallery__thumbs { grid-auto-columns:48px; gap:5px; padding-bottom:5px; }
.page-index .selective-routine-showcase .current-product-gallery__thumb { min-width:44px; min-height:44px; padding:3px; }
.page-index .selective-routine-showcase .bundle-interest--routine .pack-options { gap:7px; }
.page-index .selective-routine-showcase .bundle-interest--routine .pack-option-inner { min-height:59px; padding:9px 13px; gap:11px; border-radius:13px; }
.page-index .selective-routine-showcase .bundle-interest--routine .pack-name { font-size:15px; }
.page-index .selective-routine-showcase .bundle-interest--routine .routine-choice-copy { gap:2px; }
.page-index .selective-routine-showcase .bundle-interest--routine .routine-choice-days { padding:5px 8px; font-size:18px; }
.page-index .selective-routine-showcase .bundle-interest--routine > .btn { margin-top:11px; min-height:46px; }
.page-index .selective-routine-showcase .routine-launch-note { margin-top:7px; }

.home-facts-hint { display:none; }
.home-back-to-top {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:8px 13px;
  border:1px solid currentColor;
  border-radius:999px;
  color:inherit;
  background:transparent;
  font:500 10px/1.4 var(--sans,Poppins,Arial,sans-serif);
  cursor:pointer;
}
.home-back-to-top svg { width:14px; height:14px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.home-back-to-top:hover { background:#ffffff12; }
.home-back-to-top:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
:is(.selective-footer__bottom,.sip-footer-bottom) { align-items:center; flex-wrap:wrap; }

@media (max-width:749px) {
  .page-index .herese-hero-action { padding-block:15px 14px; }
  .page-index .herese-hero-action > .selective-chapter { margin-bottom:8px; }
  .page-index .selective-prep { padding-block:18px; }
  .page-index .home-selective-cycle { padding-block:24px 20px; }
  .page-index .home-selective-cycle__header { margin-bottom:17px; }
  .page-index .selective-routine { padding-block:18px 22px; }
  .page-index .home-development-notice { padding-block:14px; }
  .page-index .home-development-notice p { font-size:12px; }
  .page-index .home-development-notice strong { font-size:10px; }
  .page-index .ingredient-carousel-section { padding-block:25px; }
  .page-index .home-formula-banner { padding-block:14px 12px; }
  /* Six factual badges form one native swipe row, retaining their full labels. */
  .page-index .formula-facts {
    display:flex;
    flex-wrap:nowrap;
    gap:8px;
    width:100%;
    max-width:100%;
    margin:0;
    padding:3px 2px 9px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x proximity;
    scroll-padding-inline:2px;
    scrollbar-width:thin;
    scrollbar-color:#79002040 #79002009;
    -webkit-overflow-scrolling:touch;
  }
  .page-index .formula-facts .formula-fact {
    display:inline-flex;
    flex:0 0 auto;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:7px;
    min-height:40px;
    margin:0;
    padding:8px 12px;
    border-radius:999px;
    text-align:left;
    scroll-snap-align:start;
  }
  .page-index .formula-facts .formula-fact__icon { width:20px; height:20px; }
  .page-index .formula-facts .formula-fact__label { max-width:none; font-size:10px; line-height:1.45; text-wrap:nowrap; white-space:nowrap; }
  .page-index .formula-facts:focus-visible { outline:2px solid #790020; outline-offset:3px; border-radius:10px; }
  .home-facts-hint { display:block; margin:3px 0 0; text-align:center; color:#790020; font:400 9px/1.5 var(--sans,Poppins,Arial,sans-serif); }
  .page-index .founder-story-section { padding-block:24px; }
  .page-index .selective-closing { padding-block:28px; }
  .page-index .selective-closing__inner { row-gap:26px; }
  .page-index .selective-footer { padding-block:25px 23px; }
  .home-back-to-top { min-height:44px; padding-inline:15px; }
  .page-index .herese-hero-copy h1 { font-size:clamp(30px,7.3vw,42px); }
  .page-index .herese-hero-action h2 { font-size:clamp(28px,7vw,36px); }
  .page-index .selective-prep__copy h2 { font-size:clamp(23px,5.6vw,30px); }
  .page-index .home-selective-cycle__header h2 { font-size:clamp(22px,6.6vw,30px); }
  .page-index .ingredient-carousel-heading h2 { font-size:clamp(28px,7.3vw,36px); }
  .page-index .ingredient-carousel-heading__name { font-size:clamp(23px,6.2vw,30px); }
  .page-index .ingredient-carousel__copy h3 { font-size:clamp(24px,6.3vw,29px); }
  .page-index .founder-story-section .founder-story-header { display:grid; grid-template-columns:30px minmax(0,1fr); gap:13px; text-align:left; }
  .page-index .founder-story-section .founder-story-header h2 { font-size:clamp(26px,6.6vw,32px); }
  .page-index .selective-faq h2,.page-index .selective-launch h2 { font-size:clamp(28px,7vw,34px); }
  .page-index .selective-routine-showcase { padding:17px 15px; gap:13px; }
  .page-index .selective-routine-showcase .home-routine-showcase__intro h2 { font-size:clamp(26px,6.6vw,33px); }
  .page-index .selective-routine-showcase .current-product-gallery__stage { height:210px; }
  .page-index .selective-routine-showcase .current-product-gallery__caption p { font-size:10px; }
  .page-index .selective-routine-showcase .bundle-interest--routine .pack-option-inner { min-height:58px; padding:9px 11px; gap:9px; }
  .page-index .selective-routine-showcase .bundle-interest--routine .pack-name { font-size:14px; }
  .page-index .selective-routine-showcase .bundle-interest--routine .pack-box-count { font-size:10px; }
  .page-index .selective-routine-showcase .bundle-interest--routine .routine-choice-days { font-size:17px; min-width:49px; }
}

@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  .home-back-to-top { transition:none; }
}
