/* ============================================================
   INTERTrack — Components
   Nav, footer, buttons, cards, tags, forms
   ============================================================ */

/* ══════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--dur-med) var(--ease);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-20);
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1;
  flex-shrink: 0;
}
.nav-brand .bi { color: var(--amber); }
.brand-icon { height: 26px; width: auto; }
.brand-icon-light { display: block; }
.brand-icon-dark { display: none; }
:root[data-theme="dark"] .brand-icon-light { display: none; }
:root[data-theme="dark"] .brand-icon-dark { display: block; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  font-size: var(--fs-13);
  color: var(--text-secondary);
  font-weight: 400;
  transition: color var(--dur-fast) var(--ease);
  position: relative;
}

.nav-links a:hover { color: var(--text-primary); }

/* Active page: accent colour + orange dot beneath */
.nav-links a.active { color: var(--amber); font-weight: 500; }

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -7px; left: 50%;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--amber);
}

.nav-right {
  display: flex;
  gap: var(--sp-3);
  align-items: center;
  flex-shrink: 0;
}

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease);
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: var(--r-pill);
  transition: all var(--dur-med) var(--ease);
}

.nav-hamburger:hover { background: var(--bg-surface); color: var(--text-primary); }

/* Mobile drawer */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: var(--sp-4) var(--pad-x) var(--sp-5);
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-15);
  color: var(--text-secondary);
}
.nav-mobile a:last-child { border-bottom: 0; }
.nav-mobile a:hover { color: var(--text-primary); }
.nav-mobile a.active { color: var(--amber); font-weight: 500; }
.nav-mobile a.active::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-right: 8px;
  vertical-align: middle;
  border-radius: 50%;
  background: var(--amber);
}

/* Theme toggle */
.theme-toggle {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  color: var(--text-secondary);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.theme-toggle:hover { background: var(--bg-surface); color: var(--text-primary); }
.theme-toggle svg {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
:root[data-theme="dark"] .icon-sun  { display: block; }
:root[data-theme="dark"] .icon-moon { display: none;  }
:root[data-theme="light"] .icon-sun  { display: none;  }
:root[data-theme="light"] .icon-moon { display: block; }

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 10px 18px;
  border-radius: var(--r-sm);
  font-size: var(--fs-13);
  font-weight: 500;
  font-family: var(--font-sans);
  line-height: 1;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--amber);
  color: var(--amber-on);
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-hover); border-color: var(--amber-hover); transform: translateY(-1px); }
.btn-primary:active { transform: none; }

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
}
.btn-secondary:hover { border-color: var(--border-strong); background: var(--bg-surface-2); }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  padding: 10px 0;
  border-color: transparent;
}
.btn-ghost:hover { color: var(--amber); }

.btn-sm { padding: 7px 12px; font-size: var(--fs-12); }
.btn-lg { padding: 13px 24px; font-size: var(--fs-15); }

/* ══════════════════════════════════════════════════════════
   EYEBROW
   ══════════════════════════════════════════════════════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--amber);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-5);
}

.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  outline: 2px solid var(--amber-soft);
  animation: pulse-dot 2.4s var(--ease) infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { outline-color: var(--amber-soft); }
  50%       { outline-color: var(--amber-border); }
}

/* ══════════════════════════════════════════════════════════
   TAGS / BADGES
   ══════════════════════════════════════════════════════════ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 3px 8px;
  border-radius: var(--r-xs);
  font-size: var(--fs-11);
  font-weight: 500;
  font-family: var(--font-mono);
  border: 1px solid transparent;
}

.tag-amber   { background: var(--amber-soft);   color: var(--amber);   border-color: var(--amber-border); }
.tag-success { background: var(--success-soft);  color: var(--success); border-color: rgba(52,211,153,0.25); }
.tag-danger  { background: var(--danger-soft);   color: var(--danger);  border-color: rgba(248,113,113,0.25); }
.tag-neutral { background: var(--bg-surface-2);  color: var(--text-secondary); border-color: var(--border-default); }
.tag-info    { background: var(--info-soft, rgba(96,165,250,.1)); color: var(--info); border-color: rgba(96,165,250,.25); }

/* ══════════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════════ */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color var(--dur-med) var(--ease);
}

.card:hover { border-color: var(--border-default); }

.card-amber {
  background: var(--amber-soft);
  border-color: var(--amber-border);
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}

/* ══════════════════════════════════════════════════════════
   SECTION HEADERS
   ══════════════════════════════════════════════════════════ */
.section-header {
  max-width: 680px;
  margin-bottom: var(--sp-8);
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 { margin-bottom: var(--sp-4); }

.section-header p {
  font-size: var(--fs-17);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   DIVIDER
   ══════════════════════════════════════════════════════════ */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--sp-9) 0;
}

/* ══════════════════════════════════════════════════════════
   FORMS (Contact / Demo request)
   ══════════════════════════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.form-label {
  font-size: var(--fs-13);
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  font-size: var(--fs-14);
  color: var(--text-primary);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-muted); }

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: var(--bg-surface-2);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-select { appearance: none; cursor: pointer; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: var(--sp-9) 0 var(--sp-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.footer-brand-col { max-width: 300px; }

.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
  margin: var(--sp-4) 0;
}

.footer-blurb {
  font-size: var(--fs-13);
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col-title {
  font-size: var(--fs-11);
  letter-spacing: 0.07em;
  color: var(--text-tertiary);
  font-weight: 500;
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: var(--fs-13);
  color: var(--text-secondary);
  transition: color var(--dur-fast) var(--ease);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border-subtle);
  font-size: var(--fs-12);
  color: var(--text-tertiary);
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.footer-base-left { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; }
.footer-base-right { display: flex; align-items: center; gap: var(--sp-5); flex-wrap: wrap; }

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-12);
  color: var(--text-secondary);
}

.status-dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--success);
  outline: 2px solid var(--success-soft);
}

.footer-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-11);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── Footer responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--sp-6); }
  .footer-brand-col { grid-column: span 3; max-width: 100%; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); }
  .footer-brand-col { grid-column: span 2; }
}

/* ══════════════════════════════════════════════════════════
   NAV RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* ══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ══════════════════════════════════════════════════════════ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  font-size: var(--fs-12);
  font-weight: 500;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.lang-switch:hover {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: var(--amber-border);
}

/* ══════════════════════════════════════════════════════════
   PRODUCT PAGE — screenshot frame, hero, pipeline, comparison
   ══════════════════════════════════════════════════════════ */

/* Browser-style screenshot frame (theme-aware chrome) */
.shot-frame {
  border: 1px solid var(--border-default);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: 0 24px 60px -24px rgba(15, 17, 23, 0.28);
}
:root[data-theme="dark"] .shot-frame { box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.6); }
.shot-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-surface-2);
  border-bottom: 1px solid var(--border-subtle);
}
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.shot-img { display: block; line-height: 0; }
.shot-img img { width: 100%; display: block; }
/* Light/dark screenshot swap — only when a dark image is supplied.
   With light image only, it stays visible in both themes (framed by theme-aware chrome). */
.shot-dark { display: none; }
:root[data-theme="dark"] .shot-frame.has-dark .shot-light { display: none; }
:root[data-theme="dark"] .shot-frame.has-dark .shot-dark { display: block; }

/* Product hero */
.product-hero {
  padding: calc(var(--nav-h) + var(--sp-9)) 0 var(--sp-9);
  background: var(--bg-base);
}
.product-hero .container { position: relative; }
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.product-hero h1 { font-size: var(--fs-48); line-height: 1.05; letter-spacing: -0.02em; margin-bottom: var(--sp-5); }
.product-hero-lead { font-size: var(--fs-18); color: var(--text-secondary); line-height: 1.6; margin-bottom: var(--sp-6); max-width: 46ch; }
.product-hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
@media (max-width: 900px) {
  .product-hero-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .product-hero h1 { font-size: var(--fs-40); }
}

/* Pipeline (Track → Detect → Resolve flow) */
.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(var(--pcols, 4), 1fr);
  gap: var(--sp-5);
}
.pipeline-step {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: var(--sp-6) var(--sp-5);
}
.pipeline-step .pstep-num {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-4);
}
.pipeline-step h4 { font-size: var(--fs-17); margin-bottom: var(--sp-3); }
.pipeline-step p { font-size: var(--fs-13); color: var(--text-secondary); line-height: 1.6; }
.pipeline-step .pstep-arrow {
  position: absolute; top: 50%; right: calc(var(--sp-5) / -2);
  transform: translate(50%, -50%);
  color: var(--text-muted); z-index: 2;
}
.pipeline-step:last-child .pstep-arrow { display: none; }
@media (max-width: 900px) {
  .pipeline-grid { grid-template-columns: 1fr; }
  .pipeline-step .pstep-arrow { display: none; }
}

/* Comparison table (INTERtrack vs typical trackers) */
.cmp-table { width: 100%; border-collapse: collapse; font-size: var(--fs-14); }
.cmp-table thead th {
  text-align: left; padding: var(--sp-4) var(--sp-4);
  border-bottom: 1px solid var(--border-default);
  font-size: var(--fs-13); color: var(--text-tertiary); font-weight: 500;
}
.cmp-table thead th.cmp-us { color: var(--amber); }
.cmp-table tbody td { padding: var(--sp-4) var(--sp-4); border-bottom: 1px solid var(--border-subtle); }
.cmp-table tbody td:first-child { color: var(--text-primary); }
.cmp-table tbody td.cmp-cell { text-align: center; width: 22%; }
.cmp-us-col { background: var(--amber-soft); }
.cmp-yes { color: var(--success); font-weight: 600; }
.cmp-no { color: var(--text-muted); }
.cmp-partial { color: var(--text-tertiary); font-size: var(--fs-12); }
.cmp-wrap { border: 1px solid var(--border-subtle); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; }

/* Spec list (hardware) */
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2) var(--sp-6); }
.spec-row { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--border-subtle); font-size: var(--fs-13); }
.spec-row .spec-k { color: var(--text-tertiary); }
.spec-row .spec-v { color: var(--text-primary); text-align: right; font-weight: 500; }
@media (max-width: 640px) { .spec-list { grid-template-columns: 1fr; } }

/* Compliance badge strip */
.badge-strip { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; }
.badge-chip {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border-default); border-radius: var(--r-pill);
  font-size: var(--fs-13); color: var(--text-secondary); background: var(--bg-surface);
}
.badge-chip strong { color: var(--text-primary); font-weight: 600; }

/* App showcase — phone mockups (transparent PNG/WebP, no frame) */
.phone-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--sp-7);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}
.phone-shot {
  height: 560px;
  width: auto;
  filter: drop-shadow(0 26px 44px rgba(15, 17, 23, 0.22));
}
:root[data-theme="dark"] .phone-shot { filter: drop-shadow(0 26px 44px rgba(0, 0, 0, 0.55)); }
.phone-shot.phone-lift { margin-bottom: var(--sp-7); }
@media (max-width: 720px) {
  .phone-row { gap: var(--sp-5); }
  .phone-shot { height: 400px; }
  .phone-shot.phone-lift { margin-bottom: 0; }
}

/* Subtle dot-grid motif — quiet technical texture, theme-aware */
.hex-motif { position: relative; overflow: hidden; }
.hex-motif > .container { position: relative; z-index: 1; }
.hex-motif::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(currentColor 1px, transparent 1.6px);
  background-size: 26px 26px; color: var(--text-tertiary); opacity: 0.10;
  -webkit-mask-image: radial-gradient(72% 62% at 100% 0%, #000, transparent 62%);
          mask-image: radial-gradient(72% 62% at 100% 0%, #000, transparent 62%);
}
:root[data-theme="dark"] .hex-motif::before { opacity: 0.16; }

/* Icon inside split-feature cards */
.split-ico { width: 34px; height: 34px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; color: var(--amber); background: var(--amber-soft); margin-bottom: var(--sp-3); }
.split-ico svg { width: 18px; height: 18px; }

/* Dark accent band (Integrations / API) — deep navy in both themes */
.api-band { background: #0F1729; position: relative; overflow: hidden; }
.api-band .eyebrow { color: var(--amber); }
.api-band h2 { color: #F4F4F5; }
.api-band .api-sub { color: #94A3B8; max-width: 60ch; }
.api-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1.6px);
  background-size: 26px 26px; opacity: 0.06;
  -webkit-mask-image: radial-gradient(72% 62% at 100% 0%, #000, transparent 62%);
          mask-image: radial-gradient(72% 62% at 100% 0%, #000, transparent 62%);
}
.api-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); margin-top: var(--sp-7); position: relative; z-index: 1; }
.api-item .api-ico { width: 42px; height: 42px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; color: var(--amber); background: rgba(232,97,26,0.14); margin-bottom: var(--sp-4); }
.api-item .api-ico svg { width: 20px; height: 20px; }
.api-item h5 { color: #F4F4F5; font-size: var(--fs-15); margin-bottom: var(--sp-2); }
.api-item p { color: #94A3B8; font-size: var(--fs-13); line-height: 1.6; }
@media (max-width: 900px) { .api-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .api-grid { grid-template-columns: 1fr; } }

/* Plain product image (e.g. hardware / BLE tag render — no browser chrome) */
.prod-shot { width: 100%; display: block; border-radius: var(--r-lg); box-shadow: 0 26px 60px -26px rgba(15, 17, 23, 0.30); }
:root[data-theme="dark"] .prod-shot { box-shadow: 0 26px 60px -26px rgba(0, 0, 0, 0.6); }


/* ============================================================
   Signal-ping motif — point-field pings (reusable, theme-aware)
   Radar-style echo on the brand orange. Static base ring keeps
   the mark visible when prefers-reduced-motion disables the echo.
   ============================================================ */
.motif-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.signal-ping { position: absolute; width: 0; height: 0; color: var(--amber); }
.signal-ping i { position: absolute; left: 0; top: 0; border-radius: 50%; border: 1.5px solid currentColor; transform: translate(-50%, -50%); }
.signal-ping b { position: absolute; left: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transform: translate(-50%, -50%); }
.signal-ping .r-static { width: 30px; height: 30px; opacity: 0.35; }
.signal-ping i.echo { width: 64px; height: 64px; opacity: 0; animation: signal-echo 3.4s var(--ease-out) infinite; }
@keyframes signal-echo {
  0%   { transform: translate(-50%, -50%) scale(0.18); opacity: 0.6; }
  70%  { opacity: 0.1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}


/* Card elevation so cards read on any section background */
.card, .diff-card, .pipeline-step { box-shadow: 0 1px 2px rgba(15,23,41,0.05), 0 2px 8px rgba(15,23,41,0.05); }
:root[data-theme="dark"] .card, :root[data-theme="dark"] .diff-card, :root[data-theme="dark"] .pipeline-step { box-shadow: 0 1px 3px rgba(0,0,0,0.35); border-color: var(--border-default); }


/* Product hero — live tracking-map visual */
.hero-live { position: relative; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 1px 2px rgba(15,23,41,0.05), 0 14px 34px rgba(15,23,41,0.07); }
.hl-bar { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--border-subtle); }
.hl-title { font-family: var(--font-mono); font-size: var(--fs-11); letter-spacing: 0.08em; color: var(--text-tertiary); }
.hl-live { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-12); font-weight: 600; color: var(--success); }
.hl-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-soft); }
.hl-map { position: relative; height: 340px; overflow: hidden;
  background: radial-gradient(120% 80% at 72% 18%, rgba(245,115,31,0.05), transparent 60%), var(--bg-surface); }
.hl-grid { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--text-primary); }
.hl-route { position: absolute; inset: 0; width: 100%; height: 100%; }
.hl-kpi { position: absolute; top: var(--sp-4); left: var(--sp-4); background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 8px 11px; box-shadow: 0 4px 12px rgba(15,23,41,0.08); }
.hl-kpi b { font-size: var(--fs-18); letter-spacing: -0.02em; }
.hl-kpi span { display: block; font-size: 10px; color: var(--text-tertiary); font-family: var(--font-mono); }
.hl-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--bg-elevated); border: 1px solid var(--border-subtle); border-radius: var(--r-md); padding: 8px 11px; box-shadow: 0 6px 18px rgba(15,23,41,0.12); font-size: var(--fs-12); color: var(--text-primary); }
.hl-chip > div { font-weight: 600; line-height: 1.15; }
.hl-chip small { display: block; font-weight: 400; font-size: 10px; color: var(--text-tertiary); margin-top: 1px; }
.hl-chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.hl-chip-ok .dot { background: var(--success); }
.hl-chip-alert .dot { background: var(--amber); }
