/* TrafficLawyers.com site styles (redesign 2026-12-03, direction "Dashboard").
   Instrument black, amber LED, readout white. Archivo (display + text), JetBrains Mono (labels).
   Legacy page wrappers (#content, #content-left, #sidebar, .entry, .fm-form) are styled here too,
   so older templates (account pages, survey) pick up the new look without markup changes. */

:root {
  --bg: #0B0C0E;
  --panel: #16181C;
  --panel-2: #1C1F24;
  --line: #26292F;
  --line-2: #33363D;
  --text: #F2F2F0;
  --text-2: #C9CDD3;
  --text-3: #B4B8BF;
  --muted: #8A8F98;
  --amber: #FFB020;
  --amber-hi: #FFC24D;
  --amber-ink: #0B0C0E;
  --red: #E5484D;
  --green: #3DD68C;
  --field: #F2F2F0;
  --field-ink: #0B0C0E;
  --field-label: #5C616A;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 20px;
  --radius-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 400 17px/1.65 var(--sans);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 176, 32, .7); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--amber); text-decoration-color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--amber); color: var(--amber-ink); }
.clear { clear: both; }
.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: 16px; top: -60px; z-index: 50; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.mono, .label { font-family: var(--mono); font-weight: 500; font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kicker { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin: 0; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); flex-shrink: 0; }
.display { font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: clamp(42px, 6.6vw, 92px); line-height: 1; letter-spacing: -.03em; color: var(--text); margin: 0; text-wrap: balance; }
.h-section { font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; letter-spacing: -.02em; color: var(--text); margin: 0; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; color: var(--text-3); margin: 0; max-width: 40em; }

/* ---------- buttons ---------- */
.btn, a.btn, .small-button, .big-button, a.tl-btn, input[type=submit], input[type=button], button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; min-height: 52px; border: 0; border-radius: 999px;
  background: var(--amber); color: var(--amber-ink);
  font: 700 16px/1.1 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
  -webkit-appearance: none; appearance: none; transition: background-color .15s ease, transform .15s ease;
}
.btn:hover, a.btn:hover, .small-button:hover, .big-button:hover, a.tl-btn:hover, input[type=submit]:hover, input[type=button]:hover { background: var(--amber-hi); color: var(--amber-ink); }
.btn:active, input[type=submit]:active { transform: translateY(1px); }
.btn svg { flex-shrink: 0; }
.btn-ghost, a.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover, a.btn-ghost:hover { background: var(--panel); color: var(--text); }
.btn-sm, a.btn-sm, .small-button, a.tl-btn-sm { min-height: 42px; padding: 11px 18px; font-size: 15px; }
.link-arrow { color: var(--amber); font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow:hover { color: var(--amber-hi); text-decoration: underline; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-stretch: 125%; font-weight: 800; font-size: 17px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); flex-shrink: 0; }
.brand small { font-size: inherit; font-weight: 500; color: var(--muted); text-transform: lowercase; letter-spacing: 0; font-stretch: 100%; }
.site-nav ul { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--text-3); text-decoration: none; font-size: 15px; font-weight: 500; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--amber); }
.site-nav a.nav-cta { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-weight: 700; box-shadow: none; }
.site-nav a.nav-cta:hover { background: var(--amber-hi); color: var(--amber-ink); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; background: transparent; border: 0; border-radius: 10px; color: var(--text); cursor: pointer; }
.nav-toggle svg { display: block; }
@media (max-width: 1023px) {
  .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px 0 20px; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 13px var(--gutter); font-size: 17px; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); }
  .site-nav li.nav-cta-li { padding: 12px var(--gutter) 0; }
  .site-nav a.nav-cta { justify-content: center; min-height: 50px; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  html:not(.js) .site-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; padding-bottom: 12px; }
  html:not(.js) .site-nav a { padding: 6px 0; font-size: 15px; }
}

/* ---------- page head (inner pages) ---------- */
.page-head { border-bottom: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0 clamp(32px, 4vw, 52px); }
.page-head .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.page-head.has-facts .wrap { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .page-head.has-facts .wrap { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 64px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 18px; padding: 0; list-style: none; font: 500 12px/1.5 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--line-2); }
.crumbs [aria-current] { color: var(--text-3); }
.page-title { font-family: var(--sans); font-stretch: 112%; font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.04; letter-spacing: -.03em; color: var(--text); margin: 0; text-wrap: balance; max-width: 22ch; }
.page-lead { margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--text-3); max-width: 44em; }

/* readout panel (facts in the page head, homepage gauge) */
.readout { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.readout-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.led { display: inline-flex; align-items: center; gap: 7px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--amber); white-space: nowrap; }
.led::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.led.off { color: var(--muted); }
.led.off::before { background: var(--line-2); box-shadow: none; }
.facts { display: grid; gap: 0; margin: 0; }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts > div:last-child { padding-bottom: 0; }
.facts dt { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; font-size: 17px; line-height: 1.4; color: var(--text); }
.facts dd .big { font-stretch: 112%; font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.02em; color: var(--amber); margin-right: 8px; }
.facts dd a { color: var(--text); }

/* ---------- content layout (new + legacy wrappers) ---------- */
#content, .page-body { padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 112px); }
#content-wrap > .container, .layout {
  max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: start;
}
@media (min-width: 1024px) {
  #content-wrap > .container, .layout { grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(56px, 6vw, 96px); }
  #sidebar, .aside { position: sticky; top: 24px; }
}
#content-left { min-width: 0; }
.clearfix::after { content: ""; display: table; clear: both; }

/* prose */
.entry { max-width: 760px; color: var(--text-2); }
.entry > *:first-child { margin-top: 0; }
.entry h2, .prose h2 { font-family: var(--sans); font-stretch: 106%; font-weight: 700; font-size: clamp(23px, 2.2vw, 28px); line-height: 1.22; letter-spacing: -.015em; color: var(--text); margin: 52px 0 12px; text-wrap: balance; scroll-margin-top: 24px; }
.entry h3, .prose h3 { font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--text); margin: 36px 0 10px; }
.entry h4 { font-weight: 700; font-size: 17px; line-height: 1.4; color: var(--text); margin: 24px 0 8px; }
.entry p { margin: 0 0 18px; }
.entry ul, .entry ol { margin: 0 0 22px; padding-left: 22px; }
.entry li { margin: 8px 0; padding-left: 4px; }
.entry li::marker { color: var(--amber); }
.entry strong, .entry b { color: var(--text); font-weight: 600; }
.entry em { color: var(--text-3); }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.entry blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--amber); color: var(--text-3); }
.entry img.alignleft { float: left; margin: 4px 28px 16px 0; border-radius: 10px; }
.entry img.alignright { float: right; margin: 4px 0 16px 28px; border-radius: 10px; }
.entry table, .tl-t { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; margin: 8px 0 24px; }
.entry th, .tl-t th { text-align: left; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: bottom; }
.entry td, .tl-t td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.entry tr:hover td { background: rgba(255, 255, 255, .02); }
.answer-first { font-size: 18px; color: var(--text); }
.small, .entry .small { font-size: 14px; line-height: 1.6; color: var(--muted); }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); }
.disclaimer a { color: var(--text-3); }

/* panels and cards */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 32px); }
.panel > *:first-child { margin-top: 0; }
.panel > *:last-child { margin-bottom: 0; }
.panel-amber { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.panel-amber a { color: var(--amber-ink); text-decoration-color: rgba(11, 12, 14, .5); }

/* alerts (legacy class names kept) */
.error, .success, .notification, .alert {
  display: block; width: auto; margin: 0 0 24px; padding: 16px 20px; border-radius: var(--radius-sm);
  background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--amber);
  color: var(--text); text-align: left; font-size: 16px; line-height: 1.5;
}
.error { border-left-color: var(--red); }
.success { border-left-color: var(--green); }
.success a, .notification a, .error a { color: var(--text); font-weight: 600; }
div[align="center"] { text-align: left; }

/* ---------- sidebar / aside ---------- */
#sidebar, .aside { display: grid; gap: 20px; min-width: 0; }
.aside-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card h2, .aside-card h3 { font-stretch: 106%; font-weight: 700; font-size: 21px; line-height: 1.25; color: var(--text); margin: 10px 0 10px; letter-spacing: -.01em; }
.aside-card p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--text-3); }
.aside-card .btn { width: 100%; }
.aside-card.amber { background: var(--amber); border-color: var(--amber); }
.aside-card.amber h2, .aside-card.amber h3, .aside-card.amber p { color: var(--amber-ink); }
.aside-card.amber .mono { color: rgba(11, 12, 14, .7); }
.aside-card.amber .btn { background: var(--amber-ink); color: var(--text); }
.aside-card.amber .btn:hover { background: #24272D; color: var(--text); }
.aside-links { list-style: none; margin: 0; padding: 0; }
.aside-links li { border-top: 1px solid var(--line); }
.aside-links li:first-child { border-top: 0; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.aside-links a::after { content: "→"; color: var(--muted); }
.aside-links a:hover { color: var(--amber); }
.aside-links a:hover::after { color: var(--amber); }

/* ---------- forms ---------- */
label { color: var(--text); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], input[type=search], input[type=url], input[type=date], select, textarea {
  width: 100%; max-width: 100%; min-height: 54px; margin: 0;
  background: var(--field); color: var(--field-ink);
  border: 2px solid transparent; border-radius: var(--radius-sm);
  padding: 13px 16px; font: 500 17px/1.3 var(--sans);
  -webkit-appearance: none; appearance: none; transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
select {
  padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 5l4 4 4-4' stroke='%230B0C0E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(255, 176, 32, .25); }
input::placeholder, textarea::placeholder { color: #7A7F88; }
input[type=checkbox], input[type=radio] { width: 20px !important; height: 20px; min-height: 0; accent-color: var(--amber); vertical-align: -4px; margin: 0 8px 0 0; }
.field { display: grid; gap: 8px; }
.field > label, .field-label { font: 500 12px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.field .req, .req { color: var(--amber); }
.field-hint { font-size: 14px; color: var(--muted); }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .span-2 { grid-column: 1 / -1; } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.form-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); }
.form-card > h2:first-child { margin-top: 0; }
.honeypot, .catch { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.g-recaptcha { min-height: 78px; }

/* legacy WordPress-form markup: table rows become stacked fields */
.fm-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fm-form legend { display: block; padding: 0; margin: 0 0 20px; font-stretch: 106%; font-weight: 700; font-size: 26px; line-height: 1.2; color: var(--text); }
.fm-form ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 20px; }
.fm-form li { margin: 0; padding: 0; }
.fm-form li::marker { content: none; }
.fm-form table, .fm-form tbody, .fm-form tr, .fm-form td { display: block; width: auto !important; border: 0; padding: 0; margin: 0; background: none; }
.fm-form td + td { margin-top: 8px; }
.fm-form label { font: 500 12px/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.fm-form label em { color: var(--amber); font-style: normal; }
.fm-form input[type=text], .fm-form input[type=email], .fm-form input[type=password], .fm-form select, .fm-form textarea { width: 100% !important; max-width: 560px; }
.fm-form input[type=checkbox], .fm-form input[type=radio] { float: none !important; }
.fm-form td label + br { display: none; }
.fm-form p[style] { text-align: left !important; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 40px; color: var(--text-3); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; } }
.footer-about p { margin: 16px 0 0; font-size: 15px; line-height: 1.65; max-width: 34em; color: var(--text-3); }
.footer-col h2 { margin: 0 0 14px; font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--text-2); text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--amber); }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.footer-legal p { margin: 0; max-width: 62em; }
.footer-legal a { color: var(--text-3); }
.nap { font-style: normal; }

/* ---------- homepage ---------- */
.hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: end; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 64px; } }
.hero-copy { display: grid; gap: 26px; }
.hero h1 .kicker { margin-bottom: 26px; }
.hero h1 .line { display: block; }
.gauge-num { display: flex; align-items: flex-end; gap: 16px; margin: 4px 0 18px; }
.gauge-num .n { font-stretch: 112%; font-weight: 800; font-size: clamp(76px, 8vw, 112px); line-height: .86; letter-spacing: -.04em; color: var(--amber); }
.gauge-num .u { display: grid; gap: 4px; padding-bottom: 4px; }
.gauge-num .u b { font: 500 16px/1.2 var(--mono); color: var(--text); letter-spacing: .02em; }
.gauge-num .u span { font-size: 15px; line-height: 1.45; color: var(--text-3); }
.seg { display: flex; gap: 4px; margin: 0 0 20px; }
.seg i { flex: 1; height: 8px; border-radius: 2px; background: #2A2D33; }
.seg i.on { background: var(--amber); }
.seg i.end { background: var(--red); }
.gauge-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.gauge-foot dt { font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.gauge-foot dd { margin: 0; font-weight: 600; font-size: 16px; line-height: 1.45; color: var(--text); }
.gauge-link { display: inline-block; margin-top: 18px; font-size: 15px; }

.searchbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; }
.sb-field { display: grid; gap: 4px; background: var(--field); border-radius: 16px; padding: 12px 18px 10px; cursor: pointer; }
.sb-field:focus-within { box-shadow: 0 0 0 4px rgba(255, 176, 32, .35); }
.sb-label { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--field-label); }
.sb-field select { min-height: 0; padding: 2px 34px 2px 0; border: 0; border-radius: 0; background-color: transparent; background-position: right 2px center; font-weight: 600; font-size: 18px; color: var(--field-ink); box-shadow: none; }
.sb-field select:focus { box-shadow: none; }
.searchbar .btn { min-height: 60px; font-size: 17px; }
@media (min-width: 860px) {
  .searchbar { grid-template-columns: minmax(0, 1fr) 1px minmax(0, 300px) auto; align-items: center; gap: 0; background: var(--field); border-radius: 999px; padding: 8px 8px 8px 22px; }
  .searchbar:focus-within { box-shadow: 0 0 0 4px rgba(255, 176, 32, .3); }
  .sb-field { background: transparent; border-radius: 0; padding: 6px 24px 6px 10px; }
  .sb-field:focus-within { box-shadow: none; }
  .sb-div { width: 1px; height: 40px; background: #C9CBCF; }
  .sb-field + .sb-div + .sb-field { padding-left: 24px; }
  .searchbar .btn { min-height: 62px; padding: 0 30px; }
}
.search-note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.search-note a { color: var(--text-3); }

.section { padding: clamp(64px, 8vw, 120px) 0 0; }
.section:last-of-type { padding-bottom: clamp(64px, 8vw, 120px); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 32px; margin-bottom: 32px; }
.section-head p { margin: 12px 0 0; color: var(--text-3); max-width: 40em; }

.state-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 640px) { .state-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .state-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.state-card { display: flex; flex-direction: column; gap: 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 24px; color: var(--text-3); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.state-card:hover { border-color: var(--line-2); color: var(--text-3); transform: translateY(-2px); }
.state-card .n { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.state-card .n b { font-stretch: 112%; font-weight: 800; font-size: 56px; line-height: .95; letter-spacing: -.03em; color: var(--text); }
.state-card .n span { font: 500 14px/1.3 var(--mono); color: var(--text-3); letter-spacing: .03em; }
.state-card p { margin: 0; font-size: 15px; line-height: 1.55; }
.state-card .more { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--amber); }
.state-card.cta { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); justify-content: space-between; }
.state-card.cta:hover { color: var(--amber-ink); }
.state-card.cta .mono { color: rgba(11, 12, 14, .72); }
.state-card.cta strong { font-stretch: 112%; font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }

.state-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.state-grid a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; transition: border-color .15s ease, background-color .15s ease; }
.state-grid a:hover { border-color: var(--line-2); background: var(--panel); color: var(--text); }
.state-grid abbr { flex-shrink: 0; width: 34px; font: 500 13px/1 var(--mono); color: var(--amber); text-decoration: none; letter-spacing: .04em; }
.state-grid .cnt { margin-left: auto; font: 500 12px/1 var(--mono); color: var(--muted); }

.qa-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-2); }
@media (min-width: 900px) { .qa-list { grid-template-columns: 1fr 1fr; column-gap: 64px; } }
.qa { padding: 28px 0; border-bottom: 1px solid var(--line); }
.qa h3 { margin: 0 0 10px; font-weight: 700; font-size: 20px; line-height: 1.3; color: var(--text); }
.qa p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-3); }

.tools { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 64px; }
@media (min-width: 860px) { .tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tool { display: grid; gap: 8px; align-content: start; padding: 24px 0 28px; border-top: 1px solid var(--line-2); color: var(--text-3); text-decoration: none; }
.tool .num { font: 500 13px/1 var(--mono); color: var(--amber); }
.tool b { font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--text); }
.tool span { font-size: 16px; line-height: 1.55; }
.tool:hover b { color: var(--amber); }

.attorney-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.attorney-strip h2 { margin: 6px 0 6px; font-stretch: 106%; font-weight: 700; font-size: 24px; color: var(--text); }
.attorney-strip p { margin: 0; color: var(--text-3); max-width: 44em; }

/* ---------- state & county guides (/traffic-lawyers/...) ---------- */
.tl-geo { font-size: 17px; line-height: 1.65; }
.tl-geo .tl-answer { font-size: 18px; line-height: 1.65; color: var(--text); }
.tl-geo .tl-answer a.tl-small { font-size: 13px; }
.tl-geo h2 + .tl-answer { margin-top: 0; }
.tl-geo .tl-box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 18px 0 26px; font-size: 16px; }
.tl-geo .tl-box > strong:first-child { display: block; font-stretch: 106%; font-size: 19px; line-height: 1.3; }
.tl-geo .tl-box ul { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 12px; }
.tl-geo .tl-box li { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); }
.tl-geo .tl-box p { margin: 10px 0 0; }
.tl-geo .tl-cta { display: grid; gap: 6px; background: var(--amber); color: var(--amber-ink); border-radius: var(--radius); padding: 24px 26px; margin: 36px 0; font-size: 16px; line-height: 1.55; }
.tl-geo .tl-cta strong { color: var(--amber-ink); font-stretch: 106%; font-size: 21px; line-height: 1.25; }
.tl-geo .tl-cta br { display: none; }
.tl-geo .tl-cta a.tl-btn { justify-self: start; margin-top: 10px; background: var(--amber-ink); color: var(--text); }
.tl-geo .tl-cta a.tl-btn:hover { background: #24272D; color: var(--text); }
.tl-geo ul.tl-firms { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 10px; }
.tl-geo ul.tl-firms li { margin: 0; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 12px; font-size: 15px; line-height: 1.55; }
.tl-geo .tl-firm { font-size: 17px; color: var(--text); }
.tl-geo ul.tl-cols { columns: 3 200px; column-gap: 32px; list-style: none; padding: 0; margin: 12px 0 24px; }
.tl-geo ul.tl-cols li { break-inside: avoid; margin: 0; padding: 6px 0; font-size: 15px; }
.tl-geo .tl-small, .tl-geo ul.tl-small { font-size: 14px; line-height: 1.6; color: var(--muted); }
.tl-geo ul.tl-small { padding-left: 20px; }
.tl-geo ul.tl-small li { margin: 6px 0; }
.tl-geo .tl-note { color: var(--text-3); }
.tl-geo a.tl-small { color: var(--muted); text-decoration-color: var(--line-2); }
.tl-geo a.tl-small:hover { color: var(--amber); }
.tl-geo .tl-t td:nth-child(n+2), .tl-geo .tl-t th:nth-child(n+2) { white-space: nowrap; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 640px) {
  .tl-geo .tl-t { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .entry th, .entry td, .tl-t th, .tl-t td { padding: 10px 10px; }
}

/* ---------- FAQ page ---------- */
.faq-toc { columns: 2 260px; column-gap: 32px; list-style: none; padding: 0; margin: 0 0 8px; }
.faq-toc li { break-inside: avoid; margin: 0; padding: 7px 0; font-size: 15px; }
.faq-item { padding-top: 8px; }
.faq-item h2 { margin-top: 44px; }
.faq-item .answer-first { margin-bottom: 12px; }

/* ---------- DMV directory ---------- */
.dmv-grid { list-style: none; margin: 8px 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.dmv-grid li { margin: 0; padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 4px; }
.dmv-grid .st { display: flex; align-items: baseline; gap: 10px; font-weight: 700; color: var(--text); font-size: 17px; }
.dmv-grid .st abbr { font: 500 12px/1 var(--mono); color: var(--amber); text-decoration: none; }
.dmv-grid a { font-size: 15px; line-height: 1.45; }
.dmv-grid .guide { font-size: 13px; color: var(--muted); text-decoration-color: var(--line-2); }

/* ---------- search results / attorney detail ---------- */
.result-list { list-style: none; margin: 16px 0 24px; padding: 0; display: grid; gap: 12px; }
.result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--amber); border-radius: 14px; }
.result h3 { margin: 0 0 4px; font-size: 19px; color: var(--text); }
.result p { margin: 0; font-size: 15px; color: var(--text-3); }
.kv { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0 0 28px; border-top: 1px solid var(--line); }
.kv > div { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv dt { font: 500 12px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.summary-card { display: grid; gap: 4px; margin: 0 0 28px; }

/* e-book */
.ebook { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; margin: 8px 0 32px; }
@media (min-width: 640px) { .ebook { grid-template-columns: 180px minmax(0, 1fr); } }
.ebook img { border-radius: 10px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }

/* apprise dialogs (legacy pages) */
.appriseOverlay { background: rgba(0, 0, 0, .7) !important; }
.appriseOuter { background: var(--panel) !important; border: 1px solid var(--line-2) !important; border-radius: 16px !important; box-shadow: 0 24px 60px rgba(0, 0, 0, .6) !important; color: var(--text) !important; }
.appriseInner { color: var(--text) !important; font: 500 16px/1.5 var(--sans) !important; }
.appriseInner button { background: var(--amber) !important; color: var(--amber-ink) !important; border: 0 !important; border-radius: 999px !important; padding: 8px 18px !important; font-weight: 700 !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, #sidebar, .aside, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
.nap { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--text-3); }
.nap a { color: var(--text-2); }
@media (max-width: 480px) {
  .state-grid { grid-template-columns: 1fr 1fr; }
  .state-grid a { gap: 8px; padding: 11px 10px; font-size: 14px; }
  .state-grid abbr { width: 26px; }
  .state-grid .cnt { display: none; }
}
.hero-search { order: 2; }
.hero-gauge { order: 3; }
.hero-copy { order: 1; }
@media (min-width: 1024px) {
  .hero-search { grid-column: 1 / -1; order: 3; margin-top: clamp(8px, 1.5vw, 24px); }
  .hero-gauge { order: 2; }
}
@media (max-width: 480px) { .hide-sm { display: none; } }
[hidden] { display: none !important; }
