/* ─────────────────────────────────────────────────────────
   PDBHAI Public Site — Design System
   ───────────────────────────────────────────────────────── */

/* Variables */
:root {
  --navy:        #172b4d;
  --navy-mid:    #1e3a5f;
  --teal:        #0d9488;
  --teal-dark:   #0f766e;
  --teal-light:  #f0fdfa;
  --teal-ring:   #ccfbf1;
  --amber:       #f59e0b;
  --amber-light: #fffbeb;
  --red:         #dc2626;
  --green:       #16a34a;
  --text:        #1f2937;
  --muted:       #6b7280;
  --border:      #e5e7eb;
  --bg:          #ffffff;
  --bg-alt:      #f9fafb;
  --radius-sm:   4px;
  --radius:      8px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.10);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

/* Layout */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.section    { padding: 4.5rem 0; }
.section.tight { padding: 2.5rem 0; }
.section.flush  { padding: 0; }

/* Alternating section backgrounds */
.section.bg-alt  { background: var(--bg-alt); }
.section.bg-teal { background: var(--teal-light); }
.section.bg-navy { background: var(--navy); color: #fff; }

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.split.v-center { align-items: center; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* ─── Typography ─── */
h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem);  font-weight: 700; line-height: 1.25; letter-spacing: -.015em; margin-bottom: .5rem; }
h3 { font-size: 1.2rem;  font-weight: 700; line-height: 1.35; margin-bottom: .4rem; }
h4 { font-size: 1rem;    font-weight: 600; margin-bottom: .35rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lede    { font-size: 1.2rem; color: var(--muted); line-height: 1.6; }
.muted   { color: var(--muted); }
.kicker  { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); display: flex; align-items: center; gap: .4rem; margin-bottom: .75rem; }
.dot     { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); display: inline-block; flex-shrink: 0; }
.breadcrumb { font-size: .8rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--teal); }
.section-header { margin-bottom: 2.5rem; }
.section-header p { color: var(--muted); margin-top: .4rem; font-size: 1.05rem; }

/* ─── Badges ─── */
.badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .6rem;
  border-radius: 100px;
  background: var(--teal-ring);
  color: var(--teal-dark);
  margin-bottom: .5rem;
}
.badge.amber  { background: var(--amber-light); color: #92400e; }
.badge.navy   { background: rgba(23,43,77,.12); color: var(--navy); }
.badge.green  { background: #dcfce7; color: #166534; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.35rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .18s ease;
  white-space: nowrap;
}
.btn-primary  { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); text-decoration: none; color: #fff; }
.btn-secondary { background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); text-decoration: none; color: var(--text); }
.btn-navy  { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-mid); text-decoration: none; color: #fff; }
.btn-ghost { background: transparent; color: var(--teal-dark); border: 1.5px solid var(--teal); }
.btn-ghost:hover { background: var(--teal-light); text-decoration: none; color: var(--teal-dark); }
/* Ghost on dark/hero backgrounds */
.btn-ghost-inverted { background: transparent; color: rgba(255,255,255,.9); border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost-inverted:hover { background: rgba(255,255,255,.15); color: #fff; text-decoration: none; border-color: rgba(255,255,255,.6); }
.btn-group { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ─── Navbar ─── */
header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .85rem 0;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.navbar-brand a {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.01em;
  text-decoration: none;
}
.navbar-brand a:hover { opacity: .9; text-decoration: none; }
.navbar-brand .brand-sub {
  font-size: .65rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  line-height: 1.1;
  display: block;
  max-width: 140px;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  transition: all .15s;
}
.nav-links a:hover { color: #fff; border-bottom-color: var(--teal); text-decoration: none; }
.nav-links a.active { color: #fff; border-bottom-color: var(--teal); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .35rem;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .65rem 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links a:last-child { border-bottom: none; }
}

/* ─── Hero ─── */
.site-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3d6b 60%, #1a4a6b 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.site-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(13,148,136,.2) 0%, transparent 60%);
  pointer-events: none;
}
.site-hero .container { position: relative; }
.site-hero h1 { color: #fff; margin-bottom: 1rem; }
.site-hero .lede { color: rgba(255,255,255,.8); max-width: 620px; }
.site-hero .kicker { color: var(--teal); }
.site-hero .dot { background: var(--teal); }

.hero-layout { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .hero-layout { grid-template-columns: 1fr; } .hero-illustration { display: none; } }

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 2rem;
}
.hero-trust-strip span {
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  padding: .3rem .8rem;
  border-radius: 100px;
}

/* page-level hero (education pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a60 100%);
  color: #fff;
  padding: 3.5rem 0 3rem;
}
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero .lede { color: rgba(255,255,255,.8); max-width: 600px; }
.page-hero .kicker { color: rgba(13,148,136,.9); }
.page-hero .breadcrumb { color: rgba(255,255,255,.5); margin-bottom: .75rem; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.5); }

/* ─── Cards ─── */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .18s, transform .18s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card .card-icon { margin-bottom: 1rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* Icon card variant */
.icon-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.icon-card .icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--teal);
}

/* Source cards (for official references) */
.source-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.source-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all .18s;
  text-decoration: none;
  color: var(--text);
}
.source-card:hover { border-color: var(--teal); box-shadow: var(--shadow); text-decoration: none; transform: translateY(-1px); }
.source-card h3 { font-size: 1rem; margin-bottom: .3rem; color: var(--navy); }
.source-card p  { font-size: .87rem; color: var(--muted); margin: 0; }

/* Resource cards */
.resource-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.resource-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all .18s;
  text-decoration: none;
  color: var(--text);
}
.resource-card:hover { border-color: var(--teal); text-decoration: none; transform: translateY(-1px); }
.resource-card strong { display: block; font-size: 1rem; color: var(--navy); margin-bottom: .3rem; }
.resource-card p { font-size: .87rem; color: var(--muted); margin: 0; }

/* Compare grid */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
@media (max-width: 640px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.compare-card h3 { font-size: 1.05rem; margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.compare-card ul { list-style: none; padding: 0; }
.compare-card li { padding: .4rem 0; font-size: .93rem; display: flex; gap: .5rem; align-items: baseline; }
.compare-card.highlight { border-color: var(--teal); background: var(--teal-light); }
.compare-card.highlight h3 { color: var(--teal-dark); border-color: var(--teal-ring); }
.compare-card li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.compare-card:not(.highlight) li::before { content: '✕'; color: var(--muted); }

/* Term grid (glossary) */
.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.term-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
}
.term-card h2, .term-card h3 { font-size: 1rem; color: var(--teal-dark); margin-bottom: .35rem; }
.term-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ─── Steps ─── */
.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}
.steps-6 { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
  flex-shrink: 0;
}
.step h3 { font-size: .98rem; margin-bottom: .3rem; }
.step p  { font-size: .87rem; color: var(--muted); margin: 0; }

/* ─── Timeline ─── */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 1.5rem; }
.timeline-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-bottom: none;
  background: var(--bg);
}
.timeline-item:first-child { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.timeline-item:last-child  { border-bottom: 1px solid var(--border); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.timeline-num {
  width: 32px; height: 32px; min-width: 32px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.timeline-item h3 { font-size: 1rem; margin-bottom: .25rem; }
.timeline-item p  { font-size: .9rem; color: var(--muted); margin: 0; }

/* ─── Callout + Notice ─── */
.callout {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem;
}
.callout strong { display: block; margin-bottom: .4rem; font-size: .95rem; color: var(--navy); }
.callout p { font-size: .9rem; color: var(--muted); }

.notice {
  background: var(--teal-light);
  border: 1px solid var(--teal-ring);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: .87rem;
  color: var(--teal-dark);
  line-height: 1.6;
}

/* ─── Alert banners ─── */
.alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid;
  margin-bottom: 1.5rem;
  font-size: .93rem;
  line-height: 1.65;
}
.alert strong { display: block; margin-bottom: .3rem; }
.alert a { font-weight: 600; }
.alert-info    { background: #eff6ff; border-color: #3b82f6; color: #1e40af; }
.alert-info a  { color: #1e40af; }
.alert-warning { background: var(--amber-light); border-color: var(--amber); color: #92400e; }
.alert-success { background: #dcfce7; border-color: var(--green); color: #166534; }
.alert-danger  { background: #fee2e2; border-color: var(--red); color: #991b1b; }
.alert-neutral { background: var(--bg-alt); border-color: var(--border); color: var(--text); }
.alert-teal    { background: var(--teal-light); border-color: var(--teal); color: var(--teal-dark); }

/* ─── Policy / what-we-do grid ─── */
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 640px) { .policy-grid { grid-template-columns: 1fr; } }
.policy-col h3 { font-size: 1rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--border); }
.policy-col.do h3 { color: var(--teal-dark); border-color: var(--teal); }
.policy-col.dont h3 { color: #b45309; border-color: var(--amber); }
.policy-col ul { list-style: none; padding: 0; }
.policy-col li { display: flex; gap: .5rem; align-items: baseline; padding: .4rem 0; font-size: .92rem; border-bottom: 1px solid var(--bg-alt); }
.policy-col.do li::before   { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.policy-col.dont li::before { content: '✕'; color: #b45309;    font-weight: 700; flex-shrink: 0; }

/* ─── Feature strip ─── */
.feature-strip { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.feature-strip span {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: .3rem .75rem;
  border-radius: 100px;
}
.feature-strip svg { color: var(--teal); }

/* ─── Forms ─── */
.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  max-width: 600px;
}
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: .4rem; color: var(--navy); }
.form-hint { font-size: .8rem; color: var(--muted); margin-top: .25rem; }
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: .6rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,148,136,.12);
}
textarea { resize: vertical; min-height: 130px; }

/* ─── Footer ─── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand-wrap { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.05rem; font-weight: 800; }
.footer-brand p { font-size: .85rem; line-height: 1.6; max-width: 300px; }
.footer-col h5 { color: #fff; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .85rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: .45rem; }
.footer-col a { color: rgba(255,255,255,.6); font-size: .87rem; transition: color .15s; }
.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); margin: 0; max-width: 700px; line-height: 1.7; }
.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ─── Illustrations (inline SVG) ─── */
.hero-illustration svg { width: 280px; height: 280px; opacity: .92; }
.illustration-sm svg   { width: 160px; height: 160px; }
.section-illustration { display: flex; justify-content: center; margin: 1.5rem 0; }

/* ─── Value prop / feature block ─── */
.value-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
}
.value-block .vb-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}
.value-block h3 { font-size: .97rem; margin-bottom: .25rem; }
.value-block p  { font-size: .87rem; color: var(--muted); margin: 0; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; margin-top: 2rem; }

/* ─── Stat row ─── */
.stat-row { display: flex; flex-wrap: wrap; gap: 2rem; margin: 2rem 0; }
.stat { text-align: center; }
.stat .stat-num { font-size: 2.25rem; font-weight: 800; color: var(--teal); line-height: 1; }
.stat .stat-label { font-size: .8rem; color: var(--muted); margin-top: .25rem; }

/* ─── CTA banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a6b 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin: 2rem 0;
}
.cta-banner h2 { color: #fff; margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.75); max-width: 500px; margin: 0 auto 1.75rem; }

/* ─── Utilities ─── */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.gap-sm { gap: .5rem; }
.max-prose { max-width: 680px; }
.prose p, .prose li { color: var(--muted); }
.prose h2, .prose h3 { margin-top: 1.75rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .section       { padding: 3rem 0; }
  .section.tight { padding: 1.75rem 0; }
  .card-grid     { grid-template-columns: 1fr; }
  .source-grid   { grid-template-columns: 1fr; }
  .steps-6       { grid-template-columns: 1fr 1fr; }
  .term-grid     { grid-template-columns: 1fr; }
  .hero-trust-strip { gap: .4rem; }
  .site-hero     { padding: 3.5rem 0 3rem; }
  .page-hero     { padding: 2.5rem 0 2rem; }
  .footer-bottom { flex-direction: column; }
  .cta-banner    { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .steps-6  { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
}

/* ─── PPEC Finder ─── */
.finder-shell {
  display: grid;
  gap: 16px;
}
.finder-experience-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
}
.finder-card-header { margin-bottom: 1.25rem; }
.finder-card-header h2 { font-size: 1.75rem; margin: 0 0 .35rem; }
.finder-card-header p  { color: var(--muted); margin: 0; }
.finder-form {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: end;
}
@media (max-width: 640px) { .finder-form { grid-template-columns: 1fr; } }
.finder-form-field { display: grid; gap: 5px; }
.finder-field-label-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.finder-form-field label { font-size: .85rem; font-weight: 700; color: var(--navy); }
.finder-use-location-button { background: none; border: none; color: var(--teal-dark); font-size: .82rem; font-weight: 600; cursor: pointer; padding: 0; text-decoration: underline; }
.finder-use-location-button:hover { color: var(--navy); }
.finder-location-status { margin: 0; font-size: .82rem; line-height: 1.4; color: var(--muted); }
.finder-location-status[hidden] { display: none !important; }
.finder-location-status-success { color: #0f7141; }
.finder-location-status-warning { color: #9c5b13; }
.finder-submit-button { min-height: 44px; padding: .5rem 1.25rem; white-space: nowrap; }
.finder-status {
  margin: .875rem 0 0;
  padding: .6rem .9rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg-alt);
}
.finder-status-idle { color: var(--muted); }
.finder-status-success { border-color: rgba(22,132,73,.28); background: rgba(22,132,73,.08); color: #0f5e30; }
.finder-status-neutral { border-color: rgba(13,148,136,.28); background: var(--teal-light); color: var(--teal-dark); }
.finder-status-warning { border-color: rgba(177,100,12,.34); background: rgba(177,100,12,.08); }
.finder-status-error   { border-color: rgba(179,46,61,.32);  background: rgba(179,46,61,.08); }
.finder-fallback-callout {
  margin-top: .875rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .875rem;
  padding: .875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.finder-fallback-title { margin: 0 0 4px; font-weight: 700; font-size: .9rem; }
.finder-fallback-callout p { margin: 0; font-size: .85rem; color: var(--muted); }
.finder-fallback-callout[hidden] { display: none !important; }
.finder-results-shell { border-top: 1px solid var(--border); padding: 1rem 0 0; margin-top: 2px; }
.finder-results-shell[hidden] { display: none !important; }
.finder-results-header { margin-bottom: .875rem; }
.finder-results-header h2 { margin: 0; font-size: 1.5rem; }
.finder-results-header p  { margin: .4rem 0 0; color: var(--muted); font-size: .9rem; }
.finder-results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}
@media (max-width: 900px) { .finder-results-layout { grid-template-columns: 1fr; } .finder-map-card { display: none; } }
.finder-results-grid { display: grid; gap: .75rem; }
.finder-result-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  transition: box-shadow .15s;
}
.finder-result-card:hover { box-shadow: var(--shadow-sm); }
.finder-result-card.is-active { border-color: var(--teal); box-shadow: 0 4px 12px rgba(13,148,136,.15); }
.finder-result-card-map-linked { cursor: pointer; }
.finder-result-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .5rem; }
.finder-result-heading { display: flex; align-items: flex-start; gap: .625rem; }
.finder-result-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px; min-height: 26px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(13,148,136,.3);
  background: var(--teal-light);
  color: var(--teal-dark);
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.finder-result-top h3 { margin: 0; font-size: 1.05rem; }
.finder-distance { margin: 0; white-space: nowrap; color: var(--teal-dark); font-weight: 700; font-size: .78rem; }
.finder-result-meta { display: grid; gap: 5px; }
.finder-result-meta p  { margin: 0; color: var(--muted); font-size: .85rem; }
.finder-result-meta strong { color: var(--text); }
.finder-result-actions { margin-top: .625rem; }
.finder-result-owner { margin-top: .75rem; padding-top: .625rem; border-top: 1px solid var(--border); }
.finder-result-owner p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.finder-result-owner a { font-weight: 600; text-decoration: underline; }
.finder-empty-state { border: 1px dashed var(--border); border-radius: var(--radius); padding: 1.25rem; background: var(--bg-alt); }
.finder-empty-state h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.finder-empty-state p  { margin: 0; color: var(--muted); }
.finder-license-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.finder-license-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: .73rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.finder-license-success { color: #0f7141; border-color: rgba(22,132,73,.28); background: rgba(22,132,73,.1); }
.finder-license-warning { color: #9c5b13; border-color: rgba(177,100,12,.3); background: rgba(177,100,12,.1); }
.finder-license-danger  { color: #a22633; border-color: rgba(179,46,61,.3); background: rgba(179,46,61,.1); }
.finder-call-link { display: inline-flex; align-items: center; gap: 5px; font-size: .85rem; font-weight: 600; }
.finder-call-link svg { width: 14px; height: 14px; fill: currentColor; }
.finder-map-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: .875rem;
  position: sticky;
  top: 88px;
  align-self: start;
}
.finder-map-card h3 { margin: 0 0 .625rem; font-size: 1rem; }
.finder-map-canvas { width: 100%; min-height: 300px; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); }
.finder-map-caption { margin: .5rem 0 0; font-size: .8rem; color: var(--muted); }
.finder-map-caption[hidden], .finder-map-empty[hidden] { display: none !important; }
.finder-map-empty { border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: .875rem; color: var(--muted); font-size: .85rem; background: #fff; }
.finder-map-marker { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--teal); background: #fff; color: var(--teal); font-weight: 800; font-size: .8rem; box-shadow: 0 3px 8px rgba(0,0,0,.18); }
.finder-map-marker-wrap { background: transparent; border: 0; }
.finder-map-popup-heading { margin: 0 0 5px; font-weight: 700; color: var(--text); font-size: .9rem; }
.finder-map-popup-line   { margin: 0 0 3px; font-size: .8rem; color: var(--muted); }
.finder-map-popup-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.finder-map-popup-actions a { font-size: .8rem; font-weight: 700; color: var(--teal-dark); }
.finder-disclaimer { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.btn.btn-link { background: none; border: none; padding: 0; color: var(--teal-dark); font-weight: 600; font-size: inherit; cursor: pointer; }
