/* ==========================================================================
   SEO for Pool Contractors — single-page site
   Palette and type taken from "Home — SEO for Pool Contractors.pdf"
   ========================================================================== */

:root {
  --navy: #052a3c;
  --navy-2: #0a3a51;
  --navy-3: #153647;
  --navy-deep: #021e2a;
  --cyan: #22c2d6;
  --cyan-soft: #7dd8e6;
  --cyan-mid: #4fc6da;
  --teal: #0b8aa5;
  --teal-dark: #08708a;
  --orange: #feb343;
  --orange-dark: #f2a227;
  --ink: #052a3c;
  --text: #3e5562;
  --muted: #687d88;
  --line: #e3ecef;
  --bg: #ffffff;
  --bg-soft: #edf7f9;
  --bg-tint: #f1f9fb;
  --chip: #e2f4f8;
  --placeholder: #dbeef4;
  --cream: #fdf1d9;
  --note: #fef7e7;

  --font-head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(2, 30, 42, .35);
  --shadow-soft: 0 6px 20px -10px rgba(5, 42, 60, .18);
  --container: 1140px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
h3, h4 { font-family: var(--font-body); letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 16px; top: -60px; background: var(--orange); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200; text-decoration: none; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(980px + var(--gutter) * 2); }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: .975rem; text-decoration: none; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--orange); color: var(--navy); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { min-height: 42px; padding: 9px 20px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #c7d6dd; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.section--navy .eyebrow { color: var(--cyan); }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; }
.section-head p { margin-top: 18px; font-size: 1.075rem; color: var(--text); }
.section-head p a { color: var(--teal-dark); font-weight: 600; text-underline-offset: 3px; }
.section-head p a:hover { color: var(--navy); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.card h3 { font-size: 1.1rem; margin: 18px 0 10px; }
.card p { font-size: .925rem; }

.icon-box { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--chip); color: var(--teal); }
.icon-box--cream { background: var(--cream); color: #c27c0e; }
.icon-box--cyan { background: var(--cyan); color: var(--navy); }
.icon-box--navy { background: var(--navy); color: var(--cyan); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: var(--navy); transition: box-shadow .2s, background .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .5); background: rgba(5, 42, 60, .97); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-logo { display: block; height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: #e6eef2; text-decoration: none; font-size: .9rem; font-weight: 500; transition: color .15s; }
.nav-list a:hover { color: var(--cyan); }

.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; place-items: center; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #c7d6dd; padding: calc(var(--header-h) + 72px) 0 150px; overflow: hidden; }
.hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .5; }
.hero-bottom { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgba(34, 194, 214, .1); border: 1px solid rgba(34, 194, 214, .35); color: #cfeef3; font-size: .8rem; font-weight: 600; }
.pill .icon { width: 15px; height: 15px; color: var(--cyan); }
.hero-eyebrow { display: flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.hero-eyebrow .icon { width: 22px; height: 22px; color: var(--cyan); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.4rem); font-weight: 800; margin: 22px 0 22px; letter-spacing: -0.03em; line-height: 1.04; }
.hero h1 .accent { color: var(--cyan); }
.hero-h1-sub { display: block; margin-top: 12px; font-size: clamp(1.5rem, 2.7vw, 2.15rem); line-height: 1.15; letter-spacing: -0.02em; color: #e6eef2; }
.hero-lead { font-size: 1.15rem; max-width: 470px; color: #d3e1e7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 36px 0 40px; }
.btn--lg { min-height: 60px; padding: 16px 20px; border-radius: 16px; font-size: .97rem; }
.hero-cta .btn--lg { flex: 1 1 auto; }
.hero-trust { display: flex; align-items: center; gap: 16px; }
.hero-trust-icons { display: flex; flex: none; }
.hero-trust-icons > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--navy); color: var(--navy); background: var(--cyan); }
.hero-trust-icons > span + span { margin-left: -12px; }
.hero-trust-icons > span:nth-child(2) { background: var(--cyan-soft); }
.hero-trust-icons > span:nth-child(3) { background: var(--orange); }
.hero-trust-icons > span:nth-child(4) { background: #fff; color: var(--teal-dark); }
.hero-trust-icons .icon { width: 20px; height: 20px; }
.hero-trust p { font-size: .85rem; color: #b5c8d1; line-height: 1.45; }
.hero-trust strong { display: block; color: #fff; font-size: 1.02rem; }

/* Hero visual: real Search Console window + Maps card, with floating badges */
.hero-visual { position: relative; height: 600px; }
.hero-visual::before { content: ""; position: absolute; inset: 10% -10% 0 0; background: radial-gradient(closest-side, rgba(34, 194, 214, .28), transparent); filter: blur(10px); pointer-events: none; }
.hero-win { position: absolute; display: block; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .1); }
.hero-win--gsc { top: 56px; right: 0; width: 93%; z-index: 1; text-decoration: none; transition: transform .3s ease, box-shadow .3s ease; }
.hero-win--gsc:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .7), 0 0 0 2px var(--cyan); }
.hero-win--gsc img { width: 100%; height: auto; }
.hero-win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #f1f4f8; border-bottom: 1px solid #e2e7ee; }
.hero-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; flex: none; }
.hero-win-bar i:nth-child(2) { background: #febc2e; }
.hero-win-bar i:nth-child(3) { background: #28c840; }
.hero-win-url { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; margin-left: 8px; padding: 4px 10px; border-radius: 6px; background: #fff; font-size: .7rem; color: #5f6b7a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero-win-url .icon { width: 11px; height: 11px; }
.hero-win--maps { left: 0; bottom: 30px; width: 55%; z-index: 2; }
.hero-win--maps .mock-search { margin: 10px; padding: 7px 14px; font-size: .82rem; }
.hero-win--maps .mock-map { height: 70px; }
.hero-win--maps .mock-list { padding: 4px 6px 8px; }
.hero-win--maps .mock-item { gap: 10px; padding: 7px 10px; }
.hero-win--maps .mock-item > span:nth-child(2) { min-width: 0; }
.hero-win--maps .mock-name { font-size: .82rem; }
.hero-win--maps .mock-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .68rem; }
.hero-win--maps .mock-rank { width: 22px; height: 22px; font-size: .7rem; }
.hero-win--maps .mock-call { padding: 5px 10px; font-size: .7rem; flex: none; }
.hero-badge { position: absolute; z-index: 3; display: flex; border-radius: 14px; box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .55); line-height: 1.25; }
.hero-badge strong { display: block; font-family: var(--font-head); font-weight: 800; letter-spacing: -0.01em; }
.hero-badge--up { top: 0; left: 0; flex-direction: column; padding: 12px 16px; background: var(--orange); color: var(--navy); font-size: .74rem; font-weight: 600; }
.hero-badge--up strong { font-size: 1.45rem; }
.hero-badge--up strong span { font-size: .9em; }
.hero-badge--stat { top: 392px; right: -14px; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; background: #fff; color: var(--muted); font-size: .74rem; }
.hero-badge--stat strong { font-size: 1.45rem; color: var(--ink); }
.hero-badge-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--teal); color: #fff; flex: none; }
.hero-badge-icon .icon { width: 20px; height: 20px; transform: rotate(-45deg); }
.hero-chip { position: absolute; z-index: 3; left: 4%; bottom: -10px; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; background: var(--navy-deep); border: 1px solid rgba(34, 194, 214, .35); color: #fff; font-size: .82rem; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); }
.hero-chip-dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #4cd964; }
.hero-spark { position: absolute; z-index: 3; fill: #fff; filter: drop-shadow(0 0 10px rgba(34, 194, 214, .7)); pointer-events: none; }
.hero-spark--1 { width: 34px; height: 34px; left: 66%; top: 474px; }
.hero-spark--2 { width: 20px; height: 20px; left: 79%; top: 448px; fill: var(--cyan-soft); }
.hero-spark--3 { width: 24px; height: 24px; left: 74%; bottom: 2px; }

/* Map-pack illustration */
.mock { margin: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; color: var(--ink); }
.mock-search { margin: 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: .9rem; }
.mock-search .icon { width: 16px; height: 16px; color: var(--muted); }
.mock-map { height: 130px; background: #e4efe7; position: relative; overflow: hidden; }
.mock-map svg { width: 100%; height: 100%; }
.mock-ping { opacity: .25; }
.mock-list { list-style: none; margin: 0; padding: 6px 8px 10px; }
.mock-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; }
.mock-item + .mock-item { margin-top: 2px; }
.mock-item.is-top { background: #e7f6f9; border: 2px solid var(--cyan); }
.mock-rank { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; background: #e9eff1; color: #8aa0aa; flex: none; }
.is-top .mock-rank { background: var(--teal-dark); color: #fff; }
.mock-name { font-weight: 700; font-size: .88rem; display: block; color: var(--ink); }
.mock-item:not(.is-top) .mock-name { color: #8aa0aa; }
.mock-meta { display: block; font-size: .72rem; color: #8aa0aa; }
.mock-meta .stars { color: #f5a623; letter-spacing: 1px; }
.mock-item:not(.is-top) .stars { color: #a9b7bd; }
.mock-call { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; background: var(--teal-dark); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; }
.mock-call .icon { width: 13px; height: 13px; }

/* ---------- Problems ---------- */
.problem-icon { width: 30px; height: 30px; border-radius: 8px; }
.problem-icon .icon { width: 17px; height: 17px; }
.callout { margin-top: 28px; background: var(--navy); color: #e5eef2; border-radius: var(--radius); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 28px; font-size: 1.05rem; }
.callout strong { color: var(--cyan); }
.callout .btn { flex: none; white-space: nowrap; }

/* ---------- Buyer journey ---------- */
.journey .card { border: 0; border-top: 4px solid var(--cyan-soft); box-shadow: var(--shadow-soft); padding-top: 24px; }
.journey .card:nth-child(2) { border-top-color: var(--cyan-mid); }
.journey .card:nth-child(3) { border-top-color: var(--teal); }
.journey .card:nth-child(4) { border-top-color: var(--navy); }
.journey-num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; line-height: 1; color: var(--cyan); }
.journey .card:nth-child(4) .journey-num { color: var(--navy); }
.journey h3 { margin-top: 12px; }
.journey .query { display: block; font-style: italic; font-weight: 600; font-size: .82rem; color: var(--teal); margin-bottom: 12px; }
.journey-note { margin-top: 24px; max-width: 720px; font-size: .95rem; }
.journey-note strong { color: var(--ink); }
.subhead { font-size: clamp(1.35rem, 2.4vw, 1.65rem); font-weight: 800; margin: 64px 0 24px; font-family: var(--font-head); }
.dark-card { background: var(--navy); color: #c7d6dd; border-radius: var(--radius); padding: 28px 24px; }
.dark-card h3 { color: #fff; font-size: 1.15rem; margin: 20px 0 10px; }
.dark-card p { font-size: .925rem; }

/* ---------- Who we help ---------- */
.who-card { display: flex; gap: 16px; background: #fff; border-radius: var(--radius); padding: 22px 20px; align-items: flex-start; }
.who-card .icon-box { width: 40px; height: 40px; flex: none; }
.who-card h3 { font-size: 1rem; margin: 0 0 8px; }
.who-card p { font-size: .88rem; }

/* ---------- Comparison table ---------- */
.compare-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 18px 22px; text-align: left; vertical-align: top; }
.compare thead th { background: var(--navy); color: #e6eef2; font-weight: 700; font-size: .9rem; }
.compare thead th.us { background: var(--navy-2); color: var(--cyan); }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare tbody th { color: var(--ink); font-weight: 700; width: 28%; }
.compare td { color: var(--muted); }
.compare td.us { background: var(--bg-tint); color: var(--ink); }
.compare tr:last-child td.us { font-weight: 700; }

/* ---------- ROI ---------- */
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.roi-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; margin-bottom: 20px; }
.roi-copy p + p { margin-top: 16px; }
.calc { background: #fff; color: var(--text); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.calc h3 { color: var(--ink); font-size: 1.25rem; font-family: var(--font-body); }
.calc-sub { font-size: .875rem; color: var(--muted); margin: 4px 0 20px; }
.calc-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid #c9dde3; border-radius: var(--radius-sm); background: #fff; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23052a3c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat; cursor: pointer; text-overflow: ellipsis; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(34, 194, 214, .2); }
.field textarea { min-height: 110px; resize: vertical; }
.field [aria-invalid="true"] { border-color: #d9534f; background-color: #fff5f4; }
/* Phone country picker (intl-tel-input) */
.field .iti { display: block; width: 100%; --iti-border-color: #c9dde3; --iti-hover-color: rgba(11, 138, 165, .08); --iti-icon-color: #52707d; --iti-spacer-horizontal: 12px; }
.field .iti__selected-country-primary { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.field .iti__selected-dial-code { color: var(--ink); }
.field .iti__country-selector { border-radius: 10px; overflow: hidden; font-size: .95rem; color: var(--ink); }
.field .iti__country-list { max-height: 240px; }
.field .iti__dial-code { color: var(--muted); }
.field .iti input.iti__search-input { min-height: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; font-size: .95rem;
  padding: 10px calc(var(--iti-spacer-horizontal) * 2 + var(--iti-clear-icon-size)) 10px calc(var(--iti-spacer-horizontal) * 2 + var(--iti-globe-icon-size)); }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.calc-box { background: var(--bg-soft); border-radius: 12px; padding: 14px; }
.calc-box span { display: block; font-size: .72rem; font-weight: 600; color: var(--muted); }
.calc-box output { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.45rem; color: var(--ink); margin-top: 6px; line-height: 1.1; word-break: break-word; }
.calc-box--dark { background: var(--navy); }
.calc-box--dark span { color: #b8cbd3; }
.calc-box--dark output { color: var(--cyan); }
.calc-note { font-size: .74rem; color: var(--muted); margin-top: 14px; line-height: 1.5; }

/* ---------- Process ---------- */
.step { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 20px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.step-when { display: block; margin: 18px 0 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.step h3 { font-size: 1rem; margin-bottom: 10px; }
.step p { font-size: .86rem; }
.step--dark { background: var(--navy); color: #c7d6dd; }
.section--soft .step:not(.step--dark) { background: #fff; }
.step--dark h3 { color: #fff; }
.step--dark .step-num { background: var(--cyan); color: var(--navy); }
.step--dark .step-when { color: var(--cyan); }
.note { display: flex; gap: 12px; margin-top: 20px; background: var(--note); border-radius: 12px; padding: 18px 22px; font-size: .9rem; color: #4a3b1d; }
.note .icon { color: #c27c0e; margin-top: 2px; }
.note strong { color: #2e2611; }

/* ---------- Results ---------- */
.stat-card { background: var(--navy); border-radius: var(--radius); padding: 24px; color: #c7d6dd; font-size: .9rem; }
.stat-card strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--cyan); line-height: 1; margin-bottom: 12px; }
.proof-track-title { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 56px 0 16px; }

/* Live project showcase (Search Console screenshots) */
.proof { position: relative; overflow: hidden; background: radial-gradient(900px 420px at 100% 0, rgba(34, 194, 214, .16), transparent 60%), radial-gradient(700px 380px at 0 100%, rgba(254, 179, 67, .08), transparent 60%), var(--navy); border-radius: 24px; padding: 36px; color: #c7d6dd; box-shadow: var(--shadow); }
.proof-totals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; list-style: none; margin: 0 0 32px; padding: 0; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; overflow: hidden; }
.proof-totals li { background: var(--navy); padding: 20px 22px; font-size: .85rem; line-height: 1.4; }
.proof-totals strong { display: block; font-family: var(--font-head); font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 800; line-height: 1; margin-bottom: 8px; color: #fff; font-variant-numeric: tabular-nums; }
.proof-totals li:first-child strong { background: linear-gradient(90deg, var(--cyan), var(--cyan-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.proof-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 28px; }
.proof-tab { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; text-align: left; cursor: pointer; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; color: #c7d6dd; line-height: 1.3; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.proof-tab:hover { background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.proof-tab[aria-selected="true"] { background: linear-gradient(160deg, rgba(34, 194, 214, .24), rgba(34, 194, 214, .06)); border-color: var(--cyan); box-shadow: 0 12px 30px -14px rgba(34, 194, 214, .6); }
.proof-tab-num { font-family: var(--font-head); font-size: .75rem; font-weight: 800; color: var(--cyan); letter-spacing: .08em; }
.proof-tab-title { font-weight: 700; font-size: .9rem; color: #fff; }
.proof-tab-stat { font-size: .78rem; color: #9fb6c1; }
.proof-tab[aria-selected="true"] .proof-tab-stat { color: var(--cyan-soft); }

.proof-panel { display: grid; grid-template-columns: 5fr 7fr; gap: 36px; align-items: center; }
.proof-panel[hidden] { display: none; }
.proof:not(.is-tabbed) .proof-tabs, .proof:not(.is-tabbed) .proof-switch { display: none; } /* no JS: list every project */
.proof:not(.is-tabbed) .proof-panel + .proof-panel { margin-top: 48px; }
.proof-panel:focus-visible { outline-offset: 8px; border-radius: 12px; }
.proof-live { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fe9a8; background: rgba(76, 217, 100, .1); border: 1px solid rgba(76, 217, 100, .28); padding: 5px 12px 5px 10px; border-radius: 999px; }
.proof-live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4cd964; }
.proof-info h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #fff; margin: 16px 0 12px; }
.proof-info p { font-size: .95rem; }
.proof-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; list-style: none; margin: 22px 0 0; padding: 0; }
.proof-metrics li { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 12px 14px; font-size: .78rem; line-height: 1.35; color: #9fb6c1; }
.proof-metrics strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; line-height: 1.05; margin-bottom: 4px; color: #fff; font-variant-numeric: tabular-nums; }
.proof-metrics li.is-hero { grid-column: 1 / -1; background: linear-gradient(120deg, rgba(254, 179, 67, .18), rgba(254, 179, 67, .04)); border-color: rgba(254, 179, 67, .4); color: #f5dcb1; }
.proof-metrics li.is-hero strong { font-size: 2.4rem; color: var(--orange); }

.proof-view { min-width: 0; }
.proof-switch { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; }
.proof-switch button { border: 0; background: transparent; color: #c7d6dd; font-size: .82rem; font-weight: 700; padding: 8px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.proof-switch button:hover { color: #fff; }
.proof-switch button[aria-pressed="true"] { background: var(--cyan); color: var(--navy); }
.proof-shot { margin: 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12); }
.proof-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4f8; border-bottom: 1px solid #e2e7ee; }
.proof-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.proof-bar i:nth-child(2) { background: #febc2e; }
.proof-bar i:nth-child(3) { background: #28c840; }
.proof-bar span { margin-left: 10px; font-size: .72rem; font-weight: 600; color: #5f6b7a; }
.proof-zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #edf1f7; cursor: zoom-in; }
.proof-zoom[hidden] { display: none; }
.proof-zoom img { width: 100%; height: auto; }
.proof-zoom:focus-visible { outline-offset: -4px; }
.proof-zoom-hint { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(5, 42, 60, .88); color: #fff; font-size: .75rem; font-weight: 700; opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s; }
.proof-zoom-hint .icon { width: 14px; height: 14px; }
.proof-zoom:hover .proof-zoom-hint, .proof-zoom:focus-visible .proof-zoom-hint { opacity: 1; transform: none; }
.proof-pin { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0, 0, 0, .3); pointer-events: none; }
.proof-pin::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: var(--orange); opacity: 0; }
.proof-pin span { position: absolute; right: 50%; bottom: calc(100% + 8px); white-space: nowrap; background: var(--orange); color: var(--navy); font-size: .74rem; font-weight: 800; padding: 5px 10px; border-radius: 8px 8px 0 8px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4); }

.proof-cite { margin-top: 44px; padding-top: 36px; border-top: 1px solid rgba(255, 255, 255, .1); }
.proof-cite-head { max-width: 680px; margin-bottom: 24px; }
.proof-cite-head h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: #fff; margin: 16px 0 12px; }
.proof-cite-head p { font-size: .95rem; }
.proof-cite-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; list-style: none; margin: 0; padding: 0; }
.proof-cite-card { display: flex; flex-direction: column; min-width: 0; padding: 20px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; transition: border-color .2s, transform .2s; }
.proof-cite-card:hover { border-color: rgba(34, 194, 214, .5); transform: translateY(-3px); }
.proof-cite-card > strong { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; background: linear-gradient(90deg, #b48cff, var(--cyan-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.proof-cite-label { margin-top: 6px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fb6c1; }
.proof-cite-card p { margin: 12px 0 18px; font-size: .88rem; }
.proof-cite-card .proof-shot { margin-top: auto; }

.proof-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.proof-cta strong { color: #fff; }
.proof-cta .btn { flex: none; }

/* Screenshot lightbox */
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 56px 72px; border: 0; background: transparent; color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(2, 20, 28, .92); }
.lightbox figure { margin: 0; max-width: 1400px; }
.lightbox img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 160px); margin: 0 auto; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); }
.lightbox figcaption { margin-top: 14px; text-align: center; font-size: .9rem; color: #c7d6dd; }
.lightbox-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background .2s; }
.lightbox-btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-prev, .lightbox-next { top: 50%; margin-top: -24px; }
.lightbox-prev { left: 12px; }
.lightbox-prev .icon { transform: rotate(180deg); }
.lightbox-next { right: 12px; }

/* ---------- Checklist ---------- */
.check-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.check-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.check-intro h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; margin-bottom: 18px; }
.check-cta { margin-top: 28px; background: var(--navy); color: #fff; border-radius: var(--radius); padding: 26px; }
.check-cta p { margin-bottom: 18px; }
.check-more { margin-top: 18px; font-size: .95rem; }
.check-more a { color: var(--teal-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: chk; }
.check-list li { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; background: #fff; }
.check-list li::before { counter-increment: chk; content: counter(chk); width: 28px; height: 28px; flex: none; border-radius: 7px; background: var(--chip); color: var(--teal-dark); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.check-list h3 { font-size: .98rem; margin-bottom: 4px; }
.check-list p { font-size: .85rem; color: var(--muted); }

/* ---------- Locations ---------- */
.state-card { background: #fff; border-radius: var(--radius); padding: 22px 20px; }
.state-card h3 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; font-family: var(--font-head); }
.state-card h3 .icon { color: var(--teal); width: 18px; height: 18px; }
.state-card > p { font-size: .85rem; margin: 6px 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { background: var(--chip); color: var(--ink); font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.chips--outline li { background: #fff; border: 1px solid #cfe0e6; font-size: .76rem; }
.also { margin-top: 20px; background: #fff; border-radius: var(--radius); padding: 22px 20px; }
.also h3 { font-size: 1rem; margin-bottom: 14px; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; align-items: start; }
.plan { border-radius: 20px; padding: 36px 30px 30px; position: relative; }
.plan--full { background: var(--navy); color: #d3e1e7; }
.plan--full h3 { color: #fff; }
.plan--diy { background: #fff; border: 1.5px solid #cfe6ec; }
.plan-badge { position: absolute; top: -13px; left: 24px; background: var(--orange); color: var(--navy); font-size: .7rem; font-weight: 800; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.55rem; font-family: var(--font-head); }
.plan-sub { font-size: .88rem; margin: 6px 0 22px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; color: #fff; }
.plan-price strong { font-family: var(--font-head); font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.plan-term { color: var(--cyan); font-weight: 700; font-size: .85rem; margin-top: 6px; }
.plan-features { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; font-size: .92rem; }
.plan-features li { display: flex; gap: 10px; color: #e6eef2; }
.plan-features .icon { color: var(--cyan); width: 18px; height: 18px; margin-top: 2px; }
.plan-foot { font-size: .76rem; text-align: center; margin-top: 16px; color: #a9bfc9; }
.addon { background: var(--bg-soft); border-radius: 12px; padding: 18px; }
.addon + .addon { margin-top: 12px; }
.addon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.addon h4 { font-size: 1rem; }
.addon-price { font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.3rem; white-space: nowrap; }
.addon-price small { font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--muted); }
.addon p { font-size: .82rem; }
.addon-included { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .76rem; font-weight: 700; color: var(--teal-dark); }
.addon-included .icon { width: 15px; height: 15px; }

/* Plan builder */
.stepper { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.stepper-btn { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid #c9dde3; background: #fff; color: var(--ink); font-size: 1.2rem; font-weight: 700; line-height: 1; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; }
.stepper-btn:hover { border-color: var(--teal); background: var(--chip); }
.stepper-btn:active { transform: scale(.92); }
.stepper-btn:disabled { opacity: .4; cursor: default; background: #fff; border-color: #c9dde3; }
.stepper input { width: 56px; height: 38px; border: 1.5px solid #c9dde3; border-radius: var(--radius-sm); text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus, .stepper-btn:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(34, 194, 214, .2); }
.stepper-unit { font-size: .78rem; color: var(--muted); }
.addon-sub { margin-left: auto; font-family: var(--font-head); font-weight: 800; color: var(--ink); }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 9px 4px; border: 1.5px solid #c9dde3; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 700; color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.seg input:hover + span { border-color: var(--teal); }
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(34, 194, 214, .35); }
.builder-total { display: grid; gap: 2px; background: var(--navy); color: #b8cbd3; border-radius: 14px; padding: 16px 18px; margin: 16px 0; }
.builder-total-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.builder-total-price { font-size: .9rem; }
.builder-total-price strong { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--cyan); letter-spacing: -0.02em; line-height: 1.1; display: inline-block; }
.builder-total-breakdown { font-size: .76rem; }
.builder-tip { background: var(--note); border-radius: 10px; padding: 10px 14px; font-size: .8rem; color: #4a3b1d; margin: -4px 0 16px; }
.builder-tip a { color: var(--teal-dark); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 700; color: var(--ink); font-size: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: inherit; font-weight: inherit; }
.faq-plus { width: 26px; height: 26px; border-radius: 50%; background: var(--chip); color: var(--teal-dark); display: grid; place-items: center; flex: none; transition: transform .2s; }
.faq-plus .icon { width: 14px; height: 14px; stroke-width: 2.5; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq-answer { padding: 0 22px 20px; font-size: .95rem; }
.faq-answer p + p { margin-top: 10px; }

/* ---------- Audit / contact ---------- */
.audit { position: relative; overflow: hidden; }
.audit .hero-waves { opacity: .35; }
.audit-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.audit h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 800; margin-bottom: 18px; }
.audit-get { margin-top: 28px; }
.audit-get h3 { font-size: 1rem; margin-bottom: 14px; }
.audit-call { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .12); }
.audit-call p { margin-bottom: 16px; }
.audit-call strong { color: #fff; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .95rem; color: #e1ebef; }
.ticks li { display: flex; gap: 10px; }
.ticks .icon { color: var(--cyan); margin-top: 3px; width: 18px; height: 18px; }
.form-card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow); color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card .btn { margin-top: 22px; }
.form-fine { text-align: center; font-size: .76rem; color: var(--muted); margin-top: 12px; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: .9rem; background: #e6f7ee; color: #145c36; }
.form-status.is-visible { display: block; }
.form-status.is-error { background: #fdecec; color: #8a1c1c; }
.req { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb7c2; padding: 56px 0 28px; font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(2, auto); gap: 40px; }
.footer-brand { margin-bottom: 16px; }
.footer-brand img { display: block; height: 52px; width: auto; }
.footer-about { max-width: 340px; }
.site-footer h2 { font-family: var(--font-body); font-size: .9rem; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 22px; font-size: .8rem; }

/* ---------- Mobile sticky call bar ---------- */
.btn--call { background: var(--cyan); color: var(--navy); }
.btn--call:hover { background: #4fd3e3; }

/* Sticky strategy-call button: a floating pill on desktop, a bottom bar with the audit link on phones */
.sticky-cta { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; }
.sticky-cta .btn--primary { display: none; }
.sticky-cta .btn--call { box-shadow: 0 16px 32px -12px rgba(2, 30, 42, .6), 0 0 0 4px rgba(34, 194, 214, .18); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav-list { gap: 16px; }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .hero-badge--stat { gap: 10px; padding: 10px 14px 10px 10px; font-size: .68rem; }
  .hero-badge--stat strong { font-size: 1.2rem; }
  .hero-badge-icon { width: 32px; height: 32px; }
}

/* ---------- Motion (kept to a few places; off for reduced-motion users) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-waves path { animation: wave-bob 9s ease-in-out infinite alternate; }
  .hero-waves path:nth-child(2) { animation-duration: 12s; animation-delay: -3s; }
  .hero-waves path:nth-child(3) { animation-duration: 15s; animation-delay: -6s; }

  .mock { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .15s both; }
  .hero-win--gsc { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .05s both; }
  .hero-win--maps { animation-delay: .3s; }
  .hero-badge, .hero-chip { animation: pop .5s cubic-bezier(.3, 1.5, .5, 1) both; }
  .hero-badge--up { animation-delay: .8s; }
  .hero-badge--stat { animation-delay: 1s; }
  .hero-chip { animation-delay: 1.2s; }
  .hero-chip-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4cd964; animation: ping 2s ease-out infinite; }
  .hero-spark { animation: twinkle 3.2s ease-in-out infinite; }
  .hero-spark--2 { animation-delay: -1.1s; }
  .hero-spark--3 { animation-delay: -2.2s; }
  .mock-item { animation: rise .5s ease-out both; }
  .mock-item:nth-child(1) { animation-delay: .55s; }
  .mock-item:nth-child(2) { animation-delay: .7s; }
  .mock-item:nth-child(3) { animation-delay: .85s; }
  .mock-pin { animation: pin-drop .6s cubic-bezier(.3, 1.6, .5, 1) .9s both; transform-box: fill-box; transform-origin: 50% 100%; }
  .mock-ping { animation: ping 2.4s ease-out 1.5s infinite; transform-box: fill-box; transform-origin: center; }

  .builder-total-price strong.is-bump { animation: bump .35s ease-out; }

  .proof-live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4cd964; animation: ping 2s ease-out infinite; }
  .proof-pin::before { animation: ping 2.2s ease-out .6s infinite; }
  .proof-panel.is-entering .proof-info > *, .proof-panel.is-entering .proof-view { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
  .proof-panel.is-entering .proof-info > :nth-child(2) { animation-delay: .05s; }
  .proof-panel.is-entering .proof-info > :nth-child(3) { animation-delay: .1s; }
  .proof-panel.is-entering .proof-info > :nth-child(4) { animation-delay: .15s; }
  .proof-panel.is-entering .proof-view { animation-delay: .08s; }
  .proof-zoom.is-entering img { animation: shot-in .35s ease-out both; }
  .proof-zoom.is-entering .proof-pin { animation: pin-drop .5s cubic-bezier(.3, 1.6, .5, 1) .25s both; }
}
@keyframes wave-bob { from { transform: translateY(-10px); } to { transform: translateY(10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pin-drop { from { opacity: 0; transform: translateY(-26px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { opacity: .55; transform: scale(.4); } 80%, 100% { opacity: 0; transform: scale(2.6); } }
@keyframes bump { 40% { transform: scale(1.08); } }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1) rotate(0); } 50% { opacity: .45; transform: scale(.7) rotate(20deg); } }
@keyframes shot-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 40px; }
  .section { padding: 72px 0; }

  .nav-toggle { display: grid; }
  .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 16px var(--gutter) 32px; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s; overflow-y: auto; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav .btn { margin-top: 24px; }
  body.nav-open { overflow: hidden; }

  .hero { padding-bottom: 120px; }
  .hero-grid, .roi-grid, .check-grid, .audit-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { height: auto; max-width: 560px; padding-top: 18px; }
  .hero-visual::before { inset: 0; }
  .hero-win { position: relative; }
  .hero-win--gsc { top: auto; width: 100%; }
  .hero-win--maps { bottom: auto; width: 82%; margin: -48px 0 0 auto; }
  .hero-badge--up { top: 0; left: -6px; }
  .hero-badge--stat { top: 0; right: -6px; }
  .hero-chip { position: relative; right: auto; bottom: auto; margin-top: 18px; }
  .hero-spark { display: none; }
  .check-intro { position: static; }

  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .proof { padding: 28px; }
  .proof-totals { grid-template-columns: repeat(2, 1fr); }
  .proof-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 -28px 24px; padding: 2px 28px 6px; scroll-padding: 0 28px; }
  .proof-tabs::-webkit-scrollbar { display: none; }
  .proof-tab { flex: 0 0 200px; scroll-snap-align: start; }
  .proof-panel { grid-template-columns: 1fr; gap: 24px; }
  .proof-cite-grid { grid-template-columns: 1fr; max-width: 560px; }
  .proof-cta { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 560px; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 .step--dark { grid-column: 1 / -1; }
  .callout { flex-direction: column; align-items: flex-start; padding: 24px; }
  .callout .btn { white-space: normal; }

  /* comparison table → stacked cards */
  .compare-wrap { border: 0; border-radius: 0; overflow: visible; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare tr { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 12px; }
  .compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 0; }
  .compare tbody th { background: var(--navy); color: #fff; padding: 12px 16px; width: 100%; }
  .compare td { padding: 12px 16px; }
  .compare td::before { content: attr(data-label); display: block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; color: var(--muted); }
  .compare td.us::before { color: var(--teal); }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; }
  body { padding-bottom: 72px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 32px; }
  .grid--3, .grid--4, .grid--5 { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 44px); padding-bottom: 96px; }
  .hero-cta .btn { width: 100%; }
  .hero-eyebrow { font-size: .7rem; letter-spacing: .1em; align-items: flex-start; }
  .hero-trust-icons > span { width: 40px; height: 40px; }
  .hero-trust-icons .icon { width: 17px; height: 17px; }
  .hero-trust strong { font-size: .92rem; }
  .hero-win--maps { width: 92%; margin-top: -32px; }
  .hero-badge { border-radius: 12px; }
  .hero-badge--up { padding: 9px 12px; font-size: .66rem; max-width: 46%; }
  .hero-badge--up strong, .hero-badge--stat strong { font-size: 1.15rem; }
  .hero-badge--stat { padding: 9px 12px 9px 9px; gap: 9px; font-size: .66rem; max-width: 50%; }
  .hero-badge-icon { width: 32px; height: 32px; }
  .hero-chip { font-size: .76rem; padding: 9px 14px; }
  .header-inner > .btn { display: none; }
  .calc { padding: 22px 18px; }
  .proof { padding: 22px 16px; border-radius: 18px; }
  .proof-totals li { padding: 16px 14px; font-size: .78rem; }
  .proof-tabs { margin: 0 -16px 20px; padding: 2px 16px 6px; scroll-padding: 0 16px; }
  .proof-tab { flex-basis: 172px; }
  .proof-metrics strong { font-size: 1.35rem; }
  .proof-metrics li.is-hero strong { font-size: 2rem; }
  .proof-switch { display: flex; }
  .proof-switch button { flex: 1; padding: 8px 10px; }
  .proof-pin { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-width: 2px; }
  .proof-pin span { font-size: .62rem; padding: 3px 7px; bottom: calc(100% + 5px); }
  .proof-zoom-hint { opacity: 1; transform: none; padding: 4px 9px; font-size: .68rem; }
  .proof-cta .btn { width: 100%; }
  .lightbox { padding: 64px 8px 80px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 16px; margin: 0; }
  .lightbox-prev { left: calc(50% - 60px); }
  .lightbox-next { right: calc(50% - 60px); }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-out { grid-template-columns: 1fr 1fr; }
  .calc-box--dark { grid-column: 1 / -1; }
  .seg { gap: 4px; }
  .seg span { padding: 9px 0; font-size: .72rem; }
  .form-card { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .plan { padding: 32px 20px 24px; }
  .plan-price strong { font-size: 2.7rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq summary { padding: 18px; }
  .faq-answer { padding: 0 18px 18px; }

  .sticky-cta { left: 0; right: 0; bottom: 0; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(5, 42, 60, .97); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5); }
  .sticky-cta .btn { display: inline-flex; flex: 1; min-height: 46px; padding: 10px 12px; font-size: .9rem; }
  .sticky-cta .btn--call { box-shadow: none; }
  .sticky-cta-long { display: none; }
}

/* Terms strip under the pricing cards */
.pricing-strip { display: flex; gap: 10px; align-items: flex-start; justify-content: center; max-width: 980px; margin: 28px auto 0; text-align: center; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.pricing-strip .icon { color: var(--teal); margin-top: 2px; }
