/* Funnel-only shell and long-form page components. */

.funnel-page main {
  padding-block: 0;
}

.funnel-page main > section {
  margin-inline: 0;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  transform: translateY(-160%);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--color-off-white);
  color: var(--color-slate);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.funnel-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-block: 0;
  border-bottom: 1px solid rgba(247, 245, 242, 0.12);
  background: rgba(15, 25, 32, 0.94);
  backdrop-filter: blur(12px);
}

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

.funnel-brand {
  color: var(--color-off-white);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 4vw, 1.6rem);
  font-weight: 700;
  line-height: 1.05;
}

.funnel-nav .button-primary {
  flex: 0 1 auto;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
}

.funnel-hero {
  min-height: auto;
  padding-block: clamp(3.5rem, 7vw, 5rem);
}

.funnel-hero .hero-content {
  max-width: 980px;
}

.funnel-hero .eyebrow {
  color: var(--color-amber);
}

.funnel-hero h1 {
  max-width: 24ch;
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.funnel-hero .hero-actions {
  align-items: flex-start;
}

.funnel-hero .button-primary {
  min-height: 48px;
}

.funnel-price {
  margin-block: 1.5rem 0;
  color: var(--color-off-white);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 700;
}

.promotion-note {
  max-width: 680px;
  margin-top: 0.4rem;
  color: rgba(247, 245, 242, 0.9);
}

.external-note,
.context-note,
.legal-note {
  font-size: 0.92rem;
}

.external-note {
  margin-top: 0.65rem;
  color: rgba(247, 245, 242, 0.78);
}

.editorial-section .narrow > :last-child,
.section-heading > :last-child,
.proof-block > :last-child,
.price-panel > :last-child {
  margin-bottom: 0;
}

.principle-statement {
  margin-block: 2rem;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--color-amber);
  background: rgba(47, 72, 88, 0.06);
  color: var(--color-slate);
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}

.method-flow,
.ingredient-grid,
.deliverable-grid,
.process-list,
.preview-grid {
  display: grid;
  gap: 1.25rem;
}

.method-flow {
  margin-block: 2rem;
  padding: 0;
  list-style: none;
  counter-reset: method;
}

.method-flow li {
  position: relative;
  padding-left: 3rem;
  counter-increment: method;
}

.method-flow li::before {
  position: absolute;
  top: -0.1rem;
  left: 0;
  display: grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-slate);
  color: var(--color-off-white);
  content: counter(method);
  font-weight: 700;
}

.method-flow strong,
.process-list strong {
  display: block;
  color: var(--color-slate);
}

.invitation-panel,
.price-panel {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid rgba(47, 72, 88, 0.18);
  border-radius: var(--card-radius);
  background: #fff;
}

.human-review-panel {
  margin-top: 2rem;
}

.value-section > .container > .section-heading h2,
.value-section > .container > p {
  color: var(--color-off-white);
}

.fit-list {
  margin-bottom: 0;
}

.ingredient-grid article,
.deliverable-grid article {
  padding-top: 1rem;
  border-top: 3px solid var(--color-amber);
}

.ingredient-grid article {
  background: transparent;
}

.proof-block {
  margin-block: 1.5rem;
  padding: 1.4rem;
  border-left: 4px solid var(--color-amber);
  background: rgba(255, 255, 255, 0.72);
}

.proof-block blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--color-charcoal);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  line-height: 1.35;
}

.proof-block cite {
  display: block;
  margin-top: 0.75rem;
  color: var(--color-slate);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
}

.preview-grid figure {
  min-width: 0;
  margin: 0;
}

.preview-grid picture,
.preview-grid img {
  display: block;
  width: 100%;
}

.preview-grid img {
  height: auto;
  border: 1px solid rgba(47, 72, 88, 0.2);
  border-radius: 0.35rem;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 25, 32, 0.12);
}

.preview-grid figcaption {
  margin-top: 0.85rem;
  color: var(--color-charcoal);
  font-size: 0.92rem;
}

.enlarge-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 700;
}

.instruction-summary {
  margin-top: 2rem;
  padding: 1.5rem;
  border-radius: var(--card-radius);
  background: rgba(47, 72, 88, 0.07);
}

.instruction-summary ul {
  margin-bottom: 0;
}

.process-list {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 0 0 1.5rem 3.25rem;
  counter-increment: process;
}

.process-list li::before {
  position: absolute;
  top: -0.2rem;
  left: 0;
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border: 1px solid var(--color-amber);
  border-radius: 50%;
  color: var(--color-slate);
  content: counter(process);
  font-weight: 700;
}

.process-list li:not(:last-child)::after {
  position: absolute;
  top: 2.25rem;
  bottom: 0;
  left: 1.15rem;
  width: 1px;
  background: rgba(47, 72, 88, 0.2);
  content: "";
}

.scope-grid {
  display: grid;
  gap: 2rem;
}

.faq-list details {
  margin: 0;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(47, 72, 88, 0.18);
}

.faq-list summary {
  color: var(--color-slate);
  font-weight: 700;
}

.faq-list details p {
  max-width: 760px;
  margin-top: 1rem;
}

.legal-blocker {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(142, 81, 49, 0.35);
  border-radius: 0.5rem;
  background: rgba(200, 155, 94, 0.12);
}

.funnel-footer .footer-content {
  justify-content: center;
}

.funnel-footer .footer-links {
  flex-wrap: wrap;
  justify-content: center;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8a5b16;
  outline-offset: 4px;
}

.funnel-header a:focus-visible,
.cta-section a:focus-visible {
  outline-color: var(--color-off-white);
}

@media (min-width: 700px) {
  .method-flow,
  .ingredient-grid,
  .deliverable-grid,
  .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699px) {
  .funnel-nav {
    align-items: stretch;
    flex-direction: column;
  }

  .funnel-nav .button-primary {
    width: 100%;
  }

  .funnel-hero {
    padding-block: 3rem;
  }
}

@media (orientation: landscape) and (max-height: 480px) and (max-width: 920px) {
  .funnel-header {
    position: static;
  }

  .funnel-nav {
    align-items: center;
    flex-direction: row;
    padding-block: 0.4rem;
  }

  .funnel-nav .button-primary {
    width: auto;
    min-height: 44px;
    font-size: 0.82rem;
  }

  .funnel-hero {
    padding-block: 2.5rem;
  }
}

@media (max-width: 360px) {
  .funnel-brand {
    font-size: 1.18rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }
}
