/* ═══════════════════════════════════════════════════════════════
   PathFinder · Tracking Capabilities — Brochure stylesheet
   Built on PathFinder dark control-room language; orange accent.
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Surface scale */
  --sg: #080c12;
  --sc: #111520;
  --sh: #181e2c;
  --sb: #222838;
  --si: #181e2c;
  --sg-ground: #050810;
  --sg-deep: #03060c;

  /* Brand */
  --pr: #f97316;
  --ph: #ea580c;
  --pr-glow: rgba(249,115,22,.18);
  --hl: rgba(249,115,22,.12);

  /* Semantic */
  --ok:#22c55e; --wn:#f59e0b; --er:#ef4444; --inf:#38bdf8; --vio:#818cf8;

  /* Text */
  --tx:#dde4f0; --t2:#94a3b8; --t3:#64748b;

  /* Radii / shadow */
  --br:8px; --brs:5px; --brl:12px;
  --shadow-sm:0 1px 8px rgba(0,0,0,.3);
  --shadow-md:0 4px 12px rgba(0,0,0,.3);
  --shadow-lg:0 8px 28px rgba(0,0,0,.45);
  --shadow-xl:0 40px 100px rgba(0,0,0,.6);

  --ff:'Nunito',system-ui,sans-serif;

  --max: 1280px;
}

[data-theme="light"] {
  --sg:#f0f4fa; --sc:#ffffff; --sh:#f8fafc; --sb:#e2e8f0; --si:#f8fafc;
  --sg-ground:#eef2f8; --sg-deep:#e5ebf4;
  --tx:#0f172a; --t2:#475569; --t3:#94a3b8;
  --hl:rgba(249,115,22,.10);
}
[data-theme="corevio"] {
  --sg:#060e1e; --sc:#0d1b3e; --sh:#112254; --sb:#1a3070; --si:#112254;
  --sg-ground:#040a18; --sg-deep:#02060f;
  --pr:#0ea5e9; --ph:#0284c7; --pr-glow:rgba(14,165,233,.2); --hl:rgba(14,165,233,.14);
  --tx:#e8f4ff; --t2:#94b8d4; --t3:#5b7ea0;
}

/* ── Base ─────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body {
  margin:0; padding:0;
  font-family: var(--ff);
  background: var(--sg-ground);
  color: var(--tx);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}
body { overflow-x: hidden; }
.pi { font-family: primeicons; font-style: normal; display: inline-block; line-height:1; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 800; color: var(--tx); }

/* selection */
::selection { background: var(--pr); color: #fff; }

/* keyframes */
@keyframes pulseDot {
  0%,100% { transform:scale(1); opacity:1; }
  50%     { transform:scale(1.6); opacity:.55; }
}
@keyframes pulseRing {
  0%   { transform:scale(.6); opacity:.9; }
  100% { transform:scale(2); opacity:0; }
}
@keyframes orbDrift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(60px,-40px) scale(1.1); }
}
@keyframes orbDrift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-50px,30px) scale(.9); }
}
@keyframes orbDrift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(40px,50px) scale(1.05); }
}
@keyframes routeDash {
  to { stroke-dashoffset: -200; }
}
@keyframes blink {
  0%,100% { opacity:1; }
  50%     { opacity:.35; }
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

[data-motion="off"] *,
[data-motion="off"] *::before,
[data-motion="off"] *::after {
  animation: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   Sticky chrome
   ═══════════════════════════════════════════════════════════════ */
.chrome {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,12,18,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sb);
}
[data-theme="light"] .chrome { background: rgba(255,255,255,.85); }
[data-theme="corevio"] .chrome { background: rgba(6,14,30,.85); }
.chrome-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.chrome-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800;
  letter-spacing: .2em;
  font-size: 12px;
  color: var(--tx);
  flex-shrink: 0;
}
.chrome-mark {
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pr), var(--ph));
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 0 14px var(--pr-glow);
}
.chrome-sep { color: var(--t3); letter-spacing: 0; }
.chrome-sub { color: var(--t2); letter-spacing: .04em; text-transform: none; font-weight: 600; font-size: 12px; }
.chrome-nav {
  display: flex; gap: 4px;
  flex: 1;
  justify-content: center;
}
.chrome-nav a {
  padding: 7px 11px;
  border-radius: var(--brs);
  font-size: 12px;
  font-weight: 600;
  color: var(--t2);
  transition: color .15s, background .15s;
}
.chrome-nav a:hover { color: var(--tx); background: var(--sh); }
.chrome-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--br);
  background: linear-gradient(135deg, var(--pr), var(--ph));
  color: #fff !important;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 4px 16px var(--pr-glow);
  transition: transform .15s, box-shadow .15s;
}
.chrome-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 22px var(--pr-glow); }
.chrome-cta .pi { font-size: 10px; }
@media (max-width: 920px) {
  .chrome-nav { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 760px;
  padding: 100px 32px 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 30%, rgba(249,115,22,.06), transparent 60%),
    radial-gradient(ellipse at 85% 70%, rgba(56,189,248,.04), transparent 60%),
    linear-gradient(180deg, var(--sg-deep), var(--sg-ground));
  border-bottom: 1px solid var(--sb);
}
[data-hero="compact"] .hero {
  min-height: 560px;
  padding: 64px 32px 48px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset:0;
  width: 100%; height: 100%;
}
.hero-roads {
  stroke: rgba(148,163,184,.10);
  stroke-width: 1;
}
.hero-routes .route {
  stroke: var(--pr);
  stroke-dasharray: 12 8;
  opacity: .35;
  animation: routeDash 9s linear infinite;
}
.hero-routes .route-2 {
  stroke: #38bdf8;
  opacity: .25;
  animation-duration: 12s;
}
.pulse {
  filter: drop-shadow(0 0 8px var(--pr));
}
.pulse::after {
  content: '';
}
.hero-pulses circle {
  animation: blink 2.6s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  pointer-events: none;
}
.orb-1 {
  width: 460px; height: 460px;
  top: -120px; left: -140px;
  background: radial-gradient(circle, rgba(249,115,22,.45), transparent 70%);
  animation: orbDrift1 18s ease-in-out infinite;
}
.orb-2 {
  width: 380px; height: 380px;
  bottom: -120px; right: -100px;
  background: radial-gradient(circle, rgba(56,189,248,.28), transparent 70%);
  animation: orbDrift2 16s ease-in-out infinite;
}
.orb-3 {
  width: 320px; height: 320px;
  top: 40%; left: 55%;
  background: radial-gradient(circle, rgba(249,115,22,.22), transparent 70%);
  animation: orbDrift3 22s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(249,115,22,.10);
  border: 1px solid rgba(249,115,22,.28);
  color: var(--pr);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
[data-theme="corevio"] .hero-eyebrow {
  background: rgba(14,165,233,.10);
  border-color: rgba(14,165,233,.3);
  color: var(--pr);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pr);
  box-shadow: 0 0 10px var(--pr);
  animation: pulseDot 1.6s ease-in-out infinite;
}
.hero-eyebrow-sep { color: var(--t3); }
.hero-eyebrow-v { color: var(--t2); }

.hero-title {
  margin: 22px 0 18px;
  font-weight: 800;
  font-size: clamp(40px, 6.4vw, 86px);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--tx);
  max-width: 14ch;
}
[data-hero="compact"] .hero-title { font-size: clamp(34px, 5vw, 64px); margin: 16px 0 14px; }
.hero-title .amp { color: var(--t3); font-weight: 400; padding: 0 4px; }
.hero-title-accent {
  background: linear-gradient(120deg, var(--pr), #fb923c 60%, var(--pr));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--t2);
  max-width: 56ch;
  margin: 0 0 40px;
  font-weight: 500;
}
[data-hero="compact"] .hero-sub { margin-bottom: 24px; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border: 1px solid var(--sb);
  border-radius: var(--brl);
  background: rgba(17,21,32,.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 760px;
  margin-bottom: 36px;
}
[data-theme="light"] .hero-meta { background: rgba(255,255,255,.7); }
.hero-meta-block {
  padding: 16px 22px;
  border-right: 1px solid var(--sb);
}
.hero-meta-block:last-child { border-right: 0; }
.hero-meta-label {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t3);
  margin-bottom: 6px;
}
.hero-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--tx);
}
.hero-meta-placeholder {
  display: inline-block;
  padding: 4px 10px;
  border: 1px dashed var(--sb);
  border-radius: var(--brs);
  color: var(--t3);
  font-weight: 600;
  font-size: 12px;
}
.hero-meta-corevio {
  background: linear-gradient(120deg, var(--pr), #fb923c);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: 800;
}

.hero-marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--t2);
  font-size: 12px;
  font-weight: 600;
  padding-top: 22px;
  border-top: 1px solid var(--sb);
  max-width: 920px;
}
.hero-marquee-item {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-marquee-item .pi { font-size: 9px; color: var(--pr); }

.hero-scroll {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px;
  letter-spacing: .2em;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--t3);
}
.hero-scroll .pi { animation: blink 2s infinite; }


/* ═══════════════════════════════════════════════════════════════
   Section scaffold
   ═══════════════════════════════════════════════════════════════ */
.sec {
  padding: 80px 32px;
  position: relative;
}
.sec-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.sec + .sec { border-top: 1px solid var(--sb); }

.sec-head {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}
.sec-num {
  font-weight: 800;
  font-size: clamp(56px, 7vw, 96px);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--sb);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  position: relative;
}
.sec-num::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 38px; height: 3px;
  background: var(--pr);
  border-radius: 2px;
}
[data-nums="small"] .sec-num {
  font-size: 18px;
  font-weight: 800;
  color: var(--pr);
  -webkit-text-stroke: 0;
  letter-spacing: .12em;
  padding-bottom: 4px;
}
[data-nums="small"] .sec-num::after { display: none; }

.sec-head-text { flex: 1; min-width: 0; }
.sec-eyebrow {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--pr);
  margin-bottom: 8px;
}
.sec-title {
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--tx);
  margin: 0;
  text-wrap: balance;
}

.sec-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--t2);
  max-width: 76ch;
  margin: 0 0 28px;
  font-weight: 500;
}
.sec-lede-2 { margin-top: -12px; }
.sec-lede b, .sec-lede strong { color: var(--tx); }


/* ═══════════════════════════════════════════════════════════════
   01 — Challenge
   ═══════════════════════════════════════════════════════════════ */
.sec-challenge { background: var(--sg-ground); }
.challenge-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}
@media (max-width: 880px) {
  .challenge-grid { grid-template-columns: 1fr; }
}
.lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--t2);
  font-weight: 500;
  margin: 0 0 22px;
  text-wrap: pretty;
}
.lede-2 {
  font-size: 19px;
  line-height: 1.55;
  color: var(--tx);
  font-weight: 700;
  margin: 0;
  padding-left: 16px;
  border-left: 3px solid var(--pr);
}

.callout {
  background: var(--sc);
  border: 1px solid var(--sb);
  border-radius: var(--brl);
  padding: 24px;
}
.callout-quote {
  border-left: 4px solid var(--pr);
  background: linear-gradient(135deg, var(--sc), rgba(249,115,22,.04));
}
.callout-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pr);
  margin-bottom: 16px;
}
.callout-label .pi { font-size: 13px; }
.callout p {
  margin: 0;
  color: var(--t2);
  line-height: 1.6;
  font-size: 14px;
}
.callout-soft {
  background: rgba(249,115,22,.05);
  border-color: rgba(249,115,22,.22);
  margin-bottom: 28px;
}
.quote-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--sb);
}
.quote-list li:first-child { border-top: 0; padding-top: 4px; }
.q-tag {
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--t3);
  padding: 2px 8px;
  border: 1px solid var(--sb);
  border-radius: var(--brs);
  white-space: nowrap;
}
.q-body {
  font-size: 15px;
  font-weight: 600;
  color: var(--tx);
  line-height: 1.45;
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════
   02 — At a glance
   ═══════════════════════════════════════════════════════════════ */
.sec-glance {
  background:
    radial-gradient(ellipse at 50% 0%, var(--pr-glow), transparent 50%),
    var(--sg-deep);
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 920px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-tile {
  background: var(--sc);
  border: 1px solid var(--sb);
  border-radius: var(--brl);
  padding: 26px 24px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.stat-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--pr), transparent);
  opacity: 0;
  transition: opacity .25s;
}
.stat-tile:hover { transform: translateY(-2px); border-color: rgba(249,115,22,.4); }
.stat-tile:hover::before { opacity: 1; }
.stat-icon {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hl);
  border-radius: 10px;
  color: var(--pr);
  font-size: 16px;
  margin-bottom: 16px;
}
.stat-value {
  font-weight: 800;
  font-size: 54px;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--tx);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}
.stat-value-inf { font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 64px; }
.stat-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--t2);
  margin-bottom: 10px;
  text-wrap: balance;
}
.stat-foot {
  font-size: 11px;
  font-weight: 600;
  color: var(--t3);
  padding-top: 10px;
  border-top: 1px solid var(--sb);
}
.glance-foot {
  font-size: 15px;
  line-height: 1.6;
  color: var(--t2);
  max-width: 88ch;
  margin: 24px 0 0;
}
.glance-foot .hl {
  color: var(--tx);
  font-weight: 700;
  background: linear-gradient(180deg, transparent 65%, var(--pr-glow) 65%);
  padding: 0 2px;
}


/* ═══════════════════════════════════════════════════════════════
   Bullets, sub-heads (shared)
   ═══════════════════════════════════════════════════════════════ */
.bullet-grid {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 720px) { .bullet-grid { grid-template-columns: 1fr; } }
.bullet-grid li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--sc);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  font-size: 14px;
  line-height: 1.5;
  color: var(--t2);
}
.bullet-grid li b { color: var(--tx); }
.bullet-i {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hl);
  border-radius: 8px;
  color: var(--pr);
  font-size: 13px;
  flex-shrink: 0;
}

.sub-head {
  margin: 56px 0 20px;
  padding: 24px 0 0;
  border-top: 1px solid var(--sb);
}
.sub-bar {
  display: inline-block;
  width: 28px; height: 3px;
  background: var(--pr);
  border-radius: 2px;
  margin-bottom: 14px;
}
.sub-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tx);
  margin: 0 0 10px;
}
.sub-copy {
  color: var(--t2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 68ch;
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════
   Screen (mocked product window)
   ═══════════════════════════════════════════════════════════════ */
.screen {
  margin: 0 0 8px;
  background: var(--sc);
  border: 1px solid var(--sb);
  border-radius: var(--brl);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(249,115,22,.04);
  overflow: hidden;
  position: relative;
}
.screen + figcaption,
.screen figcaption {
  display: block;
  padding: 14px 18px 0;
  font-size: 12px;
  color: var(--t3);
  font-weight: 500;
  font-style: italic;
}
.screen-chrome {
  display: flex; align-items: center; gap: 8px;
  height: 38px;
  padding: 0 14px;
  background: linear-gradient(180deg, rgba(17,21,32,.95), rgba(11,15,24,.92));
  border-bottom: 1px solid var(--sb);
}
[data-theme="light"] .screen-chrome {
  background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
}
.screen-chrome .dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--sh);
}
.screen-chrome .dot.r { background: #ef4444; }
.screen-chrome .dot.y { background: #f59e0b; }
.screen-chrome .dot.g { background: #22c55e; }
.screen-chrome .screen-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  margin-left: 8px;
  border-radius: 6px;
  background: var(--sc);
  color: var(--tx);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--sb);
  border-bottom: 0;
}
.screen-chrome .screen-tab.muted {
  background: transparent;
  border-color: transparent;
  color: var(--t3);
  font-weight: 600;
}
.screen-chrome .screen-tab .pi { font-size: 10px; color: var(--pr); }
.screen-chrome .screen-tab.muted .pi { color: var(--t3); }
.screen-spacer { flex: 1; }
.screen-tag {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  color: var(--ok);
  font-weight: 800;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.screen-tag.muted {
  background: var(--sh);
  color: var(--t2);
}
.live-dot {
  width: 6px; height: 6px;
  background: currentColor;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
  animation: pulseDot 1.6s infinite;
}
.screen-body {
  background: var(--sg);
  padding: 16px;
  display: block;
}


/* ═══════════════════════════════════════════════════════════════
   03 — Live Fleet Map
   ═══════════════════════════════════════════════════════════════ */
.livemap-body { padding: 0; }
.livemap-kpis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--sc);
  border-bottom: 1px solid var(--sb);
}
.km {
  padding: 14px 18px;
  border-right: 1px solid var(--sb);
}
.km:last-child { border-right: 0; }
.km-l {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--t3);
  margin-bottom: 4px;
}
.km-v {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tx);
  font-variant-numeric: tabular-nums;
}
.km-v.km-ok { color: var(--ok); }
.km-v.km-er { color: var(--er); }
.km-v.km-wn { color: var(--wn); }
.km-u {
  font-size: 12px;
  font-weight: 700;
  color: var(--t3);
  margin-left: 2px;
}

.livemap-frame {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 540px;
}
@media (max-width: 880px) {
  .livemap-frame { grid-template-columns: 1fr; }
}
.livemap-rail {
  background: var(--sc);
  border-right: 1px solid var(--sb);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.rail-search {
  display: flex; align-items: center; gap: 8px;
  height: 32px;
  padding: 0 12px;
  background: var(--si);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  font-size: 12px;
  color: var(--t3);
}
.rail-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sh);
  border: 1px solid var(--sb);
  font-size: 11px;
  font-weight: 700;
  color: var(--t2);
  display: inline-flex; align-items: center; gap: 5px;
}
.chip b { font-weight: 800; color: var(--tx); }
.chip.on { background: var(--hl); border-color: rgba(249,115,22,.4); color: var(--pr); }
.chip.on b { color: var(--pr); }
.chip.ok { color: var(--ok); background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); }
.chip.ok b { color: var(--ok); }
.chip.wn { color: var(--wn); background: rgba(245,158,11,.1); border-color: rgba(245,158,11,.3); }
.chip.wn b { color: var(--wn); }
.chip.er { color: var(--er); background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.3); }
.chip.er b { color: var(--er); }

.rail-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  overflow: auto;
}
.rail-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--br);
  border: 1px solid transparent;
  cursor: pointer;
}
.rail-list li.active {
  background: var(--hl);
  border-color: rgba(249,115,22,.3);
}
.rail-list li:hover { background: var(--sh); }
.rl-bus {
  font-weight: 800;
  color: var(--tx);
  font-size: 12px;
  letter-spacing: -.01em;
}
.rl-meta {
  font-size: 11px;
  color: var(--t3);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rl-spd {
  font-weight: 700;
  font-size: 10.5px;
  color: var(--t2);
  white-space: nowrap;
}
.rl-spd.ok { color: var(--ok); }
.rl-spd.wn { color: var(--wn); }
.rl-spd.er { color: var(--er); }

.livemap-canvas {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(249,115,22,.08), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(56,189,248,.06), transparent 50%),
    var(--sg-deep);
  overflow: hidden;
}
.lm-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.lm-route-b2 { animation: routeDash 14s linear infinite; }
.lm-pulse {
  transform-origin: center;
  animation: pulseRing 1.8s infinite;
}
.lm-tip {
  position: absolute;
  transform: translate(-50%, -130%);
  background: rgba(11,15,24,.96);
  border: 1px solid rgba(249,115,22,.4);
  border-radius: var(--br);
  padding: 10px 14px;
  box-shadow: var(--shadow-lg);
  min-width: 180px;
}
.lm-tip-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 4px;
}
.lm-tip-bus {
  font-weight: 800;
  color: var(--pr);
  font-size: 12px;
  letter-spacing: -.01em;
}
.lm-tip-status {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ok);
  padding: 2px 7px;
  background: rgba(34,197,94,.14);
  border-radius: 999px;
}
.lm-tip-meta {
  font-size: 11px;
  color: var(--t2);
  font-weight: 500;
  line-height: 1.5;
}
.lm-legend {
  position: absolute;
  bottom: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 8px 14px;
  background: rgba(11,15,24,.85);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  font-size: 11px;
  font-weight: 700;
  color: var(--t2);
  backdrop-filter: blur(8px);
}
.lm-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dotc {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--t2);
  display: inline-block;
}
.dotc-ok { background: var(--ok); }
.dotc-wn { background: var(--wn); }
.dotc-er { background: var(--er); }
.dotc-st { background: var(--t3); }
.lm-zoom {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.lm-zoom button {
  width: 32px; height: 32px;
  background: rgba(11,15,24,.85);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  color: var(--t2);
  font-size: 12px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.lm-zoom button:hover { color: var(--pr); border-color: var(--pr); }

/* Bus detail card */
.screen-detail .screen-body { padding: 0; }
.bus-body { background: var(--sc); }
.bus-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--sb);
  background: linear-gradient(180deg, rgba(249,115,22,.06), transparent);
}
.bus-id-block { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bus-plate {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--tx);
  font-family: 'JetBrains Mono', monospace;
}
.bus-plate-sub { color: var(--t3); font-size: 12px; font-weight: 600; }
.bus-status-block { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; }
.bus-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px;
  background: rgba(34,197,94,.14);
  color: var(--ok);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bus-pill-route {
  background: var(--hl);
  color: var(--pr);
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}
.bus-actions { display: flex; gap: 8px; }
.bbtn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px;
  background: var(--sh);
  border: 1px solid var(--sb);
  color: var(--t2);
  border-radius: var(--br);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.bbtn-pri {
  background: linear-gradient(135deg, var(--pr), var(--ph));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 12px var(--pr-glow);
}
.bbtn .pi { font-size: 11px; }

.bus-grid {
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 0;
}
@media (max-width: 1080px) {
  .bus-grid { grid-template-columns: 1fr; }
}
.bus-col { padding: 20px 22px; }
.bus-col-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-right: 1px solid var(--sb); align-content: flex-start; }
.bs-tile {
  background: var(--sg);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  padding: 12px 14px;
}
.bs-l {
  font-size: 9.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--t3);
  margin-bottom: 6px;
}
.bs-v {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tx);
  font-variant-numeric: tabular-nums;
}
.bs-u { font-size: 11px; font-weight: 700; color: var(--t3); margin-left: 2px; }
.bs-bar {
  margin-top: 8px;
  height: 4px;
  background: var(--sh);
  border-radius: 2px;
  overflow: hidden;
}
.bs-bar span {
  display: block;
  height: 100%;
  background: var(--pr);
  border-radius: 2px;
}
.bs-foot { margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--ok); }

.bus-col-route { border-right: 1px solid var(--sb); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.bus-col-h {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--t2);
}
.bus-col-h .pi { color: var(--pr); }
.bus-col-h-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--pr);
  padding: 3px 8px;
  background: var(--hl);
  border-radius: 999px;
}
.route-stops {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  position: relative;
}
.route-stops::before {
  content: '';
  position: absolute;
  left: 50px; top: 12px; bottom: 12px;
  width: 2px;
  background: var(--sb);
}
.route-stops li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  padding: 10px 0;
  gap: 14px;
  position: relative;
}
.route-stops li::after {
  content: '';
  position: absolute;
  left: 47px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px;
  background: var(--sb);
  border-radius: 50%;
  border: 2px solid var(--sg);
  z-index: 1;
}
.route-stops li.done::after { background: var(--ok); }
.route-stops li.now::after {
  background: var(--pr);
  box-shadow: 0 0 0 4px var(--pr-glow);
  width: 10px; height: 10px;
  left: 46px;
}
.rs-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--t3);
  text-align: right;
}
.route-stops li.now .rs-time { color: var(--pr); font-weight: 800; }
.rs-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx);
  padding-left: 14px;
  min-width: 0;
}
.route-stops li:not(.done):not(.now) .rs-name { color: var(--t2); font-weight: 600; }
.rs-eta {
  display: inline-block;
  margin-left: 8px;
  font-size: 11px;
  font-weight: 800;
  color: var(--pr);
  padding: 2px 8px;
  background: var(--hl);
  border-radius: 999px;
}
.rs-act {
  font-size: 11px;
  font-weight: 700;
  color: var(--t3);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
}
.route-stops li.done .rs-act { color: var(--ok); }
.route-stops li.now .rs-act { color: var(--pr); }

.bus-col-meta { display: flex; flex-direction: column; gap: 14px; }
.meta-block {
  background: var(--sg);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  padding: 14px;
}
.meta-h {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t3);
  margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.meta-h-c {
  margin-left: auto;
  padding: 2px 7px;
  background: rgba(245,158,11,.16);
  color: var(--wn);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}
.meta-driver { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.meta-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pr), var(--ph));
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 12px;
  color: #fff;
}
.meta-driver-name { font-weight: 800; color: var(--tx); font-size: 13px; }
.meta-driver-sub { font-size: 11px; color: var(--t3); font-weight: 500; }
.meta-foot { font-size: 11px; color: var(--t3); font-weight: 600; padding-top: 8px; border-top: 1px solid var(--sb); }
.meta-foot-ok { color: var(--ok); display: inline-flex; align-items: center; gap: 6px; border: 0; padding: 0; margin-top: 8px; }
.alert {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--br);
}
.alert .pi { color: var(--wn); font-size: 14px; margin-top: 1px; }
.alert-t { font-weight: 800; color: var(--tx); font-size: 12px; }
.alert-s { font-size: 11px; color: var(--t3); font-weight: 600; margin-top: 2px; }
.meta-kv {
  display: flex; justify-content: space-between;
  font-size: 11.5px;
  padding: 5px 0;
  border-top: 1px solid var(--sb);
  color: var(--t3);
  font-weight: 600;
}
.meta-kv:first-of-type { border-top: 0; }
.meta-v { color: var(--tx); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }


/* ═══════════════════════════════════════════════════════════════
   04 — Smart ETA
   ═══════════════════════════════════════════════════════════════ */
.sec-eta { background: var(--sg-ground); }

.eta-body { padding: 0; }
.eta-controls {
  display: flex; align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--sc);
  border-bottom: 1px solid var(--sb);
}
.eta-filter {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  background: var(--sg);
  border: 1px solid var(--sb);
  border-radius: var(--br);
}
.ef-l {
  font-size: 9.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--t3);
}
.ef-v {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx);
  display: inline-flex; align-items: center; gap: 6px;
}
.ef-v .pi { font-size: 9px; color: var(--t3); }
.eta-spacer { flex: 1; }
.eta-kpi {
  display: inline-flex; flex-direction: column;
  font-size: 11px;
  padding-left: 14px;
  border-left: 1px solid var(--sb);
}
.ek-l { font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--t3); }
.ek-v { font-size: 14px; font-weight: 800; color: var(--tx); }

.eta-routes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sb);
}
@media (max-width: 1080px) { .eta-routes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .eta-routes { grid-template-columns: 1fr; } }
.eta-route { background: var(--sc); padding: 16px; min-width: 0; }
.eta-route-hl {
  background:
    linear-gradient(180deg, rgba(249,115,22,.05), transparent 40%),
    var(--sc);
  box-shadow: inset 0 0 0 1px rgba(249,115,22,.18);
}
.er-h {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sb);
}
.er-tag {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 13px;
  color: var(--pr);
  background: var(--hl);
  padding: 4px 8px;
  border-radius: var(--brs);
}
.er-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.er-spd { font-size: 10px; color: var(--t3); font-weight: 700; grid-column: 2; margin-top: -4px; }
.er-conf {
  grid-column: 3;
  grid-row: 1 / span 2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--sg);
  white-space: nowrap;
}
.conf-hi { color: var(--ok); background: rgba(34,197,94,.12); }
.conf-md { color: var(--wn); background: rgba(245,158,11,.12); }
.conf-lo { color: var(--er); background: rgba(239,68,68,.12); }

.er-stops { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.er-stops li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
  padding: 8px 6px;
  border-radius: var(--brs);
}
.er-stops li.hl { background: var(--hl); }
.es-name { font-size: 12px; font-weight: 700; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.es-sub { font-family: 'JetBrains Mono', monospace; color: var(--pr); font-weight: 800; margin-left: 6px; font-size: 10.5px; }
.es-eta { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; font-weight: 700; color: var(--t2); }
.es-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  padding: 3px 7px;
  border-radius: 999px;
  text-transform: uppercase;
}
.es-ok { color: var(--ok); background: rgba(34,197,94,.12); }
.es-wn { color: var(--wn); background: rgba(245,158,11,.14); }
.es-er { color: var(--er); background: rgba(239,68,68,.14); }
.es-lo { color: var(--t2); background: var(--sh); }

.eta-footstrip {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px;
  background: var(--sc);
  border-top: 1px solid var(--sb);
  font-size: 11px;
  color: var(--t3);
  font-weight: 600;
}
.efs-r { display: flex; align-items: center; gap: 14px; }
.efs-r > span { display: inline-flex; align-items: center; gap: 5px; }


/* ═══════════════════════════════════════════════════════════════
   05 — Trip History
   ═══════════════════════════════════════════════════════════════ */
.hist-body { padding: 0; }
.hist-strip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--sc);
  border-bottom: 1px solid var(--sb);
}
.hs-block {
  display: inline-flex; flex-direction: column;
  padding: 4px 12px 4px 0;
  border-right: 1px solid var(--sb);
}
.hs-block:nth-of-type(3) { border-right: 0; }
.hs-l { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--t3); }
.hs-v { font-size: 13px; font-weight: 700; color: var(--tx); display: inline-flex; align-items: center; gap: 7px; }
.hs-v .pi { font-size: 9px; color: var(--t3); }
.hist-spacer { flex: 1; }
.hist-kpi {
  display: inline-flex; flex-direction: column;
  padding-left: 14px;
  border-left: 1px solid var(--sb);
  font-size: 10.5px;
  color: var(--t3);
  font-weight: 700;
}
.hist-kpi b { font-size: 14px; color: var(--tx); font-weight: 800; }

.hist-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  border-bottom: 1px solid var(--sb);
}
@media (max-width: 980px) { .hist-grid { grid-template-columns: 1fr; } }
.hist-map {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(249,115,22,.06), transparent 50%),
    var(--sg-deep);
  min-height: 380px;
  border-right: 1px solid var(--sb);
}
.hist-map > svg { width: 100%; height: 100%; display: block; }
.hist-controls {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: rgba(11,15,24,.92);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}
.hist-controls button {
  width: 28px; height: 28px;
  background: var(--sh);
  border: 1px solid var(--sb);
  border-radius: 6px;
  color: var(--t2);
  font-size: 10px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.hist-controls button.pri {
  background: linear-gradient(135deg, var(--pr), var(--ph));
  color: #fff;
  border-color: transparent;
}
.hc-scrub { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hc-track {
  position: relative;
  height: 4px;
  background: var(--sh);
  border-radius: 2px;
}
.hc-fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--pr); border-radius: 2px; }
.hc-thumb {
  position: absolute;
  top: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: #fff;
  border: 2px solid var(--pr);
  border-radius: 50%;
}
.hc-time { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--t3); font-weight: 600; }
.hc-speed { font-size: 11px; font-weight: 800; color: var(--tx); display: inline-flex; align-items: center; gap: 5px; }
.hc-speed .pi { font-size: 9px; color: var(--t3); }

.hist-side {
  padding: 16px;
  background: var(--sc);
  min-width: 0;
}
.hs-h {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--t2);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--sb);
}
.hs-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hs-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 1px 12px;
  padding: 8px 10px;
  border-radius: var(--brs);
  align-items: center;
}
.hs-list li:hover { background: var(--sh); }
.hs-list li b { font-size: 12.5px; color: var(--tx); font-weight: 800; }
.hsl-meta { grid-column: 1; font-size: 11px; color: var(--t3); font-weight: 500; }
.hsl-pill {
  grid-column: 2; grid-row: 1 / span 2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.hsl-pill.ok { color: var(--ok); background: rgba(34,197,94,.14); }
.hsl-pill.er { color: var(--er); background: rgba(239,68,68,.16); letter-spacing: .04em; }
.hs-list li.flag { background: rgba(239,68,68,.06); }

.speed-chart {
  padding: 16px 18px 18px;
  background: var(--sc);
}
.sc-h {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 10px;
}
.sc-t { font-size: 12px; font-weight: 700; color: var(--t2); }
.sc-t b { color: var(--tx); }
.sc-meta { font-size: 11px; color: var(--t3); font-weight: 600; }
.sc-meta b { color: var(--tx); }
.sc-svg { width: 100%; height: 100px; display: block; }


/* ═══════════════════════════════════════════════════════════════
   06 — Maintenance
   ═══════════════════════════════════════════════════════════════ */
.maint-body { padding: 0; }
.maint-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
@media (max-width: 980px) { .maint-grid { grid-template-columns: 1fr; } }
.maint-map {
  position: relative;
  background:
    radial-gradient(ellipse at 40% 40%, rgba(34,197,94,.06), transparent 50%),
    var(--sg-deep);
  min-height: 500px;
  border-right: 1px solid var(--sb);
}
.maint-map > svg { width: 100%; height: 100%; display: block; }
.mm-legend {
  bottom: 16px; left: 16px;
}
.mm-red .lm-pulse { fill: rgba(239,68,68,.3); }

.maint-panel {
  padding: 18px;
  background: var(--sc);
  display: flex; flex-direction: column; gap: 10px;
}
.mp-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--sb);
}
.mp-head .pi { color: var(--wn); font-size: 14px; }
.mp-head > span:not(.mp-count) { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--tx); }
.mp-count {
  margin-left: auto;
  padding: 3px 9px;
  background: var(--hl);
  color: var(--pr);
  border-radius: 999px;
  font-weight: 800;
  font-size: 11px;
}
.mp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mpr {
  background: var(--sg);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  padding: 12px;
  border-left-width: 3px;
}
.mpr.critical { border-left-color: var(--er); }
.mpr.warning { border-left-color: var(--wn); }
.mpr.neutral { border-left-color: var(--t3); }
.mpr-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 6px;
}
.mpr-bus { font-family: 'JetBrains Mono', monospace; font-weight: 800; color: var(--tx); font-size: 12px; }
.mpr-tag {
  font-size: 10px; font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: .08em;
  background: var(--sh);
  color: var(--t2);
}
.mpr-tag.er { background: rgba(239,68,68,.16); color: var(--er); text-transform: uppercase; }
.mpr-tag.wn { background: rgba(245,158,11,.16); color: var(--wn); }
.mpr-code { font-size: 12px; font-weight: 700; color: var(--tx); margin-bottom: 2px; }
.mpr-meta { font-size: 11px; color: var(--t3); font-weight: 500; }
.mp-btn {
  width: 100%;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--pr), var(--ph));
  border: 0;
  border-radius: var(--br);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--pr-glow);
}


/* ═══════════════════════════════════════════════════════════════
   07 — Reports
   ═══════════════════════════════════════════════════════════════ */
.sec-reports { background: var(--sg-ground); }
.report-table {
  background: var(--sc);
  border: 1px solid var(--sb);
  border-radius: var(--brl);
  overflow: hidden;
  margin-bottom: 36px;
}
.rt-row {
  display: grid;
  grid-template-columns: 1.1fr 2.4fr 1fr;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--sb);
  align-items: center;
}
.rt-row:last-child { border-bottom: 0; }
.rt-head {
  background: var(--sh);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t3);
}
.rt-c1 {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
}
.rt-c1 .pi {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--hl);
  color: var(--pr);
  font-size: 12px;
  flex-shrink: 0;
}
.rt-c1 span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rt-c1 b { font-size: 14px; color: var(--tx); font-weight: 800; }
.rt-rm {
  font-size: 9.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--vio);
}
.rt-c2 { font-size: 13.5px; line-height: 1.5; color: var(--t2); }
.rt-c3 { text-align: right; }
.rt-tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--sh);
  border: 1px solid var(--sb);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--t2);
  white-space: nowrap;
}
.rt-tag-soft { color: var(--vio); background: rgba(129,140,248,.12); border-color: rgba(129,140,248,.3); }
.rt-roadmap { opacity: .82; }
@media (max-width: 760px) {
  .rt-row { grid-template-columns: 1fr; gap: 8px; }
  .rt-c3 { text-align: left; }
}

/* OTP screen */
.otp-body { padding: 0; }
.otp-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--sc);
  border-bottom: 1px solid var(--sb);
}
.otp-stat { padding: 18px 20px; border-right: 1px solid var(--sb); }
.otp-stat:last-child { border-right: 0; }
.otp-l { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--t3); }
.otp-v { font-size: 32px; font-weight: 800; letter-spacing: -.025em; color: var(--tx); margin-top: 6px; font-variant-numeric: tabular-nums; }
.otp-u { font-size: 14px; font-weight: 700; color: var(--t3); margin-left: 2px; }
.otp-tr { margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--ok); display: inline-flex; align-items: center; gap: 5px; }
.otp-tr.muted { color: var(--t3); }
.otp-tr.er { color: var(--er); }
.otp-tr .pi { font-size: 10px; }

.otp-chart { padding: 20px 22px; background: var(--sc); }
.otpc-h {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.otpc-h span { font-size: 12px; color: var(--t2); font-weight: 700; }
.otpc-h b { color: var(--tx); }
.otpc-leg { display: inline-flex; gap: 14px; color: var(--t3); font-weight: 700; }
.otpc-leg i { margin-right: 5px; }
.otpc-rows { display: flex; flex-direction: column; gap: 8px; }
.otpcr {
  display: grid;
  grid-template-columns: 200px 1fr 70px;
  gap: 14px;
  align-items: center;
}
.otpcr-n { font-size: 12.5px; font-weight: 700; color: var(--tx); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.otpcr-bar {
  height: 10px;
  background: var(--sh);
  border-radius: 5px;
  overflow: hidden;
}
.otpcr-bar span {
  display: block;
  height: 100%;
  border-radius: 5px;
}
.otpcr-bar span.ok { background: linear-gradient(90deg, #16a34a, var(--ok)); }
.otpcr-bar span.wn { background: linear-gradient(90deg, #d97706, var(--wn)); }
.otpcr-bar span.er { background: linear-gradient(90deg, #b91c1c, var(--er)); }
.otpcr-v { font-family: 'JetBrains Mono', monospace; text-align: right; font-weight: 800; font-size: 12px; }
.otpcr-v.ok { color: var(--ok); }
.otpcr-v.wn { color: var(--wn); }
.otpcr-v.er { color: var(--er); }


/* ═══════════════════════════════════════════════════════════════
   08 — Capabilities grid
   ═══════════════════════════════════════════════════════════════ */
.sec-cap { background: var(--sg-deep); }
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.cap {
  background: var(--sc);
  border: 1px solid var(--sb);
  border-radius: var(--brl);
  padding: 22px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.cap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: var(--pr);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .3s;
}
.cap:hover { transform: translateY(-3px); border-color: rgba(249,115,22,.35); }
.cap:hover::before { transform: scaleY(1); }
.cap-i {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hl);
  border-radius: 10px;
  color: var(--pr);
  font-size: 18px;
  margin-bottom: 16px;
}
.cap h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--tx);
  margin: 0 0 8px;
}
.cap p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--t2);
  margin: 0;
}


/* ═══════════════════════════════════════════════════════════════
   09 — Why PathFinder
   ═══════════════════════════════════════════════════════════════ */
.sec-why { background: var(--sg-ground); }
.compare {
  background: var(--sc);
  border: 1px solid var(--sb);
  border-radius: var(--brl);
  overflow: hidden;
  margin-top: 8px;
}
.compare-head, .compare-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr;
  gap: 0;
  align-items: center;
  border-bottom: 1px solid var(--sb);
}
.compare-row:last-child { border-bottom: 0; }
.compare-head { background: var(--sh); padding: 0; }
.cmp-c1 {
  padding: 14px 18px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t3);
  border-right: 1px solid var(--sb);
}
.cmp-c2, .cmp-c3 {
  padding: 16px 20px;
  font-size: 13.5px;
  line-height: 1.5;
  display: flex; align-items: flex-start; gap: 12px;
}
.cmp-c2 {
  color: var(--t3);
  border-right: 1px solid var(--sb);
  background: rgba(239,68,68,.02);
}
.cmp-c3 {
  color: var(--tx);
  background: rgba(34,197,94,.03);
  font-weight: 500;
}
.cmp-c2 .pi { color: var(--er); font-size: 13px; padding-top: 2px; flex-shrink: 0; }
.cmp-c3 .pi { color: var(--ok); font-size: 13px; padding-top: 2px; flex-shrink: 0; }
.cmp-label {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cmp-label-bad { color: var(--er); background: rgba(239,68,68,.12); }
.cmp-label-ok { color: var(--ok); background: rgba(34,197,94,.12); }
.compare-head .cmp-c2, .compare-head .cmp-c3 { padding: 14px 18px; }
@media (max-width: 820px) {
  .compare-head, .compare-row {
    grid-template-columns: 1fr;
  }
  .cmp-c1 { border-right: 0; border-bottom: 1px solid var(--sb); }
  .cmp-c2 { border-right: 0; border-bottom: 1px solid var(--sb); }
}


/* ═══════════════════════════════════════════════════════════════
   10 — Start
   ═══════════════════════════════════════════════════════════════ */
.sec-start {
  background:
    radial-gradient(ellipse at 80% 20%, var(--pr-glow), transparent 50%),
    var(--sg-deep);
}
.start-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 36px;
  align-items: flex-start;
}
@media (max-width: 980px) { .start-grid { grid-template-columns: 1fr; } }
.start-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.start-steps li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 14px;
  background: var(--sc);
  border: 1px solid var(--sb);
  border-radius: var(--br);
}
.start-steps b { font-size: 13px; color: var(--tx); font-weight: 800; }
.start-steps span { display: block; }
.start-steps span:not(.ss-n) { color: var(--t3); font-size: 11px; font-weight: 600; margin-top: 2px; }
.ss-n {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 18px;
  color: var(--pr);
  letter-spacing: -.02em;
}

.start-cta {
  background: var(--sc);
  border: 1px solid var(--sb);
  border-left: 4px solid var(--pr);
  border-radius: var(--brl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.start-cta::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, var(--pr-glow), transparent 70%);
  pointer-events: none;
}
.cta-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--pr);
  margin-bottom: 16px;
}
.cta-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tx);
  margin: 0 0 8px;
  text-wrap: balance;
}
.cta-sub {
  font-size: 13px;
  color: var(--t2);
  margin: 0 0 20px;
  line-height: 1.55;
}
.cta-list {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 18px;
}
.cta-row {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: var(--sg);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  transition: background .15s, border-color .15s;
}
.cta-row:hover { background: var(--sh); border-color: rgba(249,115,22,.3); }
.cta-ico {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--hl);
  border-radius: 8px;
  color: var(--pr);
  font-size: 14px;
}
.cta-row-l {
  font-size: 9.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--t3);
  display: block;
}
.cta-row-v {
  font-size: 14px; font-weight: 700;
  color: var(--tx);
  display: block;
}
.cta-row-arr { color: var(--t3); font-size: 11px; }
.cta-row:hover .cta-row-arr { color: var(--pr); }
.cta-pri {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--pr), var(--ph));
  border: 0;
  border-radius: var(--br);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .02em;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 4px 18px var(--pr-glow);
  transition: transform .15s, box-shadow .15s;
}
.cta-pri:hover { transform: translateY(-1px); box-shadow: 0 10px 28px var(--pr-glow); }


/* Hero meta extras (added for web publication) */
.hero-meta-link {
  color: var(--tx);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px dashed rgba(92,199,232,.5);
  padding-bottom: 1px;
  transition: color .15s, border-color .15s;
  word-break: break-word;
}
.hero-meta-link:hover {
  color: var(--pr);
  border-bottom-color: var(--pr);
}

/* Static (non-clickable) CTA row */
.cta-row-static { cursor: default; }
.cta-row-static:hover {
  background: var(--sg);
  border-color: var(--sb);
  transform: none;
}
.cta-row-static .cta-row-v {
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  line-height: 1.5;
}

/* CTA primary as link */
a.cta-pri { text-decoration: none; }


/* ═══════════════════════════════════════════════════════════════
   Footer — website-style 4-column
   ═══════════════════════════════════════════════════════════════ */
.foot {
  background: var(--sg-deep);
  border-top: 1px solid var(--sb);
  padding: 56px 32px 24px;
  position: relative;
  overflow: hidden;
}
.foot::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(880px, 100%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pr), transparent);
  opacity: .7;
}
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--sb);
}
@media (max-width: 1080px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .foot-col-brand { grid-column: 1 / -1; }
  .foot-col-contact { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}
.foot-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.foot-col-brand { gap: 18px; }
.foot-brandline { gap: 10px; }
.foot-blurb {
  font-size: 13px;
  line-height: 1.6;
  color: var(--t2);
  font-weight: 500;
  margin: 0;
  max-width: 44ch;
}
.foot-blurb b { color: var(--tx); font-weight: 800; }
.foot-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: 4px;
}
.foot-pillars span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px;
  background: rgba(92,199,232,.08);
  border: 1px solid rgba(92,199,232,.22);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--t2);
}
.foot-pillars span .pi {
  font-size: 10px;
  color: var(--pr);
}
.foot-h {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--pr);
  margin-bottom: 4px;
}
.foot-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.foot-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--t2);
  text-decoration: none;
  transition: color .15s, padding .15s;
  display: inline-block;
}
.foot-links a:hover {
  color: var(--pr);
  padding-left: 4px;
}
.foot-col-contact { gap: 10px; }
.foot-contact {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 12px 8px 0;
  border-radius: var(--brs);
  text-decoration: none;
  transition: background .15s, transform .15s;
}
.foot-contact:hover {
  background: rgba(255,255,255,.03);
  transform: translateX(2px);
}
.foot-contact-static { cursor: default; }
.foot-contact-static:hover { background: transparent; transform: none; }
.foot-contact > .pi {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(92,199,232,.10);
  color: var(--pr);
  border-radius: 7px;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.foot-contact > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fc-l {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t3);
}
.fc-v {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.45;
  word-break: break-word;
}
.foot-fine {
  max-width: var(--max);
  margin: 22px auto 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  font-size: 11.5px;
  color: var(--t3);
  font-weight: 600;
}
.foot-fine-spacer { flex: 1; min-width: 24px; }
.foot-fine-link {
  color: var(--t2);
  text-decoration: none;
  font-weight: 700;
  transition: color .15s;
}
.foot-fine-link:hover { color: var(--pr); }
.dot-sep { color: var(--t3); padding: 0 2px; }


/* ═══════════════════════════════════════════════════════════════
   Tweaks panel
   ═══════════════════════════════════════════════════════════════ */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 200;
  width: 280px;
  background: rgba(11,15,24,.96);
  border: 1px solid var(--sb);
  border-radius: var(--brl);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(20px);
  font-family: var(--ff);
  color: var(--tx);
  overflow: hidden;
}
[data-theme="light"] .tweaks { background: rgba(255,255,255,.97); color: #0f172a; }
.tweaks[hidden] { display: none; }
.tweaks-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--sb);
  background: linear-gradient(135deg, rgba(249,115,22,.08), transparent);
}
.tweaks-t {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--pr);
}
.tweaks-x {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  color: var(--t2);
  cursor: pointer;
  border-radius: 6px;
}
.tweaks-x:hover { background: var(--sh); color: var(--tx); }
.tweaks-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; }
.tw-sec { display: flex; flex-direction: column; gap: 8px; }
.tw-l {
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--t3);
}
.tw-segs {
  display: flex;
  gap: 4px;
  background: var(--sg);
  border: 1px solid var(--sb);
  border-radius: var(--br);
  padding: 3px;
}
.tw-segs button {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 6px 10px;
  border-radius: 5px;
  color: var(--t2);
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  font-family: var(--ff);
}
.tw-segs button.on {
  background: var(--pr);
  color: #fff;
  box-shadow: 0 2px 8px var(--pr-glow);
}
.tw-swatches { display: flex; gap: 6px; }
.tw-swatches button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--sb);
  background: var(--c);
  cursor: pointer;
  transition: transform .15s;
}
.tw-swatches button:hover { transform: scale(1.08); }
.tw-swatches button.on {
  border-color: var(--tx);
  box-shadow: 0 0 0 2px var(--sg), 0 0 0 4px var(--c);
}


/* ═══════════════════════════════════════════════════════════════
   Demo request modal
   ═══════════════════════════════════════════════════════════════ */
.demo-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .22s ease;
}
.demo-modal.is-open { opacity: 1; }
.demo-modal[hidden] { display: none; }

.dm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,7,18,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.dm-card {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(92,199,232,.10) 0%, transparent 60%),
    linear-gradient(160deg, #0a1330 0%, #060e1e 60%, #04091a 100%);
  border: 1px solid rgba(92,199,232,.18);
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 30px 80px rgba(0,0,0,.6),
    0 0 0 1px rgba(92,199,232,.14),
    0 0 80px rgba(92,199,232,.22);
  padding: 32px 32px 24px;
  transform: translateY(20px) scale(.985);
  transition: transform .25s ease;
}
.demo-modal.is-open .dm-card { transform: translateY(0) scale(1); }

.dm-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(92,199,232,.18);
  border-radius: 8px;
  color: var(--t2);
  cursor: pointer;
  font-size: 12px;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.dm-close:hover {
  background: rgba(92,199,232,.16);
  color: #fff;
  border-color: rgba(92,199,232,.4);
  transform: rotate(90deg);
}

.dm-head { margin-bottom: 22px; padding-right: 32px; }
.dm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  color: var(--pr);
  margin-bottom: 12px;
}
.dm-title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--tx);
  margin: 0 0 8px;
  line-height: 1.15;
}
.dm-sub {
  font-size: 14px;
  line-height: 1.55;
  color: var(--t2);
  margin: 0;
}

.dm-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dm-row { display: contents; }
.dm-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 540px) {
  .dm-row-2 { grid-template-columns: 1fr; }
}

.dm-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dm-field-full { width: 100%; }
.dm-l {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--t3);
}
.dm-l em {
  color: var(--pr);
  font-style: normal;
  margin-left: 3px;
}
.dm-field input,
.dm-field select,
.dm-field textarea {
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 500;
  color: var(--tx);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(92,199,232,.18);
  border-radius: 9px;
  padding: 10px 14px;
  outline: none;
  transition: border-color .15s, background .15s, box-shadow .15s;
  width: 100%;
}
.dm-field textarea { resize: vertical; min-height: 80px; font-family: var(--ff); }
.dm-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 36px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--t2) 50%),
    linear-gradient(135deg, var(--t2) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.dm-field input::placeholder,
.dm-field textarea::placeholder {
  color: var(--t3);
  font-weight: 400;
}
.dm-field input:focus,
.dm-field select:focus,
.dm-field textarea:focus {
  border-color: var(--pr);
  background: rgba(92,199,232,.06);
  box-shadow: 0 0 0 3px rgba(92,199,232,.15);
}
.dm-field input:invalid:not(:placeholder-shown) {
  border-color: rgba(239,68,68,.5);
}

.dm-consent { margin-top: 4px; }
.dm-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.dm-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1px solid rgba(92,199,232,.35);
  border-radius: 5px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: background .15s, border-color .15s;
}
.dm-check input:checked {
  background: var(--pr);
  border-color: var(--pr);
}
.dm-check input:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #0a1330;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dm-check span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--t2);
  line-height: 1.5;
}

.dm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(92,199,232,.12);
}
.dm-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: var(--ff);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: 9px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s;
}
.dm-btn-ghost {
  background: transparent;
  border-color: rgba(92,199,232,.2);
  color: var(--t2);
}
.dm-btn-ghost:hover {
  background: rgba(92,199,232,.08);
  color: var(--tx);
  border-color: rgba(92,199,232,.4);
}
.dm-btn-pri {
  background: linear-gradient(135deg, var(--pr), var(--ph));
  color: #0a1330;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(92,199,232,.35);
}
.dm-btn-pri:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(92,199,232,.5);
}
.dm-btn-pri .pi { font-size: 11px; }

.dm-fineprint {
  margin-top: 12px;
  font-size: 11px;
  color: var(--t3);
  text-align: center;
  line-height: 1.5;
}
.dm-fineprint a { color: var(--pr); text-decoration: none; font-weight: 700; }
.dm-fineprint a:hover { text-decoration: underline; }

/* Success state */
.dm-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 16px 8px 8px;
}
.dm-success[hidden] { display: none; }
.dm-success-icon {
  width: 64px; height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(34,197,94,.16);
  border: 1px solid rgba(34,197,94,.4);
  border-radius: 50%;
  color: #4ADE80;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 4px;
}
.dm-success h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--tx);
  margin: 0;
}
.dm-success p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--t2);
  margin: 0;
  max-width: 44ch;
}
.dm-success p b { color: var(--tx); }
.dm-success-fallback { font-size: 12px !important; color: var(--t3) !important; }
.dm-success-fallback a { color: var(--pr); text-decoration: none; font-weight: 700; }
.dm-success-fallback a:hover { text-decoration: underline; }
.dm-success .dm-btn-pri { margin-top: 6px; }


/* ═══════════════════════════════════════════════════════════════
   Print
   ═══════════════════════════════════════════════════════════════ */
@media print {
  .chrome, .tweaks, .hero-scroll, .lm-zoom, .demo-modal { display: none !important; }
  .hero { min-height: auto; padding: 40px 32px; }
  .sec { padding: 40px 32px; break-inside: avoid; }
  .screen { box-shadow: none; }
  body { background: white; color: black; }
  .hero-logo, .hl-orbit, .hl-glow, .hl-shine, .hl-pings { animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════════
   Hero layout — text + brand-panel
   ═══════════════════════════════════════════════════════════════ */
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-text { min-width: 0; }
@media (max-width: 880px) {
  .hero-content { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; justify-self: center; max-width: 460px; width: 100%; }
}
.hero-visual {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════════════════════════
   BRAND PANEL — dark instrument display, native to the theme
   ═══════════════════════════════════════════════════════════════ */
.brand-panel {
  --bp-ink: #0D1B3E;
  --bp-sky: #5CC7E8;
  --bp-sky-d: #2BA0CC;
  --bp-deep: #060e1e;

  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 30% 18%, rgba(92,199,232,.10) 0%, rgba(92,199,232,0) 50%),
    radial-gradient(ellipse at 70% 90%, rgba(13,27,62,.6) 0%, transparent 60%),
    linear-gradient(160deg, #0a1330 0%, #060e1e 60%, #04091a 100%);
  border: 1px solid rgba(92,199,232,.18);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -40px 80px rgba(0,0,0,.4),
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 30px 80px rgba(0,0,0,.55),
    0 0 0 1px rgba(92,199,232,.18),
    0 0 80px rgba(92,199,232,.22);
}

/* Subtle vignette */
.bp-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(92,199,232,.05) 0%, transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0px, rgba(255,255,255,.02) 1px, transparent 1px, transparent 4px);
}

/* Dotted GPS grid */
.bp-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(92,199,232,.22) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 10px 10px;
  mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.7) 0%, rgba(0,0,0,.18) 60%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,.7) 0%, rgba(0,0,0,.18) 60%, transparent 90%);
}

/* Two soft floating orbs */
.bp-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
}
.bp-orb-a {
  width: 240px; height: 240px;
  top: -50px; right: -60px;
  background: radial-gradient(circle, rgba(92,199,232,.45), transparent 70%);
  animation: bpOrbDriftA 12s ease-in-out infinite;
}
.bp-orb-b {
  width: 200px; height: 200px;
  bottom: -60px; left: -50px;
  background: radial-gradient(circle, rgba(43,160,204,.30), transparent 70%);
  animation: bpOrbDriftB 14s ease-in-out infinite;
}
@keyframes bpOrbDriftA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-20px, 18px) scale(1.08); }
}
@keyframes bpOrbDriftB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(22px, -16px) scale(.94); }
}

/* Panel header: LIVE + eyebrow */
.bp-head {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(92,199,232,.18);
}
.bp-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  background: rgba(34,197,94,.16);
  color: #4ADE80;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bp-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px #22C55E;
  animation: bpLivePulse 1.6s infinite;
}
@keyframes bpLivePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.5); opacity: .55; }
}
.bp-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #cfe1ee;
}

/* Stage that holds the logo + GPS effects */
.bp-stage {
  position: relative;
  z-index: 5;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Faint GPS reticle (crosshair) behind the logo ── */
.bp-reticle {
  position: absolute;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px dashed rgba(92,199,232,.35);
  pointer-events: none;
}
.bp-reticle::before, .bp-reticle::after {
  content: '';
  position: absolute;
  background: rgba(92,199,232,.30);
  pointer-events: none;
}
.bp-reticle::before {
  top: 50%; left: 8%; right: 8%;
  height: 1px;
}
.bp-reticle::after {
  left: 50%; top: 8%; bottom: 8%;
  width: 1px;
}

/* ── Slow radar sweep beam ── */
.bp-radar {
  position: absolute;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(92,199,232,0) 0deg,
    rgba(92,199,232,0) 280deg,
    rgba(92,199,232,.45) 350deg,
    rgba(92,199,232,.65) 360deg,
    rgba(92,199,232,0) 360deg
  );
  mask-image: radial-gradient(circle, transparent 38%, #000 39%, #000 100%);
  -webkit-mask-image: radial-gradient(circle, transparent 38%, #000 39%, #000 100%);
  animation: bpRadarSweep 5s linear infinite;
  filter: blur(.4px);
  pointer-events: none;
  z-index: 1;
}
@keyframes bpRadarSweep {
  to { transform: rotate(360deg); }
}

/* ── GPS sonar pulse rings (3 staggered) ── */
.bp-pulse {
  position: absolute;
  width: 48%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1.5px solid rgba(92,199,232,.85);
  box-shadow:
    0 0 22px rgba(92,199,232,.45),
    inset 0 0 8px rgba(92,199,232,.25);
  opacity: 0;
  pointer-events: none;
  animation: bpSonarPulse 4s cubic-bezier(.22, .61, .36, 1) infinite;
  z-index: 2;
}
.bp-pulse-1 { animation-delay: 0s; }
.bp-pulse-2 { animation-delay: 1.33s; }
.bp-pulse-3 { animation-delay: 2.66s; }
@keyframes bpSonarPulse {
  0%   { transform: scale(.4); opacity: 0; }
  10%  { opacity: .85; }
  100% { transform: scale(1.85); opacity: 0; }
}

/* ── Coordinate tags in the corners ── */
.bp-coord {
  position: absolute;
  z-index: 3;
  font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #93C5DC;
  padding: 3px 8px;
  background: rgba(6,14,30,.7);
  border: 1px solid rgba(92,199,232,.22);
  border-radius: 4px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.bp-coord-tl { top: 6px; left: 6px; }
.bp-coord-tr { top: 6px; right: 6px; }
.bp-coord-bl { bottom: 6px; left: 6px; }
.bp-coord-br { bottom: 6px; right: 6px; }
.bp-coord-bl::before, .bp-coord-br::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--ok, #16A34A);
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  box-shadow: 0 0 5px rgba(34,197,94,.6);
  animation: bpLivePulse 1.6s infinite;
}

/* The logo wrapper */
.bp-logo {
  position: relative;
  width: 70%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bpLogoFloat 6.5s ease-in-out infinite;
  z-index: 6;
}
/* Soft illumination disc behind the logo so the navy ink has
   something light to read against on the dark panel. */
.bp-logo::before {
  content: '';
  position: absolute;
  inset: -8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%,
      rgba(255,255,255,.18) 0%,
      rgba(206,229,243,.14) 28%,
      rgba(92,199,232,.10) 52%,
      transparent 72%);
  filter: blur(2px);
  z-index: -1;
  pointer-events: none;
  animation: bpDiscBreathe 6.5s ease-in-out infinite;
}
@keyframes bpDiscBreathe {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
.bp-logo img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  /* Multi-shadow stack creates a bright outline + soft sky-blue glow,
     making the navy ink of the logo readable on the dark panel. */
  filter:
    drop-shadow(0 0 1px #ffffff)
    drop-shadow(0 0 1px #ffffff)
    drop-shadow(0 0 3px rgba(255,255,255,.85))
    drop-shadow(0 0 18px rgba(92,199,232,.6))
    drop-shadow(0 10px 24px rgba(0,0,0,.55));
}
@keyframes bpLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Shine sweep over the logo */
.bp-shine {
  position: absolute;
  top: -10%; left: -40%;
  width: 35%; height: 130%;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255,255,255,.35) 50%,
    transparent 70%);
  transform: rotate(8deg) translateX(-100%);
  animation: bpShine 6s ease-in-out infinite;
  animation-delay: 1.4s;
  pointer-events: none;
  mix-blend-mode: screen;
}
@keyframes bpShine {
  0%   { transform: rotate(8deg) translateX(-120%); opacity: 0; }
  10%  { opacity: 1; }
  55%  { transform: rotate(8deg) translateX(420%); opacity: 1; }
  56%, 100% { opacity: 0; }
}

/* Panel footer with the "A product of Corevio" credit */
.bp-foot {
  position: relative;
  z-index: 5;
  padding-top: 14px;
  border-top: 1px solid rgba(92,199,232,.18);
  display: flex;
  justify-content: center;
}
.bp-credit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .2s, transform .2s;
}
.bp-credit:hover {
  background: rgba(92,199,232,.08);
  transform: translateY(-1px);
}
.bp-credit-l {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(207,225,238,.7);
}
.bp-credit img {
  height: 28px;
  width: auto;
  display: block;
  /* Same halo treatment so the navy Corevio mark stays legible */
  filter:
    drop-shadow(0 0 1px #ffffff)
    drop-shadow(0 0 1px #ffffff)
    drop-shadow(0 0 6px rgba(92,199,232,.45));
  transition: transform .25s;
}
.bp-credit:hover img {
  transform: scale(1.06);
}

/* Panel hover lift */
.brand-panel:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -40px 80px rgba(0,0,0,.4),
    inset 0 0 0 1px rgba(255,255,255,.02),
    0 36px 90px rgba(0,0,0,.6),
    0 0 0 1px rgba(92,199,232,.35),
    0 0 100px rgba(92,199,232,.32);
}

/* Light theme treatment (rare) — invert to cream */
[data-theme="light"] .brand-panel {
  background:
    radial-gradient(ellipse at 30% 18%, #ffffff 0%, #f8fbfe 30%, #eef4fa 70%, #e3edf5 100%);
  border-color: rgba(13,27,62,.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    0 22px 50px rgba(13,27,62,.15),
    0 0 0 1px rgba(13,27,62,.06);
}
[data-theme="light"] .bp-logo img,
[data-theme="light"] .bp-credit img {
  filter:
    drop-shadow(0 8px 18px rgba(13,27,62,.18));
}
[data-theme="light"] .bp-eyebrow { color: var(--bp-ink); }
[data-theme="light"] .bp-credit-l { color: rgba(13,27,62,.5); }
[data-theme="light"] .bp-coord {
  color: rgba(13,27,62,.55);
  background: rgba(255,255,255,.7);
  border-color: rgba(13,27,62,.08);
}
[data-theme="light"] .bp-grid {
  background-image: radial-gradient(circle, rgba(13,27,62,.10) 1px, transparent 1px);
}
[data-theme="light"] .bp-reticle {
  border-color: rgba(13,27,62,.18);
}
[data-theme="light"] .bp-reticle::before,
[data-theme="light"] .bp-reticle::after { background: rgba(13,27,62,.18); }
[data-theme="light"] .bp-head,
[data-theme="light"] .bp-foot { border-color: rgba(13,27,62,.10); }


/* ═══════════════════════════════════════════════════════════════
   Hero meta cells (light tweak: text fits navy theme)
   ═══════════════════════════════════════════════════════════════ */
/* Removed legacy .hero-meta-corevio / .powered-by — brand panel owns these now */


/* ═══════════════════════════════════════════════════════════════
   Footer brand — same design language as the brand panel
   ═══════════════════════════════════════════════════════════════ */
.foot-brandline {
  display: inline-grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  text-decoration: none;
  width: fit-content;
  align-items: center;
}
.foot-applogo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px; height: 60px;
  flex-shrink: 0;
  border-radius: 14px;
  padding: 9px;
  background:
    radial-gradient(ellipse at 30% 22%, #ffffff 0%, #f1f7fb 60%, #e2edf4 100%);
  border: 1px solid rgba(13,27,62,.10);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -8px 18px rgba(13,27,62,.04),
    0 10px 26px rgba(0,0,0,.4),
    0 0 0 1px rgba(92,199,232,.2),
    0 0 22px rgba(92,199,232,.2);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.foot-applogo::after {
  content: '';
  position: absolute;
  top: -40%; left: -60%;
  width: 50%; height: 180%;
  background: linear-gradient(110deg,
    transparent 35%,
    rgba(92,199,232,.32) 50%,
    transparent 65%);
  transform: rotate(8deg);
  animation: tileShine 7s ease-in-out infinite;
  animation-delay: 2.2s;
  pointer-events: none;
}
.foot-applogo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 2;
  animation: footLogoFloat 7s ease-in-out infinite;
}
.foot-brandline:hover .foot-applogo {
  transform: scale(1.06) rotate(-2deg);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -8px 18px rgba(13,27,62,.04),
    0 14px 34px rgba(0,0,0,.5),
    0 0 0 1px rgba(92,199,232,.42),
    0 0 36px rgba(92,199,232,.42);
}
.foot-brandwords {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  gap: 4px;
}
.foot-brandname {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--tx);
}
.foot-brandname::first-letter { color: var(--pr); }
.foot-brandtag {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--t3);
}
@keyframes footLogoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

/* ─ Footer "A product of Corevio" credit ─ */
.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px 10px 16px;
  background: rgba(13,27,62,.45);
  border: 1px solid rgba(92,199,232,.22);
  border-radius: 999px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.powered-by::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(92,199,232,.18),
    transparent);
  animation: pbSweep 5s ease-in-out infinite;
  animation-delay: 2s;
  pointer-events: none;
}
.powered-by:hover {
  transform: translateY(-2px);
  border-color: rgba(92,199,232,.5);
  background: rgba(13,27,62,.7);
  box-shadow: 0 12px 24px rgba(0,0,0,.4);
}
.pb-l {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--t3);
}
.pb-mark {
  height: 30px;
  width: auto;
  display: block;
  background:
    radial-gradient(ellipse at 30% 22%, #ffffff 0%, #f1f7fb 60%, #e2edf4 100%);
  padding: 4px 8px;
  border-radius: 7px;
  border: 1px solid rgba(13,27,62,.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 3px 10px rgba(13,27,62,.4),
    0 0 0 1px rgba(92,199,232,.2);
  transition: transform .25s, box-shadow .25s;
}
.powered-by:hover .pb-mark {
  transform: scale(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 5px 14px rgba(0,0,0,.4),
    0 0 0 1px rgba(92,199,232,.45);
}
@keyframes pbSweep {
  0%   { left: -60%; }
  50%  { left: 110%; }
  100% { left: 110%; }
}

.powered-by-foot {
  align-self: flex-start;
  margin-top: 6px;
  padding: 8px 16px 8px 14px;
  background: rgba(255,255,255,.03);
}
.powered-by-foot .pb-mark { height: 26px; }


/* ═══════════════════════════════════════════════════════════════
   Reduced motion
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .brand-panel *,
  .chrome-mark-app img, .chrome-mark-app::after,
  .foot-applogo img, .foot-applogo::after,
  .powered-by::before,
  .pb-mark, .bp-shine, .bp-orb, .bp-radar, .bp-pulse, .bp-logo,
  .bp-live-dot, .bp-coord-bl::before, .bp-coord-br::before {
    animation: none !important;
  }
}
