/* Icon placeholder (shared) */
[x-cloak] {
    display: none !important;
}
html.mobile-product-reorder-pending #main-content {
    visibility: hidden;
}

.xpage-icon-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
}
.xpage-icon-skeleton {
    width: 20px;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: xpage-icon-loading 1.5s infinite;
}
@keyframes xpage-icon-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.material-symbols-outlined {
        font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24
    }

    :root {
        direction: ltr;
        
        --bg-primary: #22352C;
        --fg-primary: #FFFFFF;
        --bg-accent: #ccd5ae;
        --fg-accent: #000000;
        --bg-section-primary: #CCD5AE;
        --fg-section-primary: #000000;
        --bg-section-accent: #EAC67A;
        --fg-section-accent: #000000;
        --bg: #FFFFFF;
        --fg: #000000;
        --fg-muted: #495057;
        --bg-muted: #f8f9fa;
        --font-body: 'Poppins', sans-serif;
        --font-header: 'Poppins', sans-serif;
        --button-border-radius: 0.5rem;
        --card-border-radius: 0.5rem;
    }
    
    .text-header {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    @media (min-width: 768px) {
        .text-header {
            font-size: 1.875rem;
            line-height: 2.25rem;
        }
    }

    @media (min-width: 1024px) {
        .text-header {
            font-size: 1.875rem;
            line-height: 2.25rem;
        }
    }

    @media (min-width: 1280px) {
        .text-header {
            font-size: 1.875rem;
            line-height: 2.25rem;
        }
    }

    .text-body {
        font-size: 1.125rem;
        line-height: 1.75rem;
        line-height: 1.625;
    }

    .text-secondary {
        font-size: 0.875rem;
        line-height: 1.25rem;
    }
    
    /* Apply fonts — html + body so Tailwind preflight / async CSS does not leave Arial */
    html {
        font-family: var(--font-body) !important;
    }
    body {
        font-family: var(--font-body) !important;
        background-color: var(--bg);
        overflow-x: clip;
    }

/* Prevent tiny mobile horizontal overflow (device-specific) */
html {
    overflow-x: clip;
}

    /* Header CTA (compact nav) */
    .button-cta button {
        background: transparent;
        color: var(--fg);
        font-size: 0.7rem;
        border: 1px solid var(--bg-primary);
    }
    .button-cta button:hover {
        background: var(--bg-primary);
        color: var(--fg-primary);
        font-size: 0.7rem;
        border: 1px solid var(--bg-primary);
    }

#section_662af5c5 .thumbSwiper .swiper-slide {
  position: relative;
  box-sizing: border-box;
}
#section_662af5c5 {
  overflow-x: clip;
}
#section_662af5c5 .imgSwiper,
#section_662af5c5 .thumbSwiper {
  max-width: 100%;
}
#section_662af5c5 .swiper-button-next::after,
#section_662af5c5 .swiper-button-prev::after {
  font-size: x-small;
}
#section_662af5c5 .thumbSwiper .swiper-slide img {
  border: 2px solid transparent;
  box-sizing: border-box;
  border-radius: 0.75rem;
  transition:
    border-color 0.3s ease,
    filter 0.25s ease,
    box-shadow 0.25s ease;
}

#section_662af5c5 .thumbSwiper .swiper-slide-thumb-active img {
  border-color: var(--bg-primary);
}

@media (hover: hover) and (pointer: fine) {
  #section_662af5c5 .thumbSwiper .swiper-slide:not(.swiper-slide-thumb-active) img:hover {
    filter: brightness(1.06);
    border-color: color-mix(in oklab, var(--bg-primary) 38%, transparent);
    box-shadow: 0 2px 8px color-mix(in oklab, var(--fg) 10%, transparent);
  }
}

/* Product section: main gallery zoom + shadow on hover */
#section_662af5c5 .imgSwiper .swiper-slide {
  overflow: hidden;
  border-radius: max(var(--card-border-radius, 0.5rem), 0.75rem);
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 20px color-mix(in oklab, var(--fg) 9%, transparent);
}
#section_662af5c5 .imgSwiper .swiper-slide img {
  transition: transform 0.3s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  #section_662af5c5 .imgSwiper .swiper-slide:hover {
    box-shadow:
      0 14px 40px color-mix(in oklab, var(--fg) 14%, transparent),
      0 6px 18px color-mix(in oklab, var(--fg) 10%, transparent);
  }
  #section_662af5c5 .imgSwiper .swiper-slide:hover img {
    transform: scale(1.02);
  }
}

/* Bundle pricing cards — shared base (white / light, no gray fills) */
#section_662af5c5 .product-bundle-card {
  background: #ffffff;
  border-color: color-mix(in oklab, var(--fg-muted) 16%, #ffffff);
  box-shadow: 0 2px 8px color-mix(in oklab, var(--fg) 6%, transparent);
  transition:
    transform 0.26s ease,
    box-shadow 0.26s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

/* Best offer (e.g. 3 masques): subtle brand tint, slightly stronger frame */
#section_662af5c5 .product-bundle-card--best {
  position: relative;
  z-index: 1;
  background: color-mix(in oklab, var(--bg-primary) 8%, #fffdf7);
  border-color: color-mix(in oklab, var(--bg-primary) 32%, #f1ebde);
  box-shadow:
    0 8px 20px color-mix(in oklab, var(--bg-primary) 13%, transparent),
    0 0 0 1px color-mix(in oklab, var(--bg-primary) 20%, transparent);
  transform: scale(1.03);
  transform-origin: center center;
}

/* Selected: active emphasis — border + shadow + light scale (no gray background) */
#section_662af5c5 .product-bundle-card--selected {
  background: color-mix(in oklab, var(--bg-primary) 6%, #fffef8);
  border-color: color-mix(in oklab, var(--bg-primary) 62%, var(--fg-muted) 20%);
  box-shadow:
    0 10px 26px color-mix(in oklab, var(--bg-primary) 16%, transparent),
    0 0 0 2px color-mix(in oklab, var(--bg-primary) 34%, transparent);
  animation: bundleSelectIn 260ms ease;
}
@media (min-width: 640px) {
  #section_662af5c5 .product-bundle-card--selected {
    transform: scale(1.015);
  }
}

/* Best + selected: keep brand tint, slightly richer than default best */
#section_662af5c5 .product-bundle-card--best.product-bundle-card--selected {
  background: color-mix(in oklab, var(--bg-primary) 10%, #fffdf6);
  border-color: color-mix(in oklab, var(--bg-primary) 44%, #d9cdb4);
  box-shadow:
    0 14px 34px color-mix(in oklab, var(--bg-primary) 18%, transparent),
    0 0 0 2px color-mix(in oklab, var(--bg-primary) 28%, transparent);
}
@media (min-width: 640px) {
  #section_662af5c5 .product-bundle-card--best.product-bundle-card--selected {
    transform: scale(1.04);
  }
}

/* Temporary spotlight after sticky CTA scroll */
#section_662af5c5 .product-bundle-card--spotlight {
  transform: scale(1.01);
  border-color: color-mix(in oklab, var(--bg-primary) 62%, var(--fg-muted) 18%);
  box-shadow:
    0 10px 30px color-mix(in oklab, var(--bg-primary) 18%, transparent),
    0 0 0 2px color-mix(in oklab, var(--bg-primary) 30%, transparent);
}

@media (hover: hover) and (pointer: fine) {
  #section_662af5c5 .product-bundle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px color-mix(in oklab, var(--fg) 12%, transparent);
  }
  #section_662af5c5 .product-bundle-card--neutral:hover {
    border-color: color-mix(in oklab, var(--bg-primary) 28%, var(--fg-muted) 40%);
    background: #fafafa;
  }
  #section_662af5c5 .product-bundle-card--best:hover {
    transform: translateY(-2px) scale(1.035);
    box-shadow:
      0 14px 30px color-mix(in oklab, var(--bg-primary) 18%, transparent),
      0 0 0 2px color-mix(in oklab, var(--bg-primary) 22%, transparent);
  }
}

/* Bundle radio: custom control styling */
#section_662af5c5 .product-bundle-radio {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  border: 2px solid color-mix(in oklab, var(--fg-muted) 42%, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease, background-color 0.24s ease;
  background: #fff;
}
#section_662af5c5 .product-bundle-radio--selected {
  border-color: color-mix(in oklab, var(--bg-primary) 78%, var(--fg-muted));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--bg-primary) 20%, transparent);
  transform: scale(1.03);
}
#section_662af5c5 .product-bundle-radio__dot {
  width: 0.66rem;
  height: 0.66rem;
  border-radius: 999px;
  background: var(--bg-primary);
}

#section_662af5c5 .bundle-card-header {
  align-items: flex-start;
  gap: 0.85rem;
}

#section_662af5c5 .bundle-option-title {
  font-size: clamp(1.04rem, 2.2vw, 1.28rem);
  line-height: 1.22;
  color: color-mix(in oklab, var(--fg) 96%, black 4%);
  text-wrap: balance;
}

#section_662af5c5 .bundle-option-label {
  margin-top: 0.15rem;
  font-weight: 500;
  color: color-mix(in oklab, var(--fg-muted) 88%, #746b5f);
}

#section_662af5c5 .bundle-best-note {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  line-height: 1.3;
  letter-spacing: 0.035em;
  font-weight: 500;
  font-style: italic;
  color: color-mix(in oklab, var(--bg-primary) 62%, #6a6256);
  text-transform: none;
  opacity: 0.95;
}

#section_662af5c5 .bundle-option-savings {
  margin-top: 0.24rem;
  color: color-mix(in oklab, var(--bg-primary) 82%, #4f473f);
}

#section_662af5c5 .bundle-option-savings--pill {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--bg-primary) 36%, #d8cfbd);
  background: color-mix(in oklab, var(--bg-primary) 12%, #fffdf6);
  font-weight: 700;
}

#section_662af5c5 .bundle-price-col {
  min-width: 7.8rem;
  align-items: flex-end;
}

#section_662af5c5 .bundle-badge {
  top: -1rem !important;
  right: -1rem !important;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow:
    0 8px 18px color-mix(in oklab, var(--bg-primary) 22%, transparent),
    0 1px 0 rgba(255, 255, 255, 0.28) inset;
}

#section_662af5c5 .bundle-price-stack {
  margin-top: 0.25rem;
}

#section_662af5c5 .bundle-price-current {
  font-size: clamp(1.18rem, 2.4vw, 1.5rem);
  line-height: 1.05;
  font-weight: 800;
  color: color-mix(in oklab, var(--fg) 88%, var(--bg-primary) 12%);
}

#section_662af5c5 .bundle-price-old {
  margin-top: 0.2rem;
  font-size: 0.76rem;
  color: color-mix(in oklab, var(--fg-muted) 84%, #7b7164);
}

#section_662af5c5 .bundle-selected-content {
  margin-top: 0.9rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in oklab, var(--fg-muted) 18%, #fff);
  display: grid;
  gap: 0.6rem;
}

#section_662af5c5 .bundle-variants-wrap {
  padding-top: 0.4rem;
  padding-bottom: 0.35rem;
}

#section_662af5c5 .bundle-variant-select {
  border-color: color-mix(in oklab, var(--fg-muted) 24%, #fff);
  border-radius: 0.6rem;
  background: #fff;
}

#section_662af5c5 .bundle-variant-select:focus {
  outline: none;
  border-color: color-mix(in oklab, var(--bg-primary) 55%, var(--fg-muted));
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--bg-primary) 18%, transparent);
}

@media (max-width: 767px) {
  #section_662af5c5 .product-bundle-card {
    padding: 0.78rem 0.85rem;
  }

  /* Scale makes the card draw past its box on narrow viewports */
  #section_662af5c5 .product-bundle-card--best {
    transform: none;
  }

  #section_662af5c5 .product-bundle-card--best.product-bundle-card--selected {
    transform: none;
  }

  #section_662af5c5 .bundle-card-header {
    min-width: 0;
  }

  #section_662af5c5 .bundle-card-header > .flex-1 {
    min-width: 0;
    flex: 1 1 0%;
  }

  #section_662af5c5 .bundle-price-col {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(9.25rem, 38%);
    padding-left: 0.35rem;
    align-items: flex-end;
  }

  #section_662af5c5 .bundle-price-stack {
    width: 100%;
    max-width: 100%;
  }

  #section_662af5c5 .bundle-price-current {
    font-size: 1.05rem;
    line-height: 1.1;
  }

  #section_662af5c5 .bundle-price-old {
    font-size: 0.65rem;
  }

  #section_662af5c5 .bundle-badge {
    top: -0.7rem !important;
    right: -0.5rem !important;
    font-size: 0.62rem;
    padding: 0.3rem 0.52rem;
  }

  #section_662af5c5 .bundle-option-title {
    font-size: 0.98rem;
    line-height: 1.22;
    padding-right: 3.25rem;
  }
}

#section_662af5c5 .bundle-cta-helper {
  margin: 0 0 0.62rem;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.35;
  color: color-mix(in oklab, var(--fg-muted) 84%, #6d6458);
}

@keyframes bundleSelectIn {
  from {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  to {
    box-shadow:
      0 10px 26px color-mix(in oklab, var(--bg-primary) 16%, transparent),
      0 0 0 2px color-mix(in oklab, var(--bg-primary) 34%, transparent);
  }
}

/* Mobile sticky CTA bar */
#section_662af5c5 .product-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 999;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#section_662af5c5 .product-sticky-cta__inner {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
#section_662af5c5 .product-sticky-cta__button {
  display: flex;
  transform-origin: center center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
@media (hover: hover) and (pointer: fine) {
  #section_662af5c5 .product-sticky-cta__button:hover {
    transform: scale(1.01);
  }
}
@media (min-width: 768px) {
  #section_662af5c5 .product-sticky-cta {
    display: none !important;
  }
}

/* Urgency line: pulse dot */
.product-urgency-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--bg-primary);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--bg-primary) 45%, transparent);
  animation: product-urgency-pulse 2s ease-out infinite;
}
@keyframes product-urgency-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--bg-primary) 50%, transparent);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 10px transparent;
    opacity: 0.85;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    opacity: 1;
  }
}

/* Product benefits: compact single-line list */
#section_662af5c5 .product-benefits {
  max-width: 36rem;
}

#section_662af5c5 .product-benefits--compact .product-benefits__list {
  margin-top: 0;
}

#section_662af5c5 .product-benefits__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 0.85rem;
  align-items: start;
}

@media (min-width: 640px) {
  #section_662af5c5 .product-benefits__list {
    column-gap: 1.25rem;
    row-gap: 0.95rem;
  }
}

#section_662af5c5 .product-benefits__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem 0.85rem;
  align-items: center;
}

#section_662af5c5 .product-benefits__item--single-line {
  align-items: center;
}

#section_662af5c5 .product-benefits__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  border-radius: 0.6rem;
  color: color-mix(in oklab, var(--bg-primary) 85%, #111);
  background: color-mix(in oklab, var(--bg-primary) 13%, var(--bg));
  border: 1px solid color-mix(in oklab, var(--bg-primary) 26%, var(--bg-muted));
  box-shadow: 0 2px 8px color-mix(in oklab, var(--fg) 7%, transparent);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (hover: hover) and (pointer: fine) {
  #section_662af5c5 .product-benefits__item:hover .product-benefits__icon {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in oklab, var(--fg) 10%, transparent);
  }
}

#section_662af5c5 .product-benefits__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

#section_662af5c5 .product-benefits__line {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: pretty;
}

/* Product: social proof line above pricing */
#section_662af5c5 .product-trust-line {
  border-bottom-color: color-mix(in oklab, var(--fg-muted) 22%, transparent);
}
#section_662af5c5 .product-trust-line p {
  letter-spacing: 0.01em;
}
#section_662af5c5 .product-trust-line__text {
  color: color-mix(in oklab, var(--fg-muted) 78%, var(--fg));
}
#section_662af5c5 .product-trust-line__rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  border: 1px solid color-mix(in oklab, var(--bg-primary) 32%, transparent);
  background: linear-gradient(
    135deg,
    color-mix(in oklab, var(--bg-primary) 10%, var(--bg)) 0%,
    color-mix(in oklab, var(--bg-primary) 5%, var(--bg)) 100%
  );
  box-shadow: 0 1px 7px color-mix(in oklab, var(--fg) 7%, transparent);
}
#section_662af5c5 .product-trust-line__stars {
  display: inline-block;
  letter-spacing: 0.07em;
  font-size: 0.9em;
  line-height: 1;
  vertical-align: 0.02em;
  color: #e6b54a;
  text-shadow:
    0 0 0.4rem color-mix(in oklab, #e6b54a 24%, transparent),
    0 1px 0 color-mix(in oklab, #7f6120 20%, transparent);
}
#section_662af5c5 .product-trust-line__rating-label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: color-mix(in oklab, var(--fg) 84%, var(--fg-muted));
}
#section_662af5c5 .product-trust-line__icon {
  display: inline-flex;
  margin-top: 0.08em;
  color: color-mix(in oklab, var(--bg-primary) 48%, var(--fg-muted));
}

#section_662af5c5 .product-promo-strip {
  margin: 0.95rem 0 0;
  padding: 0.62rem 0.86rem;
  border-radius: 0.9rem;
  border: 1px solid color-mix(in oklab, var(--bg-primary) 28%, transparent);
  background: linear-gradient(
    145deg,
    color-mix(in oklab, var(--bg-primary) 9%, var(--bg)) 0%,
    color-mix(in oklab, var(--bg-primary) 3%, var(--bg)) 100%
  );
  box-shadow:
    0 1px 0 color-mix(in oklab, #fff 22%, transparent) inset,
    0 6px 14px color-mix(in oklab, var(--bg-primary) 8%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: productPromoGlow 3.6s ease-in-out infinite;
}

#section_662af5c5 .product-promo-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    108deg,
    transparent 8%,
    color-mix(in oklab, #fff 22%, transparent) 33%,
    transparent 58%
  );
  transform: translateX(-135%);
  animation: productPromoSheen 8.5s cubic-bezier(0.2, 0.65, 0.25, 1) infinite;
}

#section_662af5c5 .product-promo-strip > * {
  position: relative;
  z-index: 1;
}

#section_662af5c5 .product-promo-strip__icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-variation-settings:
    "FILL" 1,
    "wght" 700,
    "GRAD" 0,
    "opsz" 20;
  line-height: 1;
  color: #2f240f;
  background:
    radial-gradient(circle at 28% 22%, color-mix(in oklab, #fff 66%, transparent) 0%, transparent 45%),
    linear-gradient(145deg,
      #ffd77a 0%,
      #f3b84c 55%,
      #dfa03b 100%);
  border: 1px solid color-mix(in oklab, #c8882f 62%, #ffffff26);
  flex: 0 0 auto;
  box-shadow:
    0 1px 0 color-mix(in oklab, #fff 44%, transparent) inset,
    0 0 0 1px color-mix(in oklab, #e8b14f 45%, transparent),
    0 8px 14px color-mix(in oklab, #c98b2d 30%, transparent);
  animation: productPromoIconPulse 2.8s ease-in-out infinite;
}

#section_662af5c5 .product-promo-strip__text {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  text-align: center;
  flex: 1 1 auto;
  font-size: 0.84rem;
  line-height: 1.3;
  letter-spacing: 0.003em;
  font-weight: 600;
  color: color-mix(in oklab, var(--fg) 88%, var(--fg-muted));
}

#section_662af5c5 .product-promo-strip__label {
  font-weight: 700;
  color: color-mix(in oklab, var(--fg) 92%, var(--bg-primary));
}

#section_662af5c5 .product-promo-strip__price {
  font-weight: 800;
  color: color-mix(in oklab, #d08e2f 72%, var(--fg));
}

#section_662af5c5 .product-promo-strip__was {
  font-weight: 600;
  color: color-mix(in oklab, var(--fg-muted) 84%, var(--fg));
}

@keyframes productPromoSheen {
  0%, 62%, 100% { transform: translateX(-135%); }
  18%, 36% { transform: translateX(135%); }
}

@keyframes productPromoIconPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 color-mix(in oklab, var(--bg-primary) 0%, transparent);
  }
  50% {
    transform: scale(1.045);
    box-shadow: 0 0 0 0.22rem color-mix(in oklab, var(--bg-primary) 16%, transparent);
  }
}

@keyframes productPromoGlow {
  0%, 100% { box-shadow:
    0 1px 0 color-mix(in oklab, #fff 22%, transparent) inset,
    0 6px 14px color-mix(in oklab, var(--bg-primary) 8%, transparent);
  }
  50% { box-shadow:
    0 1px 0 color-mix(in oklab, #fff 24%, transparent) inset,
    0 8px 18px color-mix(in oklab, var(--bg-primary) 11%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  #section_662af5c5 .product-promo-strip,
  #section_662af5c5 .product-promo-strip::before,
  #section_662af5c5 .product-promo-strip__icon {
    animation: none;
    transform: none;
  }
}

@media (max-width: 767px) {
  #section_662af5c5 .product-promo-strip {
    margin-top: 1rem;
  }
}

/* Mobile-only conversion flow: shorten path to bundles/CTA */
@media (max-width: 767px) {
  #main-content {
    display: flex !important;
    flex-direction: column;
  }
  #main-content > * {
    order: 2;
  }
  #main-content > #section_662af5c5 {
    order: 1 !important;
  }
  #main-content > #hero {
    order: 2 !important;
  }

  #section_662af5c5 > .max-w-7xl {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  #section_662af5c5 .product-mobile-details-panel { order: 1; }
  #section_662af5c5 .product-mobile-gallery-panel { order: 2; }

  #section_662af5c5 .product-mobile-flow {
    display: flex;
    flex-direction: column;
  }
  #section_662af5c5 .product-mobile-title { order: 1; /*margin-top: 1.1rem; */}
  #section_662af5c5 .product-mobile-subline { order: 2; margin-top: 0.6rem; }
  #section_662af5c5 .product-mobile-trust {
    order: 3;
    margin-top: 1rem;
    margin-bottom: 1.6rem;
    padding-bottom: 0.85rem;
  }
  #section_662af5c5 .product-mobile-bundles { order: 4; }
  #section_662af5c5 .product-mobile-cta {
    order: 5;
    /*margin-top: 1.5rem;
    margin-bottom: 1.5rem;*/
  }
  #section_662af5c5 .product-mobile-features {
    order: 6;
    margin-top: 0.35rem;
  }

  /* Reassurance block is intentionally lower emphasis than CTA */
  #section_662af5c5 .product-mobile-features .product-benefits__icon {
    width: 2.1rem;
    height: 2.1rem;
    color: color-mix(in oklab, var(--bg-primary) 52%, var(--fg-muted));
    background: color-mix(in oklab, var(--bg-primary) 8%, var(--bg));
    border-color: color-mix(in oklab, var(--fg-muted) 18%, transparent);
    box-shadow: 0 1px 5px color-mix(in oklab, var(--fg) 5%, transparent);
  }
}

/* —— Testimonials: featured block —— */
.testimonial-featured {
  width: 100%;
}

.testimonial-featured__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 1.35rem;
  border: 1px solid color-mix(in oklab, var(--bg-muted) 85%, var(--fg) 15%);
  background: color-mix(in oklab, var(--bg-muted) 38%, var(--bg));
  box-shadow:
    0 4px 6px -1px color-mix(in oklab, var(--fg) 8%, transparent),
    0 22px 50px -12px color-mix(in oklab, var(--fg) 12%, transparent);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.testimonial-featured:hover .testimonial-featured__inner {
  transform: scale(1.01);
  box-shadow:
    0 8px 14px -2px color-mix(in oklab, var(--fg) 10%, transparent),
    0 28px 56px -14px color-mix(in oklab, var(--fg) 16%, transparent);
}

@media (min-width: 768px) {
  .testimonial-featured__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    border-radius: 1.5rem;
  }
}

.testimonial-featured__media {
  position: relative;
  min-height: 15rem;
  background: var(--bg-muted);
}

.testimonial-featured__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      105deg,
      transparent 0%,
      color-mix(in oklab, var(--bg) 14%, transparent) 78%,
      color-mix(in oklab, var(--bg-muted) 38%, var(--bg)) 100%
    ),
    linear-gradient(
      to top,
      color-mix(in oklab, rgb(110 82 58) 9%, transparent) 0%,
      transparent 52%
    );
  opacity: 0.58;
}

@media (min-width: 768px) {
  .testimonial-featured__media {
    min-height: 100%;
  }
}

.testimonial-featured__img {
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.09) saturate(1.06);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

@media (min-width: 768px) {
  .testimonial-featured__img {
    min-height: 20rem;
  }
}

.testimonial-featured__content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
}

@media (min-width: 768px) {
  .testimonial-featured__content {
    padding: 2.5rem 2.75rem;
  }
}

.testimonial-featured__quote {
  margin: 0;
}

.testimonial-featured__quote-text {
  font-family: var(--font-header);
  font-size: clamp(1.28rem, 2.95vw, 1.65rem);
  line-height: 1.72;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
  max-width: min(100%, 34rem);
}

.testimonial-featured__quote-text + .testimonial-featured__quote-text {
  margin-top: 0.75rem;
}

.testimonial-featured__quote-text strong {
  font-weight: 700;
  color: var(--fg);
}

.testimonial-featured__meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.testimonial-featured__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-featured__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid color-mix(in oklab, var(--bg) 70%, var(--bg-muted));
}

.testimonial-featured__name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.testimonial-featured__stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--bg-primary);
  margin-top: 0.1rem;
}

.testimonial-featured__star {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  shape-rendering: geometricPrecision;
}

.testimonial-featured__verified {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  line-height: 1.25;
  margin-top: 0.15rem;
}

@media (max-width: 767px) {
  .testimonial-featured__content {
    text-align: center;
    align-items: center;
  }

  .testimonial-featured__quote {
    width: 100%;
    text-align: center;
    padding-inline: 0;
  }

  .testimonial-featured__quote-text {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .testimonial-featured__meta {
    align-items: center;
    width: 100%;
  }

  .testimonial-featured__author {
    justify-content: center;
  }

  .testimonial-featured__stars {
    justify-content: center;
  }

  .testimonial-featured__verified {
    text-align: center;
  }
}

.testimonials-trust-line {
  font-size: clamp(0.875rem, 2.1vw, 0.95rem);
  line-height: 1.45;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* Monogram avatars (marquee reviews): Somnia palette, no stock faces */
.testimonials-marquee .reviewer-avatar.reviewer-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.875rem;
  height: 2.875rem;
  min-width: 2.875rem;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-header), var(--font-body), system-ui, sans-serif;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-feature-settings: 'kern' 1;
  color: var(--fg-primary);
  line-height: 1;
  text-shadow: 0 1px 1px color-mix(in oklab, #000 28%, transparent);
  border: 1px solid color-mix(in oklab, var(--bg-section-accent) 55%, var(--fg-primary));
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--bg-primary) 55%, transparent),
    0 2px 0 0 color-mix(in oklab, var(--fg-primary) 12%, transparent),
    0 6px 16px -4px color-mix(in oklab, var(--bg-primary) 42%, transparent),
    inset 0 1px 0 color-mix(in oklab, var(--fg-primary) 22%, transparent),
    inset 0 -1px 0 color-mix(in oklab, #000 18%, transparent),
    inset 0 14px 22px -14px color-mix(in oklab, var(--fg-primary) 14%, transparent);
}

/* Eight subtle variations: same brand, different light / depth */
.reviewer-avatar--tone-1 {
  background: linear-gradient(
    152deg,
    color-mix(in oklab, var(--bg-primary) 72%, var(--fg-primary)) 0%,
    var(--bg-primary) 46%,
    color-mix(in oklab, var(--bg-primary) 88%, #000) 100%
  );
}

.reviewer-avatar--tone-2 {
  background: linear-gradient(
    162deg,
    color-mix(in oklab, var(--bg-primary) 62%, var(--bg-accent)) 0%,
    var(--bg-primary) 50%,
    color-mix(in oklab, var(--bg-primary) 85%, #000) 100%
  );
}

.reviewer-avatar--tone-3 {
  background: linear-gradient(
    138deg,
    color-mix(in oklab, var(--bg-primary) 58%, var(--bg-section-accent)) 0%,
    var(--bg-primary) 48%,
    color-mix(in oklab, var(--bg-primary) 90%, #000) 100%
  );
}

.reviewer-avatar--tone-4 {
  background: linear-gradient(
    170deg,
    color-mix(in oklab, var(--bg-primary) 78%, var(--fg-primary)) 0%,
    color-mix(in oklab, var(--bg-primary) 92%, #000) 100%
  );
}

.reviewer-avatar--tone-5 {
  background: linear-gradient(
    145deg,
    color-mix(in oklab, var(--bg-primary) 55%, var(--bg-accent)) 0%,
    var(--bg-primary) 52%,
    color-mix(in oklab, var(--bg-primary) 82%, #000) 100%
  );
}

.reviewer-avatar--tone-6 {
  background: linear-gradient(
    158deg,
    color-mix(in oklab, var(--bg-primary) 50%, var(--bg-section-accent)) 0%,
    color-mix(in oklab, var(--bg-primary) 95%, #000) 100%
  );
}

.reviewer-avatar--tone-7 {
  background: linear-gradient(
    128deg,
    var(--bg-primary) 0%,
    color-mix(in oklab, var(--bg-primary) 70%, var(--bg-accent)) 38%,
    color-mix(in oklab, var(--bg-primary) 88%, #000) 100%
  );
}

.reviewer-avatar--tone-8 {
  background: linear-gradient(
    155deg,
    color-mix(in oklab, var(--bg-primary) 68%, var(--fg-primary)) 0%,
    color-mix(in oklab, var(--bg-primary) 55%, var(--bg-section-accent)) 55%,
    color-mix(in oklab, var(--bg-primary) 86%, #000) 100%
  );
}

/* —— Testimonials: marquee rows + edge fade —— */
.testimonial-marquee-shell {
  position: relative;
  width: 100%;
}

.testimonial-marquee-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2.5rem, 8vw, 5rem);
  z-index: 3;
  pointer-events: none;
}

.testimonial-marquee-edge--left {
  left: 0;
  background: linear-gradient(
    to right,
    var(--bg) 0%,
    color-mix(in oklab, var(--bg) 35%, transparent) 55%,
    transparent 100%
  );
}

.testimonial-marquee-edge--right {
  right: 0;
  background: linear-gradient(
    to left,
    var(--bg) 0%,
    color-mix(in oklab, var(--bg) 35%, transparent) 55%,
    transparent 100%
  );
}

.testimonials-marquee .marquee {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.testimonials-marquee .marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 3.25rem;
  animation: marquee-scroll 70s linear infinite;
  width: max-content; /* Important: makes content only as wide as needed */
}

/* Standardize lifestyle images between cards (same footprint, calmer presence) */
.testimonials-marquee .marquee-inner > img {
  width: 11rem !important;
  height: 11rem !important;
  max-width: 11rem;
  min-width: 11rem;
  min-height: 11rem;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  align-self: center;
  border-radius: max(var(--card-border-radius, 0.75rem), 1rem);
  box-shadow:
    0 2px 6px color-mix(in oklab, var(--fg) 6%, transparent),
    0 10px 22px -10px color-mix(in oklab, var(--fg) 10%, transparent);
  opacity: 0.88;
}

.testimonials-marquee .marquee-bottom .marquee-inner {
  animation-direction: reverse;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Moves by half of the total width */
  }
}

.testimonials-marquee .marquee-inner.paused {
  animation-play-state: paused;
}

/* Scrolling cards: spacing, type, shadow, hover */
.testimonials-marquee .card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.testimonials-marquee .card:hover {
  transform: scale(1.02);
}

.testimonials-marquee .card article {
  padding: 2rem 2.25rem;
  border-radius: max(var(--card-border-radius, 0.75rem), 1rem);
  box-shadow:
    0 3px 6px color-mix(in oklab, var(--fg) 7%, transparent),
    0 16px 36px -10px color-mix(in oklab, var(--fg) 13%, transparent),
    0 1px 0 color-mix(in oklab, var(--fg) 5%, transparent);
  font-size: 1.09375rem;
  transition: box-shadow 0.3s ease;
}

.testimonials-marquee .marquee-inner > .card:nth-child(4n + 1) article {
  transform: translateY(1px);
  box-shadow:
    0 4px 8px color-mix(in oklab, var(--fg) 8%, transparent),
    0 18px 40px -12px color-mix(in oklab, var(--fg) 14%, transparent),
    0 1px 0 color-mix(in oklab, var(--fg) 5%, transparent);
}

.testimonials-marquee .marquee-inner > .card:nth-child(4n + 3) article {
  transform: translateY(-1px);
  box-shadow:
    0 2px 5px color-mix(in oklab, var(--fg) 6%, transparent),
    0 14px 32px -9px color-mix(in oklab, var(--fg) 12%, transparent),
    0 1px 0 color-mix(in oklab, var(--fg) 4%, transparent);
}

.testimonials-marquee .card article .text-body {
  font-size: inherit;
  line-height: 1.68;
}

.testimonials-marquee .card article svg.w-4 {
  width: 1.1rem;
  height: 1.1rem;
}

/* Alternative: If you want to duplicate content automatically via CSS */
.testimonials-marquee .marquee-inner::after {
  content: attr(data-content);
  /* This won't work for complex HTML, better to duplicate in HTML */
}

.faq-grid {
  align-items: start;
}

.faq-grid article {
  height: auto !important;
  min-height: auto !important;
}

/* Former inline styles (moved here for maintainability; same values as before) */
footer > div > div.flex.gap-4 {
    font-family: var(--font-body);
}

/* Added CRO flow sections (styled to match existing page system) */
.video-section,
.problem,
.solution,
.before-after,
.final-cta {
  padding: 3rem 1rem;
  background-color: var(--bg);
  color: var(--fg);
}

.video-section .container,
.problem .container,
.problem-solution-divider .container,
.solution .container,
.before-after .container,
.final-cta .container {
  max-width: 72rem;
  margin: 0 auto;
}

.video-section .video-intro {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
}

.video-section h2,
.problem h2,
.solution h2,
.before-after h2,
.final-cta h2 {
  font-family: var(--font-header);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  text-align: center;
  color: var(--fg);
  margin-bottom: 1rem;
}

.video-wrapper {
  max-width: 56rem;
  margin: 1.35rem auto 0;
  border: 1px solid color-mix(in srgb, var(--bg-primary) 18%, var(--bg-muted));
  border-radius: var(--card-border-radius);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2)),
    var(--bg-muted);
  box-shadow:
    0 16px 36px rgba(12, 18, 14, 0.12),
    0 2px 0 rgba(255, 255, 255, 0.6) inset;
}

@media (min-width: 1024px) {
  .video-wrapper {
    max-width: 100%;
    width: 100%;
  }
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.video-proof-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.video-proof-points span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 600;
  color: color-mix(in srgb, var(--fg) 88%, black);
  border: 1px solid color-mix(in srgb, var(--bg-primary) 22%, var(--bg-muted));
  background: color-mix(in srgb, var(--bg-primary) 12%, white);
}

.video-caption {
  margin: 0;
  padding: 0.68rem 0.9rem 0.8rem;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--fg-muted);
  border-top: 1px solid color-mix(in srgb, var(--bg-primary) 12%, var(--bg-muted));
  background: color-mix(in srgb, var(--bg) 92%, var(--bg-muted));
}

.solution {
  background: linear-gradient(to bottom, var(--bg), #fbfcfa);
}

.solution .solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.solution .solution-image-wrap {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  border: 1px solid var(--bg-muted);
  background: var(--bg-muted);
}

.solution .solution-image {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  max-height: 32rem;
  object-fit: cover;
  display: block;
}

.solution .solution-text h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.solution .solution-text {
  max-width: 60ch;
}

.solution .solution-intro {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--bg-primary);
  letter-spacing: 0.01em;
}

.solution .solution-body {
  margin: 0;
  max-width: 56ch;
  color: var(--fg-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.solution .solution-body + .solution-body {
  margin-top: 0.9rem;
}

.solution .solution-list {
  margin-top: 1.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid #eef2ea;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: var(--fg-muted);
}

.solution .solution-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
  border: 1px solid #eef2ea;
  box-shadow: 0 1px 2px rgba(20, 30, 24, 0.05);
}

.solution .solution-list li::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  margin-top: 0.12rem;
  background-color: #eef5eb;
  border: 1px solid #e4ebdf;
  background-image: var(--solution-icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.82rem 0.82rem;
}

.solution .solution-list li:nth-child(1),
.solution .solution-list li:nth-child(2),
.solution .solution-list li:nth-child(3) {
  --solution-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322352C' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E");
}

.problem .problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.problem {
  background: linear-gradient(to bottom, var(--bg-muted), var(--bg));
}

.problem .problem-image-wrap {
  border-radius: var(--card-border-radius);
  overflow: hidden;
  border: 1px solid var(--bg-muted);
  background: var(--bg-muted);
}

.problem .problem-image {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  max-height: 32rem;
  object-fit: cover;
  display: block;
}

.problem .problem-text h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.problem .problem-text {
  max-width: 60ch;
}

.problem .problem-intro,
.problem .problem-body {
  margin: 0;
  color: var(--fg-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

.problem .problem-intro {
  font-weight: 500;
}

.problem .problem-body {
  margin-top: 0.75rem;
}

.problem .problem-list {
  margin-top: 1.5rem;
  padding-left: 0;
  color: var(--fg-muted);
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.problem .problem-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfa 100%);
  border: 1px solid #eef2ea;
  box-shadow: 0 1px 2px rgba(20, 30, 24, 0.05);
}

.problem .problem-list li::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  margin-top: 0.12rem;
  background-color: #f1f5ef;
  background-image: var(--problem-icon);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.82rem 0.82rem;
  border: 1px solid #e4ebdf;
}

.problem .problem-list li:nth-child(1) {
  --problem-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322352C' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12c1.2-3.8 4.1-6 8.5-6C16.2 6 19 8.8 19 13c0 3-1.6 5.3-4.4 6.7'/%3E%3Cpath d='M10.2 10.1c2.1-.4 3.8.7 4.2 2.6c.4 2-1 3.8-3.2 4.3'/%3E%3Cpath d='M8.8 16.9l2.8.1l-.8 2.4'/%3E%3C/svg%3E");
}

.problem .problem-list li:nth-child(2) {
  --problem-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322352C' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 13.5h17v4h-17z'/%3E%3Cpath d='M6 13.5V11a2 2 0 0 1 2-2h2.5a2 2 0 0 1 2 2v2.5'/%3E%3Cpath d='M3.5 17.5v2'/%3E%3Cpath d='M20.5 17.5v2'/%3E%3C/svg%3E");
}

.problem .problem-list li:nth-child(3) {
  --problem-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322352C' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.8 8.2a3 3 0 0 0-4.7 2.4v2.8a3 3 0 0 0 5.1 2.1l2.2-2.3a2.5 2.5 0 1 0-3.5-3.5l-.8.8'/%3E%3Cpath d='M15.1 15.6l1.3 1.3'/%3E%3C/svg%3E");
}

.problem .problem-list li:nth-child(4) {
  --problem-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322352C' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15.8 4.8a7.5 7.5 0 1 0 3.4 12.8a6.5 6.5 0 1 1-3.4-12.8z'/%3E%3Cpath d='M17.4 6.1v2'/%3E%3Cpath d='M16.4 7.1h2'/%3E%3C/svg%3E");
}

.problem .problem-transition {
  margin-top: 1.2rem;
  padding-top: 0.85rem;
  color: var(--fg);
  font-weight: 500;
  line-height: 1.6;
  border-top: 1px solid #e9eee6;
  max-width: 42ch;
}

/* Premium transition: problem → solution */
.problem-solution-divider {
  margin: 0;
  padding: 0;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--bg-muted) 22%, var(--bg)) 0%,
      var(--bg) 45%,
      color-mix(in srgb, var(--bg) 88%, #fbfcfa) 100%
    );
}

.problem-solution-divider__inner {
  max-width: 72rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.problem-solution-divider__line {
  flex: 1;
  min-width: 2rem;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--bg-primary) 42%, var(--bg-muted)) 38%,
    color-mix(in srgb, var(--bg-primary) 52%, var(--bg-muted)) 50%,
    color-mix(in srgb, var(--bg-primary) 42%, var(--bg-muted)) 62%,
    transparent 100%
  );
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
  opacity: 0.92;
}

.problem-solution-divider__ornament {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--bg) 94%, white) 0%,
    color-mix(in srgb, var(--bg-muted) 55%, white) 100%
  );
  border: 1px solid color-mix(in srgb, var(--bg-primary) 16%, var(--bg-muted));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 10px 22px color-mix(in srgb, var(--bg-primary) 9%, transparent),
    0 2px 4px rgba(12, 18, 14, 0.06);
}

.problem-solution-divider__gem {
  display: block;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--bg-primary) 92%, white),
    color-mix(in srgb, var(--bg-primary) 55%, #1a2820)
  );
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--bg-primary) 18%, transparent),
    0 1px 2px color-mix(in srgb, var(--bg-primary) 40%, transparent);
}

@media (min-width: 768px) {
  .problem-solution-divider__inner {
    gap: 1.1rem;
  }

  .problem-solution-divider__ornament {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.before-after .comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-top: 2.35rem;
  position: relative;
}

.before-after .comparison-kicker {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: color-mix(in oklab, var(--bg-primary) 78%, #fff 22%);
}

.before-after .container > h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.before-after .comparison-intro {
  margin: 0 auto 0;
  max-width: 62ch;
  text-align: center;
  color: var(--fg-muted);
  line-height: 1.65;
  text-wrap: balance;
  padding-bottom: 0.15rem;
}

.before-after .comparison-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--card-border-radius);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-image: var(--panel-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100%;
  min-height: 28rem;
  display: flex;
  align-items: flex-end;
  transform: translateZ(0);
  box-shadow: 0 14px 28px rgba(15, 22, 18, 0.14);
  transition:
    transform 380ms ease,
    box-shadow 380ms ease,
    filter 380ms ease;
}

@media (min-width: 768px) {
  .before-after .comparison-panel {
    background-image: var(--panel-image-md);
  }
}

.before-after .comparison-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0.2) 0%, rgba(4, 6, 9, 0.72) 68%, rgba(3, 4, 7, 0.86) 100%);
}

.before-after .before.comparison-panel::before {
  background: linear-gradient(180deg, rgba(3, 5, 8, 0.48) 0%, rgba(3, 5, 8, 0.84) 58%, rgba(2, 3, 6, 0.95) 100%);
}

.before-after .before.comparison-panel {
  filter: saturate(0.82) contrast(0.94);
}

/* Lighter overlay on “Après” for contrast vs darker “Avant” */
.before-after .after.comparison-panel::before {
  background: linear-gradient(180deg, rgba(24, 26, 14, 0.1) 0%, rgba(16, 19, 12, 0.42) 58%, rgba(12, 16, 10, 0.58) 100%);
}

/* Après: léger relief, sans effet “flashy” */
.before-after .after.comparison-panel {
  filter: saturate(1.02) contrast(1.01);
  box-shadow:
    0 14px 28px rgba(15, 22, 18, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.07);
}

/* Chip secondaire seul en haut-gauche */
.before-after .panel-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: calc(100% - 2rem);
}

.before-after .panel-content .panel-label {
  align-self: flex-start;
}

.before-after .panel-label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.45rem 0.82rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.before-after .panel-label__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.88;
}

.before-after .panel-label__icon svg {
  display: block;
}

.before-after .panel-label--before {
  color: rgba(240, 242, 245, 0.95);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.before-after .panel-label--after {
  color: rgba(255, 252, 247, 0.98);
  background: rgba(92, 72, 56, 0.32);
  border: 1px solid rgba(255, 232, 210, 0.28);
}

.before-after .panel-badges .panel-chip {
  position: static;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.before-after .before.comparison-panel .panel-badges .panel-chip {
  color: rgba(235, 233, 230, 0.88);
  background: rgba(12, 12, 14, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.before-after .after.comparison-panel .panel-badges .panel-chip {
  color: rgba(255, 245, 235, 0.9);
  background: rgba(48, 40, 34, 0.32);
  border: 1px solid rgba(255, 220, 195, 0.2);
}

.before-after .comparison-panel .panel-content {
  --panel-pad-x: 1.25rem;
  --panel-pad-y: 1.5rem;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
  padding: var(--panel-pad-y) var(--panel-pad-x);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.85rem;
  min-height: 0;
}

.before-after .before ul,
.before-after .after ul {
  margin: 0;
  padding-left: 0;
  display: grid;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.94);
  list-style: none;
}

.before-after .before li,
.before-after .after li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.62rem;
  line-height: 1.52;
  font-weight: 400;
  font-size: 0.9375rem;
  text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Icônes fines (trait léger), pas d’emoji */
.before-after .before-list li::before,
.before-after .after-list li::before {
  content: "";
  margin-top: 0.2rem;
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.before-after .before-list li::before {
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.35' stroke-linecap='round'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
}

.before-after .after-list li::before {
  opacity: 0.72;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

@media (hover: hover) and (pointer: fine) {
  .before-after .comparison-panel:hover {
    transform: scale(1.004);
    box-shadow: 0 18px 32px rgba(12, 18, 14, 0.18);
  }

  .before-after .before.comparison-panel:hover {
    filter: saturate(0.78) contrast(0.92) brightness(0.94);
  }

  .before-after .after.comparison-panel:hover {
    filter: saturate(1.06) contrast(1.02) brightness(1.035);
    box-shadow:
      0 18px 32px rgba(12, 18, 14, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.09);
  }
}

.final-cta {
  text-align: center;
  background: linear-gradient(to right, var(--bg-primary), var(--bg));
}

.final-cta .cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
}

.cta-bridge .comparison-intro {
  margin: 0 auto;
  max-width: 54ch;
  text-align: center;
  color: color-mix(in oklab, var(--fg-muted) 90%, white 10%);
}

.cta-bridge .cta-button {
  margin-top: 1.6rem;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 12px 26px rgba(12, 18, 14, 0.2),
    0 0 0 1px color-mix(in srgb, var(--bg-primary) 72%, white 28%) inset;
}

.cta-bridge .cta-button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 30px rgba(12, 18, 14, 0.24),
    0 0 0 1px color-mix(in srgb, var(--bg-primary) 76%, white 24%) inset;
}

.cta-bridge-reassurance {
  margin-top: 0.72rem;
  font-size: 0.78rem;
  line-height: 1.25;
  color: color-mix(in oklab, var(--fg-muted) 92%, white 8%);
  opacity: 0.95;
}

@media (min-width: 768px) {
  .video-section,
  .problem,
  .solution,
  .before-after,
  .final-cta {
    padding: 4rem 1rem;
  }

  .before-after .comparison {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    margin-top: 2.5rem;
  }

  .before-after .comparison::after {
    content: "→";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: var(--bg-primary);
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(8, 14, 10, 0.15);
    z-index: 2;
  }

  .before-after .comparison-panel {
    min-height: 32rem;
  }

  .before-after .comparison-panel .panel-content {
    --panel-pad-x: 1.5rem;
    --panel-pad-y: 1.85rem;
    gap: 0.95rem;
  }

  .before-after .panel-content .panel-label {
    font-size: 0.65625rem;
    padding: 0.48rem 0.88rem;
  }

  .before-after .comparison-intro {
    font-size: 1.02rem;
    margin-bottom: 0;
  }

  .before-after .container > h2 {
    margin-bottom: 1.35rem;
  }

  .problem .problem-grid {
    gap: 2rem;
  }

  .solution .solution-grid {
    gap: 2rem;
  }

  .solution .solution-intro {
    font-size: 1.04rem;
    margin-bottom: 0.85rem;
  }
}

@media (min-width: 1024px) {
  .problem .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .solution .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .before-after .comparison-panel {
    min-height: 34rem;
  }
}

/* ==========================================================================
   Landing (index): moved from inline <style> in head
   ========================================================================== */

html {
  opacity: 1;
  transition: opacity 0.2s ease;
}

/* No-JS: page stays visible when scripts are disabled (was <noscript><style>) */
html.tw-loading {
  opacity: 1 !important;
}

.cta-trust-badges {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  color: color-mix(in srgb, var(--fg-muted) 86%, #111 14%);
  font-size: 0.78rem;
  line-height: 1.35;
  animation: trustBadgeFadeIn 0.45s ease-out both;
  animation-delay: 0.08s;
}

.cta-trust-badges__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.cta-trust-badges__item svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--bg-primary) 68%, #ffffff 32%);
}

.cta-trust-badges__note {
  width: 100%;
  text-align: center;
  margin-top: 2px;
  font-size: 0.71rem;
  color: color-mix(in srgb, var(--fg-muted) 92%, #111 8%);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  animation: heroTrustFadeIn 0.45s ease-out both;
  animation-delay: 0.08s;
}

.hero-social-proof__avatars {
  display: inline-flex;
  align-items: center;
  padding-left: 0;
}

.hero-social-proof__avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.hero-social-proof__avatar:first-child {
  margin-left: 0;
}

.hero-social-proof__text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #444444;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.005em;
  margin: 0;
}

.hero-social-proof__icon {
  width: 13px;
  height: 13px;
  opacity: 0.7;
  color: color-mix(in srgb, var(--bg-primary) 70%, #111 30%);
  flex: 0 0 auto;
}

.final-cta-subtext {
  color: var(--fg);
}

@keyframes heroTrustFadeIn {
  from {
    opacity: 0;
    transform: translateY(2px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes trustBadgeFadeIn {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-card {
  background: color-mix(in srgb, var(--bg) 92%, #ffffff 8%);
  border: 1px solid color-mix(in srgb, var(--bg-primary) 20%, transparent);
  border-radius: calc(var(--card-border-radius) + 2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.faq-card:hover {
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
  border-color: color-mix(in srgb, var(--bg-primary) 30%, transparent);
  transform: translateY(-2px);
}

.faq-card.is-open {
  background: color-mix(in srgb, var(--bg) 88%, #ffffff 12%);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: color-mix(in srgb, var(--bg-primary) 55%, transparent);
}

.faq-item-header {
  width: 100%;
  text-align: left;
  min-height: 54px;
}

.faq-item-toggle {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-card.is-open .faq-item-toggle {
  transform: rotate(180deg);
  background-color: color-mix(in srgb, var(--bg-primary) 82%, #000 18%);
}

.faq-item-content {
  transition: max-height 0.38s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  opacity: 0.88;
  color: var(--fg);
  transform: translateY(-2px);
}

.faq-card.is-open .faq-item-content {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .cta-trust-badges {
    font-size: 0.73rem;
    gap: 7px 12px;
  }

  .cta-trust-badges__item {
    gap: 5px;
  }

  .cta-trust-badges__note {
    font-size: 0.67rem;
  }

  .hero-social-proof {
    margin-top: 9px;
  }

  .hero-social-proof__text {
    font-size: 13.5px;
  }

  .faq-item-header {
    min-height: 58px;
  }

  .faq-card {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  }
}
