/* ==========================================================================
   NWA Water Pros - design system
   Palette drawn from Ozark limestone, Beaver Lake, and clean water.
   ========================================================================== */

:root {
  --ink:        #0c2a32;
  --ink-2:      #14424e;
  --deep:       #0f3a46;
  --blue:       #12708c;
  --blue-br:    #2196b8;
  --blue-pale:  #e6f3f7;
  --green:      #3a7a5c;
  --green-pale: #e8f2ec;
  --sand:       #f7f3ea;
  --sand-2:     #efe8da;
  --paper:      #ffffff;
  --body:       #33474d;
  --muted:      #63797f;
  --line:       #dfe6e8;
  --line-2:     #eef2f3;
  --amber:      #9a5b06;
  --amber-bg:   #fdf3dc;
  --amber-line: #e6c88a;
  --red:        #a3341f;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --wrap: 1180px;
  --narrow: 760px;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(12,42,50,.05), 0 8px 24px rgba(12,42,50,.06);
  --shadow-lg: 0 2px 4px rgba(12,42,50,.06), 0 18px 48px rgba(12,42,50,.12);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Safety net across 90+ pages: nothing may scroll the page sideways.
     `clip` rather than `hidden` so position:sticky on the header still works. */
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.15rem); letter-spacing: -.022em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.018em; }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 650; letter-spacing: -.005em; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.35em; }
li { margin-bottom: .5em; }
li::marker { color: var(--blue); }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ink-2); }

strong { color: var(--ink); font-weight: 640; }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--blue-br);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ---------- layout ------------------------------------------------------ */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: var(--narrow); margin-inline: auto; }
.sec { padding-block: clamp(3rem, 6vw, 5.25rem); }
.sec-sm { padding-block: clamp(2.25rem, 4vw, 3.25rem); }
.sand { background: var(--sand); }
.pale { background: var(--blue-pale); }
.dark { background: var(--deep); color: #cfe2e7; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark a { color: #8ed6ea; }

.eyebrow {
  font-size: .78rem; font-weight: 680; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  margin: 0 0 .85rem; display: block;
}
.dark .eyebrow { color: #7fc9df; }

.lead { font-size: 1.14rem; line-height: 1.6; color: var(--ink-2); }
.sec-head { max-width: 660px; margin-bottom: 2.5rem; }
.sec-head.center { margin-inline: auto; text-align: center; }

/* ---------- buttons ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--sans); font-weight: 620; font-size: 1rem; line-height: 1.2;
  padding: .95rem 1.5rem; border-radius: 10px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: .16s ease;
  text-align: center;
}
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-primary:hover { background: #0e5f78; border-color: #0e5f78; color: #fff; }
.btn-accent { background: #c25a20; color: #fff; border-color: #c25a20; }
.btn-accent:hover { background: #a94a15; border-color: #a94a15; color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
/* Ghost buttons sit on three dark surfaces. Without this they render dark-on-dark. */
.dark .btn-ghost, .hero .btn-ghost, .cta-band .btn-ghost, .mnav-cta .btn-ghost {
  color: #fff; border-color: rgba(255,255,255,.4);
}
.dark .btn-ghost:hover, .hero .btn-ghost:hover, .cta-band .btn-ghost:hover {
  border-color: #fff; background: rgba(255,255,255,.1); color: #fff;
}
/* ...except inside the mobile nav panel, which is a light surface. */
.mnav-cta .btn-ghost { color: var(--ink); border-color: var(--line); }
.mnav-cta .btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--sand); color: var(--ink); }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ------------------------------------------------------ */
.topbar {
  background: var(--ink); color: #b6ccd2; font-size: .84rem;
  padding: .5rem 0;
}
.topbar .wrap { display: flex; gap: 1.25rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.topbar a { color: #dfeaed; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar-note { display: flex; align-items: center; gap: .45rem; }

.hdr {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr-in { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }

.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-txt { display: flex; flex-direction: column; line-height: 1.05; }
.logo-txt b {
  font-family: var(--serif); font-size: 1.24rem; font-weight: 600;
  color: var(--ink); letter-spacing: -.02em;
}
.logo-txt span { font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; color: var(--blue); font-weight: 640; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .2rem; }
/* The list items live inside .nav-list, not directly under .nav, so a
   `.nav > li` rule never matched them and a stray marker showed through. */
.nav li, .nav-list > li { list-style: none; position: relative; margin: 0; }
.nav-list { display: flex; align-items: center; gap: .1rem; margin: 0; padding: 0; list-style: none; }
.nav-link {
  display: flex; align-items: center; gap: .3rem;
  padding: .6rem .7rem; border-radius: 8px;
  font-size: .935rem; font-weight: 550; color: var(--ink); text-decoration: none;
  white-space: nowrap; background: none; border: 0; font-family: var(--sans); cursor: pointer;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--blue-pale); color: var(--ink); }
.nav-link .chev { width: 9px; height: 9px; opacity: .5; }

.mega {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); padding: 1.5rem; z-index: 70;
  display: none;
}
.mega[data-open="true"] { display: block; }
.mega-cols { display: grid; gap: 1.5rem 2rem; }
.mega h5 {
  margin: 0 0 .6rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); font-weight: 680; font-family: var(--sans);
}
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li { margin: 0; }
.mega li a {
  display: block; padding: .34rem .5rem; margin-left: -.5rem; border-radius: 6px;
  font-size: .9rem; color: var(--ink-2); text-decoration: none; line-height: 1.35;
}
.mega li a:hover { background: var(--sand); color: var(--blue); }
.mega-foot {
  margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--line-2);
  display: flex; gap: .75rem; align-items: center; flex-wrap: wrap;
  font-size: .88rem;
}

.hdr-cta { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.hdr-phone {
  display: flex; flex-direction: column; line-height: 1.1; text-decoration: none;
  padding: .3rem .1rem;
}
.hdr-phone small { font-size: .68rem; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
.hdr-phone b { font-size: 1.02rem; color: var(--ink); font-weight: 660; }

.burger {
  display: none; background: none; border: 1.5px solid var(--line);
  border-radius: 9px; padding: .55rem .7rem; cursor: pointer; align-items: center; gap: .45rem;
  font-family: var(--sans); font-weight: 600; font-size: .88rem; color: var(--ink);
}
.burger svg { width: 18px; height: 18px; }

/* ---------- hero -------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 78% -8%, #17607a 0%, transparent 62%),
    linear-gradient(168deg, #0f3a46 0%, #0c2a32 68%);
  color: #d3e5ea;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,54 C240,92 420,10 720,40 C1020,70 1220,20 1440,44 L1440,90 L0,90 Z' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  pointer-events: none;
}
.hero-in { position: relative; z-index: 2; display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 5rem) clamp(5rem, 8vw, 7rem); }
.hero h1 { color: #fff; }
.hero p.lead { color: #bcd6dd; font-size: 1.18rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.75rem;
  font-size: .9rem; color: #a9c7cf; list-style: none; padding: 0;
}
.hero-trust li { display: flex; align-items: center; gap: .45rem; margin: 0; }
.hero-trust svg { width: 16px; height: 16px; color: #6fc3dc; flex-shrink: 0; }

.hero-card {
  background: #fff; border-radius: var(--r-lg); padding: 1.6rem;
  box-shadow: 0 24px 60px rgba(5,22,28,.35); color: var(--body);
}
.hero-card h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.hero-card .sub { font-size: .92rem; color: var(--muted); margin-bottom: 1.1rem; }

/* ---------- cards & grids ---------------------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.split.top { align-items: start; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.4rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card h3 { font-size: 1.14rem; margin-bottom: .4rem; }
.card p { font-size: .94rem; margin-bottom: .8rem; color: var(--body); }
.card p:last-child { margin-bottom: 0; }
.card .card-cta { margin-top: auto; padding-top: .6rem; font-size: .9rem; font-weight: 620; text-decoration: none; }
.card .card-cta::after { content: " \2192"; }
a.card { text-decoration: none; color: inherit; transition: .16s ease; }
a.card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--blue-pale);
  color: var(--blue); display: grid; place-items: center; margin-bottom: .9rem; flex-shrink: 0;
}
.card-icon svg { width: 22px; height: 22px; }

.tile-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.tile-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .8rem 1rem; background: #fff; border: 1px solid var(--line);
  border-radius: 9px; text-decoration: none; color: var(--ink); font-weight: 550; font-size: .95rem;
}
.tile-list a:hover { border-color: var(--blue); background: var(--blue-pale); }
.tile-list a::after { content: "\2192"; color: var(--blue); }
.tile-list li { margin: 0; }

/* ---------- steps ------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; counter-reset: s; }
.steps > li {
  position: relative; padding-left: 3.4rem; margin: 0; counter-increment: s;
}
.steps > li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 2.35rem; height: 2.35rem; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-weight: 680; font-size: .95rem; font-family: var(--sans);
}
.steps h4 { margin-bottom: .25rem; }
.steps p { font-size: .95rem; margin-bottom: 0; }
.dark .steps > li::before { background: var(--blue-br); color: var(--ink); }

/* ---------- callouts ---------------------------------------------------- */
.note {
  border-left: 4px solid var(--blue); background: var(--blue-pale);
  padding: 1.15rem 1.35rem; border-radius: 0 var(--r) var(--r) 0; margin: 1.75rem 0;
}
.note p:last-child { margin-bottom: 0; }
.note h4 { margin-bottom: .35rem; }
.note.warn { border-left-color: var(--amber); background: var(--amber-bg); }
.note.green { border-left-color: var(--green); background: var(--green-pale); }
.note.plain { border-left-color: var(--line); background: var(--sand); }

.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checks li { position: relative; padding-left: 1.85rem; margin-bottom: .6rem; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .58rem;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}
.dark .checks li::before { border-color: #62c39a; }

.xlist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.xlist li { position: relative; padding-left: 1.85rem; margin-bottom: .6rem; }
.xlist li::before {
  content: "\00d7"; position: absolute; left: .2rem; top: -.05em;
  color: var(--red); font-size: 1.25rem; font-weight: 700; line-height: 1.5;
}

/* ---------- tables ------------------------------------------------------ */
.tbl-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--r); }
table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 520px; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
thead th { background: var(--sand); color: var(--ink); font-weight: 650; font-size: .84rem; letter-spacing: .02em; text-transform: uppercase; }
tbody tr:last-child td { border-bottom: 0; }
td strong { color: var(--ink); }

/* ---------- FAQ --------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); margin-top: 1.5rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-family: var(--serif); font-size: 1.08rem; font-weight: 600; color: var(--ink);
  list-style: none; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .55rem; top: 1.45rem;
  width: .6rem; height: .6rem; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(45deg); transition: .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding: 0 0 1.2rem; font-size: .97rem; }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* ---------- forms ------------------------------------------------------- */
.form-grid { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 620; color: var(--ink); letter-spacing: .01em; }
.field .req { color: var(--red); }
.field .hint { font-size: .76rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .96rem; color: var(--ink);
  padding: .72rem .8rem; border: 1.5px solid var(--line); border-radius: 9px;
  background: #fff; width: 100%; transition: .14s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(33,150,184,.16);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input[type="file"] { padding: .5rem; font-size: .85rem; border-style: dashed; }
.consent {
  grid-column: 1 / -1; display: flex; gap: .65rem; align-items: flex-start;
  background: var(--sand); border-radius: 9px; padding: .85rem .95rem;
}
.consent input { width: 18px; height: 18px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--blue); }
.consent label { font-size: .8rem; line-height: 1.5; font-weight: 400; color: var(--body); }
.form-foot { grid-column: 1 / -1; }
.form-foot .btn { width: 100%; }
.form-note { font-size: .78rem; color: var(--muted); margin: .7rem 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* ---------- badges, chips, placeholders --------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0; list-style: none; padding: 0; }
.badges li {
  font-size: .8rem; font-weight: 600; padding: .35rem .7rem; border-radius: 100px;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); margin: 0;
}

.tbd {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--amber-bg); border: 1px dashed var(--amber-line); color: var(--amber);
  padding: .1rem .5rem; border-radius: 6px; font-size: .82em; font-weight: 620;
  font-family: var(--sans); white-space: normal; line-height: 1.4;
}
.tbd::before { content: "\25C6"; font-size: .6em; opacity: .7; }
.tbd-block {
  display: block; background: var(--amber-bg); border: 1px dashed var(--amber-line);
  border-radius: var(--r); padding: 1.1rem 1.25rem; margin: 1.5rem 0; color: #5c3a06;
  font-size: .93rem;
}
.tbd-block h4 { color: var(--amber); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .5rem; }
.tbd-block p:last-child, .tbd-block ul:last-child { margin-bottom: 0; }
.tbd-block code { background: rgba(0,0,0,.05); padding: .1rem .35rem; border-radius: 4px; font-size: .9em; }

.draft-flag {
  background: #7a2e12; color: #ffe8d8; text-align: center; font-size: .82rem;
  padding: .5rem 1rem; font-weight: 550;
}
.draft-flag a { color: #ffd0b3; }

/* ---------- diagrams ---------------------------------------------------- */
.dgm {
  margin: 2rem 0;
  padding: 1.5rem 1.5rem 1.15rem;
  background: linear-gradient(180deg, #fff 0%, #fcfaf6 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* Direct child only. A descendant selector also caught the little logo in the
   brand line below and blew it up to full width. */
.dgm > svg {
  display: block;
  width: 100%;
  height: auto;
  /* Diagrams carry a lot of small type. Let them use the full panel width on
     phones rather than shrinking text below legibility. */
  min-width: 0;
}
.dgm figcaption {
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line-2);
  font-size: .85rem;
  line-height: 1.55;
  color: var(--muted);
}
.dgm figcaption::before {
  content: "Diagram";
  display: block;
  font-size: .66rem;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .3rem;
}
.sand .dgm, .pale .dgm { background: #fff; }

/* On a narrow screen a wide diagram becomes unreadable if squashed. Allow a
   contained horizontal scroll instead, with the caption staying put. */
@media (max-width: 700px) {
  .dgm { padding: 1rem 1rem .9rem; }
  .dgm > svg { min-width: 560px; }
  .dgm { overflow-x: auto; }
  .dgm figcaption { position: sticky; left: 0; min-width: 0; }
}

.dgm-brand {
  display: flex; align-items: center; gap: .45rem;
  margin-top: .7rem; padding-top: .6rem;
  border-top: 1px solid var(--line-2);
  font-size: .72rem; font-weight: 650; letter-spacing: .04em;
  color: var(--muted);
}
.dgm-brand svg { flex-shrink: 0; width: 16px; height: 16px; display: block; }

/* ---------- photo placeholders ------------------------------------------ */
.photo {
  position: relative; background: var(--sand-2); border: 1px dashed #c3b79c;
  border-radius: var(--r); display: grid; place-items: center; padding: 1.5rem;
  text-align: center; color: #6c6250; overflow: hidden;
}
.photo::before {
  content: "IMAGE PLACEHOLDER"; position: absolute; top: .6rem; left: .75rem;
  font-size: .62rem; letter-spacing: .12em; font-weight: 700; color: #9a8f78;
}
.photo-inner { max-width: 34ch; }
.photo b { display: block; font-family: var(--sans); font-size: .88rem; color: #4d4535; margin-bottom: .25rem; font-weight: 650; }
.photo span { font-size: .78rem; line-height: 1.5; display: block; }
.photo.r43 { aspect-ratio: 4 / 3; }
.photo.r169 { aspect-ratio: 16 / 9; }
.photo.r11 { aspect-ratio: 1 / 1; }
.photo.r32 { aspect-ratio: 3 / 2; }

/* ---------- breadcrumbs ------------------------------------------------- */
.crumbs { font-size: .82rem; padding: .9rem 0; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.crumbs li { margin: 0; display: flex; gap: .4rem; align-items: center; }
.crumbs li + li::before { content: "/"; color: #b9c6c9; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; }

/* ---------- page header ------------------------------------------------- */
.phead { background: var(--sand); border-bottom: 1px solid var(--sand-2); padding-block: clamp(2.25rem, 4vw, 3.5rem); }
.phead .lead { max-width: 62ch; }
.phead h1 { max-width: 20ch; }
.phead.wide h1 { max-width: 26ch; }

/* ---------- article body ------------------------------------------------ */
.body-copy h2 { margin-top: 2.5rem; }
.body-copy h2:first-child { margin-top: 0; }
.body-copy h3 { margin-top: 1.85rem; }
.body-copy > p:first-child { font-size: 1.1rem; color: var(--ink-2); }

.toc {
  background: var(--sand); border-radius: var(--r); padding: 1.25rem 1.4rem; margin-bottom: 2.25rem;
}
.toc h4 { font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 2rem; }
.toc li { font-size: .9rem; margin-bottom: .35rem; break-inside: avoid; }

.aside-box {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.35rem; box-shadow: var(--shadow); position: sticky; top: 96px;
}
.aside-box h3 { font-size: 1.1rem; }
.aside-box p { font-size: .92rem; }
.with-aside { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: clamp(2rem,4vw,3.5rem); align-items: start; }

/* ---------- CTA band ---------------------------------------------------- */
.cta-band {
  background: linear-gradient(150deg, #10404e 0%, #0b2830 100%);
  color: #cfe3e8; text-align: center;
}
.cta-band h2 { color: #fff; max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 58ch; margin-inline: auto; color: #b3cfd7; }
.cta-band .btn-row { justify-content: center; margin-top: 1.75rem; }

/* ---------- footer ------------------------------------------------------ */
.ftr { background: var(--ink); color: #9db6bc; font-size: .9rem; padding-block: 3.5rem 0; }
.ftr h4 { color: #fff; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .9rem; font-family: var(--sans); font-weight: 680; }
.ftr a { color: #c3d7dc; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr ul { list-style: none; padding: 0; margin: 0; }
.ftr li { margin-bottom: .45rem; font-size: .88rem; }
.ftr-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.ftr-brand p { font-size: .88rem; max-width: 34ch; line-height: 1.6; }
.ftr .logo-txt b { color: #fff; }
.ftr-areas { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.75rem; font-size: .82rem; line-height: 1.9; }
.ftr-areas a { color: #9db6bc; }
.ftr-legal {
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem 6rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .8rem; color: #7e979d;
}
.ftr-legal ul { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.ftr-legal li { margin: 0; }
.ftr-disclosure { font-size: .78rem; line-height: 1.65; color: #7e979d; max-width: 90ch; margin-top: .75rem; }

/* ---------- mobile call bar --------------------------------------------- */
.callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 80;
  background: rgba(255,255,255,.98); border-top: 1px solid var(--line);
  padding: .55rem .7rem calc(.55rem + env(safe-area-inset-bottom));
  display: none; gap: .5rem; box-shadow: 0 -4px 20px rgba(12,42,50,.12);
}
.callbar .btn { flex: 1; padding: .8rem .5rem; font-size: .93rem; }

/* ---------- mobile nav panel -------------------------------------------- */
.mnav {
  position: fixed; inset: 0; z-index: 90; background: #fff;
  display: none; flex-direction: column; overflow-y: auto;
}
.mnav[data-open="true"] { display: flex; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; padding: 1rem 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.mnav-body { padding: 1rem 20px 2rem; }
.mnav details { border-bottom: 1px solid var(--line-2); }
.mnav summary {
  padding: .95rem 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  color: var(--ink); cursor: pointer; list-style: none; position: relative;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::after {
  content: "+"; position: absolute; right: .25rem; top: .8rem; font-size: 1.3rem;
  color: var(--blue); font-family: var(--sans); line-height: 1;
}
.mnav details[open] summary::after { content: "\2013"; }
.mnav .mnav-sub { padding: 0 0 1rem; list-style: none; margin: 0; }
.mnav .mnav-sub li { margin: 0; }
.mnav .mnav-sub a { display: block; padding: .5rem 0 .5rem .9rem; font-size: .95rem; color: var(--body); text-decoration: none; border-left: 2px solid var(--line); }
.mnav .mnav-sub a:hover { color: var(--blue); border-color: var(--blue); }
.mnav > .mnav-body > a.mnav-flat {
  display: block; padding: .95rem 0; border-bottom: 1px solid var(--line-2);
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none;
}
.mnav-cta { display: grid; gap: .6rem; margin-top: 1.5rem; }

/* ---------- misc -------------------------------------------------------- */
.stat-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.25rem; }
.stat b { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--ink); line-height: 1; margin-bottom: .3rem; }
.stat span { font-size: .88rem; color: var(--muted); }

.pill-nav { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1.5rem 0 0; list-style: none; padding: 0; }
.pill-nav li { margin: 0; }
.pill-nav a {
  display: inline-block; padding: .4rem .85rem; border-radius: 100px; font-size: .86rem;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 550;
}
.pill-nav a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

.quote {
  border-left: 3px solid var(--blue); padding-left: 1.25rem; margin: 1.5rem 0;
  font-family: var(--serif); font-size: 1.12rem; color: var(--ink); line-height: 1.55;
}
.quote cite { display: block; font-family: var(--sans); font-size: .85rem; color: var(--muted); font-style: normal; margin-top: .6rem; }

.mini { font-size: .84rem; color: var(--muted); }
.center { text-align: center; }
.mb0 { margin-bottom: 0; }
.mt2 { margin-top: 2rem; }

/* ---------- responsive -------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-list { display: none; }
  .burger { display: inline-flex; }
  .hdr-in { min-height: 66px; gap: 1rem; }
  .nav { margin-left: auto; }
}
@media (min-width: 861px) {
  .hero-in { grid-template-columns: 1.08fr .92fr; align-items: center; }
}
@media (max-width: 980px) {
  .with-aside { grid-template-columns: 1fr; }
  .aside-box { position: static; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .ftr-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .split { grid-template-columns: 1fr; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .callbar { display: flex; }
  .ftr-legal { padding-bottom: 6.5rem; }
  .toc ol { columns: 1; }
  .hdr-phone { display: none; }
  .topbar { font-size: .78rem; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* Full-width buttons ONLY where they stack in content. Never in the header,
     the mobile call bar, or anywhere that would push the layout wider than
     the viewport. */
  .btn-row > .btn, .form-foot .btn, .aside-box .btn-row > .btn { width: 100%; }
  .hdr-cta .btn, .callbar .btn, .mega-foot .btn { width: auto; }
}
@media (max-width: 520px) {
  .g4 { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
  .hero-card { padding: 1.2rem; }
  .logo-txt b { font-size: 1.05rem; }
  .logo-txt span { font-size: .58rem; }
  /* The header keeps the logo and the Menu button. The CTA lives in the
     menu panel and in the persistent call bar, so it is not lost. */
  .hdr-cta > .btn-primary { display: none; }
  .hdr-in { gap: .5rem; min-height: 60px; }
  .topbar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

@media print {
  .hdr, .topbar, .callbar, .cta-band, .ftr, .mnav, .crumbs { display: none !important; }
  body { font-size: 11pt; }
}
