/* PharmFoot fungus training funnel: landing, thanks/, payment/.
   Self-contained design system (tokens from the design handoff).
   Mobile first; the desktop design starts at 900px. Between 600 and 900 the
   mobile layout is kept, centred at 640px so nothing stretches too wide. */

:root {
  --burgundy: #b8336a;
  --burgundy-hover: #9a285a;
  --burgundy-ink: #6e1c40;
  --pink: #edc9d3;
  --pink-soft: #ffedf2;
  --pink-on-dark: #ffd0de;
  --cream: #fff6e8;
  --ink: #2a1620;
  --body: #4a3540;
  --muted: #6f5c66;
  --input-border: #a68593;
  --input-bg: #fffcf8;
  --card-border: #ebd9df;
  --divider: #f1e1e6;
  --image-bg: #f7dce5;
  --on-dark: rgba(255, 255, 255, 0.88);
  /* "Who it fits" cards only */
  --fit-line: #f3e1e8;
  --fit-muted-line: #ead8df;
  --fit-muted-border: #e6cfd8;
  --fit-muted-icon: #eadde3;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Assistant', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
svg { display: block; flex: none; }
a { color: var(--burgundy); }
a:hover { color: var(--burgundy-hover); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; }

.ff-wrap { width: 100%; max-width: 640px; margin: 0 auto; }
.ff-accent { color: var(--burgundy); }
.ff-accent-light { color: var(--pink-on-dark); }
.ff-strong { font-weight: 700; color: var(--ink); }

.ff-h2 {
  font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em;
  color: var(--ink); text-align: center; text-wrap: balance;
}
.ff-h2--light { color: #fff; }

/* ---------- Buttons ---------- */
.ff-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 20px; border: 0; border-radius: 999px;
  font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background 200ms var(--ease);
}
.ff-btn:active { transform: scale(0.98); }
.ff-btn svg { width: 20px; height: 20px; }
.ff-btn--primary { background: var(--burgundy); color: #fff; box-shadow: 0 8px 20px rgba(184, 51, 106, 0.25); }
.ff-btn--primary:hover { background: var(--burgundy-hover); color: #fff; }
.ff-btn--light { background: #fff; color: var(--burgundy-ink); font-weight: 800; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.ff-btn--light:hover { background: var(--pink-soft); color: var(--burgundy-ink); }
.ff-btn--fill, .ff-btn--line { height: 52px; gap: 8px; font-size: 17px; }
.ff-btn--fill svg, .ff-btn--line svg { width: 18px; height: 18px; }
.ff-btn--fill { background: var(--burgundy); color: #fff; }
.ff-btn--fill:hover { background: var(--burgundy-hover); color: #fff; }
.ff-btn--line { background: #fff; color: var(--burgundy); border: 1.5px solid var(--burgundy); }
.ff-btn--line:hover { background: var(--pink-soft); color: var(--burgundy); }
.ff-btn:disabled { opacity: 0.7; cursor: default; transform: none; }

/* ---------- Sections ---------- */
.ff-section { padding: 56px 24px; }
.ff-section--pink { background: var(--pink-soft); }
.ff-section--cream { background: var(--cream); }
.ff-section > .ff-wrap { display: flex; flex-direction: column; gap: 28px; }

/* ---------- Event facts (hero + thanks) ---------- */
.ff-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ff-fact {
  padding: 14px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center; background: #fff; border: 1px solid var(--pink); border-radius: 12px;
}
.ff-fact--wide { grid-column: 1 / -1; padding: 14px 16px; }
.ff-fact svg { width: 20px; height: 20px; color: var(--burgundy); }
.ff-fact-body { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ff-fact-label { margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--muted); }
.ff-fact-value { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.ff-fact-sub { font-size: 15px; line-height: 1.45; color: var(--muted); }

/* ---------- Hero ---------- */
.ff-hero { padding: 32px 0 40px; background: var(--pink-soft); border-bottom: 1px solid rgba(184, 51, 106, 0.25); }
.ff-hero > .ff-wrap { display: flex; flex-direction: column; }
.ff-hero-text { padding: 0 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ff-badge {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--pink); color: var(--burgundy-ink); font-size: 16px; font-weight: 700;
}
.ff-h1 { font-size: 31px; line-height: 1.18; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.ff-lead { font-size: 18px; line-height: 1.6; color: var(--body); text-wrap: pretty; }
.ff-hero-media {
  position: relative; margin: 24px 16px 0; height: 200px; overflow: hidden;
  border-radius: 20px; background: var(--image-bg); box-shadow: 0 8px 24px rgba(184, 51, 106, 0.10);
}
.ff-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.ff-hero .ff-form { margin: 20px 16px 0; }
.ff-hero .ff-facts { margin: 16px 16px 0; }

/* ---------- Lead form (hero + closing) ---------- */
.ff-form { position: relative; margin: 0; padding: 20px; display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: 20px; }
.ff-form--hero { border: 1px solid var(--card-border); box-shadow: 0 8px 24px rgba(184, 51, 106, 0.08); }
.ff-form--final { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22); }
/* Same title as the skin-trix forms */
.ff-form-title { margin: 0 0 2px; font-size: 19px; font-weight: 800; line-height: 1.3; color: var(--ink); text-align: center; text-wrap: balance; }
.ff-fields { display: flex; flex-direction: column; gap: 12px; }
.ff-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ff-input {
  width: 100%; height: 52px; padding: 0 16px; margin: 0;
  border: 1px solid var(--input-border); border-radius: 8px; background: var(--input-bg);
  font-family: inherit; font-size: 17px; color: var(--ink);
  /* Chrome lays tel inputs out LTR, which flips the Hebrew placeholder's "?" */
  direction: rtl; text-align: right;
  transition: border-color 200ms var(--ease);
}
.ff-input::placeholder { color: var(--muted); opacity: 1; }
.ff-input:focus { outline: 2px solid var(--burgundy); outline-offset: 1px; }
.ff-input.is-invalid { border-color: var(--burgundy); }
.ff-select-wrap { position: relative; }
.ff-select { padding-left: 44px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.ff-select:invalid { color: var(--muted); }
.ff-select option { color: var(--ink); }
.ff-select-wrap svg { position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; color: var(--burgundy-ink); pointer-events: none; }
.ff-check {
  margin-top: 2px; display: flex; align-items: flex-start; gap: 10px; cursor: pointer;
  font-size: 15px; line-height: 1.45; color: var(--body); text-align: right;
}
.ff-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--burgundy); cursor: pointer; }
.ff-check a { color: var(--burgundy-ink); font-weight: 600; text-decoration: underline; }
.ff-check.is-invalid input { outline: 2px solid var(--burgundy); outline-offset: 1px; }
.ff-error { font-size: 15px; line-height: 1.4; font-weight: 600; color: var(--burgundy); }
.ff-actions { margin-top: 4px; display: flex; flex-direction: column; gap: 12px; }
.ff-submit { width: 100%; }
.ff-form-error { font-size: 15px; line-height: 1.45; font-weight: 600; color: var(--burgundy); text-align: center; }
.ff-form-error a { color: var(--burgundy-ink); font-weight: 700; text-decoration: underline; }
.ff-limit { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--burgundy-ink); }
.ff-limit svg { width: 16px; height: 16px; }
/* Honeypot: off screen for people, still in the form for bots */
.ff-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- Social proof ---------- */
.ff-section.ff-proof { padding: 56px 0; }
.ff-proof .ff-h2 { padding: 0 24px; }
.ff-proof-list { display: flex; flex-direction: column; gap: 16px; padding: 0 24px; }
.ff-proof-list img {
  width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--card-border);
  background: var(--image-bg); box-shadow: 0 8px 24px rgba(184, 51, 106, 0.08);
}

/* ---------- Problem ---------- */
.ff-cards { display: flex; flex-direction: column; gap: 12px; }
.ff-card {
  padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: #fff; border: 1px solid var(--card-border); border-radius: 16px;
}
.ff-card p { font-size: 18px; line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.ff-icon-circle {
  width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--pink-soft); color: var(--burgundy);
}
.ff-icon-circle svg { width: 22px; height: 22px; }
.ff-dark-box {
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
  border-radius: 16px; background: var(--burgundy-ink); color: #fff; text-align: center;
}
.ff-dark-box-title { font-size: 24px; line-height: 1.3; font-weight: 800; letter-spacing: -0.01em; color: #fff; text-wrap: balance; }
.ff-dark-box-text { font-size: 18px; line-height: 1.65; color: var(--on-dark); text-wrap: pretty; }

/* ---------- Solution ---------- */
.ff-steps { display: flex; flex-direction: column; gap: 24px; }
.ff-step {
  position: relative; padding: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: #fff; border: 1px solid var(--card-border); border-radius: 16px; box-shadow: 0 8px 24px rgba(184, 51, 106, 0.06);
}
/* Connector between steps (mobile only) */
.ff-step:not(:last-child)::after {
  content: ""; position: absolute; top: 100%; left: 50%; margin-top: 1px;
  width: 2px; height: 24px; background: var(--pink); transform: translateX(-50%);
}
.ff-step-num {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--burgundy); color: #fff; font-size: 18px; font-weight: 800;
}
.ff-step h3 { margin-top: 4px; font-size: 21px; line-height: 1.25; font-weight: 800; color: var(--ink); }
.ff-step p { font-size: 18px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.ff-extras { display: flex; flex-direction: column; gap: 12px; }
.ff-extra {
  padding: 22px 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: var(--pink-soft); border: 1px solid var(--pink); border-radius: 16px;
}
.ff-extra .ff-icon-circle { background: #fff; }
.ff-extra-text { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ff-extra h3 { margin-top: 4px; font-size: 21px; line-height: 1.25; font-weight: 800; color: var(--burgundy-ink); }
.ff-extra p { font-size: 18px; line-height: 1.55; color: var(--body); text-wrap: pretty; }

/* ---------- Who it fits ---------- */
.ff-fit-head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.ff-fit-but { font-size: 31px; line-height: 1.3; font-weight: 700; color: var(--burgundy); }
.ff-fit-cards { display: flex; flex-direction: column; gap: 28px; }
.ff-fit {
  padding: 24px 20px 8px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1.5px solid var(--burgundy); border-radius: 20px; box-shadow: 0 8px 24px rgba(184, 51, 106, 0.10);
}
.ff-fit-title { display: flex; flex-direction: column; align-items: center; }
.ff-fit-icon {
  width: 48px; height: 48px; flex: none; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--burgundy); color: #fff;
}
.ff-fit-icon svg { width: 24px; height: 24px; }
.ff-fit h3 { margin: 12px 0 8px; font-size: 21px; line-height: 1.25; font-weight: 800; color: var(--burgundy-ink); }
.ff-fit-list { align-self: stretch; display: flex; flex-direction: column; }
.ff-fit-list li {
  padding: 14px 0; font-size: 18px; line-height: 1.55; color: var(--ink); text-wrap: pretty;
  border-bottom: 1px solid var(--fit-line);
}
.ff-fit-list li:last-child { border-bottom: 0; }
.ff-fit-list svg { display: none; }
.ff-fit--no { background: rgba(255, 255, 255, 0.55); border: 1px solid var(--fit-muted-border); box-shadow: none; }
.ff-fit--no .ff-fit-icon { background: var(--fit-muted-icon); color: var(--body); }
.ff-fit--no .ff-fit-icon svg { width: 22px; height: 22px; }
.ff-fit--no h3, .ff-fit--no .ff-fit-list li { color: var(--body); }
.ff-fit--no .ff-fit-list li { border-bottom-color: var(--fit-muted-line); }
.ff-fit--no .ff-fit-list li:last-child { border-bottom: 0; }

/* ---------- About Lori + academy ---------- */
.ff-section.ff-about { padding: 56px 16px; }
.ff-about > .ff-wrap { gap: 24px; }
.ff-about .ff-h2 { padding: 0 8px; }
.ff-about-row, .ff-about-text { display: flex; flex-direction: column; gap: 24px; }
.ff-about-photo {
  position: relative; height: 440px; overflow: hidden; border-radius: 24px;
  background: var(--image-bg); box-shadow: 0 12px 32px rgba(184, 51, 106, 0.14);
}
.ff-about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.ff-about-caption {
  position: absolute; right: 0; bottom: 0; left: 0; padding: 80px 24px 28px;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  background: linear-gradient(to top, rgba(45, 18, 30, 0.82) 0%, rgba(45, 18, 30, 0.55) 55%, rgba(45, 18, 30, 0) 100%);
}
.ff-about-caption h3 { font-size: 30px; line-height: 1.15; font-weight: 800; color: #fff; }
.ff-about-caption span { font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, 0.92); }
.ff-about-bio { padding: 0 8px; font-size: 18px; line-height: 1.6; color: var(--body); text-align: center; text-wrap: pretty; }
.ff-quote { padding: 0 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.ff-quote svg { width: 26px; height: 26px; color: var(--burgundy); }
.ff-quote p { font-size: 20px; line-height: 1.45; font-weight: 700; color: var(--burgundy-ink); text-wrap: balance; }
.ff-dark-box--about { margin-top: 8px; padding: 32px 24px; align-items: center; border-radius: 24px; }
.ff-dark-box--about .ff-dark-box-title { font-size: 26px; line-height: 1.25; }

/* Extra "save me a seat" button at the end of the solution section, the first
   CTA after the hero. Like skin-trix: it scrolls down to the closing form. */
.ff-section-cta { align-self: stretch; }

/* ---------- Mid CTA ---------- */
.ff-mid { padding: 64px 24px; background: var(--burgundy-ink); color: #fff; }
.ff-mid > .ff-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.ff-mid .ff-h2 { font-size: 30px; }
.ff-mid p { font-size: 18px; line-height: 1.6; color: var(--on-dark); text-wrap: pretty; }
.ff-mid .ff-btn { margin-top: 8px; align-self: stretch; }

/* ---------- Guarantee ---------- */
.ff-guarantee-card {
  padding: 32px 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
  background: #fff; border: 2px dashed var(--pink); border-radius: 24px;
}
.ff-guarantee-icon {
  width: 88px; height: 88px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--burgundy); color: #fff; box-shadow: 0 0 0 8px var(--pink-soft);
}
.ff-guarantee-icon svg { width: 42px; height: 42px; }
.ff-guarantee-card .ff-h2 { margin-top: 10px; }
.ff-guarantee-card p { font-size: 18px; line-height: 1.65; color: var(--body); text-wrap: pretty; }

/* ---------- FAQ ---------- */
.ff-section.ff-faq { padding: 56px 16px; }
.ff-faq-list { display: flex; flex-direction: column; gap: 10px; }
.ff-faq details { background: #fff; border: 1px solid var(--card-border); border-radius: 14px; }
.ff-faq details[open] { box-shadow: 0 8px 24px rgba(184, 51, 106, 0.08); }
.ff-faq summary {
  list-style: none; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--ink);
}
.ff-faq summary::-webkit-details-marker { display: none; }
.ff-faq summary:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 2px; border-radius: 14px; }
.ff-faq-icon {
  flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--pink-soft); color: var(--burgundy); transition: transform 200ms var(--ease);
}
.ff-faq-icon svg { width: 16px; height: 16px; }
.ff-faq details[open] .ff-faq-icon { transform: rotate(45deg); }
.ff-faq details p { padding: 0 18px 20px; font-size: 18px; line-height: 1.6; color: var(--body); text-wrap: pretty; }

/* ---------- Closing CTA + form ---------- */
.ff-final { padding: 64px 16px; background: var(--burgundy-ink); color: #fff; }
.ff-final > .ff-wrap { display: flex; flex-direction: column; gap: 24px; }
.ff-final-text { padding: 0 8px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.ff-final .ff-h2 { font-size: 30px; }
.ff-final-text p { font-size: 18px; line-height: 1.6; color: var(--on-dark); text-wrap: pretty; }
.ff-final-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; padding: 0 8px; }
.ff-final-facts li { display: flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; color: #fff; }
.ff-final-facts svg { width: 18px; height: 18px; color: var(--pink-on-dark); }
/* The facts sit under the form on mobile and in the text column on desktop */
.ff-final-facts--desktop { display: none; }

/* ---------- Site footer (same as the other course pages) ---------- */
.site-footer {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 16px 22px; font-size: 12px; color: var(--muted); background: var(--cream);
}
.site-footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; transition: color 160ms var(--ease); }
.site-footer a:hover { color: var(--burgundy); }
.site-footer-dot { opacity: 0.5; }

/* =========================================================================
   Inner pages: thanks/ and payment/
   ========================================================================= */
.ff-page { padding: 32px 16px 48px; background: linear-gradient(var(--pink-soft) 0, var(--pink-soft) 300px, var(--cream) 300px); }
.ff-page--payment { background: linear-gradient(var(--pink-soft) 0, var(--pink-soft) 380px, var(--cream) 380px); }
.ff-page > .ff-wrap { display: flex; flex-direction: column; gap: 20px; }

.ff-done { padding: 0 8px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ff-done-icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--burgundy); color: #fff; box-shadow: 0 0 0 6px rgba(184, 51, 106, 0.12);
}
.ff-done-icon svg { width: 28px; height: 28px; }
.ff-done h1 { margin-top: 4px; font-size: 28px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); }
.ff-done p { font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.ff-page--payment .ff-done { gap: 12px; }
.ff-page--payment .ff-done-icon { width: 64px; height: 64px; box-shadow: 0 0 0 8px rgba(184, 51, 106, 0.12); }
.ff-page--payment .ff-done-icon svg { width: 32px; height: 32px; }
.ff-page--payment .ff-done h1 { font-size: 31px; line-height: 1.18; }
.ff-page--payment .ff-done p { font-size: 18px; line-height: 1.6; }

/* Pay now (thanks) */
.ff-pay {
  margin-top: 4px; padding: 28px 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  border-radius: 24px; background: var(--burgundy-ink); box-shadow: 0 16px 40px rgba(110, 28, 64, 0.25);
}
.ff-pay h2 { font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; color: #fff; text-wrap: balance; }
.ff-pay p { font-size: 18px; line-height: 1.6; color: var(--on-dark); text-wrap: pretty; }
.ff-pay .ff-btn { margin-top: 8px; align-self: stretch; height: 58px; font-size: 19px; }
.ff-pay-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--pink-on-dark); }
.ff-pay-note svg { width: 16px; height: 16px; }

.ff-details { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.ff-details h2 { font-size: 18px; font-weight: 800; color: var(--burgundy-ink); text-align: center; }

/* Text + button cards: stacked on mobile, a row on desktop */
.ff-split { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ff-split-text { display: flex; flex-direction: column; align-items: center; }
.ff-split .ff-btn { align-self: stretch; }

.ff-ig { margin-top: 8px; padding: 24px 20px; gap: 16px; background: #fff; border: 1px solid var(--card-border); border-radius: 20px; }
.ff-ig .ff-split-text { gap: 10px; }
.ff-ig h2 { font-size: 21px; line-height: 1.25; font-weight: 800; color: var(--ink); }
.ff-ig p { font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }

/* Ticket (payment) */
.ff-ticket { position: relative; overflow: hidden; border-radius: 24px; background: #fff; box-shadow: 0 16px 40px rgba(110, 28, 64, 0.16); }
.ff-ticket-head { padding: 18px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--burgundy-ink); }
.ff-ticket-head-text { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ff-ticket-kicker { font-size: 15px; font-weight: 700; color: var(--pink-on-dark); }
.ff-ticket-title { font-size: 22px; line-height: 1.25; font-weight: 800; color: #fff; }
.ff-paid {
  margin-top: 10px; height: 34px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; font-size: 15px; font-weight: 700;
}
.ff-paid svg { width: 16px; height: 16px; }
.ff-ticket-info { padding: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; text-align: center; }
.ff-ti { padding: 0 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ff-ti:first-child { border-left: 1px solid var(--divider); }
.ff-ti--wide { grid-column: 1 / -1; padding: 16px 0 0; border-top: 1px solid var(--divider); }
.ff-ti svg { width: 20px; height: 20px; color: var(--burgundy); }
.ff-ti-body { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ff-ti-label { font-size: 15px; font-weight: 600; color: var(--muted); }
.ff-ti-value { font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.ff-ti-sub { font-size: 15px; line-height: 1.45; color: var(--muted); }
.ff-perf { position: relative; height: 24px; }
.ff-perf::before { content: ""; position: absolute; top: 11px; right: 24px; left: 24px; border-top: 2px dashed var(--pink); }
.ff-perf::after, .ff-perf span {
  content: ""; position: absolute; top: 0; width: 24px; height: 24px; border-radius: 999px; background: var(--cream);
}
.ff-perf::after { right: -12px; }
.ff-perf span { left: -12px; }
.ff-ticket-actions { padding: 4px 20px 20px; }
.ff-ticket-hint { display: none; }
.ff-ticket-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ff-ticket-btns .ff-btn { padding: 0 10px; }

/* Before you come (payment) */
.ff-prep {
  padding: 24px 20px; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--card-border); border-radius: 20px;
}
.ff-prep h2 { margin-bottom: 4px; font-size: 21px; line-height: 1.25; font-weight: 800; color: var(--ink); }
.ff-prep-list { width: 100%; display: flex; flex-direction: column; }
.ff-prep-item { padding: 16px 0; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ff-prep-item + .ff-prep-item { border-top: 1px solid var(--divider); }
.ff-prep-item .ff-icon-circle { margin-bottom: 8px; }
.ff-prep-title { font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.ff-prep-text { font-size: 17px; line-height: 1.5; color: var(--body); }
.ff-prep-ask { width: 100%; margin-top: 4px; padding-top: 20px; gap: 14px; border-top: 1px solid var(--card-border); }
.ff-prep-ask .ff-split-text { gap: 4px; }

.ff-share { padding: 24px 20px; gap: 16px; background: var(--pink-soft); border: 1px solid var(--pink); border-radius: 20px; }
.ff-share .ff-split-text { gap: 8px; }
.ff-share h2 { font-size: 21px; line-height: 1.25; font-weight: 800; color: var(--ink); text-wrap: balance; }
.ff-share p { font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }

.ff-ig-line { font-size: 17px; line-height: 1.5; color: var(--body); text-align: center; }
.ff-ig-line a { font-weight: 700; }

/* =========================================================================
   Desktop
   ========================================================================= */
@media (min-width: 900px) {
  .ff-wrap { max-width: 1200px; }
  .ff-h2 { font-size: 44px; line-height: 1.15; letter-spacing: -0.015em; }
  .ff-section { padding: 96px 48px; }
  .ff-section > .ff-wrap { align-items: center; gap: 48px; }
  .ff-section > .ff-wrap > * { width: 100%; }

  /* Facts: a row of chips */
  .ff-facts { display: flex; flex-wrap: wrap; align-items: stretch; }
  .ff-fact { flex: 0 0 auto; padding: 14px 18px; flex-direction: row; align-items: flex-start; gap: 10px; text-align: right; }
  .ff-fact--wide { flex: 1 1 260px; min-width: 0; }
  .ff-fact svg { margin-top: 2px; }
  .ff-fact-body { align-items: flex-start; gap: 2px; }
  .ff-fact-label { margin-top: 0; }

  /* Hero: text, form and facts on the right, photo on the left */
  .ff-hero { padding: 72px 48px 80px; }
  .ff-hero > .ff-wrap {
    display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    grid-template-areas: "text media" "form media" "facts media";
    column-gap: 56px; row-gap: 20px; align-items: start;
  }
  .ff-hero-text { grid-area: text; padding: 0; align-items: flex-start; gap: 20px; text-align: right; }
  .ff-h1 { font-size: clamp(40px, 4.2vw, 54px); line-height: 1.12; letter-spacing: -0.015em; }
  .ff-lead { max-width: 600px; font-size: 19px; }
  .ff-hero-media {
    grid-area: media; align-self: stretch; margin: 0; height: auto; min-height: 520px;
    border-radius: 24px; box-shadow: 0 12px 32px rgba(184, 51, 106, 0.14);
  }
  .ff-hero-media img { object-position: 40% 50%; }
  .ff-hero .ff-form { grid-area: form; margin: 12px 0 0; }
  .ff-hero .ff-facts { grid-area: facts; margin: 0; }

  /* Hero form: fields in a row, button beside the seat limit */
  .ff-form--hero { padding: 28px; gap: 16px; }
  .ff-form-title { font-size: 21px; }
  .ff-form--hero .ff-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); align-items: start; }
  .ff-form--hero .ff-select { padding-left: 40px; }
  .ff-form--hero .ff-select-wrap svg { left: 14px; }
  .ff-form--hero .ff-actions { margin-top: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
  .ff-form--hero .ff-submit { flex: 0 1 320px; width: auto; padding: 0 28px; }
  .ff-form--hero .ff-form-error { order: 3; flex-basis: 100%; text-align: right; }
  .ff-form--hero .ff-limit { font-size: 16px; }

  /* Closing form */
  .ff-form--final { padding: 32px; gap: 14px; border-radius: 24px; }
  .ff-form--final .ff-fields { gap: 14px; }
  .ff-form--final .ff-input { height: 54px; }
  .ff-form--final .ff-select-wrap svg { top: 17px; }
  .ff-form--final .ff-actions { gap: 14px; }
  .ff-form--final .ff-submit { height: 58px; padding: 0 24px; font-size: 19px; }
  .ff-form--final .ff-limit { font-size: 16px; }

  /* Social proof: masonry */
  .ff-section.ff-proof { padding: 96px 48px; }
  .ff-proof .ff-h2 { padding: 0; }
  .ff-proof-list { display: block; column-count: 3; column-gap: 24px; padding: 0; }
  .ff-proof-list img { margin: 0 0 24px; break-inside: avoid; }

  /* Problem */
  .ff-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .ff-card { padding: 28px 24px; gap: 14px; box-shadow: 0 8px 24px rgba(184, 51, 106, 0.06); }
  .ff-card p { font-size: 17px; }
  .ff-card .ff-icon-circle { width: 48px; height: 48px; }
  .ff-dark-box { padding: 48px; align-items: center; gap: 16px; border-radius: 20px; }
  .ff-dark-box-title { font-size: 34px; line-height: 1.25; letter-spacing: -0.015em; }
  .ff-dark-box-text { max-width: 820px; font-size: 20px; }

  /* Solution */
  .ff-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .ff-step { padding: 28px 24px; gap: 10px; }
  .ff-step::after { display: none; }
  .ff-step-num { width: 44px; height: 44px; font-size: 19px; }
  .ff-step h3 { font-size: 22px; }
  .ff-step p { font-size: 17px; }
  .ff-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 20px; }
  .ff-extra { padding: 28px; flex-direction: row; align-items: flex-start; gap: 18px; text-align: right; }
  .ff-extra .ff-icon-circle { width: 52px; height: 52px; }
  .ff-extra .ff-icon-circle svg { width: 26px; height: 26px; }
  .ff-extra-text { align-items: flex-start; gap: 6px; }
  .ff-extra h3 { margin-top: 0; font-size: 22px; }
  .ff-extra p { font-size: 17px; }

  /* Who it fits */
  .ff-fit-section > .ff-wrap { max-width: 1100px; }
  .ff-fit-head { gap: 8px; }
  .ff-fit-but { font-size: 44px; }
  .ff-fit-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 24px; }
  .ff-fit { padding: 36px; align-items: stretch; gap: 24px; text-align: right; }
  .ff-fit-title { flex-direction: row; align-items: center; gap: 14px; }
  .ff-fit-icon { width: 52px; height: 52px; }
  .ff-fit-icon svg { width: 26px; height: 26px; }
  .ff-fit--no .ff-fit-icon svg { width: 24px; height: 24px; }
  .ff-fit h3 { margin: 0; font-size: 24px; }
  .ff-fit-list { gap: 16px; }
  .ff-fit-list li { padding: 0; border: 0; display: flex; align-items: flex-start; gap: 12px; }
  .ff-fit-list svg { display: block; width: 22px; height: 22px; margin-top: 3px; color: var(--burgundy); }
  .ff-fit--no .ff-fit-list svg { color: var(--muted); }

  /* About */
  .ff-section.ff-about { padding: 96px 48px; }
  .ff-about > .ff-wrap { gap: 48px; }
  .ff-about .ff-h2 { padding: 0; }
  .ff-about-row { display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); align-items: center; gap: 56px; }
  .ff-about-photo { height: 600px; }
  .ff-about-photo img { object-position: 50% 15%; }
  .ff-about-caption { padding: 120px 32px 32px; align-items: flex-start; text-align: right; }
  .ff-about-caption h3 { font-size: 38px; line-height: 1.1; }
  .ff-about-caption span { font-size: 19px; }
  .ff-about-text { gap: 28px; }
  .ff-about-bio { padding: 0; font-size: 19px; line-height: 1.65; text-align: right; }
  .ff-quote { padding: 0; align-items: flex-start; text-align: right; }
  .ff-quote svg { width: 28px; height: 28px; }
  .ff-quote p { font-size: 22px; }
  .ff-dark-box--about { margin-top: 0; padding: 40px; align-items: stretch; gap: 14px; text-align: right; }
  .ff-dark-box--about .ff-dark-box-title { font-size: 32px; line-height: 1.2; }
  .ff-dark-box--about .ff-dark-box-text { font-size: 18px; }

  .ff-section > .ff-wrap > .ff-section-cta { align-self: center; width: 360px; max-width: 100%; height: 60px; padding: 0 28px; font-size: 19px; }

  /* Mid CTA */
  .ff-mid { padding: 88px 48px; }
  .ff-mid > .ff-wrap { max-width: 760px; gap: 18px; }
  .ff-mid .ff-h2 { font-size: 46px; }
  .ff-mid p { font-size: 20px; }
  .ff-mid .ff-btn { margin-top: 10px; align-self: center; width: 360px; max-width: 100%; height: 60px; padding: 0 28px; font-size: 19px; }

  /* Guarantee */
  .ff-section.ff-guarantee { padding: 88px 48px; }
  .ff-guarantee-card { max-width: 860px; padding: 48px 56px; gap: 16px; border-radius: 28px; }
  .ff-guarantee-icon { width: 104px; height: 104px; box-shadow: 0 0 0 10px var(--pink-soft); }
  .ff-guarantee-icon svg { width: 50px; height: 50px; }
  .ff-guarantee-card .ff-h2 { margin-top: 14px; font-size: 42px; }
  .ff-guarantee-card p { max-width: 680px; font-size: 20px; }

  /* FAQ */
  .ff-section.ff-faq { padding: 96px 48px; }
  .ff-faq > .ff-wrap { max-width: 820px; gap: 40px; }
  .ff-faq-list { gap: 12px; }
  .ff-faq details { border-radius: 16px; }
  .ff-faq summary { padding: 22px 26px; gap: 16px; font-size: 19px; }
  .ff-faq summary:focus-visible { border-radius: 16px; }
  .ff-faq-icon { width: 34px; height: 34px; }
  .ff-faq-icon svg { width: 18px; height: 18px; }
  .ff-faq details p { padding: 0 26px 24px; line-height: 1.65; }

  /* Closing CTA: text on the right, form on the left */
  .ff-final { padding: 96px 48px; }
  .ff-final > .ff-wrap { max-width: 1100px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
  .ff-final-text { padding: 0; align-items: flex-start; gap: 20px; text-align: right; }
  .ff-final .ff-h2 { font-size: 48px; line-height: 1.12; text-align: right; }
  .ff-final-text p { max-width: 520px; font-size: 20px; }
  .ff-final-facts--mobile { display: none; }
  .ff-final-facts--desktop { margin-top: 8px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .ff-final-facts li { gap: 10px; font-size: 18px; }
  .ff-final-facts svg { width: 20px; height: 20px; }

  /* ---------- Inner pages ---------- */
  .ff-page { padding: 64px 48px 72px; background: linear-gradient(var(--pink-soft) 0, var(--pink-soft) 360px, var(--cream) 360px); }
  .ff-page--payment { background: linear-gradient(var(--pink-soft) 0, var(--pink-soft) 420px, var(--cream) 420px); }
  .ff-page > .ff-wrap { max-width: 820px; gap: 28px; }
  .ff-page--payment > .ff-wrap { max-width: 880px; }
  .ff-done { padding: 0; gap: 12px; }
  .ff-done-icon, .ff-page--payment .ff-done-icon { width: 72px; height: 72px; box-shadow: 0 0 0 8px rgba(184, 51, 106, 0.12); }
  .ff-done-icon svg, .ff-page--payment .ff-done-icon svg { width: 36px; height: 36px; }
  .ff-done h1, .ff-page--payment .ff-done h1 { margin-top: 6px; font-size: 44px; line-height: 1.12; letter-spacing: -0.015em; }
  .ff-done p, .ff-page--payment .ff-done p { max-width: 600px; font-size: 19px; line-height: 1.6; }
  .ff-page--payment .ff-done p { max-width: 620px; }

  .ff-pay { margin-top: 0; padding: 44px 48px; gap: 14px; border-radius: 28px; }
  .ff-pay h2 { font-size: 36px; line-height: 1.15; letter-spacing: -0.015em; }
  .ff-pay p { max-width: 560px; font-size: 19px; }
  .ff-pay .ff-btn { margin-top: 10px; align-self: center; width: 380px; max-width: 100%; height: 60px; padding: 0 28px; font-size: 20px; }
  .ff-pay-note { font-size: 16px; }

  .ff-details { margin-top: 0; gap: 12px; }
  .ff-details h2 { font-size: 19px; }

  .ff-split { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; text-align: right; }
  .ff-split-text { flex: 1 1 360px; min-width: 0; align-items: flex-start; }
  .ff-split .ff-btn { flex: none; align-self: center; padding: 0 24px; }

  .ff-ig { margin-top: 0; padding: 28px 32px; }
  .ff-ig .ff-split-text { gap: 6px; }
  .ff-ig h2 { font-size: 22px; }

  .ff-ticket-head { padding: 20px 36px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; text-align: right; }
  .ff-ticket-head-text { align-items: flex-start; }
  .ff-ticket-title { font-size: 28px; line-height: 1.2; }
  .ff-paid { margin-top: 0; height: 38px; padding: 0 16px; font-size: 16px; }
  .ff-ticket-info { padding: 28px 36px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr); row-gap: 0; text-align: right; }
  .ff-ti { padding: 0 24px; flex-direction: row; align-items: flex-start; gap: 10px; border-left: 1px solid var(--divider); }
  .ff-ti:first-child { padding-right: 0; }
  .ff-ti--wide { grid-column: auto; padding: 0 24px 0 0; border: 0; }
  .ff-ti svg { width: 22px; height: 22px; margin-top: 2px; }
  .ff-ti-body { align-items: flex-start; gap: 2px; }
  .ff-ti-value { font-size: 18px; }
  .ff-perf::before { right: 28px; left: 28px; }
  .ff-ticket-actions { padding: 4px 36px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
  .ff-ticket-hint { display: block; font-size: 17px; line-height: 1.5; color: var(--body); }
  .ff-ticket-btns { display: flex; }
  .ff-ticket-btns .ff-btn { padding: 0 24px; }

  .ff-prep { padding: 32px 36px; align-items: stretch; gap: 20px; }
  .ff-prep h2 { margin: 0; font-size: 24px; text-align: center; }
  .ff-prep-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .ff-prep-item { padding: 0; text-align: center; }
  .ff-prep-item + .ff-prep-item { border-top: 0; }
  .ff-prep-item .ff-icon-circle { width: 48px; height: 48px; margin-bottom: 10px; }
  .ff-prep-item .ff-icon-circle svg { width: 24px; height: 24px; }
  .ff-prep-ask { margin-top: 0; }
  .ff-prep-ask .ff-split-text { gap: 2px; }

  .ff-share { padding: 28px 36px; }
  .ff-share .ff-split-text { gap: 6px; }
  .ff-share h2 { font-size: 22px; }
}

/* Problem and solution: four across once there is room for it */
@media (min-width: 1100px) {
  .ff-cards, .ff-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .ff-btn, .ff-input, .ff-faq-icon, .site-footer a { transition: none; }
  .ff-btn:active { transform: none; }
}
