/* The quote page and the estimate page: phone first, big readable text, Cosmo Pools' navy and aqua. No framework. */
:root {
  --navy: #0c2b4e;
  --navy-2: #0a2240;
  --aqua: #13c0d2;
  --aqua-ink: #053238;
  /* A selected answer's line and tick: the aqua, deep enough for 3:1 on white and on the tint (audit C, 4.7). */
  --aqua-deep: #0a7c89;
  --blue: #0e4e78;
  --page: #f3f8fb;
  --card: #ffffff;
  --ink: #0d1b2a;
  --ink-2: #475467;
  --muted: #5f6b78;
  --line: #dbe6ee;
  --tint: #e8f6f9;
  --bad: #b4321f;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(12, 43, 78, .06), 0 8px 28px rgba(12, 43, 78, .08);
  --head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body.lp { margin: 0; background: var(--page); color: var(--ink); font: 17px/1.5 var(--body); }
h1, h2, h3 { font-family: var(--head); line-height: 1.18; margin: 0; letter-spacing: -.01em; }
button, input { font: inherit; color: inherit; }
/* The focus ring: 3:1 or more on white, the page and the tint (audit C, 4.6), and a different colour from a selected
   answer's line, so "where I am" and "what I chose" never look the same. */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ------------------------------------------------------------ header and hero */
.lp-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.lp-logo { height: 44px; width: auto; display: block; }
.lp-demo { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: var(--tint); border-radius: 999px; padding: 4px 10px; }
/* The quote page, redesigned (Cosmo's quote page brief and its mockup, 23 Nov 2026): a white page, full width up to
   1240 px, Bricolage Grotesque headings over Inter, the mockup's greys. Scoped to .lp-q: the estimate page keeps its
   look until its own change. */
body.lp-q { --head: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; --body: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ink: #1d2b3a; --ink-2: #3d4a57; --muted: #5b6876; --line: #dfe6ec; background: #fff; }
.lp-q .lp-top { display: block; padding: 0; border-bottom-color: #e6ecf0; }
.lp-top-in { max-width: 1240px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.lp-q .lp-logo { height: 46px; }
.lp-q .lp-demo { margin-left: auto; }
/* HelloPeter's rating (reviews.mjs): one star and the number on a phone, five stars and the whole line from 768 px. */
.lp-rating { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.lp-rating:empty { display: none; }
.lp-rating b { color: var(--navy); }
.lp-rating svg { flex: none; width: 16px; height: 16px; }
.lp-rt-x { display: none; }
/* Step 1's headline: on white, the navy and the grey 4.5:1 or more (audit C, 4.8). The line over it is for desktop. */
.lp-hero { padding: 16px 16px 0; color: #0c2b4e; }
.lp-hero-in { display: grid; gap: 12px; }
.lp-hero-k { display: none; margin: 0; font-size: 15px; font-weight: 600; color: var(--aqua-deep); }
.lp-hero h1 { font-size: clamp(32px, 9.2vw, 44px); font-weight: 800; line-height: 1.04; letter-spacing: -.025em; }
.lp-sub { margin: 0; font-size: 17px; color: #3d4a57; max-width: 30em; }
/* From step 2 (audit 21b B-T3): a slim bar, under 60 px, with what is being priced; the banner is hidden from view but
   its h1 stays for screen readers; "How it works" is for step 1 only (B-S1-2). The card starts under the bar. */
.lp-toptitle { display: none; min-width: 0; font-family: var(--head); font-weight: 800; font-size: 16px; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.lp-slim .lp-top-in { padding-top: 7px; padding-bottom: 7px; }
body.lp-slim .lp-logo { height: 40px; }
body.lp-slim .lp-toptitle { display: block; }
@media (max-width: 639px) { body.lp-slim .lp-rating { display: none; } }
body.lp-slim .lp-hero { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.lp-slim .lp-how { display: none; }
/* The frame: on a phone the award-winning pool's photo, the headline, then the card (the wrappers step aside); from
   1024 px two columns, the headline and the card on the left, the photo and a review on the right. */
.lp-frame { display: flex; flex-direction: column; }
.lp-lead, .lp-side { display: contents; }
.lp-heropic { order: -1; margin: 0; }
.lp-heropic img { display: block; width: 100%; height: clamp(112px, 30vw, 300px); object-fit: cover; background: var(--tint); }
.lp-heropic figcaption { padding: 8px 16px 0; font-size: 13px; color: var(--muted); }
.lp-heropic b { color: var(--navy); font-weight: 600; }
.lp-hp-for, .lp-heroq { display: none; }
body.lp-slim .lp-heropic { display: none; }
/* Filled from the catalogue: nothing shows while it is empty (or if the price list could not load), and on a phone
   the photo's place is kept while the page loads, so the headline and the card never move down when it fills in. */
.lp-side .lp-heropic:empty, .lp-side .lp-heroq:empty { display: none; }
/* The mobile review (26 Nov 2026, point 2): below 1024 px the photo is a short strip with its caption on it, so all
   three starting choices are on the first screen of a small phone (390 × 844 and 360 × 800 px). */
@media (max-width: 1023px) {
  .lp-heropic { position: relative; }
  .lp-heropic figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 16px 7px; color: #fff;
    background: linear-gradient(rgba(12, 43, 78, 0), rgba(12, 43, 78, .85)); text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
  .lp-heropic b { color: #fff; }
  body.lp-wait:not(.lp-slim) .lp-side .lp-heropic:empty { display: block; height: clamp(112px, 30vw, 300px); }
}
.lp-heroq { margin: 0; padding: 22px 24px; background: #f4f8fa; border-radius: 18px; flex-direction: column; gap: 10px; }
.lp-heroq p { margin: 0; font-family: var(--head); font-weight: 600; font-size: 21px; line-height: 1.35; color: var(--navy); }
.lp-heroq p::before { content: '\201C'; }
.lp-heroq p::after { content: '\201D'; }
.lp-heroq footer { font-size: 14px; color: var(--muted); }

/* ------------------------------------------------------------ the question card */
.lp-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 16px 22px; max-width: 760px; margin: 0 auto 18px; }
#flow { max-width: none; margin: 20px 16px 0; padding: 18px 16px 16px; border: 1px solid var(--line); box-shadow: none; scroll-margin-top: 10px; }
/* Scrolled to on each new step: the whole card under the slim bar, so the bar stays in view. */
body.lp-slim #flow { margin-top: 12px; scroll-margin-top: 90px; }
@media (min-width: 784px) { .lp-card { padding: 26px 28px 28px; } }
/* Three named stages (audit 21b B-T4): the one the visitor is in is bold, its segment filling as they go; numbered
   on desktop (the numbers are drawn by the CSS, so the names stay the same words). */
.lp-stages { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: lp-stage; }
.lp-stage { display: grid; gap: 6px; font-size: 13px; color: var(--muted); min-width: 0; }
.lp-stage-bar { display: block; height: 4px; border-radius: 4px; background: #e6ecf0; overflow: hidden; }
.lp-stage-bar span { display: block; height: 100%; width: 0; background: var(--aqua); border-radius: 4px; transition: width .35s ease; }
.lp-stage.is-done .lp-stage-bar span { width: 100%; }
.lp-stage.is-on { color: var(--navy); font-weight: 600; }
@media (min-width: 768px) {
  .lp-q .lp-logo { height: 58px; }
  .lp-rating { gap: 10px; font-size: 15px; }
  .lp-rating svg { width: 92px; }
  .lp-rt-x { display: inline; }
  .lp-toptitle { font-size: 19px; }
  body.lp-slim .lp-logo { height: 44px; }
}
@media (min-width: 1024px) {
  /* 1240 px of content, as the mockup, with its 40 px on each side. */
  .lp-top-in { max-width: 1320px; padding: 14px clamp(20px, 4vw, 40px); gap: 16px; }
  .lp-frame { display: flex; flex-direction: row; gap: clamp(32px, 4vw, 64px); align-items: flex-start; max-width: 1320px; margin: 0 auto;
    padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 40px) clamp(40px, 5vw, 72px); }
  body.lp-slim .lp-frame { padding-top: 16px; }
  .lp-lead, .lp-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
  .lp-lead { flex: 1 1 500px; }
  .lp-side { flex: 1 1 440px; }
  .lp-hero { padding: 0; }
  .lp-hero-in { gap: 22px; }
  .lp-hero-k { display: block; min-height: 1.5em; }
  .lp-q #step h2 { font-size: 27px; }
  .lp-hero h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.03; }
  .lp-sub { font-size: 19px; }
  #flow, body.lp-slim #flow { margin: 6px 0 0; padding: clamp(20px, 2.4vw, 30px); }
  body.lp-slim #flow { margin-top: 0; }
  .lp-heropic, body.lp-slim .lp-heropic { display: grid; gap: 10px; }
  .lp-heropic img { height: auto; aspect-ratio: 720 / 454; border-radius: 18px; }
  .lp-heropic figcaption { padding: 0; font-size: 14px; }
  .lp-hp-for { display: inline; }
  .lp-heroq { display: flex; }
  body.lp-slim .lp-heroq { display: none; }
  .lp-stages { gap: 10px; margin-bottom: 20px; }
  .lp-stage { gap: 8px; font-size: 14px; }
  .lp-stage-t::before { counter-increment: lp-stage; content: counter(lp-stage) ' \00B7  '; }
  /* From step 2 (the redesign's short list board): the card wider, "Your answers so far" and the photo beside it, on
     the board's pale page. The answers' line in the card gives way to the panel. */
  body.lp-slim .lp-frame { gap: 28px; padding-top: 36px; padding-bottom: 48px; background: #f4f8fa; box-shadow: 0 0 0 100vmax #f4f8fa; clip-path: inset(0 -100vmax); }
  body.lp-slim .lp-lead { flex: 19 1 0; }
  body.lp-slim .lp-side { flex: 10 1 0; gap: 18px; }
  body.lp-slim #flow { border-color: #dfe6ec; }
  body.lp-slim #step .lp-recap { display: none; }
  body.lp-slim .lp-trustlist { margin-top: 0; border-top: 1px solid #e3e9ee; }
  .lp-answers { order: -2; display: flex; flex-direction: column; gap: 14px; padding: 22px 24px; background: #fff; border: 1px solid #dfe6ec; border-radius: 18px; }
  .lp-answers h2 { margin: 0; font-family: var(--head); font-weight: 700; font-size: 19px; color: var(--navy); }
  .lp-answers dl { margin: 0; display: flex; flex-direction: column; gap: 12px; }
  .lp-ans-r { position: relative; display: flex; flex-direction: column; padding-right: 76px; }
  .lp-ans-r + .lp-ans-r { padding-top: 12px; border-top: 1px solid #edf1f4; }
  .lp-ans-r dt { font-size: 13px; color: var(--muted); }
  .lp-ans-r dd { margin: 0; display: flex; flex-direction: column; }
  .lp-ans-v { font-weight: 600; color: var(--navy); }
  .lp-ans-s { font-size: 14px; color: var(--muted); }
  .lp-ans-r .lp-textbtn { position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 0 4px; min-height: 44px; font-size: 14px; font-weight: 600; }
  .lp-ans-r + .lp-ans-r .lp-textbtn { top: calc(50% + 6px); }
  body.lp-slim .lp-heropic { gap: 0; background: #fff; border: 1px solid #dfe6ec; border-radius: 18px; overflow: hidden; }
  body.lp-slim .lp-heropic img { aspect-ratio: 4 / 3; border-radius: 0; }
  body.lp-slim .lp-heropic figcaption { padding: 14px 18px 16px; }
}
.lp-answers:empty { display: none; }
@media (max-width: 1023px) { .lp-answers { display: none; } }
/* The answers so far, from step 2 (B-T3), with "Change". */
.lp-recap { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin: 0 0 8px; padding: 6px 12px; background: var(--tint); border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--navy); }
.lp-recap .lp-textbtn { padding: 0; min-height: 32px; font-weight: 700; }
/* Each new question fades in, so the change can be seen (B-T3); off with "reduce motion" (below). */
@keyframes lp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#step.lp-in { animation: lp-in .28s ease-out; }
#step h2 { font-size: clamp(23px, 5.6vw, 28px); font-weight: 800; color: var(--navy); outline: none; }
.lp-q #step h2 { font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.lp-help { margin: 6px 0 14px; color: var(--ink-2); }
.lp-loading { color: var(--muted); }
/* While a page loads: a light outline of what is coming (audit 21b B-S10-1), three choices or the price card. */
.lp-skel { display: grid; gap: 10px; margin-top: 14px; }
.lp-skel span { display: block; height: 84px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.lp-skel-est { margin-top: 0; }
.lp-skel-est span { border-radius: 10px; }
.lp-skel-est span:nth-child(1) { height: 34px; width: 62%; }
.lp-skel-est span:nth-child(2), .lp-skel-est span:nth-child(3) { height: 24px; width: 86%; }
.lp-skel-est span:nth-child(3) { width: 54%; }
.lp-skel-est span:nth-child(4) { height: 104px; border-radius: 14px; }
/* Until the first question is drawn, nothing sits under the card, so nothing on screen moves when it fills in. */
.lp-wait .lp-how, .lp-wait .lp-trust, .lp-wait .lp-foot { display: none; }
.lp-back { background: none; border: 0; padding: 4px 0; margin: 0 0 8px; color: var(--blue); font-weight: 700; cursor: pointer; font-size: 16px; }

.lp-grid { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 560px) { .lp-grid { grid-template-columns: 1fr 1fr; } }
.lp-choice { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 64px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .05s; }
.lp-choice:hover { border-color: var(--aqua); box-shadow: 0 4px 14px rgba(19, 192, 210, .18); }
.lp-choice:active { transform: scale(.99); }
.lp-choice-t { font-weight: 700; font-size: 18px; color: var(--navy); }
.lp-choice-s { font-size: 15px; color: var(--ink-2); }
/* Step 1's three answers (G5): Cosmo's own photos. A phone: a thumbnail beside the words; from 640 px the photo on
   top, three side by side. A chosen one keeps the line and the tick, its line drawn outside the photo. */
.lp-grid.lp-types { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.lp-type { flex-direction: row; align-items: center; gap: 14px; padding: 8px; border-width: 1px; }
.lp-type-img { flex: none; display: block; width: 88px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--tint); }
.lp-type-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-type .lp-choice-t { font-size: 17px; }
.lp-type .lp-choice-s { font-size: 14px; line-height: 1.35; color: var(--muted); }
.lp-choice.lp-type.is-on { box-shadow: 0 0 0 1px var(--aqua-deep); }
@media (min-width: 640px) {
  .lp-grid.lp-types { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .lp-type { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0; overflow: hidden; }
  .lp-type-img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .lp-type-txt { padding: 12px 14px 14px; gap: 3px; }
  .lp-type .lp-choice-s { line-height: 1.4; }
}

.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.lp-sizefig { display: block; width: 100%; max-width: 340px; height: auto; margin: 4px 0 6px; color: var(--ink); }
.lp-sizefig .w { fill: var(--tint); stroke: var(--aqua-deep); stroke-width: 1.5; }
.lp-sizefig .d { fill: none; stroke: currentColor; stroke-width: 1.2; }
.lp-sizefig text { font: 600 11px var(--body); fill: currentColor; }
.lp-notsure { margin: 6px 0 4px; }
.lp-notsure .lp-fine { margin-top: 2px; }
.lp-chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 600; cursor: pointer; min-height: 40px; }
.lp-chip:hover { border-color: var(--aqua); background: var(--tint); }

/* shells */
.lp-shells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
@media (min-width: 620px) { .lp-shells { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-shell { position: relative; display: flex; flex-direction: column; text-align: left; gap: 2px; padding: 8px 8px 12px; border: 2px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; min-width: 0; }
.lp-shell:hover { border-color: var(--aqua); }
.lp-shell-img { position: relative; display: grid; place-items: center; aspect-ratio: 14 / 9; background: #eef6fa; border-radius: 10px; overflow: hidden; margin-bottom: 6px; }
/* The whole pool, never cropped: the shape is what the visitor is choosing. The 14:9 box keeps the cards even. The
   picture is laid over the box, so a near-square one can't stretch the box's row and be cut off at the bottom. */
.lp-shell-img img, .lp-shell-img svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lp-shell-t { font-weight: 800; color: var(--navy); font-size: 17px; overflow-wrap: anywhere; }
.lp-shell-s { font-size: 14px; color: var(--ink-2); }
/* A size or a depth never splits across two lines (audit 21b B-S4-2): the card wraps at the " · " between them. */
.lp-nw { white-space: nowrap; }
.lp-backlist { margin: 0 0 6px; }
.lp-shell-p { font-size: 15px; color: var(--ink); margin-top: 2px; }
/* The guided pool choice: the one number each short-listed pool is there for, and the plain-text "view all". */
.lp-shell-why { font-size: 14px; font-weight: 700; color: var(--navy); }
.lp-textbtn { background: none; border: 0; padding: 10px 0; min-height: 44px; font: inherit; color: var(--navy); text-decoration: underline; cursor: pointer; text-align: left; }
.lp-guidebtns { margin-top: 16px; }
/* Relining's "What's the difference?" (mobile review, 26 Nov 2026, point 6): a link-like line, at least 44 px to tap,
   that opens the three finishes' plain lines in place. */
.lp-diff { margin-top: 10px; }
.lp-diff summary { cursor: pointer; padding: 12px 0; font-weight: 800; color: var(--navy); list-style-position: inside; }
.lp-diff dl { margin: 0; }
.lp-diff dt { margin-top: 10px; font-weight: 800; color: var(--navy); }
.lp-diff dd { margin: 2px 0 0; color: var(--ink-2); }
.lp-diff p { margin: 14px 0 0; color: var(--ink-2); }
.lp-diff + .lp-guidebtns { margin-top: 12px; }
.lp-tag { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: var(--aqua); color: var(--aqua-ink); border-radius: 6px; padding: 1px 6px; vertical-align: 2px; }

/* places */
/* The 6px of padding (and the margin that takes it back) leave room for the focus ring inside the scrolling box. */
.lp-places { max-height: 52vh; overflow: auto; margin: 4px -6px 0; padding: 6px; overscroll-behavior: contain; }
.lp-region h3 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 12px 0 6px; font-family: var(--body); }
.lp-placegrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .lp-placegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-place { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 12px; min-height: 48px; text-align: left; font-weight: 600; cursor: pointer; overflow-wrap: anywhere; }
.lp-place:hover { border-color: var(--aqua); background: var(--tint); }

/* A selected answer (audit C, 4.7): the deep aqua line, 3:1 or more on white, on the tint and against an unselected
   answer's line, made thicker by an inset ring so the box keeps its size. Hover stays the light aqua, so a hovered
   answer never looks chosen. The answer cards and the pressed ghost button also get a tick. */
.lp-choice.is-on, .lp-chip.is-on, .lp-shell.is-on, .lp-place.is-on { border-color: var(--aqua-deep); box-shadow: inset 0 0 0 1px var(--aqua-deep); background: var(--tint); }
.lp-choice.is-on::after, .lp-shell.is-on::after { content: ''; position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--aqua-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
/* The quote page's pool cards (the redesign's short list board): the picture edge to edge in its 14:9 box, then the
   name (with the tick beside it once chosen), the reason in aqua, the size and depth, and the price. A chosen card is
   white with a thicker deep aqua line. */
.lp-q .lp-shells { gap: 12px; }
.lp-q .lp-shell { --pad: 12px; gap: 4px; padding: 0 0 14px; border-width: 1px; border-color: #dfe6ec; overflow: hidden; }
.lp-q .lp-shell:hover { border-color: var(--aqua); }
.lp-q .lp-shell.is-on { border-width: 2px; border-color: var(--aqua-deep); box-shadow: none; background: #fff; }
.lp-q .lp-shell.is-on::after { content: none; }
.lp-q .lp-shell-img { margin: 0 0 8px; border-radius: 0; background: #eef6f8; }
/* The pictures (G6) have no white margins: each sits whole on the tint, with tint on every side, as the drawing does. */
.lp-q .lp-shell-img img { inset: 8%; width: 84%; height: 84%; }
.lp-q .lp-shell > :not(.lp-shell-img) { padding-inline: var(--pad); }
/* The name stays text, so "Popular" wraps under it rather than squeezing it; the tick sits at the line's end. */
.lp-q .lp-shell-t { position: relative; font-weight: 700; font-size: 17px; overflow-wrap: normal; }
.lp-q .lp-shell.is-on .lp-shell-t { padding-right: calc(var(--pad) + 30px); }
.lp-q .lp-shell.is-on .lp-shell-t::after { content: ''; position: absolute; top: 0; right: var(--pad); width: 22px; height: 22px; border-radius: 50%;
  background: var(--aqua-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.lp-q .lp-shell-why { font-weight: 600; color: var(--aqua-deep); }
.lp-q .lp-shell-s { color: var(--muted); }
.lp-q .lp-shell-p { margin-top: 4px; color: var(--ink-2); }
.lp-q .lp-shell-p b { font-size: 18px; color: var(--navy); }
@media (min-width: 620px) {
  .lp-q .lp-shells { gap: 16px; }
  .lp-q .lp-shell { --pad: 16px; padding-bottom: 16px; }
  .lp-q .lp-shell-t { font-size: 18px; }
  .lp-q .lp-shell-p b { font-size: 19px; }
}
/* Under the pools: "Not sure yet" and the other list's link, then "Continue with <pool>" on the right. */
.lp-poolbtns { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; }
.lp-poolbtns-l { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.lp-poolbtns .lp-cta { width: auto; min-width: 0; margin: 0; min-height: 48px; padding: 10px 20px; border-radius: 12px; font-size: 15px; }
.lp-poolbtns .lp-ghost { border-width: 1px; font-weight: 600; }
.lp-poolbtns .lp-textbtn { font-size: 15px; font-weight: 600; }
.lp-poolbtns .lp-go { margin-left: auto; min-height: 50px; padding: 12px 26px; font-size: 16px; background: var(--navy); color: #fff; box-shadow: none; }
.lp-poolbtns .lp-go:hover { background: #163f6c; }
@media (max-width: 559px) { .lp-poolbtns .lp-go { width: 100%; } }
/* Back (the redesign): a drawn chevron and "Back" in navy. */
.lp-q .lp-back { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; min-height: 44px; color: var(--navy); font-weight: 600; font-size: 15px; }

/* fields */
.lp-fields { display: grid; gap: 14px; margin-top: 14px; }
.lp-two { grid-template-columns: 1fr 1fr; }
.lp-field label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); font-size: 16px; }
.lp-field small { color: var(--muted); }
.lp-field input[type='text'], .lp-field input[type='tel'], .lp-field input[type='email'], .lp-field input[type='search'], .lp-unit input {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; background: #fff; font-size: 18px; }
/* A focused field keeps the focus ring (audit C, 4.6): on a field with an error, the red border stays and the ring shows the focus. */
.lp-field input:focus { border-color: var(--blue); }
.lp-field input[aria-invalid='true'] { border-color: var(--bad); }
.lp-unit { position: relative; }
.lp-unit input { padding-right: 38px; }
.lp-unit span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.lp-check { display: flex; gap: 10px; align-items: center; font-size: 16px; min-height: 44px; }
.lp-check input { width: 22px; height: 22px; accent-color: var(--blue); }
.lp-err { color: var(--bad); font-weight: 600; font-size: 15px; margin: 6px 0 0; min-height: 0; }
.lp-err:empty { display: none; }
.lp-formerr { margin-top: 12px; }
.lp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-demo-hint { margin: 14px 0 0; padding: 10px 12px; background: #fff8e6; border: 1px solid #f1dfb0; border-radius: 10px; font-size: 15px; color: #5b4a1c; }
.lp-fine { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.lp-note { font-size: 15px; color: var(--ink-2); margin: 10px 0 0; }
/* The R50,000 minimum on the installed new pool types, under the question, before the answers: a help line's space
   under the heading (audit 21b B-T6), and as close under a help line as the answers are. */
.lp-min { margin: 10px 0 14px; padding: 8px 12px; background: var(--tint); border-radius: 10px; color: var(--ink); }
.lp-help + .lp-min { margin-top: -4px; }
.lp-strong { color: var(--ink); font-weight: 600; }

.lp-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 56px; margin-top: 16px; padding: 14px 22px; border: 0; border-radius: 999px;
  background: var(--aqua); color: var(--aqua-ink); font-weight: 800; font-size: 18px; text-decoration: none; cursor: pointer; box-shadow: 0 6px 18px rgba(19, 192, 210, .35); }
.lp-cta:hover { background: #2fcbdb; }
.lp-cta:disabled { opacity: .65; cursor: progress; }
.lp-ghost { background: #fff; color: var(--navy); border: 2px solid var(--navy); box-shadow: none; }
.lp-ghost:hover { background: var(--tint); }
.lp-ghost.is-on { background: var(--tint); box-shadow: inset 0 0 0 1px var(--navy); }
.lp-ghost.is-on::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12l5 5 9-10' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; }
@media (min-width: 560px) { .lp-cta { width: auto; min-width: 260px; } }

/* ------------------------------------------------------------ below the card */
/* The redesign (23 Nov 2026): everything under the card is the page's full width, its content lined up with the
   frame's (1240 px at most, the same sides). --side is that edge: the page's side (16 px on a phone), or more when the
   page is wider. */
.lp-q { --gut: 16px; --side: max(var(--gut), calc((100% - 1240px) / 2)); }
.lp-trust { margin: 0; }
/* "How it works" (the redesign): a navy band, each step's number in aqua; one under another on a phone, three across
   from 1024 px. On step 1 only (body.lp-slim hides it). */
.lp-how { margin: 0; padding: 36px var(--side) 40px; background: var(--navy); color: #fff; counter-reset: how; }
.lp-how h2 { margin: 0 0 22px; font-family: var(--head); font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: #fff; }
.lp-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.lp-how li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 14px; counter-increment: how; }
.lp-how li::before { content: counter(how); grid-row: 1 / span 2; font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1.1; color: #7fe0ea; }
.lp-how b, .lp-how li span { grid-column: 2; }
.lp-how li span { font-size: 15px; color: #d3e2ec; }
/* The facts band: each fact's lead in bold over the rest of its sentence. Two columns on a phone, the fifth across
   both; all five in a row from 1024 px. */
.lp-trustlist { list-style: none; margin: 32px 0 0; padding: 26px var(--side); background: #f4f8fa; display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.lp-trustlist:empty { display: none; }
.lp-trustlist li { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.lp-trustlist li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lp-trustlist b { font-family: var(--head); font-size: 18px; line-height: 1.2; color: var(--navy); }
/* Cosmo's award-winning pools (Eli, 22 Nov 2026): a carousel straight under the card on every step. One pool and a
   glimpse of the next on a phone, two side by side from 640 px. Every photo the same shape, so nothing jumps. */
.lp-awards, .lp-reviews { margin: 0 0 18px; }
.lp-aw-head h3, .lp-rv-head h3 { font-size: 18px; color: var(--navy); margin: 0 0 4px; }
.lp-aw-head p, .lp-rv-head p { margin: 0 0 12px; color: var(--ink-2); font-size: 15px; }
.lp-aw-track, .lp-rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 2px 10px; margin: 0 -2px; }
.lp-aw-track::-webkit-scrollbar, .lp-rv-track::-webkit-scrollbar { display: none; }
.lp-aw-track:focus-visible, .lp-rv-track:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; border-radius: 16px; }
/* A line and a shadow small enough to stay inside the track (a bigger one is cut off into a grey band). */
/* The redesign's award cards (23 Nov 2026): the photo at 4:3 with round corners, the medal with its colour's dot,
   the category, then the pool. One card on a phone, two from 640 px, four from 1024 px. */
.lp-aw { scroll-snap-align: start; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.lp-aw img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--tint); }
.lp-aw figcaption { display: grid; gap: 4px; }
.lp-aw-m { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.lp-aw-m::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.lp-aw-t { font-size: 17px; line-height: 1.35; color: var(--navy); }
.lp-aw-a { font-size: 14px; color: var(--muted); }
.lp-aw-platinum { color: #3d4a57; --dot: #8796a6; }
.lp-aw-gold { color: #7a5a12; --dot: #d4a72c; }
.lp-aw-silver { color: #4f5b66; --dot: #a9b3bd; }
.lp-aw-bronze { color: #7a4416; --dot: #b8733d; }
/* Both carousels' controls (the redesign): round buttons, Next filled; Previous, "1 of 17" and Next under the cards on
   a phone, "17 pools" and the buttons from 1024 px. */
.lp-aw-nav { grid-area: nav; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.lp-aw-btn { width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1px solid #cfd9e1; background: #fff; color: var(--navy); cursor: pointer; }
.lp-aw-btn[data-awnext], .lp-aw-btn[data-rvnext] { background: var(--navy); border-color: var(--navy); color: #fff; }
.lp-aw-btn:disabled { opacity: .35; cursor: default; }
.lp-aw-count { font-size: 14px; color: var(--ink-2); min-width: 5.5em; text-align: center; }
.lp-aw-total { display: none; font-size: 14px; color: var(--muted); }
/* The award-winning pools' section (the redesign): the heading, the cards, then Previous, "1 of 17" and Next on a
   phone; from 1024 px "17 pools" and the buttons beside the heading. Its buttons as the mockup's, Next filled. */
.lp-awards { margin: 0; padding: 40px var(--side) 8px; display: grid; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'head' 'track' 'nav'; gap: 16px; }
.lp-awards:empty { display: none; }
.lp-awards .lp-aw-head { grid-area: head; }
.lp-awards .lp-aw-head h3 { margin: 0 0 12px; font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.lp-awards .lp-aw-head p { margin: 0; font-size: 16px; color: var(--ink-2); max-width: 40em; }
.lp-awards .lp-aw-track { grid-area: track; grid-auto-columns: 100%; gap: 24px; padding: 2px; margin: -2px; scroll-padding-inline: 2px; }
@media (min-width: 640px) { .lp-awards .lp-aw-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (min-width: 1024px) {
  .lp-q { --gut: clamp(20px, 4vw, 40px); }
  .lp-trustlist { margin-top: 0; padding-block: 40px; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px clamp(24px, 3vw, 40px); }
  .lp-trustlist li { gap: 4px; font-size: 15px; }
  .lp-trustlist li:last-child:nth-child(odd) { grid-column: auto; }
  .lp-trustlist b { font-size: 22px; }
  .lp-awards { padding: clamp(48px, 6vw, 80px) var(--side) 24px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'head nav' 'track track'; gap: 28px 32px; align-items: end; }
  .lp-awards .lp-aw-head h3 { margin-bottom: 8px; font-size: clamp(30px, 3vw, 40px); line-height: 1.08; }
  .lp-awards .lp-aw-track { grid-auto-columns: calc((100% - 72px) / 4); }
  .lp-aw-nav { padding: 0; }
  .lp-reviews .lp-aw-nav { justify-content: flex-end; }
  .lp-aw-total { display: inline; }
  .lp-aw-count { display: none; }
}
/* The reviews (Eli, 22 Nov 2026; the redesign, 23 Nov 2026): the heading with HelloPeter's 4.9 big beside it, then a
   card per review: its stars, its words, who and where. One card on a phone, two from 640 px, three from 1024 px. */
.lp-reviews { margin: 0; padding: 40px var(--side); display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: 'head' 'track' 'nav'; gap: 16px; }
.lp-reviews:empty { display: none; }
.lp-reviews .lp-rv-head { grid-area: head; display: grid; gap: 12px; }
.lp-reviews .lp-rv-head h3 { margin: 0; font-family: var(--head); font-weight: 800; font-size: 28px; line-height: 1.1; letter-spacing: -.02em; color: var(--navy); }
.lp-reviews .lp-rv-head p { margin: 0; }
.lp-rv-rating { display: flex; align-items: baseline; gap: 10px; font-size: 15px; color: var(--ink-2); }
.lp-rv-rating b { font-family: var(--head); font-size: 38px; line-height: 1; color: var(--navy); }
.lp-reviews .lp-rv-intro { font-size: 15px; color: var(--muted); }
.lp-reviews .lp-rv-track { grid-area: track; grid-auto-columns: 100%; gap: 20px; padding: 2px; margin: -2px; scroll-padding-inline: 2px; }
.lp-rv { scroll-snap-align: start; margin: 0; padding: 20px; background: #fff; border: 1px solid #e3e9ee; border-radius: 16px; display: flex; flex-direction: column; gap: 12px; }
.lp-rv-stars { display: block; line-height: 0; }
.lp-rv-q { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.lp-rv-q::before { content: '\201C'; }
.lp-rv-q::after { content: '\201D'; }
.lp-rv-who { margin-top: auto; font-size: 14px; color: var(--muted); }
/* On a phone each review is as tall as its own words, so a short one has no gap between the quote and the name
   (mobile review, 26 Nov 2026, point 6). The track keeps its tallest card's height, so the buttons under it stay put. */
@media (max-width: 639px) { .lp-reviews .lp-rv-track { align-items: start; } }
.lp-rv-n { font-weight: 600; color: var(--navy); }
@media (min-width: 640px) { .lp-reviews .lp-rv-track { grid-auto-columns: calc((100% - 20px) / 2); } }
.lp-trustlist .lp-ph { flex-direction: column; gap: 2px; background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f6f9fb 10px, #f6f9fb 20px); border: 2px dashed #b9c8d4; box-shadow: none; color: var(--ink-2); }
.lp-ph-tag { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: #8a5a00; }
.lp-foot { text-align: center; font-size: 13px; color: var(--muted); padding: 18px 16px 110px; }
/* The quote page's footer (the redesign): on the left, lined up with the rest; the room under it is for the sticky
   button, which a phone has. */
.lp-q .lp-foot { text-align: left; font-size: 14px; padding: 24px var(--side) 110px; }
@media (min-width: 1024px) {
  .lp-reviews { padding-block: clamp(48px, 6vw, 72px); gap: 28px; }
  .lp-reviews .lp-rv-head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: 'title rating' 'intro rating'; align-items: end; gap: 8px 32px; }
  .lp-reviews .lp-rv-head h3 { grid-area: title; font-size: clamp(30px, 3vw, 40px); line-height: 1.08; }
  .lp-rv-rating { grid-area: rating; gap: 12px; font-size: 16px; }
  .lp-rv-rating b { font-size: 44px; }
  .lp-reviews .lp-rv-intro { grid-area: intro; }
  .lp-reviews .lp-rv-track { grid-auto-columns: calc((100% - 40px) / 3); }
  .lp-rv { padding: 24px; gap: 14px; }
  .lp-how { padding-block: clamp(44px, 5vw, 64px); }
  .lp-how h2 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 28px; }
  .lp-how ol { display: flex; flex-wrap: wrap; gap: 28px 40px; }
  .lp-how li { flex: 1 1 260px; display: flex; flex-direction: column; gap: 6px; }
  .lp-how li::before { font-size: 34px; line-height: 1; }
  .lp-how b { font-size: 18px; }
  .lp-q .lp-foot { padding-bottom: 32px; }
}

.lp-sticky { position: fixed; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); z-index: 20; }
.lp-sticky button { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: 17px; cursor: pointer; }
@media (min-width: 900px) { .lp-sticky { display: none; } }

/* ------------------------------------------------------------ the estimate page */
.lp-estwrap { padding: 16px 12px 0; outline: none; }
.lp-esthead h1 { font-size: clamp(27px, 7vw, 36px); color: var(--navy); font-weight: 800; margin-top: 4px; }
.lp-kicker { margin: 0; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.lp-sub2 { margin: 6px 0 0; color: var(--ink-2); }
/* One price card (audit B, #1). A phone: the picture, the card with its question, then the lists. A desktop: the
   picture and the lists on the left, the card and its question on the right, in view as the page scrolls. */
.lp-estgrid { max-width: 760px; margin: 0 auto; }
.lp-estpic { position: relative; margin: 0 0 14px; aspect-ratio: 2 / 1; border-radius: var(--radius); overflow: hidden; background: #eef6f8; box-shadow: var(--shadow); }
.lp-estpic img, .lp-estpic svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.lp-estpic img { inset: 8%; width: 84%; height: 84%; }
.lp-price h1 { font-size: clamp(25px, 6.4vw, 32px); color: var(--navy); font-weight: 800; margin-top: 4px; }
.lp-esttitle { margin-top: 14px; font-size: 20px; color: var(--navy); font-weight: 800; }
.lp-facts { margin: 4px 0 0; color: var(--ink-2); font-size: 15.5px; }
.lp-facts span { white-space: nowrap; }
.lp-estmain h2 { font-size: 21px; color: var(--navy); font-weight: 800; }
@media (min-width: 960px) {
  .lp-estwrap { padding: 24px 24px 0; }
  .lp-estgrid { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-areas: 'pic side' 'main side'; grid-template-rows: auto 1fr; column-gap: 24px; align-items: start; }
  .lp-estpic { grid-area: pic; }
  .lp-estside { grid-area: side; }
  /* In view as the page scrolls only while it fits the window (estimate.js fitSide): a taller one, with the thank-you
     and the budget question, scrolls with the page so none of it is out of reach. */
  .lp-estside.lp-stick { position: sticky; top: 16px; }
  .lp-estside .lp-gatebtns { grid-template-columns: 1fr; }
  .lp-estmain { grid-area: main; }
  .lp-estgrid .lp-card { max-width: none; margin-left: 0; margin-right: 0; }
}
.lp-lines { list-style: none; margin: 0; padding: 0; }
.lp-line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.lp-line label { display: flex; gap: 12px; width: 100%; align-items: flex-start; cursor: pointer; }
.lp-line input[type='checkbox'] { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.lp-l { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.lp-l small { display: block; color: var(--muted); font-size: 14px; }
.lp-a { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.lp-a small { display: block; text-align: right; color: var(--muted); font-size: 13px; font-weight: 600; }
.lp-more h4 { font-size: 15px; color: var(--navy); margin: 14px 0 0; font-weight: 800; }
/* What the price includes: a checklist, no prices (anything ticked before 20 Nov 2026 keeps its price). */
.lp-checks .lp-line:not(.lp-ph) { position: relative; padding-left: 30px; }
.lp-checks .lp-line:not(.lp-ph)::before { content: ''; position: absolute; left: 3px; top: 15px; width: 14px; height: 7px; border-left: 3px solid var(--aqua-deep); border-bottom: 3px solid var(--aqua-deep); transform: rotate(-45deg); }
/* The list ends its card: no divider under its last line (as the upgrades' lists). */
.lp-checks .lp-line:last-child { border-bottom: 0; }
/* What could change after the site visit: one quiet box, normal weight (audit B, #5). */
.lp-change { background: #f7fafc; border: 1px solid var(--line); box-shadow: none; }
.lp-change .lp-help { margin: 12px 0 0; }
.lp-notin { margin: 4px 0 4px; color: var(--ink-2); font-weight: 600; }
.lp-extras { border: 0; padding: 0; }
.lp-extras summary { cursor: pointer; padding: 14px 0; font-weight: 800; color: var(--navy); list-style-position: inside; }
.lp-extras summary span { font-weight: 600; color: var(--muted); font-size: 15px; }
.lp-extras[open] summary { border-bottom: 1px solid var(--line); }
.lp-extras .lp-line:last-child { border-bottom: 0; }
.lp-total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 4px 12px; margin-top: 16px; padding: 16px; background: var(--navy); color: #fff; border-radius: 14px; }
.lp-total span { font-weight: 600; color: #d6e6f2; font-size: 16px; }
.lp-total b { font-family: var(--head); font-size: clamp(28px, 7.4vw, 36px); font-weight: 800; white-space: nowrap; }
.lp-total small { grid-column: 1 / -1; color: #e6f0f7; font-size: 15px; }
.lp-total small + small { color: #c9dcea; font-size: 14px; }
.lp-gate { margin-top: 18px; padding: 18px 16px; border: 2px solid var(--aqua); border-radius: 16px; background: var(--tint); }
.lp-gate h2 { font-size: 22px; color: var(--navy); font-weight: 800; outline: none; }
.lp-gatebtns { display: grid; gap: 10px; margin-top: 6px; }
@media (min-width: 560px) { .lp-gatebtns { grid-template-columns: 1fr 1fr; } .lp-gatebtns .lp-cta { width: 100%; min-width: 0; } }
.lp-gate.is-done { border-color: var(--line); background: #fff; }
.lp-after { margin: 12px 0 0; }
/* The estimate page's thank-you as numbered steps, joined by a line (the redesign, G5). Estimate page only. */
.lp-next-h { margin: 16px 0 12px; font-size: 16px; font-weight: 700; color: var(--navy); }
.lp-next { list-style: none; margin: 0 0 4px; padding: 0; counter-reset: next; }
.lp-next > li { counter-increment: next; position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 18px 44px; }
.lp-next > li::before { content: counter(next); position: absolute; left: 0; top: -3px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; }
.lp-next > li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 31px; bottom: 3px; width: 2px; background: var(--line); }
.lp-next b { color: var(--navy); font-size: 16px; }
.lp-next span { color: var(--ink-2); }
.lp-next .lp-help { margin: 8px 0 0; }
.lp-next .lp-after { margin-top: 10px; }
/* "No price yet": the pools the visitor was shown, as cards with their pictures (the redesign, G5). */
.lp-hp-h { margin: 16px 0 10px; font-size: 16px; font-weight: 700; color: var(--navy); }
.lp-hpools { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.lp-hpool { display: flex; flex-direction: column; gap: 2px; padding: 0 0 12px; background: #fff; border: 1px solid #dfe6ec; border-radius: 14px; overflow: hidden; }
.lp-hpool img, .lp-hpool svg { display: block; width: 100%; height: auto; aspect-ratio: 14 / 9; object-fit: contain; margin-bottom: 8px; background: #eef6f8; }
.lp-hpool img { padding: 8%; }
.lp-hpool > :not(img):not(svg) { padding-inline: 12px; }
.lp-hpool > b { color: var(--navy); font-size: 16px; }
.lp-hpool span { color: var(--muted); font-size: 14px; }
.lp-hpool .lp-hpool-p { margin-top: 2px; color: var(--ink-2); }
.lp-hpool-p b { color: var(--navy); font-size: 17px; }
.lp-textlink { background: none; border: 0; padding: 6px 0; color: var(--navy); font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 32px; }
.lp-textlink:hover { color: var(--aqua-ink, var(--navy)); text-decoration-thickness: 2px; }
.lp-stopped, .lp-fromlink { margin-bottom: 14px; color: var(--navy); font-weight: 600; }
.lp-stopped .lp-err, .lp-fromlink .lp-err { margin: 0 0 12px; }

/* The visitor's "reduce motion" setting (audit C, 4.9): no transitions and no smooth scrolling. The scripts check it
   too before they scroll. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Demo mode is a per-environment switch (ADR 0007): each page's script adds .demo to <html> when config.js says
   demo: true. Everything marked demo-only exists only then. */
html:not(.demo) .demo-only { display: none !important; }
