@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
/* Peoples Power Choice — website mockup design system
   Navy + cyan brand. Peoples Power Choice production site styles. */
:root {
  --navy: #102040;
  --navy-deep: #081221;
  --navy-mid: #1a3058;
  --navy-soft: #24395f;
  --cyan: #48c8e8;
  --cyan-2: #2bb4d8;
  --cyan-soft: #e7f7fc;
  --cyan-glow: rgba(72, 200, 232, 0.35);
  --paper: #f4f7fb;
  --ink: #12203a;
  --muted: #5b6c82;
  --line: #d7e0ea;
  --white: #ffffff;
  --amber: #f7931a;
  --shadow: 0 18px 50px rgba(16, 32, 64, 0.14);
  --shadow-sm: 0 6px 20px rgba(16, 32, 64, 0.08);
  --radius: 18px;
  --font: "Plus Jakarta Sans", "Inter", "IBM Plex Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", "IBM Plex Serif", Georgia, serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: default; }

.ribbon {
  background: var(--navy-deep);
  color: #cfe8f4;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 16px;
  font-weight: 500;
}
.ribbon strong { color: var(--cyan); font-weight: 700; }

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header.dark {
  background: rgba(8, 18, 33, 0.86);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo img { height: 44px; width: auto; }
.logo.compact img { height: 40px; }
nav.primary {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-mid);
}
.site-header.dark nav.primary { color: #d7eaf3; }
nav.primary a:hover { color: var(--cyan-2); }
.phone-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.site-header.dark .phone-cta {
  background: var(--cyan);
  color: var(--navy-deep);
}
.phone-cta svg { width: 16px; height: 16px; }

/* Layout helpers */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan-2);
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-glow);
}
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 750; }
.lede { font-size: 18px; color: var(--muted); max-width: 40em; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 14.5px;
  background: var(--cyan);
  color: var(--navy-deep);
  box-shadow: 0 8px 20px rgba(72, 200, 232, 0.28);
}
.btn.navy { background: var(--navy); color: var(--white); box-shadow: var(--shadow-sm); }
.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: none;
}
.btn.ghost-dark {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn svg { width: 16px; height: 16px; }

/* Chat */
.chat {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(16,32,64,0.06);
  min-height: 0;
  color: var(--ink);
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f8fcfe, #fff);
}
.avatar {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy);
  display: grid; place-items: center;
  flex: 0 0 auto;
  position: relative;
}
.avatar img { width: 26px; height: 26px; object-fit: contain; }
.avatar .online {
  position: absolute; right: -2px; bottom: -2px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #2bd576; border: 2px solid #fff;
}
.chat-head h3 { font-size: 15px; }
.chat-head p { margin: 0; font-size: 12px; color: var(--muted); font-weight: 600; }
.chat-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background:
    radial-gradient(1200px 200px at 50% 0%, rgba(72,200,232,0.06), transparent 60%),
    #f7fafc;
  flex: 1;
}
.msg {
  display: flex;
  gap: 8px;
  max-width: 92%;
  align-items: flex-end;
}
.msg.bot { align-self: flex-start; }
.msg.user { align-self: flex-end; flex-direction: row-reverse; }
.bubble {
  padding: 10px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(16,32,64,0.05);
}
.msg.bot .bubble {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
}
.msg.user .bubble {
  background: var(--navy);
  color: var(--white);
  border-bottom-right-radius: 5px;
}
.msg .mini-av {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--navy);
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.msg .mini-av img { width: 14px; height: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 30px; }
.chip, .chat-actions .act {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #bfe7f3;
  background: var(--cyan-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 999px;
  line-height: 1.2;
  max-width: 100%;
}
.chip svg, .chat-actions .act svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.chat-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: 30px; }
.chat-actions .act.primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.chat-head > div:not(.avatar) { min-width: 0; flex: 1; }
.avatar { flex: 0 0 40px; }
.chat-head h3 { color: var(--ink); }
.chat-foot {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.chat-foot input, .chat-foot .fake-input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--muted);
  background: #f8fafc;
}
.send {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cyan);
  border: 0;
  display: grid; place-items: center;
  color: var(--navy-deep);
}
.send svg { width: 18px; height: 18px; }
.example-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a6a1a;
  background: #fff4d6;
  border: 1px solid #f3d27a;
  padding: 3px 8px;
  border-radius: 999px;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #d5e4ef;
  padding: 42px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer h4 { margin: 0 0 10px; color: var(--white); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.site-footer p, .site-footer li { margin: 0 0 6px; font-size: 14px; color: #b9c9d6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.legal {
  padding-top: 16px;
  font-size: 12px;
  color: #8ea0b0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.section { padding: 72px 0; }
.section.tight { padding: 48px 0; }
.kicker { color: var(--muted); font-size: 16px; margin: 10px 0 0; }

/* Cards */
.card-grid { display: grid; gap: 18px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.icon-pill {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cyan-soft);
  color: var(--navy);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.icon-pill svg { width: 22px; height: 22px; }

/* Floating widget (mock 3) */
.widget-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 380px;
  filter: drop-shadow(0 18px 40px rgba(8,18,33,0.28));
}
.widget-bubble .chat { border-radius: 20px; max-height: 560px; }
.fab-close {
  position: absolute;
  top: -10px; right: -10px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-size: 16px;
  border: 2px solid #fff;
  z-index: 2;
}

@media (max-width: 900px) {
  nav.primary { display: none; }
  .card-grid.cols-3, .card-grid.cols-4, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 12px; padding: 10px 16px; }
  .wrap { padding: 0 16px; }
  .widget-bubble { width: calc(100vw - 24px); right: 12px; left: 12px; }
}


/* Production additions */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  left: 12px; top: -40px;
  background: var(--cyan);
  color: var(--navy-deep);
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 0 0 10px 10px;
  z-index: 100;
}
.skip-link:focus { top: 0; }
button { font-family: inherit; cursor: pointer; }
.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
}
.site-header.dark .menu-toggle { color: #fff; }
.nav-panel-open nav.primary { display: flex; }

/* Header social / legal links in footer */
.socials { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
}
.socials a:hover { border-color: var(--cyan); color: var(--cyan); }
.socials svg { width: 16px; height: 16px; }
.footer-grid a:hover { color: var(--cyan); }
.legal a { color: #c5d6e4; text-decoration: underline; text-underline-offset: 2px; }

/* Homepage hero (Ask Optimus) */
body.home { background: #0a1524; }
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 36px 0 40px;
  background:
    linear-gradient(90deg, rgba(8,18,33,.88) 0%, rgba(8,18,33,.62) 55%, rgba(8,18,33,.45) 100%),
    url("/assets/masthead.jpg") center/cover no-repeat;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 40px;
  align-items: start;
}
.hero h1 { color: #fff; max-width: 12em; }
.hero .lede { color: #cfe4f0; margin: 16px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; }
.hero-points li {
  display: flex; align-items: flex-start; gap: 10px;
  color: #e7f3fa; font-weight: 600; font-size: 15px;
  margin: 0 0 10px;
}
.hero-points svg { width: 18px; height: 18px; color: var(--cyan); flex: 0 0 auto; margin-top: 2px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

.chat { max-height: min(640px, calc(100vh - 130px)); color: var(--ink); }
.chat-body { overflow-y: auto; scroll-behavior: smooth; }
button.chip, button.act, button.send { font-family: inherit; cursor: pointer; }
button.chip, button.act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #bfe7f3;
  background: var(--cyan-soft);
  color: var(--navy);
  font-weight: 700;
  font-size: 12.5px;
  padding: 8px 12px;
  border-radius: 999px;
  line-height: 1.2;
  appearance: none;
}
button.act.primary, .act.primary {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
button.chip svg, button.act svg, .act svg {
  width: 14px; height: 14px; flex: 0 0 auto;
}
button.act:disabled, .act:disabled { opacity: .55; }
.chips { margin-top: 2px; }
.chip.picked, .act.picked {
  background: var(--navy) !important;
  color: #fff !important;
  border-color: var(--navy) !important;
}
.bubble.dots { display: flex; gap: 5px; align-items: center; min-width: 52px; height: 18px; }
.bubble.dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: #8aa0b3;
  animation: blink 1s infinite ease-in-out;
}
.bubble.dots span:nth-child(2) { animation-delay: .15s; }
.bubble.dots span:nth-child(3) { animation-delay: .3s; }
@keyframes blink {
  0%, 80%, 100% { opacity: .3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .bubble.dots span { animation: none; opacity: .7; }
  html { scroll-behavior: auto; }
}

.panel {
  margin: 0 0 0 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 1px 2px rgba(16,32,64,.05);
}
.panel h4 { margin: 0 0 4px; font-size: 14.5px; }
.panel p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.panel .row { display: flex; flex-wrap: wrap; gap: 8px; }
.file-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--cyan-soft);
  border: 1px solid #bfe7f3;
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 13px; font-weight: 700; color: var(--navy);
  margin-top: 8px;
}
.file-list { list-style: none; padding: 0; margin: 8px 0 0; }
.file-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; color: var(--navy);
  margin: 0 0 6px;
}
.file-list button.remove {
  margin-left: auto;
  border: 0; background: transparent;
  font-size: 18px; color: var(--muted); cursor: pointer;
}
.dropzone {
  border: 1.5px dashed #bfe7f3;
  background: var(--cyan-soft);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}
.dropzone.dragover { border-color: var(--cyan-2); background: #d9f3fa; }
.cb-form { display: grid; gap: 8px; }
.cb-form label, .site-form label {
  font-size: 11px; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.cb-form input, .cb-form select, .cb-form textarea,
.site-form input, .site-form select, .site-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  color: var(--ink);
  background: #f8fafc;
}
.cb-form textarea, .site-form textarea { min-height: 120px; resize: vertical; }
.cb-form .actions, .site-form .actions { display: flex; gap: 8px; margin-top: 4px; flex-wrap: wrap; }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--ink); text-transform: none;
  letter-spacing: 0; font-weight: 600;
}
.consent input { width: auto; margin-top: 3px; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-error {
  display: none;
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #8a1f16;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 650;
  margin: 0 0 12px;
}
.form-error.show { display: block; }
.form-success {
  background: #e8f8ee;
  border: 1px solid #b7e4c7;
  color: #14532d;
  border-radius: 14px;
  padding: 18px;
}
.chat-foot input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink);
  background: #f8fafc;
  font-family: inherit;
  outline: none;
}
.chat-foot input:focus { border-color: var(--cyan-2); }

.trust {
  background: #0d1b30;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 22px 0;
  color: #c5d6e4;
}
.trust-row {
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.trust-row span { display: flex; align-items: center; gap: 8px; }
.trust-row svg { width: 16px; height: 16px; color: var(--cyan); }
.how { background: var(--paper); color: var(--ink); }
.how .card h3 { margin: 0 0 8px; }
.how .card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.step-num {
  font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--cyan-2);
  text-transform: uppercase; margin-bottom: 6px;
}
.about, .states { background: #fff; color: var(--ink); }
.about blockquote {
  margin: 18px 0 10px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--cyan);
  color: var(--ink);
  font-size: 17px;
}
.about .sig { font-weight: 800; margin: 0; }
.about .sig-role { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.state-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 16px 0 0;
}
.state-list li {
  background: var(--cyan-soft);
  border: 1px solid #bfe7f3;
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 11px;
  border-radius: 999px;
}

/* Inner pages */
.page-hero {
  background: var(--navy-deep);
  color: #fff;
  padding: 36px 0 32px;
}
.page-hero h1 { color: #fff; }
.page-hero .lede { color: #cfe4f0; margin: 12px 0 0; }
.page-body { background: var(--paper); padding: 40px 0 72px; }
.page-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  max-width: 860px;
}
.page-card.wide { max-width: 920px; }
.legal-body { font-size: 15.5px; color: var(--ink); }
.legal-body h2 {
  font-size: 20px;
  margin: 28px 0 10px;
  letter-spacing: -0.02em;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 12px; }
.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 1.25em; }
.legal-body li { margin: 0 0 6px; }
.site-form { display: grid; gap: 10px; }
.site-form .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}
.contact-card h2 { margin: 0 0 10px; font-size: 20px; }
.contact-card p, .contact-card a { color: var(--ink); }
.contact-card a { font-weight: 700; }
.muted { color: var(--muted); }

@media (max-width: 900px) {
  nav.primary {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(8,18,33,.96);
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  nav.primary a { padding: 10px 0; }
  .menu-toggle { display: inline-flex; }
  .header-inner { position: relative; }
  .hero { padding: 24px 0 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 22px; }
  .hero h1 { font-size: 32px; }
  .phone-cta span.label { display: none; }
  .chat { max-height: 70vh; }
  .contact-grid, .site-form .grid-2 { grid-template-columns: 1fr; }
  .page-card { padding: 20px; }
}

/* State landing pages and footer states column */
.footer-grid {
  grid-template-columns: 1.35fr 0.9fr 0.85fr 0.9fr;
}
@media (max-width: 1100px) and (min-width: 901px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
nav.primary { gap: 18px; }
.state-list a {
  color: inherit;
  text-decoration: none;
}
.state-list a:hover { text-decoration: underline; }
.state-list li[aria-current="page"] {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.state-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr);
  gap: 28px;
  align-items: start;
}
.state-layout .page-card { max-width: none; }
.state-article h2 {
  font-size: 22px;
  margin: 28px 0 10px;
  letter-spacing: -0.02em;
}
.state-article h2:first-child { margin-top: 0; }
.state-article p { margin: 0 0 12px; font-size: 15.5px; color: var(--ink); }
.state-article ul { margin: 0 0 14px; padding-left: 1.25em; }
.state-article li { margin: 0 0 6px; }
.state-article a { font-weight: 700; }
.state-cta-card { position: sticky; top: 88px; }
.state-cta-card h2 { margin: 8px 0 12px; font-size: 22px; }
.state-cta-card p { margin: 0 0 12px; font-size: 14.5px; color: var(--muted); }
.state-cta-card .btn { width: 100%; }
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.faq-list details:first-child { padding-top: 0; }
.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--navy);
  font-size: 15.5px;
}
.faq-list details p { margin: 8px 0 0; font-size: 15px; color: var(--ink); font-weight: 400; }
.sources { font-size: 14px; }
.sources a { font-weight: 700; }
@media (max-width: 900px) {
  .state-layout { grid-template-columns: 1fr; }
  .state-cta-card { order: -1; position: static; }
}

/* Broker partner page and optional homepage strip */
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin: 2px 0 8px;
}
.check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
}
.check-grid input { width: auto; margin: 0; }
.partner-benefits { margin: 0 0 32px; max-width: 920px; }
.partner-benefits .card-grid { margin-top: 18px; }
.partner-benefits .card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.partner-benefits .card h3 { margin: 0 0 8px; }
.partner-strip {
  background: var(--navy);
  color: #e7f0f6;
  padding: 22px 0;
}
.partner-strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.partner-strip p {
  margin: 0;
  font-size: 18px;
  font-weight: 750;
  color: #fff;
  letter-spacing: -0.02em;
}
@media (max-width: 900px) {
  .check-grid { grid-template-columns: 1fr; }
}

/* Stack footer columns on phones so Site links (including Become a broker) stay readable. */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

/* Emphasize the built-in e-sign card on the broker partner page. */
.portal-highlight {
  border-color: #bfe7f3;
  box-shadow: 0 0 0 1px rgba(72, 200, 232, 0.35), var(--shadow-sm);
  background: linear-gradient(180deg, #f4fbfd 0%, #fff 42%);
}

/* Header States dropdown
   The menu is opened by JS (hover with a close delay, or click/tap) via .is-open.
   CSS :hover / :focus-within remain as a no-JS fallback. A ::before bridge and
   a stretched trigger close the gap between "States" and the panel. backdrop-filter
   is kept off the header element itself so it cannot clip or steal pointer events
   from the overflowing panel. */
.site-header { overflow: visible; }
.site-header.dark {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.site-header.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 33, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  pointer-events: none;
  z-index: 0;
}
.site-header { position: sticky; }
.header-inner { position: relative; z-index: 2; }
nav.primary { align-self: stretch; align-items: center; }
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
}
.nav-parent {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 8px 0;
  margin: 0;
  min-width: 220px;
  background: rgba(8, 18, 33, 0.96);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 60;
}
/* Tiny hover bridge below the header, not over the States trigger. */
.nav-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  height: 6px;
}
.nav-item.is-open .nav-sub,
.nav-item:hover:not(.is-dismissed) .nav-sub { display: block; }
.nav-sub a { display: block; padding: 8px 16px; font-size: 14px; white-space: nowrap; }
@media (max-width: 900px) {
  .nav-item { display: block; align-self: auto; }
  .nav-parent { height: auto; }
  .nav-sub,
  .nav-item.is-open .nav-sub,
  .nav-item:hover .nav-sub {
    position: static;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
    min-width: 0;
    top: auto;
  }
  .nav-sub::before { display: none; }
  .nav-sub a { padding: 8px 0; }
}

/* Contract management and renewal reminder */
.renewal {
  background: linear-gradient(180deg, #e7f7fc 0%, #f4f7fb 100%);
  color: var(--ink);
}
.renewal-panel {
  background: #fff;
  border: 1px solid #bfe7f3;
  border-radius: var(--radius);
  box-shadow: 0 0 0 1px rgba(72, 200, 232, 0.22), var(--shadow-sm);
  padding: 36px 40px 32px;
}
.renewal-panel h2 { max-width: 16em; }
.renewal-lead {
  margin: 0 0 28px;
  max-width: 46em;
  font-size: 17.5px;
  color: var(--ink);
  line-height: 1.6;
}
.renewal .card h3 { margin: 0 0 8px; }
.renewal .card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.renewal-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 28px;
  padding: 16px 18px;
  background: linear-gradient(180deg, #f4fbfd 0%, #fff 70%);
  border: 1px solid #bfe7f3;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(72, 200, 232, 0.2);
}
.renewal-note .icon-pill { margin: 0; flex: 0 0 auto; }
.state-article .renewal-note p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.5;
}
@media (max-width: 900px) {
  .renewal-panel { padding: 24px 18px 20px; }
}
