/* ---------- Tokens ---------- */
:root {
  --ink: #18202B;
  --ink-2: #4A5563;
  --muted: #66707C;
  --line: #DFE3E8;
  --bg: #FBFAF7;
  --tint: #F9EEE2;
  --warm: #F0D4B7;
  --check: var(--warm);
  --card: #FFFFFF;
  --brand: #0E4F4A;
  --brand-2: #13675F;
  --brand-ink: #FFFFFF;
  --accent: #F2B544;
  --accent-ink: #1E1A10;
  --accent-hover: #E9A52A;
  --danger: #B42318;
  /* derived from the theme colors in config.json (build injects --brand, --brand-2, --accent, --accent-ink, --accent-hover, --bg) */
  --brand-wash: color-mix(in srgb, var(--brand) 9%, white);
  --brand-glow: color-mix(in srgb, var(--brand-2) 16%, transparent);
  --accent-glow: color-mix(in srgb, var(--warm) 45%, transparent);
  --focus-ring: color-mix(in srgb, var(--brand-2) 20%, transparent);
  --footer-bg: color-mix(in srgb, var(--brand) 22%, #0B0F12);
  --footer-ink: #C9D3D6;
  --footer-quiet: #93A4A9;
  --header-bg: color-mix(in srgb, var(--bg) 92%, transparent);
  --focus: #1D7FD1;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(24,32,43,.06), 0 8px 28px rgba(24,32,43,.08);
  --wrap: 1160px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.fine { font-size: .85rem; color: var(--muted); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-2); margin-bottom: .6em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }

/* ---------- Bars ---------- */
.preview-bar { background: #7A2E0E; color: #fff; font-size: .9rem; text-align: center; padding: 8px 16px; }
.preview-bar code { background: rgba(255,255,255,.15); padding: 1px 6px; border-radius: 4px; }
.oe-bar { background: var(--brand); color: var(--brand-ink); font-size: .92rem; text-align: center; padding: 9px 16px; }
.oe-bar a { color: var(--check); font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); color: var(--check); font-family: var(--serif); font-weight: 700; font-size: 1.25rem; display: grid; place-items: center; }
.logo-text { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; }
.logo-stack { display: flex; flex-direction: column; line-height: 1; font-size: 1rem; }
.logo-name { font-family: var(--serif); font-weight: 700; font-size: 1.42rem; letter-spacing: .01em; }
.logo-tag { font-family: var(--sans); font-weight: 600; font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-2); margin-top: 3px; }
.logo-footer .logo-tag { color: var(--footer-ink); }
.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a, .logo-text, .header-cta .btn { white-space: nowrap; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--brand); }
.header-cta { display: flex; gap: 10px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 .97rem/1 var(--sans); padding: 13px 20px; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--tint); color: var(--brand); }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; margin-top: 6px; }
.btn-row .btn { flex: 1; }
.center-row { justify-content: center; }
.center-row .btn { flex: 0 0 auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 72px; background:
  radial-gradient(900px 500px at 105% -10%, var(--brand-glow), transparent 60%),
  radial-gradient(700px 420px at -10% 110%, var(--accent-glow), transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-areas: "top form" "bottom form"; column-gap: 56px; row-gap: 0; align-items: start; }
.hero-top { grid-area: top; padding-top: 18px; }
.hero-form { grid-area: form; }
.hero-bottom { grid-area: bottom; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 32px; font-weight: 500; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--brand); }
.checks li::after { content: ""; position: absolute; left: 8px; top: 7px; width: 5px; height: 10px; border: solid var(--check); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.trust-row { display: flex; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.7); max-width: 520px; }
.trust-row > div { flex: 1; padding: 14px 16px; border-right: 1px solid var(--line); }
.trust-row > div:last-child { border-right: 0; }
.trust-row strong { display: block; font-size: .98rem; }
.trust-row span { font-size: .8rem; color: var(--muted); }

/* ---------- Form ---------- */
.lead-form { scroll-margin-top: 86px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 26px; }
.form-title { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; margin: 0 0 2px; }
.form-sub { color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.progress { height: 6px; background: var(--tint); border-radius: 6px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 33%; background: var(--brand-2); border-radius: 6px; transition: width .25s; }
.step-label { font-size: .8rem; color: var(--muted); margin: 6px 0 14px; }
.step { border: 0; padding: 0; margin: 0; }
.step legend { font-weight: 650; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 56px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 550; font-size: .95rem; line-height: 1.3; transition: border-color .15s, background .15s; }
.choice input:hover + span { border-color: var(--brand-2); }
.choice input:checked + span { border-color: var(--brand); background: var(--brand-wash); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field { display: block; margin-bottom: 14px; }
.field > span { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 5px; color: var(--ink-2); }
.field input, .field select { width: 100%; font: 400 1rem var(--sans); color: var(--ink); padding: 12px 13px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235F7179' stroke-width='1.6'/%3E%3C/svg%3E") right 13px center/12px no-repeat; padding-right: 34px; }
.field input:focus, .field select:focus { border-color: var(--brand-2); outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { color: var(--danger); font-size: .88rem; min-height: 0; margin: 0 0 8px; }
.field-error:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .76rem; line-height: 1.45; color: var(--ink-2); background: var(--tint); border-radius: var(--radius-sm); padding: 12px; margin: 4px 0 8px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.submit[disabled] { opacity: .6; cursor: progress; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--ink-2); font-size: 1.08rem; }
.cards { display: grid; gap: 18px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.card-flat { background: #fff; }
.icon { width: 44px; height: 44px; fill: none; stroke: var(--brand-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; background: var(--brand-wash); border-radius: 12px; padding: 6px; }

.focus { padding: 56px 0; background: #fff; border-bottom: 1px solid var(--line); }
.focus p { color: var(--ink-2); font-size: 1.07rem; }

.carriers { padding: 26px 0; border-bottom: 1px solid var(--line); background: #fff; text-align: center; }
.carriers-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; margin-bottom: 10px; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.compare-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px 16px 54px; position: relative; }
.compare-list li::before { content: ""; position: absolute; left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 6px; background: var(--brand); }
.compare-list li::after { content: ""; position: absolute; left: 26px; top: 22px; width: 5px; height: 10px; border: solid var(--check); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }
.compare-list strong { display: block; }
.compare-list span { color: var(--ink-2); font-size: .95rem; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { color: var(--ink-2); margin: 0; font-size: .97rem; }
.step-n { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 12px; }


.review blockquote { margin: 0 0 14px; font-size: 1rem; color: var(--ink); }
.review figcaption { font-size: .88rem; font-weight: 600; color: var(--muted); }
.link-arrow { font-weight: 600; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 650; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--brand-2); }
.faq details[open] summary::after { content: "\2212"; }
.faq-a { padding: 0 0 20px; color: var(--ink-2); }
.faq-a p:last-child { margin-bottom: 0; }

.cta-band { background: var(--brand); color: var(--brand-ink); padding: 64px 0; }
.cta-band h2 { color: var(--brand-ink); }
.cta-band p { color: var(--brand-ink); opacity: .88; margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Thank you / legal ---------- */
.thanks-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 40px; text-align: center; box-shadow: var(--shadow); margin-bottom: 48px; }
.thanks-card .lede { margin: 0 auto 20px; }
.thanks-check svg { width: 64px; height: 64px; margin: 0 auto 14px; }
.thanks-check circle { fill: var(--brand-wash); stroke: var(--brand-2); stroke-width: 2; }
.thanks-check path { fill: none; stroke: var(--brand); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.thanks h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.thanks-h2 { font-size: 1.5rem; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }
.legal li { margin-bottom: .5em; color: var(--ink-2); }
.legal p { color: var(--ink-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); padding: 60px 0 100px; font-size: .93rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.logo-footer { color: #fff; margin-bottom: 12px; }
.logo-footer .logo-text { color: #fff; }
.footer-h { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--footer-quiet); margin-bottom: 10px; }
.footer-blurb { color: #fff; }
.footer-meta { color: var(--footer-ink); font-size: .87rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 24px; font-size: .8rem; color: var(--footer-quiet); }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1140px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta .btn-ghost { display: none; }
  .nav.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .header-inner { position: relative; }
  .header-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "top" "form" "bottom"; row-gap: 26px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .hero-top { padding-top: 0; }
  .hero-top .lede { margin-bottom: 0; }
  .checks { margin-top: 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .section { padding: 60px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .cards-4, .steps { grid-template-columns: 1fr; }
  .trust-row > div { padding: 10px 10px; }
  .trust-row strong { font-size: .86rem; }
  .trust-row span { font-size: .72rem; }
  .lead-form { padding: 20px 16px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .choice-grid { grid-template-columns: 1fr; }
  .thanks-card { padding: 28px 18px; }
  .center-row { flex-direction: column; }
  .mobile-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(24,32,43,.08); padding: 8px; gap: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
  .mobile-bar a { flex: 1; text-align: center; padding: 12px 6px; border-radius: 999px; font-weight: 650; text-decoration: none; color: var(--brand); border: 1.5px solid var(--line); }
  .mobile-bar .mb-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .btn { white-space: normal; text-align: center; }
}

/* Primary buttons on the dark band use the warm color so they stand out from the band */
.cta-band .btn-primary { background: var(--warm); color: var(--brand); }
.cta-band .btn-primary:hover { background: color-mix(in srgb, var(--warm) 88%, black); color: var(--brand); }

/* ---------- Call / text buttons ---------- */
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.btn-outline { background: #fff; color: var(--brand); border-color: color-mix(in srgb, var(--brand-2) 45%, white); }
.btn-outline:hover { border-color: var(--brand-2); color: var(--brand); background: var(--brand-wash); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- Carrier marquee ---------- */
.marquee { overflow: hidden; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--warm) 22%, white); padding: 14px 0; margin-bottom: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 56px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track li { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); white-space: nowrap; font-size: 1rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 12px 32px; } .marquee-track li[aria-hidden="true"] { display: none; } .marquee { -webkit-mask-image: none; mask-image: none; border-radius: var(--radius); padding: 14px 16px; } }

/* ---------- Marketplace vs private ---------- */
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.option h3 { font-size: 1.3rem; }
.tags { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .85rem; font-weight: 600; color: var(--brand); background: var(--brand-wash); border: 1px solid color-mix(in srgb, var(--brand-2) 25%, white); padding: 6px 12px; border-radius: 999px; }
.options-note { margin-top: 18px; max-width: 60em; }

/* ---------- Business ---------- */
.business { padding: 64px 0; }
.business-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--warm); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.business-card p:last-child { margin-bottom: 0; color: var(--ink-2); max-width: 40em; }

/* ---------- Reviews ---------- */
.stars { display: flex; gap: 4px; margin-bottom: 12px; }
.stars svg { width: 18px; height: 18px; fill: #E0A526; }
.review figcaption { display: flex; flex-direction: column; gap: 2px; }
.review figcaption strong { color: var(--ink); font-size: .95rem; }
.review figcaption span { font-weight: 500; }

/* ---------- Form: business option ---------- */
.choice-wide { grid-column: 1 / -1; }

/* ---------- Text dialog (desktop) ---------- */
.text-dialog { border: 0; border-radius: 20px; padding: 28px; max-width: 380px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(24,32,43,.25); text-align: center; color: var(--ink); }
.text-dialog::backdrop { background: rgba(24,32,43,.45); }
.text-dialog h2 { font-size: 1.5rem; }
.text-dialog p { color: var(--ink-2); font-size: .95rem; }
.text-dialog .qr { width: 200px; margin: 8px auto 16px; }
.text-dialog .qr img { width: 100%; height: auto; display: block; image-rendering: pixelated; }

@media (max-width: 860px) {
  .cards-2 { grid-template-columns: 1fr; }
  .business-card { flex-direction: column; align-items: flex-start; padding: 24px; }
}
@media (max-width: 640px) {
  .hero-actions .btn { flex: 1 1 140px; }
}

.review { margin: 0; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.member { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.member h3 { margin: 0; font-size: 1.1rem; }
.member-role { margin: 0; color: var(--muted); font-size: .9rem; }
.member .tags { margin-top: 10px; }
.member .tags li { font-size: .78rem; padding: 4px 10px; }
.avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--warm); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; }

/* ---------- Reviews: language + translation ---------- */
.lang-chip { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; color: var(--brand); background: var(--brand-wash); border-radius: 999px; padding: 3px 10px; margin-bottom: 10px; }
.translation { margin: -4px 0 14px; font-size: .9rem; color: var(--ink-2); }
.translation summary { cursor: pointer; color: var(--brand-2); font-weight: 600; }
.translation p { margin: 6px 0 0; }

/* ---------- Preview-only: placeholders + progress panel ---------- */
mark.ph { background: #FFE27A; color: #3A2A00; border-radius: 4px; padding: 0 5px; box-shadow: inset 0 0 0 1px #E2B93B; font-weight: 600; text-transform: none; letter-spacing: 0; }
.preview-bar mark.ph { font-weight: 700; }
.pp { position: fixed; left: 16px; bottom: 16px; z-index: 70; width: 290px; max-width: calc(100vw - 32px); background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 40px rgba(24,32,43,.18); font-size: .88rem; }
.pp summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 700; }
.pp summary::-webkit-details-marker { display: none; }
.pp-count { font-weight: 600; color: var(--brand-2); font-size: .82rem; white-space: nowrap; }
.pp-bar { height: 6px; margin: 0 14px 10px; background: var(--tint); border-radius: 6px; overflow: hidden; }
.pp-bar span { display: block; height: 100%; background: var(--brand-2); border-radius: 6px; }
.pp ul { list-style: none; margin: 0; padding: 0 14px; max-height: 46vh; overflow: auto; display: grid; gap: 6px; }
.pp li { position: relative; padding-left: 24px; line-height: 1.35; }
.pp li::before { position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.pp li.done { color: var(--muted); }
.pp li.done::before { content: "\2713"; background: var(--brand-2); color: #fff; }
.pp li.todo::before { content: ""; background: #FFE27A; box-shadow: inset 0 0 0 1.5px #E2B93B; }
.pp li a { color: var(--ink); font-weight: 600; text-decoration-color: #E2B93B; }
.pp-note { margin: 10px 14px 12px; color: var(--muted); font-size: .8rem; }
@media (max-width: 640px) { .pp { bottom: 84px; left: 8px; } }

.pp { width: auto; min-width: 240px; }
.pp[open] { width: 300px; }
.pp-title { display: inline-flex; align-items: center; gap: 8px; }
.pp-dot { width: 10px; height: 10px; border-radius: 50%; background: #F2C230; box-shadow: 0 0 0 3px #FFF1C2; }
.pp-chev { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-135deg); margin: 0 2px 0 6px; vertical-align: 1px; transition: transform .15s; }
.pp[open] .pp-chev { transform: rotate(45deg); vertical-align: 3px; }
.pp ul { max-height: 52vh; }

/* ---------- v4.1: plans grid ---------- */
.plan { display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.plan:hover { border-color: color-mix(in srgb, var(--brand-2) 40%, white); box-shadow: var(--shadow); transform: translateY(-2px); }
.plan p { flex: 1; }
.card-link { margin-top: 16px; font-weight: 650; text-decoration: none; color: var(--brand-2); display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; }
.card-link::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.card-link:hover { color: var(--brand); }

/* ---------- v4.1: Open Enrollment countdown ---------- */
.oe-count { background: var(--brand); color: var(--brand-ink); padding: 60px 0; position: relative; overflow: hidden; }
.oe-count::before { content: ""; position: absolute; right: -140px; bottom: -260px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--warm) 26%, transparent), transparent); pointer-events: none; }
.oe-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; }
.oe-count h2 { color: var(--brand-ink); }
.oe-count .eyebrow { color: var(--warm); }
.oe-count p { opacity: .9; margin: 0; }
.oe-right { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.count { display: flex; gap: 10px; }
.count > div { min-width: 80px; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 14px; padding: 12px 10px; }
.count b { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; }
.count span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; opacity: .85; margin-top: 6px; }
.btn-warm { background: var(--warm); color: var(--brand); }
.btn-warm:hover { background: color-mix(in srgb, var(--warm) 88%, black); color: var(--brand); }

/* ---------- v4.1: stats ---------- */
.stats-sec { padding: 76px 0; }
.center-head { margin-left: auto; margin-right: auto; text-align: center; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.stats > div { padding: 28px 18px; text-align: center; background: #fff; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.5rem; line-height: 1.05; color: var(--brand); font-weight: 600; font-variant-numeric: tabular-nums; }
.stats strong mark.ph { font-size: 1.2rem; vertical-align: middle; }
.stats span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .92rem; }
.mini-facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.mini-facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 2px color-mix(in srgb, var(--warm) 50%, white); margin-right: 9px; vertical-align: 2px; }

/* ---------- v4.1: refer & earn ---------- */
.refer-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.refer-lede { font-size: 1.08rem; color: var(--ink-2); }
.refer-steps { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 18px; }
.refer-steps li { display: flex; gap: 14px; align-items: flex-start; }
.refer-steps .step-n { flex: 0 0 auto; margin: 0; }
.refer-steps h3 { margin: 4px 0 2px; font-size: 1.05rem; }
.refer-steps p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.refer-card { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--warm); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
.refer-card .form-title { margin-bottom: 14px; }
.refer-link { display: flex; gap: 8px; margin-bottom: 12px; }
.refer-link input { flex: 1; min-width: 0; font: 500 .95rem var(--sans); padding: 12px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--brand-wash); color: var(--ink); }
.refer-result .btn-block { margin-bottom: 6px; }
.refer-terms { margin-top: 30px; max-width: 72em; }

/* ---------- v4.1: reviews header ---------- */
.reviews-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 24px; flex-wrap: wrap; margin-bottom: 36px; }
.reviews-top .section-head { margin-bottom: 0; }
.rating-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 600; color: var(--ink) !important; font-size: 1rem !important; margin: 0; }
.rating-stars { color: #E0A526; letter-spacing: 2px; font-size: 1.2rem; }
.reviews-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- v4.1: footer + thank-you ---------- */
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.15fr; }
.thanks-refer { margin-top: 40px; }

@media (max-width: 1140px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) {
  .oe-inner, .refer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .count { width: 100%; }
  .count > div { min-width: 0; flex: 1; padding: 10px 4px; }
  .count b { font-size: 1.7rem; }
  .oe-right .btn { width: 100%; }
  .refer-card { padding: 20px 16px; }
  .stats strong { font-size: 2rem; }
  .reviews-actions .btn { flex: 1 1 140px; }
}

/* ---------- v4.2: moving review rows ---------- */
.rv { display: grid; gap: 18px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.rv-row { overflow-x: auto; scrollbar-width: none; padding: 4px 0 10px; }
.rv-row::-webkit-scrollbar { display: none; }
.rv-track { display: flex; width: max-content; padding-left: 18px; }
.rv.on .rv-row { overflow: hidden; }
.rv.on .rv-track { padding-left: 0; animation: rv var(--rv-dur, 80s) linear infinite; }
.rv.on .rv-rev .rv-track { animation-direction: reverse; }
.rv:hover .rv-track, .rv:focus-within .rv-track, .rv.paused .rv-track { animation-play-state: paused; }
@keyframes rv { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rv-card { flex: 0 0 340px; margin: 0 18px 0 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 1px 2px rgba(24,32,43,.05), 0 6px 18px rgba(24,32,43,.06); }
.rv-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rv-stars { color: #E0A526; letter-spacing: 1px; font-size: 1.05rem; }
.rv-type { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: color-mix(in srgb, var(--warm) 40%, white); border-radius: 999px; padding: 3px 10px; }
.rv-card .lang-chip { margin: 0; }
.rv-card blockquote { margin: 0; flex: 1; font-size: .98rem; color: var(--ink); }
.rv-tr { margin: 0; font-size: .85rem; color: var(--ink-2); }
.rv-tr span { font-weight: 650; color: var(--brand-2); }
.rv-card figcaption { display: flex; flex-direction: column; gap: 2px; font-size: .86rem; color: var(--muted); }
.rv-card figcaption strong { color: var(--ink); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .rv.on .rv-track { animation: none; } .rv.on .rv-row { overflow-x: auto; } }

/* ---------- v4.2: licensed states map + verify ---------- */
.licensed-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.us-map { width: 100%; height: auto; display: block; }
.us-map rect { fill: #E9ECEF; transition: fill .15s; }
.us-map text { font: 700 13px var(--sans); fill: #8A939C; text-anchor: middle; pointer-events: none; }
.us-map .on rect { fill: var(--brand); }
.us-map .on text { fill: #fff; }
.us-map .on:hover rect { fill: var(--brand-2); }
.map-legend { display: flex; align-items: center; gap: 8px; justify-content: center; margin: 14px 0 0; font-size: .88rem; color: var(--ink-2); }
.lg { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.lg-on { background: var(--brand); }
.lg-off { background: #E9ECEF; margin-left: 12px; }
.verify-card { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--warm); border-radius: var(--radius); padding: 24px; margin-top: 22px; box-shadow: var(--shadow); }
.verify-card h3 { margin: 0 0 6px; }
.verify-card p { color: var(--ink-2); font-size: .97rem; }
.npn-row { display: flex; align-items: center; gap: 12px; background: var(--brand-wash); border-radius: var(--radius-sm); padding: 10px 12px; margin: 4px 0 14px; }
.npn-row span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.npn-row strong { font-size: 1.2rem; letter-spacing: .04em; font-variant-numeric: tabular-nums; flex: 1; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }
.verify-card .btn-row { flex-wrap: wrap; }
.verify-card .fine { margin: 12px 0 0; }
@media (max-width: 860px) {
  .licensed-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .rv-card { flex-basis: 282px; padding: 18px; }
  .verify-card { padding: 20px 16px; }
  .verify-card .btn-row { flex-direction: column; }
  .us-map text { font-size: 15px; }
}

/* ---------- v4.3: language switcher ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--brand); font: 700 .88rem var(--sans); letter-spacing: .04em; cursor: pointer; }
.lang-btn:hover, .lang-btn[aria-expanded="true"] { border-color: var(--brand-2); }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang-btn::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -3px 2px 0 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 34px rgba(24,32,43,.16); }
.lang-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer; text-align: left; }
.lang-menu button:hover { background: var(--brand-wash); }
.lang-menu button[aria-pressed="true"] { color: var(--brand); background: var(--brand-wash); }
.lang-menu button[aria-pressed="true"]::after { content: ""; width: 5px; height: 10px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); margin: -3px 4px 0 0; }
.lang-quick { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; }
.lang-quick button { padding: 0; border: 0; background: none; font: 600 .95rem var(--sans); color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand-2) 40%, transparent); cursor: pointer; }
.lang-quick button:hover { color: var(--brand); text-decoration-color: currentColor; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.lang-note { background: var(--brand-wash); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--ink) !important; }
html[lang="en"] .not-en { display: none; }
@media (max-width: 1140px) {
  .lang { margin-left: auto; }
  .header-cta { margin-left: 0; }
}
@media (max-width: 640px) {
  .header-inner { gap: 12px; }
  .nav-toggle { margin-left: 0; }
  .logo-text { font-size: 1.08rem; }
  .logo-name { font-size: 1.28rem; }
}
@media (max-width: 360px) {
  .header-inner { gap: 8px; }
  .logo { gap: 8px; }
  .logo-mark { width: 32px; height: 32px; font-size: 1.1rem; }
  .logo-name { font-size: 1.16rem; }
  .logo-tag { font-size: .54rem; letter-spacing: .12em; }
}

/* v4.5: compass logo mark, partner (pending) states, multi-NPN verify card */
.logo-mark svg { width: 100%; height: 100%; display: block; }
.us-map .on.pend rect { fill: #FFE27A; stroke: var(--brand); stroke-width: 2.5; stroke-dasharray: 5 3; }
.us-map .on.pend text { fill: var(--brand); }
.lg-pend { background: #FFE27A; box-shadow: inset 0 0 0 2px var(--brand); margin-left: 0; }
.pend-legend { margin-top: 6px; }
.npn-row em { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--muted); }
.member .tags .pend-tag { background: transparent; border: 0; padding: 0; }
.team-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr; } }

/* v4.6: dental, vision, life */
.more-cov { margin-top: 22px; display: flex; align-items: center; gap: 22px 32px; flex-wrap: wrap; background: var(--tint); border-radius: var(--radius); padding: 22px 26px; }
.more-cov-copy { flex: 1 1 320px; }
.more-cov-copy h3 { margin: 0 0 4px; }
.more-cov-copy p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.more-cov-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more-cov-list li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; color: var(--brand); font-size: .95rem; }
.more-cov-list svg { width: 18px; height: 18px; fill: none; stroke: var(--brand-2); stroke-width: 1.8; stroke-linejoin: round; }
.also { border: 0; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.also legend { font-size: .87rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; padding: 0; width: 100%; }
.also-opt { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; font-weight: 550; cursor: pointer; }
.also-opt input { width: 16px; height: 16px; margin: 0; accent-color: var(--brand); }
.also-opt:has(input:checked) { border-color: var(--brand); background: var(--brand-wash); }
@media (max-width: 640px) { .more-cov { padding: 18px 16px; } .more-cov .btn { width: 100%; } }

/* v4.7: referral-partner states, cleaner stats */
.us-map .partner rect { fill: var(--warm); }
.us-map .partner text { fill: var(--brand); }
.lg-partner { background: var(--warm); margin-left: 0; }
.partner-legend { margin-top: 6px; }
.partner-note { font-size: .95rem; color: var(--ink-2); }
.stats { background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; gap: 36px 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats > div { background: none; padding: 6px 4px; }
.stats strong { font-family: var(--sans); font-weight: 800; font-size: 3.1rem; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.stats span { margin-top: 10px; color: var(--muted); font-size: 1rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 16px; } }
@media (max-width: 640px) { .stats strong { font-size: 2.5rem; } .stats span { font-size: .95rem; } }

/* v4.8: carrier logos */
.marquee-track li.has-logo { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.marquee-track li img { height: 36px; width: auto; max-width: 170px; object-fit: contain; display: block; }
.marquee-track li small { font-size: .62rem; font-weight: 600; letter-spacing: .02em; text-transform: none; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .marquee-track li.has-logo[aria-hidden="true"] { display: none; } }

/* launch: static carrier line in place of the named-carrier marquee */
.marquee-static { margin: 0; padding: 0 20px; text-align: center; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-2); font-size: 1rem; }
