@layer marketing {
  body:has(.marketing), body:has(.pricing-page) {
    background: #ffffff;
  }

  body:has(.marketing) .site-header { position: absolute; inset: 0.75rem 0 auto; }
  body:has(.marketing) .site-header-inner { background: #ffffff; box-shadow: none; }
  .marketing, .marketing h1, .marketing h2, .marketing h3 { font-family: "Manrope", var(--font-sans); }
  .marketing h1, .marketing h2, .marketing h3 { font-weight: 800; letter-spacing: -0.035em; text-wrap: balance; }
  .marketing p { color: var(--muted); text-wrap: pretty; }
  .marketing .button { min-height: 3rem; padding: 0.85rem 1.35rem; font-weight: 800; }
  .marketing .button:hover { box-shadow: var(--shadow-lg); }
  .marketing .button.secondary { background: #ffffff; border-color: var(--line); }
  .marketing .button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

  .hero {
    display: grid;
    align-items: center;
    min-height: 100svh;
    padding: 9rem 1rem 6rem;
    background: #ffffff;
  }

  .hero-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
  .hero-copy { max-width: 680px; }
  .hero-kicker { margin-bottom: 1.25rem; color: #173ca8 !important; font-size: var(--type-control); font-weight: 800; }
  .hero h1 { margin: 0; color: var(--ink); font-size: clamp(3.25rem, 7vw, 5.75rem); line-height: 0.98; }
  .hero-copy > p:not(.hero-note, .hero-kicker) { max-width: 57ch; margin-top: 1.75rem; font-size: clamp(1.05rem, 2vw, 1.25rem); }
  .hero .actions { margin-top: 2.25rem; }
  .hero-note { display: inline-flex; margin-top: 1.25rem; color: var(--ink); font-size: var(--type-support); font-weight: 700; }
  .hero-note::before { content: "✓"; margin-right: 0.45rem; color: #173ca8; }
  .hero-first-win { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 1.25rem 0 0; padding: 0; color: var(--ink); font-size: var(--type-support); font-weight: 700; list-style: none; }
  .hero-first-win li:not(:last-child)::after { margin-left: 1rem; color: #173ca8; content: "→"; }
  .hero-art { display: grid; place-items: center; }
  .hero-art img { display: block; width: min(110%, 42rem); max-width: none; height: auto; filter: drop-shadow(0 24px 30px rgba(31, 36, 44, 0.14)); }

  .study-journey { padding-block: clamp(4rem, 8vw, 6rem); background: var(--brand-field); }
  .journey-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
  .journey-heading { max-width: 48rem; }
  .journey-heading h2 { margin: 0; color: #ffffff; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.02; }
  .journey-heading p { max-width: 58ch; margin-top: 1.25rem; color: #ffffff; font-size: clamp(1rem, 1.6vw, 1.15rem); }
  .journey-art { display: block; width: 100%; height: auto; }
  .journey-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); margin: 2.5rem 0 0; padding: 0; list-style: none; counter-reset: journey; }
  .journey-steps li { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: 0.8rem; border-radius: var(--radius); background: #ffffff; padding: 1.25rem; color: var(--ink); counter-increment: journey; }
  .journey-steps li::before { display: grid; grid-row: span 2; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 50%; background: var(--progress); content: counter(journey); font-size: var(--type-support); font-weight: 800; }
  .journey-steps strong { font-size: var(--type-title); }
  .journey-steps span { grid-column: 2; max-width: 30ch; margin-top: 0.35rem; color: var(--muted); font-size: var(--type-control); }
  .journey-action { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2.5rem; }
  .journey-action span { color: #ffffff; font-size: var(--type-support); font-weight: 700; }

  .product-preview { padding-block: clamp(4rem, 8vw, 6rem); background: var(--ink); }
  .product-preview-heading { max-width: 44rem; }
  .product-preview-heading > p { color: var(--progress); font-size: var(--type-control); font-weight: 800; }
  .product-preview-heading h2 { margin-top: 0.8rem; color: #ffffff; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.02; }
  .product-preview-heading > span { display: block; max-width: 60ch; margin-top: 1.25rem; color: var(--line); font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.6; }
  .product-preview-artifacts { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem; margin-top: clamp(2rem, 5vw, 4rem); }
  .pdf-preview, .guide-preview { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #ffffff; }
  .pdf-preview > header, .guide-preview > header { display: flex; justify-content: space-between; gap: 1rem; align-items: center; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; color: var(--muted); font-size: var(--type-caption); }
  .pdf-preview > header strong, .guide-preview > header strong { color: var(--ink); font-size: var(--type-support); }
  .pdf-preview-body, .guide-preview-body { padding: clamp(1.25rem, 3vw, 2rem); }
  .guide-preview h3 { color: var(--ink); font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.08; }
  .pdf-preview { background: #f5f5f2; border-color: #d3d3ce; }
  .pdf-preview > header { border-bottom-color: #d3d3ce; }
  .pdf-preview-body { color: #53534f; font-family: var(--font-sans); font-size: 0.88rem; line-height: 1.65; }
  .pdf-preview-title { color: #292925 !important; font-size: 1.15rem; font-weight: 700; }
  .pdf-preview-body p + p { margin-top: 1rem; }
  .pdf-preview-body span { display: block; margin-top: 1.5rem; color: #777770; font-size: 0.78rem; }
  .guide-preview-body > p { max-width: 54ch; margin-top: 1rem; color: var(--muted); line-height: 1.6; }
  .guide-preview-map { margin-top: 1.5rem; background: var(--blue); padding: 1rem 1.1rem; }
  .guide-preview-map strong { color: var(--primary-hover); font-size: var(--type-caption); }
  .guide-preview-diagram { min-height: 10rem; margin-top: 0.6rem; }
  .guide-preview-diagram svg { display: block; max-width: 100%; height: auto; margin: auto; }
  .guide-preview-chart { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.85rem; }
  .guide-preview-chart strong { color: var(--primary-hover); font-size: var(--type-caption); }
  .guide-preview-chart > div { position: relative; height: 9rem; margin-top: 0.5rem; }
  .guide-preview-question { margin-top: 1.25rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0.9rem 0; }
  .guide-preview-question > p { color: var(--primary-hover); font-size: var(--type-caption); font-weight: 800; }
  .guide-preview-question h4 { margin-top: 0.25rem; color: var(--ink); font-size: 1rem; }
  .guide-preview-choices { display: grid; gap: 0.45rem; margin-top: 0.8rem; }
  .guide-preview-choices button { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #ffffff; padding: 0.6rem 0.75rem; color: var(--ink); font: inherit; font-size: var(--type-caption); font-weight: 700; text-align: left; cursor: pointer; transition: border-color 180ms cubic-bezier(.22, 1, .36, 1), background 180ms cubic-bezier(.22, 1, .36, 1), color 180ms cubic-bezier(.22, 1, .36, 1), transform 180ms cubic-bezier(.22, 1, .36, 1); }
  .guide-preview-choices button:hover { border-color: var(--primary); color: var(--primary-hover); transform: translateX(3px); }
  .guide-preview-choices button:focus-visible, .guide-preview-replay:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
  .guide-preview-choices button.is-correct { border-color: #87ad00; background: var(--progress); color: var(--ink); }
  .guide-preview-choices button.is-incorrect { border-color: #c62a38; background: #fff0f1; color: #c62a38; }
  .guide-preview-question > span { display: block; margin-top: 0.7rem; color: var(--muted); font-size: var(--type-caption); font-weight: 700; }
  .guide-preview footer { margin-top: 1.5rem; color: var(--muted); font-size: var(--type-caption); }
  .guide-preview-replay { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 1.25rem 1.25rem; border: 0; background: transparent; color: var(--primary-hover); font: inherit; font-size: var(--type-caption); font-weight: 800; cursor: pointer; }
  .guide-preview-replay:hover { color: var(--primary); }
  html.js .guide-preview.is-revealed.is-playing .guide-preview-body > h3, html.js .guide-preview.is-revealed.is-playing .guide-preview-body > p, html.js .guide-preview.is-revealed.is-playing .guide-preview-map, html.js .guide-preview.is-revealed.is-playing .guide-preview-chart, html.js .guide-preview.is-revealed.is-playing .guide-preview-question, html.js .guide-preview.is-revealed.is-playing .guide-preview footer { animation: guide-preview-enter 500ms cubic-bezier(.16, 1, .3, 1) both; }
  html.js .guide-preview.is-revealed.is-playing .guide-preview-body > p { animation-delay: 100ms; }
  html.js .guide-preview.is-revealed.is-playing .guide-preview-map { animation-delay: 200ms; }
  html.js .guide-preview.is-revealed.is-playing .guide-preview-chart { animation-delay: 320ms; }
  html.js .guide-preview.is-revealed.is-playing .guide-preview-question { animation-delay: 420ms; }
  html.js .guide-preview.is-revealed.is-playing .guide-preview footer { animation-delay: 520ms; }
  .product-preview-action { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: 2rem; }
  .product-preview-action span { color: var(--line); font-size: var(--type-support); font-weight: 700; }

  .course-principles { padding-block: clamp(4rem, 8vw, 6rem); background: #ffffff; }
  .principles-header { width: min(670px, 100%); margin: 0 auto 3rem; text-align: center; }
  .principles-header h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
  .principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .principle { display: grid; gap: 0.65rem; min-height: 14rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; background: var(--blue); }
  .principle p { margin: 0; color: var(--ink); font-size: var(--type-callout); font-weight: 700; line-height: 1.35; }
  .principle strong { margin-top: auto; color: var(--ink); font-weight: 800; }
  .principle span { color: var(--muted); font-size: var(--type-caption); }

  .pricing-preview { padding-block: clamp(5rem, 10vw, 8rem); background: var(--progress); }
  .pricing-preview-header { margin-bottom: 3rem; text-align: center; }
  .pricing-preview-header h2 { font-size: clamp(2.25rem, 4vw, 4rem); }
  .pricing-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; max-width: 850px; margin-inline: auto; background: var(--line); }
  .pricing-preview .price-card { min-height: 20rem; border-radius: 0; padding: 2rem; background: #ffffff; box-shadow: none; }
  .pricing-preview .price-card.featured { background: var(--primary); color: #ffffff; }
  .pricing-preview .price-card.featured h2, .pricing-preview .price-card.featured .price { color: #ffffff; }
  .pricing-preview .price-card.featured p, .pricing-preview .price-card.featured .price small { color: #ffffff; }
  .pricing-preview .price-card.featured .badge { width: fit-content; border: 0; background: var(--progress); color: var(--ink); }
  .pricing-preview .price-card.featured .button { border-color: #ffffff; background: #ffffff; color: var(--ink); }

  .cta-banner { padding-block: clamp(4rem, 8vw, 7rem); }
  .cta-content { display: grid; grid-template-columns: minmax(14rem, 0.65fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 6rem); align-items: center; border-radius: var(--radius); background: var(--brand-field); padding: clamp(1.5rem, 5vw, 4rem); }
  .cta-copy { max-width: 42rem; }
  .nova-cta { display: block; width: 100%; height: auto; object-fit: cover; }
  .cta-banner h2 { margin-bottom: 1.25rem; color: #ffffff; font-size: clamp(2.5rem, 5vw, 4.5rem); }
  .cta-banner p { margin-bottom: 2rem; color: #ffffff; font-size: var(--type-callout); }

  @media (max-width: 720px) {
    .hero-shell, .journey-intro, .principles-grid, .pricing-preview-grid, .journey-steps, .product-preview-artifacts, .cta-content { grid-template-columns: 1fr; }
    .hero { min-height: auto; padding-top: 8rem; }
    .hero-art, .journey-art, .nova-cta { max-width: 30rem; margin-inline: auto; }
    .hero-art img { width: 100%; }
    .hero-first-win { display: grid; gap: 0.35rem; }
    .hero-first-win li::after { display: none; }
    .cta-copy { text-align: center; }
    .cta-copy .actions { justify-content: center; }
  }

  @media (prefers-reduced-motion: reduce) {
    .marketing .button { transition: none; }
    .guide-preview *, .guide-preview-question summary::after { animation: none !important; transition: none; }
  }

  @keyframes guide-preview-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
