/* ============================================================
   PACIFIC WATER CO | pacificwaterco.com
   One stylesheet, no build step. Mobile-first.
   Palette: deep Pacific ink, tide blue, aqua, foam, paper.
   Type: Switzer (all roles), self hosted, Basel Grotesk's open cousin.
   ============================================================ */

/* ---------- Fonts ----------
   Switzer (Fontshare, free for commercial use), the closest open
   cousin of Basel Grotesk, the paid face used on socalhedge.com.
   To upgrade to real Basel later: license it, drop the woff2 files in
   /fonts, and update these @font-face blocks. */
@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Switzer';
  src: url('../fonts/switzer-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0A2F3C;        /* deep pacific */
  --tide: #12505F;
  --aqua: #63C3CD;
  --aqua-deep: #22707E;  /* accessible accent on light bg */
  --foam: #E8F2F3;
  --mist: #F3F8F8;
  --paper: #FAFCFC;
  --white: #FFFFFF;
  --text: #22414C;
  --muted: #5B7078;
  --line: rgba(10, 47, 60, 0.14);
  --font-display: 'Switzer', 'Helvetica Neue', -apple-system, Arial, sans-serif;
  --font-sans: 'Switzer', 'Helvetica Neue', -apple-system, Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 10px 40px -18px rgba(10, 47, 60, 0.25);
  --container: 1180px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset-lite ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: var(--aqua-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--aqua); color: var(--ink); }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
h1, h2 { font-weight: 320; letter-spacing: -0.022em; }
h3 { font-weight: 500; letter-spacing: -0.008em; line-height: 1.25; }
h4, h5 { color: var(--ink); line-height: 1.3; }

:focus-visible {
  outline: 2px solid var(--aqua-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 0.6rem 1rem; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.section { padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.section--tint { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--foam); }
.section--ink h2, .section--ink h3 { color: var(--paper); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aqua-deep);
}
.section--ink .eyebrow { color: var(--aqua); }

.section-head { max-width: 46rem; margin-bottom: clamp(1.4rem, 3vw, 2.25rem); }
.section-head .eyebrow { display: block; margin-bottom: 0.7rem; }
.section-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.section-head p { margin-top: 0.8rem; color: var(--muted); font-size: 1rem; }
.section--ink .section-head p { color: rgba(232, 242, 243, 0.75); }

/* numbered section label, à la 01 WHY PACIFIC */
.sec-num {
  display: flex; align-items: center; gap: 0.9rem;
  margin-bottom: 1rem;
}
.sec-num::after { content: ''; height: 1px; width: 3.2rem; background: var(--aqua-deep); opacity: 0.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.9rem;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn:hover { background: var(--tide); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--foam); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--foam); }
.btn--big { padding: 1.05rem 2.3rem; font-size: 1.05rem; }

/* ---------- Offer bar + financing strip (top of every page) ---------- */
.offer-bar {
  display: block;
  background: var(--tide);
  color: var(--paper);
  text-align: center;
  padding: 0.6rem var(--pad);
  font-size: 0.88rem;
}
.offer-bar:hover { text-decoration: none; background: var(--ink); }
.offer-bar strong {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 0.6rem;
}
.offer-bar span { color: rgba(232, 242, 243, 0.85); }

.finance-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 0.55rem var(--pad);
  font-size: 0.85rem;
}
.finance-strip .container {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center; gap: 0.4rem 1rem;
  padding-inline: 0;
}
.finance-strip strong { font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.finance-strip .muted-light { color: rgba(232, 242, 243, 0.7); }
.finance-strip .lender {
  background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: 0.78rem;
  padding: 0.25rem 0.7rem; border-radius: 999px;
}

/* ---------- Complete package configurator ---------- */
.package-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 800px) { .package-grid { grid-template-columns: 5fr 6fr; } }
.package-includes {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.4vw, 1.7rem);
}
/* matches the height of the picker panel beside it, with the buttons
   pushed to the bottom edge so the fill reads as deliberate */
.package-includes { display: flex; flex-direction: column; }
.package-intro { color: var(--muted); margin-bottom: 0.75rem; font-size: 0.92rem; line-height: 1.55; }
.package-includes ul { list-style: none; padding: 0; display: grid; gap: 0.25rem; margin: 0.45rem 0 0.9rem; align-content: start; }
.package-includes .hero-ctas { margin-top: auto; }
/* Single column at every width. Six ticks read faster as one list than as
   two columns the eye has to cross back and forth between. */
.package-includes li { padding-left: 1.8rem; position: relative; font-weight: 500; font-size: 0.9rem; line-height: 1.5; }

/* Quick guide under the buttons, always open (Joaquin, 2026-11-03). */
.package-guide { margin-top: 1rem; padding-top: 0.85rem; border-top: 1px solid var(--line); }
.package-guide-title { margin: 0; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--aqua-deep); }
.package-includes .package-guide ul { gap: 0.6rem; margin: 0.6rem 0 0; }
.package-includes .package-guide li { padding-left: 0; font-weight: 400; font-size: 0.92rem; line-height: 1.55; color: var(--muted); }
.package-includes .package-guide li::before { content: none; }
.package-guide li strong { color: var(--ink); font-weight: 600; }
.package-includes li::before {
  content: '';
  position: absolute; left: 0; top: 0.42em;
  width: 0.85rem; height: 0.5rem;
  border-left: 2px solid var(--aqua-deep);
  border-bottom: 2px solid var(--aqua-deep);
  transform: rotate(-45deg);
}
/* Both choices live in one panel, divided, the way the El Paso page does it */
.picker-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1rem, 2vw, 1.4rem);
}
.picker-panel .picker + .picker {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}
/* Side by side, the panel matches the height of the card beside it (which
   now carries the Quick guide); the product stage takes the extra space. */
@media (min-width: 800px) {
  .package-grid > .reveal:last-child { display: flex; flex-direction: column; }
  .package-grid .picker-panel { flex: 1; display: flex; flex-direction: column; }
  .package-grid .picker-panel > .picker:first-child { flex: 1; display: flex; flex-direction: column; }
  .package-grid .picker-panel > .picker:first-child .picker-stage { flex: 1; }
}

/* image based size picker: a product stage with pills underneath */
.picker-stage {
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem;
  display: grid; place-items: center;
  min-height: 190px;
}
.picker-stage img {
  max-height: 190px; width: auto; height: auto;
  object-fit: contain;
  transition: opacity 0.25s ease;
}
.picker-pills { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.75rem; }
.pill {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--tide);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem; font-weight: 600;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.pill:hover { border-color: var(--aqua-deep); }
.pill[aria-selected="true"] {
  background: var(--foam);
  border-color: var(--aqua-deep);
  color: var(--ink);
}
.pill-note {
  margin-top: 0.7rem;
  font-size: 0.9rem; color: var(--muted);
  min-height: 1.4em;
}

/* RO choice cards, with product imagery */
.ro-cards { display: grid; gap: 0.9rem; }
@media (min-width: 560px) { .ro-cards { grid-template-columns: 1fr 1fr; } }
/* one card only (the tankless upgrade): image beside the text, full width */
.ro-cards.ro-cards--single { grid-template-columns: 1fr; }
.ro-cards--single a.ro-card { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
.ro-cards--single a.ro-card figure { padding: 0.8rem; }
a.ro-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.ro-card:hover { text-decoration: none; border-color: var(--aqua-deep); transform: translateY(-2px); box-shadow: var(--shadow); }
a.ro-card figure { padding: 0.8rem 0.8rem 0; display: grid; place-items: center; }
a.ro-card figure img { max-height: 108px; width: auto; object-fit: contain; }
a.ro-card .ro-body { padding: 0.7rem 0.9rem 0.95rem; }
a.ro-card .tagline {
  display: inline-block;
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--paper); background: var(--tide);
  padding: 0.22rem 0.55rem; border-radius: 999px;
  margin-bottom: 0.5rem;
}
a.ro-card.is-upgrade .tagline { background: var(--aqua-deep); }
a.ro-card strong { display: block; color: var(--ink); font-size: 1.05rem; }
a.ro-card small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.3rem; }

/* spec sheet cards on the systems page */
.spec-grid { display: grid; gap: 1rem; }
@media (min-width: 620px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } }
a.spec-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.spec-card:hover { text-decoration: none; border-color: var(--aqua-deep); transform: translateY(-3px); box-shadow: var(--shadow); }
a.spec-card figure { display: grid; place-items: center; height: 150px; margin-bottom: 1rem; }
a.spec-card figure img { max-height: 150px; width: auto; object-fit: contain; }
a.spec-card .cat {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--aqua-deep); margin-bottom: 0.35rem;
}
a.spec-card strong { display: block; color: var(--ink); font-size: 1.15rem; }
a.spec-card .dims {
  display: block; margin-top: 0.3rem;
  font-family: 'Roboto Mono', ui-monospace, monospace;
  font-size: 0.82rem; color: var(--muted);
}
a.spec-card .go {
  display: inline-block; margin-top: 0.9rem;
  font-weight: 600; font-size: 0.92rem; color: var(--aqua-deep);
}

.picker + .picker { margin-top: 1.8rem; }
.picker-head {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: 0.9rem;
}
.picker-head .eyebrow { display: block; }
.picker-head a { font-size: 0.88rem; font-weight: 600; white-space: nowrap; }
.picker-row { display: grid; gap: 0.75rem; }
@media (min-width: 560px) { .picker-row--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 560px) { .picker-row--2 { grid-template-columns: repeat(2, 1fr); } }
a.pick {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
a.pick:hover {
  text-decoration: none;
  border-color: var(--aqua-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
a.pick .tagline {
  display: block;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--aqua-deep); margin-bottom: 0.35rem;
}
a.pick strong { display: block; color: var(--ink); font-size: 1.05rem; }
a.pick small { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 0.25rem; }

/* ---------- Why our price is lower ---------- */
.price-why { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (min-width: 800px) { .price-why { grid-template-columns: 6fr 5fr; } }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.why-stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem;
}
.why-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 320; color: var(--ink);
  letter-spacing: -0.02em;
}
.why-stat span { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.3rem; }

/* ---------- Financing section ---------- */
.finance-band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 760px) { .finance-band { grid-template-columns: 7fr 5fr; } }
.finance-band .lender-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.lender-btn {
  display: inline-block;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--paper);
  border-radius: var(--radius);
  padding: 0.85rem 1.5rem; font-weight: 600;
}
.lender-btn:hover { text-decoration: none; background: var(--foam); }
.lender-btn--ghost { background: transparent; color: var(--paper); border-color: rgba(232,242,243,0.45); }
.lender-btn--ghost:hover { background: rgba(232,242,243,0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 252, 252, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 72px;
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }

.site-nav { display: flex; align-items: center; gap: clamp(0.9rem, 1.9vw, 1.7rem); }
.site-nav a { color: var(--ink); font-weight: 500; font-size: 0.98rem; white-space: nowrap; }
.site-nav a:hover { color: var(--aqua-deep); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--aqua-deep); }
.nav-phone { font-variant-numeric: tabular-nums; }
.site-nav .btn { padding: 0.7rem 1.4rem; color: var(--paper); font-weight: 600; }
.site-nav .btn:hover { color: var(--paper); background: var(--tide); }

/* The menu button is always shown (2026-09-26, Joaquin: too many tabs). The
   bar keeps Home, Systems, Gallery, the phone and Get a Quote; everything in
   .nav-more sits behind the button, as a drop-down on desktop and as part of
   the full menu on phones. */
.site-header .container { position: relative; }
.nav-toggle {
  display: block; order: 3; flex: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-left: -0.4rem;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--ink);
  margin: 5px 0; transition: transform 0.25s ease, opacity 0.2s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 901px) {
  .site-nav { margin-left: auto; }
  .nav-more {
    display: none;
    position: absolute; top: calc(100% + 0.4rem); right: var(--pad);
    min-width: 13rem; padding: 0.45rem;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line); border-radius: 10px;
    box-shadow: var(--shadow);
  }
  .site-nav.open .nav-more { display: flex; }
  .nav-more a { padding: 0.7rem 0.9rem; border-radius: 6px; }
  .nav-more a:hover { background: var(--mist); }
}

@media (max-width: 900px) {
  .site-nav a { white-space: normal; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--pad) 1.25rem;
    display: none;
  }
  .site-nav.open { display: flex; }
  .nav-more { display: contents; }
  .site-nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav .btn { margin-top: 0.75rem; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.6rem, 6vw, 4.75rem) clamp(2.1rem, 4.5vw, 3.5rem); }
.hero-grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 760px) { .hero-grid { grid-template-columns: 7fr 5fr; } }
.hero .eyebrow { display: block; margin-bottom: 1.4rem; }
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: -0.028em;
}
.hero .lede {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  color: var(--muted);
  max-width: 34em;
}
.hero-ctas { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

/* height:auto is required — the width/height attributes on these <img> tags
   otherwise fight max-height and squash the image out of proportion */
.hero-media img {
  margin-inline: auto;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.split figure img,
.lp-hero figure img { height: auto; object-fit: contain; }

/* Product renders are tight cropped with transparency, so they sit on a
   white plate that keeps them compact instead of stretching a section. */
.hero-media img,
.lp-hero figure img {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem;
  max-height: 420px;
  object-fit: contain;
}

/* ---------- Systems lineup (services page) ---------- */
.lineup { border-top: 1px solid var(--line); }
.lineup-row {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.2rem, 5vw, 3.4rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 760px) { .lineup-row { grid-template-columns: 200px 1fr; } }
.lineup-media {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: 240px;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.lineup-media img { max-height: 100%; width: auto; object-fit: contain; }
.lineup-num {
  font-family: var(--font-display);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em;
  color: var(--aqua-deep); display: block; margin-bottom: 0.7rem;
}
.lineup-sci {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 0.3rem;
}
.lineup-row h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); font-weight: 400; letter-spacing: -0.018em; }
.lineup-row > div > p { color: var(--muted); margin-top: 0.7rem; max-width: 44em; }
.lineup-best { margin-top: 0.7rem; font-size: 0.95rem; }
.lineup-best strong { color: var(--ink); }
.lineup-specs {
  display: grid; gap: 1rem 1.6rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .lineup-specs { grid-template-columns: repeat(4, 1fr); } }
.lineup-specs dt {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--aqua-deep);
  margin-bottom: 0.3rem;
}
.lineup-specs dd { margin: 0; font-size: 0.93rem; color: var(--text); }
.lineup-price { margin-top: 1.3rem; display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: baseline; }
.lineup-price .amount {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 500; color: var(--ink);
}
.lineup-price .note { font-size: 0.88rem; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust-strip { border-block: 1px solid var(--line); background: var(--white); }
.trust-strip .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (min-width: 820px) { .trust-strip .container { grid-template-columns: repeat(4, 1fr); } }
.trust-item {
  padding: 1.3rem 1rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
@media (max-width: 819px) {
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.trust-item strong {
  display: block; font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 480; color: var(--ink);
}
.trust-item span { font-size: 0.86rem; color: var(--muted); }

/* ---------- A/B/C feature cards ---------- */
.cards-3 { display: grid; gap: 1rem; }
@media (min-width: 820px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}
.card .badge {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 300;
  color: var(--aqua-deep);
  display: block; margin-bottom: 0.9rem;
}
.card h3 { font-size: 1.28rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Systems grid ---------- */
.systems-grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .systems-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .systems-grid { grid-template-columns: repeat(4, 1fr); } }
.systems-grid--3 { }
@media (min-width: 1020px) { .systems-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.system-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.system-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.system-card .tag {
  position: absolute; top: 0.9rem; left: 0.9rem;
  background: var(--ink); color: var(--paper);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28rem 0.65rem; border-radius: 999px;
  z-index: 1;
}
.system-card figure { background: var(--white); padding: 1.4rem; }
.system-card figure img {
  aspect-ratio: 1; object-fit: contain;
  margin-inline: auto; max-height: 230px;
}
.system-card .body {
  padding: 0 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.65rem; flex: 1;
}
.system-card h3 { font-size: 1.22rem; }
.system-card .price {
  font-family: var(--font-display);
  font-size: 1.35rem; font-weight: 500; color: var(--ink);
}
.system-card .price small { font-family: var(--font-sans); font-size: 0.8rem; color: var(--muted); font-weight: 500; }
/* No flex: 1 on p. It matched p.price too, so the price box grew and
   absorbed the leftover space, shoving the description down by however
   much slack a card had. Pin the chips to the bottom instead and every
   card's copy starts at the same line. */
.system-card p { color: var(--muted); font-size: 0.94rem; }
.system-card .chips { margin-top: auto; padding-top: 0.55rem; }

/* System cards that link through to their spec sheet */
a.system-card { text-decoration: none; color: inherit; }
a.system-card:hover { text-decoration: none; border-color: var(--aqua-deep); }
a.system-card h3, a.system-card .price { color: var(--ink); }
.system-card .go {
  font-weight: 600; color: var(--aqua-deep); font-size: 0.92rem;
  margin-top: 0.25rem;
}
a.system-card:hover .go { color: var(--tide); }

/* Product shots that link through to their spec sheet.
   Grid rather than block so the image stays centred in the full width
   link instead of hugging the left edge. */
a.shot-link { display: grid; place-items: center; text-decoration: none; }
a.shot-link:hover { text-decoration: none; }
a.shot-link img { margin-inline: auto; transition: transform 0.35s ease; }
a.shot-link:hover img { transform: scale(1.03); }
.plate a.shot-link, .hero-media a.shot-link, .picker-stage a.shot-link { width: 100%; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0; list-style: none; }
.chips li {
  font-size: 0.76rem; font-weight: 600;
  color: var(--tide);
  background: var(--foam);
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
}

/* ---------- Process ---------- */
.process { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 820px) { .process { grid-template-columns: repeat(4, 1fr); } }
.step { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.section--ink .step { border-top-color: var(--aqua); }
.step .num {
  font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 300;
  color: var(--aqua-deep);
  display: block; margin-bottom: 0.5rem;
}
.section--ink .step .num { color: var(--aqua); }
.step h3 { font-size: 1.16rem; margin-bottom: 0.45rem; }
.step p { font-size: 0.95rem; color: var(--muted); }
.section--ink .step p { color: rgba(232, 242, 243, 0.75); }

/* ---------- Placeholder media (future photography) ---------- */
.placeholder-media {
  position: relative;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(99, 195, 205, 0.35), transparent 60%),
    radial-gradient(110% 100% at 90% 100%, rgba(18, 80, 95, 0.28), transparent 55%),
    var(--foam);
  border: 1px solid var(--line);
  min-height: 300px;
  aspect-ratio: 16 / 10;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.placeholder-media::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-radial-gradient(circle at 30% 45%, transparent 0 46px, rgba(10, 47, 60, 0.05) 46px 47px);
}
.placeholder-media figcaption {
  position: relative;
  font-size: 0.78rem; color: var(--tide);
  padding: 0.8rem 1rem;
  font-weight: 500;
}
.placeholder-media--tall { aspect-ratio: 4 / 5; min-height: 340px; }

/* ---------- Service area band ---------- */
.area-cities {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  font-weight: 320;
  line-height: 1.7;
  color: var(--paper);
  max-width: 52rem;
}
.area-cities .dot { color: var(--aqua); padding-inline: 0.35em; }

/* ---------- Stats ---------- */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, 1fr); } .stats--3 { grid-template-columns: repeat(3, 1fr); } }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 320; color: var(--ink);
}
.section--ink .stat strong { color: var(--paper); }
.stat span { font-size: 0.9rem; color: var(--muted); }
.section--ink .stat span { color: rgba(232, 242, 243, 0.7); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); max-width: 24em; margin-inline: auto; }
.cta-band p { margin-top: 1rem; color: var(--muted); }
.section--ink .cta-band p, .section--ink.cta-wrap p { color: rgba(232, 242, 243, 0.75); }
.cta-band .hero-ctas { justify-content: center; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.spec { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.96rem; }
table.spec th, table.spec td { text-align: left; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); }
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec th {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--tide); background: var(--mist);
}
table.spec td:last-child { color: var(--muted); }
table.spec .price-cell { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- Split layout ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 780px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-text { grid-template-columns: 7fr 5fr; }
}
.split h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1rem; }
.split p + p { margin-top: 1rem; }
.split .muted { color: var(--muted); }

/* ---------- Legal documents: privacy policy, terms of use ---------- */
.legal { max-width: 48rem; }
.legal h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-top: 0.6rem; }
.legal .updated { font-size: 0.88rem; color: var(--muted); margin-top: 0.7rem; }
.legal h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.legal h3 { font-size: 1.06rem; margin-top: 1.6rem; }
.legal h4 { font-size: 0.95rem; margin-top: 1.2rem; color: var(--tide); }
.legal p, .legal li { color: var(--muted); font-size: 0.97rem; }
.legal p { margin-top: 0.75rem; }
.legal ul, .legal ol { margin: 0.75rem 0 0; padding-left: 1.35rem; }
.legal li { margin-bottom: 0.5rem; }
.legal li ul { margin-top: 0.5rem; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal .lead { font-size: 1.05rem; }
@media (max-width: 640px) {
  .legal h2 { margin-top: 1.8rem; padding-top: 1.1rem; }
  .legal p, .legal li { font-size: 0.93rem; }
}

/* ---------- Editorial photo ---------- */
.photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--foam);
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; display: grid; gap: 0.7rem; }
.checklist li { padding-left: 1.7rem; position: relative; }
.checklist li::before {
  content: '';
  position: absolute; left: 0; top: 0.42em;
  width: 0.85rem; height: 0.5rem;
  border-left: 2px solid var(--aqua-deep);
  border-bottom: 2px solid var(--aqua-deep);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0; max-width: 50rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 0;
  font-weight: 600; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 300; color: var(--aqua-deep);
  flex: none; transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; color: var(--muted); max-width: 44em; }
.faq details p + p { margin-top: 0.6rem; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tide);
  margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 0.8rem 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--aqua-deep);
  box-shadow: 0 0 0 3px rgba(99, 195, 205, 0.3);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); }
/* honeypot, hidden from humans, present for bots */
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(232, 242, 243, 0.8); font-size: 0.95rem; }
.site-footer .cols {
  display: grid; gap: 2.2rem;
  padding-block: clamp(2.8rem, 6vw, 4.2rem) 2.2rem;
}
@media (min-width: 820px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }
.site-footer h4 {
  color: var(--paper);
  font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: rgba(232, 242, 243, 0.8); }
.site-footer a:hover { color: var(--aqua); }
.site-footer .brand { color: var(--paper); margin-bottom: 0.8rem; }
.site-footer .about-blurb { max-width: 30em; font-size: 0.92rem; color: rgba(232, 242, 243, 0.65); }
.site-footer .fine {
  border-top: 1px solid rgba(232, 242, 243, 0.15);
  padding-block: 1.4rem;
  font-size: 0.82rem;
  color: rgba(232, 242, 243, 0.55);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; justify-content: space-between;
}
.site-footer .fine a { color: rgba(232, 242, 243, 0.7); }

/* ---------- Landing pages ---------- */
.lp-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.lp-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 66px; gap: 1rem;
}
.lp-call {
  font-weight: 600; color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.lp-call svg { display: inline-block; vertical-align: -3px; margin-right: 6px; }
.lp-hero { padding-block: clamp(2.5rem, 6vw, 5rem); }
.lp-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 920px) { .lp-grid { grid-template-columns: 7fr 5fr; } }
.lp-grid .form-card { position: sticky; top: 1.5rem; }
.lp-hero h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 300; letter-spacing: -0.025em; }
.lp-hero .lede { margin-top: 1.2rem; font-size: 1.12rem; color: var(--muted); max-width: 32em; }
.lp-price {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}
.lp-price small { font-family: var(--font-sans); font-size: 0.55em; color: var(--muted); }
.lp-points { margin-top: 1.6rem; }
.lp-footer {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  font-size: 0.82rem; color: var(--muted);
}
.lp-footer .container { display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; justify-content: space-between; }

/* thank-you / 404 */
.simple-hero { min-height: 55vh; display: grid; place-content: center; text-align: center; padding-block: 4rem; }
.simple-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 300; letter-spacing: -0.025em; }
.simple-hero p { margin-top: 1.1rem; color: var(--muted); max-width: 36em; }
.simple-hero .hero-ctas { justify-content: center; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .system-card, .btn { transition: none; }
}

/* ---------- Guides ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.6rem 0 0.9rem; }
.prose h3 { font-size: 1.18rem; margin: 1.9rem 0 0.6rem; }
.prose p { margin: 0 0 1.05rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }
.prose strong { color: var(--ink); }
.prose .callout {
  background: var(--foam);
  border-left: 3px solid var(--aqua-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
}
.prose .callout p:last-child { margin-bottom: 0; }
.guide-meta { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }
.guides-grid { display: grid; gap: 1.25rem; }
@media (min-width: 680px) { .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .guides-grid { grid-template-columns: repeat(3, 1fr); } }
a.card { display: block; transition: box-shadow 0.25s ease, transform 0.25s ease; }
a.card:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-3px); }
a.card .read-more { font-weight: 600; color: var(--aqua-deep); font-size: 0.92rem; display: inline-block; margin-top: 0.8rem; }

/* guides index, socalhedge editorial-list style */
.guide-hero-chips { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; margin-top: 1.7rem; }
.guide-hero-chips span {
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--tide);
}
.gsearch { max-width: 34rem; margin-top: 2rem; }
.gsearch input {
  width: 100%;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 0.9rem 1.5rem;
  background: var(--white);
  font-size: 1rem;
}
.gsearch input:focus { outline: none; border-color: var(--aqua-deep); box-shadow: 0 0 0 3px rgba(99, 195, 205, 0.3); }
.guide-cat {
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
.guide-list { display: grid; gap: 0.4rem 3.5rem; margin-top: 0.6rem; }
@media (min-width: 760px) { .guide-list { grid-template-columns: 1fr 1fr; } }
a.guide-item { display: block; padding: 1.05rem 0; }
a.guide-item:hover { text-decoration: none; }
a.guide-item h3 { font-size: 1.32rem; color: var(--ink); transition: color 0.15s ease; }
a.guide-item:hover h3 { color: var(--aqua-deep); }
a.guide-item p { color: var(--muted); font-size: 0.95rem; margin-top: 0.45rem; max-width: 36em; }
a.guide-item .gmeta {
  display: inline-block; margin-top: 0.6rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--aqua-deep);
}

/* ---------- Utilities ---------- */
.center { text-align: center; }
.muted { color: var(--muted); }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.small { font-size: 0.88rem; }

/* ---------- Phones ----------
   Tighter than the desktop scale so more of the page is visible per
   screen and the whole thing takes fewer swipes to get through. */
@media (max-width: 640px) {
  :root { --pad: 1.15rem; }

  .section { padding-block: 2.1rem; }
  .hero { padding-block: 1.9rem 1.6rem; }
  .hero h1 { font-size: 2rem; line-height: 1.12; }
  .lede { margin-top: 0.85rem; font-size: 0.99rem; }
  .lede + .lede { margin-top: 0.7rem; }

  .section-head { margin-bottom: 1.15rem; }
  .section-head h2 { font-size: 1.5rem; }
  .section-head p { margin-top: 0.6rem; font-size: 0.96rem; }
  .section-head .eyebrow { margin-bottom: 0.5rem; }

  /* stacked CTAs are easier to hit than wrapped inline ones */
  .hero-ctas { margin-top: 1.4rem; gap: 0.6rem; }
  .hero-ctas .btn { width: 100%; justify-content: center; text-align: center; }

  .card { padding: 1.15rem 1.05rem; }
  .cards-3, .comp-grid, .detail-grid, .spec-grid, .ro-two { gap: 0.75rem; }

  /* Hero stays side by side on a phone: copy and CTAs left, product
     right. Stacked, the tank alone ate most of the first screen. */
  .hero-grid {
    grid-template-columns: 1fr 37%;
    gap: 0.9rem;
    align-items: center;
  }
  .hero h1 { font-size: 1.62rem; letter-spacing: -0.02em; }
  .hero .lede { font-size: 0.88rem; margin-top: 0.7rem; }
  .hero .eyebrow { font-size: 0.62rem; }
  .hero-ctas .btn--big { padding: 0.72rem 0.9rem; font-size: 0.9rem; }
  .hero-media img { max-height: 260px; padding: 0.6rem; }

  .picker-stage { min-height: 160px; padding: 0.7rem; }
  .picker-stage img { max-height: 160px; }
  .picker-panel { padding: 0.85rem; }

  .trust-item { padding: 0.95rem 0.7rem; }
  .trust-item strong { font-size: 1rem; }
  .trust-item span { font-size: 0.8rem; }

  /* the offer bar tail is a second sentence on a phone, so trim it to
     the part that actually sells and keep the bar one line */
  .offer-bar { font-size: 0.82rem; padding: 0.5rem var(--pad); }
  .offer-bar span { display: none; }
  .finance-strip { font-size: 0.78rem; padding: 0.45rem var(--pad); }
  .finance-strip .muted-light { display: none; }

  /* System cards go horizontal on a phone: thumbnail left, copy right.
     Four stacked portrait cards was the longest block on the page. */
  .system-card {
    display: grid;
    grid-template-columns: 116px 1fr;
    align-items: start;
  }
  .system-card figure {
    grid-column: 1; grid-row: 1 / -1;
    align-self: center;
    padding: 0.8rem 0.55rem;
  }
  .system-card figure img { max-height: 104px; aspect-ratio: auto; }
  .system-card .tag {
    position: static;
    grid-column: 2;
    justify-self: start;
    margin: 0.85rem 1rem 0 0;
  }
  .system-card .body { grid-column: 2; padding: 0.8rem 1rem 1rem 0; gap: 0.4rem; }
  .system-card h3 { font-size: 1.08rem; }
  .system-card .price { font-size: 1.15rem; }
  .system-card p { font-size: 0.89rem; }

  /* the two RO cards are small enough to sit side by side even here */
  .ro-cards { grid-template-columns: 1fr 1fr; gap: 0.6rem; }
  .ro-cards.ro-cards--single { grid-template-columns: 1fr; }
  a.ro-card figure img { max-height: 84px; }
  a.ro-card small { font-size: 0.78rem; }

  .site-footer .cols {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.2rem;
    padding-block: 2rem 1.5rem;
  }
  .site-footer .cols > :first-child { grid-column: 1 / -1; }
  .site-footer { font-size: 0.9rem; }

  /* Section 01 condenses rather than disappears. It is the argument that
     makes the price believable, so the three claims stay and the wall of
     setup copy around them goes. */
  .section--why { padding-block: 1.7rem; }
  .section--why .section-head { margin-bottom: 0.85rem; }
  .section--why .section-head p { display: none; }
  .section--why .section-head h2 { font-size: 1.3rem; }
  .section--why .cards-3 { gap: 0.55rem; }
  .section--why .card { padding: 0.9rem 1rem; }
  .section--why .card .badge { margin-bottom: 0.35rem; }
  .section--why .card h3 { font-size: 1rem; }
  .section--why .card p { font-size: 0.85rem; }

  /* The package section drops its own CTAs on a phone. The header, the
     hero, the financing band and the closing band all still carry one,
     so nothing is lost and the section reads as information, not a
     second ask stacked on the first. */
  .package-includes .hero-ctas { display: none; }
  .package-includes { padding-bottom: 1.1rem; }
  .package-intro { font-size: 0.9rem; margin-bottom: 0.85rem; }
  .package-includes ul { gap: 0.25rem; margin: 0.5rem 0 0; }
  .package-includes li { font-size: 0.9rem; padding-left: 1.55rem; }
  .package-includes li::before { top: 0.38em; }

  .mt-3 { margin-top: 1.6rem; }
  table.spec { font-size: 0.9rem; }
  table.spec th, table.spec td { padding: 0.65rem 0.85rem; }
}

/* ---------- Timed quote prompt ----------
   A small centred dialog, deliberately not a full screen takeover: the page
   stays visible behind a light scrim so it reads as an offer, not a wall.
   Built on <dialog> so Escape, focus trapping and background inert come from
   the browser instead of hand rolled JS. */
.quote-prompt {
  /* centered by hand: Safari does not place a modal dialog reliably on its own */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  width: min(26rem, calc(100vw - 2rem));
  max-width: 26rem;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 24px 60px rgba(10, 47, 60, 0.28);
  overflow: hidden;
}
.quote-prompt::backdrop { background: rgba(10, 47, 60, 0.5); }
/* the body scrolls, not the dialog, so the close button stays in place */
.quote-prompt .qp-body {
  padding: clamp(1.35rem, 4vw, 1.75rem);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.quote-prompt .eyebrow { display: block; margin-bottom: 0.5rem; padding-right: 2rem; }
.quote-prompt h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  margin-bottom: 0.5rem;
}
.quote-prompt p { color: var(--muted); font-size: 0.95rem; }
.quote-prompt .qp-form { display: grid; gap: 0.7rem; margin-top: 1.1rem; }
.quote-prompt .qp-form .field label {
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}
.quote-prompt .qp-form .field input,
.quote-prompt .qp-form .field textarea {
  padding: 0.65rem 0.8rem;
  font-size: 1rem; /* 16px keeps iOS from zooming in on focus */
}
.quote-prompt .qp-form .field textarea { min-height: 4.5rem; }
.quote-prompt .qp-form .btn { width: 100%; text-align: center; margin-top: 0.2rem; }
.quote-prompt .qp-opt {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.quote-prompt .qp-fine {
  margin-top: 0.8rem;
  font-size: 0.82rem; color: var(--muted);
  text-align: center;
}
.quote-prompt .qp-fine a { color: var(--tide); font-weight: 600; }
.qp-close {
  position: absolute; top: 0.55rem; right: 0.55rem;
  z-index: 1;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--tide);
  font-size: 1.1rem; line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.18s ease, color 0.18s ease;
}
.qp-close:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .quote-prompt[open] { animation: qp-in 0.24s ease both; }
  @keyframes qp-in {
    from { opacity: 0; transform: translate(-50%, -50%) scale(0.97); }
    to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  }
}

/* ---------- SMS consent checkbox ---------- */
.consent { margin-top: 0.4rem; }
.consent-row {
  display: grid; grid-template-columns: auto 1fr; gap: 0.7rem;
  align-items: start;
  padding: 0.9rem 1rem;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.consent-row input[type="checkbox"] {
  width: 1.15rem; height: 1.15rem;
  margin-top: 0.15rem;
  accent-color: var(--aqua-deep);
  cursor: pointer;
}
.consent-row span {
  font-size: 0.86rem; line-height: 1.5; color: var(--muted);
  text-transform: none; letter-spacing: 0;
}
.consent-row a { color: var(--aqua-deep); text-decoration: underline; }
.consent-row + .consent-row { margin-top: 0.5rem; }
/* 10DLC registration tweak: compact checkboxes inside the small popup card. */
.quote-prompt .consent-row { padding: 0.6rem 0.75rem; }
.quote-prompt .consent-row span { font-size: 0.78rem; }
