@font-face {
  font-family: "Leo Hates School";
  src: url("assets/fonts/leo-hates-school.woff2") format("woff2"),
       url("assets/fonts/leo-hates-school.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #e4002b;
  --ink: #121212;
  --paper: #f5f0e8;
  --white: #ffffff;

  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.font-leo {
  font-family: "Leo Hates School", var(--sans);
  font-size: 1.9em;
  line-height: 0.9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--red);
}

body {
  background: var(--red);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 88px;
}

/* ---- full-bleed color bands ---- */
.section {
  padding: clamp(88px, 16vh, 190px) clamp(22px, 6vw, 60px);
}

.section.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

/* palettes */
.s-red {
  background: var(--red);
  color: var(--white);
}

.s-paper {
  background: var(--paper);
  color: var(--ink);
}

.s-white {
  background: var(--white);
  color: var(--ink);
}

.s-red-inv {
  background: var(--paper);
  color: var(--red);
}

.s-ink {
  background: var(--ink);
  color: var(--paper);
}

.s-red-blk {
  background: var(--red);
  color: var(--ink);
}

/* ---- headings ---- */
.h-xl {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(42px, 7.5vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.h-lg {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, 5.6vw, 62px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: clamp(30px, 5vh, 56px);
}

.no-caps {
  text-transform: none;
}

.h-sm {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: clamp(22px, 3.5vh, 40px);
}

/* ---- body lines (same treatment as index .lead) ---- */
.line {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(21px, 3.8vw, 36px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0 0 clamp(14px, 2.4vh, 26px);
  max-width: 28ch;
}

.line.wide {
  max-width: 38ch;
}

.line.lg {
  font-size: clamp(24px, 4.2vw, 40px);
}

.line.oneline {
  max-width: none;
}

.line.reg {
  font-weight: 400;
}

@media (min-width: 700px) {
  .line.oneline {
    white-space: nowrap;
  }
}

.aside {
  font-weight: 400;
  font-style: italic;
  opacity: 0.7;
  font-size: clamp(15px, 2vw, 20px);
  margin-top: 4px;
}

.gap {
  height: clamp(28px, 5vh, 56px);
}

.note-img {
  display: block;
  width: clamp(220px, 42vw, 340px);
  height: auto;
  margin: clamp(24px, 4vh, 40px) 0 0;
  transform: rotate(-2deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.offer-img {
  display: block;
  width: min(100%, 560px);
  height: auto;
  margin: clamp(24px, 4vh, 40px) 0 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.comment-img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: clamp(20px, 3.5vh, 32px) 0 clamp(28px, 4.5vh, 44px);
}

.comment-img + .comment-img {
  margin-top: 0;
}

/* emphasis */
.em { font-weight: 800; }
.hl { color: var(--red); font-weight: 800; }
.s-red .hl, .s-ink .hl { color: var(--white); }
.s-red-blk .hl { color: var(--white); }
.ul { text-decoration: underline; text-underline-offset: 0.14em; text-decoration-thickness: 2px; }
.red-hl { color: var(--red); font-weight: 800; }
.ink-hl { color: var(--ink); font-weight: 800; }
.word-lg { font-size: 1.22em; letter-spacing: -0.02em; }

/* ---- list of "the one who…" ---- */
.onelist {
  list-style: none;
  margin: clamp(24px, 4vh, 44px) 0;
  max-width: 100%;
  display: grid;
  gap: clamp(16px, 2.6vh, 26px);
}

.onelist li {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(20px, 3.4vw, 32px);
  line-height: 1.14;
  letter-spacing: -0.015em;
  padding-top: clamp(16px, 2.6vh, 26px);
  border-top: 1.5px solid currentColor;
}

.onelist li:first-child {
  border-top: none;
  padding-top: 0;
}

/* ---- steps ---- */
.steps {
  display: grid;
  gap: clamp(14px, 2.2vh, 24px);
  margin-top: clamp(20px, 4vh, 40px);
}

.step .num {
  font-weight: 800;
  font-size: clamp(34px, 6vw, 64px);
  letter-spacing: -0.02em;
  color: var(--red);
  line-height: 1;
  margin-bottom: 10px;
}

.step p {
  font-weight: 500;
  font-size: clamp(18px, 2.5vw, 26px);
  line-height: 1.3;
  max-width: 30ch;
  margin: 0;
}

/* ---- testimonial ---- */
.quote {
  font-weight: 600;
  font-size: clamp(21px, 3.4vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 26ch;
  margin: 0;
  position: relative;
}

.quote::before {
  content: "\201C";
  display: block;
  font-size: clamp(70px, 12vw, 150px);
  line-height: 0.7;
  margin-bottom: 10px;
}

.s-white .quote::before {
  color: var(--red);
}

.quote-tag {
  margin-top: clamp(24px, 4vh, 40px);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 13px;
  opacity: 0.8;
}

/* ---- CTA ---- */
.btn {
  display: inline-block;
  margin-top: clamp(30px, 5vh, 56px);
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(16px, 2.3vw, 22px);
  padding: clamp(20px, 2.6vh, 26px) clamp(34px, 5vw, 54px);
  border-radius: 999px;
  text-decoration: none;
  border: 2.5px solid var(--white);
  background: var(--white);
  color: var(--red);
  transition: background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  background: transparent;
  color: var(--white);
}

.s-ink .btn {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.s-ink .btn:hover {
  background: transparent;
  color: var(--red);
}

.s-red-inv .btn {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.s-red-inv .btn:hover {
  background: transparent;
  color: var(--ink);
}

.btn-note {
  margin-top: 18px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  font-size: 12px;
  opacity: 0.85;
}

/* ---- FAQ ---- */
.faq {
  max-width: 640px;
  margin: clamp(30px, 5vh, 56px) 0 0;
  text-align: left;
}

.qa {
  border-top: 1.5px solid var(--ink);
}

.qa:last-of-type {
  border-bottom: 1.5px solid var(--ink);
}

.q {
  position: relative;
  display: block;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: clamp(17px, 2.3vw, 23px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  padding: clamp(18px, 2.6vh, 26px) 2em clamp(18px, 2.6vh, 26px) 0;
}

.q::-webkit-details-marker { display: none; }

.q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: clamp(18px, 2.6vh, 26px);
  color: var(--red);
  font-weight: 800;
  transition: transform 0.25s ease;
}

.qa[open] > .q::after {
  transform: rotate(45deg);
}

.qa-body {
  padding: 0 0 clamp(22px, 3.2vh, 30px);
}

.faq-quotes {
  margin: clamp(28px, 5vh, 48px) 0;
  padding: clamp(8px, 1.5vh, 16px) 0 clamp(20px, 3vh, 32px);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.faq-quote {
  font-size: clamp(18px, 2.8vw, 26px);
  max-width: 34ch;
}

.faq-quotes .quote-tag {
  margin-top: 12px;
  margin-bottom: clamp(28px, 4vh, 40px);
}

.faq-quotes .quote-tag:last-child {
  margin-bottom: 0;
}

.a {
  font-weight: 400;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.55;
  margin-bottom: 12px;
  max-width: 56ch;
}

.a:last-child { margin-bottom: 0; }
.a.strong { font-weight: 700; }

/* ---- sticky bottom CTA ---- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 40px);
  padding: 14px clamp(18px, 5vw, 44px);
  background: var(--ink);
  color: var(--white);
  border-top: none;
  box-shadow: 0 -24px 0 0 var(--ink);
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.sticky-cta.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-cta__note {
  display: inline-flex;
  align-items: center;
  letter-spacing: -0.01em;
  font-weight: 700;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1;
  margin: 0;
}

.sticky-cta__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid var(--red);
  transition: background 0.2s ease, color 0.2s ease;
}

.sticky-cta__btn:hover {
  background: transparent;
  color: var(--white);
}

@media (max-width: 620px) {
  .section {
    padding-top: clamp(44px, 8vh, 64px);
    padding-bottom: clamp(44px, 8vh, 64px);
  }
  .sticky-cta {
    justify-content: center;
  }
  .sticky-cta__note {
    display: none;
  }
  .sticky-cta__btn {
    width: 100%;
    text-align: center;
  }
}

/* ---- scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- PIN gate (front-end only barrier, not real security) ---- */
.gate-locked {
  overflow: hidden;
}

.pin-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
}

.pin-gate__box {
  width: 100%;
  max-width: 360px;
  text-align: center;
}

.pin-gate__title {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.pin-gate__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.pin-gate__input {
  width: 100%;
  padding: 16px 18px;
  font-family: var(--sans);
  font-size: 20px;
  text-align: center;
  letter-spacing: 0.3em;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--paper);
  border-radius: 999px;
  outline: none;
}

.pin-gate__input:focus {
  border-color: var(--red);
}

.pin-gate__btn {
  margin-top: 4px;
  cursor: pointer;
}

.pin-gate__error {
  margin-top: 16px;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
}

/* ============================================================= */
/* ---- FUNNEL (multi-step form opened from any CTA) ---- */
/* ============================================================= */
body.funnel-locked { overflow: hidden; }

#funnel {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
#funnel.open { display: block; }

.funnel__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 20px);
  padding: 14px clamp(18px, 5vw, 40px);
  background: var(--paper);
  border-bottom: 1px solid rgba(18, 18, 18, 0.08);
}

#funnel.funnel--intro .funnel__bar {
  display: none;
}

.funnel__intro-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: clamp(16px, 3vh, 26px);
}

.funnel__intro-head .funnel__h {
  flex: 1;
  margin-bottom: 0;
}

.funnel__close--intro {
  margin-top: 0.05em;
  flex: none;
}

.funnel__back,
.funnel__close {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.funnel__back svg {
  display: block;
}

.funnel__back:hover,
.funnel__close:hover { background: rgba(18, 18, 18, 0.07); }

.funnel__progress {
  flex: 1;
  height: 4px;
  background: rgba(18, 18, 18, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.funnel__progress-fill {
  height: 100%;
  width: 0;
  background: var(--red);
  border-radius: 999px;
  transition: width 0.35s ease;
}

.funnel__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 56px) clamp(20px, 5vw, 40px) clamp(90px, 12vh, 130px);
}

.funnel__screen { display: none; }

.funnel__screen.active {
  display: block;
  animation: funnelIn 0.4s ease;
}

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

.funnel__h {
  font-weight: 800;
  text-transform: none;
  font-size: clamp(26px, 5vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: clamp(16px, 3vh, 26px);
}

.funnel__p {
  font-weight: 500;
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.4;
  margin-bottom: 12px;
  max-width: 46ch;
}

.funnel__p.small {
  font-size: clamp(14px, 2vw, 16px);
  opacity: 0.7;
}

.funnel__p.em { font-weight: 800; }
.funnel__hl { color: var(--red); font-weight: 800; }

.funnel__tips {
  list-style: none;
  padding: 0;
  margin: 4px 0 16px;
  max-width: 46ch;
  text-align: left;
}
.funnel__tips li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.4;
}
.funnel__tips li::before {
  content: "\2192";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 800;
}

/* options */
.funnel__options {
  display: grid;
  gap: 12px;
  margin: clamp(18px, 3vh, 28px) 0 clamp(10px, 2vh, 16px);
}

.funnel__option {
  text-align: left;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.3;
  padding: clamp(16px, 2.4vh, 22px) clamp(18px, 3vw, 26px);
  background: var(--white);
  color: var(--ink);
  border: 2px solid rgba(18, 18, 18, 0.15);
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.funnel__option .tag {
  display: inline-block;
  min-width: 1.4em;
  color: var(--red);
  font-weight: 800;
  margin-right: 0.5em;
}

.funnel__option:hover { border-color: var(--ink); }

.funnel__option.selected {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.funnel__option.selected .tag { color: var(--white); }

/* inputs */
.funnel__field { margin: 14px 0; }

.funnel__label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 12px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.funnel__label--name {
  text-transform: none;
  letter-spacing: 0;
  font-size: clamp(18px, 2.6vw, 22px);
  font-weight: 700;
  color: var(--ink);
  opacity: 1;
}

.funnel__input,
.funnel__textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--ink);
  background: var(--white);
  border: 2px solid rgba(18, 18, 18, 0.15);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease;
}

.funnel__input:focus,
.funnel__textarea:focus { border-color: var(--red); }

.funnel__textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.4;
  margin-top: clamp(14px, 2.5vh, 22px);
}

.funnel__count {
  margin: 6px 4px 0;
  text-align: right;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  opacity: 0.38;
}

.funnel__error {
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  margin-top: 12px;
}

.funnel__btn {
  position: sticky;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  z-index: 1;
  display: block;
  width: fit-content;
  margin-top: clamp(22px, 4vh, 36px);
  margin-left: auto;
  margin-right: 0;
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: clamp(15px, 2.2vw, 19px);
  padding: 16px clamp(30px, 5vw, 44px);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  border: 2.5px solid var(--red);
  background: var(--red);
  color: var(--white);
  transition: background 0.2s ease, color 0.2s ease;
  box-shadow:
    0 0 0 14px var(--paper),
    0 -24px 28px 8px var(--paper);
}

.funnel__btn:hover { background: transparent; color: var(--red); }

.funnel__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.funnel__btn:disabled:hover {
  background: var(--red);
  color: var(--white);
}

/* Stripe Payment Element container */
.funnel__payment-element {
  margin: clamp(14px, 2.5vh, 22px) 0 4px;
  min-height: 220px;
}

.funnel__secure-note {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.6;
}

/* audio sample player */
.funnel__audio {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(16px, 3vh, 24px) 0;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--white);
  border-radius: 999px;
}

.funnel__audio-play {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: var(--red);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.funnel__audio-seek {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  margin: 0;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
}

.funnel__audio-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--ink);
}

.funnel__audio-seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 2px var(--ink);
}

.funnel__audio-seek::-moz-range-track {
  height: 4px;
  background: transparent;
  border: none;
}

.funnel__audio-time {
  flex: none;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 14px;
}

/* testimonial */
.funnel__quote {
  font-weight: 500;
  font-style: italic;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.5;
  border-left: 3px solid var(--red);
  padding-left: 16px;
  margin: clamp(14px, 2.5vh, 20px) 0;
  max-width: 52ch;
}

/* sales / payment */
.funnel__price-old {
  text-decoration: line-through;
  opacity: 0.55;
  font-weight: 600;
  font-size: clamp(16px, 2.2vw, 20px);
  margin-top: clamp(14px, 2.5vh, 20px);
}

.funnel__price-now {
  font-weight: 800;
  font-size: clamp(18px, 2.6vw, 24px);
  margin-top: 4px;
}

.funnel__delivery-note {
  margin: clamp(14px, 2.5vh, 22px) 0 0;
  padding: 12px 14px;
  background: rgba(228, 0, 43, 0.08);
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 17px);
  line-height: 1.35;
  color: var(--ink);
}

.funnel__delivery-note #delivery-deadline,
.funnel__delivery-hl {
  color: var(--red);
  font-weight: 800;
}

.funnel__price-big {
  color: var(--red);
  font-weight: 800;
  font-size: clamp(54px, 12vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: clamp(10px, 2vh, 18px) 0 clamp(18px, 3vh, 28px);
}

.funnel__row { display: flex; gap: 12px; }
.funnel__row .funnel__field { flex: 1; }

/* thank you */
.funnel__screen.thankyou { text-align: left; }

@media (max-width: 480px) {
  .funnel__row { flex-direction: column; gap: 0; }
}
