:root {
  --ink: #070d1a;
  --ink-2: #1b2436;
  --muted: #5b667a;
  --line: #e3e7ee;
  --bg: #f4f6f9;
  --card: #ffffff;
  --brand: #3d4ef5;
  --brand-ink: #2a37c9;
  --brand-soft: #eceeff;
  --lime: #a3e635;
  --lime-ink: #3f6212;
  --amber: #f59e0b;
  --red: #ef4444;
  --navy: #070d1a;
  --navy-2: #0d1730;
  --ok: #0f9d58;
  --ok-soft: #e3f6ec;
  --warn: #d97706;
  --warn-soft: #fff4e0;
  --bad: #d92d20;
  --bad-soft: #fde8e6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11,18,32,.06), 0 8px 24px rgba(11,18,32,.06);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4.5vw, 46px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 750; }
h3 { font-size: 18px; font-weight: 700; }

/* Header */
.topbar { background: var(--ink); color: #cfd8e6; font-size: 13px; }
.topbar .wrap { display: flex; gap: 12px; align-items: center; justify-content: center; padding: 8px 16px; text-align: center; }
.topbar strong { color: #fff; }
.topbar .pulse { width: 8px; height: 8px; border-radius: 50%; background: #ffb020; box-shadow: 0 0 0 0 rgba(255,176,32,.7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,176,32,.6);} 70% { box-shadow: 0 0 0 10px rgba(255,176,32,0);} 100% { box-shadow: 0 0 0 0 rgba(255,176,32,0);} }
header.site { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); font-size: 19px; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo .mark { width: 32px; height: 32px; border-radius: 9px; background: var(--navy); display: grid; place-items: center; color: var(--lime); box-shadow: inset 0 0 0 1px rgba(163,230,53,.35); }
nav.main { display: flex; gap: 22px; align-items: center; font-size: 15px; }
nav.main a { color: var(--ink-2); font-weight: 550; }
nav.main .hide-sm { }
@media (max-width: 760px) { nav.main .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 10px; padding: 11px 18px; font-weight: 650; font-size: 15px; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .05s, background .15s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--lime); color: var(--navy); box-shadow: 0 6px 20px -6px rgba(163,230,53,.55); }
.btn-primary:hover { background: #b6f04a; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg); }
.btn-warn { background: var(--warn); color: #fff; }
.btn-lg { padding: 15px 22px; font-size: 17px; border-radius: 12px; }
.btn-block { width: 100%; }

/* Hero */
.hero { background: radial-gradient(1200px 400px at 10% -10%, #dfe8ff 0%, transparent 60%), radial-gradient(900px 400px at 100% 0%, #fff1db 0%, transparent 55%), var(--bg); padding: 56px 0 40px; }
.hero .eyebrow { display: inline-flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.hero h1 { margin-top: 18px; max-width: 820px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), #7a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 680px; }
.search { margin-top: 26px; display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); max-width: 680px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 17px; padding: 12px 12px; font-family: inherit; background: transparent; }
.search .btn { flex: none; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.trust span::before { content: "✓ "; color: var(--ok); font-weight: 800; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.stat .n { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.stat .l { color: var(--muted); font-size: 14px; }
.stat.warn .n { color: var(--warn); }
.stat.bad .n { color: var(--bad); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* Sections */
section.block { padding: 56px 0; }
section.block.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: 6px; }
.feature .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; margin-bottom: 12px; }
.ico.b { background: var(--brand-soft); } .ico.w { background: var(--warn-soft); } .ico.g { background: var(--ok-soft); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .01em; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }
.badge.info { background: var(--brand-soft); color: var(--brand-ink); }
.badge.gray { background: #eef1f5; color: var(--muted); }

/* Carrier page */
.crumbs { font-size: 13px; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }
.carrier-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; flex-wrap: wrap; padding: 14px 0 22px; }
.carrier-head h1 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 6px; }
.ids { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.ids b { color: var(--ink); }
.alert-banner { border-radius: var(--radius); padding: 16px 18px; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; border: 1px solid; }
.alert-banner.warn { background: var(--warn-soft); border-color: #f6d49a; }
.alert-banner.bad { background: var(--bad-soft); border-color: #f5b5ae; }
.alert-banner.ok { background: var(--ok-soft); border-color: #b6e5cb; }
.alert-banner .big { font-size: 22px; line-height: 1; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.kv div span { display: block; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; font-weight: 650; }
.kv div b { font-size: 16px; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; } }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.data th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 10px 8px; border-bottom: 1px solid var(--line); }
table.data td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { position: relative; padding: 0 0 18px 26px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.timeline li::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline li.warn::before { background: var(--warn); } .timeline li.bad::before { background: var(--bad); } .timeline li.ok::before { background: var(--ok); }
.timeline .when { font-size: 13px; color: var(--muted); }

/* Watch / paywall */
.watch-card { position: sticky; top: 84px; border: 2px solid var(--brand); }
.watch-card .price { font-size: 13px; color: var(--muted); }
.watch-card ul { padding-left: 18px; margin: 10px 0 16px; }
.watch-card ul li { margin: 4px 0; }
.input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; font-family: inherit; background: #fff; }
.input:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
label.l { display: block; font-size: 13px; font-weight: 650; margin: 0 0 6px; }
.locked { position: relative; overflow: hidden; border-radius: var(--radius); }
.locked .blur { filter: blur(5px); user-select: none; pointer-events: none; opacity: .75; }
.locked .gate { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(246,248,251,0) 0%, rgba(246,248,251,.92) 45%); padding: 18px; text-align: center; }
.locked .gate .inner { max-width: 440px; }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--ink); color: #fff; transform: translateY(110%); transition: transform .25s; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; flex-wrap: wrap; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); position: relative; transform: translateY(-6px); }
.plan.featured .tag { position: absolute; top: -13px; left: 26px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 750; padding: 4px 10px; border-radius: 999px; }
.plan .amount { font-size: 44px; font-weight: 850; letter-spacing: -0.03em; }
.plan .amount small { font-size: 16px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.plan ul li { padding: 6px 0 6px 26px; position: relative; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 900; }
.toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.toggle button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-weight: 650; font-family: inherit; cursor: pointer; color: var(--ink-2); }
.toggle button.on { background: var(--ink); color: #fff; }
.compare td:first-child { font-weight: 600; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 650; cursor: pointer; }

/* Lists */
.list { display: grid; gap: 10px; }
.row-link { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--ink); }
.row-link:hover { border-color: var(--brand); text-decoration: none; }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-links a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--ink-2); }

/* Prose */
.prose { max-width: 760px; font-size: 17px; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin: 6px 0; }
.note { background: var(--brand-soft); border-radius: 12px; padding: 14px 16px; font-size: 15px; }

/* ===== Motion hero ("lane radar") ===== */
.hx { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 75% 30%, #14245a 0%, transparent 60%), linear-gradient(180deg, var(--navy) 0%, #0a1430 100%); color: #e6ecf7; padding: 64px 0 34px; isolation: isolate; }
.hx-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); animation: gridmove 24s linear infinite; }
@keyframes gridmove { to { background-position: 48px 48px, 48px 48px; } }
.hx-radar { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.lane { fill: none; stroke: rgba(120,150,255,.28); stroke-width: 1.4; stroke-dasharray: 6 8; animation: dash 3.5s linear infinite; animation-delay: var(--d); }
@keyframes dash { to { stroke-dashoffset: -56; } }
.node-core { fill: #8fb0ff; } .node-halo { fill: rgba(143,176,255,.12); transform-box: fill-box; transform-origin: center; animation: halo 3s ease-out infinite; animation-delay: var(--d); }
@keyframes halo { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.truck { fill: var(--lime); filter: drop-shadow(0 0 6px rgba(163,230,53,.9)); }
.truck.flag { fill: var(--red); filter: drop-shadow(0 0 8px rgba(239,68,68,.95)); }
.sweep-g { transform-origin: 760px 240px; }
.sweep { transform-origin: 760px 240px; animation: sweep 6s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.hx-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hx-inner > * { min-width: 0; }
@media (max-width: 900px) { .hx-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .hx { padding-top: 40px; }
  .hx .search { flex-direction: column; }
  .hx .search .btn { width: 100%; }
  .hx-alert-meta { white-space: normal; word-break: break-word; }
}
.hx-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .08em; color: #c7d2fe; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 8px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(163,230,53,.7); animation: pulse 2s infinite; }
.hx h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); margin: 20px 0 14px; letter-spacing: -0.035em; }
.hx-accent { color: var(--lime); text-shadow: 0 0 34px rgba(163,230,53,.35); }
.hx-lead { font-size: clamp(17px, 2vw, 19px); color: #b9c5dc; max-width: 600px; }
.hx-lead b { color: #fff; }
.hx .search { background: rgba(255,255,255,.96); border: 0; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1); }
.hx-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; color: #93a1bd; font-size: 14px; }
.hx-trust span::before { content: "✓ "; color: var(--lime); font-weight: 900; }
.hx-stack { position: relative; display: grid; gap: 12px; }
.hx-alert { display: block; color: #e6ecf7; background: linear-gradient(180deg, rgba(23,34,66,.85), rgba(13,23,48,.85)); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 14px 16px; backdrop-filter: blur(10px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); opacity: 0; transform: translateY(16px) scale(.98); animation: slidein .7s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.35s + var(--i) * .25s); }
.hx-alert:hover { text-decoration: none; border-color: rgba(163,230,53,.5); }
.hx-alert b { display: block; font-size: 16px; margin: 6px 0 2px; color: #fff; }
.hx-alert-top { display: flex; align-items: center; gap: 8px; color: #fca5a5; }
.hx-t { margin-left: auto; color: #93a1bd; }
.hx-alert-meta { font-size: 12px; color: #93a1bd; }
.hx-bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; margin-top: 10px; overflow: hidden; }
.hx-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--red)); border-radius: 4px; animation: grow 1.6s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.8s + var(--i) * .25s); }
@keyframes grow { to { width: var(--p); } }
@keyframes slidein { to { opacity: 1; transform: none; } }
.sig { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.sig.bad { background: var(--red); box-shadow: 0 0 10px rgba(239,68,68,.9); animation: blink 1.6s infinite; }
.sig.warn { background: var(--amber); box-shadow: 0 0 10px rgba(245,158,11,.8); }
@keyframes blink { 50% { opacity: .35; } }
.hx-scan { display: flex; align-items: center; gap: 10px; color: #93a1bd; padding: 4px 4px 0; }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(163,230,53,.25); border-top-color: var(--lime); animation: rot 1s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.hx-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; }
.hx-stats > div { background: rgba(7,13,26,.55); padding: 18px 20px; backdrop-filter: blur(6px); }
.hx-stats .n { font-size: clamp(28px, 3.4vw, 40px); font-weight: 850; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.hx-stats .n.amber { color: var(--amber); } .hx-stats .n.lime { color: var(--lime); }
.hx-stats .n small { font-size: 15px; margin-left: 6px; color: #93a1bd; font-weight: 600; }
.hx-stats .l { color: #93a1bd; font-size: 14px; }
@media (max-width: 760px) { .hx-stats { grid-template-columns: 1fr; } }

/* Ticker */
.ticker { background: #0b1226; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: inline-flex; gap: 34px; padding: 12px 0; animation: tick 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk { display: inline-flex; align-items: center; gap: 10px; color: #cbd5e1; font-size: 13.5px; }
.tk:hover { text-decoration: none; color: #fff; }
.tk b { color: #fff; font-weight: 650; }
.tk .mono { color: #7d8aa5; font-size: 12px; }

/* Flow timeline */
.kicker { color: var(--brand); font-size: 12px; letter-spacing: .12em; font-weight: 700; margin: 0 0 8px; }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.flow-line { position: absolute; left: 4%; right: 4%; top: 21px; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.flow-line i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--amber), var(--lime), var(--red)); transition: width 2.2s cubic-bezier(.2,.8,.2,1); }
.flow-track.in .flow-line i { width: 100%; }
.flow-step { position: relative; padding-top: 58px; opacity: 0; transform: translateY(12px); transition: opacity .6s, transform .6s; }
.flow-track.in .flow-step { opacity: 1; transform: none; }
.flow-track.in .flow-step:nth-child(3) { transition-delay: .4s; } .flow-track.in .flow-step:nth-child(4) { transition-delay: .8s; } .flow-track.in .flow-step:nth-child(5) { transition-delay: 1.2s; }
.flow-dot { position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font: 800 14px ui-monospace, Menlo, monospace; background: var(--navy); color: #fff; box-shadow: 0 8px 20px -8px rgba(7,13,26,.6); }
.flow-dot.amber { background: var(--amber); color: var(--navy); } .flow-dot.lime { background: var(--lime); color: var(--navy); } .flow-dot.red { background: var(--red); }
@media (max-width: 820px) { .flow-track { grid-template-columns: 1fr 1fr; } .flow-line { display: none; } }
@media (max-width: 480px) { .flow-track { grid-template-columns: 1fr; } }

/* Scroll reveal */
.reveal-up { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-up.in { opacity: 1; transform: none; }

.glossary dt { font-weight: 750; margin-top: 18px; }
.glossary dd { margin: 4px 0 0; color: var(--ink-2); }

/* At a glance + safety */
.glance { border-left: 4px solid var(--navy); }
.glance-list { list-style: none; padding: 0; margin: 6px 0 10px; display: grid; gap: 10px; }
.glance-list li { position: relative; padding-left: 28px; font-size: 15.5px; }
.glance-list li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.glance-list li.ok::before { background: var(--ok); } .glance-list li.warn::before { background: var(--amber); } .glance-list li.bad::before { background: var(--red); } .glance-list li.info::before { background: #94a3b8; }
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.safety-grid div { background: var(--bg); border-radius: 12px; padding: 12px; }
.safety-grid span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 650; }
.safety-grid b { display: block; font-size: 22px; letter-spacing: -.02em; }
.safety-grid i { font-style: normal; }
@media (max-width: 640px) { .safety-grid { grid-template-columns: 1fr 1fr; } }
.meter { margin-top: 14px; }
.meter .bar { position: relative; height: 8px; background: #e8ecf2; border-radius: 8px; margin-top: 6px; }
.meter .bar i { display: block; height: 100%; width: var(--p); border-radius: 8px; background: linear-gradient(90deg, var(--lime), var(--amber), var(--red)); }
.meter .bar em { position: absolute; top: -4px; width: 2px; height: 16px; background: var(--navy); }

/* Carrier status banner motion */
.alert-banner.bad { position: relative; overflow: hidden; }
.alert-banner.bad::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(239,68,68,.12), transparent); transform: translateX(-100%); animation: scanline 3.2s ease-in-out infinite; }
@keyframes scanline { to { transform: translateX(100%); } }
.alert-banner.bad .big { animation: blink 1.6s infinite; }

/* Header refinements */
header.site { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(10px); }
.topbar { background: #050a15; }
.topbar .pulse { background: var(--lime); }
.plan.featured { border-color: var(--navy); box-shadow: 0 30px 60px -30px rgba(7,13,26,.45); }
.plan.featured .tag { background: var(--lime); color: var(--navy); }
.toggle button.on { background: var(--navy); }
.watch-card { border-color: var(--navy); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hx-radar animateMotion { display: none; }
  .ticker-track { animation: none; }
}

@media (max-width: 520px) { .badge { white-space: normal; } table.data { font-size: 13.5px; } table.data td, table.data th { padding: 10px 6px; } }

footer.site { background: var(--ink); color: #aab4c5; padding: 40px 0 90px; margin-top: 40px; font-size: 14px; }
footer.site a { color: #dbe3f0; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr; } }
footer.site h4 { color: #fff; margin: 0 0 10px; font-size: 14px; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin: 6px 0; }
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; font-weight: 600; }
.flash.ok { background: var(--ok-soft); color: #0b6b3c; }
.flash.err { background: var(--bad-soft); color: #9b1c13; }

/* ---------- Customer dashboard ---------- */
.dash { padding-top: 26px; }
.dash-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 18px; }
.dash-head h1 { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 6px; }
.dash-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.dash-actions form { margin: 0; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 10px 14px; font-weight: 650; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); border-bottom-color: var(--brand); }
.tabs .count { display: inline-block; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; text-align: center; margin-left: 4px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.tiles.small-tiles { margin: 10px 0 0; }
.tiles.small-tiles .stat { padding: 14px; box-shadow: none; }
.tiles.small-tiles .n { font-size: 24px; }
.stat.ok .n { color: var(--ok); }
.stat.info .n { color: var(--brand-ink); }
a.tile { text-decoration: none; color: inherit; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; border-top: 3px solid var(--line); }
a.tile:hover { transform: translateY(-2px); }
a.tile.bad { border-top-color: var(--bad); } a.tile.warn { border-top-color: var(--warn); } a.tile.ok { border-top-color: var(--ok); } a.tile.info { border-top-color: var(--brand); }
a.tile.on { outline: 2px solid var(--brand); outline-offset: 1px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
.dash-card { padding: 14px 16px; }
.dash-filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.dash-filter .input { width: auto; flex: 1 1 220px; padding: 9px 12px; font-size: 15px; }
.inline-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.inline-form .input { flex: 1 1 200px; width: auto; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { display: inline-flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 650; color: var(--muted); text-decoration: none; background: #fff; }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.on a { color: #fff; text-decoration: none; }
.btn-sm { padding: 6px 10px; font-size: 13px; }
.watch-table tr.lvl-bad td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.watch-table tr.lvl-warn td:first-child { box-shadow: inset 3px 0 0 var(--warn); }
.watch-table td:first-child { padding-left: 12px; }
.reasons { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12.5px; color: var(--muted); }
.reasons li { padding-left: 12px; position: relative; line-height: 1.45; }
.reasons li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.reasons li.bad::before { background: var(--bad); } .reasons li.warn::before { background: var(--warn); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.nowrap { white-space: nowrap; }
tr.reviewed td { opacity: .62; }
.bulk-bar { display: flex; justify-content: flex-end; padding: 10px 0 2px; }
.pager { display: flex; justify-content: center; gap: 18px; align-items: center; padding: 14px 0 4px; }
.linklike { background: none; border: 0; padding: 0; color: var(--brand-ink); cursor: pointer; text-decoration: underline; font: inherit; }
.empty { text-align: center; padding: 34px 18px; }
.empty .btn { margin-top: 8px; }
.dash-bottom { margin-top: 18px; }
.bad-t { color: var(--bad); } .warn-t { color: var(--warn); }
.radio-row, .checks { border: 0; padding: 0; margin: 12px 0 14px; display: flex; gap: 8px 18px; flex-wrap: wrap; }
.checks { flex-direction: column; }
.radio-row label, .checks label, .check-line { display: flex; gap: 8px; align-items: center; font-size: 15px; }
.bar { position: relative; height: 8px; background: #e8ecf2; border-radius: 8px; }
.bar i { display: block; height: 100%; width: var(--p); border-radius: 8px; background: linear-gradient(90deg, var(--lime), var(--brand)); }
ul.plain { padding-left: 18px; } ul.plain li { margin-bottom: 8px; }
textarea.input { resize: vertical; min-height: 200px; font-size: 14px; }
@media (max-width: 640px) { .row-actions { justify-content: flex-start; } .dash-filter .tiny.muted { margin-left: 0 !important; } }
legend.l { display: block; font-size: 13px; font-weight: 650; margin: 0 0 6px; padding: 0; }
.danger-zone { margin-top: 18px; border-color: #f5b5ae; }
.danger-zone h3 { color: var(--bad); }
.btn-danger { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn-danger:hover { filter: brightness(.95); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.logo .logo-2 { color: var(--brand); }
footer .logo .logo-2 { color: var(--lime); }
