/* =========================================================
   Confirmed — /heat-pump-rebate/ (mobile-only Meta LP)
   Self-contained: brand tokens copied from the design
   system (colors_and_type.css) so this folder deploys to
   Hostinger standalone. Design width 390px; desktop shows
   the same column centered on a dark neutral backdrop.
   ========================================================= */

:root {
  --brand-green: #84B63A;
  --brand-green-600: #6FA02E;
  --brand-green-700: #5B8623;
  --brand-green-300: #A8CE6B;
  --brand-green-100: #EAF3D8;
  --brand-green-50: #F5F9EC;

  --ink-900: #14181F;
  --ink-800: #1A1F2A;
  --ink-700: #242B38;
  --ink-600: #364152;
  --ink-500: #5A6677;
  --ink-400: #8693A6;
  --ink-300: #C1C9D4;
  --ink-200: #E2E6EC;
  --ink-100: #F1F3F6;
  --ink-50:  #F8F9FB;
  --paper:   #FFFFFF;

  --fg-1: var(--ink-900);
  --fg-2: var(--ink-600);
  --fg-3: var(--ink-500);
  --fg-4: var(--ink-400);

  --danger: #C0392B;
  --gold: #F5B301;

  --border: var(--ink-200);
  --border-strong: var(--ink-300);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 6px rgba(20, 24, 31, 0.08);
  --shadow-md: 0 8px 22px rgba(20, 24, 31, 0.10);
  --shadow-brand: 0 10px 24px rgba(132, 182, 58, 0.35);

  --ease-out: cubic-bezier(0.16, 0.84, 0.44, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --col-max: 430px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body); font-size: 16px; line-height: 1.55; color: var(--fg-2);
  background: var(--ink-900); /* dark neutral backdrop on desktop */
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul { margin: 0; }
button, input { font: inherit; }
button, a, input, [role="button"] { touch-action: manipulation; }
a { color: var(--brand-green-700); text-decoration: none; }
a:hover { color: var(--brand-green-600); text-decoration: underline; }

/* The single mobile column */
.shell { max-width: var(--col-max); margin: 0 auto; background: var(--paper); min-height: 100vh; box-shadow: 0 0 60px rgba(0,0,0,0.5); }

/* ---- header (no site navigation — logo is not a link) ---- */
.hdr { background: var(--ink-800); }
.hdr__inner { max-width: var(--col-max); margin: 0 auto; display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 10px 18px; }
.hdr__inner img { height: 56px; width: auto; }
.hdr__call { margin-left: auto; white-space: nowrap; flex-shrink: 0; }
.hdr__call { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #fff; min-height: 44px; padding: 0 6px; }
.hdr__call:hover { color: var(--brand-green-300); text-decoration: none; }
.hdr__call svg { color: var(--brand-green); }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.02em;
  border: 0; cursor: pointer; padding: 15px 22px; min-height: 52px; border-radius: var(--radius-sm);
  transition: all var(--dur-base) var(--ease-out); text-decoration: none; text-align: center;
}
.btn:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; }
.btn--primary { background: var(--brand-green); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-green-600); box-shadow: var(--shadow-brand); color: #fff; text-decoration: none; }
.btn--primary:active { transform: translateY(1px); box-shadow: none; }
.btn--primary:disabled { background: var(--ink-300); box-shadow: none; cursor: default; }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.28); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; color: #fff; text-decoration: none; }
.btn--block { width: 100%; }
.hdr__cta { display: none; min-height: 44px; padding: 10px 20px; font-size: 14px; }

.eyebrow {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-green-700);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--brand-green); flex: 0 0 auto; }
.eyebrow--light { color: var(--brand-green-300); }

/* ---- hero (type-led, no image: text LCP < 2.5s by design) ----
   Two-beat headline: the avatar question shows big first, then
   settles into a small lead-in as the payoff line takes over. */
.hero { background: var(--ink-800); color: #fff; padding: 30px 22px 36px; }
.hero__head { position: relative; margin-top: 16px; }
.hero__ask { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.01em; }
.hero__ask--big { position: absolute; top: 0; left: 0; right: 0; font-weight: 800; font-size: 30px; line-height: 1.18; letter-spacing: -0.02em; color: #fff; opacity: 0; pointer-events: none; text-wrap: balance; }
.hero__ask--small { font-size: 16px; line-height: 1.35; color: var(--brand-green-300); }
.hero__pay { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.14; letter-spacing: -0.02em; color: #fff; margin: 10px 0 0; text-wrap: balance; }
.hero__pay em { font-style: normal; color: var(--brand-green-300); }
.nowrap { white-space: nowrap; }
.hero__img { display: flex; justify-content: center; margin-top: 24px; }
.hero__img img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35); }
.hero__sub { margin-top: 14px; font-size: 15.5px; line-height: 1.6; color: #C8D0DC; text-wrap: pretty; }
.hero__cta { margin-top: 22px; }

/* inline contact card (step 1 lives in the hero) */
.hero__card { margin-top: 22px; background: var(--paper); border-radius: var(--radius-lg); padding: 20px 18px 18px; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35); }
.hero__card-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 13.5px; color: var(--fg-1); }
.hero__card-title svg { color: var(--brand-green); flex: 0 0 auto; }
.hero__card .fld { margin-top: 14px; }
.hero__card .btn { margin-top: 20px; }

/* marker-highlight sweeps on the fuel words in beat one */
.hero__ask--big .hl {
  padding: 1px 7px; margin: 0 -3px; border-radius: 5px;
  background-image: linear-gradient(100deg, var(--brand-green), var(--brand-green-600));
  background-repeat: no-repeat; background-size: 0% 100%; background-position: left center;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow { animation: fadeUp 500ms var(--ease-out) both; }
  .hero__pay { animation: fadeUp 650ms var(--ease-out) 80ms both; }
  .hero__sub { animation: fadeUp 600ms var(--ease-out) 180ms both; }
  .hero__img { animation: fadeUp 700ms var(--ease-out) 280ms both; }
  .hero__card { animation: fadeUp 700ms var(--ease-out) 200ms both; }
}
@keyframes heroAskBig {
  0% { opacity: 0; transform: translateY(10px); }
  9% { opacity: 1; transform: none; }
  80% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes hlSweep {
  0% { background-size: 0% 100%; color: #fff; }
  40% { color: var(--ink-900); }
  100% { background-size: 100% 100%; color: var(--ink-900); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.dagger { color: inherit; text-decoration: none; font-size: 0.72em; vertical-align: super; }
.dagger:hover { color: var(--brand-green-300); text-decoration: none; }

/* ---- trust checks ---- */
.checks { background: var(--ink-800); border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 22px 24px; }
.checks ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #C8D0DC; line-height: 1.45; }
.checks li svg { flex: 0 0 auto; color: var(--brand-green); margin-top: 1px; }
.checks li b { color: #fff; font-weight: 600; }
.checks__stars { display: inline-flex; gap: 2px; color: var(--gold); vertical-align: -2px; margin-right: 2px; }

/* ---- sections ---- */
.sec { padding: 36px 22px; }
.sec + .sec { border-top: 1px solid var(--border); }
.sec h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.2; letter-spacing: -0.02em; color: var(--fg-1); margin-top: 12px; text-wrap: balance; }
.sec h2::after, .cta-band h2::after { content: ""; display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--brand-green); margin-top: 12px; }
.landlord h2::after { background: var(--brand-green); }
.sec .lede { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--fg-2); }
.sec--soft { background: var(--ink-50); }

/* ---- rebate table cards ---- */
.rt { display: grid; gap: 12px; margin-top: 20px; }
.rt__card { border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 18px; background: var(--paper); }
.rt__card--hot { border-color: var(--brand-green); background: var(--brand-green-50); position: relative; }
.rt__badge { position: absolute; top: -11px; left: 14px; background: var(--brand-green); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); }
.rt__fuel { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--fg-1); line-height: 1.35; }
.rt__rows { margin-top: 12px; display: grid; gap: 8px; }
.rt__row { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; font-size: 13.5px; color: var(--fg-3); }
.rt__row b { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--fg-1); text-align: right; }
.rt__card--hot .rt__row b { color: var(--brand-green-700); }
.rt__card--dim { background: var(--ink-50); }
.rt__card--dim .rt__fuel { font-size: 13px; color: var(--fg-3); }
.rt__card--dim .rt__row { font-size: 12.5px; }
.rt__card--dim .rt__row b { font-size: 13px; color: var(--fg-2); }
.rt__note { margin-top: 10px; font-size: 12px; color: var(--fg-4); }
.rt__desc { margin-top: 6px; font-size: 13px; color: var(--fg-3); line-height: 1.5; }

/* light checklist (service overview) */
.plist { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 12px; }
.plist li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--fg-2); line-height: 1.5; }
.plist li svg { color: var(--brand-green); flex: 0 0 auto; margin-top: 2px; }
.plist li b { color: var(--fg-1); font-weight: 600; }

.legal-note { font-size: 12px; color: var(--fg-4); line-height: 1.6; }
.sec .legal-note { margin-top: 16px; }

/* ---- per-ton calculator ---- */
.tons { margin-top: 18px; }
.tons__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tons__btn {
  min-height: 52px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--paper); cursor: pointer; font-family: var(--font-display); font-weight: 700;
  font-size: 14px; color: var(--fg-2); transition: all var(--dur-fast) var(--ease-out);
}
.tons__btn:hover { border-color: var(--brand-green); }
.tons__btn.is-on { border-color: var(--brand-green); background: var(--brand-green-100); color: var(--brand-green-700); }
.tons__out { margin-top: 14px; background: var(--ink-50); border-radius: var(--radius-md); padding: 14px 16px; font-size: 14px; color: var(--fg-3); }
.tons__out b { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--fg-1); display: block; margin-bottom: 2px; }
.tons__close { margin-top: 12px; font-size: 13.5px; color: var(--fg-3); }

/* ---- landlord block ---- */
.landlord { background: var(--ink-800); color: #C8D0DC; }
.landlord h2 { color: #fff; }
.landlord .lede { color: #C8D0DC; font-size: 15px; }
.landlord .lede b { color: #fff; font-weight: 600; }

/* ---- accordions ---- */
.acc { border-bottom: 1px solid var(--border); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border: 0; cursor: pointer; text-align: left; padding: 18px 0; min-height: 56px; font-family: var(--font-display); font-weight: 700; font-size: 15.5px; color: var(--fg-1); }
.acc__q:hover { color: var(--brand-green-700); }
.acc__chev { color: var(--fg-3); transition: transform var(--dur-base) var(--ease-out); flex: 0 0 auto; }
.acc.is-open .acc__chev { transform: rotate(180deg); color: var(--brand-green); }
.acc__a { overflow: hidden; max-height: 0; transition: max-height 320ms var(--ease-out); }
.acc.is-open .acc__a { max-height: 640px; }
.acc__a-inner { padding: 0 0 20px; font-size: 14.5px; line-height: 1.65; color: var(--fg-3); display: grid; gap: 10px; }
.acc__a-inner b { color: var(--fg-1); font-weight: 600; }
.acc__a-inner ul { padding-left: 18px; display: grid; gap: 8px; }
.acc__src { font-size: 12px; color: var(--fg-4); }

/* ---- process strip ---- */
.proc { display: grid; gap: 14px; margin-top: 20px; }
.proc__step { display: flex; gap: 14px; align-items: flex-start; }
.proc__num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--brand-green); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.proc__step p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); padding-top: 5px; }
.proc__step p b { color: var(--fg-1); font-weight: 600; }

/* ---- final CTA band ---- */
.cta-band { background: var(--ink-800); color: #fff; padding: 38px 22px; text-align: left; }
.cta-band h2 { font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.2; color: #fff; letter-spacing: -0.02em; }
.cta-band .btn { margin-top: 18px; }
.cta-band__urgency { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: #C8D0DC; }

/* ---- footer ---- */
.ftr { background: var(--ink-900); color: #9aa6b6; padding: 34px 22px 90px; font-size: 13px; line-height: 1.65; }
.ftr img { height: 64px; width: auto; margin-bottom: 14px; }
.ftr__contact { margin-top: 6px; display: grid; gap: 4px; }
.ftr__contact a { color: #B7C0CE; font-weight: 600; }
.ftr__contact a:hover { color: var(--brand-green-300); }
.ftr .legal-note { color: #7e8a9a; margin-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; }
.ftr__copy { margin-top: 14px; font-size: 12px; color: #5f6b7c; }

/* ---- scroll reveal (quiet, functional) ---- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .reveal.is-in { opacity: 1; transform: none; }
  .tons__out b.is-tick { animation: fadeUp 260ms var(--ease-out); }
}

/* ---- sticky bottom CTA (solid — no blur) ---- */
.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  transform: translateY(110%); transition: transform 260ms var(--ease-out);
}
.sticky.is-in { transform: none; }
.sticky__inner { max-width: var(--col-max); margin: 0 auto; background: var(--ink-900); border-top: 1px solid rgba(255,255,255,0.12); padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); display: flex; gap: 10px; }
.sticky__inner .btn--primary { flex: 1 1 auto; }
.sticky__call { flex: 0 0 auto; width: 52px; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid rgba(255,255,255,0.28); border-radius: var(--radius-sm); color: #fff; }
.sticky__call:hover { border-color: var(--brand-green); color: var(--brand-green-300); text-decoration: none; }

/* =========================================================
   FUNNEL OVERLAY — one question per screen
   Solid backgrounds only (no backdrop-filter), body scroll
   locked underneath, overscroll contained.
   ========================================================= */
body.funnel-open { overflow: hidden; }
body.funnel-open .sticky { display: none; }

.funnel { position: fixed; inset: 0; z-index: 100; background: var(--ink-900); overscroll-behavior: contain; }
.funnel[hidden] { display: none; }
.funnel__col { max-width: var(--col-max); margin: 0 auto; background: var(--paper); height: 100%; display: flex; flex-direction: column; }

.funnel__top { flex: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--border); background: var(--paper); }
.funnel__nav { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: var(--fg-3); display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); }
.funnel__nav:hover { background: var(--ink-100); color: var(--fg-1); }
.funnel__nav[disabled] { opacity: 0; pointer-events: none; }
.funnel__track { flex: 1 1 auto; height: 6px; border-radius: var(--radius-pill); background: var(--ink-100); overflow: hidden; }
.funnel__fill { height: 100%; width: 0%; background: var(--brand-green); border-radius: var(--radius-pill); transition: width 300ms var(--ease-out); }

.funnel__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 26px 22px 40px; }

.fs { display: none; }
.fs.is-on { display: block; animation: fs-in 240ms var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .fs.is-on { animation: none; } }
@keyframes fs-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.fs__kicker { font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-green-700); }
.fs h2 { font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; color: var(--fg-1); margin-top: 8px; text-wrap: balance; }
.fs__hint { margin-top: 8px; font-size: 14px; color: var(--fg-3); line-height: 1.55; }

/* fields */
.fld { margin-top: 16px; }
.fld label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-1); margin-bottom: 6px; }
.fld input {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 16px; color: var(--fg-1);
  border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); background: var(--paper);
  transition: border-color var(--dur-fast) var(--ease-out);
}
.fld input:focus { outline: none; border-color: var(--brand-green); box-shadow: 0 0 0 3px var(--brand-green-100); }
.fld input::placeholder { color: var(--ink-400); }
.fld.is-bad input { border-color: var(--danger); }
.fld__err { display: none; margin-top: 5px; font-size: 12.5px; color: var(--danger); }
.fld.is-bad .fld__err { display: block; }
.fld__row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.fs form .btn { margin-top: 22px; }
.fs__privacy { margin-top: 12px; font-size: 12px; color: var(--fg-4); line-height: 1.55; }

/* option cards */
.opts { display: grid; gap: 10px; margin-top: 18px; }
.opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  min-height: 58px; padding: 15px 16px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--paper); cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg-1);
  transition: all var(--dur-fast) var(--ease-out);
}
.opt:hover { border-color: var(--brand-green); }
.opt:focus-visible { outline: 2px solid var(--brand-green); outline-offset: 2px; }
.opt.is-on { border-color: var(--brand-green); background: var(--brand-green-50); }
.opt small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 12.5px; color: var(--fg-3); margin-top: 2px; }
.opt__dot { flex: 0 0 auto; width: 22px; height: 22px; border-radius: var(--radius-pill); border: 2px solid var(--ink-300); }
.opt.is-on .opt__dot { border-color: var(--brand-green); background: var(--brand-green); box-shadow: inset 0 0 0 4px #fff; }

.fs__skip { margin-top: 14px; background: none; border: 0; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg-3); text-decoration: underline; min-height: 44px; width: 100%; }
.fs__skip:hover { color: var(--fg-1); }

/* result screens */
.res__badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; padding: 7px 12px; border-radius: var(--radius-pill); }
.res__badge--ok { background: var(--brand-green-100); color: var(--brand-green-700); }
.res__badge--call { background: var(--ink-100); color: var(--fg-3); }
.res h2 { margin-top: 14px; }
.res__tier { font-family: var(--font-display); font-weight: 800; font-size: clamp(19px, 6.1vw, 24px); line-height: 1.2; letter-spacing: -0.02em; color: var(--brand-green-700); margin-top: 8px; }
.res__tier sup { font-size: 0.5em; }
.res__big { margin-top: 16px; background: var(--ink-800); border-radius: var(--radius-lg); padding: 20px; color: #C8D0DC; }
.res__big .num { font-family: var(--font-display); font-weight: 800; font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; color: var(--brand-green-300); display: block; }
.res__big p { font-size: 13.5px; line-height: 1.55; margin-top: 8px; }
.res__msg { margin-top: 14px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.res__msg b { color: var(--fg-1); font-weight: 600; }
.res .tons__row { grid-template-columns: repeat(4, 1fr); }
.res .legal-note { margin-top: 18px; }

/* booking */
.book { margin-top: 24px; border-top: 1px solid var(--border); padding-top: 22px; }
.book h3 { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--fg-1); }
.book__sub { margin-top: 6px; font-size: 13.5px; color: var(--fg-3); line-height: 1.55; }
/* quick picks — 4 curated day+window cards */
.book__quick { display: grid; gap: 10px; margin-top: 16px; }
.qslot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  min-height: 56px; padding: 14px 16px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md);
  background: var(--paper); cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--fg-1);
  transition: all var(--dur-fast) var(--ease-out);
}
.qslot:hover { border-color: var(--brand-green); }
.qslot.is-on { border-color: var(--brand-green); background: var(--brand-green-50); box-shadow: 0 0 0 3px var(--brand-green-100); }
.qslot__time { font-weight: 800; font-size: 14px; color: var(--brand-green-700); white-space: nowrap; }

.book__more { width: 100%; min-height: 48px; margin-top: 10px; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--brand-green-700); }
.book__more:hover { color: var(--brand-green-600); }
.book__more svg { transition: transform var(--dur-base) var(--ease-out); }
.book__more.is-open svg { transform: rotate(180deg); }

/* calendar popup — framed sheet on a solid dark scrim */
.calmodal { position: fixed; inset: 0; z-index: 120; background: var(--ink-900); overscroll-behavior: contain; display: flex; align-items: center; justify-content: center; padding: 16px; }
.calmodal[hidden] { display: none; }
.calmodal__col { max-width: var(--col-max); width: 100%; max-height: 100%; background: var(--paper); display: flex; flex-direction: column; border: 2px solid var(--brand-green); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55); }
.calmodal__top { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 22px; border-bottom: 1px solid var(--border); }
.calmodal__title { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--fg-1); }
.calmodal__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 20px 22px 22px; }
.calmodal .cal { margin-top: 0; border: 0; box-shadow: none; padding: 0; }
.calmodal__hint { margin-top: 14px; font-size: 13px; color: var(--fg-4); }
.calmodal__foot { flex: 0 0 auto; border-top: 1px solid var(--border); background: var(--paper); padding: 12px 22px calc(14px + env(safe-area-inset-bottom)); }
.calmodal__foot .book__picked { margin-top: 0; margin-bottom: 10px; }

/* month calendar */
.cal { margin-top: 8px; border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 14px; background: var(--paper); box-shadow: var(--shadow-sm); }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cal__title { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--fg-1); }
.cal__nav { width: 40px; height: 40px; border: 1.5px solid var(--border); border-radius: var(--radius-md); background: var(--paper); cursor: pointer; color: var(--fg-2); display: inline-flex; align-items: center; justify-content: center; transition: all var(--dur-fast) var(--ease-out); }
.cal__nav:hover { border-color: var(--brand-green); color: var(--brand-green-700); }
.cal__nav:disabled { opacity: 0.35; pointer-events: none; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 12px; }
.cal__dow { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-4); padding: 2px 0 4px; }
.cal__day { aspect-ratio: 1; border: 1px solid transparent; border-radius: var(--radius-md); background: transparent; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--ink-300); display: flex; align-items: center; justify-content: center; padding: 0; }
.cal__day.is-avail { background: var(--brand-green-50); color: var(--brand-green-700); border-color: var(--brand-green-100); cursor: pointer; transition: all var(--dur-fast) var(--ease-out); }
.cal__day.is-avail:hover { background: var(--brand-green-100); }
.cal__day.is-on { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.cal__slots { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.cal__slots-title { font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--fg-1); }

.book__picked { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--brand-green-700); }
.book__picked[hidden] { display: none; }

.book__slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.slot {
  min-height: 50px; border: 1.5px solid var(--border-strong); border-radius: var(--radius-md); background: var(--paper);
  cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 13.5px; color: var(--fg-1);
  transition: all var(--dur-fast) var(--ease-out);
}
.slot:hover { border-color: var(--brand-green); }
.slot.is-on { border-color: var(--brand-green); background: var(--brand-green-100); color: var(--brand-green-700); }
.book .btn { margin-top: 16px; }
.book__err { margin-top: 12px; font-size: 14px; color: var(--danger); line-height: 1.55; }
.book__err a { font-weight: 700; }

/* confirmation */
.done { text-align: center; padding-top: 8px; }
.done__ic { width: 64px; height: 64px; border-radius: var(--radius-pill); background: var(--brand-green-100); color: var(--brand-green-700); display: flex; align-items: center; justify-content: center; margin: 10px auto 0; }
.done h2 { margin-top: 16px; }
.done__when { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--brand-green-700); }
.done p { margin-top: 12px; font-size: 14.5px; color: var(--fg-3); line-height: 1.6; text-align: center; }
.done .btn { margin-top: 20px; }

@media (max-width: 470px) {
  .shell, .funnel__col, .sticky__inner, .hdr__inner { max-width: 100%; }
  body { background: var(--paper); }
}

/* =========================================================
   DESKTOP — the mobile column grows into a full layout.
   Section backgrounds stay full-bleed; content sits in a
   1120px measure. Funnel + calendar become centered dialogs.
   ========================================================= */
@media (min-width: 900px) {
  .shell { max-width: none; box-shadow: none; }

  .hdr__inner { max-width: 1120px; padding: 12px 40px; }
  .hdr__cta { display: inline-flex; }

  .hero, .checks, .sec, .cta-band, .ftr {
    padding-left: max(40px, calc((100% - 1120px) / 2));
    padding-right: max(40px, calc((100% - 1120px) / 2));
  }

  /* hero: headline left, form card right */
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 72px; align-items: center; padding-top: 48px; padding-bottom: 56px; }
  .hero__head { margin-top: 24px; }
  .hero__sub { font-size: 17.5px; max-width: 54ch; margin-top: 16px; }
  .hero__card { margin-top: 0; padding: 24px 22px 22px; }
  .hero__img { display: flex; justify-content: center; margin-top: 30px; }
  .hero__img img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 26px 44px rgba(0, 0, 0, 0.45); }
  .hero__ask--big { font-size: 42px; }
  .hero__ask--small { font-size: 19px; }
  .hero__pay { font-size: 42px; margin-top: 12px; }

  .checks { padding-top: 20px; padding-bottom: 26px; }
  .checks ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .checks li { font-size: 13.5px; }

  .sec { padding-top: 68px; padding-bottom: 68px; }
  .sec h2 { font-size: 32px; max-width: 26ch; }
  .sec .lede { font-size: 16.5px; max-width: 62ch; }
  .sec .legal-note { max-width: 900px; }

  .rt { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; margin-top: 26px; }
  .rt__card { padding: 22px 20px; }

  .tons, .tons__close { max-width: 580px; }

  .landlord .btn, .cta-band .btn { width: auto; padding-left: 38px; padding-right: 38px; }

  .acc { max-width: 760px; }

  .proc { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 28px; }
  .proc__step { flex-direction: column; gap: 12px; }
  .proc__step p { padding-top: 0; }

  .cta-band { text-align: center; padding-top: 76px; padding-bottom: 80px; }
  .cta-band h2 { font-size: 34px; }
  .cta-band h2::after { margin-left: auto; margin-right: auto; }
  .cta-band__urgency { max-width: 60ch; margin-left: auto; margin-right: auto; }

  .ftr { padding-top: 44px; padding-bottom: 44px; }

  .sticky { display: none; }

  /* funnel overlay → centered dialog on the dark scrim */
  .funnel { display: flex; align-items: center; justify-content: center; padding: 28px; }
  .funnel[hidden] { display: none; }
  .funnel__col { height: auto; max-height: 100%; max-width: 520px; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); overflow: hidden; }
  .funnel__body { padding: 28px 32px 40px; }

  .calmodal__col { max-width: 520px; }
}
