/* Aqua Squad landing page. Palette: pale #F8FAFC, navy #11304B, success green.
   Fonts: Bricolage Grotesque, Hanken Grotesk, Caveat. */

:root {
  --pale: #F8FAFC;
  --navy: #11304B;
  --navy-2: #1A4060;
  --ink: #11304B;
  --muted: #5B6B7A;
  --line: #D9E2EC;
  --success: #1F7A4D;
  --success-soft: #E8F6EE;
  --card: #11304B;
  --tile: #F4F7FA;
  --warn: #8A5A12;
  --draft: #8A3B12;
  --white: #fff;
  --info: #E8F1FA;
  --radius: 16px;
  --tap: 48px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--pale);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.4em;
  line-height: 1.15;
}

.stage {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 0;
}
.phone {
  width: 100%;
  max-width: 390px;
  min-height: 100vh;
  background: var(--white);
  box-shadow: 0 0 0 1px #e6edf3, 0 24px 60px rgba(17, 48, 75, 0.08);
  display: flex;
  flex-direction: column;
}

/* ---- Top strip: navy bar, like the reference hierarchy ---- */
.top-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  background: var(--navy);
  color: #E7EEF4;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
}
.top-strip .rating-placeholder { color: #F3D7A5; }
.top-strip .dot { opacity: 0.6; }

.hero { padding: 0.85rem 1.1rem 0.35rem; }
.logo-wrap { text-align: center; }
.logo {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
  margin: 0 auto 0.15rem;
  object-fit: contain;
}
.logo-sm { height: 32px; margin: 0; }
.logo-note {
  margin: 0 0 0.55rem;
  font-size: 10px;
  color: var(--warn);
  text-align: center;
}

h1 {
  font-size: 1.7rem;
  text-align: center;
  margin: 0.15rem 0 0.4rem;
}
.hook {
  font-family: "Caveat", cursive;
  font-size: 1.45rem;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  margin: 0 0 0.4rem;
  line-height: 1.2;
}
.offer {
  margin: 0 0 0.85rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.owner-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.5rem;
}
.owner-photo,
.caller-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d7e3ee 0%, #b9c9d6 100%);
  border: 1px dashed #8aa0b4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.owner-photo-label,
.caller-photo span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3d5568;
  background: rgba(255,255,255,0.8);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}
.hi {
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.15;
  transform: rotate(-1.2deg);
  transform-origin: left center;
}
.hi .name-slot {
  color: var(--warn);
  font-size: 1.15rem;
}
.guarantees {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: var(--ink);
}
.guarantees li {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  margin-bottom: 0.22rem;
}
.guarantees .check,
.ok-check,
.sent-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
  flex: 0 0 auto;
  margin-top: 0.12rem;
  position: relative;
}
.guarantees .check::after,
.ok-check::after,
.sent-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 4px;
  height: 7px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.review-line {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  color: var(--warn);
  text-align: left;
}

/* ---- Flow chrome (steps 2–3): back, logo, segmented progress ---- */
.flow-chrome { padding: 0.55rem 1rem 0; }
.flow-nav, .contact-nav {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  align-items: center;
  margin-bottom: 0.45rem;
}
.flow-nav .logo, .contact-nav .logo { justify-self: center; }
.back-btn {
  appearance: none;
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0;
  min-height: 44px;
  cursor: pointer;
  text-align: left;
}
.back-btn::before { content: "‹ "; }
.flow-count {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: right;
}
.flow-count-spacer { width: 56px; }
.seg-bar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}
.seg {
  height: 4px;
  border-radius: 99px;
  background: #E6EDF3;
}
.seg.is-done, .seg.is-current { background: var(--navy); }
.seg.is-current { opacity: 0.55; }

/* ---- Quiz card: navy on step 1, light on later steps ---- */
.quiz-card {
  margin: 0 0.85rem 1rem;
  background: var(--card);
  color: var(--white);
  border-radius: 22px;
  padding: 1rem 0.95rem 1.05rem;
  box-shadow: 0 10px 24px rgba(17, 48, 75, 0.18);
}
.quiz-card--light {
  margin: 0;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  box-shadow: none;
  padding: 0.4rem 1.1rem 1rem;
}
.step-meta { display: flex; justify-content: center; margin-bottom: 0.7rem; }
.quiz-card--light .step-meta { display: none; }
.step-pill {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: #E7EEF4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
}
.quiz-card h2 { font-size: 1.28rem; color: var(--white); margin-bottom: 0.7rem; text-align: center; }
.quiz-card--light h2 { color: var(--ink); font-size: 1.55rem; text-align: left; margin-bottom: 0.35rem; }
.quiz-card .sub,
.slider-intro {
  margin: -0.15rem 0 0.7rem;
  color: #C9D6E3;
  font-size: 0.9rem;
  text-align: center;
}
.quiz-card--light .sub,
.quiz-card--light .slider-intro { color: var(--muted); text-align: left; }

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.tile {
  appearance: none;
  border: 0;
  background: var(--tile);
  color: var(--navy);
  border-radius: 16px;
  padding: 0.9rem 0.4rem 0.7rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-height: 124px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.tile:hover, .tile:focus-visible { transform: translateY(-1px); outline: 2px solid #9ec5e8; }
.tile.is-picked { box-shadow: inset 0 0 0 3px var(--success); }
.radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #B7C4D0;
  margin-top: auto;
}
.tile.is-picked .radio {
  border-color: var(--success);
  box-shadow: inset 0 0 0 4px var(--success);
  border-width: 2px;
  background: #fff;
}

.pool-icon {
  width: 44px;
  height: 36px;
  position: relative;
  display: block;
}
.pool-icon--in {
  border: 3px solid var(--navy);
  border-radius: 4px;
  background: linear-gradient(180deg, #c8e7f6 0%, #6eafd8 100%);
}
.pool-icon--above {
  width: 42px;
  height: 28px;
  border: 3px solid var(--navy);
  border-radius: 50% / 40%;
  background: linear-gradient(180deg, #c8e7f6 0%, #6eafd8 100%);
  margin-top: 6px;
}

.no-spam {
  margin: 0.75rem 0 0;
  font-size: 0.76rem;
  color: #C9D6E3;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.3rem;
}
.no-spam.light { color: var(--muted); }
.lock {
  width: 10px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.lock::before {
  content: "";
  position: absolute;
  left: 1.5px;
  top: -5px;
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}

.wording-note {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  color: #8A5A12;
}
.quiz-card:not(.quiz-card--light) .wording-note { color: #F3D7A5; }

.water-preview {
  position: relative;
  aspect-ratio: 800 / 372;
  background: #E4D6BE;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0.65rem;
}
.water-surface {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #9ad7f0 0%, #3b8fc8 55%, #1d5f96 100%);
  transition: background 0.15s linear;
}
.water-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%; }
.water-status {
  margin-bottom: 0.55rem;
}
.water-status-label {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
}
.slider-wrap { display: block; margin-bottom: 0.35rem; }
#water-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0;
  background: transparent;
  outline: none;
  cursor: pointer;
}
#water-slider:disabled { cursor: not-allowed; opacity: 0.55; }
#water-slider::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, #7ec8e8 0%, #7a8f5a 100%);
}
#water-slider::-moz-range-track {
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, #7ec8e8 0%, #7a8f5a 100%);
  border: 0;
}
#water-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 44px;
  height: 44px;
  margin-top: -17px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--navy);
  box-shadow: 0 2px 8px rgba(17,48,75,0.2);
  cursor: pointer;
}
#water-slider::-moz-range-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--navy);
  box-shadow: 0 2px 8px rgba(17,48,75,0.2);
  cursor: pointer;
}
.slider-ends {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}
.info-box {
  background: var(--info);
  color: var(--navy);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font-size: 0.86rem;
  margin: 0.7rem 0 0.85rem;
}
.quiz-card:not(.quiz-card--light) .info-box { background: #1A4060; color: #E7EEF4; }

.btn {
  appearance: none;
  width: 100%;
  border: 0;
  background: var(--success);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 1rem;
  min-height: var(--tap);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn:disabled,
.btn-navy:disabled {
  background: #E6EDF3;
  color: #8A9AAB;
  cursor: not-allowed;
}
.btn-cta { margin-top: 0.35rem; }

.zip-boxes {
  display: grid;
  grid-template-columns: repeat(5, 52px);
  justify-content: center;
  gap: 0.45rem;
  margin: 0.85rem 0 0.9rem;
}
.zip-digit {
  width: 52px;
  height: 60px;
  text-align: center;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  border: 2px solid #C9D6E3;
  border-radius: 12px;
  background: #fff;
}
.zip-digit:focus { outline: none; border-color: var(--navy); }
.map {
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  background: #d9e4ee;
  margin-bottom: 0.55rem;
}
.leaflet-control-attribution { font-size: 9px !important; }
.map-status { margin: 0; font-size: 0.88rem; color: var(--muted); text-align: center; }
.quiz-card:not(.quiz-card--light) .map-status { color: #C9D6E3; }
.route-ok {
  margin-top: 0.7rem;
  background: var(--success-soft);
  color: #145C3A;
  border-radius: 16px;
  padding: 0.85rem 0.85rem 0.9rem;
}
.route-ok-title {
  margin: 0 0 0.2rem;
  font-weight: 800;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.route-ok-sub { margin: 0 0 0.7rem; font-size: 0.88rem; }
.route-out {
  margin-top: 0.7rem;
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.8rem 0.85rem;
  color: var(--ink);
  font-size: 0.92rem;
}
.route-out p { margin: 0; }

/* ---- Loading ---- */
.load-screen {
  padding: 2rem 1.2rem 1rem;
  text-align: center;
}
.load-spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid #E6EDF3;
  border-top-color: var(--navy);
  margin: 0 auto 0.9rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.load-zip {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.2rem;
}
.load-screen .sub { color: var(--muted); margin: 0 0 1rem; }
.load-bar {
  height: 5px;
  background: #E6EDF3;
  border-radius: 99px;
  overflow: hidden;
  margin: 0 0 1.1rem;
}
.load-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--navy);
  border-radius: 99px;
}
.load-bar.is-running > span { animation: fillbar 7s linear forwards; }
@keyframes fillbar { to { width: 100%; } }
.ticks { list-style: none; margin: 0; padding: 0; text-align: left; }
.ticks li {
  position: relative;
  padding: 0.7rem 0.8rem 0.7rem 2.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  margin-bottom: 0.45rem;
  background: #fff;
  min-height: var(--tap);
  display: flex;
  align-items: center;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
}
.ticks li.is-done { color: var(--navy); font-weight: 650; }
.ticks li.is-done::before {
  border-color: var(--success);
  background: var(--success);
  box-shadow: inset 0 0 0 2px #fff;
}
.ticks li.is-current {
  color: var(--navy);
  font-weight: 700;
  border-color: var(--navy);
}
.ticks li.is-current::before { border-color: var(--navy); border-top-color: transparent; animation: spin 0.8s linear infinite; }

/* ---- Contact ---- */
.contact { padding: 0.55rem 1.1rem 0.5rem; }
.contact-nav { margin-bottom: 0.7rem; }
.contact h2 { font-size: 1.55rem; }
.contact .sub { color: var(--muted); margin: 0 0 0.8rem; }
.summary {
  border-top: 1px solid var(--line);
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
}
.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
}
.summary-row .label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
}
.summary-row .value { font-weight: 700; }
.summary-row .ok-check { margin-top: 0; }
.route-badge {
  display: block;
  width: fit-content;
  margin: 0.15rem 0 0.7rem auto;
  background: var(--success-soft);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.field-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 0.5rem;
  margin: 0.45rem 0;
}
.contact label {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0;
}
.contact input[type="text"],
.contact input[type="tel"] {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  min-height: var(--tap);
  font: inherit;
  color: var(--navy);
  background: #fff;
}
.contact input:focus { outline: 2px solid #7ec8e8; border-color: #7ec8e8; }
.field-error { margin: 0.15rem 0 0; color: #9B1C1C; font-size: 0.8rem; }
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

.consent {
  margin: 0.85rem 0 0.5rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.6rem 0.7rem;
}
.consent-legal {
  margin: 0.45rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
}
.consent-legal a {
  color: var(--navy);
  text-decoration: underline;
}
.submit-error {
  margin: 0.75rem 0 0;
  padding: 0.7rem 0.8rem;
  background: #FFF4F1;
  border: 1px solid #E8B4A8;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}
.submit-error p { margin: 0; }
.submit-error a {
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
}
.draft-flag {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--draft);
}
.draft-flag--block {
  background: #FFF8F0;
  border: 1px dashed #E2B58A;
  border-radius: 8px;
  padding: 0.45rem 0.55rem;
  margin: 0 0 0.85rem;
}
.consent-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--ink);
  line-height: 1.4;
}
.consent-row { min-height: 44px; cursor: pointer; }
.consent-row input { margin-top: 0.15rem; flex: 0 0 auto; width: 22px; height: 22px; min-width: 22px; min-height: 22px; }

/* ---- Thanks ---- */
.thanks { padding: 0.7rem 1.1rem 1rem; }
.thanks-logo { display: flex; justify-content: center; margin-bottom: 0.85rem; }
.caller-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1rem;
}
.caller-card .caller-photo { width: 64px; height: 64px; }
.caller-name {
  margin: 0;
  font-weight: 800;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.caller-meta, .caller-stars {
  margin: 0.1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.caller-stars { color: var(--warn); }
.thanks h2 { font-size: 1.7rem; margin: 0 0 0.45rem; }
.thanks .lede { margin: 0 0 0.9rem; color: var(--ink); font-size: 1rem; }
.thanks h3 {
  font-size: 1.05rem;
  margin: 1.1rem 0 0.65rem;
}

.sent-card {
  background: var(--success-soft);
  border-radius: 14px;
  padding: 0.85rem 0.9rem 0;
  margin-bottom: 0.9rem;
  overflow: hidden;
}
.sent-row { display: flex; gap: 0.65rem; align-items: flex-start; padding-bottom: 0.8rem; }
.sent-check { width: 22px; height: 22px; margin-top: 0.1rem; }
.sent-check::after { left: 7px; top: 4px; width: 5px; height: 9px; }
.sent-to { margin: 0; font-weight: 800; color: var(--success); }
.sent-time { margin: 0.15rem 0 0; font-size: 0.88rem; color: #145C3A; }
.sent-progress {
  height: 5px;
  background: rgba(31, 122, 77, 0.18);
  border-radius: 0;
}
.sent-progress > span {
  display: block;
  height: 100%;
  width: 28%;
  background: var(--success);
  animation: sentbar 2.8s ease-in-out infinite alternate;
}
@keyframes sentbar { from { width: 18%; } to { width: 72%; } }

.do-this-card {
  border: 2px solid var(--navy);
  border-radius: 16px;
  padding: 0.9rem 1rem 1rem;
  margin-bottom: 0.4rem;
}
.do-this-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.do-this-action {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}
.yes-pill {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border-radius: 8px;
  padding: 0.05rem 0.5rem 0.12rem;
  margin-left: 0.15rem;
}
.do-this-card p:last-child { margin: 0; color: var(--ink); }

.next-steps {
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
  position: relative;
}
.next-steps::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.next-steps li {
  position: relative;
  padding: 0 0 1rem 2.2rem;
}
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  z-index: 1;
  box-sizing: border-box;
}
.next-steps li.is-done::before {
  border-color: var(--success);
  background: var(--success);
  background-image: none;
}
.next-steps li.is-done::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  z-index: 2;
}
.next-steps li.is-current::before {
  background: var(--navy);
  border-color: var(--navy);
  content: "2";
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 20px;
}
.next-steps li:not(.is-done):not(.is-current)::before {
  content: "3";
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  line-height: 20px;
}
.next-steps strong { display: block; font-size: 0.98rem; }
.next-steps span { display: block; color: var(--muted); font-size: 0.86rem; margin-top: 0.1rem; }

.call-now-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.9rem 0.95rem 1rem;
  margin: 0.4rem 0 1.2rem;
  background: #fff;
}
.caller-card--plain { margin-bottom: 0.7rem; }
.call-now-copy { margin: 0 0 0.75rem; font-size: 1.02rem; }
.btn-call { margin-bottom: 0.4rem; }
.call-num { margin: 0; text-align: center; color: var(--muted); font-size: 0.88rem; }

.thanks-reviews { text-align: center; margin: 0.4rem 0 0.7rem; }
.thanks-reviews h3 { font-size: 1.25rem; }
.review-placeholder { color: var(--warn); font-size: 0.88rem; margin: 0; }
.trust-row {
  list-style: none;
  margin: 0 0 0.8rem;
  padding: 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}
.trust-row li { margin: 0.25rem 0; }
.draft-note { color: var(--muted); text-align: center; }

.legal {
  margin-top: auto;
  padding: 1rem 1rem 1.2rem;
  color: var(--muted);
  font-size: 0.7rem;
  text-align: center;
  border-top: 1px solid var(--line);
}
.legal p { margin: 0 0 0.25rem; }
.legal a {
  color: var(--navy);
  text-decoration: underline;
  display: inline-block;
  padding: 10px 6px;
  min-height: 44px;
  line-height: 24px;
}
.consent-legal a {
  display: inline;
  position: relative;
  padding: 0;
  min-height: 0;
  line-height: inherit;
}
.consent-legal a::after {
  content: "";
  position: absolute;
  inset: -12px -6px;
}

/* Below 720px, match live phone framing (390px column, 420px radius/min-height). */
@media (min-width: 420px) and (max-width: 719px) {
  .stage { padding: 24px 0 40px; }
  .phone { min-height: 844px; border-radius: 28px; overflow: hidden; }
}

/* Tablet and desktop: a readable column, not a 390px device mockup. */
@media (min-width: 720px) {
  .stage { padding: 28px 20px 48px; }
  .phone {
    max-width: 720px;
    min-height: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #e6edf3, 0 24px 60px rgba(17, 48, 75, 0.08);
  }
}
@media (min-width: 900px) {
  .phone { max-width: 960px; }
}

/* Step 1 pool-type illustrations (inline SVG, original art). */
.pool-svg {
  display: block;
  width: 100%;
  max-width: 108px;
  height: auto;
  aspect-ratio: 3 / 2;
}

/* Step 2 pool photo scene (assets/pool-topdown.webp + SVG overlays). */
.pool-scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Tap-to-call before the form (Finn 18 Nov; lets non-texters call instead) */
.call-bar{display:flex;align-items:center;gap:12px;min-height:56px;margin:14px 0 16px;padding:12px 14px;border:2px solid #0b2a4a;border-radius:14px;background:#fff;color:#0b2a4a;text-decoration:none}
.call-bar-icon{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;overflow:hidden;background:#d7e3ee;box-sizing:border-box}
.call-bar-text{display:flex;flex-direction:column;line-height:1.25}
.call-bar-text strong{font-size:17px}
.call-bar-text span{font-size:14px;opacity:.75}

/* Make the call bar read as a button, and every number tappable */
.call-bar{background:#0b2a4a;color:#fff;min-height:64px;box-shadow:0 4px 12px rgba(11,42,74,.25);-webkit-tap-highlight-color:rgba(255,255,255,.2)}
.call-bar:active{transform:translateY(1px)}
.call-bar-icon{background:#d7e3ee;border:2px solid #fff;box-shadow:0 0 0 1px rgba(255,255,255,.35)}
.call-bar-icon img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.call-bar-text{flex:1;min-width:0}
.call-bar-text span{opacity:.85}
.call-bar-go{flex:none;padding:10px 16px;border-radius:999px;background:#2fb36b;color:#fff;font-weight:700;font-size:16px}
a.tel-link{color:inherit;font-weight:700;text-decoration:underline;text-underline-offset:3px;padding:6px 0;display:inline-block}
.call-bar-text .nowrap{white-space:nowrap;font-size:inherit;opacity:1}
