/* ===================================================================
   sections.css — "How it works" steps + CTA band + footer
   Owns: .section, .sec-head, .steps, .step, .cta-band, .cta-card, footer
   =================================================================== */

/* ---------------- HOW IT WORKS (heading; builder lives in css/builder.css) ---------------- */
.section{max-width:var(--maxw);margin:0 auto;padding:clamp(72px,10vw,120px) 24px}
.sec-head{text-align:center;max-width:660px;margin:0 auto 24px}
.sec-head .eyebrow{display:block;margin-bottom:16px}
.sec-head h2{font-family:var(--disp);font-weight:600;font-size:clamp(28px,4vw,44px);letter-spacing:-0.02em;line-height:1.08;margin-bottom:14px}
.sec-head p{color:var(--muted);font-size:17px;line-height:1.55}

/* ---- responsive ----
   EXPERIMENT: "How it works" is trying to fit in one screen (see
   css/builder.css's one-step-at-a-time restructure) — the generous
   clamp(...,120px) top/bottom padding alone is worth ~200px+ on short
   viewports, more than the whole restructured workflow panel saves. Mirrors
   hero.css's own @media(max-height:800px) precedent: trims only on short
   viewports, taller desktops keep the current breathing room. Only one
   .section exists on the page (the #how section), so this is scoped to it
   directly rather than affecting a shared class blindly. */
@media(max-height:900px){
  #how.section{padding:56px 24px}
}
/* ---- phone tier ----
   The max-height trim above only fires on short viewports; a tall portrait
   phone kept the clamp() floor (72px). Normalize the vertical rhythm on phones
   and pull the CTA band's off-scale 90px bottom margin onto the 8px scale. */
@media(max-width:600px){
  #how.section{padding:48px 16px}
  .sec-head{margin-bottom:20px}
  .sec-head .eyebrow{margin-bottom:10px}
  .sec-head h2{margin-bottom:0;font-size:34px}
  .cta-band{margin-bottom:48px;padding:0 16px}
  .cta-card{padding:40px 4px 24px}
  .cta-card h2{font-size:34px}
  .cta-card p{max-width:320px;margin-bottom:20px;font-size:15px;line-height:1.5}
  .cal-card{margin-top:20px}
  footer{padding:32px 20px}
  .foot-inner{justify-content:center;text-align:center}
  .foot-inner .copy{width:100%;font-size:10.5px}
}

/* ---------------- CTA / FOOTER ---------------- */
.cta-band{max-width:var(--maxw);margin:0 auto 90px;padding:0 24px}
.cta-card{
  position:relative;
  padding:clamp(40px,7vw,74px) 24px;text-align:center;
}
.cta-card h2{font-family:var(--disp);font-weight:600;font-size:clamp(28px,4.4vw,46px);letter-spacing:-0.02em;line-height:1.05;margin-bottom:16px}
.cta-card p{color:var(--muted);font-size:17px;max-width:520px;margin:0 auto 30px}
footer{padding:40px 24px;background:var(--bg)}
.foot-inner{max-width:var(--maxw);margin:0 auto;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px}
.foot-inner .brand{font-size:16px}
.foot-inner .copy{font-family:var(--mono);font-size:12px;color:var(--faint)}

/* inline Cal.com booking embed inside the CTA band (#book) — no box; the calendar
   sits directly on the page bg (cal-bg is set to --bg in index.html cssVarsPerTheme) */
.cal-card{position:relative;margin:30px auto 0;width:min(920px,100%);min-height:520px}
.cal-card #cal-inline{width:100%;min-height:520px;overflow:auto}
