/* ============================================================
   StudioHub ads funnel — the one stylesheet all three funnel pages
   (opt-in, schedule, thank-you) link.

   Everything above the "funnel-only" section at the bottom is copied
   from the website's own stylesheet,
   projects/website-studiohub-ai/pages/styles.css (copied 2026-10-29),
   so the funnel looks exactly like studiohub.ai: lavender page, white
   blocks with a 2px black border and a hard offset shadow, Roboto,
   black buttons, the black footer panel. The website's comments are
   kept with each rule because they hold Hervin's reasons.

   Left out on purpose: the onboarding progress strip, the success-
   story scroller, the legal pages and the articles — the funnel uses
   none of them.

   If the website's look changes, re-copy the same sections from that
   file rather than editing these by hand, so the two stay the same.
   ============================================================ */

:root {
  --bg:        #f5f2ff;
  --bg-light:  #f5f2ff;   /* alias — some pages use this name */
  --blue:      #4fbdff;
  --blue-ink:  #188bf6;
  --black:     #000000;
  --white:     #ffffff;
  --ink:       #111318;
  --body:      #405561;
  --grey:      #7a8b95;
  --line:      #e8e8e8;
  --radius:    25px;
  --wave:      150px;
  --shadow:    4px 4px 0 rgba(0,0,0,0.267);
  --card-shadow: 4px 4px 0 rgba(0,0,0,0.267);  /* alias */
  /* the onboarding step strip; "in progress" is --blue */
  --step-done: #11c644;
  --step-wait: #a2d7ff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--body);
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 15px; }
.wrap-narrow { max-width: 900px; }
.center { text-align: center; }
p, li, a, td { overflow-wrap: break-word; }
/* Vertical rhythm. 56px top and bottom means 112px between two
   sections — roughly double the old 30px, which Hervin read as
   crowded (2026-09-19). */
section { padding: 56px 0; }
p { margin: 0 0 20px; }
a { color: var(--blue-ink); }

/* ---- type scale (live-page sizes) ------------------------------ */

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 20px; }
h1 { font-size: 83px; font-weight: 800; line-height: 1.2; }
h2 { font-size: 48px; font-weight: 700; line-height: 1.3; }
h3 { font-size: 26px; font-weight: 700; line-height: 1.3; }
h4 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }

.eyebrow {
  color: var(--blue-ink);
  font-size: 14px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  margin: 0 0 14px;
}
.sub-lead { font-size: 20px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.lead { font-size: 20px; line-height: 1.6; }

/* ---- blocks ----------------------------------------------------- */
/* Every block looks the same: white, hard black border, rounded, and
   offset by a shadow with no blur. */

.card, .box, .note, .quote, .story-card, .video-wrap, .mini-card {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card { padding: 40px; }
.box  { padding: 34px 40px; }
.note { padding: 30px 34px; }
.box p:last-child, .box ul:last-child, .note p:last-child { margin-bottom: 0; }

/* the video block: black outline, no white frame */
.video-wrap { overflow: hidden; background: #0d1017; padding: 0; }
.video-wrap video { display: block; width: 100%; height: auto; }

/* ---- nav bar ------------------------------------------------------ */
/* Logo left, links centred, Log In + button right. On phones: white
   bar with logo + hamburger opening a dropdown. */

.nav { padding: 26px 0; }
.nav .inner {
  max-width: 1440px; margin: 0 auto; padding: 0 40px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav .logo { width: 155px; height: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; list-style: none; justify-content: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: 16px; padding: 12px 12px; display: block; }
.nav-links a:hover { color: var(--blue-ink); }
.nav-links .mobile-only { display: none; }
.nav-right { display: flex; align-items: center; gap: 20px; justify-content: flex-end; }
.nav-right .login { color: var(--blue); font-weight: 400; font-size: 16px; text-decoration: none; }
.nav .btn { font-size: 16px; padding: 14px 16px; }
.nav-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 3px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* The funnel pages — business info, the kick-off calendar, the booked page
   and /onboarding_start — carry the logo and nothing else: no menu, no Log
   In, no Schedule A Demo, and the logo is an image rather than a link home.
   Someone who has already paid is being walked through four steps, and a
   link out of that walk is a lost step rather than a convenience (Hervin,
   2026-09-19). The live GoHighLevel booked and onboarding pages already
   serve an empty menu; this drops it on all four and centres the logo the
   way he asked. The checkout pages keep the full nav — a buyer who is still
   deciding has a reason to look at pricing again. */
.nav.plain .inner { display: block; text-align: center; }
.nav.plain .logo { width: 180px; margin: 0 auto; }
@media (max-width: 900px) { .nav.plain .logo { width: 120px; } }

@media (max-width: 900px) {
  /* Below 900 the header stops being type floating on the page and becomes a
     white bar, so it needs an edge or it bleeds into whatever is under it.
     The live GoHighLevel site draws exactly this and only here: measured on
     its home, pricing, success-stories, demo-call, checkout and onboarding
     pages, the header section carries border-bottom 1px solid #E9E9E9 at
     390px and nothing at all at 1280px. Desktop keeps none, as the original
     does (Hervin, 2026-09-19: "on all the regular pages where there's a top
     navigation bar, I think there still needs to be a border at the bottom
     of the navigation").

     --line is #e8e8e8, this site's divider grey, one step off the #E9E9E9
     the original uses — the two are the same line. It was black for one
     deploy and Hervin called it too thick: 1px is already as thin as a
     border goes, so the weight he was seeing was the colour, and dropping
     to the grey is what actually makes it read thin ("you made the border
     too thick... can we make it a little bit grayish"). */
  .nav { background: var(--white); padding: 8px 0; position: relative;
         border-bottom: 1px solid var(--line); }
  .nav .inner { grid-template-columns: auto 1fr auto; padding: 0 16px; }
  .nav .logo { width: 132px; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); z-index: 50;
    flex-direction: column; gap: 0; padding: 8px 0 14px;
    box-shadow: 0 12px 20px rgba(0,0,0,0.12);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links .mobile-only { display: block; }
  .nav-links a { padding: 12px 20px; }
  .nav-right { display: none; }
  .nav-burger { display: block; justify-self: end; }
}

/* ---- buttons ----------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--black); color: var(--white);
  text-decoration: none; font-weight: 700; font-size: 20px;
  padding: 15px 28px; border-radius: 10px;
  border: 2px solid var(--black);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 rgba(0,0,0,0.267); }
.btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.btn-lg { font-size: 21px; padding: 22px 46px; border-radius: 12px; gap: 12px; }
.btn-lg svg { width: 21px; height: 21px; }
/* the nav's outline button matches the page background, not white
   (measured off the live nav, 2026-08-29) */
.btn-outline { background: var(--bg); color: var(--black); }

/* line breaks that only apply on phones */
br.m { display: none; }

/* ---- hero -------------------------------------------------------- */
/* Vertical rhythm measured off the live homepage at 1280:
   h1 → 16 → sub-lead → 60 → disciplines → 18 → button. */

.hero { text-align: center; padding: 26px 0 0; }
.hero h1 { max-width: 1020px; margin: 0 auto 16px; }
.hero .sub-lead { max-width: 940px; margin: 0 auto; }
/* live line measured 2026-09-08: Roboto 20px/600, word-spacing 4px, plain
   separators in the text colour, 410px wide at 1280 */
.hero .disciplines { font-weight: 600; color: var(--ink); font-size: 20px; word-spacing: 4px; margin: 60px 0 18px; }
.hero .disciplines span { font-weight: inherit; color: inherit; padding: 0; }
/* Only the BOTTOM margin. `margin: 0` here used to win over the `margin:
   0 auto` two lines up (it is the more specific selector and comes later),
   which killed the sub-lead's automatic side margins: its 940px box then
   sat flush left inside the 1070px wrap and the line under the headline
   read 65px left of centre on every page whose hero ends with it. Found
   2026-09-19 measuring /kick-off-call-booked after Hervin said the line
   was not centred. */
.hero p:last-child { margin-bottom: 0; }


/* ---- quote cards --------------------------------------------------- */
/* White blocks the full width of the wrap: quote text, a thin divider,
   then a round photo with the name and place. Stacked tight (18px). */

.quotes { display: grid; gap: 18px; margin: 0; padding: 0; }
.quotes.cols-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; align-items: stretch; }
/* side-by-side cards match heights, with the name row pinned to the bottom */
.quotes.cols-2 .quote { display: flex; flex-direction: column; }
.quotes.cols-2 .quote > p { flex: 1; }
.quote { padding: 19px 26px 18px; margin: 0; position: relative; z-index: 2; text-align: left; }
.quote p { font-size: 20px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; }
.band .quote p { color: var(--ink); }   /* band text is white; card text stays ink */
.quote .who-said {
  display: flex; align-items: center; gap: 20px;
  border-top: 1px solid var(--line); padding-top: 14px;
}
.quote .who-said img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex: none; }
.quote .who-said strong { display: block; color: var(--ink); font-size: 20px; }
.quote .who-said span { color: var(--body); font-size: 16px; }

/* ---- curved blue bands ------------------------------------------- */
/* The curve is an SVG wave filled with the page background, layered
   behind the content. Cards and the video CROSS the curves — a band
   is pulled up behind the cards above it (negative margin-top set
   per band in the page), and content hanging over the bottom edge
   uses .overhang. That intersection is the live page's look. */

.band {
  position: relative;
  background: var(--blue);
  padding: 0;
  margin: 0;
}
.band .wave { position: absolute; left: 0; width: 100%; overflow: hidden; line-height: 0; z-index: 1; }
.band .wave svg { position: relative; display: block; width: calc(282% + 1.3px); height: var(--wave); }
.band .wave path { fill: var(--bg); }
.band .wave-top { top: 0; }
.band .wave-bottom { bottom: 0; transform: rotate(180deg); }
.band > .wrap { position: relative; z-index: 2; }
.band h1, .band h2, .band h3 { color: var(--white); }
.band p { color: var(--white); }
.band .eyebrow { color: var(--white); }

/* a section whose cards ride down over the next band's curve */
.rides-band { position: relative; z-index: 3; }

/* content that hangs over a band's bottom edge (the video) */
.overhang { margin-bottom: -40px; position: relative; z-index: 2; }
/* video bottom → button: 50px (live measured 2026-09-08; 87 - 40 overhang + 3) */
.after-overhang { padding-top: 87px; }

/* a heading allowed to use the full 1100px, edge to edge of the wrap */
.wide-h2 { margin-left: -15px; margin-right: -15px; }
@media (max-width: 1130px) { .wide-h2 { margin-left: 0; margin-right: 0; } }

/* ---- mini cards (the numbered "3 things" rows in a band) ---------- */

.mini-cards { display: grid; gap: 18px; margin: 0; }
.mini-card { padding: 21px 25px; text-align: left; }
.mini-card p { color: var(--ink); margin: 0; font-size: 20px; line-height: 1.3; }

/* ---- the "3 things" columns (home page band 2) --------------------- */
/* Three white blocks side by side; a round numbered badge sits on each
   block's top edge. Stacks to one column on tablets and phones. */

.things { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 78px; align-items: stretch; }
.thing {
  position: relative; text-align: center;
  background: var(--white); border: 2px solid var(--black);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 50px 26px 28px;
}
.thing .num {
  position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--black); box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 800; color: var(--blue-ink);
}
.thing h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; color: var(--ink); }
.thing p { margin: 0; color: var(--body); font-size: 17px; line-height: 1.5; }
.band .thing p { color: var(--body); }
.thing p u { color: var(--ink); }
@media (max-width: 900px) { .things { grid-template-columns: 1fr; gap: 50px; margin-top: 70px; } }


/* ---- two-column feature (photo + text) ---------------------------- */
/* The photo here is plain — rounded corners, no border, no shadow
   (matches the live "Why Trust Us?" section). */

.feature { display: grid; grid-template-columns: 465px 1fr; gap: 50px; align-items: center; }
.feature .photo { width: 100%; height: auto; display: block; border-radius: 20px; }
/* text sized so the column fills the photo's height and the two sides
   balance (Hervin, 2026-09-08) */
.feature h2 { margin-bottom: 26px; }
.feature p { font-size: 18px; line-height: 1.65; margin-bottom: 18px; }
.feature .fact-line { color: var(--ink); font-weight: 700; margin: 0 0 8px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature .photo { max-width: 480px; margin: 0 auto; } }

/* ---- callout box (the "If you've ever thought:" card) -------------- */

.box { text-align: left; }
.box > p:first-child { color: var(--body); font-size: 20px; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 22px; }
.box ul { list-style: none; margin: 0; padding: 0; }
.box ul li { padding: 2px 0; color: var(--ink); font-weight: 700; font-size: 20px; line-height: 1.5; }
.box .closing { margin-top: 22px; color: var(--body); font-size: 20px; }

/* ---- speech bubbles (the "If you've ever thought:" block) -------- */
/* Three thoughts as bubbles with a tail, so they read as a studio
   owner's thoughts and not as another testimonial card (home page,
   Hervin 2026-09-08). Same block treatment as every other white block. */

.thoughts-intro { color: var(--body); margin: 0; }
.bubbles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 28px 0 46px; }
.bubble {
  position: relative;
  background: var(--white); border: 2px solid var(--black);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 24px; text-align: center;
  font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--ink);
}
/* the tail: a small curl off the bottom-left, drawn as an SVG so the
   curve is exact (Hervin preferred this over a centred point, 2026-09-10) */
.bubble::after {
  content: ""; position: absolute; left: 35px; bottom: -19px; width: 24px; height: 21px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 21'%3E%3Cpath d='M5 1C5 8 3.5 14 1 19C9 15.5 16.5 9.5 20 1' fill='%23fff' stroke='%23000' stroke-width='2' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 24px 21px;
}
.thoughts-closing { color: var(--body); max-width: 820px; margin: 0 auto; }
.thoughts-closing strong { color: var(--ink); }
@media (max-width: 900px) { .bubbles { grid-template-columns: 1fr; gap: 35px; margin-bottom: 44px; } }

/* ---- demo pop-up (the qualification form) --------------------------- */
/* Every "Schedule A Demo" button on the home page opens this instead of
   leaving the page: a dark overlay and a white block holding the GHL
   "Group Demo Request Form". The form itself routes qualified leads to
   /schedule-demo-call and the rest to /schedule-g-demo-call
   (traffic-map.md). Hidden with the [hidden] attribute. */

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(17,19,24,0.7); }
.modal .panel {
  position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 40px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--white); border: 2px solid var(--black); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 14px 14px;
}
.modal .close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: var(--white); border: 2px solid var(--black); box-shadow: var(--shadow);
  font: 700 22px/1 inherit; color: var(--ink); display: flex; align-items: center; justify-content: center;
}
.modal iframe { display: block; width: 100%; min-height: 793px; border: 0; }
body.modal-open { overflow: hidden; }
@media (max-width: 640px) {
  .modal { padding: 10px; align-items: flex-start; }
  .modal .panel { max-height: calc(100vh - 20px); border-radius: 18px; padding: 14px 6px 6px; }
}


/* ---- footer ------------------------------------------------------------ */
/* A panel, inset from the page edges, not a full-bleed shape. */

footer.site {
  background: var(--black);
  color: rgba(255,255,255,0.72);
  border-radius: 15px;
  margin: 40px 20px 20px;
  padding: 66px 24px 28px;
  text-align: center;
  font-size: 16px;
}
footer.site .logo { width: 330px; max-width: 76%; height: auto; display: block; margin: 0 auto 30px; }
footer.site p { margin: 0 auto 14px; max-width: 600px; }
footer.site a { color: rgba(255,255,255,0.9); }
footer.site .contacts { display: flex; justify-content: center; gap: 34px; flex-wrap: wrap; margin: 40px 0 62px; }
footer.site .contacts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
footer.site .contacts svg { width: 16px; height: 16px; fill: var(--blue-ink); flex: none; }
footer.site .foot-row {
  display: flex; justify-content: space-between; gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.25);
  margin: 0 145px; padding: 26px 0 10px; font-size: 16px;
}
@media (max-width: 900px) { footer.site .foot-row { margin: 0 12px; } }

/* ---- phones -------------------------------------------------------------- */
/* Live-page mobile scale (measured at 390): h1 32, h2 32, body/quote 16. */

@media (max-width: 640px) {
  body { font-size: 16px; }
  /* 7.7vw keeps 'Enroll More Students With' on one line from 360px up,
     so the headline reads wide → narrow instead of jagged (Hervin, 2026-09-09) */
  h1 { font-size: min(30px, 7.7vw); }
  h2 { font-size: 32px; }
  h3 { font-size: 22px; }
  :root { --wave: 100px; }
  section { padding: 40px 0; }
  .hero { padding: 44px 0 0; }   /* more air under the nav (Hervin, 2026-09-09) */
  br.m { display: inline; }
  .hero h1 { margin-bottom: 12px; }
  .sub-lead { font-size: 16px; line-height: 1.25; }
  /* the flow pages keep the live page's 32px phone headline; the line under
     it comes down from 23px, which is heavier than a phone can carry */
  .hero.flow h1 { font-size: 32px; }
  .hero.flow .sub-lead { font-size: 18px; line-height: 1.4; }
  /* No page colour between the header and the strip on a phone. The header
     is already a white full-width bar here (.nav at 900px) and the strip
     below it is a white full-width band, so with nothing between them the
     two meet and read as one bar with the progress inside it — which is
     what Hervin asked for (2026-09-19: "there is a white section, there is
     a middle kind of pink background section, and then the white section
     starts with the progress strip... eliminate the pink section in the
     middle... so that it is just white, almost looking like a navigation
     bar"). Desktop keeps its 56px: there the strip is four separate cards
     on the page colour, not a bar, so it needs the air. */
  .hero.flow { padding-top: 0; }
  /* the four cards go away entirely and the dial takes over (see the note
     on .flow-mobile) */
  .flow-steps { display: none; }
  /* The dial sits on a WHITE band that runs the full width of the screen,
     edge to edge, against the page's lavender. That band is the live
     GoHighLevel design and it is what makes the progress read as its own
     piece of furniture rather than as stray text on the page (Hervin,
     2026-09-19: "notice how in the version that was designed before, there
     was a white background on the part where you can see the progress").
     Live values, measured at 390px: background #fff, padding 10px 16px,
     full bleed, 70px dial on the left, the step right-aligned beside it.
     The -15px side margins cancel .wrap's 15px padding exactly, which is
     what takes the band to the screen edges; the 16px padding inside then
     puts the dial where the live page puts it. */
  /* A rule under the band, so the white bar closes instead of bleeding into
     the page. The line ABOVE it is the header's own border-bottom (see .nav
     in the 900px block) — the band sits flush against the header, so one
     rule serves both and they cannot double into 2px. The live GoHighLevel
     page draws the top line and nothing under the strip; Hervin asked for
     both (2026-09-19: "there's a line divider that's black between the top
     navigation and the progress strip... you also have to add it below the
     progress strip as well"). Same 1px --line grey as the header's rule, so
     the two edges of the white bar match. */
  .flow-mobile {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    margin: 0 -15px 44px; padding: 14px 16px; text-align: right;
  }
  .flow-ring {
    position: relative; flex: none; width: 70px; height: 70px; border-radius: 50%;
    background: conic-gradient(var(--blue) 0 var(--fill, 0%), var(--step-wait) var(--fill, 0%) 100%);
  }
  /* white, not the page colour: the disc sits on the white band now, so it
     disappears into it and leaves the ring, which is the live design */
  .flow-ring::after {
    content: attr(data-count);
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--white); color: var(--blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 500;
  }
  .flow-mobile small { display: block; font-size: 16px; line-height: 1.7; color: var(--body); }
  .flow-mobile strong { display: block; font-size: 16px; line-height: 1.7; color: var(--black); }
  .flow-mobile .done { color: var(--step-done); }
  .flow-mobile .now { color: var(--blue); }
  .hero .disciplines { font-size: 16px; margin: 26px 0 16px; }
  .btn { font-size: 17px; padding: 14px 22px; }
  .nav .btn { font-size: 15px; }
  .card { padding: 26px; }
  .box, .note { padding: 24px; }
  .box > p:first-child, .box ul li, .box .closing { font-size: 17px; }
  .bubble { font-size: 17px; padding: 20px 18px; }
  .quote { padding: 18px 20px 16px; }
  .quote p { font-size: 16px; }
  .quote .who-said { gap: 16px; }
  .quote .who-said img { width: 48px; height: 48px; }
  .quote .who-said strong { font-size: 18px; }
  .overhang { margin-bottom: -30px; }
  .after-overhang { padding-top: 70px; }
  .mini-card p { font-size: 16px; }
  .lead { font-size: 20px; }
  .stories-head { flex-wrap: wrap; margin-bottom: 30px; }
  .stories-head h2 { text-align: center; flex-basis: 100%; }
  .stories-nav { display: none; }
  .stories-dots { display: flex; }
  .story-card { flex-basis: 77vw; }   /* ~300px at 390 so the next card peeks in (Hervin, 2026-09-10) */
  footer.site { margin: 32px 12px 12px; padding: 44px 18px 18px; }
  footer.site .logo { width: 200px; margin-bottom: 30px; }
  footer.site .contacts { flex-direction: column-reverse; align-items: center; gap: 14px; margin: 26px 0 30px; }   /* centred on phones (Hervin, 2026-09-10) */
  footer.site .foot-row { flex-direction: column-reverse; align-items: center; gap: 8px; }
}


/* ============================================================
   Funnel-only rules (new, 2026-10-29). Everything below is used by
   the funnel pages and nowhere on the website.
   ============================================================ */

/* The opt-in page reads like a letter: one narrow column of text, so a
   line is a comfortable length to read, with the site's blocks breaking
   it up. */
.letter { max-width: 780px; margin: 0 auto; padding: 0 15px; }
.letter h2 { font-size: 40px; line-height: 1.25; }
.letter p { font-size: 20px; line-height: 1.65; color: var(--ink); }
.letter p.quiet { color: var(--body); }
.letter .cta { text-align: center; margin: 36px 0 0; }

/* Three short quote cards in a row on desktop, stacked on phones. */
.quotes.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.quotes.cols-3 .quote { display: flex; flex-direction: column; }
.quotes.cols-3 .quote > p { flex: 1; }
@media (max-width: 900px) { .quotes.cols-3 { grid-template-columns: 1fr; } }

/* The results list: each bullet is a result in bold, then who it was.
   A round blue tick instead of a dot. */
.results { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.results li {
  position: relative; padding: 18px 22px 18px 64px;
  background: var(--white); border: 2px solid var(--black);
  border-radius: 18px; box-shadow: var(--shadow);
  font-size: 19px; line-height: 1.5; color: var(--ink);
}
.results li::before {
  content: ""; position: absolute; left: 20px; top: 20px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--blue);
}
.results li::after {
  content: ""; position: absolute; left: 30px; top: 25px;
  width: 7px; height: 13px; border: solid var(--white); border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}
.results strong { display: block; }
.results span { display: block; color: var(--body); font-size: 16px; }

/* A 16:9 frame for a Loom or other iframe video, inside .video-wrap. */
.ratio { position: relative; padding-top: 56.25%; overflow: hidden; background: #0d1017; }
.ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* The white block around a GoHighLevel calendar, same as the website's
   booking pages (they set it inline; here it has a name). */
.cal-card {
  background: var(--white); border: 1px solid var(--black); border-radius: 16px;
  box-shadow: var(--card-shadow); padding: 10px;
}
.cal-card iframe { width: 100%; border: none; overflow: hidden; min-height: 700px; display: block; }

/* The "pick a time" block under the schedule page's video, shown until
   the visitor has answered the questions in the pop-up. */
.pick-time { text-align: center; padding: 40px 30px; }
.pick-time h2 { font-size: 36px; margin-bottom: 12px; }
.pick-time p { color: var(--body); }

/* Simple bulleted list in the site's type, for "Who is this call for?"
   and "What we'll cover". */
.ticks { list-style: none; margin: 0 0 8px; padding: 0; }
.ticks li { position: relative; padding: 0 0 12px 34px; font-size: 20px; line-height: 1.5; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 6px; top: 6px;
  width: 7px; height: 13px; border: solid var(--blue-ink); border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .letter h2 { font-size: 28px; }
  .letter p { font-size: 17px; }
  .results li { font-size: 17px; padding: 16px 16px 16px 56px; }
  .results li::before { left: 16px; top: 18px; width: 26px; height: 26px; }
  .results li::after { left: 25px; top: 23px; }
  .pick-time { padding: 28px 18px; }
  .pick-time h2 { font-size: 26px; }
  .ticks li { font-size: 17px; }
}

/* On the schedule page, once a calendar is showing (the visitor has
   answered the pop-up's questions), the blocks that only make sense
   before that — the second Schedule A Demo button — step aside.
   funnel.js adds the class. */
.has-calendar [data-before-calendar] { display: none !important; }

/* Exactly two quote cards per row on desktop (the website's .cols-2
   fits as many 320px columns as the width allows, which left four cards
   as three plus one). */
.quotes.two { grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: stretch; }
.quotes.two .quote { display: flex; flex-direction: column; }
.quotes.two .quote > p { flex: 1; }
@media (max-width: 900px) { .quotes.two { grid-template-columns: 1fr; } }

/* Phone headline sizes that make each line shorter than the one above
   (wide to narrow, Hervin's rule for headlines). Picked by measuring the
   line widths at 390px, the same way the website's home page sizes its
   own headings (.wide-h2, .vsl-h2 in pages/index.html). */
@media (max-width: 640px) {
  .fh28, .hero.flow .fh28 { font-size: min(28px, 7.15vw); }
  .fh25, .hero.flow .fh25 { font-size: min(25px, 6.4vw); }
}

/* The funnel's own qualifying form on the schedule page (form.js).
   Inputs follow the live GoHighLevel form's look: white, 1px black
   border, 10px corners, 15px 20px padding, Roboto 14px+ (read from the
   form's own styles, 2026-10-30), sized up to the page's type. */
.qform { max-width: 516px; margin: 28px auto 0; text-align: left; }
.qf { display: block; margin: 0 0 18px; font-size: 16px; font-weight: 500; color: var(--ink); }
.qf input, .qf select {
  display: block; width: 100%; margin-top: 6px; box-sizing: border-box;
  font: 400 16px/1.3 'Roboto', sans-serif; color: var(--ink);
  background: var(--white); border: 1px solid var(--black); border-radius: 10px;
  padding: 15px 20px;
}
.qf select { appearance: auto; }
.qf[hidden] { display: none; }
.qf-error { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: #c62828; }
.qf-error[hidden] { display: none; }
.qf-submit { width: 100%; justify-content: center; margin: 6px 0 16px; cursor: pointer; font-family: inherit; }
.qf-submit[disabled] { opacity: .6; cursor: wait; }
.qf-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink); }
.qf-terms input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.qf-terms a { color: var(--blue-ink); text-decoration: none; }
.qf-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- thank-you page: client videos and FAQ (added 2026-10-30) ---------
   Used only by thank-you.html. Spacing is generous on purpose: Hervin
   reads design on negative space, and "crowded" has meant roughly double
   the gap (lessons.md I5). Sections here sit 96px apart on top of the
   usual 56px. */

.stories-section, .faq-section { padding-top: 120px; }
.stories-section h2, .faq-section h2 { margin-bottom: 64px; }

/* Six client cards, two per row on desktop, one per row on phones. Each
   is the site's white block: picture, the doubt it answers, the quote,
   who said it, and the result. */
.tcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 44px; }
.tcard {
  margin: 0; display: flex; flex-direction: column;
  background: var(--white); border: 2px solid var(--black);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 16px 8px;
}
.tframe {
  position: relative; display: block; width: 100%; padding: 56.25% 0 0; margin: 0;
  border: 0; border-radius: 14px; overflow: hidden; background: #0d1017; cursor: pointer;
}
.tframe img, .tframe iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover;
}
.tframe:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.tframe .play {
  position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px;
  border-radius: 50%; background: rgba(0,0,0,0.72); border: 2px solid var(--white);
  transition: transform .15s ease, background .15s ease;
}
.tframe .play::after {
  content: ""; position: absolute; left: 27px; top: 19px;
  border-style: solid; border-width: 15px 0 15px 24px;
  border-color: transparent transparent transparent var(--white);
}
.tframe:hover .play { transform: scale(1.06); background: rgba(0,0,0,0.85); }
.tframe .dur {
  position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,0.78); color: var(--white);
  font-size: 13px; font-weight: 700; line-height: 1.4; padding: 3px 9px; border-radius: 6px;
}
.tcard figcaption { padding: 28px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.tlabel {
  align-self: flex-start; margin: 0 0 18px; padding: 4px 12px; border-radius: 999px;
  background: var(--bg); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.5;
}
.tcard blockquote { margin: 0 0 22px; flex: 1; }
.tcard blockquote p { margin: 0; font-size: 19px; line-height: 1.6; color: var(--ink); }
.twho { margin: 0 0 6px; font-size: 16px; line-height: 1.5; }
.twho strong { display: block; color: var(--ink); font-size: 18px; }
.twho span { color: var(--body); }
.tresult { margin: 0; font-size: 16px; font-weight: 700; color: var(--blue-ink); }

/* The FAQ: one white block, questions in bold, a light line between
   them (a light grey, not black: a dark 1px line reads as thick,
   lessons.md I6). */
.faq {
  background: var(--white); border: 2px solid var(--black);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 20px 56px;
}
.faq-item { padding: 44px 0; border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; }
.faq-item h3 { font-size: 24px; line-height: 1.35; margin: 0 0 18px; }
.faq-wrap { max-width: 900px; }
.faq-item p { font-size: 18px; line-height: 1.65; color: var(--body); margin: 0 0 14px; max-width: 680px; }
.faq-item p:last-child { margin-bottom: 0; }

.close-section { padding: 120px 0 80px; }
.close-line { font-size: 22px; font-weight: 500; color: var(--ink); margin: 0 0 36px; }

@media (max-width: 900px) {
  .tcards { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
  .stories-section, .faq-section { padding-top: 80px; }
  .stories-section h2, .faq-section h2 { margin-bottom: 40px; font-size: 28px; }
  .tcard { padding: 12px 12px 6px; }
  .tcard figcaption { padding: 22px 10px 18px; }
  .tcard blockquote p { font-size: 17px; }
  .faq { padding: 8px 22px; }
  .faq-item { padding: 34px 0; }
  .faq-item h3 { font-size: 20px; }
  .faq-item p { font-size: 17px; }
  .close-section { padding: 80px 0 56px; }
  .close-line { font-size: 19px; }
  .close-section .btn { font-size: 17px; padding: 14px 20px; }
}
