/* ════════════════════════════════════════════════════════════════════
   EXCAR: System layer (additive, namespaced `ex-`)
   Loaded AFTER style.css and premium.css.

   These are explanatory modules: the cabin-network chain, the reasons block,
   the product catalog, the roadmap stages and the 3D product viewer. They
   exist only where a diagram explains a relationship faster than a paragraph
   would.

   Every value below is derived from the existing design system:
   the same tokens, the same 18px card radius, the same mono micro-labels,
   the same accent blue. Nothing here overrides an existing rule.
   ════════════════════════════════════════════════════════════════════ */

:root {
  --ex-surface: rgba(19, 19, 26, 0.72);      /* bg-elev, semi-transparent */
  --ex-surface-2: rgba(26, 26, 36, 0.78);
  --ex-hairline: rgba(42, 42, 53, 0.9);      /* border, softened */
  --ex-grid-line: rgba(139, 139, 153, 0.055);
  --ex-radius: 18px;
  --ex-radius-sm: 12px;
}

/* ───────────────────────── Shared surface + micro-label ───────────────────────── */

.ex-panel {
  position: relative;
  background: var(--ex-surface);
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
}

/* Very faint technical grid. Sits under content, never competes with it. */
.ex-grid-tex::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--ex-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ex-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 0%, transparent 78%);
}

.ex-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.ex-label.is-on { color: var(--accent); }

.ex-note {
  font-size: 12.5px;
  color: var(--text-tertiary);
  line-height: 1.7;
  max-width: 780px;
  margin-top: 18px;
}

/* ═══════════════════════ 1. Ecosystem chain ═══════════════════════
   Phone → Wi-Fi → EXCAR One → Bluetooth → EXCAR Link → OBD-II → Vehicle
   One straight line, because the relationship is a straight line.  */

.ex-net {
  padding: 34px 28px 30px;
}
.ex-net-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.ex-net-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.ex-net-live i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px rgba(30, 151, 244, 0.7);
  animation: pulse 2s infinite;
}

.ex-chain {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
}

/* node */
.ex-node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 20px 14px;
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius-sm);
  background: rgba(10, 10, 15, 0.5);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.ex-node-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  border: 1px solid var(--ex-hairline);
  color: var(--text-tertiary);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.ex-node-icon svg { width: 19px; height: 19px; }
.ex-node-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.2px;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}
.ex-node-role {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1.6;
}

/* The one node that matters most is the only one wearing colour. */
.ex-node.is-core {
  background: rgba(30, 151, 244, 0.055);
  border-color: var(--accent-line);
  box-shadow: 0 0 34px -12px rgba(30, 151, 244, 0.55);
}
.ex-node.is-core .ex-node-icon { color: var(--accent); border-color: var(--accent-line); }
.ex-node.is-core .ex-node-name { color: var(--text); }
.ex-node.is-core .ex-node-role { color: var(--accent); }

.ex-node:hover { border-color: var(--accent-line); }
.ex-node:hover .ex-node-icon { color: var(--accent); }
.ex-node:hover .ex-node-name { color: var(--text); }

/* link */
.ex-link {
  flex: 0 1 108px;
  min-width: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
}
.ex-link-name {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.ex-wire {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ex-hairline) 18%, var(--ex-hairline) 82%, transparent);
}
/* the travelling signal */
.ex-wire::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 5px; height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 2px rgba(30, 151, 244, 0.65);
  animation: ex-pulse-x 2.8s linear infinite;
  animation-delay: var(--ex-delay, 0s);
}
/* signal that runs right-to-left (vehicle context travelling toward EXCAR) */
.ex-wire.is-reverse::after { animation-name: ex-pulse-x-rev; }

@keyframes ex-pulse-x {
  0%   { left: 0;    opacity: 0; }
  14%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes ex-pulse-x-rev {
  0%   { left: 100%; opacity: 0; }
  14%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { left: 0;    opacity: 0; }
}

/* Mobile: the chain becomes a vertical run and keeps its direction. */
@media (max-width: 860px) {
  .ex-net { padding: 26px 18px 24px; }
  .ex-chain { flex-direction: column; }
  .ex-node { flex-direction: row; text-align: left; gap: 14px; padding: 16px; }
  .ex-node-icon { flex: none; }
  .ex-node-text { min-width: 0; }
  .ex-link {
    flex: none;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 0 10px 18px;
    height: 58px;
  }
  .ex-wire {
    position: absolute;
    left: 18px; top: 0; bottom: 0;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--ex-hairline) 18%, var(--ex-hairline) 82%, transparent);
  }
  .ex-wire::after {
    left: 50%; top: 0;
    margin: -2.5px 0 0 -2.5px;
    animation-name: ex-pulse-y;
  }
  .ex-wire.is-reverse::after { animation-name: ex-pulse-y-rev; }
  .ex-link-name { margin-left: 22px; }
}
@keyframes ex-pulse-y {
  0%   { top: 0;    opacity: 0; }
  14%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@keyframes ex-pulse-y-rev {
  0%   { top: 100%; opacity: 0; }
  14%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { top: 0;    opacity: 0; }
}


/* ═══════════════════════ 3. Roadmap stages (real tabs) ═══════════════════════ */

.ex-stages {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 1px;
  background: var(--ex-hairline);
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
}

.ex-rail {
  background: var(--bg-elev);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ex-tab {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--ex-radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  font-family: var(--font-body);
  color: inherit;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ex-tab-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.ex-tab-id {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
  color: var(--text-tertiary);
}
.ex-tab-state {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border: 1px solid var(--ex-hairline);
  border-radius: 999px;
  padding: 2px 8px;
  white-space: nowrap;
}
.ex-tab-name {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.45;
  transition: color 0.2s ease;
}
.ex-tab:hover { background: var(--bg-elev-2); }
.ex-tab[aria-selected="true"] {
  background: rgba(30, 151, 244, 0.07);
  border-color: var(--accent-line);
}
.ex-tab[aria-selected="true"] .ex-tab-id,
.ex-tab[aria-selected="true"] .ex-tab-name { color: var(--text); }
.ex-tab[aria-selected="true"] .ex-tab-state { color: var(--accent); border-color: var(--accent-line); }

/* state colours */
.ex-tab[data-state="done"] .ex-tab-state { color: var(--success); border-color: rgba(46, 212, 119, 0.3); }
.ex-tab[data-state="active"] .ex-tab-state { color: var(--accent); border-color: var(--accent-line); }

.ex-stage-body {
  background: var(--bg-elev);
  padding: 34px 34px 36px;
  min-height: 340px;
}
.ex-stage-panel[hidden] { display: none; }
.ex-stage-panel {
  animation: ex-fade-up 0.4s var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1)) both;
}
@keyframes ex-fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.ex-stage-panel h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(21px, 2.6vw, 27px);
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin: 10px 0 14px;
}
.ex-stage-panel .ex-stage-lead {
  font-size: 15.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 26px;
}
.ex-stage-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ex-hairline);
}
.ex-stage-split h5 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 14px;
  font-weight: 400;
}
.ex-stage-split p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; }
.ex-gate { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ex-gate li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.ex-gate li::before {
  content: '';
  position: absolute;
  left: 0; top: 6px;
  width: 11px; height: 11px;
  border-radius: 3px;
  border: 1px solid var(--accent-line);
  background: var(--accent-dim);
}

@media (max-width: 900px) {
  .ex-stages { grid-template-columns: 1fr; }
  .ex-rail {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding: 12px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .ex-rail::-webkit-scrollbar { height: 0; }
  .ex-tab {
    flex: 0 0 210px;
    scroll-snap-align: start;
    border-color: var(--ex-hairline);
  }
  .ex-stage-body { padding: 26px 20px 30px; min-height: 0; }
  .ex-stage-split { grid-template-columns: 1fr; gap: 24px; }
}

/* ═══════════════════════ 3b. Live status list ═══════════════════════
   Deliberately not a card grid: the About page already owns that shape.  */

.ex-live {
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
}
.ex-live-row {
  display: grid;
  grid-template-columns: 14px minmax(190px, 0.9fr) 2fr auto;
  align-items: baseline;
  gap: 18px;
  padding: 20px 24px;
  background: var(--bg-elev);
  border-top: 1px solid var(--ex-hairline);
  transition: background 0.25s ease;
}
.ex-live-row:first-child { border-top: none; }
.ex-live-row:hover { background: var(--bg-elev-2); }
.ex-live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px rgba(30, 151, 244, 0.6);
  transform: translateY(-2px);
}
.ex-live-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.2px;
  color: var(--text);
}
.ex-live-note { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }
.ex-live-state {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .ex-live-row {
    grid-template-columns: 14px 1fr auto;
    row-gap: 8px;
    padding: 18px 18px;
  }
  .ex-live-note { grid-column: 2 / -1; }
}

/* ═══════════════════════ 4. Dual-track convergence ═══════════════════════ */

.ex-tracks {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 1px;
  background: var(--ex-hairline);
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
}
.ex-track-name {
  background: var(--bg-elev-2);
  padding: 22px 18px;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  line-height: 1.6;
}
.ex-track-row {
  background: var(--bg-elev);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.ex-beat {
  position: relative;
  padding: 22px 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  align-items: center;
}
.ex-beat + .ex-beat::before {
  content: '';
  position: absolute;
  left: -4px; top: 50%;
  width: 7px; height: 7px;
  margin-top: -3.5px;
  border-top: 1px solid var(--text-tertiary);
  border-right: 1px solid var(--text-tertiary);
  transform: rotate(45deg);
  opacity: 0.6;
}
.ex-beat.is-now { color: var(--text); gap: 9px; }
.ex-beat.is-now::after {
  content: '';
  order: -1;
  flex: none;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px rgba(30, 151, 244, 0.6);
  align-self: center;
}

/* The convergence line is a footnote to the two tracks, not a billboard.
   One row, one line, same weight as the beats it summarises. */
.ex-converge {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--bg-elev-2);
  border-top: 1px solid var(--accent-line);
  padding: 15px 24px;
}
.ex-converge .ex-label { color: var(--accent); flex: none; }
.ex-converge p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.2px;
  color: var(--text);
  margin: 0;
}
@media (max-width: 900px) {
  .ex-converge { padding: 14px 18px; gap: 8px; }
}

@media (max-width: 900px) {
  .ex-tracks { grid-template-columns: 1fr; }
  .ex-track-row { grid-template-columns: 1fr; }
  .ex-beat { padding: 15px 18px; }
  .ex-beat + .ex-beat::before {
    left: 50%; top: -4px;
    margin-top: 0; margin-left: -3.5px;
    transform: rotate(135deg);
  }
  .ex-beat.is-now::after { display: none; }
}

/* ═══════════════════════ 5. Allocation matrix (investors) ═══════════════════════ */

.ex-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.ex-hub {
  grid-column: 1 / -1;
  text-align: center;
  padding: 34px 26px;
  background: rgba(30, 151, 244, 0.06);
  border: 1px solid var(--accent-line);
  border-radius: var(--ex-radius);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ex-hub h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 34px);
  letter-spacing: -0.8px;
  margin: 12px 0 10px;
  position: relative;
}
.ex-hub p {
  font-size: 14.5px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.ex-hub .ex-label { color: var(--accent); position: relative; }

.ex-spoke {
  background: var(--ex-surface);
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  padding: 26px 24px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.ex-spoke:hover { border-color: var(--accent-line); background: var(--bg-elev-2); }
.ex-spoke-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--accent-line);
  background: var(--accent-dim);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.ex-spoke-icon svg { width: 20px; height: 20px; }
.ex-spoke h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
}
.ex-spoke p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* Desktop: the milestone genuinely sits in the middle, with the four inputs
   around it. DOM order stays hub-first so mobile and screen readers lead with
   the thing everything points at. Children are all divs, so nth-child is exact:
   1 = hub, 2–5 = the four spokes. */
@media (min-width: 901px) {
  .ex-matrix {
    grid-template-columns: 1fr 1.25fr 1fr;
    grid-template-rows: auto auto;
  }
  .ex-matrix > :nth-child(1) { grid-column: 2; grid-row: 1 / 3; }
  .ex-matrix > :nth-child(2) { grid-column: 1; grid-row: 1; }
  .ex-matrix > :nth-child(3) { grid-column: 3; grid-row: 1; }
  .ex-matrix > :nth-child(4) { grid-column: 1; grid-row: 2; }
  .ex-matrix > :nth-child(5) { grid-column: 3; grid-row: 2; }
}
@media (max-width: 620px) {
  .ex-matrix { grid-template-columns: 1fr; }
}

/* ═══════════════════════ 6. Evidence ledger ═══════════════════════
   Four honest columns: running / verified / next gate / vision.  */

.ex-evidence {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ex-hairline);
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
}
.ex-ev-col { background: var(--bg-elev); padding: 26px 22px 28px; }
.ex-ev-col h4 {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.ex-ev-col h4 i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-tertiary);
  flex: none;
}
.ex-ev-col.is-live h4 { color: var(--accent); }
.ex-ev-col.is-live h4 i { background: var(--accent); box-shadow: 0 0 8px 1px rgba(30,151,244,0.6); }
.ex-ev-col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.ex-ev-col li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-top: 13px;
  border-top: 1px solid var(--ex-hairline);
}
.ex-ev-col li:first-child { padding-top: 0; border-top: none; }
.ex-ev-col.is-live li { color: var(--text); }

@media (max-width: 980px) { .ex-evidence { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ex-evidence { grid-template-columns: 1fr; } }

/* ═══════════════════════ 7. Subsystem list (product) ═══════════════════════ */

.ex-sub {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ex-hairline);
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
}
.ex-sub-cell {
  background: var(--bg-elev);
  padding: 22px 20px;
  transition: background 0.25s ease;
}
.ex-sub-cell:hover { background: var(--bg-elev-2); }
.ex-sub-cell .ex-label { display: block; margin-bottom: 9px; }
.ex-sub-cell h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.2px;
  margin-bottom: 7px;
}
.ex-sub-cell p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; }
@media (max-width: 900px) { .ex-sub { grid-template-columns: 1fr; } }

/* ═══════════════════════ 8. 3D product viewer ═══════════════════════ */

.ex-viewer {
  position: relative;
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(30, 151, 244, 0.10) 0%, transparent 62%),
    var(--bg-elev);
}
.ex-viewer-stage {
  position: relative;
  width: 100%;
  height: clamp(340px, 56vh, 560px);
}
.ex-viewer model-viewer {
  display: block;
  width: 100%;
  height: 100%;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: var(--accent);
  --progress-bar-height: 2px;
  outline: none;
}
.ex-viewer model-viewer[hidden] { display: none; }

/* poster shown before the model is ready */
.ex-viewer-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.ex-viewer-poster img {
  max-width: 78%;
  max-height: 82%;
  object-fit: contain;
  opacity: 0.5;
  filter: blur(1px);
}
.ex-viewer.is-ready .ex-viewer-poster { opacity: 0; }

.ex-viewer-status {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: linear-gradient(180deg, transparent, rgba(10, 10, 15, 0.75));
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.ex-viewer.is-ready .ex-viewer-status { opacity: 0; }
.ex-viewer-bar {
  flex: 1;
  max-width: 180px;
  height: 2px;
  background: var(--ex-hairline);
  border-radius: 2px;
  overflow: hidden;
}
.ex-viewer-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
  box-shadow: 0 0 8px 1px rgba(30, 151, 244, 0.6);
  transition: width 0.25s ease;
}

.ex-viewer-error {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 28px;
  background: rgba(10, 10, 15, 0.9);
}
.ex-viewer.is-error .ex-viewer-error { display: flex; }
.ex-viewer.is-error .ex-viewer-status { display: none; }
.ex-viewer-error p { font-size: 14px; color: var(--text-secondary); max-width: 380px; }
.ex-viewer-error .ex-label { color: var(--error); }

/* Model not shipped yet: a calm waiting state, not a failure. */
.ex-viewer.is-pending .ex-viewer-error { display: flex; background: transparent; }
.ex-viewer.is-pending .ex-viewer-error .ex-label { color: var(--accent); }
.ex-viewer.is-pending .ex-viewer-status { display: none; }
.ex-viewer.is-pending .ex-viewer-stage { height: clamp(260px, 38vh, 380px); }
.ex-viewer.is-pending .ex-viewer-poster { display: none; }

/* toolbar */
.ex-viewer-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ex-hairline);
  background: rgba(10, 10, 15, 0.45);
}
.ex-switch { display: flex; gap: 6px; }
.ex-switch button {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  background: transparent;
  border: 1px solid var(--ex-hairline);
  border-radius: 999px;
  padding: 7px 16px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.ex-switch button:hover { color: var(--text); border-color: var(--text-tertiary); }
.ex-switch button[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-dim);
}
.ex-viewer-tools { display: flex; align-items: center; gap: 10px; }
.ex-viewer-tools .ex-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.ex-reset {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--ex-hairline);
  border-radius: 999px;
  padding: 7px 14px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ex-reset:hover { color: var(--text); border-color: var(--accent-line); }

.ex-viewer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--ex-hairline);
}
.ex-viewer-meta div {
  flex: 1 1 160px;
  padding: 16px 18px;
  border-right: 1px solid var(--ex-hairline);
}
.ex-viewer-meta div:last-child { border-right: none; }
.ex-viewer-meta .ex-label { display: block; margin-bottom: 6px; }
.ex-viewer-meta strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.2px;
}
@media (max-width: 620px) {
  .ex-viewer-tools .ex-hint { display: none; }
  .ex-viewer-meta div { flex-basis: 50%; }
}

/* ═══════════════════════ 9. Compact chain (home teaser) ═══════════════════════
   The same diagram as the product page with the descriptions stripped out, so
   the home page previews the idea in the language the product page speaks. */

.ex-chain.is-compact .ex-node { padding: 16px 12px; gap: 9px; }
.ex-chain.is-compact .ex-node-icon { width: 34px; height: 34px; border-radius: 9px; }
.ex-chain.is-compact .ex-node-icon svg { width: 17px; height: 17px; }
.ex-chain.is-compact .ex-node-name { font-size: 15px; }
.ex-chain.is-compact .ex-link { flex-basis: 96px; }

.ex-net-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--accent);
  transition: gap 0.25s var(--ease-fluid, ease);
}
.ex-net-link:hover { gap: 13px; }

@media (max-width: 860px) {
  .ex-chain.is-compact .ex-node { padding: 14px 16px; }
  .ex-net-link { margin-top: 20px; }
}

/* ═══════════════════════ 9b. Product shots + pending state ═══════════════════════
   Every product image on this page points at a render that may not exist yet.
   If the file is missing the browser fires an error, system.js flags the figure,
   and this quiet placeholder takes over: right aspect ratio, no broken icon,
   no layout shift. Drop the real file in and it simply appears. */

.ex-shot {
  position: relative;
  margin: 0;
  border-radius: var(--ex-radius);
  overflow: hidden;
  aspect-ratio: var(--ex-ratio, 16 / 10);
  background: radial-gradient(ellipse at 50% 38%, rgba(30, 151, 244, 0.10) 0%, transparent 64%), var(--bg-elev);
  border: 1px solid var(--ex-hairline);
}
.ex-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
}
.ex-shot-pending {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.ex-shot.is-pending img { display: none; }
.ex-shot.is-pending .ex-shot-pending { display: flex; }
.ex-shot.is-pending { border-style: dashed; }
.ex-shot-pending b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.2px;
  color: var(--text-secondary);
}
.ex-shot-pending span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* A full-bleed lit scene rather than a product cut-out: fill the frame. */
.ex-shot.is-scene img { object-fit: cover; padding: 0; }


/* ═══════════════════════ 9c. Device cards ═══════════════════════
   The render carries the product; the list underneath is support, not the point. */

/* Always two across, phones included: the pair is the point, so they never
   stack into two separate-looking products. */
.ex-devices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ex-device {
  display: flex;
  flex-direction: column;
  background: var(--ex-surface);
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.ex-device:hover { border-color: var(--accent-line); }
.ex-device .ex-shot {
  border: none;
  border-radius: 0;
  border-bottom: 1px solid var(--ex-hairline);
}
.ex-device-body { padding: 24px 24px 28px; }
.ex-device-body .kicker { display: block; margin-bottom: 8px; }
.ex-device-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.6px;
  margin-bottom: 18px;
}

@media (max-width: 820px) {
  .ex-devices { gap: 12px; }
  .ex-device-body { padding: 18px 16px 22px; }
  .ex-device-body h3 { font-size: 19px; margin-bottom: 14px; }
  .ex-device-body .tick-list { gap: 7px; }
  .ex-device-body .tick-list li { font-size: 12.5px; gap: 8px; line-height: 1.45; }
  .ex-device-body .tick-list li::before { width: 11px; height: 11px; margin-top: 2px; }
}
@media (max-width: 420px) {
  .ex-devices { gap: 8px; }
  .ex-device-body { padding: 14px 12px 18px; }
  .ex-device-body h3 { font-size: 16.5px; }
  .ex-device-body .tick-list li { font-size: 11.5px; }
}

/* ═══════════════════════ 9c-2. Reasons ═══════════════════════
   Three beats of an argument, not three feature boxes. Large quiet numerals,
   a hairline above each, and enough room for the sentence to land. */

.ex-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.ex-reason { padding-top: 22px; border-top: 1px solid var(--accent-line); }
.ex-reason-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
}
.ex-reason h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.4px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.ex-reason p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

.ex-closer {
  margin-top: 52px;
  padding: 38px 36px;
  border-radius: var(--ex-radius);
  border: 1px solid var(--ex-hairline);
  background: rgba(30, 151, 244, 0.045);
  text-align: center;
}
.ex-closer p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.7px;
  max-width: 780px;
  margin: 0 auto;
}
.ex-closer p em { font-style: normal; color: var(--accent); }

@media (max-width: 900px) {
  .ex-reasons { grid-template-columns: 1fr; gap: 30px; }
  .ex-closer { margin-top: 36px; padding: 28px 22px; }
}

/* ═══════════════════════ 9d. Product catalog ═══════════════════════
   Two install families, seven names, one of them real. The real one is the
   only tile wearing accent; everything else is a map pin, not a shelf item. */

.ex-cat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ex-hairline);
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
}
.ex-cat.is-pro { grid-template-columns: repeat(3, 1fr); }
.ex-cat-item {
  background: var(--bg-elev);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.3s ease;
}
.ex-cat-item:hover { background: var(--bg-elev-2); }
.ex-cat-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: var(--text-secondary);
}
.ex-cat-item p { font-size: 13.5px; color: var(--text-tertiary); line-height: 1.6; flex: 1; }
.ex-cat-state {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: var(--text-tertiary);
  border: 1px solid var(--ex-hairline);
  border-radius: 999px;
  padding: 3px 9px;
}
.ex-cat-item.is-hero { background: rgba(30, 151, 244, 0.07); }
.ex-cat-item.is-hero:hover { background: rgba(30, 151, 244, 0.1); }
.ex-cat-item.is-hero h4 { color: var(--text); }
.ex-cat-item.is-hero p { color: var(--text-secondary); }
.ex-cat-item.is-hero .ex-cat-state {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

/* The family shot introduces the whole catalog, so it gets the full width and
   a little more air than an ordinary figure. */
.ex-lineup { border-color: var(--ex-hairline); }
.ex-lineup img { border-radius: inherit; }

.ex-cat-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 40px 0 16px;
}
.ex-cat-head:first-of-type { margin-top: 0; }
.ex-cat-head h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.3px;
}
.ex-cat-head span { font-size: 14px; color: var(--text-tertiary); }

@media (max-width: 900px) {
  .ex-cat, .ex-cat.is-pro { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .ex-cat, .ex-cat.is-pro { grid-template-columns: 1fr; }
}

/* Comparison table, same hairlines as every other surface. */
.ex-table-wrap {
  border: 1px solid var(--ex-hairline);
  border-radius: var(--ex-radius);
  overflow: hidden;
}
.ex-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ex-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text-tertiary);
  padding: 15px 18px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--ex-hairline);
}
.ex-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--ex-hairline);
  color: var(--text-secondary);
  vertical-align: top;
  line-height: 1.55;
}
.ex-table tr:last-child td { border-bottom: none; }
.ex-table tbody tr { background: var(--bg-elev); transition: background 0.25s ease; }
.ex-table tbody tr:hover { background: var(--bg-elev-2); }
.ex-table td:first-child {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.ex-table tr.is-hero { background: rgba(30, 151, 244, 0.07); }
.ex-table tr.is-hero:hover { background: rgba(30, 151, 244, 0.1); }
.ex-table tr.is-hero td { color: var(--text); }
.ex-table tr.is-hero td:first-child { color: var(--accent); }

@media (max-width: 760px) {
  .ex-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ex-table { min-width: 680px; }
}

/* ═══════════════════════ 10. Product hero ═══════════════════════
   Words on the left, the product lit on the right. The render arrives with a
   transparent background, so the light around it is built here: a wide cool
   pool behind the devices, a tight hot core where the display sits, a ground
   reflection under them, and one slow sheen passing across the whole stage. */

/* The hero owns the first screen. Without this the next section's heading
   peeks above the fold and sits there half-wiped by its own scroll animation,
   which reads as a rendering fault rather than an effect. */
.ex-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 112px 0 64px;
  position: relative;
  overflow: hidden;
}
.ex-hero > .container { width: 100%; }
.ex-hero::before {
  content: '';
  position: absolute;
  top: -6%; right: -8%;
  width: 78%;
  height: 118%;
  background: radial-gradient(ellipse 55% 50% at 55% 45%, rgba(30, 151, 244, 0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ex-hero > .container { position: relative; z-index: 1; }

.ex-hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 40px;
  align-items: center;
}

.ex-hero-text .eyebrow { margin-bottom: 20px; }
.ex-hero-text h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -1.8px;
  margin-bottom: 22px;
}
.ex-hero-text h1 .accent { color: var(--accent); }
/* Keep the product name on one line: "Meet EXCAR / One." reads as a mistake. */
.ex-hero-text h1 .nowrap { white-space: nowrap; }
.ex-hero-text p.lead {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0;
  line-height: 1.55;
}
.ex-hero-text p.sub {
  font-size: 16px;
  color: var(--text-tertiary);
  max-width: 500px;
  margin: 16px 0 0;
  line-height: 1.7;
}

/* ── The lit stage ── */
.ex-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.ex-stage img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  max-width: 620px;
  /* A cool rim on the devices themselves, plus a soft cast shadow. */
  filter:
    drop-shadow(0 0 46px rgba(30, 151, 244, 0.26))
    drop-shadow(0 34px 46px rgba(0, 0, 0, 0.65));
}

/* Wide cool pool behind everything. */
.ex-stage::before {
  content: '';
  position: absolute;
  z-index: 0;
  left: 50%; top: 46%;
  width: 118%; height: 108%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse 42% 40% at 62% 40%, rgba(56, 170, 255, 0.20) 0%, transparent 68%),
    radial-gradient(ellipse 60% 55% at 45% 55%, rgba(16, 62, 110, 0.30) 0%, transparent 72%);
  filter: blur(6px);
  pointer-events: none;
}

/* Ground reflection: the devices sit on something, not float in space. */
.ex-stage::after {
  content: '';
  position: absolute;
  z-index: 1;
  left: 50%; bottom: 4%;
  width: 76%; height: 16%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(30, 151, 244, 0.22) 0%, rgba(30,151,244,0.05) 45%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
}

/* One slow sheen crossing the stage. Purely decorative, and the first thing
   reduced-motion turns off. */
.ex-stage-sheen {
  position: absolute;
  z-index: 3;
  top: 0; bottom: 0;
  left: -40%;
  width: 40%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0%, rgba(140, 200, 255, 0.07) 45%, rgba(140, 200, 255, 0.11) 50%, rgba(140, 200, 255, 0.07) 55%, transparent 100%);
  filter: blur(10px);
  animation: ex-sheen 9s var(--ease-soft, ease) infinite;
}
@keyframes ex-sheen {
  0%   { transform: translateX(0);    opacity: 0; }
  12%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateX(390%); opacity: 0; }
}

@media (max-width: 900px) {
  /* Stacked, a full viewport would push the buttons off screen. */
  .ex-hero { min-height: 0; padding: 96px 0 48px; }
  .ex-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .ex-hero-text p.lead, .ex-hero-text p.sub { max-width: none; }
  .ex-hero-text h1 .nowrap { white-space: normal; }
  .ex-stage img { max-width: 520px; }
}
/* Short laptops: let the hero shrink instead of clipping the buttons. */
@media (min-width: 901px) and (max-height: 760px) {
  .ex-hero { min-height: 0; padding: 104px 0 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .ex-stage-sheen { display: none !important; }
}

/* ═══════════════════════ 10b. Page header with the EXCAR mark ═══════════════════════
   Used on the investor header: the headline keeps its column, the brand mark
   sits opposite it as a large quiet graphic rather than a decorative sticker. */

.ex-head-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}
.ex-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.ex-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 230px;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 0 46px rgba(30, 151, 244, 0.4));
}
.ex-mark::before {
  content: '';
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 50% 50%, rgba(30, 151, 244, 0.16) 0%, transparent 66%);
  pointer-events: none;
}

@media (max-width: 880px) {
  .ex-head-grid { grid-template-columns: 1fr; gap: 24px; }
  .ex-mark { justify-content: flex-start; }
  .ex-mark img { max-width: 120px; opacity: 0.75; }
}

/* ═══════════════════════ 11. Generic two-column split ═══════════════════════ */

.ex-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}
.ex-split p { color: var(--text-secondary); font-size: 16px; }
.ex-split p + p { margin-top: 16px; }
@media (max-width: 900px) {
  .ex-split { grid-template-columns: 1fr; gap: 30px; }
}

/* ═══════════════════════ Reduced motion ═══════════════════════ */

@media (prefers-reduced-motion: reduce) {
  /* The dot stops travelling and simply marks the middle of the link. */
  .ex-wire::after { animation: none !important; left: 50% !important; top: 50% !important; opacity: 0.9; }
  .ex-net-live i { animation: none !important; }
  .ex-stage-panel { animation: none !important; }
}
