/*
  Harbor Marketing Site
  ─────────────────────────────────────────────────────────────
  Goals:
  - modern, consistent, readable
  - premium SaaS feel (subtle gradients, depth, crisp type)
  - accessible focus states
*/

:root{
  --primary:#35549A;
  --primary-700:#233E7C;
  --accent:#6FA0D3;

  --bg:#F7F9FC;
  --surface:#FFFFFF;
  --text:#0E1A2B;
  --muted:#5A667A;

  --border: rgba(14,26,43,0.10);
  --border-strong: rgba(14,26,43,0.16);

  --shadow-sm: 0 10px 26px rgba(14,26,43,0.06);
  --shadow-md: 0 16px 42px rgba(14,26,43,0.10);

  --radius: 18px;
  --radius-sm: 12px;

  --max: 1120px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img{max-width:100%; height:auto; display:block}

a{color:inherit; text-decoration:none}
a:hover{color:var(--primary-700)}

.container{max-width:var(--max); margin:0 auto; padding:0 20px}

/* Accessibility */
:focus-visible{outline: 3px solid rgba(53,84,154,0.35); outline-offset: 3px; border-radius: 10px;}

/* ─────────────────────────────────────────────────────────────
   Header + Mobile Drawer
   ───────────────────────────────────────────────────────────── */
.header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(247,249,252,0.84);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 170px;
}
.brand img{height:36px; width:auto}

.nav-links{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:18px;
  flex: 1 1 auto;
}
.nav-links a{
  color:var(--muted);
  font-weight:800;
  font-size:14px;
  letter-spacing:-0.01em;
  padding:10px 10px;
  border-radius:12px;
}
.nav-links a:hover{color:var(--text); background:rgba(14,26,43,0.04)}

.nav-links a.active{
  color:var(--text);
  background:rgba(53,84,154,0.10);
}

.nav-cta{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 240px;
  justify-content:flex-end;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:var(--radius-sm);
  border:1px solid transparent;
  font-weight:900;
  letter-spacing:-0.01em;
  font-size:14px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active{transform: translateY(1px)}

.btn-primary{
  background: linear-gradient(180deg, var(--primary), var(--primary-700));
  color:#fff;
  box-shadow: 0 10px 24px rgba(35,62,124,0.22);
}
/* Ensure white text on all interactive states — overrides the global a:hover rule */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:focus-visible,
.btn-primary:active,
.btn-primary:visited {
  color: #fff;
}
.btn-primary:hover{filter:brightness(0.98); box-shadow: 0 14px 32px rgba(35,62,124,0.26)}

.btn-ghost{
  background:rgba(255,255,255,0.75);
  border-color:rgba(14,26,43,0.14);
  color:var(--text);
}
.btn-ghost:hover{background:#fff; border-color:rgba(14,26,43,0.22)}

.btn-link{
  background:transparent;
  padding:10px 8px;
  color:var(--muted);
}
.btn-link:hover{color:var(--text); background:rgba(14,26,43,0.04)}

.nav-toggle{
  display:none;
  border:1px solid rgba(14,26,43,0.14);
  background:rgba(255,255,255,0.72);
  border-radius:14px;
  height:42px;
  width:46px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav-toggle:hover{background:#fff; border-color:rgba(14,26,43,0.22)}
.nav-toggle svg{width:18px;height:18px; fill:var(--text)}

.mobile-drawer{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(14,26,43,0.44);
  z-index:1200;
}
.mobile-drawer.open{display:block}
.drawer-panel{
  position:absolute;
  top:0; right:0;
  height:100%;
  width:min(420px, 88vw);
  background:#fff;
  border-left:1px solid rgba(14,26,43,0.10);
  box-shadow: 0 24px 70px rgba(14,26,43,0.28);
  padding:16px;
}
.drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:4px 2px 12px;
  border-bottom:1px solid rgba(14,26,43,0.08);
}
.drawer-head img{height:34px;width:auto}
.drawer-close{
  border:1px solid rgba(14,26,43,0.14);
  background:rgba(247,249,252,1);
  border-radius:14px;
  height:42px;
  width:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.drawer-close:hover{border-color:rgba(14,26,43,0.22); background:#fff}
.drawer-close svg{width:18px;height:18px; fill:var(--text)}

.drawer-links{
  display:grid;
  gap:8px;
  padding:14px 2px 10px;
}
.drawer-links a{
  padding:12px 12px;
  border-radius:14px;
  color:var(--text);
  font-weight:950;
  letter-spacing:-0.01em;
  border:1px solid rgba(14,26,43,0.10);
  background:rgba(247,249,252,0.7);
}
.drawer-links a:hover{background:#fff; border-color:rgba(14,26,43,0.16)}

.drawer-links a.active{
  border-color:rgba(53,84,154,0.30);
  background:rgba(53,84,154,0.08);
}

@media (max-width: 980px){
  .nav-links{display:none}
  .nav-cta{display:none}
  .nav-toggle{display:flex}
  .brand{min-width:auto}
}

/* ─────────────────────────────────────────────────────────────
   Typography
   ───────────────────────────────────────────────────────────── */

h1{
  font-size: clamp(34px, 4.2vw, 52px);
  line-height:1.06;
  margin:16px 0 14px;
  letter-spacing:-0.035em;
}
h2{
  font-size: clamp(26px, 2.8vw, 34px);
  line-height:1.14;
  letter-spacing:-0.02em;
}
h3{
  font-size:18px;
  letter-spacing:-0.01em;
}

.lede{font-size:18px; color:var(--muted); max-width: 62ch}
.muted{color:var(--muted)}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid var(--border);
  padding:8px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:900;
  font-size:13px;
  box-shadow: 0 8px 22px rgba(14,26,43,0.06);
}
.kicker .dot{width:8px;height:8px;border-radius:999px;background:var(--accent)}

/* ─────────────────────────────────────────────────────────────
   Layout sections
   ───────────────────────────────────────────────────────────── */

.hero{
  padding:64px 0 30px;
  position:relative;
  overflow:hidden;
}
.hero > .container{position:relative; z-index:1;}
.hero::before{
  content:"";
  position:absolute;
  inset:-140px -140px auto auto;
  width:560px;
  height:560px;
  background:radial-gradient(closest-side, rgba(111,160,211,0.48), rgba(111,160,211,0.0));
  transform:rotate(18deg);
  filter:blur(2px);
  pointer-events:none;
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute;
  inset:auto auto -180px -180px;
  width:520px;
  height:520px;
  background:radial-gradient(closest-side, rgba(53,84,154,0.22), rgba(53,84,154,0.0));
  transform:rotate(-12deg);
  pointer-events:none;
  z-index:0;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap:40px;
  align-items:center;
}
.hero-actions{
  display:flex;
  gap:10px;
  margin:22px 0 12px;
  flex-wrap:wrap;
}

.media{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:22px;
  box-shadow: var(--shadow-sm);
  padding:18px;
}
.media-hero{padding:18px;}

.section{padding:56px 0}
.section.tight{padding:40px 0}

.section-header{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:24px;
}
.section-header p{margin:0; color:var(--muted); max-width:72ch}
.section-header h2{margin:0}

.page-hero{padding:44px 0 18px}
.page-hero h1{margin-top:10px}
.breadcrumb{color:var(--muted); font-size:13px; font-weight:900}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:center;
}

/* ─────────────────────────────────────────────────────────────
   Cards + grids
   ───────────────────────────────────────────────────────────── */

.card-grid{
  display:grid;
  gap:16px;
  grid-template-columns: repeat(3, 1fr);
}

.card{
  display:block;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14,26,43,0.14);
}
.card h3{margin:10px 0 6px}
.card p{margin:0; color:var(--muted)}

.icon-wrap{
  width:40px;
  height:40px;
  border-radius:14px;
  background:rgba(53,84,154,0.10);
  border:1px solid rgba(53,84,154,0.18);
  display:flex;
  align-items:center;
  justify-content:center;
}
.icon-wrap svg{width:20px;height:20px; fill:var(--primary)}

.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(111,160,211,0.18);
  border:1px solid rgba(111,160,211,0.28);
  color:var(--primary-700);
  font-weight:950;
  font-size:12px;
}

.price{
  font-size:40px;
  letter-spacing:-0.03em;
  margin:10px 0 10px;
  font-weight:1000;
}

/* Compact module tiles */
.module-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.module{
  display:block;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.module:hover{transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(14,26,43,0.14)}
.module h3{margin:8px 0 6px; font-size:16px}
.module p{margin:0; color:var(--muted); font-size:13px; font-weight:650}

/* Lists */
.feature-list{
  margin:12px 0 0;
  padding:0;
  list-style:none;
  color:var(--muted);
}
.feature-list li{margin:8px 0; display:flex; gap:10px}
.check{
  width:18px;
  height:18px;
  border-radius:7px;
  background:rgba(25,182,166,0.14);
  border:1px solid rgba(25,182,166,0.30);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.check svg{width:12px;height:12px; fill:#19B6A6}

/* Trust strip */
.trust-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.trust-strip span{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(14,26,43,0.12);
  background:rgba(247,249,252,1);
  font-size:12px;
  font-weight:900;
  color:var(--text);
  letter-spacing:0.01em;
}

/* Compare */
.compare-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.compare-card{
  background:#fff;
  border:1px solid var(--border-strong);
  border-radius:18px;
  padding:14px;
  box-shadow: var(--shadow-sm);
}
.compare-card h3{margin:0 0 8px; font-size:15px}
.compare-card ul{margin:0; padding-left:18px; color:var(--muted); font-weight:750; font-size:13px;}

/* Diagrams */
.diagram{max-width:100%; height:auto}
.flow-diagram{
  background:rgba(53,84,154,0.08);
  border:1px solid var(--border);
  border-radius:22px;
  padding:18px;
}
.flow-title{
  font-weight:950;
  color:var(--text);
  margin:0 0 12px;
  letter-spacing:-0.01em;
}
.flow-steps{
  display:flex;
  align-items:stretch;
  gap:18px;
  flex-wrap:wrap;
}
.flow-step{
  flex:1 1 180px;
  min-width:180px;
  background:#fff;
  border:1px solid var(--border-strong);
  border-radius:16px;
  padding:12px 12px 10px;
  position:relative;
  box-shadow: var(--shadow-sm);
}
.flow-step strong{display:block; font-weight:950; margin-bottom:4px}
.flow-step span{display:block; color:var(--muted); font-weight:750; font-size:12px; line-height:1.25}
.flow-step:not(:last-child)::after{
  content:"";
  position:absolute;
  right:-12px;
  top:50%;
  width:12px;
  height:12px;
  border-right:3px solid rgba(53,84,154,0.65);
  border-top:3px solid rgba(53,84,154,0.65);
  transform:translateY(-50%) rotate(45deg);
}

/* CTA */
.cta{
  background:linear-gradient(135deg, rgba(53,84,154,0.18), rgba(111,160,211,0.10));
  border:1px solid rgba(53,84,154,0.12);
  border-radius:26px;
  padding:30px;
  box-shadow: var(--shadow-md);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.cta h2{margin:0}
.cta p{margin:6px 0 0; color:var(--muted)}

.notice{
  background:rgba(25,182,166,0.10);
  border:1px solid rgba(25,182,166,0.22);
  padding:12px 14px;
  border-radius:14px;
  color:rgba(14,26,43,0.92);
}

/* Investors-specific */
.callout{
  background:linear-gradient(180deg, rgba(53,84,154,0.08), rgba(111,160,211,0.03));
  border:1px solid rgba(14,26,43,0.12);
  border-radius:22px;
  padding:18px;
  box-shadow: var(--shadow-sm);
}
.callout h3{margin:0 0 8px; font-weight:1000}
.callout p{margin:0; color:var(--muted); font-weight:750}

.arch{display:grid; grid-template-columns:1fr; gap:12px}
.arch .node{
  background:#fff;
  border:1px solid rgba(14,26,43,0.12);
  border-radius:18px;
  padding:14px;
  box-shadow: var(--shadow-sm);
}
.arch .node h4{margin:0 0 6px; font-weight:1000}
.arch .node p{margin:0; color:var(--muted); font-weight:750}
.arch .down{display:flex; justify-content:center; opacity:0.85}
.arch .down svg{width:22px; height:22px}

/* Forms */
.input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(14,26,43,0.16);
  background:#fff;
  font-weight:750;
}
.input:focus{outline:none; border-color: rgba(53,84,154,0.50); box-shadow: 0 0 0 4px rgba(53,84,154,0.12)}

textarea.input{min-height:120px; resize:vertical;}

.field-validation{color: rgba(180,35,24,0.95); font-weight:850; font-size:12px;}

/* Footer */
.footer{
  background:var(--primary-700);
  color:#fff;
  padding:44px 0;
  margin-top:30px;
}
.footer a{color:rgba(255,255,255,0.86)}
.footer a:hover{color:#fff}
.footer .muted{color:rgba(255,255,255,0.72)}
.footer-grid{
  display:grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap:18px;
}
.footer h4{margin:0 0 10px; font-size:14px; letter-spacing:-0.01em}
.footer ul{list-style:none; padding:0; margin:0; display:grid; gap:8px}

.subfooter{
  border-top:1px solid rgba(255,255,255,0.14);
  margin-top:22px;
  padding-top:18px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:rgba(255,255,255,0.70);
  font-size:12px;
}

/* ─────────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────────── */

@media (max-width: 980px){
  .hero{padding-top:48px}
  .hero-grid{grid-template-columns:1fr; gap:18px}
  .split{grid-template-columns:1fr}

  .card-grid{grid-template-columns: repeat(2, 1fr)}
  .module-grid{grid-template-columns: repeat(2, 1fr)}

  .footer-grid{grid-template-columns:1fr 1fr}
}

@media (max-width: 720px){
  .flow-step:not(:last-child)::after{display:none}
  .compare-grid{grid-template-columns:1fr}
}

@media (max-width: 640px){
  .card-grid{grid-template-columns:1fr}
  .module-grid{grid-template-columns:1fr}
  .cta{flex-direction:column; align-items:flex-start}
  .footer-grid{grid-template-columns:1fr}
}

/* ─────────────────────────────────────────────────────────────
   Home (v2)
   ───────────────────────────────────────────────────────────── */
.hero.hero-v2{
  padding: 76px 0 46px;
  background:
    radial-gradient(900px 380px at 16% 8%, rgba(111,160,211,0.28), transparent 70%),
    radial-gradient(820px 360px at 84% 0%, rgba(53,84,154,0.18), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.70), rgba(247,249,252,0.70));
}
.hero-media{margin-top: 10px;}
.hero-note{margin: 14px 0 0;}

.shot-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.shot{
  background: rgba(255,255,255,0.92);
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  overflow:hidden;
}
.shot-top{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  background: linear-gradient(180deg, rgba(14,26,43,0.03), rgba(14,26,43,0.00));
}
.shot-dot{
  width:8px; height:8px; border-radius:99px;
  background: rgba(14,26,43,0.18);
}
.shot-label{
  margin-left:auto;
  font-size:12px;
  font-weight:900;
  color: var(--muted);
  letter-spacing: -0.01em;
}
.shot img{width:100%; height:auto;}

.callout{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: rgba(53,84,154,0.08);
}
.callout strong{font-weight: 950;}

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.step{
  background: rgba(255,255,255,0.92);
  border:1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}
.step-num{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 950;
  background: rgba(53,84,154,0.12);
  color: var(--primary-700);
  margin-bottom: 10px;
}

.media-wide{
  margin-top: 18px;
}

.pill-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pill{
  display:flex;
  flex-direction:column;
  gap:4px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px 14px;
  background: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-sm);
}
.pill strong{font-weight: 950;}

.list-cards{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.list-card{
  display:flex;
  flex-direction:column;
  gap:4px;
  border:1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.92);
}
.list-card strong{font-weight: 950;}

.compare-card.highlight{
  border-color: rgba(53,84,154,0.25);
  box-shadow: var(--shadow-md);
}

/* Motion (subtle, respects reduced-motion) */
@media (prefers-reduced-motion: no-preference){
  .card, .shot, .step, .pill{transform: translateY(0);}
  .card:hover, .shot:hover, .step:hover, .pill:hover{transform: translateY(-2px);}
}

@media (min-width: 860px){
  .shot-grid{grid-template-columns: 1fr;}
}

@media (max-width: 980px){
  .steps{grid-template-columns: repeat(2, 1fr);}
}

@media (max-width: 620px){
  .steps{grid-template-columns: 1fr;}
  .pill-grid{grid-template-columns: 1fr;}
  .callout{flex-direction: column;}
}

/* ─────────────────────────────────────────────────────────────
   Screenshots (frames + captions)
   ───────────────────────────────────────────────────────────── */
.shot-caption{
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.96);
}
.shot-caption h4{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.01em;
}
.shot-caption p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* grid variants */
.shot-grid.shot-grid-2{grid-template-columns: repeat(2, 1fr);}
.shot-grid.shot-grid-3{grid-template-columns: repeat(3, 1fr);}

@media (max-width: 980px){
  .shot-grid.shot-grid-2{grid-template-columns: 1fr;}
  .shot-grid.shot-grid-3{grid-template-columns: 1fr;}
}


/* -------------------------------------------------------------
   PPEC Education and multilingual resources
   ------------------------------------------------------------- */
.education-hero{
  background:
    radial-gradient(760px 320px at 14% 0%, rgba(111,160,211,0.24), transparent 70%),
    radial-gradient(740px 320px at 86% 4%, rgba(53,84,154,0.12), transparent 64%);
}
.education-hero .kicker{margin-top:14px;}

.finder-hero-cta{
  margin-top:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(53,84,154,0.20);
  background:linear-gradient(180deg, rgba(255,255,255,0.96), rgba(111,160,211,0.12));
  box-shadow:var(--shadow-sm);
}
.finder-hero-cta-copy{display:grid; gap:4px;}
.finder-hero-cta-eyebrow{
  margin:0;
  font-size:11px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--primary-700);
}
.finder-hero-cta-title{
  margin:0;
  font-weight:950;
  font-size:18px;
  letter-spacing:-0.02em;
  color:var(--text);
}
.finder-hero-cta-subtitle{
  margin:0;
  color:var(--muted);
  font-weight:700;
  font-size:14px;
}
.finder-hero-cta-button{white-space:nowrap;}

.finder-page .finder-content-container,
.finder-page .finder-hero-container{max-width:var(--max);}
.finder-page-hero .lede{max-width:62ch;}
.finder-intro-section{padding-top:10px;}
.finder-shell{
  display:grid;
  grid-template-columns:minmax(0, 1fr);
  gap:16px;
  align-items:stretch;
}
.finder-experience-shell{
  background:#fff;
  border:1px solid var(--border);
  border-radius:24px;
  padding:24px;
  box-shadow:var(--shadow-sm);
  display:grid;
  gap:16px;
}
.finder-search-card{
  background:transparent;
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
}
.finder-card-header{display:grid; gap:8px; margin-bottom:16px;}
.finder-card-header h2{
  margin:0;
  font-size:28px;
  letter-spacing:-0.02em;
}
.finder-card-header p{
  margin:0;
  color:var(--muted);
}
.finder-form{
  display:grid;
  grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr) auto;
  gap:12px;
  align-items:end;
}
.finder-form-field{display:grid; gap:6px;}
.finder-field-label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.finder-form-field label{
  font-size:13px;
  font-weight:900;
  color:var(--text);
}
.finder-use-location-button{
  padding:2px 0;
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
}
.finder-location-status{
  margin:0;
  font-size:13px;
  line-height:1.4;
}
.finder-location-status[hidden]{display:none !important;}
.finder-location-status-success{color:#0f7141;}
.finder-location-status-warning{color:#9c5b13;}
.finder-submit-button{
  min-height:46px;
  padding:0 20px;
}
.finder-status{
  margin:14px 0 0;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  font-weight:750;
  color:var(--text);
  background:rgba(247,249,252,0.85);
}
.finder-status-idle{color:var(--muted);}
.finder-status-success{
  border-color:rgba(22,132,73,0.28);
  background:rgba(22,132,73,0.10);
}
.finder-status-neutral{
  border-color:rgba(53,84,154,0.26);
  background:rgba(53,84,154,0.08);
}
.finder-status-warning{
  border-color:rgba(177,100,12,0.34);
  background:rgba(177,100,12,0.10);
}
.finder-status-error{
  border-color:rgba(179,46,61,0.32);
  background:rgba(179,46,61,0.10);
}
.finder-fallback-callout{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px;
  border:1px solid var(--border);
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,0.95), rgba(53,84,154,0.05));
}
.finder-fallback-title{
  margin:0 0 4px;
  color:var(--text);
  font-weight:900;
}
.finder-fallback-callout p{margin:0;}
.finder-fallback-callout[hidden]{display:none !important;}

.finder-results-shell{
  border-top:1px solid rgba(14,26,43,0.10);
  padding:16px 0 0;
  margin-top:2px;
}
.finder-results-shell[hidden]{display:none !important;}
.finder-results-header{margin-bottom:14px;}
.finder-results-header h2{
  margin:0;
  font-size:30px;
  letter-spacing:-0.02em;
}
.finder-results-header p{
  margin:8px 0 0;
  color:var(--muted);
}
.finder-results-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.55fr) minmax(0, 1fr);
  gap:16px;
  align-items:start;
}
.finder-results-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
}
.finder-result-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
}
.finder-result-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:8px;
}
.finder-result-heading{
  display:flex;
  align-items:flex-start;
  gap:10px;
}
.finder-result-index{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  min-height:28px;
  padding:0 8px;
  border-radius:999px;
  border:1px solid rgba(53,84,154,0.24);
  background:rgba(53,84,154,0.10);
  color:var(--primary-700);
  font-size:12px;
  font-weight:900;
  line-height:1;
}
.finder-result-top h3{
  margin:2px 0 0;
  font-size:20px;
  line-height:1.25;
}
.finder-distance{
  margin:0;
  white-space:nowrap;
  color:var(--primary-700);
  font-weight:900;
  font-size:12px;
}
.finder-result-meta{
  display:grid;
  gap:7px;
}
.finder-result-meta p{
  margin:0;
  color:var(--muted);
  font-size:14px;
}
.finder-result-meta strong{color:var(--text);}
.finder-result-actions{margin-top:10px;}
.finder-result-card-map-linked{
  cursor:pointer;
}
.finder-result-card.is-active{
  border-color:rgba(53,84,154,0.34);
  box-shadow:0 10px 22px rgba(53,84,154,0.10);
}
.finder-empty-state{
  border:1px dashed rgba(14,26,43,0.24);
  border-radius:16px;
  padding:18px;
  background:rgba(247,249,252,0.7);
}
.finder-empty-state h3{
  margin:0 0 6px;
  font-size:19px;
}
.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:3px 9px;
  border-radius:999px;
  font-size:12px;
  font-weight:850;
  line-height:1.4;
  border:1px solid transparent;
}
.finder-license-success{
  color:#0f7141;
  border-color:rgba(22,132,73,0.28);
  background:rgba(22,132,73,0.10);
}
.finder-license-warning{
  color:#9c5b13;
  border-color:rgba(177,100,12,0.32);
  background:rgba(177,100,12,0.10);
}
.finder-license-danger{
  color:#a22633;
  border-color:rgba(179,46,61,0.30);
  background:rgba(179,46,61,0.10);
}
.finder-call-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.finder-call-link svg{
  width:16px;
  height:16px;
  fill:currentColor;
}
.finder-result-owner{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid rgba(14,26,43,0.10);
}
.finder-result-owner p{
  margin:0;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}
.finder-result-owner a{
  font-weight:850;
  text-decoration:underline;
}

.finder-map-card{
  border:1px solid var(--border);
  border-radius:18px;
  background:rgba(247,249,252,0.85);
  padding:14px;
  position:sticky;
  top:var(--finder-sticky-top, 88px);
  align-self:start;
}
.finder-map-card h3{
  margin:0 0 10px;
  font-size:17px;
}
.finder-map-canvas{
  width:100%;
  min-height:320px;
  border-radius:12px;
  border:1px solid rgba(14,26,43,0.10);
  overflow:hidden;
}
.finder-map-caption{
  margin:8px 0 0;
  font-size:13px;
}
.finder-map-caption[hidden]{display:none !important;}
.finder-map-empty{
  border:1px dashed rgba(14,26,43,0.24);
  border-radius:12px;
  display:block;
  padding:14px;
  text-align:left;
  color:var(--muted);
  background:#fff;
  font-size:14px;
}
.finder-map-empty[hidden]{display:none !important;}
.finder-map-marker-wrap{
  background:transparent;
  border:0;
}
.finder-map-marker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:999px;
  border:2px solid #24448b;
  background:#fff;
  color:#24448b;
  font-weight:900;
  font-size:13px;
  box-shadow:0 5px 14px rgba(14,26,43,0.18);
}
.finder-map-popup-heading{
  margin:0 0 6px;
  font-weight:900;
  color:var(--text);
}
.finder-map-popup-line{
  margin:0 0 4px;
  font-size:13px;
  color:var(--muted);
}
.finder-map-popup-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:8px;
}
.finder-map-popup-actions a{
  font-size:13px;
  font-weight:850;
}
.finder-disclaimer-section{padding-top:12px;}
.finder-disclaimer{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}
.finder-secondary-actions-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

@media (max-width: 1100px){
  .finder-results-layout{
    grid-template-columns:1fr;
  }
  .finder-map-card{
    position:static;
    top:auto;
  }
}
@media (max-width: 980px){
  .finder-experience-shell{
    padding:18px;
  }
  .finder-form{
    grid-template-columns:1fr;
    align-items:stretch;
  }
  .finder-submit-button{
    width:100%;
  }
  .finder-fallback-callout{
    flex-direction:column;
    align-items:flex-start;
  }
}
@media (max-width: 720px){
  .finder-hero-cta{
    flex-direction:column;
    align-items:flex-start;
  }
  .finder-hero-cta-button{
    width:100%;
  }
  .finder-card-header h2{font-size:24px;}
  .finder-results-header h2{font-size:26px;}
  .finder-map-canvas{min-height:260px;}
}

.language-switcher{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:18px;
}
.language-switcher a,
.language-switcher span{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  font-weight:900;
  background:rgba(255,255,255,0.84);
  color:var(--muted);
}
.language-switcher span{
  color:var(--primary-700);
  background:rgba(53,84,154,0.10);
  border-color:rgba(53,84,154,0.22);
}
.resource-nav{
  background:linear-gradient(180deg, rgba(53,84,154,0.07), rgba(111,160,211,0.08));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.resource-card-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}
.resource-card{
  display:block;
  background:rgba(255,255,255,0.94);
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow-sm);
  min-height:132px;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.resource-card:hover{
  transform:translateY(-2px);
  box-shadow:var(--shadow-md);
  border-color:rgba(14,26,43,0.14);
}
.resource-card strong{
  display:block;
  color:var(--text);
  margin:8px 0 6px;
  font-size:17px;
  letter-spacing:-0.02em;
}
.resource-card p{margin:0; color:var(--muted); font-size:14px; line-height:1.45;}
.steps.steps-six{grid-template-columns: repeat(3, 1fr);}
.step h3{margin:0 0 6px;}
.step p{margin:0;}
.timeline{display:grid; gap:14px;}
.timeline-item{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:14px;
  align-items:start;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow-sm);
}
.timeline-num{
  width:36px;
  height:36px;
  border-radius:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:950;
  background:rgba(53,84,154,0.12);
  color:var(--primary-700);
}
.timeline-item h3{margin:0 0 6px;}
.timeline-item p{margin:0; color:var(--muted); font-weight:650;}
.source-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px;}
.source-card{
  display:block;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-sm);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.source-card:hover{transform:translateY(-2px); box-shadow:var(--shadow-md); border-color:rgba(14,26,43,0.14);}
.source-card h3{margin:10px 0 6px;}
.source-card p{margin:0; color:var(--muted);}
.term-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px;}
.term-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  box-shadow:var(--shadow-sm);
}
.term-card h2{margin:0 0 8px; font-size:20px;}
.term-card p{margin:0; color:var(--muted); font-weight:650;}
.footer-grid{grid-template-columns:1.25fr 1fr 1fr 1fr 1fr;}

@media (max-width: 1080px){
  .resource-card-grid{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width: 980px){
  .steps.steps-six{grid-template-columns:repeat(2,1fr);}
  .source-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width: 640px){
  .steps.steps-six{grid-template-columns:1fr;}
  .source-grid{grid-template-columns:1fr;}
  .term-grid{grid-template-columns:1fr;}
  .resource-card-grid{grid-template-columns:1fr;}
  .footer-grid{grid-template-columns:1fr;}
}


/* -------------------------------------------------------------
   PPEC nav dropdown, resource visibility, and language routing UI
   ------------------------------------------------------------- */
.nav-dropdown{
  position:relative;
  display:inline-flex;
  align-items:center;
}
.nav-dropdown-trigger::after{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  opacity:.7;
}
.nav-dropdown-menu{
  position:absolute;
  left:0;
  top:calc(100% + 10px);
  min-width:260px;
  display:none;
  padding:10px;
  background:rgba(255,255,255,0.98);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow-lg);
  z-index:1200;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  display:grid;
  gap:4px;
}
.nav-links .nav-dropdown-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:var(--muted);
  white-space:nowrap;
}
.nav-links .nav-dropdown-menu a:hover{
  color:var(--text);
  background:rgba(53,84,154,0.09);
}
.nav-dropdown-divider{
  height:1px;
  background:var(--border);
  margin:6px 4px;
}
.education-toolbar-section{
  position:relative;
  z-index:2;
  margin-top:-26px;
}
.education-toolbar{
  display:grid;
  grid-template-columns:.8fr 1.6fr;
  gap:18px;
  align-items:start;
  background:rgba(255,255,255,0.96);
  border:1px solid rgba(14,26,43,0.10);
  border-radius:24px;
  padding:18px;
  box-shadow:var(--shadow-md);
}
.education-toolbar-copy p{
  margin:5px 0 0;
  color:var(--muted);
  font-weight:650;
  line-height:1.45;
}
.eyebrow,
.mini-label{
  display:block;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
  font-weight:950;
  color:var(--primary-700);
}
.education-toolbar-controls{
  display:grid;
  gap:14px;
}
.language-switcher.prominent{
  margin-top:7px;
}
.language-switcher.prominent a,
.language-switcher.prominent span{
  background:#fff;
  box-shadow:0 4px 14px rgba(14,26,43,0.05);
}
.resource-jump{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:7px;
}
.resource-jump a{
  display:inline-flex;
  align-items:center;
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 12px;
  font-size:13px;
  font-weight:900;
  background:#fff;
  color:var(--muted);
}
.resource-jump a:hover,
.resource-jump a.active{
  color:var(--text);
  background:rgba(53,84,154,0.10);
  border-color:rgba(53,84,154,0.24);
}
.drawer-group{
  border:1px solid rgba(14,26,43,0.10);
  border-radius:16px;
  padding:8px;
  background:rgba(255,255,255,0.66);
}
.drawer-group summary{
  cursor:pointer;
  list-style:none;
  color:var(--text);
  font-weight:950;
  padding:8px 10px;
}
.drawer-group summary::-webkit-details-marker{display:none;}
.drawer-group summary::after{
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-left:8px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
}
.drawer-group[open] summary::after{
  transform:translateY(2px) rotate(225deg);
}
.drawer-links .drawer-group a{
  margin-top:6px;
  padding-left:18px;
  font-size:14px;
}
.drawer-subhead{
  margin:10px 10px 2px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:11px;
  font-weight:950;
}

@media (max-width: 1080px){
  .education-toolbar{
    grid-template-columns:1fr;
  }
}
@media (max-width: 980px){
  .nav-dropdown-menu{display:none !important;}
}
@media (max-width: 640px){
  .education-toolbar-section{margin-top:-14px;}
  .education-toolbar{padding:14px; border-radius:20px;}
  .resource-jump a,
  .language-switcher.prominent a,
  .language-switcher.prominent span{
    width:100%;
    justify-content:center;
  }
}

/* -------------------------------------------------------------
   2026-04-28 final Harbor PPEC nav/rail cleanup
   ------------------------------------------------------------- */
.header-inner{
  justify-content:flex-start;
}
.brand{
  flex:0 0 auto;
  min-width:auto;
}
.nav-links{
  flex:0 1 auto;
  justify-content:flex-start;
  margin-left:30px;
  gap:14px;
}
.nav-cta{
  margin-left:auto;
  min-width:auto;
}
.nav-dropdown:first-child .nav-dropdown-menu{
  min-width:190px;
}
.nav-dropdown-menu{
  box-shadow:var(--shadow-md);
}

.ppec-page{
  position:relative;
}
.ppec-page .education-toolbar-section{
  margin-top:0;
}
.ppec-page .education-toolbar-copy p{
  display:none;
}
.ppec-page .education-toolbar{
  max-width:none;
}

@media (min-width:1120px){
  .ppec-page > section:not(.education-toolbar-section) > .container{
    width:100%;
    max-width:var(--max);
    margin-left:auto;
    margin-right:auto;
  }

  .ppec-page .education-toolbar-section{
    position:static;
    top:auto;
    right:auto;
    width:auto;
    z-index:auto;
    pointer-events:auto;
  }

  .ppec-page .education-toolbar-section .container{
    padding:0 20px;
    margin:0 auto;
    width:100%;
    max-width:var(--max);
  }

  .ppec-page .education-toolbar{
    pointer-events:auto;
    display:block;
    width:100%;
    padding:12px;
    border-radius:20px;
    background:rgba(255,255,255,0.96);
    border:1px solid rgba(14,26,43,0.10);
    box-shadow:0 16px 42px rgba(14,26,43,0.12);
    backdrop-filter:saturate(160%) blur(12px);
  }

  .ppec-page .education-toolbar-copy{
    display:block;
    margin-bottom:10px;
  }

  .ppec-page .education-toolbar-controls{
    display:grid;
    gap:12px;
  }

  .ppec-page .education-toolbar-controls > div{
    display:block;
  }

  .ppec-page .language-switcher.prominent,
  .ppec-page .resource-jump{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    margin-top:6px;
  }

  .ppec-page .language-switcher.prominent a,
  .ppec-page .language-switcher.prominent span,
  .ppec-page .resource-jump a{
    width:100%;
    justify-content:flex-start;
    padding:7px 9px;
    font-size:12px;
    line-height:1.15;
    white-space:normal;
    text-align:left;
    box-shadow:none;
  }
}

@media (min-width:981px) and (max-width:1119px){
  .ppec-page > section:not(.education-toolbar-section) > .container{
    max-width:var(--max);
  }

  .ppec-page .education-toolbar-section{
    position:sticky;
    top:72px;
    z-index:900;
    background:rgba(247,249,252,0.94);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    backdrop-filter:saturate(160%) blur(12px);
  }

  .ppec-page .education-toolbar{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:14px;
    padding:10px 20px;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:transparent;
  }

  .ppec-page .education-toolbar-copy{
    flex:0 0 auto;
  }

  .ppec-page .education-toolbar-controls{
    display:flex;
    align-items:center;
    gap:14px;
    min-width:0;
  }

  .ppec-page .education-toolbar-controls > div{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
  }

  .ppec-page .language-switcher.prominent,
  .ppec-page .resource-jump{
    display:flex;
    flex-wrap:nowrap;
    gap:6px;
    margin:0;
  }

  .ppec-page .language-switcher.prominent a,
  .ppec-page .language-switcher.prominent span,
  .ppec-page .resource-jump a{
    padding:6px 9px;
    font-size:12px;
    white-space:nowrap;
    box-shadow:none;
  }
}

@media (max-width:980px){
  .nav-links{
    display:none;
  }
  .nav-cta{
    display:none;
  }
  .ppec-page{
    padding-top:104px;
  }
  .ppec-page .education-toolbar-section{
    position:fixed;
    top:72px;
    left:0;
    right:0;
    z-index:950;
    margin:0;
    background:rgba(247,249,252,0.97);
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    backdrop-filter:saturate(160%) blur(12px);
  }
  .ppec-page .education-toolbar-section .container{
    padding:0 10px;
    max-width:none;
  }
  .ppec-page .education-toolbar{
    display:block;
    padding:8px 0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
  }
  .ppec-page .education-toolbar-copy{
    display:none;
  }
  .ppec-page .education-toolbar-controls{
    display:grid;
    gap:6px;
  }
  .ppec-page .education-toolbar-controls > div{
    display:flex;
    align-items:center;
    gap:6px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .ppec-page .education-toolbar-controls > div::-webkit-scrollbar{
    display:none;
  }
  .ppec-page .mini-label{
    flex:0 0 auto;
    margin:0 2px 0 0;
    font-size:9px;
    white-space:nowrap;
  }
  .ppec-page .language-switcher.prominent,
  .ppec-page .resource-jump{
    display:flex;
    flex-wrap:nowrap;
    gap:6px;
    margin:0;
  }
  .ppec-page .language-switcher.prominent a,
  .ppec-page .language-switcher.prominent span,
  .ppec-page .resource-jump a{
    flex:0 0 auto;
    width:auto;
    justify-content:center;
    padding:6px 9px;
    font-size:12px;
    line-height:1.1;
    white-space:nowrap;
    box-shadow:none;
  }
}
  @if (isPpecLayout)
  {
    <style>
      /* Emergency PPEC rail/header layout lock: rendered inline so cached CSS cannot keep the old wide toolbar. */
      .header .header-inner{justify-content:flex-start !important;}
      .header .brand{flex:0 0 auto !important;min-width:0 !important;}
      .header .nav-links{flex:0 0 auto !important;justify-content:flex-start !important;margin-left:34px !important;gap:14px !important;}
      .header .nav-cta{margin-left:auto !important;min-width:0 !important;flex:0 0 auto !important;}

      body.ppec-layout .education-toolbar-copy p{display:block !important;}

      @media (min-width:1000px){
        body.ppec-layout main.ppec-page{position:relative !important;}
        body.ppec-layout main.ppec-page > section:not(.education-toolbar-section) > .container{
          width:min(74vw, 860px) !important;
          max-width:860px !important;
          margin-left:max(24px, calc((100vw - var(--max)) / 2)) !important;
          margin-right:auto !important;
        }
        body.ppec-layout .education-toolbar-section{
          position:fixed !important;
          top:92px !important;
          right:max(24px, calc((100vw - var(--max)) / 2)) !important;
          left:auto !important;
          width:min(280px, 24vw) !important;
          max-width:280px !important;
          margin:0 !important;
          padding:0 !important;
          z-index:850 !important;
        }
        body.ppec-layout .education-toolbar-section .container{
          width:100% !important;
          max-width:none !important;
          margin:0 !important;
          padding:0 !important;
          display:block !important;
        }
        body.ppec-layout .education-toolbar{
          display:block !important;
          width:100% !important;
          max-width:none !important;
          padding:12px !important;
          border-radius:20px !important;
          background:rgba(255,255,255,0.96) !important;
          border:1px solid rgba(14,26,43,0.10) !important;
          box-shadow:0 16px 42px rgba(14,26,43,0.12) !important;
          backdrop-filter:saturate(160%) blur(12px);
        }
        body.ppec-layout .education-toolbar-copy{display:block !important;margin:0 0 10px !important;}
        body.ppec-layout .education-toolbar-copy h2{font-size:11px !important;margin:0 0 7px !important;letter-spacing:.12em !important;}
        body.ppec-layout .education-toolbar-copy p{font-size:13px !important;line-height:1.3 !important;margin:0 !important;}
        body.ppec-layout .education-toolbar-controls{display:grid !important;gap:12px !important;}
        body.ppec-layout .education-toolbar-controls > div{display:block !important;min-width:0 !important;}
        body.ppec-layout .mini-label{display:block !important;font-size:10px !important;margin:0 0 6px !important;letter-spacing:.08em !important;}
        body.ppec-layout .language-switcher.prominent,
        body.ppec-layout .resource-jump{display:grid !important;grid-template-columns:1fr !important;gap:6px !important;margin:0 !important;}
        body.ppec-layout .language-switcher.prominent a,
        body.ppec-layout .language-switcher.prominent span,
        body.ppec-layout .resource-jump a{width:100% !important;justify-content:flex-start !important;text-align:left !important;padding:7px 9px !important;font-size:12px !important;line-height:1.15 !important;white-space:normal !important;box-shadow:none !important;}
      }

      @media (max-width:999px){
        .header .nav-links,.header .nav-cta{display:none !important;}
        body.ppec-layout main.ppec-page{padding-top:104px !important;}
        body.ppec-layout .education-toolbar-section{
          position:fixed !important;
          top:72px !important;
          left:0 !important;
          right:0 !important;
          width:100% !important;
          max-width:none !important;
          margin:0 !important;
          padding:0 !important;
          z-index:950 !important;
          background:rgba(247,249,252,0.97) !important;
          border-top:1px solid var(--border) !important;
          border-bottom:1px solid var(--border) !important;
          box-shadow:0 8px 22px rgba(14,26,43,0.08) !important;
          backdrop-filter:saturate(160%) blur(12px);
        }
        body.ppec-layout .education-toolbar-section .container{max-width:none !important;width:100% !important;padding:0 10px !important;margin:0 !important;}
        body.ppec-layout .education-toolbar{display:block !important;padding:7px 0 !important;border:0 !important;border-radius:0 !important;background:transparent !important;box-shadow:none !important;}
        body.ppec-layout .education-toolbar-copy{display:none !important;}
        body.ppec-layout .education-toolbar-controls{display:grid !important;gap:6px !important;}
        body.ppec-layout .education-toolbar-controls > div{display:flex !important;align-items:center !important;gap:6px !important;overflow-x:auto !important;-webkit-overflow-scrolling:touch;scrollbar-width:none;}
        body.ppec-layout .education-toolbar-controls > div::-webkit-scrollbar{display:none;}
        body.ppec-layout .mini-label{flex:0 0 auto !important;margin:0 2px 0 0 !important;font-size:9px !important;white-space:nowrap !important;}
        body.ppec-layout .language-switcher.prominent,
        body.ppec-layout .resource-jump{display:flex !important;flex-wrap:nowrap !important;gap:6px !important;margin:0 !important;}
        body.ppec-layout .language-switcher.prominent a,
        body.ppec-layout .language-switcher.prominent span,
        body.ppec-layout .resource-jump a{flex:0 0 auto !important;width:auto !important;padding:6px 9px !important;font-size:12px !important;line-height:1.1 !important;white-space:nowrap !important;box-shadow:none !important;}
      }
    </style>
  }

/* Marketing Phase 1A: PPEC education + provider visibility */
.audience-paths{background:linear-gradient(180deg, rgba(255,255,255,0.56), rgba(111,160,211,0.08));}
.audience-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:16px;}
.audience-card{
  background:#fff;
  border:1px solid var(--border-strong);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow-sm);
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.audience-card.family{background:linear-gradient(180deg, #fff, rgba(111,160,211,0.09));}
.audience-card.operator{background:linear-gradient(180deg, #fff, rgba(53,84,154,0.09));}
.audience-card h3{margin:10px 0 8px; font-size:26px; line-height:1.05; letter-spacing:-0.04em;}
.audience-card p{margin:0; color:var(--muted); font-weight:750;}
.audience-actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:18px;}
.provider-guidance-section{background:#fff; border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.provider-question-card,
.provider-info-card{
  background:#fff;
  border:1px solid var(--border-strong);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow-sm);
}
.provider-question-card h3,
.provider-info-card h3{margin:0 0 10px;}
.provider-question-card ul{margin:0; padding-left:18px; color:var(--muted); font-weight:750;}
.provider-info-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.provider-info-card p{margin:0; color:var(--muted); font-weight:750;}
.finder-guidance-section{padding-bottom:8px;}
.finder-guidance-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:14px;}
.finder-guidance-card{
  background:#fff;
  border:1px solid var(--border-strong);
  border-radius:22px;
  padding:18px;
  box-shadow:var(--shadow-sm);
}
.finder-guidance-card h2{margin:10px 0 8px; font-size:24px; line-height:1.1; letter-spacing:-0.03em;}
.finder-guidance-card p{margin:0; color:var(--muted); font-weight:750;}
.finder-after-callout{background:linear-gradient(180deg, rgba(53,84,154,0.08), rgba(111,160,211,0.05));}
.provider-directory-notice{margin-bottom:20px;}
.provider-visibility-page .hero-actions{margin-top:18px;}
@media (max-width: 920px){
  .audience-grid,
  .finder-guidance-grid,
  .provider-info-grid{grid-template-columns:1fr;}
  .audience-card{min-height:auto;}
}

/* Public provider profile cards */
.profile-card-grid{display:grid; grid-template-columns:repeat(auto-fill,minmax(320px,1fr)); gap:16px;}
.profile-card{
  background:#fff;
  border:1px solid var(--border-strong);
  border-radius:22px;
  padding:20px;
  box-shadow:var(--shadow-sm);
  display:flex;
  flex-direction:column;
}
.profile-card-top{display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:4px;}
.profile-card-top h3{margin:0; flex:1 1 auto;}
.profile-card-meta{display:grid; gap:4px; margin-bottom:12px;}
.profile-card-meta p{margin:0; font-size:14px;}
.profile-card-actions{display:flex; gap:8px; flex-wrap:wrap; margin-top:auto; padding-top:12px;}
.profile-card-provenance{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; padding-top:10px; border-top:1px solid var(--border);}
.profile-source-label{font-size:12px; color:var(--muted); background:rgba(14,26,43,0.05); border-radius:6px; padding:2px 8px;}

/* Uses Harbor badge */
.uses-harbor-badge{
  flex:0 0 auto;
  font-size:11px;
  font-weight:800;
  letter-spacing:.04em;
  color:var(--primary, #233E7C);
  background:rgba(53,84,154,0.09);
  border:1px solid rgba(53,84,154,0.18);
  border-radius:8px;
  padding:3px 9px;
  white-space:nowrap;
  cursor:default;
}

/* Update listing form */
.update-listing-form{max-width:720px;}
.form-section{margin-bottom:36px;}
.form-section-heading{font-size:20px; margin:0 0 4px; letter-spacing:-0.02em;}
.form-section .muted{margin:0 0 20px;}
.form-section-consent{display:grid; gap:14px; margin-bottom:20px;}
.form-group{display:grid; gap:6px; margin-bottom:16px;}
.form-group label{font-size:14px; font-weight:800; color:var(--text);}
.form-row-two{display:grid; grid-template-columns:repeat(2,1fr); gap:14px;}
.form-check-group{display:grid; grid-template-columns:auto 1fr; gap:10px; align-items:flex-start;}
.form-check-input{width:18px; height:18px; margin-top:2px; accent-color:var(--primary, #233E7C); cursor:pointer; flex:0 0 auto;}
.form-check-label{font-size:14px; color:var(--muted); font-weight:750; line-height:1.45;}
.form-field-error{font-size:13px; color:#b91c1c; font-weight:750;}
.form-feedback-success{
  background:rgba(15,113,65,0.08);
  border:1px solid rgba(15,113,65,0.24);
  border-radius:16px;
  padding:16px 20px;
  margin-bottom:24px;
  color:#0f7141;
  font-weight:800;
}
.form-feedback-error{
  background:rgba(185,28,28,0.07);
  border:1px solid rgba(185,28,28,0.22);
  border-radius:16px;
  padding:16px 20px;
  margin-bottom:24px;
  color:#b91c1c;
  font-weight:750;
}
@media (max-width: 640px){
  .profile-card-grid{grid-template-columns:1fr;}
  .form-row-two{grid-template-columns:1fr;}
}

/* Provider detail page */
.provider-detail-h1{
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 8px 0 4px;
}
.provider-detail-subtitle{
  font-size: 16px;
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}
.provider-detail-header{display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap;}
.provider-detail-grid{display:grid; grid-template-columns:minmax(0,2fr) minmax(280px,360px); gap:40px; align-items:flex-start;}
.provider-detail-main{display:grid; gap:0;}
.provider-detail-section{border-top:1px solid var(--border); padding:24px 0;}
.provider-detail-section:first-child{border-top:none; padding-top:0;}
.provider-detail-section-heading{font-size:17px; font-weight:900; letter-spacing:-0.02em; margin:0 0 12px; color:var(--text);}
.provider-detail-dl{display:grid; grid-template-columns:max-content 1fr; gap:6px 20px; margin:0;}
.provider-detail-dl dt{font-size:14px; font-weight:800; color:var(--text); white-space:nowrap;}
.provider-detail-dl dd{font-size:14px; color:var(--muted); margin:0;}
.provider-detail-aside{display:grid; gap:16px;}
.provider-detail-aside .callout{display:block;}
.provider-detail-provenance{display:flex; flex-wrap:wrap; gap:6px; margin-top:14px;}
.provider-detail-sidebar-links{display:grid; gap:8px; margin-top:4px;}
.provider-detail-sidebar-links a{
  display:block; padding:10px 14px;
  border:1px solid var(--border-strong); border-radius:12px;
  font-size:14px; font-weight:900; color:var(--text);
  background:rgba(247,249,252,0.8);
}
.provider-detail-sidebar-links a:hover{background:#fff; border-color:rgba(14,26,43,0.22); color:var(--text);}
@media (max-width: 860px){
  .provider-detail-grid{grid-template-columns:1fr;}
  .provider-detail-aside{order:-1;}
  .provider-detail-dl{grid-template-columns:1fr;}
}

/* FAQ accordion */
.faq-list{display:grid; gap:2px;}
.faq-list details{border:1px solid var(--border-strong); border-radius:12px; overflow:hidden;}
.faq-list details+details{margin-top:4px;}
.faq-list summary{
  padding:16px 20px; font-weight:900; font-size:15px;
  cursor:pointer; list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  color:var(--text);
}
.faq-list summary::-webkit-details-marker{display:none;}
.faq-list summary::after{content:'+'; font-size:20px; color:var(--muted); flex-shrink:0; line-height:1;}
.faq-list details[open] summary::after{content:'−';}
.faq-list details[open] summary{color:var(--primary);}

/* ─────────────────────────────────────────────────────────────
   Insights / Market Brief pages
   ───────────────────────────────────────────────────────────── */

/* Hero */
.brief-hero{padding:44px 0 32px;}
.brief-meta{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
  color:var(--muted);
  font-size:14px;
  font-weight:750;
}

/* Stats row */
.stat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-bottom:20px;
}
.stat-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-sm);
}
.stat-value{
  font-size:clamp(28px,3.2vw,38px);
  font-weight:1000;
  letter-spacing:-0.03em;
  color:var(--primary-700);
  line-height:1.1;
}
.stat-label{color:var(--muted); font-size:14px; font-weight:750; margin-top:4px;}

/* Bridge sentence below stats */
.brief-bridge{
  margin:0;
  color:var(--muted);
  font-size:15px;
  font-weight:650;
  line-height:1.65;
  max-width:72ch;
}

/* Section divider */
.brief-rule{
  border:none;
  border-top:1px solid var(--border);
  margin:0;
}

/* Body text within brief sections */
.brief-body{max-width:760px;}
.brief-body h2{margin:0 0 16px;}
.brief-body h3{margin:24px 0 10px;}
.brief-body p{
  margin:0 0 14px;
  color:var(--muted);
  font-weight:650;
  line-height:1.68;
}
.brief-body ul,.brief-body ol{
  margin:0 0 14px;
  padding-left:22px;
  color:var(--muted);
  font-weight:650;
}
.brief-body li{margin-bottom:6px; line-height:1.6;}
.brief-body strong{color:var(--text);}

/* Tables */
.table-wrapper{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin:16px 0 4px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
}
.data-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  font-size:14px;
  font-weight:650;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.data-table th{
  padding:10px 14px;
  text-align:left;
  font-size:11px;
  font-weight:950;
  letter-spacing:0.04em;
  text-transform:uppercase;
  color:var(--text);
  background:rgba(247,249,252,0.95);
  border-bottom:1px solid var(--border);
}
.data-table td{
  padding:9px 14px;
  color:var(--muted);
  border-bottom:1px solid rgba(14,26,43,0.05);
}
.data-table tr:last-child td{border-bottom:0;}
.data-table td.num,.data-table th.num{text-align:right;}
.table-total td{background:rgba(53,84,154,0.04); color:var(--text);}
.table-note{
  margin:6px 0 16px;
  font-size:12px;
  color:var(--muted);
  font-weight:650;
}

/* Chart figures */
.chart-figure{margin:24px 0 8px;}
.chart-figure svg{width:100%; height:auto; display:block;}
.chart-caption{
  margin-top:10px;
  font-size:13px;
  color:var(--muted);
  font-weight:650;
  line-height:1.5;
  max-width:66ch;
}

/* Download link */
.download-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:var(--primary);
  font-weight:850;
  text-decoration:underline;
  font-size:14px;
}
.download-link svg{width:16px; height:16px; fill:currentColor; flex-shrink:0;}

/* CTA box */
.brief-cta-box{
  background:linear-gradient(135deg,rgba(53,84,154,0.10),rgba(111,160,211,0.07));
  border:1px solid rgba(53,84,154,0.16);
  border-radius:var(--radius);
  padding:28px;
}
.brief-cta-box h2{margin:10px 0 10px;}
.brief-cta-box p{margin:0 0 16px; color:var(--muted); font-weight:650; line-height:1.65;}
.brief-cta-actions{display:flex; gap:10px; flex-wrap:wrap;}

/* Methodology list */
.methodology-list{
  list-style:none;
  padding:0;
  margin:0 0 16px;
  display:grid;
  gap:8px;
}
.methodology-list li{
  padding:12px 14px;
  background:rgba(247,249,252,0.7);
  border:1px solid var(--border);
  border-radius:12px;
  color:var(--muted);
  font-size:14px;
  font-weight:650;
  line-height:1.6;
}
.methodology-list li strong{color:var(--text);}

/* Disclaimer */
.brief-disclaimer{font-size:13px; line-height:1.6;}

/* Screen-reader-only helper (heading hidden visually but present for a11y) */
.sr-only{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Mobile */
@media (max-width:720px){
  .stat-grid{grid-template-columns:1fr 1fr;}
  .brief-cta-box{padding:20px;}
}
@media (max-width:480px){
  .stat-grid{grid-template-columns:1fr;}
  .brief-cta-actions{flex-direction:column;}
  .brief-meta{gap:8px;}
}

/* Print / PDF */
@media print{
  .header,.footer,.mobile-drawer,.no-print{display:none !important;}
  body{background:#fff; color:#000;}
  .brief-page,.container{max-width:100% !important;}
  .section{padding:20px 0;}
  .brief-hero{padding:20px 0;}
  .brief-cta-box{background:#f0f4fb; border:1px solid #ccc;}
  h1{font-size:28px !important;}
  h2{font-size:20px !important; page-break-after:avoid;}
  h3{page-break-after:avoid;}
  .chart-figure,.data-table,.stat-card,.stat-grid,.methodology-list li{
    page-break-inside:avoid;
  }
  .brief-cta-actions{display:none !important;}
  .brief-rule{border-top:1px solid #ccc; margin:16px 0;}
  .table-wrapper{overflow:visible; border:1px solid #ccc;}
  .data-table{font-size:12px;}
  .data-table th{background:#f5f5f5 !important; color:#000 !important;}
  .stat-value{color:#233e7c !important;}
  a{color:inherit; text-decoration:none;}
}
.faq-list .faq-answer{padding:0 20px 18px; color:var(--muted); font-size:14px; line-height:1.7;}
