.funnel-page {
  --container: min(1120px, calc(100vw - 2.4rem));
}

.funnel-page .subpage-hero > .container {
  width: var(--container);
  margin: 0 auto;
}

.site-header.site-header-funnel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
}

.site-header.site-header-funnel.is-scrolled {
  background: transparent;
  backdrop-filter: none;
}

.funnel-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.funnel-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.72rem;
}

.funnel-nav-note {
  margin: 0;
  border: 1px solid rgba(231, 245, 255, 0.28);
  border-radius: 999px;
  padding: 0.42rem 0.76rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e2f5ff;
  background: rgba(255, 255, 255, 0.08);
}

body.funnel-page.first-plunge-landing main {
  padding-top: 0;
}

.first-plunge-hero .hero-overlay {
  background:
    linear-gradient(180deg, rgba(4, 20, 31, 0.06), rgba(4, 20, 31, 0.72) 74%),
    radial-gradient(circle at 18% 16%, rgba(0, 178, 255, 0.18), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(255, 122, 41, 0.18), transparent 30%);
}

.first-plunge-hero .hero-content {
  max-width: min(64rem, 100%);
  padding-top: clamp(5.75rem, 10vw, 7.4rem);
}

.first-plunge-hero-stack {
  gap: 1.15rem;
  max-width: 56rem;
}

.first-plunge-hero h1 {
  font-size: clamp(2.75rem, 9vw, 6.8rem);
  line-height: 0.9;
}

.first-plunge-hero .title-main,
.first-plunge-hero .title-accent {
  font-size: inherit;
}

.first-plunge-hero .title-accent {
  margin-top: 0.1rem;
}

.first-plunge-hero-eyebrow {
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(231, 245, 255, 0.3);
  border-radius: 999px;
  background: rgba(7, 32, 46, 0.42);
  letter-spacing: 0.12em;
}

.first-plunge-hero-copy {
  max-width: 40rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

.first-plunge-hero-actions {
  justify-content: center;
}

.first-plunge-hero-note {
  margin: 0;
  border: 1px solid rgba(231, 245, 255, 0.26);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #dff1fb;
  background: rgba(7, 32, 46, 0.32);
}

.first-plunge-framework {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 178, 255, 0.12), transparent 42%),
    radial-gradient(circle at 82% 22%, rgba(255, 122, 41, 0.12), transparent 40%),
    rgba(255, 255, 255, 0.5);
}

.first-plunge-flow-grid .ritual-card {
  min-height: 7.25rem;
}

.first-plunge-flow-grid .ritual-card-head {
  display: grid;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
}

.first-plunge-flow-grid .step-label {
  margin: 0;
  justify-self: start;
}

.first-plunge-flow-grid .ritual-card h3 {
  font-size: clamp(0.98rem, 1.7vw, 1.08rem);
  line-height: 1.18;
  display: flex;
  align-items: center;
  min-height: 2.2rem;
  text-wrap: balance;
}

.first-plunge-flow-stage .ritual-stage-overlay {
  min-height: clamp(18rem, 46vw, 28rem);
}

.first-plunge-faq-section {
  padding-top: clamp(4rem, 9vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 5.6rem);
}

.first-plunge-faq-cta {
  margin-top: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background:
    linear-gradient(135deg, rgba(0, 178, 255, 0.14), rgba(255, 122, 41, 0.14)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 24px rgba(8, 54, 79, 0.08);
  padding: 1rem 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.first-plunge-faq-cta p {
  margin: 0;
  color: #355a71;
  font-size: 0.96rem;
}

.funnel-footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.funnel-footer-layout p {
  color: #456a80;
  line-height: 1.5;
}

.first-plunge-float-book {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 96;
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  min-width: 13.5rem;
  justify-content: center;
  box-shadow: 0 18px 34px rgba(255, 122, 41, 0.28);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.first-plunge-float-book.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.funnel-hero-lead {
  margin: 0;
  max-width: 34rem;
  color: #d8ecf8;
  line-height: 1.62;
  font-size: 0.96rem;
}

.funnel-thank-you-page main {
  padding-top: calc(var(--nav-height) + 0.9rem);
}

.funnel-thank-you-page .funnel-hero {
  width: 100%;
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  min-height: auto;
  padding: clamp(1.2rem, 4vw, 2.2rem) 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 178, 255, 0.24), transparent 30%),
    radial-gradient(circle at 84% 20%, rgba(255, 122, 41, 0.22), transparent 30%),
    linear-gradient(145deg, #0a2536 0%, #0f425c 58%, #135f7b 100%);
}

.thank-you-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 1rem;
  align-items: stretch;
}

.thank-you-copy {
  display: grid;
  align-content: center;
  gap: 0.95rem;
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.thank-you-panel {
  border: 1px solid rgba(231, 245, 255, 0.24);
  border-radius: 1.2rem;
  background: rgba(7, 26, 38, 0.46);
  backdrop-filter: blur(10px);
  padding: clamp(1.05rem, 2.5vw, 1.5rem);
  display: grid;
  gap: 0.85rem;
}

.thank-you-panel h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  color: #f4fbff;
}

.thank-you-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.thank-you-steps li {
  border: 1px solid rgba(231, 245, 255, 0.18);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.8rem 0.86rem;
  display: grid;
  gap: 0.2rem;
}

.thank-you-steps strong {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a8ecff;
}

.thank-you-steps span {
  color: #dcecf6;
  line-height: 1.55;
  font-size: 0.9rem;
}

.thank-you-upsell {
  border: 1px solid rgba(231, 245, 255, 0.16);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
  display: grid;
  gap: 0.35rem;
}

.thank-you-upsell p {
  margin: 0;
  color: #e2f1f8;
  line-height: 1.58;
}

.thank-you-upsell .eyebrow {
  color: #a8ecff;
}

@media (max-width: 1080px) {
  .thank-you-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .funnel-page {
    --container: min(1120px, calc(100vw - 2.8rem));
  }

  .site-header.site-header-funnel {
    padding-inline: 0.85rem;
  }

  .funnel-nav-note {
    display: none;
  }

  .first-plunge-flow-grid .ritual-card {
    min-height: 6.2rem;
  }

  .thank-you-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .funnel-page {
    --container: min(1120px, calc(100vw - 3rem));
  }

  .site-header.site-header-funnel {
    padding-inline: 0.9rem;
  }

  .first-plunge-hero-stack {
    gap: 0.9rem;
  }

  .first-plunge-hero .hero-content {
    padding-top: calc(var(--nav-height) + 2.4rem);
  }

  .first-plunge-hero-note {
    border-radius: 1rem;
    padding: 0.8rem 0.9rem;
  }

  .first-plunge-faq-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .first-plunge-faq-cta .button,
  .thank-you-actions .button {
    width: 100%;
  }

  .first-plunge-float-book {
    left: 50%;
    bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    min-width: min(18rem, calc(100vw - 2rem));
  }
}
