:root {
  --navy: #12304a;
  --navy-soft: #3d5568;
  --muted: #6a7885;
  --line: #e4e0d6;
  --bg: #fbfaf6;
  --surface: #ffffff;
  --amber: #c9a57f;
  --amber-dark: #8a6a4b;
  --amber-tint: #f6efe7;
  --blue-tint: #eaf1f7;
  --radius: 12px;
  --max: 1120px;
  --read: 740px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.7; color: var(--navy); background: var(--bg); }
a { color: #1f5f99; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
img, svg { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--read); }

.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 16px; }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: 20px; letter-spacing: -0.01em; }
.brand svg { width: 32px; height: 32px; }
.brand img { height: 46px; width: auto; display: block; }
.brand b { font-weight: 800; }
.brand span { font-weight: 400; color: var(--navy-soft); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--navy-soft); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #d6b791; color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); border-color: #cfc9bb; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 88px 0 80px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 34px; height: 4px; background: repeating-linear-gradient(90deg, var(--amber) 0 38px, transparent 38px 64px); opacity: .55; }
.hero .eyebrow { color: var(--amber); }
.hero h1 { font-size: clamp(36px, 5.2vw, 58px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 20px; max-width: 17ch; }
.hero p.lead { color: #cdd8e2; font-size: clamp(18px, 2vw, 21px); max-width: 56ch; margin: 0 0 32px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 16px; }

.launch-note { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #e6edf3; padding: 10px 16px; border-radius: 999px; font-size: 14px; }
.launch-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); display: inline-block; }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; }
.section .intro { color: var(--navy-soft); max-width: 62ch; margin: 0 0 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.section-alt .card { background: var(--bg); }
.card h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.card p { margin: 0; color: var(--navy-soft); font-size: 16px; }
a.card { display: block; text-decoration: none; color: inherit; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--amber); transform: translateY(-2px); }
a.card .more { display: inline-block; margin-top: 14px; font-weight: 700; color: #1f5f99; font-size: 15px; }
.route-line { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 8px; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--navy-soft); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--amber-tint); border: 2px solid var(--amber); }
.checks li strong { color: var(--navy); }

/* Article */
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); padding: 56px 0 36px; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.page-head p.lead { color: var(--navy-soft); font-size: 19px; margin: 0; max-width: 60ch; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.meta { font-size: 14px; color: var(--muted); margin-top: 16px; }

.article { padding: 44px 0 80px; }
.article h2 { font-size: 26px; line-height: 1.25; margin: 44px 0 12px; letter-spacing: -0.01em; }
.article h3 { font-size: 20px; margin: 28px 0 8px; }
.article p, .article li { color: var(--navy-soft); }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article strong { color: var(--navy); }

.callout { background: var(--amber-tint); border: 1px solid #e3d3c1; border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.callout p { margin: 0; color: var(--navy); }
.callout.info { background: var(--blue-tint); border-color: #cfdeeb; }
.no-coverage { margin: 18px 0 0; }
.no-coverage p + p { margin-top: 10px; }

.table-wrap { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--bg); font-weight: 700; color: var(--navy); }
td { color: var(--navy-soft); }
tr:last-child td { border-bottom: 0; }

.sources { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.sources h2 { font-size: 16px; margin: 0 0 8px; }
.sources li { color: var(--muted); }

.related { margin-top: 48px; }
.related h2 { font-size: 20px; }

/* Footer */
.site-footer { background: var(--navy); color: #b8c5d1; padding: 52px 0 36px; font-size: 14px; }
.site-footer a { color: #e3eaf1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-grid h3 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand p { margin: 10px 0 0; max-width: 40ch; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }
.footer-legal p { margin: 0 0 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; }
.gpc-note { display: none; margin-top: 14px; color: #e3eaf1; }
.gpc-on .gpc-note { display: block; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav > a:not(.btn) { display: none; }
  .mnav { display: block; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 60px 0 72px; }
  .section { padding: 60px 0; }
  .brand { font-size: 18px; }
  .nav .btn { padding: 10px 14px; font-size: 14px; }
}
@media print { .site-header, .site-footer, .skip-link { display: none; } body { background: #fff; } }

/* Quote form */
.quote-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 32px; }
.steps-bar { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 24px; counter-reset: s; }
.steps-bar li { flex: 1; font-size: 13px; font-weight: 700; color: var(--muted); padding-top: 10px; border-top: 4px solid var(--line); }
.steps-bar li.is-current { color: var(--navy); border-top-color: var(--amber); }
.steps-bar li.is-done { color: var(--navy-soft); border-top-color: var(--navy); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 18px; padding: 0; }
.row-2 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field.narrow { max-width: 200px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; color: var(--navy); }
.hint { font-weight: 400; color: var(--muted); font-size: 14px; }
.field input, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--navy); padding: 12px 14px; border: 1px solid #cfc9bb; border-radius: 8px; background: #fff; }
.field input:focus, .field select:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber-dark); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error, .article .field-error { color: #b3261e; font-size: 14px; margin: 6px 0 0; }
.form-error, .article .form-error { background: #fbeaea; color: #8a2424; padding: 12px 14px; border-radius: 8px; font-size: 15px; margin: 16px 0 0; }
.consent { font-size: 12.5px; line-height: 1.55; color: var(--navy-soft); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; margin: 4px 0 18px; }
.consent a { color: var(--navy); font-weight: 600; }
.turnstile { margin: 4px 0 14px; min-height: 0; }
.step-actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.step-actions .btn-primary { min-width: 200px; }
.otp-note { font-size: 12.5px; line-height: 1.5; margin: 6px 0 0; }
.otp-panel { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.otp-panel input[name=otp_code] { font-size: 22px; letter-spacing: 6px; max-width: 220px; }
.otp-resend { margin: 12px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.done { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--amber); border-radius: var(--radius); padding: 28px; margin-bottom: 32px; }
.done h2 { margin-top: 0; }
.trust { margin-top: 8px; }
@media (max-width: 560px) {
  .quote-form, .done { padding: 20px; }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .step-actions .btn { flex: 1; }
  .step-actions .btn-primary { min-width: 0; }
}

/* Admin */
.admin { padding: 32px 0 80px; }
.admin h2 { font-size: 20px; margin: 32px 0 10px; }
.admin .kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.admin .kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.admin .kpi b { display: block; font-size: 24px; }
.admin .kpi span { color: var(--muted); font-size: 13px; }
.admin table { font-size: 13px; }
.admin td, .admin th { padding: 8px 10px; white-space: nowrap; }
.admin form.inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px; }
.admin form.inline label { font-size: 12px; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.admin form.inline input, .admin form.inline select { font: inherit; font-size: 14px; padding: 7px 9px; border: 1px solid #cfc9bb; border-radius: 6px; }
.admin .msg { font-size: 14px; margin: 8px 0; color: var(--navy-soft); white-space: pre-wrap; }
.admin .btn { padding: 8px 14px; font-size: 14px; }

/* Tools */
.tool-form { margin-bottom: 24px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.seg button { font: inherit; font-size: 15px; font-weight: 600; border: 0; background: transparent; color: var(--navy-soft); padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--navy); color: #fff; }
.tool-row { display: flex; gap: 10px; }
.tool-row input { flex: 1; min-width: 0; }
.result { border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin: 8px 0 32px; background: var(--surface); }
.result p { margin: 0 0 12px; }
.result .table-wrap { margin: 16px 0 18px; }
.result th { width: 42%; text-align: left; font-weight: 600; color: var(--navy); }
.result-badge { display: inline-block; font-weight: 800; font-size: 17px; padding: 6px 12px; border-radius: 999px; }
.result-good { border-color: #b9dcc7; }
.result-good .result-badge { background: #e3f3e9; color: #1d6b3f; }
.result-warn { border-color: #ead7a8; }
.result-warn .result-badge { background: #fbf1d9; color: #7a5a12; }
.result-bad { border-color: #ecc3c0; }
.result-bad .result-badge { background: #fbe5e3; color: #9b2c22; }
.result-note, .result-empty { color: var(--navy-soft); margin: 8px 0 24px; }
.result-empty { color: #9b2c22; }
.match-list { list-style: none; padding: 0 !important; margin: 0 0 32px; display: grid; gap: 8px; }
.match { width: 100%; text-align: left; font: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: var(--navy); }
.match:hover { border-color: var(--navy); }
.match span { color: var(--navy-soft); font-weight: 400; }
.match small { display: block; color: var(--muted); margin-top: 2px; font-size: 14px; }
@media (max-width: 560px) { .tool-row { flex-direction: column; } .result th { width: auto; } }
.opts { border: 0; padding: 0; margin: 4px 0 20px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.opts legend { font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.opts label { display: inline-flex; gap: 8px; align-items: center; color: var(--navy-soft); }
.step .opts legend { font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 8px; }
.plan-bar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin: 8px 0 8px; }
.plan-bar p { margin: 0; }
.plan-h { display: flex; align-items: baseline; gap: 10px; }
.plan-h small { font-size: 15px; font-weight: 600; color: var(--muted); }
.plan-list { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 6px; }
.plan-list li { margin: 0; }
.plan-list label { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; }
.plan-list input { margin-top: 5px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.plan-list input:checked + span { text-decoration: line-through; color: var(--muted); }
.plan-list li.late label { border-color: #ead7a8; background: #fdf8ec; }
@media print {
  .site-header, .site-footer, .page-head .crumbs, #plan-form, .plan-bar .actions, .related, .skip-link { display: none !important; }
  .plan-list label { border: 0; padding: 4px 0; }
}
.tool-card { display: flex; flex-direction: column; gap: 4px; }
.tool-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); color: var(--amber); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.tool-card .more { margin-top: auto; padding-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 14px 28px 14px 0; position: relative; list-style: none; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--amber-dark); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; }
.result-info .result-badge { background: var(--blue-tint); color: var(--navy); font-size: 24px; padding: 8px 16px; }
.section .grid-2 + h2, .section .grid-3 + h2, .section .grid-2 + .intro + h2 { margin-top: 56px; }

/* Homepage */
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-check { background: #fff; color: var(--navy); border-radius: 16px; padding: 26px; box-shadow: 0 20px 50px rgba(5, 20, 35, .35); }
.hero-check h2 { font-size: 24px; margin: 0 0 6px; color: var(--navy); }
.hero-check p { color: var(--navy-soft); margin: 0 0 16px; font-size: 16px; }
.hero-check label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 15px; }
.hero-check input { width: 100%; font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid #cfc9bb; border-radius: 8px; }
.hero-check .hero-check-note { margin: 14px 0 0; font-size: 14px; }
.steps-4 { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps-4 li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.steps-4 li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.steps-4 b { font-size: 18px; color: var(--navy); }
.steps-4 p { margin: 0; color: var(--navy-soft); font-size: 15px; }
.steps-4 a { margin-top: auto; font-weight: 600; font-size: 15px; }
.more-link { margin: 28px 0 0; font-weight: 600; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }

/* Mobile menu (no JavaScript: details/summary) */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; background: var(--surface); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; }
.mnav[open] summary { border-color: var(--navy); }
.mnav-panel { position: absolute; right: 0; top: 52px; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(5, 20, 35, .18); padding: 8px; display: grid; }
.mnav-panel a { display: block; padding: 12px 14px; border-radius: 8px; color: var(--navy); text-decoration: none; font-weight: 600; font-size: 16px; }
.mnav-panel a:hover, .mnav-panel a[aria-current="page"] { background: var(--bg); }
.nav { gap: 24px; }
@media (max-width: 900px) { .nav { gap: 10px; } }
.sub-h { font-size: 18px; margin: 40px 0 14px; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 15px; }
.chip:hover { border-color: var(--navy); }
@media (max-width: 900px) { .mnav { display: block; } }
/* Mover directory and profiles */
.state-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.state-list li a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--navy); font-weight: 600; }
.state-list li a:hover { border-color: var(--amber); }
.state-list li span { font-size: 14px; font-weight: 500; color: var(--navy-soft); }
.mover-list { list-style: none; padding: 0; margin: 8px 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 20px; }
.mover-list li { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mover-list li a { font-weight: 600; }
.mover-list li span { font-size: 14px; color: var(--navy-soft); }
.city-h { font-size: 20px; margin: 28px 0 4px; }
