/* Fonts served from this site (SIL Open Font License, see assets/fonts) */
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* American Back Center — design v2
   Palette is taken from the Chicago flag: lake blue stripes, red stars, on white. */
:root {
  --paper: #ffffff;
  --ink: #0f2433;
  --slate: #4e6272;
  --line: #d6dfe6;
  --line-strong: #b9c7d2;
  --lake: #41b6e6;
  --lake-deep: #0b6f9a;
  --lake-wash: #ecf7fc;
  --star: #d7263d;
  --ok: #1d7a4f;

  --radius: 10px;
  --radius-sm: 6px;
  --wrap: 1200px;
  --head: "Schibsted Grotesk", "Segoe UI", Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, iframe, video { max-width: 100%; height: auto; }
a { color: var(--lake-deep); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 50; background: var(--paper); padding: .5rem 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; }
.small { font-size: .92rem; color: var(--slate); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 600 1rem/1.2 var(--body);
  border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--lake-deep); color: #fff; }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .95rem; }
.btn-text { background: none; border: 0; padding: .7rem .25rem; font: 600 1rem var(--body); color: var(--slate); cursor: pointer; }
.btn-text:hover { color: var(--ink); }
.link-strong { font-weight: 600; }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.mast-in { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark { width: 40px; height: 40px; color: var(--line-strong); }
.logo-text { font: 800 1.15rem/1.1 var(--head); letter-spacing: -0.02em; display: flex; flex-direction: column; }
.logo-text small { font: 500 .78rem var(--body); color: var(--slate); letter-spacing: 0; margin-top: 2px; }

.nav { margin-left: auto; }
.nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: .15rem; }
.nav li { position: relative; }
.nav a { display: block; padding: .55rem .7rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; border-radius: var(--radius-sm); }
.nav a:hover, .nav a[aria-current] { background: var(--lake-wash); }
.nav .has-kids > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.drop {
  display: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 260px;
  list-style: none; margin: 0; padding: .4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 28px -18px rgba(15, 36, 51, .35);
}
.has-kids:hover .drop, .has-kids:focus-within .drop { display: block; }
.drop a { font-size: .95rem; }

.mast-actions { display: flex; align-items: center; gap: .9rem; }
.mast-phone { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.mast-phone:hover { color: var(--lake-deep); }
.menu-btn { display: none; }

/* two light-blue stripes, from the flag */
.flag { height: 9px; border-top: 1px solid var(--line); background:
  linear-gradient(to bottom, transparent 0 2px, var(--lake) 2px 4px, transparent 4px 6px, var(--lake) 6px 8px, transparent 8px); opacity: .9; }

/* ---------- Hero with checker ---------- */
.hero { background: linear-gradient(to bottom, var(--lake-wash), var(--paper) 85%); }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3.5rem; align-items: start; padding: 3.5rem 0 4rem; }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; margin-bottom: .45em; }
.lede { font-size: 1.2rem; color: var(--slate); max-width: 34em; }
.lede-sm { color: var(--slate); max-width: 30em; }
.hero-call { margin-top: 1.5rem; color: var(--slate); }
.hero-call a { font-weight: 700; color: var(--ink); }

.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { position: relative; padding: .3rem 0 .3rem 1.9rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .55rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lake-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.5' fill='none' stroke='%230b6f9a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat;
  border: 1px solid #bfe3f3;
}

/* ---------- The checker ---------- */
.checker {
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 30px 60px -40px rgba(11, 111, 154, .45);
}
.checker-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.checker-title { font-size: 1.35rem; margin: 0; }

/* progress: four vertebrae */
.spine { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; counter-reset: s; }
.spine li { width: 46px; height: 12px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line-strong); position: relative; transition: background .25s, border-color .25s; }
.spine li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.spine li.on { background: var(--lake); border-color: var(--lake); }
.spine li.done { background: var(--ink); border-color: var(--ink); }

.step { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.step legend { font: 700 1.25rem/1.25 var(--head); letter-spacing: -0.015em; margin-bottom: .9rem; padding: 0; }
.hint { font-size: .93rem; color: var(--slate); margin: -.4rem 0 .9rem; }
.step .hint:last-child { margin: .9rem 0 0; }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.tiles-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile span {
  display: flex; align-items: center; min-height: 54px; padding: .7rem 1rem .7rem 2.6rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-weight: 500; line-height: 1.25; background: var(--paper);
  transition: border-color .15s, background .15s;
}
.tile span::before {
  content: ""; position: absolute; left: 1rem; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--paper);
}
.tile:hover span { border-color: var(--lake-deep); }
.tile input:checked + span { border-color: var(--lake-deep); background: var(--lake-wash); box-shadow: inset 0 0 0 1px var(--lake-deep); }
.tile input:checked + span::before { border: 5px solid var(--lake-deep); }
.tile input:focus-visible + span { outline: 3px solid var(--lake); outline-offset: 2px; }
.tile-wide { grid-column: 1 / -1; }
.tiles-4 .tile span { padding-left: 2.4rem; }

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.field { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.field .opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .quick select, .site-form input, .site-form textarea {
  font: 400 1rem var(--body); color: var(--ink);
  min-height: 48px; padding: .6rem .8rem;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--paper);
}
.field input:focus, .field select:focus, .quick select:focus, .site-form input:focus, .site-form textarea:focus {
  outline: none; border-color: var(--lake-deep); box-shadow: 0 0 0 3px rgba(65, 182, 230, .3);
}
.field input[aria-invalid="true"] { border-color: var(--star); }
.other-insurer { margin-top: .9rem; max-width: 360px; }

.checker-error { color: var(--star); font-weight: 600; margin: 0 0 1rem; }
.checker-nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.checker-nav [data-next], .checker-nav [data-submit] { margin-left: auto; min-width: 190px; }
.checker-foot { font-size: .88rem; color: var(--slate); margin: .9rem 0 0; }

/* JS on: one step at a time */
.js .checker .step { display: none; }
.js .checker .step.active { display: block; animation: stepIn .25s ease-out; }
@keyframes stepIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }

.checker-done { border-color: var(--lake-deep); }
.checker-done .checker-title { margin-bottom: .6rem; }

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section-line { border-top: 1px solid var(--line); }
.band { background: var(--ink); color: #fff; padding: 3.5rem 0; }
.band-title { color: #fff; margin-bottom: 1.75rem; }
.how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: how; }
.how li { counter-increment: how; padding: 0 2rem 0 0; margin-right: 2rem; border-right: 1px solid rgba(255, 255, 255, .18); }
.how li:last-child { border-right: 0; margin-right: 0; }
.how li::before {
  content: counter(how); display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 1rem;
  border-radius: 50%; border: 1.5px solid var(--lake); color: var(--lake); font: 700 1.05rem var(--head);
}
.how h3 { color: #fff; }
.how p { color: #c7d5df; margin: 0; }

.insurers-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .5rem 3rem; align-items: start; }
.insurers-row h2 { grid-row: span 2; }
.insurer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.insurer-list li { padding: .5rem .95rem; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 500; font-size: .96rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; align-items: start; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.service-list a { display: block; height: 100%; padding: 1.1rem 1.25rem; text-decoration: none; color: var(--ink); }
.service-list a:hover { background: var(--lake-wash); }
.svc-name { display: block; font: 700 1.08rem var(--head); letter-spacing: -0.01em; margin-bottom: .2rem; }
.svc-desc { display: block; color: var(--slate); font-size: .95rem; line-height: 1.45; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font: 600 1.08rem var(--head); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .85rem; font: 400 1.5rem var(--body); color: var(--lake-deep); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0 0 1.2rem; color: var(--slate); max-width: 60ch; }

.closing { border-top: 1px solid var(--line); background: var(--lake-wash); }
.closing-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: 3rem 0; }
.closing h2 { margin-bottom: .3rem; }
.closing p { margin: 0; color: var(--slate); }
.closing-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Inner pages ---------- */
.page-head { border-bottom: 1px solid var(--line); padding: 2.25rem 0 2rem; background: var(--paper); }
.page-head h1 { font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; max-width: 24ch; margin: .35rem 0 0; }
.page-head .lede { margin: .75rem 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--slate); }
.crumbs a { color: var(--slate); }
.meta { color: var(--slate); font-size: .93rem; margin: .5rem 0 0; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 3.5rem; padding: 2.75rem 0 4rem; align-items: start; }

.prose { max-width: 72ch; min-width: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose img { border-radius: var(--radius-sm); }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li { margin-bottom: .35rem; }
.prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55rem .75rem; text-align: left; }
.prose blockquote { margin: 1.5rem 0; padding: .1rem 0 .1rem 1.25rem; border-left: 3px solid var(--lake); color: var(--slate); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-sm); }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose .alignright { float: right; margin: .25rem 0 1rem 1.5rem; max-width: 45%; }
.prose .alignleft { float: left; margin: .25rem 1.5rem 1rem 0; max-width: 45%; }
.prose figcaption, .prose .wp-caption-text { font-size: .88rem; color: var(--slate); }
.prose-home { max-width: 80ch; color: var(--slate); }
.prose-home h1, .prose-home h2, .prose-home h3 { color: var(--ink); }
/* page-builder leftovers: stack their columns cleanly */
.prose [class*="elementor-column"], .prose [class*="wp-block-column"] { width: 100% !important; }
.prose [style*="position: absolute"] { position: static !important; }
.feature { margin: 0 0 1.75rem; }
.cats { clear: both; border-top: 1px solid var(--line); padding-top: 1rem; margin-top: 2.5rem; color: var(--slate); font-size: .95rem; }

.side { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 104px; }
.side section { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; background: var(--paper); }
.side h2 { font-size: 1.2rem; margin-bottom: .35rem; }
.side-check { border-color: var(--line-strong) !important; background: var(--lake-wash) !important; }
.side-check p { color: var(--slate); font-size: .96rem; }
.quick { display: grid; gap: .6rem; }
.quick select { width: 100%; }
.side-call { margin: .9rem 0 0; font-size: .95rem; color: var(--slate); }
.side-call a { font-weight: 700; color: var(--ink); }
.side-list ul { list-style: none; margin: .5rem 0 0; padding: 0; }
.side-list li + li { border-top: 1px solid var(--line); }
.side-list a { display: block; padding: .55rem 0; text-decoration: none; line-height: 1.35; font-size: .96rem; }
.side-list a[aria-current] { font-weight: 700; color: var(--ink); }

.coverage-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem; padding: 2.5rem 0 4.5rem; align-items: start; }
.coverage-notes h2 { font-size: 1.15rem; margin-top: .5rem; }
.coverage-notes .ticks { margin-bottom: 1.75rem; }

/* archive */
.archive-intro { margin-bottom: 2rem; }
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.posts li { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.posts li.no-img { grid-template-columns: 1fr; }
.posts h2 { font-size: 1.25rem; margin: 0; }
.posts h2 a { color: var(--ink); text-decoration: none; }
.posts h2 a:hover { color: var(--lake-deep); }
.posts p { margin: .35rem 0 0; }
.posts p:not(.meta) { color: var(--slate); }
.post-img img { width: 200px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); display: block; }
.pager { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; font-weight: 600; }

/* old contact form */
.site-form { display: grid; gap: .9rem; max-width: 560px; margin: 1.5rem 0; padding: 1.5rem; border: 1px solid var(--line-strong); border-radius: var(--radius); }
.site-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.site-form button { font: 600 1rem var(--body); min-height: 48px; border: 0; border-radius: var(--radius-sm); background: var(--ink); color: #fff; cursor: pointer; }
.site-form button:hover { background: var(--lake-deep); }
.form-note { margin: 0; padding: .75rem; background: var(--lake-wash); border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); font-size: .96rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding: 3rem 0 2rem; }
.foot-name { font: 800 1.15rem var(--head); letter-spacing: -0.02em; }
.foot-head { font: 700 1rem var(--head); margin-bottom: .6rem; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li a { display: block; padding: .22rem 0; color: var(--slate); text-decoration: none; }
.foot li a:hover { color: var(--ink); text-decoration: underline; }
.foot-clinic p { color: var(--slate); margin-bottom: .6rem; }
.foot-clinic a { color: var(--ink); font-weight: 600; }
.foot-legal { border-top: 1px solid var(--line); padding: 1.1rem 0 1.5rem; }
.foot-legal p { margin: 0; font-size: .85rem; color: var(--slate); }

.dock { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .mast-phone { display: none; }
  .nav a { padding: .5rem .5rem; font-size: .94rem; }
}
@media (max-width: 960px) {
  .masthead { position: relative; }
  .mast-in { min-height: 64px; gap: .75rem; }
  .logo-text small { display: none; }
  .mast-actions { margin-left: auto; }
  .mast-actions .btn { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 1rem;
    font: 600 .95rem var(--body); color: var(--ink);
    background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; max-height: 80vh; overflow-y: auto; }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; }
  .nav > ul > li + li { border-top: 1px solid var(--line); }
  .nav a { padding: .8rem .25rem; font-size: 1.05rem; }
  .nav .has-kids > a::after { display: none; }
  .drop { display: block; position: static; border: 0; box-shadow: none; padding: 0 0 .5rem .75rem; min-width: 0; }
  .drop a { padding: .45rem .25rem; color: var(--slate); }

  .hero-in { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 3rem; }
  .hero .ticks, .hero-call { display: none; }
  .layout, .coverage-layout, .two-col, .insurers-row { grid-template-columns: 1fr; gap: 2rem; }
  .side { position: static; }
  .how { grid-template-columns: 1fr; gap: 1.75rem; }
  .how li { border-right: 0; margin: 0; padding: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }

  .dock {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    gap: .5rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: var(--paper); border-top: 1px solid var(--line-strong);
  }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
  .dock-call { flex: 0 0 32%; border: 1px solid var(--line-strong); color: var(--ink); }
  .dock-check { flex: 1; background: var(--ink); color: #fff; }
  body { padding-bottom: 76px; }
}
@media (max-width: 600px) {
  .checker { padding: 1.25rem; }
  .tiles, .tiles-4, .fields, .service-list { grid-template-columns: 1fr; }
  .tiles-4 { grid-template-columns: 1fr 1fr; }
  .service-list li:nth-child(odd) { border-right: 0; }
  .spine li { width: 30px; }
  .checker-nav [data-next], .checker-nav [data-submit] { min-width: 0; flex: 1; }
  .posts li { grid-template-columns: 1fr; }
  .post-img img { width: 100%; }
  .prose .alignright, .prose .alignleft { float: none; margin: 1rem 0; max-width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ===== Directory additions ===== */
.mega-btn {
  font: 500 .98rem var(--body); color: var(--ink); background: none; border: 0;
  padding: .55rem .7rem; border-radius: var(--radius-sm); cursor: pointer;
}
.mega-btn:hover, .mega-btn[aria-expanded="true"] { background: var(--lake-wash); }
.mega-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.nav .has-mega { position: static; }
.masthead { position: sticky; }
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-strong);
  box-shadow: 0 24px 40px -32px rgba(15, 36, 51, .5); z-index: 25;
}
.mega.open { display: block; }
.mega-in { padding: 1.75rem 0 2rem; }
.mega-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.mega-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mega-state { display: block; font: 700 1rem var(--head); color: var(--ink); text-decoration: none;
  padding-bottom: .45rem; margin-bottom: .45rem; border-bottom: 1px solid var(--line); }
.mega-state:hover { color: var(--lake-deep); }
.mega-state span, .mega-col li span { color: var(--muted); font: 400 .85rem var(--body); margin-left: .4rem; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col a { display: block; padding: .28rem 0; text-decoration: none; color: var(--slate); font-size: .95rem; }
.mega-col a:hover { color: var(--ink); }
.mega-more { font-weight: 600; color: var(--lake-deep) !important; }
.mega-empty { color: var(--muted); margin: 0; }

.tile-grid { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.tile-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile-grid a { display: block; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  text-decoration: none; color: var(--ink); background: var(--paper); }
.tile-grid a:hover { border-color: var(--lake-deep); background: var(--lake-wash); }
.tg-name { display: block; font-weight: 600; }
.tg-meta { display: block; color: var(--muted); font-size: .88rem; }

.chips { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { display: block; }
.chips a, .chips li:not(:has(a)) { display: block; padding: .45rem .9rem; border: 1px solid var(--line-strong);
  border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.chips a:hover { border-color: var(--lake-deep); background: var(--lake-wash); }
.chips span { color: var(--muted); font-size: .85rem; margin-left: .3rem; }

.res-head { font-size: 1.35rem; margin: 2rem 0 .35rem; }
.res-head:first-child { margin-top: 0; }
.res-note { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.cards { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--line); }
.card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.card-main { min-width: 0; }
.card h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--lake-deep); }
.card-meta { color: var(--muted); font-size: .93rem; margin: 0; }
.card p { margin: .3rem 0 0; }
.card-plans { font-size: .93rem; }
.card-partner { background: var(--lake-wash); border-bottom-color: var(--line-strong);
  padding: 1.25rem; border-radius: var(--radius); margin-bottom: .6rem; border: 1px solid var(--line-strong); }
.pill { display: inline-block; margin-left: .5rem; padding: .1rem .5rem; background: var(--paper);
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: .82rem; color: var(--ink); }
.notice { border: 1px solid var(--line-strong); border-left: 4px solid var(--lake); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin-bottom: 2rem; background: var(--paper); }
.notice h2 { font-size: 1.2rem; }
.notice p:last-child { margin-bottom: 0; }

.facts { list-style: none; margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 1rem;
  padding: .75rem 0; border-bottom: 1px solid var(--line); }
.facts span { color: var(--muted); font-weight: 600; font-size: .93rem; }

@media (max-width: 960px) {
  .mega { position: static; border: 0; box-shadow: none; }
  .mega-in { padding: .5rem 0 1rem; width: 100%; }
  .mega-cols, .mega-cols-3 { grid-template-columns: 1fr; gap: 1rem; }
  .mega-btn { width: 100%; text-align: left; padding: .8rem .25rem; font-size: 1.05rem; }
  .tile-grid, .tile-grid-3 { grid-template-columns: 1fr 1fr; }
  .card { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .facts li { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 600px) { .tile-grid, .tile-grid-3 { grid-template-columns: 1fr; } }
.draft-note { display: inline-block; padding: .35rem .75rem; border: 1px dashed var(--line-strong); border-radius: var(--radius-sm); color: var(--muted); font-size: .9rem; }
.site-form .opt { font-weight: 400; color: var(--muted); }
.foot-legal a { color: var(--slate); }
.overview { font-size: 1.05rem; color: var(--slate); max-width: 68ch; margin-bottom: 1.5rem; }

/* search */
.mast-search { display: flex; align-items: center; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: var(--paper); height: 40px; margin-left: .5rem; }
.mast-search input { border: 0; outline: 0; background: transparent; font: 400 .95rem var(--body);
  color: var(--ink); width: 150px; padding: 0 .4rem 0 .75rem; height: 100%; }
.mast-search button { border: 0; background: none; color: var(--slate); padding: 0 .65rem;
  height: 100%; cursor: pointer; display: flex; align-items: center; }
.mast-search:focus-within { border-color: var(--lake-deep); box-shadow: 0 0 0 3px rgba(65,182,230,.25); }
.search-big { display: flex; gap: .6rem; margin-top: 1.25rem; max-width: 640px; }
.search-big input { flex: 1; min-height: 50px; padding: .6rem .9rem; font: 400 1.05rem var(--body);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); background: var(--paper); }
.search-big input:focus { outline: none; border-color: var(--lake-deep); box-shadow: 0 0 0 3px rgba(65,182,230,.3); }
@media (max-width: 1100px) { .mast-search input { width: 110px; } }
@media (max-width: 960px) {
  .mast-search { order: 3; flex-basis: 100%; margin: 0 0 .75rem; height: 44px; }
  .mast-search input { width: 100%; font-size: 1rem; }
  .mast-in { flex-wrap: wrap; }
}

.requested { margin: 0 0 1.25rem; padding: .85rem 1rem; background: var(--lake-wash);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-size: .96rem; }

.consent { font-size: .86rem; color: var(--slate); margin: .75rem 0 0; }

.inline-form { margin: 0 0 2rem; }

.card-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; flex-shrink: 0; }
.card-link { font-size: .9rem; font-weight: 600; }
@media (max-width: 960px) { .card-actions { align-items: flex-start; } }

.sms-opt { display: flex; gap: .55rem; align-items: flex-start; margin-top: .9rem; font-size: .9rem; color: var(--slate); cursor: pointer; }
.sms-opt input { margin-top: .2rem; width: 18px; height: 18px; flex-shrink: 0; }

.injury-form .fields { margin-top: .5rem; }
.injury-form .field select, .injury-form .field input { width: 100%; }

.lang-switch { font-weight: 600; border: 1px solid var(--line); }

/* header: never wrap menu labels; give the search box less room on laptops */
.nav a, .mega-btn, .mast-actions .btn { white-space: nowrap; }
@media (min-width: 961px) {
  .mast-in { gap: .9rem; }
  .nav a, .mega-btn { padding: .5rem .45rem; font-size: .92rem; }
  .mast-search input { width: 96px; }
  .logo-text small { display: none; }
}
.injury-form .checker-title { margin-bottom: .35rem; }
.injury-form .hint { margin: 0 0 1rem; }

/* insurance network badges */
.nbs { display: flex; flex-wrap: wrap; gap: .3rem; margin: .4rem 0 0 !important; }
.nb { display: inline-block; padding: .12rem .5rem; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: .8rem; color: var(--slate); background: var(--paper); line-height: 1.5; }
.nb-ins { border-color: #9fd3ea; background: var(--lake-wash); color: var(--ink); }
.nb-es { border-color: #f0c2c8; background: #fff6f7; color: var(--ink); }
.nb-note { font-size: .84rem; margin-top: 1rem; }
.filter-row { margin: -.25rem 0 1rem; }
.chip-link { display: inline-block; padding: .4rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px;
  text-decoration: none; color: var(--ink); font-size: .93rem; font-weight: 600; }
.chip-link:hover { border-color: var(--lake-deep); background: var(--lake-wash); }
.chip-link span { color: var(--slate); font-weight: 400; margin-left: .3rem; }
.chip-es { border-color: #f0c2c8; }
.in-net-count { font-size: 1.05rem; margin: .25rem 0 1rem; }

.chip-plain { display: inline-block; padding: .4rem .8rem; border: 1px dashed var(--line); border-radius: 999px;
  color: var(--slate); font-size: .93rem; }
.chip-plain span { margin-left: .3rem; }

/* ---------- homepage hero (pastel) ---------- */
:root { --dn-navy: #12305a; --dn-soft: #3a5274; --dn-blue: #1d5fd1; --dn-blue-dark: #164aa6;
  --dn-wash: #f2f7fd; --dn-blue-soft: #dceafb; --dn-orange: #b4530b; --dn-orange-wash: #fff3e8; --dn-orange-text: #5c2c04; }
.nav a.nav-injury { color: var(--dn-orange); font-weight: 700; }
.dn-hero { background: var(--dn-wash); border-bottom: 1px solid var(--line); }
.dn-hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; padding: 3rem 0 3.5rem; }
.dn-hero-copy { display: flex; flex-direction: column; gap: 1.25rem; padding-top: .5rem; color: var(--dn-navy); }
.dn-pill { align-self: flex-start; background: #fff; border: 1px solid #d6e4f5; border-radius: 999px; padding: .45rem 1rem;
  font-size: .94rem; font-weight: 600; color: var(--dn-blue); }
.dn-hero h1 { margin: 0; font-size: clamp(2.3rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -.02em; color: var(--dn-navy); text-wrap: balance; }
.dn-lede { margin: 0; font-size: 1.2rem; line-height: 1.55; color: var(--dn-soft); max-width: 34rem; }
.dn-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.dn-actions:empty { display: none; }
.dn-btn { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 700; border-radius: 999px; min-height: 48px; }
.dn-btn-primary { background: var(--dn-blue); color: #fff; padding: .9rem 1.6rem; font-size: 1.1rem; }
.dn-btn-primary:hover { background: var(--dn-blue-dark); color: #fff; }
.dn-btn-phone { background: #fff; color: var(--dn-navy); border: 2px solid #c7d9ef; padding: .8rem 1.25rem; font-size: 1.1rem; }
.dn-btn-phone:hover { border-color: var(--dn-blue); color: var(--dn-navy); }
.dn-mobile-only { display: none; }
.dn-checks { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; margin: 0; padding: 0; color: var(--dn-soft); }
.dn-checks li { display: flex; align-items: center; gap: .5rem; }
.dn-card { display: flex; gap: .9rem; align-items: center; background: #fff; border: 1px solid #d6e4f5; border-radius: 20px;
  box-shadow: 0 10px 28px rgba(18,48,90,.10); padding: 1rem 1.2rem; max-width: 30rem; }
.dn-avatar { width: 56px; height: 56px; border-radius: 50%; background: #f2c9a5; flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 1.25rem; color: #7a3b00; overflow: hidden; }
.dn-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dn-card-title { font-weight: 700; font-size: 1.05rem; }
.dn-card-text { margin: .15rem 0 0; font-size: .95rem; line-height: 1.45; color: var(--dn-soft); }
.dn-es { margin: 0; font-size: .95rem; }
.dn-hero .checker { box-shadow: 0 14px 36px rgba(18,48,90,.10); border-radius: 20px; }
.dn-injury { padding: 2rem 0 1rem; }
.dn-injury-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  background: var(--dn-orange-wash); border-radius: 20px; padding: 1.4rem 1.75rem; color: var(--dn-orange-text); }
.dn-injury-copy { flex: 1 1 26rem; }
.dn-injury-title { font-weight: 800; font-size: 1.35rem; font-family: var(--head); }
.dn-injury-text { margin-top: .25rem; line-height: 1.5; }
.dn-injury-links { display: flex; flex-wrap: wrap; gap: .6rem; }
.dn-injury-btn { display: inline-flex; align-items: center; min-height: 46px; background: var(--dn-orange); color: #fff; font-weight: 700;
  padding: .7rem 1.3rem; border-radius: 999px; text-decoration: none; }
.dn-injury-btn:hover { background: #8f4109; color: #fff; }
.dn-injury-btn-line { background: #fff; color: var(--dn-orange); border: 2px solid #f0c9a6; }
.dn-injury-btn-line:hover { background: #fff; color: #8f4109; border-color: var(--dn-orange); }
@media (max-width: 960px) {
  .dn-hero-in { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0 2.5rem; }
  .dn-mobile-only { display: inline-flex; }
  .dn-lede { font-size: 1.08rem; }
}
@media (min-width: 961px) { .mast-phone { display: none; } }
@media (max-width: 1200px) and (min-width: 961px) { .mast-search { display: none; } .nav a.lang-switch { padding: .4rem .5rem; } }
.dn-hero .btn-primary { background: var(--dn-blue); border-radius: 999px; }
.dn-hero .btn-primary:hover { background: var(--dn-blue-dark); }

/* ---------- light "How it works", one button colour ---------- */
.band { background: #fff; color: var(--dn-navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-title { color: var(--dn-navy); }
.how li { border-right-color: var(--line); }
.how li::before { color: var(--dn-blue); border-color: #b9d1f1; background: var(--dn-wash); }
.how h3 { color: var(--dn-navy); }
.how p { color: var(--dn-soft); }
.btn-primary { background: var(--dn-blue); border-radius: 999px; }
.btn-primary:hover { background: var(--dn-blue-dark); }

.nb-ok { border-color: #a9dcbd; background: #e8f6ee; color: #14532d; font-weight: 600; }
.claim-form { border: 1px solid var(--line-strong); border-radius: 14px; padding: 1.25rem 1.4rem; background: #fff; margin: 1.5rem 0; }
.claim-form .fields { display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1rem; }
.claim-form label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .75rem; }
.claim-form input, .claim-form textarea { display: block; width: 100%; margin-top: .3rem; font: inherit; padding: .55rem .7rem; border: 1px solid var(--line-strong); border-radius: 8px; }
.claim-form .wide { grid-column: 1 / -1; }
@media (max-width: 640px) { .claim-form .fields { grid-template-columns: 1fr; } }
