/* ============================================================
   exp.css — shared styles for the interactive experience demos
   (custom cursor + phone state machine). Reuses styles.css tokens.
   ============================================================ */

:root {
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- custom cursor ---------- */
.exp-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  pointer-events: none;
  will-change: transform;
}
.exp-cursor i {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: block;
}
.exp-cursor--ring i {
  width: 30px;
  height: 30px;
  border: 1.5px solid rgba(244, 242, 238, 0.55);
  transition:
    width 0.2s ease,
    height 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.12s ease;
}
.exp-cursor--dot i {
  width: 6px;
  height: 6px;
  background: var(--yellow);
}
.exp-cursor--ring.is-active i {
  width: 52px;
  height: 52px;
  border-color: var(--yellow);
  background: rgba(245, 194, 12, 0.12);
}
.exp-cursor--ring.is-down i {
  transform: translate(-50%, -50%) scale(0.8);
}
.exp-cursor--dot.is-active i {
  opacity: 0;
}
/* hide native cursor only when the custom one is live */
html.exp-has-cursor,
html.exp-has-cursor * {
  cursor: none !important;
}

/* ---------- page / hero ---------- */
.exp-page {
  min-height: 100vh;
}
.exp-head {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(14, 16, 21, 0.6);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--border);
}
.exp-head img {
  height: 26px;
  width: auto;
  display: block;
}
.exp-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}
.exp-toggle a {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  color: var(--muted);
}
.exp-toggle a.active {
  background: var(--text);
  color: var(--bg);
}

.exp-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 960px) {
  .exp-hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 48px 24px 72px;
  }
}
.exp-hero__copy .eyebrow {
  margin-bottom: 20px;
}
.exp-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.exp-hero h1 .y {
  color: var(--yellow);
}
.exp-hero__sub {
  font-size: 19px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: 30px;
}
.exp-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.btn--pill {
  border-radius: var(--r-pill);
}
.exp-hint {
  font-size: 13px;
  color: var(--subtle);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.exp-hint .k {
  font-family: var(--mono);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 7px;
  font-size: 12px;
}

.exp-stage {
  display: flex;
  justify-content: center;
}
/* keep the fixed-width phone inside small screens */
@media (max-width: 480px) {
  .exp-stage .phone {
    width: min(360px, 86vw);
  }
}

/* ---------- phone screen / state machine ---------- */
.ph {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}
.ph-state {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 28px 20px 18px;
  flex: 1;
}
.ph[data-state="request"] .ph-state.request,
.ph[data-state="reason"] .ph-state.reason,
.ph[data-state="locate"] .ph-state.locate,
.ph[data-state="estimate"] .ph-state.estimate,
.ph[data-state="dispatching"] .ph-state.dispatching,
.ph[data-state="offer"] .ph-state.offer,
.ph[data-state="enroute"] .ph-state.enroute,
.ph[data-state="onsite"] .ph-state.onsite,
.ph[data-state="working"] .ph-state.working,
.ph[data-state="complete"] .ph-state.complete,
.ph[data-state="assigned"] .ph-state.assigned,
.ph[data-state="repaired"] .ph-state.repaired {
  display: flex;
}
@media (prefers-reduced-motion: no-preference) {
  .ph[data-state] .ph-state {
    animation: ph-fade 0.32s ease both;
  }
}
@keyframes ph-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.ph-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.ph-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--yellow);
}
.ph-live .d {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.ph-live.green {
  color: var(--pulse);
}
.ph-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.ph-mech {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.ph-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--yellow-fg);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--yellow) 86%, #fff),
    var(--yellow)
  );
  flex-shrink: 0;
}
.ph-mech-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.ph-mech-sub {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 2px;
}

.ph-etawrap {
  text-align: center;
  padding: 8px 0 2px;
}
.ph-etalabel {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.ph-eta {
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.1;
}
.ph-substatus {
  font-size: 12px;
  color: var(--muted);
}
.ph-meter {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.ph-meter i {
  display: block;
  height: 100%;
  width: 8%;
  background: var(--yellow);
  border-radius: 99px;
  transition: width 0.25s linear;
}

.ph-amount {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ph-amount .currency {
  color: var(--subtle);
}
.ph-issue {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.ph-customer {
  font-size: 13px;
  color: var(--subtle);
}
.ph-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.ph-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.ph-row .label {
  color: var(--subtle);
}
.ph-row .value {
  color: var(--text);
}
.ph-row .value.net {
  color: var(--green);
}

.ph-cta {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.ph-cta .btn {
  flex: 1;
}
.ph-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  color: var(--subtle);
  padding-top: 4px;
}
.ph-foot .d {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pulse);
}

/* working spinner */
.ph-work {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  padding: 14px 0;
}
.ph-spinner {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2.5px solid rgba(245, 194, 12, 0.25);
  border-top-color: var(--yellow);
}
@media (prefers-reduced-motion: no-preference) {
  .ph-spinner {
    animation: ph-spin 0.9s linear infinite;
  }
}
@keyframes ph-spin {
  to {
    transform: rotate(360deg);
  }
}

/* completed / repaired celebration */
.ph-done {
  text-align: center;
  padding: 10px 0;
}
.check-ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 6px auto 16px;
  position: relative;
  background: rgba(74, 222, 128, 0.1);
}
.check-ring svg {
  width: 44px;
  height: 44px;
}
.check-ring svg path {
  fill: none;
  stroke: var(--pulse);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ph-done h3 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.ph-done p {
  font-size: 13px;
  color: var(--muted);
}
.ph-payout {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 600;
  color: var(--yellow);
  margin: 14px 0 2px;
}
@media (prefers-reduced-motion: no-preference) {
  .ph[data-state="complete"] .check-ring,
  .ph[data-state="repaired"] .check-ring {
    animation: check-pop 0.5s cubic-bezier(0.2, 1.1, 0.3, 1) both;
  }
  .ph[data-state="complete"] .check-ring::after,
  .ph[data-state="repaired"] .check-ring::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--pulse);
    animation: check-pulse 1.3s ease-out both;
  }
  .ph[data-state="complete"] .check-ring svg path,
  .ph[data-state="repaired"] .check-ring svg path {
    stroke-dasharray: 40;
    animation: check-draw 0.5s 0.14s ease-out both;
  }
  .ph[data-state="complete"] .ph-payout,
  .ph[data-state="repaired"] .ph-payout {
    animation: check-pop 0.45s 0.2s cubic-bezier(0.2, 1.1, 0.3, 1) both;
  }
}
@keyframes check-pop {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
}
@keyframes check-pulse {
  from {
    transform: scale(0.7);
    opacity: 0.7;
  }
  to {
    transform: scale(1.55);
    opacity: 0;
  }
}
@keyframes check-draw {
  from {
    stroke-dashoffset: 40;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.exp-note {
  text-align: center;
  font-size: 12px;
  color: var(--subtle);
  padding: 8px 24px 56px;
}

/* ---------- request / reason / locate / dispatching ---------- */
.ph-start {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.ph-start__icon {
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: rgba(245, 194, 12, 0.1);
  color: var(--yellow);
  margin-bottom: 12px;
}
.ph-start__icon svg {
  width: 32px;
  height: 32px;
}
.ph-start h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.ph-start p {
  font-size: 13px;
  color: var(--muted);
  max-width: 26ch;
  line-height: 1.5;
}

.ph-q {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}
.ph-reasons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ph-reason {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.ph-reason:hover {
  border-color: var(--border-strong);
  background: var(--elevated);
}
.ph-reason__ic {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: rgba(245, 194, 12, 0.1);
  color: var(--yellow);
}
.ph-reason__ic svg {
  width: 16px;
  height: 16px;
}
.ph-reason .chev {
  margin-left: auto;
  color: var(--subtle);
}

.ph-geo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.ph-pin {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  background: rgba(245, 194, 12, 0.1);
  color: var(--yellow);
}
.ph-pin svg {
  width: 34px;
  height: 34px;
}
@media (prefers-reduced-motion: no-preference) {
  .ph[data-state="locate"]:not(.geo-found) .ph-pin::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--yellow);
    animation: check-pulse 1.4s ease-out infinite;
  }
}
.ph-geo__detecting {
  font-size: 13px;
  color: var(--muted);
}
.ph-geo__found {
  display: none;
}
.ph.geo-found .ph-geo__detecting {
  display: none;
}
.ph.geo-found .ph-geo__found {
  display: block;
}
.ph-geo__addr {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}
.ph-geo__sub {
  font-size: 12px;
  color: var(--subtle);
  margin-top: 2px;
}
.ph-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 5px 11px;
  margin-top: 10px;
}
.ph-chip .y {
  color: var(--yellow);
}
/* confirm button only appears once the location is found */
.ph[data-state="locate"]:not(.geo-found) .ph-state.locate .ph-cta {
  display: none;
}

.ph-dispatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  text-align: center;
  gap: 16px;
}
.ph-dispatch .ph-spinner {
  width: 36px;
  height: 36px;
}
.ph-dispatch h3 {
  font-size: 17px;
  margin-bottom: 4px;
}
.ph-dispatch p {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- estimate ---------- */
.ph-est {
  text-align: center;
  padding: 6px 0 2px;
}
.ph-est__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
}
.ph-est__amount {
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: -0.01em;
  margin: 6px 0 10px;
}
.ph-est__note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 32ch;
  margin: 0 auto;
}

/* ============================================================
   combined main page — spark hero + toggle + experience sections
   ============================================================ */
.lp-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 104px 24px 52px;
  overflow: hidden;
}
/* split hero: copy on the left, interactive phone on the right */
.lp-hero__grid {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
}
.lp-hero__grid .lp-stage {
  width: 100%;
}
.lp-hero__grid .phone {
  width: clamp(260px, 23vw, 300px);
}
.lp-spark {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
    60% 50% at 50% 45%,
    rgba(14, 16, 21, 0.7),
    transparent 70%
  );
  pointer-events: none;
}
.lp-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 660px;
  text-align: left;
}
.lp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.lp-kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pulse);
}
.lp-hero h1 {
  font-size: clamp(36px, 4.9vw, 66px);
  line-height: 1.01;
  letter-spacing: -0.04em;
  margin-bottom: 22px;
}
.lp-hero h1 .y {
  color: var(--yellow);
}
.lp-hero__sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 500px;
  margin: 0 0 30px;
}
.lp-ctas {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}
/* stack the split hero on narrower screens (phone moves below the copy) */
@media (max-width: 900px) {
  .lp-hero {
    min-height: auto;
    padding: 100px 22px 44px;
  }
  .lp-hero__grid {
    grid-template-columns: 1fr;
    gap: 38px;
    justify-items: center;
  }
  .lp-hero__inner {
    max-width: 640px;
    text-align: center;
  }
  .lp-hero__sub {
    margin-left: auto;
    margin-right: auto;
  }
  .lp-ctas {
    justify-content: center;
  }
  .lp-hero__grid .phone {
    width: min(340px, 84vw);
  }
}

/* audience toggle */
.lp-switch {
  display: flex;
  justify-content: center;
  padding: 8px 24px 0;
}
.lp-toggle {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--elev-1);
  gap: 4px;
}
.lp-toggle button {
  padding: 11px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition:
    color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.lp-toggle button.active {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--yellow) 86%, #fff),
    var(--yellow) 62%
  );
  color: var(--yellow-fg);
  box-shadow: 0 8px 22px -10px
    color-mix(in srgb, var(--yellow) 55%, transparent);
}
.lp-toggle button:not(.active):hover {
  color: var(--text);
}

/* experience sections */
.lp-exp {
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.lp-pane {
  display: none;
}
.lp-pane.active {
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .lp-pane.active {
    animation: ph-fade 0.35s ease both;
  }
}
.lp-stage {
  display: flex;
  justify-content: center;
}
.lp-ops {
  margin-top: 44px;
}
.lp-ops__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 22px;
}
.lp-ops__head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.lp-ops__head p {
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 480px) {
  .lp-stage .phone {
    width: min(360px, 86vw);
  }
}

/* ============================================================
   live-ops panel (.od-*) — ported for the fleet experience
   ============================================================ */
.od-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 760px) {
  .od-grid {
    grid-template-columns: 1fr;
  }
}
.od-panel {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--elev-1);
  padding: 22px 22px 20px;
}
.od-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.od-jobid {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--subtle);
}
.od-issue {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.od-sub {
  color: var(--subtle);
  font-size: 13px;
  margin-top: 6px;
}
.od-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid rgba(240, 120, 90, 0.35);
  color: #f0856b;
  background: rgba(240, 120, 90, 0.1);
  white-space: nowrap;
}
.od-tag.is-new {
  border-color: rgba(63, 111, 179, 0.4);
  color: #87b5f2;
  background: rgba(63, 111, 179, 0.12);
}
.od-tag.is-hidden {
  display: none;
}
.od-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  margin-top: 18px;
}
.od-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--subtle);
}
.od-val {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.od-statusline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.od-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--yellow);
}
.od-status.is-onsite {
  color: var(--pulse);
}
.od-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.od-eta {
  font-size: 12px;
  color: var(--subtle);
  display: inline-flex;
  gap: 8px;
  align-items: baseline;
}
.od-eta .num {
  font-family: var(--mono);
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.od-meter {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  margin-top: 14px;
  overflow: hidden;
}
.od-meter i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--yellow);
  border-radius: 99px;
  transition: width 0.25s linear;
}
.od-timeline {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}
.od-step {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: var(--subtle);
}
.od-mark {
  font-family: var(--mono);
  text-align: center;
  color: var(--subtle);
}
.od-step.is-done {
  color: var(--muted);
}
.od-step.is-done .od-mark {
  color: var(--green);
}
.od-step.is-active {
  color: var(--text);
}
.od-step.is-active .od-mark {
  color: var(--yellow);
}
.od-step-label {
  font-size: 13px;
}
.od-step-time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--subtle);
}
.od-feed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--elev-1);
  padding: 18px;
  display: flex;
  flex-direction: column;
}
.od-feed__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.od-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
}
.od-live .od-dot {
  background: var(--pulse);
}
.od-feed__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.od-feed__list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  line-height: 1.45;
}
.od-feed__list .od-ts {
  color: var(--subtle);
}
.od-feed__list .od-id {
  color: var(--yellow);
}
.od-kpis {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--subtle);
  flex-wrap: wrap;
}
.od-kpis b {
  font-family: var(--mono);
  color: var(--text);
  font-weight: 600;
  margin-right: 6px;
}
.od-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
}
@media (prefers-reduced-motion: no-preference) {
  .od-step.is-active .od-mark {
    animation: od-blink 1.2s ease-in-out infinite;
  }
  .od-feed__list li.od-new {
    animation: od-in 0.35s ease-out;
  }
}
@keyframes od-blink {
  50% {
    opacity: 0.35;
  }
}
@keyframes od-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}

/* ============================================================
   capability marquee + giant footer wordmark
   ============================================================ */
.lp-marquee {
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  margin-top: 8px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.lp-mqtrack {
  display: flex;
  gap: 14px;
  width: max-content;
}
@media (prefers-reduced-motion: no-preference) {
  .lp-mqtrack {
    animation: lp-scroll 40s linear infinite;
  }
}
@keyframes lp-scroll {
  to {
    transform: translateX(-50%);
  }
}
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 18px 10px 10px;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  white-space: nowrap;
  font-size: 14px;
  color: var(--muted);
}
.lp-chip__ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 194, 12, 0.1);
  color: var(--yellow);
  flex-shrink: 0;
}
.lp-chip__ic svg {
  width: 18px;
  height: 18px;
}

/* giant RigFix wordmark — antigravity-style footer signature */
.lp-wordmark {
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.05em;
  line-height: 0.78;
  font-size: clamp(72px, 23vw, 360px);
  padding: 24px 12px 0;
  margin-top: -4px;
  user-select: none;
  pointer-events: none;
  overflow: hidden;
  color: transparent;
  background: linear-gradient(
    180deg,
    var(--elevated) 0%,
    color-mix(in srgb, var(--yellow) 26%, transparent) 135%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

/* glossy sheen on experience boxes (match the rest of the site) */
.od-panel,
.od-feed,
.hub-card {
  background-image: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 28%,
    rgba(255, 255, 255, 0) 60%
  );
}

/* ============================================================
   MOTION LAYER — quickmanage-inspired (design only)
   word-mask reveal · scroll-velocity · decode  (theme unchanged)
   ============================================================ */

/* --- per-word mask reveal (headings tagged [data-split]) --- */
.split-ready .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  /* let descenders (g, y, p) clear the mask box */
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.split-ready .w > i {
  display: inline-block;
  font-style: inherit;
  transform: translateY(116%);
  opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .split-ready .w > i {
    transition:
      transform 0.72s cubic-bezier(0.2, 0.85, 0.25, 1),
      opacity 0.72s ease;
    transition-delay: var(--d, 0ms);
  }
}
.split-ready.is-revealed .w > i {
  transform: translateY(0);
  opacity: 1;
}

/* --- scroll-velocity layer --- */
[data-velo] {
  will-change: transform;
}
/* when JS drives the marquee by velocity, stop the CSS keyframe */
.js-velocity .lp-mqtrack {
  animation: none !important;
  will-change: transform;
}

/* --- decode / scramble flash on live-ops labels --- */
.is-decoding {
  opacity: 0.82;
}

@media (prefers-reduced-motion: reduce) {
  .split-ready .w > i {
    transform: none;
    opacity: 1;
  }
  [data-velo] {
    transform: none !important;
  }
}
