/* =========================================================
   LIFT WITH HANK — webfunnel styles.css
   Brand: Maroon #9E182B · Soft Pink #F2AFBC · Figtree display
   Shared across: optin.html · index.html · confirmation.html
   House rule: minimum visible font size is 18px.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  color-scheme: light;

  /* Brand */
  --maroon: #9E182B;
  --maroon-700: #831322;
  --maroon-900: #5E0D18;
  --pink: #F2AFBC;
  --pink-soft: #FBE7EC;
  --red: #D63637;

  /* Neutrals */
  --ink: #333333;        /* body text */
  --ink-soft: #555555;   /* subtext */
  --ink-40: rgba(51, 51, 51, 0.42);
  --ink-15: rgba(51, 51, 51, 0.14);
  --ink-08: rgba(51, 51, 51, 0.07);
  --paper: #FFFFFF;
  --off-white: #F9FAFA;

  /* Type */
  --display: "Figtree", "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Spacing (8pt baseline) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 2px 14px rgba(94, 13, 24, 0.05), 0 18px 50px rgba(94, 13, 24, 0.07);
  --shadow-lift: 0 4px 22px rgba(94, 13, 24, 0.08), 0 28px 70px rgba(94, 13, 24, 0.12);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Layout */
  --max-w: 1140px;
  --max-w-prose: 720px;
  --max-w-narrow: 920px;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body);
  font-size: 18px;            /* house minimum */
  line-height: 1.6;
  color: var(--ink);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--maroon);
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ---------- 3. Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.h-display {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 1.08;
}

.h-section {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.h-sub {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;               /* house floor: no visible text under 18px */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}

.lede {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.55;
}

.muted { color: var(--ink-soft); }

/* ---------- 4. Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
}

.wrap--narrow { max-width: var(--max-w-narrow); }
.wrap--prose { max-width: var(--max-w-prose); }

section {
  padding-block: var(--space-9);
}

.stack > * + * { margin-top: var(--space-4); }
.stack-lg > * + * { margin-top: var(--space-6); }

.center { text-align: center; }
.center-x { margin-inline: auto; }

/* ---------- 5. Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 250, 250, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--ink-08);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-brand img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  gap: var(--space-6);
}

.nav-links a {
  color: var(--ink);
  font-weight: 600;
  font-size: 18px;
}

.nav-links a:hover { color: var(--maroon); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--r-sm);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s var(--ease-out);
}

.btn--primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  background: var(--maroon-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn--ghost {
  background: transparent;
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
}

.btn--ghost:hover { background: var(--pink-soft); }

.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.15rem; }
.btn--block { width: 100%; }

/* ---------- 7. Pills / badges ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--pink-soft);
  color: var(--maroon-900);
  font-weight: 600;
  font-size: 18px;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.scarcity {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
}

/* ---------- 8. Cards ---------- */
.card {
  background: var(--paper);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  padding: var(--space-6);
  box-shadow: var(--shadow-soft);
}

.card-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--maroon);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: var(--space-3);
}

/* ---------- 9. Hero ---------- */
.hero {
  background:
    radial-gradient(120% 90% at 85% -10%, var(--pink-soft) 0%, transparent 55%),
    var(--off-white);
  padding-block: var(--space-9) var(--space-8);
}

.hero-content { display: grid; gap: var(--space-5); max-width: var(--max-w-narrow); }
.hero-content > .pill,
.hero-content > .scarcity { justify-self: start; }
.hero-content.center > .pill,
.hero-content.center > .scarcity { justify-self: center; }
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-2);
}

/* ---------- 10. Forms ---------- */
.field {
  display: grid;
  gap: var(--space-2);
  text-align: left;
}

.field label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--ink-15);
  border-radius: var(--r-sm);
  padding: 0.9rem 1rem;
  width: 100%;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(158, 24, 43, 0.12);
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-lift);
  max-width: 560px;
  margin-inline: auto;
}

/* (Multi-step qualifier removed 2026-07-21 — /apply now books through an
   open Calendly embed; qualifying happens via Calendly intake + the call.) */

/* Inline success / form states */
.form-success { display: none; }
.form-success.is-visible { display: block; animation: fade-in 0.4s var(--ease-out); }

/* ---------- 11. Media embed slots (Wistia video / Calendly booking) ----------
   Dashed placeholders until the real embed codes land. Swapping in a live
   embed = replace the .media-slot div with the Wistia/Calendly snippet in
   the adjacent HTML comment; these styles stay for any future slots. */
.media-slot {
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--paper);
  border: 1px dashed var(--ink-15);
  border-radius: var(--r-md);
  padding: var(--space-6);
  color: var(--ink-soft);
}

.media-slot strong {
  color: var(--maroon);
  font-size: 1.2rem;
}

.media-slot--video { aspect-ratio: 16 / 9; }

.media-slot--calendly { min-height: 700px; }

/* Small breakout-grid thumbnails */
.media-slot--thumb {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-sm);
  padding: var(--space-4);
}

.media-slot--thumb span {
  color: var(--maroon);
  font-weight: 600;
}

.media-slot-title { font-size: 1.15rem; }

/* VSL sits in its own row at reduced width (viewer can fullscreen) */
.vsl-wrap {
  max-width: var(--max-w-narrow);
  margin-inline: auto;
}

/* (Typeform embed removed 2026-07-15 — the opt-in is now a native form,
   see section 16.) */

/* ---------- 12. Proof / testimonial ---------- */
.quote {
  background: var(--paper);
  border-left: 4px solid var(--maroon);
  border-radius: var(--r-sm);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-soft);
}
.quote p { font-size: 18px; color: var(--ink); font-style: italic; }
.quote cite { display: block; margin-top: var(--space-3); font-style: normal; font-weight: 600; color: var(--maroon); }

/* ---------- 12b. FAQ accordion ---------- */
.faq-list {
  display: grid;
  gap: var(--space-3);
  max-width: var(--max-w-prose);
  margin-inline: auto;
}
.faq-item {
  background: var(--paper);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-5) var(--space-6);
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
  color: var(--maroon);
  transition: transform 0.2s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body {
  padding: 0 var(--space-6) var(--space-5);
  color: var(--ink-soft);
}

/* ---------- 13. Offer / value stack ---------- */
.value-row {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding-block: var(--space-3);
  border-bottom: 1px solid var(--ink-08);
}
.value-check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--maroon);
  display: grid;
  place-items: center;
  font-weight: 700;
}

/* "isn't for you" variant of the check bubble */
.value-check--no {
  background: var(--ink-08);
  color: var(--ink-soft);
}

.price-tag {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--space-3);
}
.price-tag .was { text-decoration: line-through; color: var(--ink-40); font-size: 1.3rem; }
.price-tag .now { font-family: var(--display); font-weight: 700; color: var(--maroon); font-size: 2.4rem; }

/* ---------- 13b. Book offer (tripwire on thank-you page) ---------- */
.book-offer {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: var(--space-7);
  align-items: center;
}

.book-offer__cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-sm);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.book-includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-3);
}
.book-includes li {
  position: relative;
  padding-left: 1.9rem;
  line-height: 1.5;
}
.book-includes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--maroon);
  font-weight: 800;
}

@media (max-width: 640px) {
  .book-offer {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .book-offer__cover {
    max-width: 260px;
    margin-inline: auto;
  }
}

/* ---------- 13c. Opt-in page (index.html) ---------- */
.hero-logo {
  height: 48px;
  width: auto;
  margin-inline: auto;
}

.hero-cta {
  display: grid;
  gap: var(--space-3);
  justify-items: center;
  margin-top: var(--space-2);
}

.cta-note {
  font-size: 1rem;
  color: var(--ink-soft);
}

.value-x {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink-08);
  color: var(--ink-soft);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.proof-bar {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  justify-self: center;
  background: var(--pink-soft);
  color: var(--maroon-900);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.6rem 1.2rem;
  border-radius: var(--r-pill);
  text-align: left;
}

.proof-check {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.fit-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: start;
}

@media (max-width: 720px) {
  .fit-grid { grid-template-columns: 1fr; }
}

/* ---------- 14. Footer ---------- */
.footer {
  background: var(--maroon-900);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--space-7);
  font-size: 18px;
}
.footer a { color: var(--pink); }
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: space-between;
  align-items: center;
}

/* ---------- 15. Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.is-in { opacity: 1; transform: none; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

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

/* ---------- 16. Squeeze opt-in (index.html) ----------
   Layout modeled on the acquisition.com /fivescalingframeworks
   opt-in: dark top bar with centered logo, one white sheet column,
   hero visual → form title → form → delivery note. Nothing else. */

.topbar {
  background: var(--maroon-900);
  padding-block: var(--space-3);
}

.topbar-brand {
  display: block;
  width: 200px;
  margin-inline: auto;
}

.topbar-brand svg {
  width: 100%;
  height: auto;
  display: block;
}

.squeeze {
  padding-block: var(--space-7) var(--space-8);
  padding-inline: var(--space-4);
}

.sheet {
  max-width: 720px;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-6);
  display: grid;
  gap: var(--space-5);
}

/* Plan mockup visual — stands in for the hero photo.
   Square, and full-bleed to the sheet edges (negative margins cancel
   the sheet padding) so there is no gutter around the image. */
.plan-visual {
  aspect-ratio: 1;
  margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) 0;
  border-radius: calc(var(--r-lg) - 1px) calc(var(--r-lg) - 1px) 0 0;
  background:
    radial-gradient(120% 130% at 15% -20%, #FFFFFF 0%, transparent 55%),
    radial-gradient(130% 120% at 90% 115%, var(--pink) 0%, transparent 60%),
    var(--pink-soft);
  overflow: hidden;
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
}

.plan-mock {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
}

/* Card + sticker chips move as one composition, whatever the panel size */
.plan-set {
  position: relative;
  width: min(280px, 100%);
}

@media (min-width: 641px) {
  .plan-set { transform: scale(1.3); }
}

.plan-card {
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  padding: var(--space-4);
  width: 100%;
  transform: rotate(-2deg);
}

.plan-card-eyebrow {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--ink-08);
}

.plan-days {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--space-4);
  padding-top: var(--space-2);
}

.plan-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  padding-block: 0.22rem;
}

.plan-tick {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

/* Floating sticker chips overlapping the card corners */
.plan-chip {
  position: absolute;
  background: var(--paper);
  color: var(--maroon-900);
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-soft);
  white-space: nowrap;
}

.plan-chip--tr { top: -20px; right: -44px; transform: rotate(4deg); }
.plan-chip--bl { bottom: -18px; left: -44px; transform: rotate(-3deg); }

/* Caption chip at the bottom of the visual,
   mirroring the reference's "Business Owners Only" chip */
.hero-chip {
  background: var(--paper);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 1.2rem;
  text-align: center;
  display: grid;
  gap: 0.1rem;
  align-self: center;
  margin-top: var(--space-2);
  white-space: nowrap;
  max-width: 100%;
}

.hero-chip strong {
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}

.hero-chip span { font-size: 18px; color: var(--ink-soft); }

.hero-chip-check {
  display: inline-block;
  vertical-align: -3px;
}

/* Form title block */
.form-title {
  font-size: clamp(1.8rem, 4.6vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  max-width: 34ch;
  margin-inline: auto;
}

.form-sub {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.55;
  text-align: center;
  max-width: 56ch;
  margin-inline: auto;
}

/* Native opt-in form → n8n webhook. Styled after the reference form:
   labeled rows, soft gray rounded fields, pill CTA. */
.optin {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-4);
}

.optin-form { display: grid; gap: var(--space-4); }

.optin-form .field input {
  background: #F3F3F4;
  border-color: transparent;
  border-radius: 10px;
  padding: 1rem 1.1rem;
}

.optin-form .field input::placeholder { color: var(--ink-40); }

.optin-form .field input:focus {
  background: var(--paper);
  border-color: var(--maroon);
}

.btn--pill { border-radius: var(--r-pill); }

/* Honeypot: visually gone, still in the form for bots to fill */
.optin-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.optin-error {
  text-align: center;
  font-size: 18px;
  color: var(--red);
}

/* Notes below the form: user-requested exception to the 18px floor —
   halved to read as fine print */
.form-note {
  text-align: center;
  font-size: 9px;
  color: var(--ink);
  max-width: 48ch;
  margin-inline: auto;
}

.form-note strong { color: var(--maroon); }

.form-fineprint {
  text-align: center;
  font-size: 9px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-inline: auto;
}

/* Mobile: social traffic lands here — everything above the Typeform
   is compressed so the form crests the fold in in-app browsers. */
@media (max-width: 640px) {
  .topbar { padding-block: var(--space-2); }
  .topbar-brand { width: 156px; }
  .squeeze { padding-block: var(--space-4) var(--space-6); padding-inline: var(--space-3); }
  .sheet { padding: var(--space-4); gap: var(--space-4); }
  .plan-visual {
    margin: calc(-1 * var(--space-4)) calc(-1 * var(--space-4)) 0;
    padding: var(--space-4);
  }
  /* No headroom around the card in the small square — stickers would
     cover the card text, and their message is already in the subline */
  .plan-chip { display: none; }
  .form-title { font-size: 1.6rem; }
  .form-sub { font-size: 18px; }
}

/* ---------- 17. Utilities ---------- */
.tac { text-align: center; }
.maxw-prose { max-width: var(--max-w-prose); margin-inline: auto; }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.hidden { display: none !important; }
