/* css/gen6-leadflow.css (2026-10-15, experience-v9 spec A + B)
   The intent-first lead flow (js/gen6-leadflow.js) and its sheets: phone bottom sheet at 90% height with a pinned
   action bar, desktop right side-sheet, tablet centered dialog. House system: Cormorant Garamond display, Manrope UI,
   ink/channel/sky/paper/mist palette, pill buttons. Motion explains state only (step direction, sheet in, success)
   and is removed under prefers-reduced-motion. Enqueued media="screen" (outside the perf bundle signature). */

.g6lf {
  --lf-ink: #095e93; --lf-ink2: #0d2f52; --lf-ch: #2b80bb; --lf-sky: #60c3ef; --lf-paper: #FAFBFC; --lf-mist: #EEF3F7;
  --lf-line: #dbe8f2; --lf-steel: #51647a; --lf-act: #1d5a87; --lf-err: #b42318;
  --lf-ease: var(--m-ease, cubic-bezier(.2,.8,.2,1)); --lf-spring: var(--m-spring, cubic-bezier(.32,1.28,.54,1));
  --lf-ui: var(--g6-ui, Manrope, system-ui, sans-serif); --lf-display: var(--g6-display, "Cormorant Garamond", Georgia, serif);
  container: g6lf / inline-size;
  position: relative; color: var(--lf-ink); font-family: var(--lf-ui); text-align: left;
}
/* The legacy two-step chrome stays in the DOM for the no-JS path and is hidden once the flow runs. */
.g6lf-on > .form-step-1, .g6lf-on > .form-step-2, .g6lf-on > .m-progress, .g6lf-on .m-change-wrap,
.g6lf-card .m-goal, .g6lf-park, .g6lf [hidden] { display: none !important; }
.g6lf-card { overflow: visible; }
.g6lf-card > form[hidden], .g6lf-card > form.g6lf-on[hidden] { display: none !important; }
.m-sheet.g6lf-sheet.g6lf-sheet-done .m-sheet-head { position: static; }
.g6lf-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* ---------- top: intent pill, progress, count ---------- */
.g6lf-top { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; min-height: 36px; }
.g6lf-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px 0 8px; border-radius: 999px; border: 1px solid var(--lf-line); background: #fff; color: var(--lf-ink); font: 700 13px/1 var(--lf-ui); cursor: pointer; white-space: nowrap; transition: border-color .16s var(--lf-ease), background .16s var(--lf-ease); }
.g6lf-pill:hover { border-color: #b8d6e9; background: #f5f9fc; }
.g6lf-pill svg, .g6lf-pill-i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g6lf-pill-i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--lf-mist); color: var(--lf-act); }
.g6lf-pill-c { display: inline-flex; align-items: center; gap: 3px; margin-left: 2px; color: var(--lf-act); font-weight: 600; }
.g6lf-pill-c svg { width: 13px; height: 13px; }
.g6lf-prog { flex: 1 1 auto; display: flex; gap: 4px; height: 4px; }
.g6lf-prog i { flex: 1 1 0; height: 100%; border-radius: 4px; background: rgba(9,94,147,.09); overflow: hidden; }
.g6lf-prog b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--lf-act), var(--lf-ch)); transform: scaleX(0); transform-origin: left center; transition: transform .42s var(--lf-ease); }
.g6lf-count { font: 600 12px/1 var(--lf-ui); color: var(--lf-steel); white-space: nowrap; font-variant-numeric: tabular-nums; }
.g6lf-resume { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: -6px 0 12px; font: 500 13px/1.4 var(--lf-ui); color: var(--lf-steel); }
.g6lf-restart { background: none; border: 0; padding: 0 2px; color: var(--lf-ch); font: 700 13px/1.4 var(--lf-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- screens + questions ---------- */
.g6lf-stage { position: relative; overflow-x: clip; overflow-clip-margin: 8px; }
.g6lf-stage.is-sizing { transition: height .28s var(--lf-ease); overflow: hidden; }
.g6lf-screen.is-in { animation: g6lf-in .3s var(--lf-ease) both; }
.g6lf-screen.is-in.from-back { animation-name: g6lf-in-back; }
.g6lf-screen.is-pair .g6lf-qb + .g6lf-qb { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--lf-line); }
.g6lf-qb { margin: 0; padding: 0; border: 0; min-width: 0; }
.gen6 .g6lf .g6lf-h:focus, .gen6 .g6lf .g6lf-h:focus-visible { outline: none !important; }
.g6lf .g6lf-h { margin: 0 0 6px; font: 500 clamp(24px, 2.1vw + 12px, 30px)/1.12 var(--lf-display); letter-spacing: -.005em; color: var(--lf-ink); text-wrap: balance; outline: none; }
.g6lf .g6lf-help { margin: 0 0 4px; font: 500 14.5px/1.5 var(--lf-ui); color: var(--lf-steel); max-width: 52ch; }
.g6lf-part + .g6lf-part { margin-top: 4px; }
.g6lf .g6lf-plabel { margin: 16px 0 0; font: 700 12px/1.2 var(--lf-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--lf-steel); }
.g6lf .g6lf-err { margin: 8px 0 0; font: 600 13.5px/1.4 var(--lf-ui); color: var(--lf-err); }
.g6lf .g6lf-err:empty { display: none; }

/* intent tiles */
.g6lf-intents { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
@container g6lf (min-width: 540px) { .g6lf-intents { grid-template-columns: repeat(3, 1fr); } }
.g6lf-int { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 108px; padding: 14px 14px 13px; border-radius: 18px; background: #fff; border: 1.5px solid var(--lf-line); cursor: pointer; transition: border-color .16s var(--lf-ease), box-shadow .2s var(--lf-ease), transform .16s var(--lf-ease), background .2s var(--lf-ease); }
.g6lf-int input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.g6lf-int-i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--lf-mist); color: var(--lf-act); transition: background .2s var(--lf-ease), color .2s var(--lf-ease); }
.g6lf-int-i svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.g6lf-int-t b { display: block; font: 700 15.5px/1.2 var(--lf-ui); color: var(--lf-ink); }
.g6lf-int-t small { display: block; margin-top: 3px; font: 500 12.5px/1.35 var(--lf-ui) !important; color: var(--lf-steel); }
.g6lf-int:has(input:checked) { border-color: var(--lf-ink); background: linear-gradient(180deg, #fff, #f2f7fb); box-shadow: inset 0 0 0 1px var(--lf-ink), 0 10px 26px rgba(9,94,147,.12); }
.g6lf-int:has(input:checked) .g6lf-int-i { background: var(--lf-ink); color: #fff; }
.g6lf-int:has(input:focus-visible) { outline: 3px solid var(--lf-ch); outline-offset: 3px; }
@media (hover: hover) { .g6lf-int:hover { border-color: #b8d6e9; box-shadow: 0 8px 22px rgba(9,94,147,.08); transform: translateY(-1px); } }
.g6lf-screen.is-in .g6lf-int { animation: g6lf-rise .34s var(--lf-ease) both; animation-delay: calc(var(--i, 0) * 40ms); }

/* chips */
.g6lf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.g6lf-chips.is-stack { display: grid; grid-template-columns: 1fr; }
@container g6lf (min-width: 320px) { .g6lf-chips.is-stack { grid-template-columns: 1fr 1fr; } .g6lf-chips.is-stack .g6lf-chip { padding: 8px 12px 8px 14px; line-height: 1.2; } }
.g6lf-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(9,94,147,.14); background: #fff; color: var(--lf-ink); font: 600 14.5px/1.25 var(--lf-ui); cursor: pointer; user-select: none; transition: background .16s var(--lf-ease), border-color .16s var(--lf-ease), color .16s var(--lf-ease), transform .12s var(--lf-ease); }
.g6lf-chips.is-stack .g6lf-chip { justify-content: space-between; min-height: 52px; border-radius: 14px; padding: 0 16px; }
.g6lf-chips.is-compact .g6lf-chip { min-width: 54px; justify-content: center; padding: 0 12px; font-variant-numeric: tabular-nums; }
.g6lf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.g6lf-chip i { display: inline-grid; place-items: center; flex: 0 0 16px; width: 16px; height: 16px; margin-right: -4px; visibility: hidden; }
.g6lf-chip i svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.g6lf-chip:has(input:checked) { background: var(--lf-ink); border-color: var(--lf-ink); color: #fff; animation: g6lf-pop .22s var(--lf-spring); }
.g6lf-chip:has(input:checked) i { visibility: visible; color: var(--lf-sky); }
.g6lf-chips.is-compact .g6lf-chip i { position: absolute; top: 3px; right: 6px; width: 12px; height: 12px; margin: 0; }
.g6lf-chips.is-compact .g6lf-chip i svg { width: 12px; height: 12px; }
.g6lf-chip:has(input:focus-visible) { outline: 3px solid var(--lf-ch); outline-offset: 2px; }
@media (hover: hover) { .g6lf-chip:hover { border-color: rgba(9,94,147,.32); } .g6lf-chip:has(input:checked):hover { border-color: var(--lf-ink); } }

/* text fields (the form's own .form-group nodes are moved in; these only normalize spacing) */
.g6lf .g6lf-field { margin-top: 12px; position: relative; }
.g6lf .form-group { margin: 0 0 14px; }
.g6lf .form-label { display: block; margin: 0 0 6px; font: 700 13.5px/1.3 var(--lf-ui); color: var(--lf-ink); text-transform: none; letter-spacing: 0; }
.g6lf .form-input, .g6lf .form-textarea, .g6lf .g6lf-field input[type="text"] { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(9,94,147,.16); background: #fff; color: var(--lf-ink); font: 500 16px/1.35 var(--lf-ui); box-sizing: border-box; transition: border-color .16s var(--lf-ease), box-shadow .16s var(--lf-ease); }
.g6lf .form-textarea { min-height: 96px; resize: vertical; }
.g6lf .form-input:focus, .g6lf .form-textarea:focus { border-color: var(--lf-ch); box-shadow: 0 0 0 4px rgba(43,128,187,.14); outline: none; }
.g6lf [aria-invalid="true"] { border-color: var(--lf-err) !important; }
.g6lf-grid { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@container g6lf (min-width: 430px) { .g6lf-grid { grid-template-columns: 1fr 1fr; } }
.g6lf .g6lf-phone-note, .g6lf .g6lf-hint { margin: 6px 0 0; font: 500 12.5px/1.45 var(--lf-ui); color: var(--lf-steel); }
.g6lf .g6lf-hint { color: var(--lf-act); }
.g6lf .form-consent { display: flex; gap: 10px; align-items: flex-start; font: 500 12.5px/1.5 var(--lf-ui); color: var(--lf-steel); }
.g6lf .form-consent input { flex: 0 0 22px; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--lf-ink); }
.g6lf .form-consent a { color: var(--lf-act); }

/* address typeahead */
.g6lf-suggest { position: absolute; left: 0; right: 0; z-index: 6; margin: -8px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--lf-line); border-radius: 14px; box-shadow: 0 18px 40px rgba(9,94,147,.16); max-height: 280px; overflow: auto; }
.g6lf-suggest li { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; font: 600 14.5px/1.3 var(--lf-ui); color: var(--lf-ink); cursor: pointer; }
.g6lf-suggest li[aria-selected="true"], .g6lf-suggest li:hover { background: var(--lf-mist); }

/* contact screen summary */
.g6lf-sum { margin: 10px 0 16px; border-radius: 14px; background: var(--lf-mist); border: 1px solid var(--lf-line); }
.g6lf-sum > summary { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px; cursor: pointer; list-style: none; font: 700 13.5px/1.2 var(--lf-ui); color: var(--lf-ink); }
.g6lf-sum > summary::-webkit-details-marker { display: none; }
.g6lf-sum-n { font-weight: 500; color: var(--lf-steel); }
.g6lf-sum-more { margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--lf-ch); border-bottom: 2px solid var(--lf-ch); transform: rotate(45deg) translateY(-2px); transition: transform .2s var(--lf-ease); }
.g6lf-sum[open] .g6lf-sum-more { transform: rotate(-135deg) translateY(-2px); }
.g6lf-sum > summary:focus-visible { outline: 3px solid var(--lf-ch); outline-offset: 2px; border-radius: 14px; }
.g6lf-sum .g6lf-sum-l { padding: 0 14px; }
.g6lf-sum-edit { min-height: 40px; margin: 4px 10px 6px; padding: 0 4px; background: none; border: 0; color: var(--lf-ch); font: 700 13px/1 var(--lf-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.g6lf-sum-l { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.g6lf-sum-l li { display: inline-flex; align-items: baseline; gap: 6px; max-width: 100%; padding: 7px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--lf-line); font: 700 13px/1.3 var(--lf-ui); color: var(--lf-ink); }
.g6lf-sum-l li span { font-weight: 500; color: var(--lf-steel); }
.g6lf-sum-l li b { font-weight: 700; overflow-wrap: anywhere; }
.g6lf .g6l-payoff { margin: 0 0 16px; }

/* nav */
.g6lf-nav { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.g6lf .g6lf-back, .g6lf .g6lf-next, .g6lf .g6lf-send { min-height: 50px; border-radius: 999px; font: 700 15px/1 var(--lf-ui); cursor: pointer; transition: background .16s var(--lf-ease), box-shadow .2s var(--lf-ease), transform .12s var(--lf-ease); }
.g6lf .g6lf-back { padding: 0 20px; border: 1.5px solid rgba(9,94,147,.16); background: #fff; color: var(--lf-ink); }
.g6lf .g6lf-next, .g6lf .g6lf-send { margin-left: auto; padding: 0 28px; border: 0; background: var(--lf-act); color: #fff; box-shadow: 0 8px 20px rgba(29,90,135,.26), inset 0 1px 0 rgba(255,255,255,.18); }
.g6lf .g6lf-send { flex: 1 1 auto; width: auto !important; max-width: none; justify-content: center; }
.g6lf.is-first .g6lf-next { flex: 1 1 auto; }
.g6lf .g6lf-skip { padding: 0 6px; background: none; border: 0; color: var(--lf-ch); font: 600 14px/1 var(--lf-ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (hover: hover) { .g6lf .g6lf-next:hover, .g6lf .g6lf-send:hover { background: #174f7d; box-shadow: 0 12px 26px rgba(29,90,135,.3); } .g6lf .g6lf-back:hover { border-color: rgba(9,94,147,.32); } }

/* ---------- success moment ---------- */
.gen6 .g6lf-done, .g6lf-done { text-align: center; padding: 6px 0 4px; animation: g6lf-rise .44s var(--lf-spring, cubic-bezier(.32,1.28,.54,1)) both; color: #095e93; container: g6lfdone / inline-size; }
.g6lf-done:focus, .g6lf-done:focus-visible, .gen6 .form-card .g6lf-done[tabindex]:focus-visible, .gen6 .form-card .g6lf-done[tabindex]:focus { outline: none !important; }
.gen6 .g6lf-done .g6lf-tick { width: 68px; height: 68px; display: block; margin: 0 auto 12px; }
.gen6 .g6lf-done .g6lf-tick circle { fill: rgba(96,195,239,.12); stroke: #2b80bb; stroke-width: 2.5; stroke-dasharray: 164; stroke-dashoffset: 164; animation: g6lf-draw .6s cubic-bezier(.2,.8,.2,1) .05s forwards; }
.gen6 .g6lf-done .g6lf-tick path { fill: none; stroke: #1d5a87; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: g6lf-draw .35s cubic-bezier(.2,.8,.2,1) .5s forwards; }
.gen6 .g6lf-done .g6lf-done-h { margin: 0 0 6px; font: 500 30px/1.1 var(--g6-display, "Cormorant Garamond", Georgia, serif); color: #095e93; }
.gen6 .g6lf-done .g6lf-done-m { margin: 0 auto; max-width: 42ch; font: 500 15px/1.5 var(--g6-ui, Manrope, sans-serif); color: #51647a; }
.g6lf-heard { margin: 18px 0 0; padding: 14px 16px 10px; border-radius: 18px; background: #fff; border: 1px solid #dbe8f2; text-align: left; box-shadow: 0 10px 30px rgba(9,94,147,.06); }
.gen6 .g6lf-heard .g6lf-heard-h { margin: 0 0 6px; font: 700 12px/1 var(--g6-ui, Manrope, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: #51647a; }
.g6lf-heard ul { margin: 0; padding: 0; list-style: none; }
.g6lf-heard li { display: grid; grid-template-columns: minmax(92px, 34%) 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid #eef3f7; font: 500 14px/1.4 var(--g6-ui, Manrope, sans-serif); animation: g6lf-rise .3s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(240ms + var(--i, 0) * 40ms); }
.g6lf-heard li:first-child { border-top: 0; }
.g6lf-heard li span { color: #51647a; }
.g6lf-heard li b { color: #095e93; font-weight: 700; overflow-wrap: anywhere; }
.gen6 .g6lf-done .g6lf-who { margin: 14px 0 0; max-width: none; text-align: left; font: 500 14.5px/1.5 var(--g6-ui, Manrope, sans-serif); color: #0d2f52; }
.g6lf-next-acts { display: grid; gap: 10px; margin-top: 18px; }
@container g6lfdone (min-width: 480px) { .g6lf-next-acts { grid-template-columns: 1fr 1fr; } .g6lf-next-acts .g6lf-homes { grid-column: 1 / -1; } }
.g6lf-next-acts a { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 20px; border-radius: 999px; font: 700 15.5px/1.2 var(--g6-ui, Manrope, sans-serif); text-decoration: none; }
.gen6 .g6lf-next-acts a svg, .g6lf-next-acts svg { width: 20px !important; height: 20px !important; max-width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.g6lf-next-acts .g6lf-book { background: #1d5a87; color: #fff; box-shadow: 0 10px 24px rgba(29,90,135,.28); }
.g6lf-next-acts .g6lf-call { background: #fff; color: #095e93; box-shadow: inset 0 0 0 1.5px rgba(9,94,147,.16); }
.g6lf-next-acts .g6lf-homes { min-height: 48px; color: #1d5a87; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) { .g6lf-next-acts .g6lf-book:hover { background: #174f7d; } .g6lf-next-acts .g6lf-call:hover { box-shadow: inset 0 0 0 1.5px rgba(9,94,147,.4); } }
.g6lf-is-done > .form-title, .g6lf-is-done > .form-subtitle { display: none; }

/* ---------- inline cards: persistent action footer ---------- */
.form-card:not(.m-sheet .form-card) .g6lf-nav { position: sticky; bottom: 0; z-index: 3; margin: 18px -12px 0; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(180deg, rgba(255,255,255,0), #fff 14px); }
/* A scroll container (overflow:hidden) above the card would pin the footer to the card instead of the screen;
   overflow:clip clips identically without creating one (landing heroes, .g6l-hero). Request filed for that owner. */
:is(.g6l-hero, .g6-contact-band, .g6-booking, .g6-area-close):has(.g6lf) { overflow: clip; }
body.m-bar-show .form-card:not(.m-sheet .form-card) .g6lf-nav { bottom: calc(var(--m-bar-h, 64px) + env(safe-area-inset-bottom, 0px)); }

/* ---------- the talk sheet with the flow ---------- */
.m-sheet.g6lf-sheet .m-sheet-form { min-height: 0; }
.m-sheet.g6lf-sheet .g6lf-nav { position: sticky; bottom: calc(-24px - var(--m-safe-b, 0px)); z-index: 4; margin: 18px -20px calc(-24px - var(--m-safe-b, 0px)); padding: 12px 20px calc(14px + max(var(--m-safe-b, 0px), 8px)); background: rgba(250,251,252,.96); backdrop-filter: saturate(1.4) blur(8px); box-shadow: 0 -1px 0 #dbe8f2; }
.m-sheet.g6lf-sheet.g6lf-sheet-done .m-sheet-quick, .m-sheet.g6lf-sheet.g6lf-sheet-done .m-sheet-or, .m-sheet.g6lf-sheet.g6lf-sheet-done .m-sheet-head p { display: none; }
@media (max-width: 760px) {
  /* One snap point at 90% of the screen: steps never resize the sheet, the action bar stays under the thumb. */
  .gen6 .m-sheet.g6lf-sheet .m-sheet-panel, .m-sheet.g6lf-sheet .m-sheet-panel { height: min(90dvh, 900px); max-height: min(90dvh, 900px); display: flex; flex-direction: column; }
  .m-sheet.g6lf-sheet .m-sheet-form { flex: 1 0 auto; display: flex; flex-direction: column; }
  .m-sheet.g6lf-sheet .m-sheet-form .form-card, .m-sheet.g6lf-sheet .m-sheet-form form, .m-sheet.g6lf-sheet .g6lf { flex: 1 0 auto; display: flex; flex-direction: column; }
  .m-sheet.g6lf-sheet .g6lf-stage { flex: 1 0 auto; }
  .m-sheet.g6lf-sheet .m-sheet-head h2 { font-size: 26px; }
  .m-sheet.g6lf-sheet .m-sheet-logo, .m-sheet.g6lf-sheet .m-sheet-head p.m-sheet-lede { display: none; }
  .m-sheet.g6lf-sheet .m-sheet-quick a { min-height: 46px; }
  .m-sheet.g6lf-sheet .m-sheet-or { display: none; }
  .m-sheet.g6lf-sheet .m-sheet-quick { margin: 10px 0 16px; }
  .m-sheet.g6lf-sheet .g6lf-pill-c span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .m-sheet.g6lf-sheet .g6lf-prog { min-width: 64px; }
  .m-sheet.g6lf-sheet .g6lf-top { margin-bottom: 12px; }
  .m-sheet.g6lf-sheet .g6lf-intents { gap: 8px; margin-top: 12px; }
  .m-sheet.g6lf-sheet .g6lf-int { min-height: 0; padding: 11px 12px; gap: 8px; border-radius: 16px; }
  .m-sheet.g6lf-sheet .g6lf-int-i { width: 34px; height: 34px; border-radius: 10px; }
  .m-sheet.g6lf-sheet .g6lf-int-i svg { width: 20px; height: 20px; }
  .m-sheet.g6lf-sheet .m-sheet-quick { margin: 12px 0 14px; }
  .m-sheet.g6lf-sheet .m-sheet-grab { width: 48px; height: 5px; margin: 0 auto 10px; cursor: grab; }
  .m-sheet.g6lf-sheet .m-sheet-grab::before { content: ""; display: block; height: 28px; margin-top: -12px; }
}
@media (min-width: 761px) {
  .m-sheet.g6lf-sheet .g6lf-nav { bottom: -30px; margin: 20px -32px -30px; padding: 14px 32px 18px; }
  .gen6 .m-sheet.g6lf-sheet .m-sheet-panel, .m-sheet.g6lf-sheet .m-sheet-panel { width: min(620px, calc(100vw - 48px)); max-height: min(90dvh, 900px); }
}
@media (min-width: 1024px) {
  /* Desktop: a right-hand side sheet for the longer flow (spec B), full height, page visible beside it. */
  .gen6 .m-sheet.g6lf-sheet .m-sheet-panel, .m-sheet.g6lf-sheet .m-sheet-panel {
    left: auto; right: 0; top: 0; bottom: 0; width: min(560px, 100vw); height: 100dvh; max-height: none;
    border-radius: 26px 0 0 26px; padding: 26px 36px 30px; transform: translateX(40px); opacity: 0;
    transition: transform .34s var(--m-ease, cubic-bezier(.2,.8,.2,1)), opacity .24s var(--m-ease, cubic-bezier(.2,.8,.2,1));
    box-shadow: -30px 0 90px rgba(10,22,38,.28);
  }
  .gen6 .m-sheet.g6lf-sheet.is-in .m-sheet-panel, .m-sheet.g6lf-sheet.is-in .m-sheet-panel { transform: none; opacity: 1; }
  .m-sheet.g6lf-sheet .g6lf-nav { bottom: -30px; margin: 22px -36px -30px; padding: 14px 36px 22px; }
  .m-sheet.g6lf-sheet .m-sheet-head { top: -26px; margin-top: -26px; padding-top: 30px; }
}
@media (max-width: 760px) {
  .m-sheet.g6lf-sheet .m-sheet-head { top: -10px; margin-top: -10px; padding-top: 12px; }
  .m-sheet.g6lf-sheet.m-in-form .m-sheet-head h2 { font-size: 21px; }
  .m-sheet.g6lf-sheet.m-in-form .m-sheet-head { margin-bottom: 8px; }
}

/* ---------- Astra row 11: one phone shell ----------
   js/gen6-mobile.js is the single source of truth for the thumb bar (m-bar-show = visible and interactive). While the
   chapter rail is pinned (m-rail-on), a sheet is open (m-lock) or the hero owns the booking action, the bar is moved
   off screen instead of stacking a third fixed layer; the header + rail carry the Book a call pill. */
@media (max-width: 760px) {
  body.gen6.m-bar-on:not(.m-bar-show) .m-bar, body.gen6.m-rail-on .m-bar { transform: translateY(110%) !important; pointer-events: none; }
}

/* ---------- booking details step context (js/gen6-booking.js detailsContext) ---------- */
.g6bk-ctx { display: grid; gap: 14px; margin: 4px 0 16px; }
.g6bk-ctx-row { margin: 0; padding: 0; border: 0; min-width: 0; }
.g6bk-ctx-row legend { padding: 0; margin: 0 0 8px; font: 700 13.5px/1.3 var(--g6-ui, Manrope, sans-serif); color: #095e93; }
.g6bk-ctx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.g6bk-ctx-chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 15px; border-radius: 999px; border: 1.5px solid rgba(9,94,147,.14); background: #fff; color: #095e93; font: 600 14px/1.2 var(--g6-ui, Manrope, sans-serif); cursor: pointer; transition: background .16s cubic-bezier(.2,.8,.2,1), color .16s cubic-bezier(.2,.8,.2,1); }
.g6bk-ctx-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.g6bk-ctx-chip:has(input:checked) { background: #095e93; border-color: #095e93; color: #fff; }
.g6bk-ctx-chip:has(input:focus-visible) { outline: 3px solid #2b80bb; outline-offset: 2px; }

/* ---------- Astra R2 #5: review path + compact narrow layout (phones, narrow inline cards) ---------- */
.g6lf-revbtn { flex: 0 0 auto; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--lf-line); background: #fff; color: var(--lf-act); font: 700 12.5px/1 var(--lf-ui); cursor: pointer; }
.g6lf-revbtn[aria-expanded="true"] { background: var(--lf-mist); }
.g6lf-revbtn:focus-visible { outline: 3px solid var(--lf-ch); outline-offset: 2px; }
.g6lf-rev { margin: -4px 0 14px; padding: 8px; border-radius: 14px; background: var(--lf-mist); border: 1px solid var(--lf-line); max-height: 52vh; overflow: auto; overscroll-behavior: contain; }
.g6lf .g6lf-rev-h { margin: 2px 6px 6px; font: 600 12.5px/1.4 var(--lf-ui); color: var(--lf-steel); }
.g6lf-rev-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.g6lf-rev-l button { display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: 12px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; font: 500 13px/1.35 var(--lf-ui); color: var(--lf-steel); }
.g6lf-rev-l button b { flex: 0 1 55%; color: var(--lf-ink); font-weight: 700; text-align: right; overflow-wrap: anywhere; }
.g6lf-rev-l button:focus-visible { outline: 3px solid var(--lf-ch); outline-offset: 1px; }
@container g6lf (max-width: 459px) {
  /* First screen: no empty progress rail before an intent exists; the tiles become compact rows of two. */
  .g6lf.is-first .g6lf-top { display: none; }
  .g6lf .g6lf-intent .g6lf-help { margin-bottom: 0; }
  .g6lf-intents { gap: 8px; margin-top: 12px; }
  .g6lf-int, .m-sheet.g6lf-sheet .g6lf-int { flex-direction: row; align-items: center; gap: 9px; min-height: 62px; padding: 9px 10px; border-radius: 14px; }
  .g6lf-int-i, .m-sheet.g6lf-sheet .g6lf-int-i { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 9px; }
  .g6lf-int-i svg, .m-sheet.g6lf-sheet .g6lf-int-i svg { width: 18px; height: 18px; }
  .g6lf-int-t b { font-size: 14.5px; }
  .g6lf-int-t small { margin-top: 1px; font-size: 11.5px !important; line-height: 1.3 !important; }
  /* Smaller step header. */
  .g6lf-top { gap: 8px; margin-bottom: 12px; }
  .g6lf .g6lf-h { font-size: 23px; margin-bottom: 4px; }
  .g6lf .g6lf-help { font-size: 13.5px; line-height: 1.45; }
  .g6lf .g6lf-plabel { margin-top: 12px; }
  .g6lf-screen.is-pair .g6lf-qb + .g6lf-qb { margin-top: 18px; padding-top: 16px; }
  /* Choices: two columns wherever the labels are short, so a whole question sits above the footer. */
  .g6lf-chips { margin-top: 10px; }
  .g6lf-chips.is-areas, .g6lf-chips.is-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .g6lf-chips.is-areas .g6lf-chip, .g6lf-chips.is-grid .g6lf-chip { min-width: 0; min-height: 46px; border-radius: 14px; padding: 5px 10px 5px 13px; justify-content: space-between; font-size: 14px; line-height: 1.2; }
  .g6lf .g6lf-skip { white-space: nowrap; }
}
/* Sheet quick actions (Astra R2 #10): Book a call is the filled primary everywhere, Call the quiet secondary. */
.m-sheet .m-sheet-quick a.m-q-book { background: var(--lf-act, #1d5a87); color: #fff; border-color: var(--lf-act, #1d5a87); box-shadow: 0 8px 18px rgba(29,90,135,.22); }
.m-sheet .m-sheet-quick a.m-q-book svg { color: #fff; }
.m-sheet .m-sheet-quick a.m-q-call { background: #fff; color: #095e93; }
@media (max-width: 760px) {
  .m-sheet.g6lf-sheet:not(.m-in-form) .m-sheet-head h2 { font-size: 24px; }
  .m-sheet.g6lf-sheet .m-sheet-quick { margin: 8px 0 12px; gap: 8px; }
  .m-sheet.g6lf-sheet .m-sheet-quick a { min-height: 44px; font-size: 14px; }
}

/* Astra R2 #10: "Talk to us" at the right end of a pinned chapter rail (phones; the thumb bar steps aside there). */
.g6-rail-talk { display: none; }
@media (max-width: 760px) {
  .g6-jumpbar-inner > .g6-jumpbar-list, .g6-subnav-inner > .g6-subnav-links { flex: 1 1 auto; min-width: 0; }
  .gen6 .g6-rail-talk { display: inline-flex; flex: 0 0 auto; align-self: center; align-items: center; min-height: 40px; margin: 0 0 0 4px; padding: 0 14px; border-radius: 999px; border: 1.5px solid rgba(9,94,147,.2); background: #fff; color: #095e93; font: 700 13.5px/1 var(--g6-ui, Manrope, system-ui, sans-serif); white-space: nowrap; cursor: pointer; box-shadow: -18px 0 14px -8px rgba(250,251,252,.96); }
  .gen6 .g6-rail-talk:focus-visible { outline: 3px solid #2b80bb; outline-offset: 2px; }
}

@keyframes g6lf-in { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes g6lf-in-back { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes g6lf-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes g6lf-pop { 0% { transform: scale(.96); } 100% { transform: scale(1); } }
@keyframes g6lf-draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .g6lf *, .g6lf-done, .g6lf-done *, .g6bk-ctx-chip, .m-sheet.g6lf-sheet .m-sheet-panel { animation: none !important; transition: none !important; }
  .gen6 .g6lf-done .g6lf-tick circle, .gen6 .g6lf-done .g6lf-tick path { stroke-dashoffset: 0 !important; }
  .m-sheet.g6lf-sheet.is-in .m-sheet-panel { opacity: 1; }
}
@media print { .g6lf-nav, .g6lf-top { display: none !important; } }
