:root {
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 12px;
  --max: 42rem;
  --max-wide: 52rem;
  --page-pad-x: 19px;
  /* Full-bleed breakout: prefer `svw` so width matches scrollable viewport (not `100vw` + scrollbar). */
  --bleed-w: 100vw;
  --bleed-m: 50vw;
  /* Wider than main so testimonial cards are not squeezed into ~15rem columns */
  --max-testimonial-row: min(80rem, calc(var(--bleed-w) - 3rem));
}

@supports (width: 100svw) {
  :root {
    --bleed-w: 100svw;
    --bleed-m: 50svw;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Reserve scrollbar space; `both-edges` keeps the gutter symmetric (avoids lopsided “padding”). */
  scrollbar-gutter: stable;
  /*
   * Stops full-bleed rows (`--bleed-w`) from widening the document; clips any paint past the
   * viewport. `body` uses the same so horizontal scroll cannot attach to the flex layout root.
   */
  overflow-x: hidden;
  overflow-x: clip;
}

@supports (scrollbar-gutter: stable both-edges) {
  html {
    scrollbar-gutter: stable both-edges;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--font-sans);
  font-size: var(--typ-body-lg-size);
  font-weight: var(--typ-body-lg-weight);
  line-height: var(--typ-body-lg-line-height);
  color: var(--color-text);
  background: var(--color-background);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, var(--color-blue-10), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, var(--color-reality-check-teal-10), transparent);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: color-mix(in srgb, var(--color-primary) 82%, white);
}

.site-header {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  background-color: var(--color-primary);
}

.site-header__inner {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 1rem max(var(--page-pad-x), env(safe-area-inset-left, 0px))
    1rem max(var(--page-pad-x), env(safe-area-inset-right, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  row-gap: 0.35rem;
  column-gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1.9vw, 0.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav__link {
  color: var(--color-soft-white);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link:hover {
  color: color-mix(in srgb, var(--color-soft-white) 88%, white);
}

.site-nav__sep {
  color: var(--color-soft-white-50);
  font-weight: 500;
  user-select: none;
}

@media (max-width: 767px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }
}

/* In-page anchors: offset slightly below the header band when jumping from the nav. */
#ai-modes,
#how-it-works,
#faq {
  scroll-margin-top: 1.25rem;
}

.logo {
  display: block;
  line-height: 0;
  color: inherit;
}

.logo:hover {
  opacity: 0.88;
}

.logo img {
  display: block;
  height: 62px;
  width: auto;
}

main {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding-top: var(--main-pad-y, 5rem);
  padding-bottom: var(--main-pad-y, 5rem);
  --main-pad-left: max(19px, var(--page-pad-x), env(safe-area-inset-left, 0px));
  --main-pad-right: max(19px, var(--page-pad-x), env(safe-area-inset-right, 0px));
  padding-left: var(--main-pad-left);
  padding-right: var(--main-pad-right);
}

@media (max-width: 767px) {
  main {
    padding-top: 0;
  }
}

.hero {
  text-align: center;
  padding: 0 0 var(--section-pad-y, 5rem);
  max-width: none;
  margin: 0;
  /* Lets scaled media resolve inside `main` without bogus min-width from descendants. */
  min-width: 0;
}

.hero__banner {
  line-height: 0;
  margin: 0 0 clamp(1.25rem, 4vw, 2rem);
}

/* Full-bleed to viewport; `--bleed-*` prefers `svw` where supported (see `:root`). */
.hero__banner--bleed {
  width: var(--bleed-w);
  margin-left: calc(50% - var(--bleed-m));
  margin-right: calc(50% - var(--bleed-m));
}

/* Same layers as `.testimonial-scroll`: bleed strip → capped row (`--max-testimonial-row`) → media. */
.hero__banner-viewport {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.hero__banner-pad {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.hero__banner-videos {
  display: block;
}

.hero__banner-static {
  display: none;
}

.hero__banner-static picture {
  display: block;
}

.hero__banner-static img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 782 / 718;
}

.hero__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 782 / 718;
}

.hero__video--desktop {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__banner-videos {
    display: none;
  }

  .hero__banner-static {
    display: block;
  }
}

@media (min-width: 768px) {
  /*
   * Desktop hero media uses the same container stack as testimonials:
   * `.hero__banner--bleed` (viewport strip) → `.hero__banner-viewport` (`--max-testimonial-row` + pad)
   * → `.hero__banner-pad` → video / static. Zoom math keeps paint inside the pad width.
   */
  .hero__banner {
    margin-bottom: calc(clamp(1.25rem, 4vw, 2rem) + clamp(0.85rem, 5vw, 2.75rem));
  }

  .hero__banner-viewport {
    max-width: var(--max-testimonial-row);
    margin-inline: auto;
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
    padding-block: 0;
  }

  .hero__banner-pad {
    width: 100%;
    min-width: 0;
  }

  .hero__banner-videos,
  .hero__banner-static {
    /* Painted width = `--hero-desktop-visible` × pad width (15% smaller than full row). */
    --hero-desktop-zoom: 1.15;
    --hero-desktop-visible: 0.85;
    width: calc(var(--hero-desktop-visible) * 100% / var(--hero-desktop-zoom));
    max-width: calc(var(--hero-desktop-visible) * 100% / var(--hero-desktop-zoom));
    min-width: 0;
    margin-inline: auto;
    transform: scale(var(--hero-desktop-zoom));
    transform-origin: top center;
    border-radius: 32px;
    overflow: hidden;
  }

  .hero__banner-static picture {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .hero__banner-static img {
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    aspect-ratio: 1537 / 599;
  }

  .hero__video--mobile {
    display: none;
  }

  /* Fill track width; height follows real video aspect (avoid CSS ratio ≠ file → pillarboxing). */
  .hero__video--desktop {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-inline: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }
}

.hero__copy {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: clamp(1.25rem, 4vw, 2.25rem);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: var(--typ-display-weight);
  font-size: clamp(1.75rem, 5vw, var(--typ-display-size));
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: var(--typ-subtitle-size);
  font-weight: var(--typ-subtitle-weight);
  line-height: var(--typ-subtitle-line-height);
  color: var(--color-text-secondary);
  margin: 0 0 1.75rem;
}

.hero__download {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__download-caption {
  margin: 0;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
}

.hero__store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  width: 100%;
}

.hero__store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.75rem 1.35rem;
  font-family: var(--font-sans);
  font-size: var(--typ-body-medium-size);
  font-weight: var(--typ-body-medium-weight);
  line-height: 1.2;
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-soft-white-20);
  border-radius: var(--radius);
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    color 0.15s ease,
    transform 0.15s ease;
}

.hero__store-btn:hover {
  color: var(--color-text);
  border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-soft-white-20));
  background: color-mix(in srgb, var(--color-surface) 88%, var(--color-primary));
  transform: translateY(-1px);
}

.hero__store-btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--color-background),
    0 0 0 4px var(--color-primary);
}

.clarity-section__download .store-availability-caption {
  margin: 0.875rem 0 0;
  max-width: 28rem;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  text-wrap: balance;
  color: color-mix(in srgb, var(--color-soft-white) 72%, transparent);
  text-align: center;
}

@media (min-width: 900px) {
  .clarity-section__download .store-availability-caption {
    text-align: left;
  }
}

/* —— major sections (shared vertical rhythm; avoids margin + padding stacking) —— */
.orbit-section,
.image-swiper-section,
.how-section,
.insight-section,
.testimonials-section,
.membership-section,
.faq-section {
  margin-top: 0;
  /* Physical longhands: better support than padding-block in some mobile WebViews */
  padding-top: var(--section-pad-y, 5rem);
  padding-bottom: var(--section-pad-y, 5rem);
  padding-left: 0;
  padding-right: 0;
}

/* —— clarity / download band —— */
.clarity-section {
  width: var(--bleed-w);
  margin-left: calc(50% - var(--bleed-m));
  margin-right: calc(50% - var(--bleed-m));
  padding-top: var(--section-pad-y, 5rem);
  padding-bottom: var(--section-pad-y, 5rem);
  background: var(--color-primary);
  color: var(--color-soft-white);
}

.clarity-section__inner {
  max-width: min(64rem, calc(100% - 3rem));
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  gap: clamp(1.25rem, 4vw, 2rem);
  align-items: center;
}

.clarity-section__visual {
  display: flex;
  justify-content: center;
  line-height: 0;
}

.clarity-section__mockup {
  display: block;
  width: min(100%, 16rem);
  height: auto;
  aspect-ratio: 1443 / 2745;
}

.clarity-section__content {
  text-align: center;
}

.clarity-section__title {
  font-family: var(--font-display);
  font-weight: var(--typ-display-weight);
  font-size: clamp(1.75rem, 5vw, var(--typ-display-size));
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--color-soft-white);
}

.clarity-section__lede {
  font-size: var(--typ-subtitle-size);
  font-weight: var(--typ-subtitle-weight);
  line-height: var(--typ-subtitle-line-height);
  color: color-mix(in srgb, var(--color-soft-white) 88%, transparent);
  margin: 0 0 1.75rem;
  max-width: 28rem;
  margin-inline: auto;
}

.clarity-section__download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.clarity-section__download-caption {
  margin: 0;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: color-mix(in srgb, var(--color-soft-white) 72%, transparent);
}

.clarity-section__store-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
  width: 100%;
}

.clarity-section__store-btn:hover {
  border-color: color-mix(in srgb, var(--color-soft-white) 55%, var(--color-deep-indigo-20));
  background: color-mix(in srgb, var(--color-surface) 82%, var(--color-soft-white));
}

.clarity-section__store-btn:focus-visible {
  box-shadow:
    0 0 0 2px var(--color-primary),
    0 0 0 4px var(--color-soft-white);
}

@media (min-width: 900px) {
  .clarity-section__inner {
    max-width: min(90rem, calc(100% - 3rem));
    grid-template-columns: auto auto;
    justify-content: center;
    justify-items: start;
    gap: clamp(0.75rem, 2.5vw, 1.5rem);
  }

  .clarity-section__visual {
    justify-content: center;
    margin-left: 0;
  }

  .clarity-section__content {
    text-align: left;
    justify-self: start;
    max-width: min(28rem, 100%);
  }

  .clarity-section__mockup {
    width: min(100%, clamp(20rem, 42vw, 34rem));
    max-height: min(76vh, 680px);
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center center;
  }

  .clarity-section__lede {
    margin-inline: 0;
  }

  .clarity-section__download {
    align-items: flex-start;
  }

  .clarity-section__store-row {
    justify-content: flex-start;
  }
}

/* —— orbit carousel (home) —— */
.orbit-section {
  text-align: center;
}

.orbit-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, var(--typ-heading-2-size));
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.orbit-section__lede {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  color: var(--color-text-secondary);
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

/* —— image card stack (swipe deck) —— */
.image-swiper-section {
  text-align: center;
}

.image-swiper-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, var(--typ-heading-2-size));
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.image-swiper-section__lede {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  color: var(--color-text-secondary);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  padding: 0 1rem;
}

.image-swiper-section__frame {
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.image-swiper-section__hint {
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
  margin: 48px auto 0;
  max-width: 28rem;
  padding: 0 1rem;
}

.image-swiper__stack {
  /* Match intrinsic size of goDeeper PNGs (475×348) so images are not cropped. */
  --card-w: min(22rem, calc(100vw - 2.5rem));
  --card-intrinsic-w: 475;
  --card-intrinsic-h: 348;
  --card-h: calc(var(--card-w) * var(--card-intrinsic-h) / var(--card-intrinsic-w));
  position: relative;
  display: grid;
  place-content: center;
  width: var(--card-w);
  height: var(--card-h);
  margin-inline: auto;
  perspective: 1000px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
  overflow: visible;
}

.image-swiper__stack:active {
  cursor: grabbing;
}

.image-card {
  --i: 0;
  --swipe-x: 0px;
  --swipe-rotate: 0deg;
  position: absolute;
  place-self: center;
  width: var(--card-w);
  height: var(--card-h);
  border-radius: var(--radius);
  border: 2px solid var(--color-primary);
  box-shadow:
    0 1.25rem 2.5rem var(--color-deep-indigo-50),
    0 0.35rem 0.85rem var(--color-charcoal-50);
  overflow: hidden;
  background: var(--color-surface);
  will-change: transform;
  transform: translateY(calc(var(--i) * 10px)) translateZ(calc(var(--i) * -45px)) translateX(var(--swipe-x))
    rotate(var(--swipe-rotate));
  transform-style: preserve-3d;
}

.image-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.orbit-carousel {
  --orbit-r: 200px;
  --orbit-profile: 80px;
  --orbit-stage-size: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  min-height: 22rem;
  width: 100%;
  overflow-x: visible;
  overflow-y: visible;
}

.orbit-carousel__stage {
  position: relative;
  width: var(--orbit-stage-size);
  height: var(--orbit-stage-size);
  flex-shrink: 0;
  margin-inline: auto;
  outline: none;
}

@media (max-width: 767px) {
  .orbit-carousel {
    align-items: stretch;
    padding-inline: 0;
  }

  .orbit-carousel__stage {
    width: 100%;
    max-width: none;
    height: auto;
    aspect-ratio: 1;
    margin-inline: 0;
  }
}

.orbit-carousel__stage:focus-visible {
  box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary);
  border-radius: var(--radius);
}

.orbit-carousel__card-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  pointer-events: none;
}

.orbit-carousel__card {
  pointer-events: auto;
  width: min(13rem, 86vw);
  background: var(--color-primary);
  border: 1px solid var(--color-soft-white-20);
  border-radius: var(--radius);
  padding: 0.85rem 1rem 1rem;
  text-align: center;
  box-shadow:
    0 18px 40px var(--color-deep-indigo-50),
    inset 0 1px 0 var(--color-soft-white-20);
}

.orbit-carousel__card--pulse {
  animation: orbit-card-in 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes orbit-card-in {
  from {
    opacity: 0.65;
    transform: scale(0.96) translateY(6px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.orbit-carousel__card-photo {
  display: block;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
  margin: -2.25rem auto 0;
  border: 3px solid var(--color-primary);
}

@media (min-width: 768px) {
  .orbit-carousel__card {
    width: 13rem;
    padding: 1rem 1.1rem 1.1rem;
  }

  .orbit-carousel__card-photo {
    width: 5rem;
    height: 5rem;
    margin-top: -2.75rem;
    border-width: 4px;
  }
}

.orbit-carousel__card-name {
  font-family: var(--font-sans);
  font-size: var(--typ-body-bold-size);
  font-weight: 700;
  line-height: var(--typ-body-bold-line-height);
  margin: 0.65rem 0 0.5rem;
  color: var(--color-text);
}

.orbit-carousel__card-detail {
  font-size: var(--typ-caption-size);
  line-height: var(--typ-caption-line-height);
  color: var(--color-soft-white-75);
  margin: 0;
  min-width: 0;
}

.orbit-carousel__card-detail-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.orbit-carousel__orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.orbit-carousel__slot {
  --slot-rotate: 0deg;
  --slot-counter: 0deg;
  position: absolute;
  width: var(--orbit-profile);
  height: var(--orbit-profile);
  top: calc(50% - var(--orbit-profile) / 2);
  left: calc(50% - var(--orbit-profile) / 2);
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  transform: rotate(var(--slot-rotate)) translateY(calc(-1 * var(--orbit-r)));
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
  pointer-events: auto;
  cursor: pointer;
}

.orbit-carousel__slot:focus-visible {
  outline: none;
}

.orbit-carousel__slot:focus-visible .orbit-carousel__avatar {
  box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary);
}

.orbit-carousel__slot.is-active {
  z-index: 4;
}

.orbit-carousel__slot-inner {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(var(--slot-counter));
  transform-origin: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.orbit-carousel__avatar {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-soft-white-20);
  box-shadow: 0 6px 18px var(--color-deep-indigo-50);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.orbit-carousel--svg-assets .orbit-carousel__avatar,
.orbit-carousel--svg-assets .orbit-carousel__card-photo {
  object-fit: contain;
  background: var(--color-charcoal);
}

.orbit-carousel--svg-assets .orbit-carousel__card-photo {
  background: #10101e;
}

.orbit-carousel__slot:hover .orbit-carousel__avatar {
  border-color: color-mix(in srgb, var(--color-primary) 70%, transparent);
  transform: scale(1.08);
  box-shadow: 0 10px 28px var(--color-deep-indigo-75);
}

.orbit-carousel__slot.is-active .orbit-carousel__avatar {
  border-width: 3px;
  border-color: var(--color-primary);
}

.orbit-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.orbit-carousel__dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-gray-50);
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.orbit-carousel__dot:hover {
  transform: scale(1.25);
  background: var(--color-gray-75);
}

.orbit-carousel__dot.is-active {
  background: var(--color-primary);
  transform: scale(1.15);
}

/* —— orbit section: lens match cards (below carousel) —— */
.orbit-lens-cards {
  margin-top: clamp(0.35rem, 1.5vw, 0.75rem);
}

.orbit-lens-cards--bleed {
  width: var(--bleed-w);
  margin-left: calc(50% - var(--bleed-m));
  margin-right: calc(50% - var(--bleed-m));
}

.orbit-lens-cards__viewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-left: calc(19px + env(safe-area-inset-left, 0px));
  scroll-padding-right: calc(19px + env(safe-area-inset-right, 0px));
  padding-block: 0.5rem 0.75rem;
  padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-right: calc(19px + env(safe-area-inset-right, 0px));
}

.orbit-lens-cards__viewport::-webkit-scrollbar {
  display: none;
}

.orbit-lens-cards__viewport:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  border-radius: var(--radius);
}

.orbit-lens-cards__pad {
  display: flex;
  justify-content: flex-start;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

.orbit-lens-cards__track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(0.75rem, 2.5vw, 1rem);
}

.orbit-lens-card {
  flex: 0 0 auto;
  width: min(15.5rem, 78vw);
  box-sizing: border-box;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  text-align: left;
  background: transparent;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius);
  scroll-snap-align: start;
}

.orbit-lens-card:last-child {
  margin-inline-end: calc(19px + env(safe-area-inset-right, 0px));
}

.orbit-lens-card__title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 2.8vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 24px;
  color: var(--color-text);
}

.orbit-lens-card__tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.orbit-lens-card__tags > li {
  margin: 0;
  padding: 0;
  line-height: 0;
}

.orbit-lens-card__tag {
  display: block;
  height: 30px;
  width: auto;
  max-width: 100%;
}

@media (min-width: 768px) {
  .orbit-lens-cards__viewport {
    overflow-x: visible;
    scroll-snap-type: none;
    padding-block: 0.65rem 0.25rem;
    padding-left: 0;
    padding-right: 0;
  }

  .orbit-lens-cards__pad {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .orbit-lens-cards__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.25rem);
    width: 100%;
    max-width: min(60rem, 100%);
    margin-inline: auto;
  }

  .orbit-lens-card {
    width: auto;
    min-width: 0;
    scroll-snap-align: unset;
  }

  .orbit-lens-card:last-child {
    margin-inline-end: 0;
  }
}

.badge {
  display: inline-block;
  font-size: var(--typ-caption-small-size);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-reality-check-teal);
  background: var(--color-reality-check-teal-10);
  border: 1px solid var(--color-reality-check-teal-20);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

/* —— "What Gutly does" section —— */
.how-section {
  text-align: center;
}

.how-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, var(--typ-heading-2-size));
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.how-section__lede {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  color: var(--color-text-secondary);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.how-scroll {
  margin-bottom: 1.5rem;
}

.how-scroll--bleed {
  width: var(--bleed-w);
  margin-left: calc(50% - var(--bleed-m));
  margin-right: calc(50% - var(--bleed-m));
}

.how-scroll__viewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-block: 0.75rem 1rem;
  padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-right: calc(19px + env(safe-area-inset-right, 0px));
  cursor: grab;
}

.how-scroll__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.how-scroll__viewport::-webkit-scrollbar {
  display: none;
}

.how-scroll__viewport:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  border-radius: var(--radius);
}

.how-scroll__pad {
  display: flex;
  justify-content: flex-start;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .how-scroll__pad {
    justify-content: center;
  }
}

.how-scroll__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

/* Outer shell: 1px “frame” shows radial gradient (see js/magic-border.js) */
.how-card-shell {
  --how-card-radius: 1.5rem;
  flex: 0 0 auto;
  width: min(17.5rem, 78vw);
  padding: 1px;
  border-radius: var(--how-card-radius);
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.how-card-shell:last-child {
  margin-inline-end: calc(19px + env(safe-area-inset-right, 0px));
}

@media (prefers-reduced-motion: reduce) {
  .how-card-shell,
  .membership-card-shell {
    transition: none;
  }
}

.how-card__trigger {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  border-radius: calc(var(--how-card-radius) - 1px);
}

.how-card__trigger:focus-visible {
  outline: none;
}

.how-card__trigger:focus-visible .how-card {
  box-shadow:
    0 0 0 2px var(--color-background),
    0 0 0 4px var(--color-primary);
}

.how-card {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  border-radius: calc(var(--how-card-radius) - 1px);
  overflow: hidden;
  box-sizing: border-box;
  line-height: 0;
  transition: transform 0.2s ease;
}

.how-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 1350;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .how-card__trigger:hover .how-card {
    transform: translateY(-2px);
  }

  .how-card__trigger:hover .how-card__img {
    transform: scale(1.03);
  }
}

.how-section__caption {
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
  font-style: italic;
  max-width: 30rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .how-card-shell {
    width: 18.5rem;
  }
}

/* —— membership plans ("Unlock Full Clarity") —— */
.membership-section {
  text-align: center;
}

.membership-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, var(--typ-heading-2-size));
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.membership-section__lede {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  color: var(--color-text-secondary);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.membership-section__caption {
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
  max-width: 36rem;
  margin: 1.25rem auto 0;
}

.membership-scroll {
  margin-bottom: 0;
}

.membership-scroll--bleed {
  width: var(--bleed-w);
  margin-left: calc(50% - var(--bleed-m));
  margin-right: calc(50% - var(--bleed-m));
}

.membership-scroll__viewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-block: 0.75rem 1rem;
  padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-right: calc(19px + env(safe-area-inset-right, 0px));
}

.membership-scroll__viewport::-webkit-scrollbar {
  display: none;
}

.membership-scroll__viewport:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  border-radius: var(--radius);
}

.membership-scroll__pad {
  display: flex;
  justify-content: flex-start;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .membership-scroll__pad {
    justify-content: center;
  }
}

.membership-scroll__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(0.85rem, 2vw, 1.25rem);
}

/* Outer shell: magic border (js/magic-border.js) */
.membership-card-shell {
  --membership-card-radius: 1.5rem;
  flex: 0 0 auto;
  width: min(22.5rem, 88vw);
  min-height: 18rem;
  padding: 1px;
  border-radius: var(--membership-card-radius);
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.membership-card-shell:last-child {
  margin-inline-end: calc(19px + env(safe-area-inset-right, 0px));
}

.membership-card-shell:hover {
  transform: translateY(-2px);
}

.membership-card {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: calc(var(--membership-card-radius) - 1px);
  padding: 1.35rem 1.35rem 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  box-sizing: border-box;
}

.membership-card--light {
  border-color: var(--color-dark-gray-50);
}

.membership-card--plus {
  border-color: var(--color-blue-50);
}

.membership-card--beyond {
  border-color: var(--color-reality-check-teal-50);
}

.membership-card__name {
  font-family: var(--font-display);
  font-size: var(--typ-body-lg-bold-size);
  font-weight: var(--typ-heading-2-weight);
  line-height: var(--typ-body-lg-bold-line-height);
  margin: 0;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.membership-card__tagline {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  color: var(--color-text-secondary);
  margin: 0;
}

.membership-card__price {
  font-size: var(--typ-body-size);
  font-weight: 600;
  line-height: var(--typ-body-line-height);
  color: var(--color-soft-white);
  margin: 0.15rem 0 0.35rem;
}

.membership-card__features {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: 1.45;
  color: var(--color-text-secondary);
}

.membership-card__features li {
  position: relative;
  padding-left: 1rem;
}

.membership-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.85;
}

.membership-card--beyond .membership-card__features li::before {
  background: var(--color-reality-check-teal);
}

.membership-card__modes {
  display: block;
  margin-top: 0.25rem;
  color: var(--color-soft-white-75);
  font-weight: 500;
  word-break: break-word;
}

@media (min-width: 768px) {
  .membership-card-shell {
    width: 23.5rem;
  }
}

/* —— membership comparison table —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.membership-compare {
  margin-top: 2.5rem;
  max-width: 100%;
  margin-inline: auto;
  text-align: left;
}

.membership-compare__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--color-text);
  text-align: center;
}

.membership-compare__shell {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.membership-compare__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--color-soft-white-20) transparent;
  border-radius: inherit;
}

.membership-compare__viewport:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary);
}

.membership-compare__table {
  width: 100%;
  min-width: 38rem;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: 1.35;
  color: var(--color-text-secondary);
}

.membership-compare__col-feature {
  width: 7.25rem;
}

.membership-compare__col-tier {
  width: calc((100% - 7.25rem) / 7);
}

.membership-compare__table th,
.membership-compare__table td {
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
  text-align: center;
}

.membership-compare__table thead th {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.01em;
  color: var(--color-text);
  background: color-mix(in srgb, var(--color-surface) 90%, var(--color-primary));
  white-space: normal;
  line-height: 1.25;
  hyphens: auto;
}

.membership-compare__table tbody td {
  white-space: nowrap;
}

.membership-compare__row-price td {
  white-space: normal;
  line-height: 1.3;
  font-weight: 600;
  color: var(--color-soft-white);
}

.membership-compare__price-unit {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  font-weight: var(--typ-caption-weight);
  color: var(--color-text-secondary);
}

.membership-compare__feature-col,
.membership-compare__table tbody th[scope="row"] {
  position: sticky;
  left: 0;
  z-index: 1;
  text-align: left;
  white-space: normal;
  font-weight: 600;
  color: var(--color-soft-white);
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 1px 0 0 var(--color-border);
}

.membership-compare__table thead .membership-compare__feature-col {
  z-index: 2;
  background: color-mix(in srgb, var(--color-surface) 90%, var(--color-primary));
}

.membership-compare__table tbody tr:last-child th,
.membership-compare__table tbody tr:last-child td {
  border-bottom: none;
}

.membership-compare__yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 18%, transparent);
}

.membership-compare__dash {
  color: var(--color-soft-white-50);
}

.membership-compare__footnote {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
  text-align: center;
  text-wrap: pretty;
}

.membership-compare__hint {
  margin: 0.65rem 0 0;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
  text-align: center;
}

@media (min-width: 900px) {
  .membership-compare__hint {
    display: none;
  }
}

/* —— insight carousel ("More than an answer") —— */
.insight-section {
  text-align: center;
}

.insight-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, var(--typ-heading-2-size));
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.insight-section__lede {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  color: var(--color-text-secondary);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.insight-section__caption {
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
  font-style: italic;
  max-width: 36rem;
  margin: 1.25rem auto 0;
  padding: 0 1rem;
}

.insight-scroll {
  margin-bottom: 0;
}

.insight-scroll--bleed {
  width: var(--bleed-w);
  margin-left: calc(50% - var(--bleed-m));
  margin-right: calc(50% - var(--bleed-m));
}

.insight-scroll__viewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-block: 0.75rem 1.25rem;
  padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-right: calc(19px + env(safe-area-inset-right, 0px));
  cursor: grab;
}

.insight-scroll__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.insight-scroll__viewport::-webkit-scrollbar {
  display: none;
}

.insight-scroll__viewport:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  border-radius: var(--radius);
}

.insight-scroll__pad {
  display: flex;
  justify-content: flex-start;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .insight-scroll__pad {
    justify-content: center;
  }
}

.insight-scroll__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.insight-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.insight-card:last-child {
  margin-inline-end: calc(19px + env(safe-area-inset-right, 0px));
}

.insight-card__trigger {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
  border-radius: var(--radius);
}

.insight-card__trigger:focus-visible {
  outline: none;
}

.insight-card__trigger:focus-visible .insight-card__frame {
  box-shadow:
    0 20px 48px var(--color-deep-indigo-75),
    0 0 0 2px var(--color-background),
    0 0 0 4px var(--color-primary);
}

.insight-card__frame {
  position: relative;
  display: block;
  width: min(18rem, 78vw);
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  box-shadow:
    0 20px 48px var(--color-deep-indigo-75),
    0 0 0 1px var(--color-soft-white-10);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.insight-card__img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .insight-card__trigger:hover .insight-card__frame {
    transform: translateY(-8px);
    box-shadow:
      0 28px 56px var(--color-deep-indigo-75),
      0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, var(--color-soft-white-10));
  }

  .insight-card__trigger:hover .insight-card__img {
    transform: scale(1.08);
  }
}

@media (min-width: 768px) {
  .insight-card__frame {
    width: 18rem;
  }
}

/* —— carousel lightboxes (insight, how) —— */
.insight-lightbox,
.how-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
}

.insight-lightbox::backdrop,
.how-lightbox::backdrop {
  background: color-mix(in srgb, var(--color-deep-indigo) 88%, transparent);
  backdrop-filter: blur(6px);
}

.insight-lightbox__backdrop,
.how-lightbox__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-out;
}

.insight-lightbox__content,
.how-lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, 1.5vw, 0.75rem);
  width: 100%;
  min-height: 100%;
  padding:
    max(3.25rem, calc(env(safe-area-inset-top, 0px) + 2.5rem))
    max(0.5rem, env(safe-area-inset-right, 0px))
    max(1rem, env(safe-area-inset-bottom, 0px))
    max(0.5rem, env(safe-area-inset-left, 0px));
  box-sizing: border-box;
  pointer-events: none;
}

.insight-lightbox__close,
.insight-lightbox__nav,
.insight-lightbox__figure-wrap,
.how-lightbox__close,
.how-lightbox__nav,
.how-lightbox__figure-wrap {
  pointer-events: auto;
}

.insight-lightbox__close,
.how-lightbox__close {
  position: absolute;
  top: max(0.75rem, env(safe-area-inset-top, 0px));
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-soft-white-20);
  border-radius: 999px;
  background: var(--color-charcoal-75);
  color: var(--color-text);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}

.insight-lightbox__close:hover,
.how-lightbox__close:hover {
  border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-soft-white-20));
  background: color-mix(in srgb, var(--color-surface) 70%, var(--color-primary));
}

.insight-lightbox__close:focus-visible,
.how-lightbox__close:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--color-background),
    0 0 0 4px var(--color-primary);
}

.insight-lightbox__nav,
.how-lightbox__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-soft-white-20);
  border-radius: 999px;
  background: var(--color-charcoal-75);
  color: var(--color-text);
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease;
}

.insight-lightbox__nav:hover,
.how-lightbox__nav:hover {
  border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-soft-white-20));
  background: color-mix(in srgb, var(--color-surface) 70%, var(--color-primary));
}

.insight-lightbox__nav:focus-visible,
.how-lightbox__nav:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px var(--color-background),
    0 0 0 4px var(--color-primary);
}

@media (max-width: 480px) {
  .insight-lightbox__nav,
  .how-lightbox__nav {
    width: 2.35rem;
    height: 2.35rem;
  }

  .insight-lightbox__nav svg,
  .how-lightbox__nav svg {
    width: 22px;
    height: 22px;
  }
}

.insight-lightbox__figure-wrap,
.how-lightbox__figure-wrap {
  flex: 0 1 auto;
  max-width: min(92vw, calc(100vw - 7.5rem));
  max-height: min(82dvh, 85vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-lightbox__img,
.how-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(82dvh, 85vh);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow:
    0 24px 64px var(--color-deep-indigo-75),
    0 0 0 1px var(--color-soft-white-10);
}

/* —— Testimonials —— */
.testimonials-section {
  text-align: center;
}

.testimonials-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, var(--typ-heading-2-size));
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.testimonials-section__lede {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  color: var(--color-text-secondary);
  max-width: 34rem;
  margin: 0 auto 2rem;
}

.testimonial-scroll {
  margin-bottom: 0;
}

.testimonial-scroll--bleed {
  width: var(--bleed-w);
  margin-left: calc(50% - var(--bleed-m));
  margin-right: calc(50% - var(--bleed-m));
}

.testimonial-scroll__viewport {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-block: 0.5rem 1rem;
  padding-left: calc(19px + env(safe-area-inset-left, 0px));
  padding-right: calc(19px + env(safe-area-inset-right, 0px));
}

.testimonial-scroll__viewport::-webkit-scrollbar {
  display: none;
}

.testimonial-scroll__viewport:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  border-radius: var(--radius);
}

.testimonial-scroll__pad {
  display: flex;
  justify-content: flex-start;
  width: max-content;
  min-width: 100%;
  box-sizing: border-box;
}

.testimonial-scroll__track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(1rem, 3vw, 1.75rem);
}

.testimonial-card {
  flex: 0 0 auto;
  width: min(26rem, 88vw);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  text-align: left;
  border: 1px solid var(--color-soft-white-10);
  border-radius: clamp(12px, 2vw, 16px);
  scroll-snap-align: start;
  box-shadow:
    0 18px 40px var(--color-deep-indigo-50),
    0 0 0 1px var(--color-charcoal-20) inset;
}

.testimonial-card:last-child {
  margin-inline-end: calc(19px + env(safe-area-inset-right, 0px));
}

.testimonial-card__quote {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  border: 0;
  quotes: none;
  font-style: italic;
}

.testimonial-card__quote p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: 1.5;
  color: var(--color-text);
}

.testimonial-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.testimonial-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.testimonial-card__name {
  margin: 0;
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-bold-weight);
  line-height: var(--typ-body-bold-line-height);
  color: var(--color-text);
}

.testimonial-card__handle {
  margin: 0;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: #94a3b8;
}

@media (min-width: 768px) {
  .testimonial-scroll__viewport {
    overflow-x: visible;
    scroll-snap-type: none;
    scroll-padding-left: 0;
    box-sizing: border-box;
    max-width: var(--max-testimonial-row);
    margin-inline: auto;
    padding-block: 0.5rem 1rem;
    padding-left: max(1.5rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.5rem, env(safe-area-inset-right, 0px));
  }

  .testimonial-scroll__pad {
    width: 100%;
    min-width: 0;
  }

  .testimonial-scroll__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
    width: 100%;
  }

  .testimonial-card {
    width: auto;
    min-width: 0;
    scroll-snap-align: unset;
  }

  .testimonial-card:last-child {
    margin-inline-end: 0;
  }
}

/* —— FAQ section —— */
.faq-section {
  text-align: center;
}

.faq-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, var(--typ-heading-2-size));
  font-weight: var(--typ-heading-2-weight);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.faq-section__lede {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  color: var(--color-text-secondary);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: var(--max);
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  background: transparent;
  border: 1px solid var(--color-soft-white-10);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 18px 40px var(--color-deep-indigo-50),
    0 0 0 1px var(--color-charcoal-20) inset;
}

.faq-item__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--typ-body-lg-medium-size);
  font-weight: var(--typ-body-lg-medium-weight);
  line-height: var(--typ-body-lg-medium-line-height);
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--color-primary);
  border-radius: var(--radius);
}

.faq-item__question {
  flex: 1 1 auto;
}

.faq-item__icon {
  flex: 0 0 auto;
  color: var(--color-text-secondary);
  transition:
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    color 0.15s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(-180deg);
  color: var(--color-primary);
}

.faq-item__content {
  padding: 0 1.25rem 1.25rem;
  color: var(--color-text-secondary);
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
  animation: faq-content-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__content p {
  margin: 0 0 0.75rem;
}

.faq-item__content p:last-child {
  margin-bottom: 0;
}

.faq-item__list {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.faq-item__list li {
  margin-bottom: 0.35rem;
}

.faq-item__list li:last-child {
  margin-bottom: 0;
}

@keyframes faq-content-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__icon,
  .faq-item__content {
    animation: none;
    transition: none;
  }
}

.page-legal {
  font-family: var(--font-legal);
}

.legal {
  max-width: var(--max-wide);
}

.page-legal .legal {
  font-size: var(--typ-body-size);
  font-weight: var(--typ-body-weight);
  line-height: var(--typ-body-line-height);
}

.page-legal .legal h1 {
  font-family: var(--font-legal);
  font-size: var(--typ-body-lg-bold-size);
  font-weight: var(--typ-body-lg-bold-weight);
  line-height: var(--typ-body-lg-bold-line-height);
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.legal .updated {
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
  margin: 0 0 2.5rem;
}

.page-legal .legal h2 {
  font-family: var(--font-legal);
  font-size: var(--typ-body-lg-bold-size);
  font-weight: var(--typ-body-lg-bold-weight);
  line-height: var(--typ-body-lg-bold-line-height);
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem;
  color: var(--color-text);
}

.legal p,
.legal li {
  color: var(--color-text-secondary);
  margin: 0 0 1rem;
}

.legal ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.site-footer {
  margin-top: auto;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 2rem max(var(--page-pad-x), env(safe-area-inset-left, 0px))
    2rem max(var(--page-pad-x), env(safe-area-inset-right, 0px));
  border-top: 1px solid var(--color-soft-white-10);
  text-align: center;
  font-size: var(--typ-caption-size);
  font-weight: var(--typ-caption-weight);
  line-height: var(--typ-caption-line-height);
  color: var(--color-text-secondary);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--color-text-secondary);
}

.site-footer a:hover {
  color: var(--color-primary);
}
