/* ServSelect — site styles
   Palette sampled from the ServSelect wave logo */
:root {
  --navy: #0a2550;
  --navy-2: #1863a4;
  --teal: #127a5c;
  --teal-2: #2fa784;
  --sage: #43ba92;
  --sage-light: #e5f5ee;
  --mist: #f3f7fa;
  --ink: #17233a;
  --muted: #56647a;
  --line: #dbe4ee;
  --white: #ffffff;
  --grad: linear-gradient(90deg, var(--navy-2), var(--teal) 55%, var(--sage));
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 37, 80, 0.08);
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3, h4 { font-family: "Source Sans 3", sans-serif; color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--teal); margin-bottom: .8em;
}
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em; padding: .85em 1.5em; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Top bar */
.topbar { background: var(--navy); color: #cfe0ea; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar .links { display: flex; gap: 20px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #ffffff; border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 92px; padding-top: 10px; padding-bottom: 10px; gap: 20px; }
.brand { text-decoration: none; display: block; }
.brand-logo { height: 78px; width: auto; max-width: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav li { position: relative; }
.nav a { display: block; white-space: nowrap; padding: 10px 12px; color: var(--navy); font-weight: 600; text-decoration: none; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); background: var(--mist); }
.nav .dropdown {
  position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .15s ease;
}
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav .cta { margin-left: 10px; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: .2s; }

@media (max-width: 1100px) {
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .brand { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; padding-top: 110px !important; background: var(--white); flex-direction: column; align-items: stretch;
    padding: 20px; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease, visibility .25s;
    visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; }
  .nav .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; }
  .nav .cta { margin: 14px 0 0; justify-content: center; }
  .brand-logo { height: 60px; }
  .topbar .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--mist), var(--white)); padding: 80px 0 60px; }
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-art { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: var(--grad); box-shadow: var(--shadow); }
.hero-art > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .badge {
  position: absolute; left: 22px; bottom: 22px; right: 22px; background: rgba(255,255,255,.95);
  border-radius: 14px; padding: 16px 18px; display: flex; gap: 14px; align-items: center; font-size: .95rem;
}
.hero-art .badge strong { color: var(--navy); display: block; }
.wave-deco { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 90px; }
@media (max-width: 860px) {
  .hero { padding: 48px 0 40px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { aspect-ratio: 4 / 3; }
}

/* Audience paths */
.paths { margin-top: -10px; position: relative; z-index: 2; }
.paths-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card {
  display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: .15s;
}
.path-card:hover { border-color: var(--teal); transform: translateY(-2px); }
.path-card .icon { flex: none; width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--sage-light); color: var(--teal); }
.path-card strong { display: block; color: var(--navy); font-size: 1.1rem; }
.path-card span { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .paths-grid { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin: 0 auto; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.service-card {
  position: relative; display: flex; flex-direction: column; padding: 30px; border-radius: 18px; background: var(--white);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; transition: .2s;
}
.service-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--grad); }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card .icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: var(--mist); color: var(--navy-2); margin-bottom: 18px; }
.service-card p { color: var(--muted); flex: 1; }
.service-card .more { font-weight: 700; color: var(--teal); }
@media (max-width: 680px) { .service-grid { grid-template-columns: 1fr; } }

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; position: relative; }
.split-media.grad-a { background: linear-gradient(135deg, var(--navy), var(--teal)); }
.split-media.grad-b { background: linear-gradient(135deg, var(--teal-2), var(--sage)); }
.split-media > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse .split-media { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sage-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7183' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 24px 12px; }
.stat .num { font-size: 2.6rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.1; }
.stat .label { color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step); display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; margin-bottom: 16px;
}
.step p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* States */
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.state-card { padding: 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.state-card .abbr { font-size: 2rem; font-weight: 700; color: var(--teal); line-height: 1; }
.state-card h3 { margin-top: 10px; }
.state-card p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 760px) { .states { grid-template-columns: 1fr; } }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.quote { background: var(--white); border-radius: 18px; padding: 32px; border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 16px; font-size: 1.12rem; color: var(--navy); }
.quote cite { font-style: normal; color: var(--muted); font-size: .92rem; }
.placeholder-note { font-size: .82rem; color: #9a6b12; background: #fff6e0; border: 1px dashed #e6c675; border-radius: 8px; padding: 4px 10px; display: inline-block; margin-top: 10px; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--grad); color: var(--white); border-radius: 26px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; padding: 36px 24px; } .cta-band .btn-row { justify-content: flex-start; } }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2) 50%, var(--teal)); color: var(--white); padding: 72px 0 96px; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); }
.page-hero .lead { color: rgba(255,255,255,.85); }
.page-hero .eyebrow { color: #9fe0c6; }
.page-hero .wave-deco { height: 70px; }
.breadcrumbs { font-size: .88rem; margin-bottom: 18px; color: rgba(255,255,255,.75); }
.breadcrumbs a { color: var(--white); text-decoration: none; }

/* Detail lists */
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.detail { padding: 24px; border-radius: var(--radius); background: var(--mist); }
.detail h3 { font-size: 1.12rem; margin-bottom: .3em; }
.detail p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 760px) { .detail-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* Jobs */
.jobs { display: grid; gap: 14px; }
.job { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); flex-wrap: wrap; }
.job h3 { margin: 0 0 4px; font-size: 1.15rem; }
.job .meta { color: var(--muted); font-size: .93rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--sage-light); color: var(--teal); margin-right: 6px; }

/* Forms */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c9d6db; border-radius: 10px; font: inherit; font-size: 1rem; background: var(--white); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form textarea { min-height: 130px; resize: vertical; }
.form .note { font-size: .82rem; color: var(--muted); margin-top: 12px; }
.form-success { display: none; padding: 16px; border-radius: 10px; background: var(--sage-light); color: var(--navy); font-weight: 600; margin-top: 14px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.contact-list .icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--sage-light); color: var(--teal); display: grid; place-items: center; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list span { color: var(--muted); }
@media (max-width: 860px) { .contact-wrap, .form-grid { grid-template-columns: 1fr; } .form { padding: 22px; } }

/* Footer */
.site-footer { background: var(--navy); color: #b8cbd8; padding: 72px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #dbe8f0; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-logo { width: 200px; height: auto; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .88rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.placeholder { background: #fff6e0; border-bottom: 1px dashed #d8b25c; padding: 0 3px; border-radius: 3px; }
.site-footer .placeholder { background: rgba(255, 214, 120, .15); color: #ffe3a6; border-bottom-color: #c9a24f; }

.topbar .placeholder { background: transparent; color: #ffe3a6; border-bottom-color: #c9a24f; }
.hero-art .badge .icon { flex: none; }
.nav a.cta, .nav a.cta:hover { color: var(--white); background: var(--navy); } .nav a.cta:hover { background: var(--navy-2); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Insurance & coverage */
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.coverage-card { display: flex; flex-direction: column; gap: 10px; padding: 30px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.coverage-card .who { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.coverage-card h3 { margin: 0; font-size: 1.35rem; }
.coverage-card p { color: var(--muted); margin: 0; flex: 1; font-size: .98rem; }
.pay-list { list-style: none; margin: 8px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px; }
.pay-list li { font-size: .82rem; font-weight: 700; color: var(--navy); background: var(--sage-light); border-radius: 999px; padding: 5px 12px; }
.pay-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; background: var(--navy); border-radius: 18px; overflow: hidden; }
.pay-ways > div { padding: 26px 28px; border-left: 1px solid rgba(255,255,255,.12); }
.pay-ways > div:first-child { border-left: 0; }
.pay-ways h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 6px; }
.pay-ways p { color: #c4d6e2; margin: 0; font-size: .95rem; }
.disclaimer { margin: 22px auto 0; max-width: 820px; text-align: center; font-size: .84rem; color: var(--muted); }
.steps-five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .steps-five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .coverage-grid, .pay-ways { grid-template-columns: 1fr; }
  .pay-ways > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .pay-ways > div:first-child { border-top: 0; }
}
@media (max-width: 760px) { .steps-five { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-five { grid-template-columns: 1fr; } }
section[id] { scroll-margin-top: 96px; }

/* Insurance page */
.split-top { align-items: start; }
.gap-table { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); font-size: .96rem; }
.gap-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border-top: 1px solid var(--line); }
.gap-row span { padding: 14px 16px; min-width: 0; }
.gap-head { border-top: 0; background: var(--navy); color: var(--white); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.gap-row .no { color: #9b3b2e; font-weight: 600; }
.gap-row .yes { color: var(--teal); font-weight: 700; }
.gap-note { margin: 0; padding: 12px 16px; font-size: .8rem; color: var(--muted); background: var(--mist); border-top: 1px solid var(--line); }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plan-col { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); min-width: 0; }
.plan-head { display: flex; align-items: center; gap: 12px; color: var(--teal); margin-bottom: 16px; }
.plan-head h3 { margin: 0; }
.plan-col .checklist li { font-size: .97rem; }
.plan-facts { background: var(--navy); border-color: var(--navy); color: #c4d6e2; }
.plan-facts h3 { color: var(--white); }
.plan-facts dl { margin: 0; display: grid; gap: 14px; }
.plan-facts dt { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fd3c4; }
.plan-facts dd { margin: 2px 0 0; color: var(--white); }
.plan-facts .placeholder { background: rgba(255, 214, 120, .15); color: #ffe3a6; border-bottom-color: #c9a24f; }
.how-list { list-style: none; counter-reset: how; padding: 0; margin: 0 0 28px; display: grid; gap: 18px; }
.how-list li { counter-increment: how; position: relative; padding-left: 52px; color: var(--muted); }
.how-list li strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 2px; }
.how-list li::before { content: counter(how); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; display: grid; place-items: center; }
.state-terms { padding: 22px 24px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); }
.state-terms h3 { font-size: 1rem; margin-bottom: 12px; }
.state-terms dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; font-size: .96rem; }
.state-terms dt { font-weight: 700; color: var(--navy); }
.state-terms dd { margin: 0; color: var(--muted); }
.example { background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; min-width: 0; }
.example-label { padding: 14px 20px; font-size: .84rem; color: #7a5a14; background: #fff6e0; border-bottom: 1px solid #f0dca8; }
.example table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.example th, .example td { padding: 13px 20px; text-align: left; border-top: 1px solid var(--line); font-size: .97rem; }
.example thead th { border-top: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); }
.example td { text-align: right; }
.example thead th:not(:first-child) { text-align: right; }
.example tbody th { font-weight: 600; color: var(--ink); }
.example tr.total th, .example tr.total td { font-weight: 700; color: var(--navy); }
.example tr.hl th, .example tr.hl td { background: var(--sage-light); font-weight: 700; color: var(--navy); }
.note-small { font-size: .88rem; color: var(--muted); }
@media (max-width: 1100px) { .plan-grid { grid-template-columns: 1fr 1fr; } .plan-facts { grid-column: 1 / -1; } }
@media (max-width: 640px) {
  .plan-grid { grid-template-columns: 1fr; }
  .gap-row { grid-template-columns: 1.3fr 1fr 1fr; font-size: .86rem; }
  .gap-row span { padding: 12px 10px; }
  .example th, .example td { padding: 11px 12px; font-size: .9rem; }
}

/* Advantages, timeline, pay box */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.adv { padding: 24px 26px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.adv h3 { font-size: 1.12rem; margin-bottom: 6px; }
.adv p { color: var(--muted); margin: 0; font-size: .97rem; }
.section:not(.section-alt) .adv { background: var(--mist); border-color: transparent; }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tl-item { position: relative; padding: 24px 26px 24px; border-radius: 16px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--grad); }
.tl-when { display: block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.tl-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.tl-item p { color: var(--muted); margin: 0; font-size: .97rem; }
.tl-item p strong { color: var(--navy); }
.pay-box { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px; background: var(--navy); border-radius: 18px; overflow: hidden; }
.pay-box > div { padding: 24px 26px; border-left: 1px solid rgba(255,255,255,.12); min-width: 0; }
.pay-box > div:first-child { border-left: 0; }
.pay-box h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 6px; }
.pay-box p { color: #c4d6e2; margin: 0; font-size: .95rem; overflow-wrap: anywhere; }
.pay-box a { color: #bfe6d6; }
.pay-box strong { color: var(--white); }
.pay-box .placeholder { background: rgba(255, 214, 120, .15); color: #ffe3a6; border-bottom-color: #c9a24f; }
@media (max-width: 960px) { .adv-grid, .timeline { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .pay-box { grid-template-columns: 1fr; }
  .pay-box > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .pay-box > div:first-child { border-top: 0; }
}
@media (max-width: 600px) { .adv-grid, .timeline { grid-template-columns: 1fr; } }

/* Photos */
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-art { background: var(--mist); }
.split-media { background: var(--mist); box-shadow: var(--shadow); }

/* Money-flow diagram */
.flow-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.flow-panel { margin: 0; padding: 22px 22px 14px; border-radius: 18px; background: var(--white); border: 1px solid var(--line); min-width: 0; }
.flow-panel.with { border-color: var(--teal-2); box-shadow: 0 0 0 3px var(--sage-light); }
.flow-panel figcaption { font-weight: 700; font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.flow-panel.with figcaption { color: var(--teal); }
.flow-svg { width: 100%; height: auto; display: block; font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif; }
.flow-svg .node rect { fill: var(--mist); stroke: var(--line); stroke-width: 1.5; }
.flow-svg .node.dest rect { fill: var(--navy); stroke: var(--navy); }
.flow-svg .node.ins rect { fill: var(--sage-light); stroke: var(--teal-2); }
.flow-svg .t { font-size: 20px; font-weight: 700; fill: var(--navy); }
.flow-svg .s { font-size: 16px; fill: var(--muted); }
.flow-svg .node.dest .t { fill: var(--white); }
.flow-svg .node.dest .s { fill: #c4d6e2; }
.flow-svg .node.ins .t { fill: var(--teal); }
.flow-svg line { stroke-width: 3; }
.flow-svg .pay line { stroke: var(--navy-2); }
.flow-svg .new line { stroke: var(--teal-2); }
.flow-svg .ah-pay { fill: var(--navy-2); }
.flow-svg .ah-new { fill: var(--teal-2); }
.flow-svg .lbl-bg { fill: var(--white); stroke: var(--line); }
.flow-svg .new .lbl-bg { stroke: var(--teal-2); }
.flow-svg .lbl { font-size: 17px; font-weight: 700; fill: var(--navy); font-variant-numeric: tabular-nums; }
.flow-svg .new .lbl { fill: var(--teal); }
.flow-summary { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; background: var(--navy); border-radius: 16px; overflow: hidden; }
.flow-summary > div { padding: 18px 22px; border-left: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.flow-summary > div:first-child { border-left: 0; }
.flow-summary span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9fd3c4; }
.flow-summary strong { color: var(--white); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.flow-summary em { font-style: normal; color: #c4d6e2; font-size: .92rem; }
.state-terms-inline { margin-top: 20px; }
.state-terms-inline dl { grid-template-columns: repeat(3, auto 1fr); }
@media (max-width: 900px) {
  .flow-pair { grid-template-columns: 1fr; }
  .flow-summary { grid-template-columns: 1fr; }
  .flow-summary > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .flow-summary > div:first-child { border-top: 0; }
  .state-terms-inline dl { grid-template-columns: auto 1fr; }
}

/* Coverage banner */
.cov-banner { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 36px 40px; border-radius: 22px; background: var(--sage-light); border: 1px solid #cbe9dc; }
.cov-banner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: .4em; }
.cov-banner p { margin: 0; color: var(--muted); max-width: 720px; }
.cov-banner .btn-row { margin: 0; }
@media (max-width: 760px) { .cov-banner { grid-template-columns: 1fr; padding: 26px 22px; } }

.other-cov { margin: 24px auto 0; max-width: 860px; text-align: center; color: var(--muted); font-size: .97rem; }
.other-cov strong { color: var(--navy); }
.office-split { margin-top: 32px; gap: 40px; }
.office-split h3 { font-size: 1.2rem; }
