/* ==========================================================================
   Stonehouse Protect — stonehouseprotect.com

   Design system generated by ui-ux-pro-max (nextlevelbuilder), then adapted:
     Category  Home Services (Plumber/Electrician)
     Style     Trust & Authority
     Palette   "Refreshing blue + water cyan"
     Type      Lexend (headings) + Source Sans 3 (body)
   See design-system/stonehouse-protect/MASTER.md for the full record,
   including the three places we deliberately deviate from it.

   Mobile first. No frameworks, no build step, no JS except the menu.
   ========================================================================== */

/* --- 0. Self-hosted fonts ------------------------------------------------
   The design system recommends a Google Fonts @import. We self-host instead:
   no third-party request, no render-blocking round trip, nothing that breaks
   if Google changes a URL. 76 KB total, cached for a year by .htaccess.
   font-display:swap so text is readable immediately.
   ------------------------------------------------------------------------ */
@font-face {
  font-family: "Lexend"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/lexend-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Lexend"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/lexend-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin-700-normal.woff2") format("woff2");
}

/* --- 1. Design tokens ---------------------------------------------------- */
:root {
  /* ---------------------------------------------------------------------
     BRAND — from Brand identity.pdf (MKT Design)
       Cyan   #0FA5FE   the water drop
       Slate  #505459   the shield and wordmark
     Both are used exactly as issued for large fills, the logo and icons.

     But #0FA5FE against white is only 2.68:1 — it cannot legally carry text,
     and white on it is equally unreadable. So text and buttons use darkened
     steps of the same hue. The brand colour still dominates visually; it just
     doesn't get used for anything a person has to read.
     --------------------------------------------------------------------- */
  --brand-cyan:  #0fa5fe;   /* THE brand blue — fills, icons, accents on dark */
  --brand-slate: #505459;   /* THE brand grey — headings, body text */

  --brand:       #0a76b4;   /* darkened cyan — white on it = 4.93:1 */
  --brand-ink:   #096a9f;   /* darker still — on white = 5.88:1, for links */
  --brand-dark:  #3e4247;   /* slate, one step down */
  --brand-deep:  #282c30;   /* deepest slate — footers, deep sections */
  --accent:      #0a76b4;   /* CTA — 4.93:1 with white */
  --accent-dk:   #08608f;   /* CTA hover — 6.82:1 */
  --accent-lite: #0fa5fe;   /* brand cyan, large non-text fills only */
  --cyan-soft:   #5cc6ff;   /* lifted cyan for text on deep slate — 7.35:1 */

  --ink:         #2a2e33;   /* body text — 12.4:1 on white */
  --ink-soft:    #565b61;   /* muted text — 6.9:1 on white */
  --surface:     #ffffff;
  --surface-2:   #f2f8fc;   /* faint cyan tint */
  --surface-3:   #f9fcfe;
  --line:        #d7e3ec;
  --warn:        #b91c1c;

  /* Type */
  --font:       "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head:  "Lexend", var(--font);

  /* Spacing scale — density 4/10 (standard) */
  --space-xs:  .25rem;
  --space-sm:  .5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadow depths */
  --shadow-sm: 0 1px 2px rgba(40,44,48,.05);
  --shadow-md: 0 4px 6px rgba(40,44,48,.08);
  --shadow-lg: 0 10px 15px rgba(40,44,48,.10);
  --shadow-xl: 0 20px 25px rgba(40,44,48,.15);
  --shadow:    var(--shadow-md);

  --wrap:   1140px;
  --radius: 10px;
  --gap:    clamp(3rem, 7vw, 5.5rem);
}

/* --- 2. Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration:.01ms !important; transition-duration:.01ms !important; }
}
body {
  font-family: var(--font);
  font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; height: auto; display: block; }
/* The rule above beats the browser default for [hidden], so restore it —
   otherwise hidden SVG icons (e.g. the play/pause pair) both render. */
[hidden] { display: none !important; }
/* <picture> is the layout box, <img> only lives inside it. Without this, a
   picture inside a flex row shrinks and distorts the image it contains. */
picture { flex-shrink: 0; }

/* --- 3. Type ------------------------------------------------------------- */
h1,h2,h3,h4 { font-family: var(--font-head); line-height:1.14; color: var(--brand-slate); text-wrap: balance; font-weight:700; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); letter-spacing:-.02em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem);  letter-spacing:-.01em; }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.3rem); }
p { text-wrap: pretty; }
p + p { margin-top: .9rem; }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-dk); margin-bottom: .6rem;
}
.lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.section-intro { max-width: 62ch; margin-bottom: 2.5rem; }
.section-intro.center { margin-inline: auto; text-align: center; }

a { color: var(--brand-ink); text-underline-offset: .18em; }
a:hover { color: var(--brand-dark); }
ul.plain { list-style: none; padding: 0; }

/* --- 4. Layout ----------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--gap); }
.section--alt  { background: var(--surface-2); }
.section--deep { background: var(--brand-deep); color: #dce8f2; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--deep .lede { color: #b8cfe2; }

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 620px) { .grid--2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3,1fr); }
  .grid--4 { grid-template-columns: repeat(4,1fr); }
}

/* --- 5. Buttons ---------------------------------------------------------- */
.btn {
  cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.8rem; min-height: 48px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 1.02rem; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-dk); color: #fff; transform: translateY(-1px); }
.btn--lg { padding: 1.05rem 2.2rem; font-size: 1.1rem; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { background: #fff; color: var(--brand-dark); border-color:#fff; }
.btn--outline { background: transparent; color: var(--brand-dark); border-color: var(--brand-dark); }
.btn--outline:hover { background: var(--brand-dark); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.75rem; }

/* --- 6. Header ----------------------------------------------------------- */
.topbar {
  background: var(--brand-deep); color: #a9c4da;
  font-size: .85rem; padding-block: .5rem;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; justify-content: space-between; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; flex-wrap: wrap; }

.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo-text { font-weight: 800; font-size: 1.15rem; color: var(--brand-dark); letter-spacing: -.02em; line-height:1.1; }
.logo-text small { display:block; font-size:.62rem; font-weight:600; letter-spacing:.14em; color:var(--accent-dk); text-transform:uppercase; }

.site-nav { display: none; width: 100%; }
.site-nav.is-open { display: block; }
.site-nav ul { display: flex; flex-direction: column; gap: .1rem; list-style: none; padding: .5rem 0 0; }
.site-nav a {
  display: flex; align-items: center; padding: .7rem .3rem; min-height: 44px;
  text-decoration: none; font-weight: 600; color: var(--brand-dark);
}
.site-nav a[aria-current="page"] { color: var(--accent-dk); }
.header-cta { display: none; }

.nav-toggle { cursor: pointer; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 11px; width: 24px; height: 2.5px;
  background: var(--brand-dark); border-radius: 2px;
}
.nav-toggle-bar { top: 22px; }
.nav-toggle-bar::before { top: -7px; left: 0; }
.nav-toggle-bar::after  { top:  7px; left: 0; }

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; width: auto; margin-left: auto; }
  .site-nav ul { flex-direction: row; gap: 1.6rem; padding: 0; }
  .header-cta { display: inline-flex; }
}

/* --- 7. Hero ------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(120% 90% at 78% 10%, rgba(15,165,254,.24) 0%, rgba(15,157,143,0) 55%),
    linear-gradient(160deg, #3e4247 0%, var(--brand-deep) 100%);
  color: #fff; padding-block: clamp(3rem, 8vw, 6rem);
  position: relative; overflow: hidden;
}
.hero h1 { color: #fff; }
.hero h1 span { display: block; color: var(--cyan-soft); }
.hero .lede { color: #c2d9ea; margin-top: 1.1rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; } }

.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
  color: #dcecf7; padding: .4rem .85rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
}
.badge svg { flex: none; }

.hero-figure {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px; padding: 1.5rem; text-align: center;
}
.hero-figure figcaption { color: #9fbcd4; font-size: .82rem; margin-top: .9rem; }

/* --- 8. Offer strip ------------------------------------------------------ */
.offers { background: var(--accent); color: #fff; }
.offers .wrap { display: grid; gap: 1.25rem; padding-block: 1.75rem; }
@media (min-width: 700px) { .offers .wrap { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.offer { display: flex; gap: .9rem; align-items: flex-start; }
.offer svg { flex: none; margin-top: .15rem; }
.offer strong { display: block; font-size: 1.05rem; }
.offer span { font-size: .93rem; color: #d5f2ee; }

/* --- 9. Cards ------------------------------------------------------------ */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--space-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card:hover { transform: none; } }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }

.icon-card { text-align: left; }
.icon-card .icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--surface-2); color: var(--brand-cyan);
  display: grid; place-items: center; margin-bottom: 1rem;
}

/* --- 10. Benefit list ---------------------------------------------------- */
.checks { list-style: none; padding: 0; display: grid; gap: .8rem; margin-top: 1.5rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; }
.checks svg { flex: none; margin-top: .28rem; color: var(--accent); }

/* --- 11. Phases (numbered) ----------------------------------------------- */
.phase { position: relative; padding-left: 3.6rem; }
/* numbered stage markers use the brand cyan */
.phase .num {
  position: absolute; left: 0; top: 0;
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  background: var(--brand-cyan); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1rem;
}
.phase h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.phase p { color: var(--ink-soft); font-size: .95rem; }

/* --- 12. Comparison table ------------------------------------------------ */
.compare { width: 100%; border-collapse: collapse; margin-top: 2rem; font-size: .97rem; }
.compare caption { text-align: left; color: var(--ink-soft); padding-bottom: .9rem; }
.compare th, .compare td { padding: .95rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--brand-deep); color: #fff; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.compare thead th:first-child { border-radius: 8px 0 0 0; }
.compare thead th:last-child  { border-radius: 0 8px 0 0; }
.compare tbody th { font-weight: 700; color: var(--brand-dark); width: 26%; }
.compare .them { color: var(--warn); }
.compare .us   { color: var(--accent-dk); font-weight: 600; }
@media (max-width: 700px) {
  .compare, .compare tbody, .compare tr, .compare td, .compare th { display: block; }
  .compare thead { position: absolute; left: -9999px; }
  .compare tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; padding: .5rem; background:#fff; }
  .compare td, .compare tbody th { border: 0; padding: .45rem 1rem; width: auto; }
  .compare td::before { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
  .compare td.them::before { content: "Traditional reverse osmosis"; }
  .compare td.us::before   { content: "Our system"; }
  /* An explicit data-label always wins — needed for tables with more than
     two comparison columns, e.g. the Standard / Plus / Pro model table. */
  .compare td[data-label]::before { content: attr(data-label); }
  .compare tbody th { background: var(--surface-2); border-radius: 8px; margin-bottom: .3rem; }
}

/* --- 13. Audience cards -------------------------------------------------- */
.who { background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.who h3 { font-size: 1.05rem; margin-bottom: .4rem; color: var(--accent-dk); }
.who p { font-size: .94rem; color: var(--ink-soft); }

/* --- 14. Lead banner ----------------------------------------------------- */
.leadband {
  background: linear-gradient(135deg, #0a76b4 0%, var(--brand-deep) 100%);
  color: #fff; border-radius: 16px; padding: clamp(1.75rem, 4vw, 3rem);
}
.leadband h2 { color: #fff; }
.leadband p { color: #cfe4f3; max-width: 58ch; margin-top: .8rem; }

/* --- 15. Final CTA ------------------------------------------------------- */
.cta-final { text-align: center; }
.cta-final .lede { margin-inline: auto; }
/* .cta-final and .watercheck-inner sit ON .wrap deliberately — neither sets a
   max-width, so the container keeps its full width. Only classes that DO set a
   max-width (.prose, .section-intro) must live on a child instead. */
.cta-phone {
  display: inline-block; margin-top: 1.5rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800;
  color: #fff; text-decoration: none; letter-spacing: -.01em;
}
.cta-phone:hover { color: #6fd4c6; text-decoration: underline; }

/* --- 16. Footer ---------------------------------------------------------- */
.site-footer { background: var(--brand-deep); color: #a9c4da; padding-block: var(--gap) 2rem; }
.site-footer a { color: #fff; }
.footer-h { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .9rem; }
.footer-grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-grid ul { display: grid; gap: .5rem; }
.footer-grid li a { text-decoration: none; }
.footer-grid li a:hover { text-decoration: underline; }
.areas { font-size: .9rem; line-height: 1.9; }
.social { display: flex; gap: .75rem; margin-top: 1rem; }
.social a {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.1); display: grid; place-items: center;
}
.social a:hover { background: var(--accent); }
.social a, .nav-toggle, .btn, .logo { cursor: pointer; }
.copyright {
  margin-top: 2.75rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.14); font-size: .87rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
}

/* --- 17. Accessibility --------------------------------------------------- */
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; background: var(--brand-dark); color: #fff; padding: .8rem 1.3rem; z-index: 100; }
.skip-link:focus { left: .5rem; top: .5rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* --- 19. Forms ----------------------------------------------------------- */
.contact-form { margin-top: var(--space-xl); }
.field { margin-bottom: var(--space-lg); }
.field label {
  display: block; font-weight: 600; color: var(--brand-dark);
  margin-bottom: .4rem; font-size: .96rem;
}
.field input, .field textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; font-size: 1rem;
  color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 8px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--brand); outline: none;
  box-shadow: 0 0 0 3px rgba(2,132,199,.18);
}
.field textarea { resize: vertical; min-height: 120px; }
.hint { font-size: .87rem; color: var(--ink-soft); margin-top: .35rem; }

/* --- 20. Service area list ----------------------------------------------- */
.area-list {
  list-style: none; padding: 0; display: grid; gap: .6rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.area-list li {
  padding: .7rem 1rem; background: var(--surface-2);
  border: 1px solid var(--line); border-radius: 8px;
  font-weight: 600; color: var(--brand-dark); font-size: .95rem;
}

/* --- 21. Long-form article ----------------------------------------------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: var(--space-2xl); }
.prose h3 { margin-top: var(--space-xl); color: var(--ink); }
.prose p, .prose ul, .prose ol { margin-top: .9rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-top: .4rem; }
.prose table { width: 100%; border-collapse: collapse; margin-top: 1.25rem; font-size: .95rem; }
.prose th, .prose td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--surface-2); color: var(--brand-dark); font-size: .84rem; text-transform: uppercase; letter-spacing: .05em; }

.callout {
  margin-top: var(--space-xl); padding: var(--space-lg);
  background: var(--surface-2); border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout h3 { margin-top: 0; color: var(--brand-dark); }
.callout.warn { background: #fff5f2; border-left-color: var(--warn); }
/* Inside .prose the callout inherits the 72ch measure. Used full-width — as on
   the Models certification section — it had none, and its paragraphs rendered
   at 110 characters per line on a 1440px screen. Give the text its own measure
   so the callout box can stay wide while the reading line does not. */
.callout > p, .callout > ul, .callout > ol { max-width: 72ch; }

/* --- 22. FAQ ------------------------------------------------------------- */
.faq { max-width: 74ch; margin-top: var(--space-xl); }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: .75rem; background: #fff;
}
.faq summary {
  cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 700;
  font-family: var(--font-head); color: var(--brand-dark);
  list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  min-height: 44px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent);
  transition: transform 200ms ease; flex: none; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 1.1rem 1.3rem; color: var(--ink-soft); }
.faq .answer p + p, .faq .answer ul { margin-top: .8rem; }
.faq .answer ul { padding-left: 1.2rem; }

/* --- 23. Village cards --------------------------------------------------- */
.village {
  display: block; text-decoration: none; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: var(--space-lg); box-shadow: var(--shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.village:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .village:hover { transform: none; } }
.village h3 { color: var(--brand-dark); }
.village .stat { font-size: 2rem; font-weight: 700; color: var(--brand); font-family: var(--font-head); line-height: 1.1; }
.village p { color: var(--ink-soft); font-size: .95rem; margin-top: .5rem; }

/* --- 24. Brand logo ------------------------------------------------------ */
.logo img { width: auto; height: 42px; }
@media (min-width: 620px) { .logo img { height: 48px; } }
.site-footer .logo-light, .site-footer picture img { height: 42px; width: auto; }

/* --- 25. Made in USA badge ----------------------------------------------- */
.usa-badge { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; }
.usa-badge img { width: 64px; height: 64px; flex: none; }
.usa-badge span { font-size: .9rem; color: #b9c6d1; }
.section--alt .usa-badge span, .section .usa-badge span { color: var(--ink-soft); }

/* --- 26. Figures --------------------------------------------------------- */
.figure-wide { margin-top: var(--space-2xl); }
.figure-wide img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.figure-wide figcaption,
.figure-card figcaption {
  margin-top: .7rem; font-size: .88rem; color: var(--ink-soft);
}
.figure-card img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.figure-card figcaption { font-weight: 600; color: var(--brand-slate); }

/* Hero product cutout sits on the dark gradient with no card behind it */
.hero-figure { background: none; border: 0; padding: 0; }
.hero-figure img { margin-inline: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.45)); }
.hero-figure figcaption { color: #b9c6d1; font-size: .85rem; margin-top: 1rem; text-align: center; }

/* --- 27. Video hero ------------------------------------------------------
   The video is decoration. Everything readable sits above a scrim, and the
   poster image carries the hero on its own if the video never loads — which
   is the case on phones, on Save-Data, and under prefers-reduced-motion.
   ------------------------------------------------------------------------ */
.hero--video {
  position: relative;
  isolation: isolate;
  background: #10161c;
  min-height: min(78vh, 660px);
  display: flex;
  align-items: center;
  padding-block: clamp(3.5rem, 9vw, 7rem);
}
.hero--video .wrap { position: relative; z-index: 2; width: min(100% - 2.5rem, var(--wrap)); }
.hero--video .hero-grid { display: block; }
.hero--video .hero-grid > div { max-width: 42rem; }

.hero-video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 74% center;   /* keeps the unit clear of the headline */
}

/* Scrim: dark on the left where the words are, clearing to the right so the
   product still reads. Second layer lifts the bottom edge into the offer bar. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(16,22,28,.94) 0%, rgba(16,22,28,.86) 34%, rgba(16,22,28,.42) 66%, rgba(16,22,28,.30) 100%),
    linear-gradient(180deg, rgba(16,22,28,.55) 0%, rgba(16,22,28,0) 28%, rgba(16,22,28,.45) 100%);
}
@media (max-width: 900px) {
  /* No video down here — the poster shows through, so darken it evenly
     rather than side-weighting a gradient that no longer has a job. */
  .hero-scrim { background: linear-gradient(180deg, rgba(16,22,28,.86) 0%, rgba(16,22,28,.90) 100%); }
  .hero-video { object-position: center; }
}

/* WCAG 2.2.2 — anything that auto-plays for more than five seconds needs a
   way to stop it. Shown by script only once the video is actually running. */
.video-toggle {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 3;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 44px; padding: .5rem 1rem;
  background: rgba(16,22,28,.72); color: #fff;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 150ms ease, border-color 150ms ease;
}
.video-toggle:hover { background: rgba(16,22,28,.92); border-color: rgba(255,255,255,.5); }
.video-toggle svg { flex: none; }
@media (max-width: 620px) {
  .video-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .video-toggle { padding: .5rem; width: 44px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* --- 28. Hero proof row --------------------------------------------------
   Replaces the four badge pills + separate USA badge. Same information,
   one line, far less to read before the eye reaches the buttons.
   ------------------------------------------------------------------------ */
.hero-proof {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.16);
  max-width: 34rem;
}
/* The flex item here is <picture>, not <img> — putting flex:none on the image
   let the picture shrink and squash the seal into an oval on narrow screens.
   Size and lock the wrapper; object-fit is the belt-and-braces guarantee. */
.hero-proof picture { flex: none; display: block; width: 52px; height: 52px; }
.hero-proof img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: contain; }
.hero-proof ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .3rem 1.1rem;
  font-size: .87rem; font-weight: 600; color: #cbd5dd;
}
.hero-proof li { display: flex; align-items: center; gap: .4rem; }
.hero-proof li::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-cyan);
}
@media (max-width: 620px) {
  .hero-proof { gap: .85rem; }
  .hero-proof ul { font-size: .82rem; gap: .25rem .8rem; }
  .hero-proof picture { width: 46px; height: 46px; }
}

/* ==========================================================================
   29. FLOATING HERO  — modelled on the reference layout, in brand colour
   Pill navbar over an ambient-glow hero, status chip, gradient headline,
   dual CTA, certification strip along the bottom.
   ========================================================================== */

/* --- Floating pill header ------------------------------------------------ */
.site-header--float {
  position: absolute; top: 2.1rem; left: 0; right: 0; z-index: 40;
  background: none; border-bottom: 0;
}
.site-header--float .header-inner {
  margin-top: 0;
  padding: .55rem .7rem .55rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 32px rgba(0,0,0,.28);
}
.site-header--float .site-nav a { color: #e6edf3; }
.site-header--float .site-nav a:hover { color: #fff; }
.site-header--float .site-nav a[aria-current="page"] { color: #fff; }
.site-header--float .nav-toggle-bar,
.site-header--float .nav-toggle-bar::before,
.site-header--float .nav-toggle-bar::after { background: #fff; }
.site-header--float .header-cta {
  padding: .7rem 1.5rem; min-height: 44px; border-radius: 999px;
  background: var(--brand-cyan); color: #06263a; font-weight: 700;
}
.site-header--float .header-cta:hover { background: #38b8ff; color: #06263a; }
@media (max-width: 959px) {
  .site-header--float .header-inner { border-radius: 22px; padding: .7rem 1rem; }
  .site-header--float .site-nav.is-open { padding-bottom: .4rem; }
}

/* Transparent top bar so the header reads as floating, not stacked */
.topbar--float {
  position: absolute; top: 0; left: 0; right: 0; z-index: 41;
  background: none; color: #93a8ba; padding-block: .5rem 0;
  font-size: .8rem;
}
.topbar--float a { color: #d7e6f2; }
@media (max-width: 900px) { .topbar--float { display: none; } }

/* --- Ambient background -------------------------------------------------- */
.hero--float { padding-block: clamp(8.5rem, 14vw, 11rem) clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 1200px) { .hero--float .hero-video { object-position: 78% center; } }

/* Cyan glow, brand hue, radiating from the left third — the reference's
   orange bloom translated to #0FA5FE. Sits above the video, below the copy. */
.hero-glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    /* bloom sits behind the unit, right of centre — as in the reference */
    radial-gradient(46% 62% at 62% 44%, rgba(15,165,254,.30) 0%, rgba(15,165,254,.10) 42%, rgba(15,165,254,0) 74%),
    /* Darken the copy column hard. Measured: without this the headline's
       right end crosses the lit product and drops to 2.1:1. The ramp has to
       stay dense to ~62% because that's where "house." ends at 1440px. */
    linear-gradient(90deg, rgba(8,12,16,.96) 0%, rgba(8,12,16,.93) 34%, rgba(8,12,16,.82) 52%, rgba(8,12,16,.42) 70%, rgba(8,12,16,.12) 100%),
    linear-gradient(180deg, rgba(10,14,19,.55) 0%, rgba(10,14,19,0) 26%, rgba(10,14,19,.20) 66%, rgba(10,14,19,.80) 100%);
}
/* Faint engineering grid, like the reference */
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 0%, transparent 100%);
}

/* --- Status chip --------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .42rem 1rem .42rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(8px);
  font-size: .85rem; font-weight: 600; color: #d8e4ee;
  margin-bottom: 1.6rem;
}
.chip b { color: var(--brand-cyan); font-weight: 700; }
.chip::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-cyan); flex: none;
  box-shadow: 0 0 0 3px rgba(15,165,254,.22);
}

/* --- Gradient headline --------------------------------------------------- */
.hero--float h1 {
  font-size: clamp(2.6rem, 6.6vw, 4.6rem);
  line-height: 1.04; letter-spacing: -.035em; margin-bottom: 1.4rem;
}
.hero--float h1 .l1,
.hero--float h1 .l2 { display: block; }
.hero--float h1 .l1 {
  background: linear-gradient(96deg, #cfd8e0 0%, #ffffff 46%, #eaf1f7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--float h1 .l2 {
  background: linear-gradient(96deg, #9fd8ff 0%, var(--brand-cyan) 48%, #7fcaff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--float .lede { color: #a9bccd; font-size: clamp(1.05rem, 1.8vw, 1.22rem); max-width: 34rem; }

/* --- CTA row ------------------------------------------------------------- */
.hero--float .btn-row { gap: 1.4rem; align-items: center; margin-top: 2.2rem; }
.btn--pill {
  border-radius: 999px; background: var(--brand-cyan); color: #06263a;
  padding: 1rem 2rem; font-weight: 700;
  box-shadow: 0 8px 26px rgba(15,165,254,.30);
}
.btn--pill:hover { background: #38b8ff; color: #06263a; box-shadow: 0 10px 30px rgba(15,165,254,.42); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  color: #dae6f0; font-weight: 600; text-decoration: none; font-size: 1.02rem;
}
.link-arrow svg { transition: transform 180ms ease; }
.link-arrow:hover { color: #fff; }
.link-arrow:hover svg { transform: translateX(4px); }

/* --- Certification strip ------------------------------------------------- */
.trust-strip {
  position: relative; z-index: 2;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1.4rem clamp(1.6rem, 4vw, 3.2rem);
  opacity: .85;
}
.trust-strip .mark {
  display: flex; flex-direction: column; gap: .1rem;
  font-family: var(--font-head);
  color: #dfe8f0;
}
.trust-strip .mark b {
  font-size: .95rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15;
}
.trust-strip .mark span {
  font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #7f95a8;
}
.trust-strip img { width: 46px; height: 46px; }
@media (max-width: 620px) {
  .trust-strip { gap: 1.1rem 1.5rem; padding-top: 1.5rem; margin-top: 2.5rem; }
  .trust-strip .mark b { font-size: .85rem; }
  .trust-strip .mark span { font-size: .63rem; }
  .trust-strip img { width: 40px; height: 40px; }
}

/* --- 30. Logo plate ------------------------------------------------------
   The ORIGINAL mark is slate + cyan, drawn for light backgrounds. Measured on
   our dark surfaces the slate wordmark falls to 2.25:1 (header) and 1.84:1
   (footer) — unreadable. So it sits on a white plate, which is how the brand
   book itself presents it. Logo unchanged; the surface changes to suit it.
   ------------------------------------------------------------------------ */
.logo-plate {
  display: inline-block;
  background: #fff;
  border-radius: 10px;
  padding: .5rem .85rem;
  line-height: 0;
}
.site-footer .logo-plate { margin-bottom: 1.1rem; }

/* Floating header: same plate, pill-shaped to echo the bar it sits in */
.site-header--float .logo {
  background: #fff;
  border-radius: 999px;
  padding: .45rem 1.1rem .45rem .9rem;
  line-height: 0;
}
@media (max-width: 620px) {
  .site-header--float .logo { padding: .4rem .8rem; }
  .logo-plate { padding: .45rem .7rem; }
}

/* ==========================================================================
   31. WATER QUALITY LOOKUP  — sends visitors to the EWG Tap Water Database
   Styled after EWG's own hero: letterspaced eyebrow, giant outlined wordmark,
   pill search field. Their teal becomes our brand cyan.
   The form is plain HTML — a GET straight to ewg.org. No JS, nothing to break.
   ========================================================================== */
.watercheck {
  position: relative; isolation: isolate; overflow: hidden;
  text-align: center; color: #fff;
  /* Uses the site's own deep slate (--brand-deep #282C30), the same surface as
     the closing CTA and the footer, with a brand-cyan bloom. The earlier
     teal-blue gradient was a colour that appeared nowhere else on the site. */
  background:
    radial-gradient(70% 70% at 50% 34%, rgba(15,165,254,.26) 0%, rgba(15,165,254,.07) 46%, rgba(15,165,254,0) 72%),
    linear-gradient(180deg, #2c3138 0%, #282c30 42%, #1f2429 100%);
  padding-block: clamp(3.5rem, 9vw, 6rem);
}
/* Faint concentric ripples, echoing EWG's water photography without pretending
   to be a photograph we don't have the rights to. */
.watercheck::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .16;
  background:
    radial-gradient(circle at 50% 62%, transparent 0 12%, rgba(255,255,255,.10) 12% 12.4%, transparent 12.4%),
    radial-gradient(circle at 50% 62%, transparent 0 20%, rgba(255,255,255,.08) 20% 20.3%, transparent 20.3%),
    radial-gradient(circle at 50% 62%, transparent 0 29%, rgba(255,255,255,.06) 29% 29.3%, transparent 29.3%),
    radial-gradient(circle at 50% 62%, transparent 0 39%, rgba(255,255,255,.05) 39% 39.3%, transparent 39.3%);
}
.watercheck-inner { position: relative; z-index: 1; }

.wc-eyebrow {
  font-size: clamp(.75rem, 1.5vw, .95rem); font-weight: 700;
  letter-spacing: .34em; text-transform: uppercase; color: var(--cyan-soft);
  margin-bottom: .2rem;
}
/* The outlined display word. Stroke-only, like EWG's. It is decorative —
   the real heading is visually hidden above it for screen readers. */
.wc-word {
  font-family: var(--font-head);
  font-size: clamp(4rem, 17vw, 12rem);
  font-weight: 700; line-height: .95; letter-spacing: .04em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255,255,255,.72);
  margin: .1rem 0 .6rem;
  user-select: none;
}
@supports not ((-webkit-text-stroke: 1px #000)) {
  .wc-word { color: rgba(255,255,255,.22); }
}
.wc-lede {
  max-width: 44ch; margin: 0 auto 2rem; color: #dce8f2;
  font-size: clamp(1rem, 1.8vw, 1.12rem);
}

/* --- Search field -------------------------------------------------------- */
.wc-form {
  display: flex; align-items: center; gap: .4rem;
  width: min(100%, 34rem); margin: 0 auto;
  background: #fff; border-radius: 999px;
  padding: .35rem .35rem .35rem 1.4rem;
  box-shadow: 0 14px 40px rgba(4,20,30,.35);
}
.wc-form input {
  flex: 1 1 auto; min-width: 0;
  border: 0; background: none; font: inherit; font-size: 1.05rem;
  color: var(--ink); padding: .85rem 0; min-height: 44px;
}
.wc-form input::placeholder { color: #7d8b98; }
.wc-form input:focus { outline: none; }
.wc-form:focus-within { box-shadow: 0 0 0 3px rgba(15,165,254,.55), 0 14px 40px rgba(4,20,30,.35); }
.wc-form button {
  flex: none; width: 48px; height: 48px; border: 0; border-radius: 50%;
  background: var(--accent); color: #fff; cursor: pointer;
  display: grid; place-items: center;
  transition: background 150ms ease;
}
.wc-form button:hover { background: var(--accent-dk); }

/* --- Shortcuts ----------------------------------------------------------- */
.wc-quick {
  margin-top: 1.4rem; font-size: .92rem; color: #b9d8ec;
  display: flex; flex-wrap: wrap; gap: .3rem .9rem; justify-content: center; align-items: center;
}
.wc-quick a {
  color: #fff; text-decoration: underline; text-underline-offset: .25em;
  text-decoration-color: rgba(255,255,255,.45);
  min-height: 44px; display: inline-flex; align-items: center;
}
.wc-quick a:hover { text-decoration-color: #fff; }

.wc-note {
  max-width: 58ch; margin: 2.2rem auto 0;
  font-size: .84rem; line-height: 1.6; color: #a7c6dc;
}
.wc-note strong { color: #e8f4fd; }

@media (max-width: 620px) {
  .wc-word { -webkit-text-stroke-width: 1.5px; }
  .wc-form { padding-left: 1.1rem; }
  .wc-form input { font-size: 1rem; }
}

/* --- 32. ZIP lookup result panel ----------------------------------------- */
.wc-result {
  max-width: 34rem; margin: 1.4rem auto 0; text-align: left;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 16px; padding: 1.5rem 1.6rem;
  backdrop-filter: blur(10px);
}
.wc-result.is-in { animation: wcIn 260ms ease both; }
@keyframes wcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wc-result.is-in { animation: none; } }

.wc-result-zip {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.1rem; color: #fff; margin-bottom: .2rem;
}
.wc-result-zip b { color: var(--brand-cyan); }
.wc-result-lede { font-size: .92rem; color: #c3d2de; margin-bottom: .9rem; }
.wc-result-list { list-style: none; padding: 0; display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.wc-result-list li {
  position: relative; padding-left: 1.5rem;
  font-size: .93rem; color: #e4eaf0; line-height: 1.5;
}
.wc-result-list li::before {
  content: ""; position: absolute; left: 0; top: .5rem;
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-cyan);
}
.wc-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.wc-alt {
  color: #c3d2de; font-size: .9rem; font-weight: 600;
  min-height: 44px; display: inline-flex; align-items: center;
  text-underline-offset: .25em;
}
.wc-alt:hover { color: #fff; }

.wc-credit {
  margin-top: 2.2rem; font-size: .88rem; font-weight: 600; color: #c3d2de;
}
.wc-credit a { color: #fff; text-underline-offset: .25em; text-decoration-color: rgba(255,255,255,.5); }
.wc-credit a:hover { text-decoration-color: #fff; }
.wc-note { max-width: 56ch; margin: .6rem auto 0; font-size: .82rem; line-height: 1.6; color: #9aa8b4; }

/* --- 33. Long-form layout ------------------------------------------------
   The guide pages previously put .prose ON the .wrap itself, so the container
   clamped to 70ch and centred — 557px of content in a 1440px window, which
   read as "the mobile version on a desktop". The measure was right; putting it
   on the container was not. Now .wrap keeps full width and holds a two-column
   grid: sticky contents on the left, the readable column on the right.
   ------------------------------------------------------------------------ */
.prose-layout { display: block; }

@media (min-width: 1000px) {
  /* DEFENSIVE BASE: one centred reading column. A .prose-layout that has no
     .toc child renders correctly here — it does not fall into a 15rem column.
     The two-column form is opt-in below, not the default.
     (This exact bug shipped once: gen_legal.py / gen_terms.py emitted
     .prose-layout with no .toc, so the article landed in the 240px sidebar
     column. Never make the wide layout the default again.) */
  .prose-layout {
    display: grid;
    grid-template-columns: minmax(0, 72ch);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: start;
    justify-content: center;
  }

  /* Cap the reading column at its measure and centre the pair, so the
     leftover width sits evenly either side instead of all trailing right.
     Two selectors on purpose: :has() covers browsers that support it with no
     markup change, .prose-layout--toc is the explicit fallback the generators
     emit, so the layout never depends on :has() being available. */
  .prose-layout:has(> .toc),
  .prose-layout--toc {
    grid-template-columns: 15rem minmax(0, 72ch);
  }
}

/* The prose column keeps a readable measure — it just no longer drags the
   container down with it. */
.prose { max-width: 72ch; }
.prose-layout .prose { max-width: none; }

/* --- On this page -------------------------------------------------------- */
.toc { margin-bottom: 2.5rem; }
.toc-title {
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: .8rem;
}
.toc ul { list-style: none; padding: 0; display: grid; gap: .1rem; }
.toc a {
  display: block; padding: .5rem .8rem;
  font-size: .92rem; line-height: 1.4; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
  border-left: 2px solid var(--line); border-radius: 0 6px 6px 0;
  transition: color 150ms ease, border-color 150ms ease, background 150ms ease;
}
.toc a:hover { color: var(--brand-ink); border-left-color: var(--brand-cyan); background: rgba(15,165,254,.06); }

@media (min-width: 1000px) {
  .toc { position: sticky; top: 6.5rem; margin-bottom: 0; }
  .toc ul { max-height: calc(100vh - 10rem); overflow-y: auto; }
}
@media (max-width: 999px) {
  /* On narrow screens it becomes a plain contents list at the top, in a card */
  .toc {
    background: var(--surface-2); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 1.1rem 1.2rem;
  }
  .toc a { border-left: 0; padding: .55rem 0; min-height: 44px; display: flex; align-items: center; }
}

/* Headings need clearance so the sticky header doesn't cover them on jump */
.prose h2 { scroll-margin-top: 6.5rem; }

/* Tables can use the full prose width on wide screens */
@media (min-width: 1000px) {
  .prose table { width: 100%; }
}

/* --- 34. Footer legal links ---------------------------------------------- */
.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.legal-links a {
  color: #a9c4da; font-size: .85rem; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
  text-underline-offset: .25em;
}
.legal-links a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 760px) { .copyright { gap: .2rem; } .legal-links { gap: .2rem 1.2rem; } }

/* --- 35. Price panel ------------------------------------------------------
   Two columns on desktop: the figure on the left, what it does and doesn't
   cover on the right. Single column below 860px. The list markers are drawn
   with pseudo-elements rather than emoji so they render identically on every
   platform and screen readers don't announce them.
   ------------------------------------------------------------------------ */
.price-panel {
  margin-top: var(--space-lg);
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
}
@media (min-width: 860px) {
  .price-panel { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); }
}

.price-headline { position: relative; }
@media (min-width: 860px) {
  .price-headline { position: sticky; top: 6.5rem; }
}
.price-from {
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  margin: 0;
}
.price-figure {
  font-family: var(--font-head); font-weight: 700; color: var(--brand-ink);
  font-size: clamp(2.6rem, 7vw, 3.4rem); line-height: 1.05;
  margin: .2rem 0 .35rem; letter-spacing: -.02em;
}
.price-unit {
  margin: 0; font-size: .95rem; line-height: 1.45; color: var(--ink-soft);
  font-weight: 600;
}

.price-detail h3 {
  font-size: 1.02rem; margin: 0 0 .7rem; color: var(--brand-dark);
}
.price-detail h3 + .price-list { margin-bottom: 1.6rem; }
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.price-list li {
  position: relative; padding-left: 1.75rem;
  font-size: .97rem; line-height: 1.6; max-width: 68ch;
}
.price-list li::before {
  position: absolute; left: 0; top: .58em;
  width: .85rem; height: .85rem; content: ""; transform: translateY(-50%);
  background-repeat: no-repeat; background-size: contain;
}
/* Included: a tick. Additional: a plus. Both drawn in CSS, no image request. */
.price-list--in li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='%230a76b4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.price-list--out li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 2v12M2 8h12' fill='none' stroke='%23565b61' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.price-note {
  margin: 1.5rem 0 0; padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .93rem; line-height: 1.65; color: var(--ink-soft); max-width: 68ch;
}

/* Inline price mention — used in the home-page CTA over the deep background.
   MUST be display:block. It was inline-flex first, which made it flow inline
   with the phone number beside it instead of stacking in the centred column. */
.price-inline {
  display: block; text-align: center;
  margin-top: 1.15rem; margin-bottom: .25rem;
  font-size: 1rem; line-height: 1.6; color: #cfe1f0;
  max-width: 60ch; margin-inline: auto;
}
.price-inline strong { font-family: var(--font-head); color: #fff; }
.price-inline a {
  color: var(--cyan-soft);            /* 7.35:1 on the deep slate background */
  font-weight: 600; text-underline-offset: .22em;
  min-height: 44px; display: inline-flex; align-items: center;
}
.price-inline a:hover { color: #fff; }

/* Any anchor target must clear the sticky header, not just prose headings.
   Caught when /models.html#pricing scrolled the price panel under the bar. */
:target { scroll-margin-top: 6.5rem; }
