/* JPG Insurance, concept D: B's palette and product feel, A's rounded corners and drop menus, C's Nevada desk tools.
   Plain CSS, no build. All colors are variables. Owned by the lead builder; page builders add to css/pages-*.css. */
:root {
  /* Anchor + one action color */
  --blue: #095aa5;          /* JPG blue: buttons, links, icons and accents (no longer a big surface in D) */
  --blue-700: #074a88;      /* hover/pressed only, never a surface */
  --blue-50: #eef5fc;       /* selected / hover tint */
  --blue-100: #d6e6f7;
  /* Buttons (Get a Quote, form submits). Kendall 2026-11-14: JPG blue instead of marigold.
     Other palettes live in palettes.css and are tried with the "Colors" picker (not on production). */
  --action: #095aa5;
  --action-700: #074a88;
  --on-action: #ffffff;
  /* Small highlights: eyebrow rules, the Nevada-law tag, quick-answer bar, selected dots */
  --accent: #ffb627;
  --accent-700: #f2a100;
  --on-accent: #13233a;
  --accent-on-dark: #ffb627; /* the same highlight when it sits on --ink */
  /* Neutrals (cool slate) */
  --ink: #0f1e33;
  --ink-2: #26364d;
  --muted: #4a5a71;
  --line: #dce4ee;
  --line-2: #c3cfdd;
  --tint: #f3f6fa;
  --band: #e8eff7;          /* light blue-grey surface: banners, CTA band, footer, office card */
  --band-line: #cfdcea;     /* borders on --band */
  --white: #ffffff;
  --on-blue: #ffffff;
  --on-blue-2: #dbe8f6;
  --ok: #11724a;
  --ok-50: #e8f6ef;
  --err: #b42318;
  --err-50: #fdeceb;
  --star: #e8a200;

  --f-head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --wrap: 1200px;
  --gutter: 24px;
  /* A's rounded corners */
  --r-xl: 26px;
  --r-lg: 22px;
  --r: 16px;
  --r-sm: 10px;
  --sh-1: 0 1px 2px rgba(15, 30, 51, .06), 0 1px 1px rgba(15, 30, 51, .04);
  --sh-2: 0 2px 4px rgba(15, 30, 51, .05), 0 12px 32px rgba(15, 30, 51, .10);
  --sh-3: 0 4px 10px rgba(15, 30, 51, .08), 0 24px 60px rgba(15, 30, 51, .18);
  --header-h: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 1023px) { :root { --header-h: 64px; --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; }
/* Kendall 2026-11-14: headlines in Title Case (first letter of every word capitalized) */
h1, h2 { text-transform: capitalize; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent; font: 700 16px/1 var(--f-head); text-decoration: none;
  white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-action { background: var(--action); color: var(--on-action); }
.btn-action:hover { background: var(--action-700); color: var(--on-action); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-700); color: #fff; }
.btn-line { background: transparent; color: var(--blue); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--blue); color: var(--blue-700); background: var(--blue-50); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.badge-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--on-action); color: var(--action); font: 700 12px/1 var(--f-body); }
.badge-count[hidden] { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font: 600 13px/1.4 var(--f-body); }
.pill-ok { background: var(--ok-50); color: var(--ok); }
.placeholder-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #fff3d6; color: #6b4a00; border: 1px dashed #c58a00; font: 700 12px/1.5 var(--f-mono); letter-spacing: .02em; }

/* ---------- Header (one header: logo row + menu row) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--white); border-bottom: 1px solid var(--line); }
.hdr-top { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: block; flex: none; }
.logo img { width: 172px; height: auto; }
.hdr-search { position: relative; flex: 1 1 380px; max-width: 470px; }
.hdr-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 10px; border-radius: 999px; color: var(--ink-2); font: 600 15px/1 var(--f-body); text-decoration: none; white-space: nowrap; }
.hdr-link:hover { background: var(--tint); color: var(--blue-700); }
.hdr-phone { color: var(--ink); font-weight: 700; }
.hdr-link[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); }
.hdr-lang { border: 1px solid var(--line-2); }
.hdr-row2 { display: flex; align-items: center; height: 48px; }
.main-nav { display: flex; align-items: center; height: 100%; gap: 2px; margin: 0 0 0 -12px; padding: 0; list-style: none; }
.main-nav > li { display: flex; position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--ink-2); font: 600 15px/1 var(--f-body); text-decoration: none; }
.nav-btn:hover, .nav-btn[aria-expanded="true"] { color: var(--blue-700); background: var(--blue-50); }
.nav-btn[aria-current="page"] { color: var(--blue-700); background: var(--blue-50); }
.nav-btn .icon { width: 14px; height: 14px; transition: transform .2s; }
.nav-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-row2-note { margin-left: auto; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.nav-row2-note a { color: var(--muted); }
/* 1024-1279 px: keep each menu label on one line; the hours note drops the office link, then hides (checker fix) */
.nav-btn { white-space: nowrap; }
.nav-row2-note { white-space: nowrap; }
.nav-note-office { display: inline-flex; gap: 8px; }
@media (max-width: 1279px) { .nav-btn { padding: 0 9px; } .nav-note-office { display: none; } .main-nav > li:last-child .dd { left: auto; right: 0; } }
@media (max-width: 1139px) { .nav-row2-note { display: none; } }
.hdr-mobile { display: none; }
/* A's "¡Hola! Español" button: phone header only (the desktop header has "Español" in the tools) */
.es-pill { display: none; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font: 700 15px/1 var(--f-head); text-decoration: none; white-space: nowrap; }
.es-pill:hover { background: var(--blue-100); color: var(--blue-700); }

/* Drop menus (A's): a rounded panel under each menu button, with the VP card on the three lines */
.dd { position: absolute; left: 0; top: calc(100% + 6px); z-index: 70; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 22px; display: grid; gap: 6px 28px; }
.dd[hidden] { display: none; }
.dd-mega { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 236px; width: 760px; }
.dd-two { grid-template-columns: minmax(0, 1fr) 236px; width: 560px; }
.dd-ind { grid-template-columns: 1fr; width: 540px; }
.dd-list { grid-template-columns: 1fr; width: 320px; }
.dd-guide { grid-template-columns: 1fr; width: 360px; }
.dd h3 { font: 700 12.5px/1.3 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 2px 0 6px; }
.dd h3 a { color: var(--blue-700); text-decoration: none; }
.dd h3 a:hover { text-decoration: underline; }
.dd ul { list-style: none; padding: 0; margin: 0; }
.dd li a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; margin: 0 -10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.3; }
.dd li a:hover { background: var(--blue-50); color: var(--blue-700); }
.dd-icons { columns: 2; column-gap: 28px; }
.dd-icons li { break-inside: avoid; }
.dd-icons .icon { color: var(--blue); }
.dd-agent { grid-row: 1 / span 2; grid-column: -2; align-self: start; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: var(--r); background: var(--band); }
.dd-agent img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid #fff; box-shadow: var(--sh-1); }
.dd-agent p { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.dd-agent strong { display: block; font: 800 18px/1.25 var(--f-head); color: var(--ink); margin: 2px 0 2px; }
.dd-agent .btn { align-self: flex-start; }
.dd-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.dd-foot a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 600; font-size: 15px; }

/* Search combobox */
.search-box { position: relative; display: flex; align-items: center; }
.search-box .icon { position: absolute; left: 14px; color: var(--muted); pointer-events: none; }
.search-input { width: 100%; height: 46px; padding: 0 70px 0 42px; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--tint); font-size: 15px; }
.search-input::placeholder { color: var(--muted); }
.search-input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px var(--blue-100); }
.search-kbd { position: absolute; right: 12px; font: 600 12px/1 var(--f-mono); color: var(--muted); border: 1px solid var(--line-2); border-radius: 6px; padding: 4px 6px; background: #fff; pointer-events: none; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 420px; max-height: min(70vh, 560px); overflow: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-3); padding: 8px; z-index: 80; }
.search-results[hidden] { display: none; }
.sr-group { font: 700 12px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 12px 10px 6px; }
.sr-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px; border-radius: 10px; cursor: pointer; text-decoration: none; color: var(--ink); }
.sr-item[aria-selected="true"], .sr-item:hover { background: var(--blue-50); }
.sr-name { font-weight: 600; font-size: 15px; }
.sr-name mark { background: #fff0c7; color: inherit; border-radius: 3px; }
.sr-meta { grid-row: span 2; align-self: center; font-size: 13px; font-weight: 600; color: var(--blue); white-space: nowrap; }
.sr-ex { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-empty { padding: 16px 10px; color: var(--muted); font-size: 15px; }
.sr-foot { padding: 10px; border-top: 1px solid var(--line); margin-top: 6px; font-size: 13px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Mobile header */
@media (max-width: 1180px) {
  .hdr-phone span.num { display: none; }
  .hdr-cs span { display: none; }
}
@media (max-width: 1023px) {
  .hdr-top { height: 64px; gap: 8px; }
  .logo img { width: 128px; }
  .hdr-search, .hdr-tools, .hdr-row2 { display: none; }
  .hdr-mobile { display: flex; margin-left: auto; gap: 2px; }
  .es-pill { display: inline-flex; }
  .icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: none; color: var(--ink); }
  .icon-btn:hover { background: var(--tint); }
}
.mnav { position: fixed; inset: 64px 0 0 0; z-index: 70; background: #fff; overflow-y: auto; padding: 8px var(--gutter) 120px; border-top: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav details { border-bottom: 1px solid var(--line); }
.mnav summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font: 700 18px/1 var(--f-head); list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .icon { transition: transform .2s; }
.mnav details[open] summary .icon { transform: rotate(180deg); }
.mnav ul { list-style: none; padding: 0 0 12px; margin: 0; }
.mnav li.mnav-h { font: 700 12px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 16px 0 6px; }
.mnav li a { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink-2); text-decoration: none; font-size: 16px; }
.mnav-icons .icon { color: var(--blue); }
.mnav .mnav-agent { display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; align-items: center; margin: 4px 0 8px; padding: 12px; border-radius: var(--r); background: var(--band); }
.mnav-agent img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; grid-row: span 2; }
.mnav-agent span { font-size: 14px; color: var(--ink-2); line-height: 1.35; }
.mnav-agent strong { display: block; font: 800 16px/1.3 var(--f-head); color: var(--ink); }
.mnav-agent .btn { justify-self: start; }
@media (max-width: 420px) { .logo img { width: 112px; } .es-pill { padding: 0 12px; font-size: 14px; } }
@media (max-width: 374px) { .logo img { width: 100px; } .es-hola { display: none; } .hdr-top { gap: 6px; } }
.mnav .mnav-link { display: flex; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); font: 700 18px/1 var(--f-head); color: var(--ink); text-decoration: none; }
.mnav-actions { display: grid; gap: 10px; margin-top: 20px; }

/* Phone bottom bar */
.bottom-bar { display: none; }
@media (max-width: 1023px) {
  .bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15, 30, 51, .08); }
  .bottom-bar .btn { min-height: 48px; padding: 0 10px; font-size: 15px; }
  .bottom-bar .btn .icon { flex: none; }
  body { padding-bottom: 72px; }
}
@media (max-width: 374px) {
  .bottom-bar { gap: 6px; padding-left: 8px; padding-right: 8px; }
  .bottom-bar .btn { padding: 0 6px; font-size: 14px; gap: 5px; }
  .bottom-bar .btn .icon { width: 16px; height: 16px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 8px 0 0; color: var(--muted); max-width: 640px; }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .section-tight { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .lead { font-size: 17px; }
}

/* ---------- Home hero + finder ---------- */
.hero { background: var(--tint); padding: 56px 0 64px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
/* Left side from A: eyebrow, H1, tagline, Get a Quote + Call, six faces */
.eyebrow-rule::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.hero-copy h1 { margin-bottom: 14px; font-size: clamp(36px, 4.6vw, 58px); }
.hero-copy h1 em { font-style: normal; color: var(--blue); }
.hero-tag { font-size: 21px; color: var(--ink-2); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero-hello { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-2); }
.hero-hello p { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--ink-2); }
.hero-hello strong { color: var(--ink); }
.face-stack { display: flex; flex: none; border-radius: 999px; }
.face-stack img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 3px solid var(--tint); margin-left: -12px; background: var(--white); }
.face-stack img:first-child { margin-left: 0; }
.face-stack:hover img { border-color: var(--blue-100); }
.hero-media { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 10; background: var(--line); box-shadow: var(--sh-2); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.hero-media img.is-on { opacity: 1; }
.hero-media-label { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font: 700 14px/1 var(--f-head); box-shadow: var(--sh-1); }
.hero-media-dots { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 0; padding: 0 4px; border-radius: 999px; background: rgba(15, 30, 51, .55); }
.hero-media-dots button { width: 36px; height: 44px; border: 0; background: none; display: grid; place-items: center; padding: 0; color: #fff; }
.hero-media-dots button[data-hero-dot]::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.hero-media-dots button[aria-pressed="true"]::before { background: var(--accent); }
.hero-quick { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero-quick a { font-weight: 600; }

.finder { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-3); border: 1px solid var(--line); overflow: hidden; }
.finder-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); background: var(--tint); }
.finder-tab { min-height: 56px; border: 0; background: none; font: 700 16px/1 var(--f-head); color: var(--muted); display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-bottom: 3px solid transparent; }
.finder-tab[aria-selected="true"] { background: #fff; color: var(--blue); border-bottom-color: var(--blue); }
.finder-body { padding: 26px 28px 28px; }
.finder-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font: 600 13px/1 var(--f-body); color: var(--muted); }
.finder-progress ol { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; flex: 1; }
.finder-progress li { flex: 1; height: 6px; border-radius: 99px; background: var(--line); }
.finder-progress li.done { background: var(--blue); }
.finder-step h2 { font-size: 26px; margin-bottom: 6px; }
.finder-step > p.sub { color: var(--muted); margin-bottom: 18px; font-size: 16px; }
.finder-step[hidden] { display: none; }
.finder-step:focus { outline: none; }
.choice-list { display: grid; gap: 12px; }
.choice {
  position: relative; display: grid; grid-template-columns: 52px 1fr 24px; align-items: center; gap: 16px; width: 100%;
  min-height: 84px; padding: 14px 18px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; text-align: left;
  transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.choice:hover { border-color: var(--blue); background: var(--blue-50); }
.choice[aria-pressed="true"], .choice[aria-checked="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.choice-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue); }
.choice[aria-pressed="true"] .choice-ico { background: var(--blue); color: #fff; }
.choice-t { display: block; font: 700 18px/1.25 var(--f-head); color: var(--ink); }
.choice-s { display: block; font-size: 14px; color: var(--muted); margin-top: 3px; }
.choice > .icon { color: var(--blue); }
.chip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip-opt { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; text-align: left; font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.25; }
.chip-opt:hover { border-color: var(--blue); background: var(--blue-50); }
.chip-opt[aria-pressed="true"], .chip-opt[aria-checked="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue-700); }
.chip-opt .icon { color: var(--blue); }
.chip-opt .tick { margin-left: auto; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); display: grid; place-items: center; flex: none; }
.chip-opt[aria-pressed="true"] .tick, .chip-opt[aria-checked="true"] .tick { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip-opt .tick .icon { width: 14px; height: 14px; color: #fff; stroke-width: 3; }
.seg { display: inline-flex; padding: 4px; background: var(--tint); border-radius: 999px; border: 1px solid var(--line); gap: 4px; }
.seg button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: none; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--blue-700); box-shadow: var(--sh-1); }
.finder-q { margin: 18px 0 8px; font: 700 15px/1.3 var(--f-head); }
.finder-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.btn-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--muted); font-weight: 600; }
.btn-back:hover { color: var(--blue); }
.rec-list { display: grid; gap: 8px; }
.add-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.add-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px dashed var(--line-2); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.add-chip:hover { border-color: var(--blue); color: var(--blue-700); }
.add-chip[aria-pressed="true"] { border-style: solid; border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); }
.rec { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.rec:hover { border-color: var(--line-2); }
.rec:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.rec input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); }
.rec-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rec-name { font: 700 16px/1.3 var(--f-head); }
.rec-ex { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.45; color: var(--muted); margin: 3px 0 0; }
.rec-why { font: 600 12px/1.4 var(--f-body); padding: 3px 8px; border-radius: 6px; background: var(--white); border: 1px solid var(--line-2); color: var(--ink-2); }
.rec-why.req { background: var(--ok-50); border-color: #9fd4b9; color: var(--ok); }
.rec a { font-size: 14px; font-weight: 600; }
.finder-agent { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.finder-agent img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.finder-agent strong { color: var(--ink); display: block; font-size: 15px; }
.task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.task { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; min-height: 76px; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; text-decoration: none; color: var(--ink); }
.task:hover { border-color: var(--blue); background: var(--blue-50); color: var(--ink); }
.task-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.task strong { font: 700 16px/1.25 var(--f-head); display: block; }
.task span { font-size: 13px; color: var(--muted); }
.task-wide { grid-column: 1 / -1; }
@media (max-width: 1023px) {
  .hero { padding: 32px 0 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-tag { font-size: 18px; margin-bottom: 20px; }
  .hero-actions { margin-bottom: 22px; }
}
@media (max-width: 560px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-hello { flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 18px; }
  .face-stack img { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .finder-body { padding: 20px 16px 20px; }
  .finder-step h2 { font-size: 22px; }
  .chip-grid, .task-grid { grid-template-columns: 1fr; }
  .choice { grid-template-columns: 44px 1fr 20px; min-height: 76px; padding: 12px 14px; gap: 12px; }
  .choice-ico { width: 44px; height: 44px; }
  .finder-foot .btn { width: 100%; }
  .hero-media-label { font-size: 13px; padding: 7px 12px; }
}

/* ---------- Intro + team card ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.intro-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.fact { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.fact b { display: block; font: 800 24px/1.1 var(--f-head); color: var(--blue); }
.fact span { font-size: 14px; color: var(--muted); }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-2); }
.team-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
.team-card-head h3 { margin: 0; font-size: 18px; }
.team-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.team-mini a { display: block; text-decoration: none; color: var(--ink); border-radius: 12px; }
.team-mini a:hover .tm-name { color: var(--blue); text-decoration: underline; }
/* Principals centred on the top row, same card size as the row of three below (6 tracks, each card spans 2). */
.team-mini--top-1, .team-mini--top-2 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.team-mini--top-1 > li, .team-mini--top-2 > li { grid-column: span 2; }
.team-mini--top-1 > li:first-child { grid-column: 3 / span 2; }
.team-mini--top-2 > li:first-child { grid-column: 2 / span 2; }
.team-mini img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: 12px; background: var(--tint); }
.tm-name { display: block; font: 700 15px/1.25 var(--f-head); margin-top: 8px; }
.tm-title { display: block; font-size: 13px; color: var(--muted); line-height: 1.35; }
.team-card-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 15px; color: var(--ink-2); }
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .team-mini { gap: 8px; }
  .tm-name { font-size: 14px; }
  .tm-title { font-size: 12px; }
  .intro-facts { grid-template-columns: 1fr; }
  .fact { display: flex; align-items: baseline; gap: 10px; }
}

/* ---------- Reviews carousel ---------- */
.reviews-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; margin-bottom: 28px; }
.reviews-score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.reviews-score h2 { margin: 0; display: flex; align-items: center; gap: 12px; }
.g-logo { width: 36px; height: 36px; padding: 6px; background: #fff; border-radius: 50%; box-shadow: var(--sh-1); flex: none; }
.reviews-qr { display: block; border-radius: 14px; }
.reviews-qr img { width: 300px; height: auto; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 2px 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.rv-card { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 18px; display: flex; flex-direction: column; box-shadow: var(--sh-1); }
.rv-stars { display: flex; gap: 2px; color: var(--star); margin-bottom: 10px; }
.rv-stars .icon { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rv-text { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rv-card.is-open .rv-text { -webkit-line-clamp: unset; display: block; }
.rv-more { align-self: flex-start; border: 0; background: none; color: var(--blue); font-weight: 600; padding: 0; min-height: 44px; font-size: 15px; }
.rv-more:hover { text-decoration: underline; }
.rv-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-name { font: 700 15px/1.2 var(--f-head); }
.rv-src { font-size: 13px; color: var(--muted); display: block; font-family: var(--f-body); font-weight: 500; margin-top: 2px; }
.rv-mentions { display: flex; gap: 6px; flex-wrap: wrap; font-size: 13px; }
.rv-mentions a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); text-decoration: none; font-weight: 600; }
.rv-mentions a:hover { background: var(--blue-100); }
.carousel-ctrls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.carousel-btns { display: flex; gap: 8px; }
.round-btn { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line-2); background: #fff; color: var(--ink); display: grid; place-items: center; }
.round-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
.carousel-status { font: 600 15px/1 var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; }
.carousel-bar { flex: 1; max-width: 320px; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; }
.carousel-bar span { display: block; height: 100%; background: var(--blue); border-radius: 99px; transition: width .4s var(--ease), margin-left .4s var(--ease); }
@media (max-width: 1023px) { .rv-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 680px) {
  .rv-card { flex-basis: 100%; }
  .reviews-head { grid-template-columns: 1fr; }
  .reviews-qr img { width: 260px; }
  .carousel-bar { display: none; }
}

/* ---------- Lines ---------- */
.lines-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.line-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.line-card-top { padding: 24px 24px 18px; border-bottom: 1px solid var(--line); }
.line-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.line-card h3 { font-size: 22px; margin-bottom: 6px; }
.line-card h3 a { color: var(--ink); text-decoration: none; }
.line-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.line-card-top p { margin: 0; color: var(--muted); font-size: 15px; }
.line-links { list-style: none; padding: 10px 14px; margin: 0; flex: 1; }
.line-links a { display: flex; align-items: center; justify-content: space-between; min-height: 44px; padding: 0 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.line-links a:hover { background: var(--blue-50); color: var(--blue-700); }
.line-links a .icon { color: var(--line-2); width: 16px; height: 16px; }
.line-links a:hover .icon { color: var(--blue); }
.line-card-foot { padding: 14px 24px 20px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .lines-grid { grid-template-columns: 1fr; } }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ind-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: box-shadow .2s, transform .2s; }
.ind-card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }
.ind-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ind-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.ind-body h3 { font-size: 18px; margin-bottom: 6px; }
.ind-body h3 a { color: var(--ink); text-decoration: none; }
.ind-body h3 a::after { content: ""; position: absolute; inset: 0; }
.ind-body h3 a:hover { color: var(--blue); }
.ind-body p { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.ind-act { position: relative; z-index: 2; margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; color: var(--blue); }
.ind-act:hover { border-color: var(--blue); background: var(--blue-50); }
@media (max-width: 1100px) { .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ind-grid { grid-template-columns: 1fr; gap: 14px; }
  .ind-card { flex-direction: row; }
  .ind-card img { width: 112px; aspect-ratio: auto; height: auto; min-height: 100%; }
  .ind-body { padding: 14px; }
  .ind-body p { display: none; }
}

/* ---------- Why JPG ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 56px; align-items: start; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.why-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 0; }
.why-n { width: 48px; height: 48px; border-radius: 14px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.why-list strong { display: block; font: 700 18px/1.3 var(--f-head); margin-bottom: 4px; }
.why-list p { margin: 0; color: var(--muted); font-size: 16px; }
.office-card { background: var(--band); color: var(--ink); border: 1px solid var(--band-line); border-radius: var(--r-xl); padding: 30px; position: sticky; top: calc(var(--header-h) + 24px); }
.office-card h3 { color: var(--ink); font-size: 24px; }
.office-card p, .office-card dd { color: var(--ink-2); }
.office-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 18px 0 22px; font-size: 15px; }
.office-card dt { font-weight: 700; color: var(--ink); }
.office-card .btn-line { background: var(--white); }
.office-card dd { margin: 0; }
.office-card .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; gap: 28px; } .office-card { position: static; } }

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.area-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink); min-height: 140px; transition: border-color .15s, box-shadow .15s; }
.area-card:hover { border-color: var(--blue); box-shadow: var(--sh-2); color: var(--ink); }
.area-card strong { font: 700 17px/1.25 var(--f-head); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.area-card strong .icon { color: var(--blue); }
.area-card span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.area-card.is-home { background: var(--blue-50); border-color: var(--blue-100); }
@media (max-width: 1000px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .area-grid { grid-template-columns: 1fr; } .area-card { min-height: 0; } }

/* ---------- Guide teaser ---------- */
.guide-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-2); }
.guide-card-l { padding: 36px; border-right: 1px solid var(--line); }
.guide-card-l h2 { font-size: 30px; }
.guide-card-r { padding: 28px 36px; background: var(--tint); }
.guide-qa { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.guide-qa li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-size: 15px; color: var(--ink-2); }
.guide-links { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 2px; }
.guide-links a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 4px 10px; margin: 0 -10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.guide-links a:hover { background: var(--blue-50); color: var(--blue-700); }
.guide-links .icon { color: var(--blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-qa b { display: block; font-family: var(--f-head); color: var(--ink); margin-bottom: 2px; }
@media (max-width: 900px) { .guide-card { grid-template-columns: 1fr; } .guide-card-l { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; } .guide-card-r { padding: 20px; } }

/* ---------- Carrier logo carousel (full content width) ---------- */
.carriers-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.carriers-head h2 { font-size: 22px; margin: 0; }
.marquee { overflow: hidden; border-radius: var(--r); }
.marquee-track { display: flex; width: max-content; animation: marquee 280s linear infinite; } /* Kendall 2026-11-14: logos 1.5x larger and a little slower */
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee.is-paused .marquee-track, .marquee.is-off .marquee-track,
.carriers-head:hover + .marquee .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; gap: 12px; list-style: none; padding: 0 12px 0 0; margin: 0; }
.marquee-list li { flex: none; width: 234px; height: 108px; display: grid; place-items: center; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.marquee-list img { max-height: 72px; width: auto; max-width: 100%; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.carrier-note { font-size: 14px; color: var(--muted); margin-top: 14px; }
@media (max-width: 600px) { .marquee-list li { width: 192px; height: 96px; } .marquee-list img { max-height: 60px; } }
/* Reduced motion: the logos hold still as a wrapped grid at the content width */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { width: auto; animation: none; }
  .marquee-list { flex-wrap: wrap; padding: 0; }
  .marquee-list[aria-hidden="true"] { display: none; }
}

/* ---------- Banner (subpages: light blue-grey, text only, dark ink; Get a Quote + Call on the right) ---------- */
.banner { background: var(--band); color: var(--ink); padding: 36px 0; border-bottom: 1px solid var(--band-line); }
.banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.banner h1 { color: var(--ink); font-size: 36px; letter-spacing: -.02em; margin: 0 0 8px; }
.banner p { color: var(--ink-2); margin: 0; font-size: 18px; max-width: 720px; }
.banner-actions { display: flex; gap: 12px; flex: none; }
.banner .btn-line, .cta-band .btn-line { background: var(--white); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.crumbs a { color: var(--blue); }
@media (max-width: 900px) {
  .banner { padding: 28px 0; }
  .banner-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .banner h1 { font-size: 28px; }
  .banner p { font-size: 16px; }
  .banner-actions { width: 100%; flex-direction: column; }
  .banner-actions .btn { width: 100%; }
}

/* In-page toolbar (service page) */
.page-tools { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.page-tools-inner { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; min-height: 52px; }
.page-tools-inner::-webkit-scrollbar { display: none; }
.page-tools a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; }
.page-tools a:hover, .page-tools a.is-active { background: var(--blue-50); color: var(--blue-700); }
.page-tools .pt-label { flex: none; font: 700 12px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
@media (max-width: 1023px) { .page-tools { display: none; } }

/* ---------- Pinned photo splits (lesson 2) ---------- */
.pin-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.pin-split.photo-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.pin-split.photo-left .pin-media { order: -1; }
.pin-media { position: sticky; top: calc(var(--header-h) + 76px); }
.pin-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-2); object-fit: cover; aspect-ratio: 4 / 3; }
.pin-media figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.page-plain .pin-media { top: calc(var(--header-h) + 24px); }
@media (max-width: 900px) {
  .pin-split, .pin-split.photo-left { grid-template-columns: 1fr; gap: 24px; }
  .pin-media { position: static; order: -1; }
  .pin-media img { aspect-ratio: 16 / 10; }
}

/* ---------- Service page blocks ---------- */
.quick-answer { border-left: 4px solid var(--accent); padding: 4px 0 4px 20px; margin-bottom: 24px; }
.quick-answer .eyebrow { margin-bottom: 6px; }
.quick-answer p:not(.eyebrow) { font-size: 19px; line-height: 1.6; color: var(--ink); margin: 0; }
.prose p { color: var(--ink-2); }
.cover-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cover-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: #fff; }
.cover-card h3 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.cover-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cover-card li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 16px; color: var(--ink-2); }
.cover-card li .icon { margin-top: 3px; }
.cover-yes h3 .dot, .cover-yes li .icon { color: var(--ok); }
.cover-no { background: var(--tint); }
.cover-no h3 .dot, .cover-no li .icon { color: var(--err); }
.dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); }
@media (max-width: 820px) { .cover-grid { grid-template-columns: 1fr; } .cover-card { padding: 20px; } }
.facts-box { border: 1.5px solid var(--blue-100); background: #fff; border-radius: var(--r-lg); overflow: hidden; }
.facts-box-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; background: var(--blue-50); border-bottom: 1px solid var(--blue-100); flex-wrap: wrap; }
.facts-box-head strong { font: 700 15px/1.2 var(--f-head); color: var(--blue-700); display: flex; align-items: center; gap: 8px; }
.facts-box-head span { font-size: 13px; color: var(--muted); }
.facts-list { list-style: none; counter-reset: f; padding: 8px 22px; margin: 0; }
.facts-list li { counter-increment: f; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--ink-2); }
.facts-list li p { margin: 0; }
.facts-list li .cite-row { margin-top: 8px; }
.facts-list li:last-child { border-bottom: 0; }
.facts-list li::before { content: counter(f); width: 28px; height: 28px; border-radius: 8px; background: var(--blue); color: #fff; font: 700 13px/28px var(--f-head); text-align: center; }
.facts-sources { padding: 14px 22px 18px; border-top: 1px solid var(--line); background: var(--tint); font-size: 14px; color: var(--muted); }
.facts-sources a { word-break: break-word; }
.factor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.factor { border: 1px solid var(--line); border-radius: var(--r); padding: 18px; background: #fff; }
.factor strong { display: flex; align-items: center; gap: 10px; font: 700 16px/1.3 var(--f-head); margin-bottom: 6px; }
.factor strong .icon { color: var(--blue); }
.factor p { margin: 0; font-size: 15px; color: var(--muted); }
@media (max-width: 640px) { .factor-grid { grid-template-columns: 1fr; } }
.placeholder-box { border: 2px dashed #c58a00; background: #fffaf0; border-radius: var(--r-lg); padding: 22px 24px; }
.placeholder-box h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.placeholder-box p { margin: 0; color: #5a4300; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; background: #fff; }
.chips a:hover { border-color: var(--blue); color: var(--blue-700); background: var(--blue-50); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: "Step " counter(s); display: inline-block; font: 700 12px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-50); padding: 6px 10px; border-radius: 999px; margin-bottom: 12px; }
.steps strong { display: block; font: 700 18px/1.3 var(--f-head); margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps-compact li { padding: 14px 18px; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: baseline; }
.steps-compact li::before { grid-row: span 2; margin: 0; }
.steps-compact strong { margin: 0; font-size: 16px; }
.agent-box { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); }
.agent-box img { width: 160px; height: 172px; object-fit: cover; object-position: 50% 20%; border-radius: 14px; }
.agent-box h3 { font-size: 24px; margin: 4px 0 2px; }
.agent-title { color: var(--muted); margin: 0 0 10px; }
.agent-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); margin: 0; }
.agent-actions { display: grid; gap: 10px; }
@media (max-width: 820px) {
  .agent-box { grid-template-columns: 96px 1fr; gap: 16px; padding: 20px; }
  .agent-box img { width: 96px; height: 112px; }
  .agent-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .agent-box h3 { font-size: 20px; }
}
@media (max-width: 420px) { .agent-actions { grid-template-columns: 1fr; } }

/* Contract check tool */
.tool-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--sh-2); overflow: hidden; }
.tool-head { padding: 22px 26px 6px; }
.tool-head h2 { font-size: 26px; margin-bottom: 6px; }
.tool-head p { color: var(--muted); margin: 0; }
.tool-body { padding: 18px 26px 26px; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tool-out { margin-top: 18px; padding: 16px 18px; border-radius: var(--r); background: var(--tint); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tool-out p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } .tool-head, .tool-body { padding-left: 18px; padding-right: 18px; } }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item h3 { margin: 0; font-size: 18px; }
.faq-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 4px; border: 0; background: none; text-align: left; font: 700 18px/1.35 var(--f-head); color: var(--ink); }
.faq-btn:hover { color: var(--blue); }
.faq-btn .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: transform .2s, background-color .2s; }
.faq-btn[aria-expanded="true"] .pm { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.faq-panel { padding: 0 52px 20px 4px; color: var(--ink-2); }
.faq-panel p { margin: 0; }
@media (max-width: 640px) { .faq-btn { font-size: 16px; } .faq-panel { padding-right: 4px; } }

.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 76px); }
.faq-aside p { color: var(--muted); }
.faq-aside .btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; gap: 16px; } .faq-aside { position: static; } .faq-aside .btn-row, .faq-aside p { display: none; } }
@media (max-width: 760px) { .quick-answer p:not(.eyebrow) { font-size: 17px; } }

/* Related */
.rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rel-card { display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.rel-card:hover { border-color: var(--blue); box-shadow: var(--sh-2); color: var(--ink); }
.rel-card strong { font: 700 17px/1.3 var(--f-head); }
.rel-card span { font-size: 14px; color: var(--muted); }
.rel-card em { margin-top: auto; font-style: normal; font-weight: 600; color: var(--blue); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1000px) { .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .rel-grid { grid-template-columns: 1fr; } }

/* CTA band + footer (one light blue-grey surface, thin line between; dark ink text) */
.cta-band { background: var(--band); color: var(--ink); padding: 56px 0; border-top: 1px solid var(--band-line); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: var(--ink); margin: 0 0 6px; font-size: 32px; }
.cta-band p { margin: 0; color: var(--ink-2); font-size: 18px; }
.cta-actions { display: flex; gap: 12px; flex: none; }
@media (max-width: 900px) { .cta-inner { flex-direction: column; align-items: flex-start; } .cta-actions { width: 100%; flex-direction: column; } .cta-actions .btn { width: 100%; } .cta-band h2 { font-size: 26px; } }
.site-footer { background: var(--band); color: var(--ink-2); border-top: 1px solid var(--band-line); padding: 56px 0 28px; font-size: 15px; }
.site-footer a { color: var(--blue-700); }
.site-footer h2 { color: var(--ink); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.25fr; gap: 40px; }
.foot-logo { display: inline-block; background: #fff; border-radius: var(--r); padding: 10px 14px; margin-bottom: 16px; border: 1px solid var(--band-line); }
.foot-logo img { width: 150px; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.foot-list a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; }
.foot-list a:hover { text-decoration: underline; }
.foot-contact { font-style: normal; display: grid; gap: 8px; }
.foot-contact b { color: var(--ink); font-weight: 600; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); text-decoration: none; font-weight: 600; }
.social a:hover { border-color: var(--blue); background: var(--blue-50); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-qr { display: inline-block; background: #fff; border-radius: var(--r); padding: 6px; border: 1px solid var(--band-line); }
.foot-qr img { width: 260px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--band-line); color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } .foot-qr img { width: 100%; max-width: 280px; } }

/* ---------- Business hub catalog ---------- */
.hub-intro .lead { max-width: 640px; }
.catalog-bar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); padding: 14px 0; }
.catalog-bar-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.catalog-filter { position: relative; flex: 0 1 320px; }
.catalog-filter input { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 15px; }
.catalog-filter input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.catalog-filter .icon { position: absolute; left: 14px; top: 13px; color: var(--muted); }
.catalog-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.catalog-chips button { min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.catalog-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.catalog-chips button:hover { border-color: var(--blue); }
.catalog-count { margin-left: auto; font-size: 14px; color: var(--muted); }
.cat-group { padding-top: 40px; }
.cat-group[hidden] { display: none; }
.cat-group-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-group-head h2 { font-size: 26px; margin: 0; }
.cat-group-head p { margin: 0; color: var(--muted); font-size: 15px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.cat-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .15s, box-shadow .15s; }
.cat-card[hidden] { display: none; }
.cat-card:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.cat-card.is-picked { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.cat-card h3 { font-size: 17px; margin: 0; }
.cat-card h3 a { color: var(--ink); text-decoration: none; }
.cat-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.cat-card p { margin: 0; font-size: 14px; color: var(--muted); flex: 1; }
.cat-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.add-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.add-btn:hover { border-color: var(--blue); color: var(--blue); }
.add-btn[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.cat-empty { padding: 40px 0; color: var(--muted); }
.quote-tray { position: sticky; bottom: 16px; z-index: 35; margin-top: 32px; display: flex; justify-content: center; pointer-events: none; }
.quote-tray-inner { pointer-events: auto; display: flex; align-items: center; gap: 16px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--sh-3); font-weight: 600; }
.quote-tray[hidden] { display: none; }
@media (max-width: 1023px) { .catalog-bar { position: static; } .quote-tray { display: none !important; } }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } .catalog-filter { flex-basis: 100%; } .catalog-count { margin-left: 0; } }

/* ---------- Henderson ---------- */
.watch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 0; }
.watch-grid li { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff; }
.watch-grid strong { display: flex; gap: 10px; align-items: center; font: 700 17px/1.3 var(--f-head); margin-bottom: 8px; }
.watch-grid strong .icon { color: var(--blue); }
.watch-grid p { margin: 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 760px) { .watch-grid { grid-template-columns: 1fr; } }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }
.res-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.res-list li { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 15px; }
.task-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .task-strip { grid-template-columns: 1fr; } }

/* ---------- Team page ---------- */
.router { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.router a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; text-decoration: none; color: var(--ink); }
.router a:hover { border-color: var(--blue); box-shadow: var(--sh-2); color: var(--ink); }
.router img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.router strong { display: block; font: 700 16px/1.3 var(--f-head); }
.router span { font-size: 14px; color: var(--muted); }
@media (max-width: 900px) { .router { grid-template-columns: 1fr; } }
.team-group { padding-top: 48px; }
.team-group h2 { font-size: 26px; display: flex; align-items: baseline; gap: 12px; }
.team-group h2 small { font: 600 15px/1 var(--f-body); color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.team-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 20px); }
.person:target { box-shadow: 0 0 0 3px var(--accent); }
.person .ph { overflow: hidden; background: var(--tint); }
.person .ph img { display: block; }
.person .ph.zoom img { transform: scale(1.7); transform-origin: 52% 14%; }
.team-grid.cols-3 .person { flex-direction: row; }
.team-grid.cols-3 .person .ph { flex: 0 0 42%; }
.team-grid.cols-3 .person .ph img { height: 100%; aspect-ratio: auto; min-height: 220px; }
.team-grid.cols-3 .person-body { padding: 18px; }
.team-grid.cols-3 .person-actions { grid-template-columns: 1fr; }
.person img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 18%; background: var(--tint); }
.person-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.person h3 { font-size: 18px; margin: 0 0 2px; }
.person p { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.person-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.person-actions a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border-radius: 10px; border: 1.5px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.person-actions a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-50); }
@media (max-width: 1100px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .team-grid.cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .team-grid.cols-3 { grid-template-columns: 1fr; gap: 12px; } .team-grid.cols-3 .person .ph img { min-height: 180px; } .person-body { padding: 12px; } .person h3 { font-size: 16px; } .person-actions { grid-template-columns: 1fr; } }
.lang-note { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--blue-50); color: var(--blue-700); font-weight: 600; }

/* ---------- Client service hub ---------- */
.hub-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: start; }
.hub-tabs { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 6px; }
.hub-tab { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; min-height: 64px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; color: var(--ink); }
.hub-tab strong { display: block; font: 700 15px/1.25 var(--f-head); }
.hub-tab span { font-size: 13px; color: var(--muted); }
.hub-tab .task-ico { width: 40px; height: 40px; }
.hub-tab:hover { border-color: var(--line-2); background: var(--tint); }
.hub-tab[aria-selected="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.hub-tab[aria-selected="true"] .task-ico { background: var(--blue); color: #fff; }
.hub-help { margin-top: 12px; padding: 16px; border-radius: 14px; background: var(--tint); font-size: 14px; color: var(--ink-2); }
.hub-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 32px; }
.hub-panel[hidden] { display: none; }
.hub-panel h2 { font-size: 28px; }
.hub-panel > p.sub { color: var(--muted); margin-top: -4px; }
.note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--blue-50); color: var(--ink-2); font-size: 15px; margin: 0 0 20px; }
.note .icon { color: var(--blue); margin-top: 2px; }
.note-warn { background: var(--err-50); }
.note-warn .icon { color: var(--err); }
.claims-table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 24px; }
.claims-table th, .claims-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.claims-table th { font: 700 13px/1.2 var(--f-head); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--tint); }
@media (max-width: 1023px) {
  .hub-layout { grid-template-columns: 1fr; }
  .hub-tabs { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-help { grid-column: 1 / -1; }
}
@media (max-width: 560px) { .hub-tabs { grid-template-columns: 1fr; } .hub-panel { padding: 20px 16px; } .hub-tab span { display: none; } }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .lbl, fieldset legend { font: 600 15px/1.3 var(--f-body); color: var(--ink); }
.field .hint { font-size: 13px; color: var(--muted); margin: -2px 0 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; font-size: 16px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 3px var(--err-50); }
.field-err { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--err); font-weight: 600; }
.field-err[hidden] { display: none; }
.field-err .icon { width: 16px; height: 16px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset legend { padding: 0; margin-bottom: 8px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.radio-pill span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: 15px; background: #fff; }
.radio-pill input:checked + span { border-color: var(--blue); background: var(--blue-50); color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.check-row { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 15px; cursor: pointer; }
.check-row input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.check-row:has(input:checked) { border-color: var(--blue); background: var(--blue-50); }
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 24px; }
.demo-note { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #6b4a00; background: #fff3d6; border: 1px solid #f0d28a; border-radius: 999px; padding: 6px 12px; }
.success { text-align: center; padding: 16px 0; }
.success-ico { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-50); color: var(--ok); }
.success-ico .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.success h2, .success h3 { font-size: 26px; }
.ref { display: inline-block; font: 700 16px/1 var(--f-mono); padding: 10px 14px; border-radius: 10px; background: var(--tint); border: 1px dashed var(--line-2); letter-spacing: .04em; color: var(--ink); }

/* ---------- Quote dialog ---------- */
dialog { padding: 0; border: 0; color: var(--ink); }
dialog::backdrop { background: rgba(15, 30, 51, .55); }
.qd { width: min(720px, calc(100vw - 32px)); max-height: min(860px, calc(100vh - 32px)); border-radius: 20px; box-shadow: var(--sh-3); overflow: hidden; }
.qd[open] { display: flex; flex-direction: column; }
.qd-head { display: flex; align-items: center; gap: 16px; padding: 18px 22px 14px; border-bottom: 1px solid var(--line); }
.qd-head h2 { font-size: 20px; margin: 0; }
.qd-head p { margin: 0; font-size: 13px; color: var(--muted); }
.qd-close { margin-left: auto; }
.qd-progress { height: 6px; background: var(--line); }
.qd-progress span { display: block; height: 100%; background: var(--blue); width: 0; transition: width .3s var(--ease); }
.qd-steps { display: flex; gap: 6px; padding: 12px 22px 0; list-style: none; margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.qd-steps li { display: inline-flex; align-items: center; gap: 6px; }
.qd-steps li + li::before { content: ""; width: 14px; height: 1px; background: var(--line-2); margin-right: 2px; }
.qd-steps li.is-current { color: var(--blue); }
.qd-steps li.is-done { color: var(--ink-2); }
.qd-body { padding: 18px 22px 22px; overflow-y: auto; flex: 1; }
.qd-body h3 { font-size: 22px; margin-bottom: 4px; }
.qd-mstep { display: none; font: 700 12px/1 var(--f-head); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 0 0 8px; }
@media (max-width: 680px) { .qd-mstep { display: block; } }
.qd-body .sub { color: var(--muted); margin-bottom: 18px; font-size: 15px; }
.qd-foot { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-top: 1px solid var(--line); background: #fff; }
.qd-foot .spacer { flex: 1; }
.qd-foot .demo-note { margin-right: auto; }
.big-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.big-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 150px; padding: 18px; border: 1.5px solid var(--line-2); border-radius: 16px; background: #fff; text-align: left; }
.big-card:hover { border-color: var(--blue); background: var(--blue-50); }
.big-card[aria-checked="true"] { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); }
.big-card .choice-ico { width: 48px; height: 48px; }
.big-card[aria-checked="true"] .choice-ico { background: var(--blue); color: #fff; }
.big-card strong { font: 700 18px/1.2 var(--f-head); }
.big-card span.s { font-size: 14px; color: var(--muted); }
.qd-linegroup { margin-bottom: 16px; }
.qd-linegroup h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.review-list { display: grid; gap: 12px; }
.review-sec { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.review-sec-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.review-sec-h strong { font-family: var(--f-head); }
.review-sec-h button { border: 0; background: none; color: var(--blue); font-weight: 600; min-height: 44px; padding: 0 8px; }
.review-sec-h button:hover { text-decoration: underline; }
.review-sec dl { display: grid; grid-template-columns: 160px 1fr; gap: 4px 12px; margin: 0; font-size: 15px; }
.review-sec dt { color: var(--muted); }
.review-sec dd { margin: 0; }
/* reCAPTCHA (Kendall 2026-11-29: remove the badge). Google allows hiding the badge while "This site is protected by
   reCAPTCHA." is visible in the form flow: jpginsurance_recaptcha_notice() in inc/form-guard.php. Use visibility, not
   display:none, so reCAPTCHA keeps scoring visitors. */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.recaptcha-note a { color: inherit; text-decoration: underline; }
.qd .qd-recaptcha { margin: 0; padding: 8px 22px; background: #fff; border-top: 1px solid var(--line); }
.qd .qd-recaptcha[hidden] { display: none; }
@media (max-width: 680px) {
  .qd .qd-recaptcha { padding: 8px 16px; }
}
@media (max-width: 680px) {
  .qd { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .qd-body { padding: 16px; }
  .qd-head { padding: 14px 16px 10px; }
  .qd-steps { display: none; }
  .qd-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
  .qd-foot .demo-note { order: -1; width: 100%; justify-content: center; margin: 0; }
  .qd-foot .btn { flex: 1; }
  .big-cards { grid-template-columns: 1fr; }
  .big-card { flex-direction: row; align-items: center; min-height: 76px; }
  .big-card .txt { display: flex; flex-direction: column; }
  .review-sec dl { grid-template-columns: 1fr; }
  .review-sec dt { margin-top: 6px; }
}

/* Search dialog (phones) */
.sd { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
.sd[open] { display: flex; flex-direction: column; }
.sd-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.sd-head .search-box { flex: 1; }
.sd .search-results { position: static; min-width: 0; max-height: none; border: 0; box-shadow: none; border-radius: 0; flex: 1; }

/* ---------- Sarah chat ---------- */
/* Kendall 2026-11-14: a JPG blue "Ask Sarah" pill (it follows the button color in every palette) */
.chat-launch { position: fixed; right: 24px; bottom: 24px; z-index: 66; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 22px 6px 6px; border: 0; border-radius: 999px; background: var(--action); color: var(--on-action); font: 700 17px/1 var(--f-head); box-shadow: var(--sh-3); transition: background-color .15s, transform .15s; }
.chat-launch .av { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font: 800 19px/1 var(--f-head); position: relative; flex: none; }
.chat-launch .av::after { content: ""; position: absolute; right: -1px; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #2fbf71; border: 2px solid #fff; }
.chat-launch:hover { background: var(--action-700); transform: translateY(-1px); }
.chat-launch:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.chat-launch[hidden] { display: none; }
/* Kendall 2026-11-14: draw attention to Sarah. A few seconds after a page opens the pill gives a soft pulse and her
   "S" waves; the first time in a visit a short hello bubble shows above it (site.js). Nothing moves under reduced motion. */
.chat-launch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 var(--action); opacity: 0; pointer-events: none; }
.chat-launch.is-calling::before { animation: sarah-ring 1.6s ease-out 3; }
.chat-launch.is-calling .av { animation: sarah-wave 1.6s ease-in-out 3; }
@keyframes sarah-ring { 0% { opacity: .55; box-shadow: 0 0 0 0 var(--action); } 100% { opacity: 0; box-shadow: 0 0 0 18px var(--action); } }
@keyframes sarah-wave { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 50% { transform: rotate(0) scale(1.08); } }
.sarah-hello { position: fixed; right: 24px; bottom: 96px; z-index: 66; display: flex; align-items: flex-start; gap: 6px; max-width: 280px; padding: 14px 8px 14px 16px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--sh-3); font-size: 15px; line-height: 1.45; animation: sarah-hello-in .35s var(--ease); }
.sarah-hello[hidden] { display: none; }
.sarah-hello button.sh-open { all: unset; cursor: pointer; text-align: left; }
.sarah-hello button.sh-open:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 6px; }
.sarah-hello strong { display: block; font: 700 15px/1.3 var(--f-head); margin-bottom: 2px; }
.sarah-hello .sh-close { flex: none; width: 32px; height: 32px; margin: -8px 0 0; border: 0; border-radius: 50%; background: none; color: var(--muted); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.sarah-hello .sh-close:hover { background: var(--tint); color: var(--ink); }
@keyframes sarah-hello-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) {
  .sarah-hello { right: 12px; bottom: calc(80px + env(safe-area-inset-bottom)); max-width: min(280px, calc(100vw - 24px)); }
  .bottom-bar [data-open-chat].is-calling .icon { animation: sarah-wave 1.6s ease-in-out 3; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-launch.is-calling::before, .chat-launch.is-calling .av, .bottom-bar [data-open-chat].is-calling .icon, .sarah-hello { animation: none; }
}
@media (max-width: 1023px) { .chat-launch { display: none; } }
.chat-panel { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 400px; height: min(640px, calc(100vh - 48px)); background: #fff; border-radius: 20px; box-shadow: var(--sh-3); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
/* Kendall 2026-11-14: Sarah's button and header match JPG blue (the launcher follows the button color) */
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--blue); color: #fff; }
.chat-head .av { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; font: 800 17px/1 var(--f-head); flex: none; }
.chat-head h2 { color: #fff; font-size: 16px; margin: 0; }
.chat-head p { margin: 0; font-size: 12px; color: var(--on-blue-2); }
.chat-head .icon-btn { color: #fff; margin-left: auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: none; }
.chat-head .icon-btn:hover { background: rgba(255, 255, 255, .12); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--tint); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.msg p { margin: 0 0 6px; }
.msg p:last-child { margin: 0; }
.msg-bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg-user { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.msg-actions a, .msg-actions button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff; color: var(--blue-700); font-weight: 600; font-size: 14px; text-decoration: none; }
.msg-actions a:hover, .msg-actions button:hover { border-color: var(--blue); background: var(--blue-50); }
.typing { display: inline-flex; gap: 4px; padding: 14px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chat-chips { display: flex; gap: 6px; flex-wrap: wrap; padding: 10px 14px 0; background: #fff; border-top: 1px solid var(--line); }
.chat-chips button { min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--blue-100); background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: 13px; }
.chat-chips button:hover { border-color: var(--blue); }
.chat-form { display: flex; gap: 8px; padding: 10px 14px 14px; background: #fff; }
.chat-form input { flex: 1; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line-2); border-radius: 999px; font-size: 16px; }
.chat-form input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-100); }
.chat-form button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.chat-note { font-size: 12px; color: var(--muted); padding: 0 16px 10px; background: #fff; margin: 0; }
@media (max-width: 1023px) {
  .chat-panel { inset: 0; width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; }
  .chat-form { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 95; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; box-shadow: var(--sh-3); max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }
@media (min-width: 1024px) { .toast { bottom: 32px; } }

/* Reduced motion: nothing moves */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .carousel-track { scroll-behavior: auto; }
}

/* ==========================================================================
   Concept D shared components (see BUILD-CONTRACT.md). Page builders use these class names; don't restyle them in
   css/pages-*.css without asking the lead builder.
   ========================================================================== */

/* "Reviewed by" line (from C): directly under a service, area or guide banner */
.reviewed-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.reviewed { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 12px; font-size: 15px; }
.reviewed-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; flex: none; background: var(--tint); }
.reviewed-who { margin: 0; color: var(--ink-2); }
.reviewed-who a { font-weight: 600; }
.reviewed-meta { margin: 0 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--muted); font-size: 14px; }
.reviewed-date { font-family: var(--f-mono); font-size: 13px; }
@media (max-width: 719px) { .reviewed-meta { margin-left: 54px; } .reviewed-who { flex: 1 1 200px; } }

/* Law citation chips (from C): one or more under each Nevada fact */
.cite-row { display: flex; flex-wrap: wrap; gap: 6px; }
.cite { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--blue-100); background: var(--blue-50); color: var(--blue-700); font: 600 12.5px/1.3 var(--f-mono); text-decoration: none; white-space: nowrap; }
a.cite:hover { border-color: var(--blue); color: var(--blue-700); text-decoration: underline; }

/* Nevada guide box (from C): the seven guides + "Open the requirements checker" */
.guide-box { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); padding: 20px 22px; box-shadow: var(--sh-1); }
.guide-box-h { margin: 0 0 8px; font: 700 12.5px/1.35 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.guide-box-h a { color: var(--blue-700); text-decoration: none; }
.guide-box-h a:hover { text-decoration: underline; }
.guide-box ul { list-style: none; padding: 0; margin: 0 0 10px; }
.guide-box li a { display: flex; align-items: center; min-height: 40px; padding: 6px 10px; margin: 0 -10px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.35; }
.guide-box li a:hover { background: var(--blue-50); color: var(--blue-700); }
.guide-box li a[aria-current="page"] { background: var(--blue-50); color: var(--blue-700); font-weight: 700; box-shadow: inset 3px 0 0 var(--blue); }
.guide-box-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; }

/* ---------- Nevada requirements checker (from C; facts in js/checker.js) ---------- */
.checker + .section { border-top: 1px solid var(--line); }
.checker-head { max-width: 780px; margin-bottom: 32px; }
.checker-head h2 { margin-bottom: 10px; }
.checker-dek { font-size: 18px; color: var(--muted); margin: 0; }
.checker-grid { display: grid; gap: 28px; }
@media (min-width: 1040px) {
  .checker-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
  .checker-out { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); display: flex; flex-direction: column; }
}
.cq { border: 0; padding: 0 0 22px; margin: 0 0 22px; border-bottom: 1px solid var(--line); min-width: 0; }
.cq legend { font: 700 19px/1.3 var(--f-head); color: var(--ink); padding: 0; margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cq-n { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 8px; background: var(--blue-50); color: var(--blue-700); font: 700 12.5px/1 var(--f-mono); }
.cq-opt { font: 500 13px var(--f-body); color: var(--muted); }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 8px; }
.opt-2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 52px; height: 100%; padding: 10px 14px 10px 42px; border: 1.5px solid var(--line-2); border-radius: var(--r); background: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--ink); position: relative; transition: border-color .15s, background-color .15s; }
.opt span::before { content: ""; position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid var(--line-2); border-radius: 50%; background: #fff; }
.opt-check span::before { border-radius: 5px; }
.opt:hover span { border-color: var(--blue); background: var(--blue-50); }
.opt input:checked + span { border-color: var(--blue); background: var(--blue-50); box-shadow: inset 0 0 0 1px var(--blue); color: var(--blue-700); }
.opt input:checked + span::before { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 3px #fff; }
.opt-check input:checked + span::before { box-shadow: none; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center/12px no-repeat; }
.opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.cq > .opt-check { margin-top: 8px; }
.checker-reset { margin-top: -6px; }
/* The brief: light blue-grey like the other panels (Kendall 2026-11-14) */
.checker-out { background: var(--band); color: var(--ink); border: 1px solid var(--band-line); border-radius: var(--r-xl); outline: none; overflow: hidden; box-shadow: var(--sh-2); }
.brief-head { padding: 24px 26px 16px; border-bottom: 1px solid var(--band-line); }
.brief-kicker { font: 700 12.5px/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-700); margin: 0 0 8px; }
.brief-title { font-size: clamp(22px, 2.2vw, 28px); color: var(--ink); margin: 0 0 12px; }
.brief-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.tag { display: inline-block; font: 700 11.5px/1.3 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; }
.tag-law { background: var(--accent); color: var(--on-accent); }
.tag-contract { background: #fff; color: var(--ink); border: 1px solid var(--band-line); }
.tag-know { background: transparent; color: var(--muted); border: 1px dashed var(--muted); }
.brief-body { padding: 6px 26px; overflow-y: auto; flex: 1; min-height: 120px; scrollbar-color: var(--band-line) transparent; }
.brief-empty { color: var(--muted); padding: 18px 0; margin: 0; }
.brief-empty strong { color: var(--ink); }
.brief-group-h { font: 700 11.5px/1.3 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 2px; }
.brief-item { padding: 14px 0; border-top: 1px solid var(--band-line); }
.brief-item:first-of-type { border-top: 0; }
.brief-item h4 { font: 700 17px/1.3 var(--f-head); margin: 8px 0 4px; color: var(--ink); letter-spacing: -.01em; }
.brief-item p { margin: 0 0 8px; font-size: 15px; color: var(--ink-2, var(--ink)); line-height: 1.55; }
.brief-src { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font: 500 12.5px/1.4 var(--f-mono); color: var(--muted); }
.brief-src a { color: var(--blue-700); text-decoration: underline; text-underline-offset: 2px; display: inline-flex; align-items: center; gap: 4px; min-height: 28px; }
.brief-src a:hover { color: var(--ink); }
.brief-cover { list-style: none; margin: 4px 0 14px; padding: 0; }
.brief-cover li { display: flex; justify-content: space-between; align-items: center; gap: 8px 12px; flex-wrap: wrap; padding: 11px 0; border-top: 1px solid var(--band-line); font: 600 16px/1.3 var(--f-head); color: var(--ink); }
.checker-out .cite { background: #fff; }
.brief-foot { padding: 18px 26px 24px; border-top: 1px solid var(--band-line); }
.brief-foot p { font-size: 13.5px; color: var(--muted); margin: 0 0 14px; }
.brief-foot .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
.checker-out :focus-visible { outline-color: var(--blue); }
/* Shorter windows (900 px tall laptops): tighten the brief so all seven "draws on" rows show before you answer (checker fix) */
@media (min-width: 1024px) and (max-height: 980px) {
  .brief-head { padding: 20px 26px 14px; }
  .brief-empty { padding: 12px 0; }
  .brief-group-h { margin-top: 10px; }
  .brief-cover li { padding: 8px 0; }
  .brief-foot { padding: 14px 26px 18px; }
  .brief-foot p { margin-bottom: 10px; }
}
.brief-jump { display: none; }
@media (max-width: 1039px) {
  .brief-jump { position: sticky; bottom: 84px; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 52px; margin-top: 8px; padding: 10px 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 15.5px var(--f-head); cursor: pointer; box-shadow: var(--sh-3); text-align: left; }
  .brief-jump .icon { color: var(--accent-on-dark); }
}
@media (min-width: 1024px) and (max-width: 1039px) { .brief-jump { bottom: 16px; } }
@media (max-width: 560px) { .brief-head, .brief-body, .brief-foot { padding-left: 18px; padding-right: 18px; } }
