:root {
  --font-body: "Archivo", system-ui, sans-serif;
  --font-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --bg: #000000;
  --bg-2: #0c0c0c;
  --surface: #141414;
  --surface-1: #161616;
  --surface-2: #1c1c1c;
  --text: #ffffff;
  --text-muted: #b8b8b8;
  --text-dim: #8a8a8a;
  --border: #222222;
  --border-strong: #3a3a3a;

  --gold: #F5C542;
  --gold-hover: #ffd56a;
  --accent: var(--gold);
  --accent-hover: var(--gold-hover);
  --accent-fill: var(--gold);
  --accent-text: #111111;

  --link: var(--gold);
  --link-hover: var(--gold-hover);

  --strong: #378add;
  --strong-fill: #185fa5;
  --strong-text: #e8f1fb;
  --strong-band: #143a66;
  --strong-chip-bg: #185fa5;
  --strong-chip-text: #e8f1fb;

  --moderate: #c9922a;
  --moderate-fill: #7a5518;
  --moderate-text: #f5e6c8;
  --moderate-band: #4a3510;
  --moderate-chip-bg: #7a5518;
  --moderate-chip-text: #f5e6c8;

  --limited: #d85a30;
  --limited-fill: #993c1d;
  --limited-text: #fce8e0;
  --limited-band: #5c2412;
  --limited-chip-bg: #993c1d;
  --limited-chip-text: #fce8e0;

  --pending-fill: #1a3a5c;
  --pending-text: #9ec0e8;
  --pending-band: #152a42;

  --unresearched-fill: #2a3038;
  --unresearched-text: #9aa5b1;
  --unresearched-band: #1c2127;

  --cite-bg: rgba(245, 197, 66, 0.12);
  --cite-text: #e6c56a;

  --radius: 8px;
  --radius-pill: 999px;
  --max-width: 1080px;
  --pad-x: clamp(20px, 4vw, 48px);
  --section-y: clamp(48px, 8vw, 88px);
}

* { box-sizing: border-box; }

html { color-scheme: dark; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--link); }
a:hover { color: var(--link-hover); }

/* Full-bleed shell; inner measure only */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.site-header {
  width: 100%;
  border-bottom: 1px solid rgba(245, 197, 66, 0.14);
  padding: 14px 0;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}
.brand {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.brand:hover { color: var(--text); }
.brand-lockup {
  display: block;
  height: 72px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
  flex-wrap: nowrap;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.01em;
}
.site-nav a:hover { color: var(--gold); }
.site-nav a[aria-current="page"] { color: var(--gold); }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Desktop dropdowns: <details>, so they work by keyboard and without JS. */
.nav-dd { position: relative; }
.nav-dd > summary {
  list-style: none;
  cursor: pointer;
  color: var(--text);
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.nav-dd > summary::-webkit-details-marker { display: none; }
.nav-dd > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav-dd[open] > summary::after { transform: translateY(1px) rotate(-135deg); }
.nav-dd > summary:hover,
.nav-dd[open] > summary { color: var(--gold); }
.nav-dd-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 14px);
  min-width: 250px;
  background: #0a0a0a;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 6px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  z-index: 60;
}
.nav-dd-item:last-child .nav-dd-panel { left: auto; right: 0; }
.site-nav .nav-dd-panel a {
  display: block;
  padding: 10px 16px;
  white-space: nowrap;
}
.site-nav a:focus-visible,
.nav-dd > summary:focus-visible,
.nav-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-disclosure { display: none; }
.nav-toggle {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
  background: transparent;
}
.nav-toggle::-webkit-details-marker { display: none; }
.nav-disclosure[open] .nav-toggle { border-color: var(--gold); color: var(--gold); }
.site-nav-mobile {
  flex-direction: column;
  gap: 0;
  padding: 8px 0 4px;
}
.site-nav-mobile a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-group-label {
  margin: 16px 0 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.site-nav-mobile .nav-group a { padding-left: 12px; }

/* The five menu items measure about 720px; with the logo and gutters the row
   needs about 885px. Below that, use the Menu. */
@media (max-width: 900px) {
  .site-nav-desktop { display: none; }
  .nav-disclosure {
    display: block;
    position: relative;
  }
  .nav-disclosure .site-nav-mobile {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(300px, calc(100vw - 2 * var(--pad-x)));
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    background: #0a0a0a;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 4px 16px 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  }
}
@media (max-width: 720px) {
  .brand-lockup { height: 58px; }
}

/* Keep in-page anchor targets clear of the sticky header. */
section[id],
h2[id],
h3[id],
tr[id],
dt[id] {
  scroll-margin-top: 112px;
}
tr:target > td { background: var(--cite-bg); }

/* "On this page" / "Jump to a state" / "Also check in" link lists */
.jump-list {
  margin: 18px 0 0;
}
.jump-list-label {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.jump-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
}
.jump-list a { text-decoration: none; }
.jump-list a:hover { text-decoration: underline; }
.page-map {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 22px 40px;
}
.page-map .jump-list { margin-top: 0; }
@media (max-width: 720px) {
  .page-map { grid-template-columns: 1fr; }
}

main {
  padding: 0;
  width: 100%;
}

/* Full-bleed sections */
.section {
  width: 100%;
  padding: var(--section-y) 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.section:last-child { border-bottom: none; }
.section-alt { background: var(--bg-2); }
.section-surface { background: var(--surface-1); }
.section-tight {
  padding: clamp(32px, 5vw, 56px) 0;
}
.section-hero {
  padding: clamp(40px, 7vw, 80px) 0 clamp(36px, 6vw, 64px);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(245, 197, 66, 0.08), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.section-hero h1,
.home-hero h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  max-width: 16em;
  margin: 0 0 18px;
  text-align: left;
}
.section-hero .lede {
  font-size: clamp(17px, 2vw, 19px);
  max-width: 42rem;
  margin: 0;
  text-align: left;
}

h1 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: clamp(26px, 3.5vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 12px;
}
h2 {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 10px;
}
h3:first-child { margin-top: 0; }
p { margin: 0 0 14px; }
.lede {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.55;
}
.muted { color: var(--text-muted); }
.dim { color: var(--text-dim); font-size: 14px; }
.section-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 10px;
}

/* Interaction containers only — not used as generic content boxes */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 16px;
}
.back-link:hover { color: var(--accent); }

/* Badges — dark fill, light text */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  line-height: 1.3;
}
.badge-strong {
  background: var(--strong-chip-bg);
  color: var(--strong-chip-text);
}
.badge-moderate {
  background: var(--moderate-chip-bg);
  color: var(--moderate-chip-text);
}
.badge-limited {
  background: var(--limited-chip-bg);
  color: var(--limited-chip-text);
}
.badge-unresearched {
  background: var(--unresearched-fill);
  color: var(--unresearched-text);
}
.badge-pending {
  background: var(--pending-fill);
  color: var(--pending-text);
  font-size: 11px;
  padding: 3px 10px;
  vertical-align: middle;
}

/* State page header band — full bleed, tier-colored */
.state-band {
  width: 100%;
  padding: clamp(28px, 5vw, 48px) 0;
  border-bottom: 1px solid var(--border);
  background: var(--unresearched-band);
}
.state-band.strong { background: var(--strong-band); }
.state-band.moderate { background: var(--moderate-band); }
.state-band.limited { background: var(--limited-band); }
.state-band.pending { background: var(--pending-band); }
.state-band.badged { background: var(--unresearched-band); }
.tier-row .badge + .badge { margin-left: 6px; }
.state-band.unresearched { background: var(--unresearched-band); }
.state-band h1 { margin: 0 0 14px; }
.state-band .tier-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}
.state-band .tier-sub {
  margin: 0;
  font-size: 15px;
  color: rgba(244, 246, 247, 0.82);
  max-width: 40rem;
}
.state-band .back-link { color: rgba(244, 246, 247, 0.7); }
.state-band .verified-line {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(244, 246, 247, 0.82);
}
.state-band .back-link:hover { color: #fff; }

.notice {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 20px;
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text-muted);
}
.notice strong { color: var(--text); }
.notice .dim { color: var(--text-dim); margin: 10px 0 0; }
.notice.warn {
  border-color: rgba(201, 146, 42, 0.35);
  background: rgba(122, 85, 24, 0.25);
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
}
.steps li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.steps li:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

/* Citation chips — monospace, tinted */
.citations {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--text-dim);
}
.citations .cite-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  margin-right: 2px;
}
.cite {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cite-bg);
  color: var(--cite-text);
  border: 1px solid rgba(245, 197, 66, 0.28);
  white-space: nowrap;
}
.cite-full {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.cite-full summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-dim);
  list-style: none;
}
.cite-full summary::-webkit-details-marker { display: none; }
.cite-full summary::before {
  content: "+ ";
  color: var(--accent);
}
.cite-full[open] summary::before { content: "− "; }
.cite-full ul {
  margin: 8px 0 0;
  padding-left: 1.1em;
}

.template-fields {
  margin: 10px 0 20px;
  padding-left: 1.2em;
  font-size: 15px;
  color: var(--text-muted);
}
.template-fields li { margin: 6px 0; }
.cite-full li {
  margin-bottom: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.faq-item {
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "+ ";
  font-weight: 500;
  color: var(--accent);
}
.faq-item[open] summary::before { content: "− "; }
.faq-item p {
  margin: 10px 0 0;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 42rem;
}

table.state-index {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
table.state-index th,
table.state-index td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
}
table.state-index th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
table.state-index a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
}
table.state-index a:hover { color: var(--accent); }
table.state-index .status-cell { color: var(--text-muted); font-size: 13px; }
table.state-index tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px 28px;
  margin: 8px 0 0;
}
.stat {
  padding: 0;
  border: none;
  background: transparent;
}
.stat .num {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  display: block;
  margin-bottom: 6px;
}
.stat .label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.prose-block > h3 {
  margin-top: 22px;
}
.prose-block ul {
  margin: 0 0 16px;
  padding-left: 1.25em;
  color: var(--text-muted);
}
.prose-block li { margin-bottom: 10px; }
.prose-block li strong { color: var(--text); }

.glossary-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.glossary-item { margin: 0; }
.glossary-item dt {
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.glossary-item dd {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 42rem;
}

.content-block + .content-block { margin-top: 8px; }
.section .content-block h2 { margin-top: 0; }

/* Intake */
#intake { max-width: 560px; }
#intake .q { margin-bottom: 22px; }
#intake .q-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
  font-weight: 600;
}
#intake .q-optional { font-weight: 400; color: var(--text-dim); }
.opt-row { display: flex; gap: 10px; flex-wrap: wrap; }
.opt {
  flex: 1 1 auto;
  padding: 11px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}
.opt:hover { border-color: var(--gold); }
.opt:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.opt[aria-pressed="true"] {
  border-color: var(--gold);
  background: rgba(245, 197, 66, 0.14);
  color: var(--gold-hover);
  font-weight: 600;
}
select#stateSel {
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
  padding: 13px 18px;
  border-radius: 6px;
  border: none;
  background: var(--gold);
  color: #111;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--gold-hover); color: #111; }
.btn-primary:disabled { opacity: 0.45; cursor: not-allowed; }
.btn-ready-only:disabled {
  display: none;
  opacity: 1;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer {
  width: 100%;
  border-top: 1px solid rgba(245, 197, 66, 0.14);
  padding: 36px 0 56px;
  font-size: 13px;
  color: var(--text-dim);
  background: var(--bg);
}
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--gold); }
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 32px 48px;
  align-items: start;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 10px;
}
.footer-heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 10px;
}
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
}
.footer-nav-grid a {
  display: block;
  margin: 0 0 8px;
  text-decoration: none;
}
.footer-legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 197, 66, 0.10);
}
.footer-legal-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0 0 8px;
}
.footer-legal-heading a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-legal-heading a:hover { color: var(--gold); }
.footer-legal p {
  margin: 0;
  max-width: 54rem;
  line-height: 1.55;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.sr-only {
  position: absolute;
  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: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Finding callout — the single most important sentence on a page */
.finding-callout {
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  border-left: 4px solid var(--accent);
  padding: 2px 0 2px 22px;
  margin: 0;
  max-width: 46rem;
}
.finding-callout strong { color: var(--accent-hover); }
.finding-callout .cite {
  font-size: 0.6em;
  font-weight: 600;
  vertical-align: 2px;
}

/* Vehicle-lien filter bar */
.vehicle-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.vehicle-filter .opt { flex: 0 1 auto; padding: 9px 16px; font-size: 13px; }
.vehicle-search {
  width: 100%;
  max-width: 320px;
  padding: 10px 12px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}

/* Vehicle-lien table */
.table-scroll { width: 100%; overflow-x: auto; }
table.vehicle-lien-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 14px;
}
table.vehicle-lien-table th,
table.vehicle-lien-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.vehicle-lien-table th {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}
table.vehicle-lien-table .vl-state { font-weight: 600; color: var(--text); white-space: nowrap; }
table.vehicle-lien-table td { color: var(--text-muted); }
table.vehicle-lien-table tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

.dispute-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 7px;
  flex-shrink: 0;
}
.dispute-yes { background: var(--strong); }
.dispute-thin { background: var(--moderate); }
.dispute-none { background: var(--limited); }
.dispute-label {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.dispute-detail { font-size: 12.5px; color: var(--text-muted); margin: 5px 0 0; line-height: 1.4; }
.dispute-note { font-size: 12px; color: var(--text-dim); margin-top: 3px; font-style: italic; }

/* Intake deep-link highlight on state pages */
.section.is-highlighted,
#ucc-section.is-highlighted,
#real-property-section.is-highlighted,
#official-section.is-highlighted {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* Open-and-paste lien-check assistant */
.lien-check-form .q { margin-bottom: 18px; }
.lien-check-form .q-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 10px;
  font-weight: 600;
}
.lien-check-form input[type="text"] {
  width: 100%;
  max-width: 560px;
  padding: 11px 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}
.lien-check-form input[type="text"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.lien-check-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-bottom: 18px;
}
.lien-check-active-name {
  font-size: 14px;
}
.lien-check-active-name strong {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 14px;
}
.lien-check-name-switch { display: flex; gap: 8px; flex-wrap: wrap; }
.lien-check-name-switch .opt { flex: 0 1 auto; padding: 8px 14px; font-size: 13px; }
.lien-check-progress {
  margin: 0;
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}
.lien-check-filter { margin-bottom: 12px; }
.lien-check-filter .opt { flex: 0 1 auto; padding: 9px 14px; font-size: 13px; }

.lien-check-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lien-check-row {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
}
.lien-check-row-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 8px;
}
.lien-check-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}
.lien-check-mark input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.lien-check-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.lien-check-badge-instant {
  color: var(--strong-text);
  background: var(--strong-fill);
  border-color: transparent;
}
.lien-check-badge-open-paste {
  color: var(--moderate-text);
  background: var(--moderate-fill);
  border-color: transparent;
}
.lien-check-badge-manual {
  color: var(--text-muted);
  background: var(--surface-2);
}
.lien-check-hint {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
  max-width: 42rem;
}
.lien-check-caveat,
.lien-check-reason {
  margin: -4px 0 10px;
  font-size: 13px;
  color: var(--text-dim);
}
.lien-check-reason {
  font-weight: 600;
  color: var(--moderate-text);
}
.lien-check-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.lien-check-actions .btn-secondary {
  text-decoration: none;
  width: auto;
}
.lien-state-page {
  font-size: 13px;
  color: var(--text-muted);
}
.lien-check-foot {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--text-dim);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  min-height: 1.2em;
}
.lien-toast {
  color: var(--accent-hover);
  font-weight: 500;
}
button.linkish {
  background: none;
  border: none;
  padding: 0;
  color: var(--link);
  font: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
button.linkish:hover { color: var(--link-hover); }

@media (max-width: 640px) {
  .lien-check-progress { margin-left: 0; width: 100%; }
}

/* Homepage first screen */
.home-hero {
  padding: clamp(40px, 7vw, 88px) 0 clamp(36px, 5vw, 64px);
  background:
    radial-gradient(ellipse 70% 55% at 0% 0%, rgba(245, 197, 66, 0.10), transparent 58%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
  gap: 32px 48px;
  align-items: center;
}
.home-hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.12;
  max-width: 11.5em;
  margin: 0 0 16px;
}
.home-hero .lede {
  font-size: clamp(16px, 1.8vw, 18px);
  max-width: 36rem;
  margin: 0 0 28px;
}
.home-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
}
.home-hero-mark {
  width: min(100%, 320px);
  height: auto;
  filter: drop-shadow(0 0 48px rgba(245, 197, 66, 0.18));
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 6px;
  background: var(--gold);
  color: #111;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  width: auto;
}
.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-hover);
  color: #111;
}
/* Homepage opens with the basics (partner request 2026-10-15); the state check sits lower */
.home-hero--basics h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  max-width: 14em;
  margin-bottom: 20px;
}
.home-hero--basics h2 {
  font-size: clamp(18px, 2vw, 21px);
  margin: 0 0 8px;
}
.home-hero--basics .lede {
  margin-bottom: 20px;
}
.home-hero--basics .lede + .btn-gold {
  margin-top: 8px;
}
.home-check .home-intake {
  margin-top: 0;
}
.home-intake {
  margin-top: clamp(36px, 6vw, 56px);
  max-width: 36rem;
  scroll-margin-top: 128px;
}
.home-intake h2 {
  margin-bottom: 16px;
}
.intake-card {
  background: #0e0e0e;
  border-color: rgba(245, 197, 66, 0.22);
}
#intake { max-width: 560px; }

select#stateSel:focus,
.lien-check-form input[type="text"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

@media (max-width: 800px) {
  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .home-hero-visual { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
