/* ============================================================
   AIMRIS — Landing page styles  (LIGHT EDITORIAL THEME)
   Tokens come from the design system (../../styles.css). The
   light-theme overrides for media chrome live at the END of
   this file.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- shared layout ---------- */
.wrap { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 62px 0; }

/* eyebrow / mono label */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px; background: var(--amber);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.04; letter-spacing: -0.01em; }
.h-section {
  font-size: clamp(24px, 3.18vw, 45px);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 18ch;
}
.lead {
  font-size: clamp(18px, 1.61vw, 22px);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}
.amber { color: var(--amber); }
.mono { font-family: var(--font-mono); }
/* "AIMRIS" set in the logo wordmark style anywhere it appears in copy */
.aimris { font-family: var(--font-display); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
/* problem-heading brandmark in gold (direct edit) */
#problem h2 .aimris, #showcase h2 .aimris { color: #eda600; }
/* showcase lead — three short statements, middle one emphasized */
.showcase-lead { display: grid; gap: 14px; max-width: 60ch; }
.showcase-lead p { margin: 0; font-size: clamp(18px, 1.61vw, 22px); line-height: 1.6; color: var(--muted); }
.showcase-lead .em { color: var(--text); font-weight: 700; }
.showcase-lead p.fine { font-size: 15px; line-height: 1.55; }
.showcase-lead p.fine b { color: var(--amber-deep); font-weight: 600; }

/* section header block */
.sec-head { max-width: 760px; margin-bottom: 45px; }
.sec-head .lead { margin-top: 22px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head--center .h-section { margin-left: auto; margin-right: auto; }
.sec-head--center .eyebrow { justify-content: center; }

/* divider grid texture line */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: #1a1206; border-color: var(--amber); }
.btn--primary:hover { background: var(--amber-bright); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn--block { width: 100%; justify-content: center; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(12,13,15,.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .3s;
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand__logo { width: 30px; height: 30px; flex: none; object-fit: contain; }
.footer__brand .brand__logo { width: 28px; height: 28px; }
.brand__mark {
  width: 26px; height: 26px; flex: none;
  background: var(--amber);
  transform: rotate(45deg);
  position: relative;
}
.brand__mark::after {
  content: ""; position: absolute; inset: 6px;
  background: var(--bg);
}
.brand__name {
  font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 30px; margin-left: 18px; }
.nav a {
  font-size: 14px; color: var(--muted); font-weight: 500;
  letter-spacing: .02em; transition: color .15s; white-space: nowrap;
}
.nav a:hover { color: var(--text); }
.header__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }

/* language toggle */
.lang { position: relative; display: inline-block; font-family: var(--font-mono); }
.lang__btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; border: 1px solid var(--line-2); border-radius: var(--radius);
  color: var(--muted-2); font-size: 12px; font-weight: 500; letter-spacing: .08em;
  padding: 7px 11px; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.lang__btn:hover { color: var(--text); border-color: var(--line-2); }
.lang.is-open .lang__btn { color: var(--text); border-color: var(--amber); }
.lang__globe { flex: none; }
.lang__cur { color: var(--text); }
.lang__caret { font-size: 9px; opacity: .7; transition: transform .15s; }
.lang.is-open .lang__caret { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 80; min-width: 100%;
  display: flex; flex-direction: column; gap: 2px; padding: 5px;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.6);
}
.lang__opt {
  background: transparent; border: 0; border-radius: 3px; color: var(--muted-2);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em;
  text-align: left; padding: 8px 12px; cursor: pointer; transition: background .15s, color .15s;
}
.lang__opt:hover { background: var(--amber-dim); color: var(--text); }
.lang__opt.is-active { background: var(--amber-dim); color: var(--amber); }

.menu-toggle { display: none; }

/* language placeholder note */
.lang-note {
  position: absolute; top: 72px; right: 32px; z-index: 70;
  background: var(--surface-2); border: 1px solid var(--amber); border-left-width: 3px;
  border-radius: 4px; padding: 12px 16px; max-width: 320px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--text); line-height: 1.5;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.7);
}
.lang-note.show { display: block !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 86px 0 96px; overflow: hidden; }
.hero__grid-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 80%);
}
.hero__glow {
  position: absolute; top: -180px; right: -120px; width: 620px; height: 620px;
  background: radial-gradient(circle, var(--amber-glow), transparent 62%);
  filter: blur(30px); opacity: .5; z-index: 0; pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.02fr 1.1fr; gap: 56px; align-items: center;
}
.hero h1 {
  font-size: clamp(30px, 3.97vw, 56px);
  line-height: 0.98; text-transform: uppercase; letter-spacing: -0.025em;
  margin: 22px 0 0;
}
.hero h1 .line { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .line { opacity: 0; transform: translateY(16px); }
  .hero h1.is-revealed .line {
    opacity: 1; transform: none;
    transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  }
}
.hero h1 .amber { color: var(--amber); }
.hero__sub { margin: 28px 0 0; font-size: clamp(18px,1.61vw,22px); color: var(--muted); max-width: 50ch; }
.hero__sub b { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 44px; margin-top: 46px; flex-wrap: wrap; justify-content: center; text-align: center; width: 100%; }
.hero__stat .n {
  font-size: 44px; font-weight: 800; letter-spacing: -0.01em; line-height: 1;
  font-family: var(--font-mono);
}
.hero__stat .n small { font-size: 22px; color: var(--amber); }
.hero__stat .l {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted-2); margin-top: 11px;
}

/* ---- HUD command-center panel ---- */
.hud {
  position: relative; aspect-ratio: 16 / 11;
  background:
    radial-gradient(130% 120% at 30% 0%, #1a1d22 0%, #0e1013 55%, #090a0c 100%);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.8), inset 0 0 0 1px rgba(255,255,255,.02);
}
.hud__feed-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(120,140,160,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,140,160,.05) 1px, transparent 1px);
  background-size: 34px 34px;
}
.hud__noise {
  position: absolute; inset: 0; opacity: .5; z-index: 2;
  background:
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.012) 2px 3px);
  mix-blend-mode: screen; pointer-events: none;
}
/* placeholder "terrain" so feed reads as a site, not empty */
/* real video feed inside the HUD */
.hud__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; filter: saturate(1.05) contrast(1.03);
}
.hud__video-tint {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,.05) 22%, rgba(8,9,11,.12) 62%, rgba(8,9,11,.72) 100%);
}
.hud__terrain { position: absolute; inset: 0; opacity: .9; }
.hud__terrain .band {
  position: absolute; left: 0; right: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.018) 0 8px, transparent 8px 18px);
}
.hud__terrain .b1 { top: 58%; height: 42%; background: linear-gradient(180deg, rgba(60,66,74,.35), rgba(30,33,38,.1)); }
.hud__terrain .b2 { top: 70%; height: 30%; }

/* top chrome bar */
.hud__bar {
  position: absolute; top: 0; left: 0; right: 0; height: 38px; z-index: 5;
  display: flex; align-items: center; gap: 14px; padding: 0 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
  color: var(--muted); background: linear-gradient(180deg, rgba(8,9,11,.85), transparent);
}
.hud__rec { display: inline-flex; align-items: center; gap: 7px; color: var(--danger); }
.hud__rec .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hud__bar .src { color: var(--text); }
.hud__bar .right { margin-left: auto; color: var(--muted-2); }

/* corner brackets */
.hud__corners span {
  position: absolute; width: 18px; height: 18px; border: 1.5px solid rgba(245,166,35,.5); z-index: 4;
}
.hud__corners .tl { top: 46px; left: 14px; border-right: 0; border-bottom: 0; }
.hud__corners .tr { top: 46px; right: 14px; border-left: 0; border-bottom: 0; }
.hud__corners .bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.hud__corners .br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* bounding boxes */
.bbox {
  position: absolute; z-index: 6;
  border: 1.5px solid var(--amber);
  border-radius: 2px;
  opacity: 0;
  animation: boxin .5s ease forwards;
}
.bbox.is-danger { border-color: var(--danger); }
.bbox.is-safe { border-color: var(--safe); }
@keyframes boxin {
  from { opacity: 0; transform: scale(.92); }
  to   { opacity: 1; transform: scale(1); }
}
.bbox__tag {
  position: absolute; top: -22px; left: -1.5px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .06em;
  background: var(--amber); color: #1a1206; padding: 2px 7px; white-space: nowrap;
  font-weight: 600; border-radius: 2px 2px 2px 0;
}
.bbox.is-danger .bbox__tag { background: var(--danger); color: #20070a; }
.bbox.is-safe .bbox__tag { background: var(--safe); color: #062012; }
.bbox__conf {
  position: absolute; bottom: -16px; right: 0;
  font-family: var(--font-mono); font-size: 9.5px; color: var(--muted); letter-spacing: .04em;
}

/* single detection box hugging the idle excavator near the horizon */
.bbox--exc { left: 43.5%; top: 21.5%; width: 10.5%; height: 8.5%; animation-delay: .5s; }
.bbox--truck { display: none; }
.bbox--worker { display: none; }

/* ---- editable detection box (HUD adjust-box editor) ---- */
.bbox--edit { animation: none !important; opacity: 1 !important; z-index: 20; }
.bbox--edit .bbox__handle {
  display: block; position: absolute; width: 14px; height: 14px; z-index: 21;
  background: var(--amber); border: 2px solid var(--amber-ink); border-radius: 2px;
}
.bbox--edit .bbox__handle.tl { top: -7px; left: -7px; cursor: nwse-resize; }
.bbox--edit .bbox__handle.tr { top: -7px; right: -7px; cursor: nesw-resize; }
.bbox--edit .bbox__handle.bl { bottom: -7px; left: -7px; cursor: nesw-resize; }
.bbox--edit .bbox__handle.br { bottom: -7px; right: -7px; cursor: nwse-resize; }

/* ---- box editor ---- */
.bbox__handle { display: none; }
.hud.is-editing .bbox--exc { cursor: move; animation: none; opacity: 1; z-index: 20; }
.hud.is-editing .bbox--exc .bbox__handle {
  display: block; position: absolute; width: 14px; height: 14px; z-index: 21;
  background: var(--amber); border: 2px solid #1a1206; border-radius: 2px;
}
.hud.is-editing .bbox--exc .bbox__handle.tl { top: -7px; left: -7px; cursor: nwse-resize; }
.hud.is-editing .bbox--exc .bbox__handle.tr { top: -7px; right: -7px; cursor: nesw-resize; }
.hud.is-editing .bbox--exc .bbox__handle.bl { bottom: -7px; left: -7px; cursor: nesw-resize; }
.hud.is-editing .bbox--exc .bbox__handle.br { bottom: -7px; right: -7px; cursor: nwse-resize; }
.hud.is-editing { outline: 1px dashed rgba(245,166,35,.4); outline-offset: -1px; }

.boxedit { position: absolute; right: 14px; bottom: 14px; z-index: 22; display: flex; gap: 8px; align-items: center; }
.boxedit__toggle, .boxedit__btn {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(12,14,17,.85); color: var(--muted); border: 1px solid var(--line-2);
  border-radius: 4px; padding: 7px 11px; cursor: pointer; transition: color .15s, border-color .15s, background .15s;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.boxedit__toggle:hover, .boxedit__btn:hover { color: var(--amber); border-color: var(--amber); }
.boxedit.is-editing .boxedit__toggle { display: none; }
.boxedit__panel { display: flex; gap: 8px; align-items: center; }
.boxedit__panel[hidden] { display: none; }
.boxedit__readout {
  font-family: var(--font-mono); font-size: 11px; color: var(--amber); letter-spacing: .04em;
  background: rgba(12,14,17,.85); border: 1px solid var(--amber); border-radius: 4px; padding: 7px 11px; white-space: nowrap;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.boxedit__btn.is-primary { background: var(--amber); color: #1a1206; border-color: var(--amber); }
.boxedit__btn.is-primary:hover { background: var(--amber-bright); color: #1a1206; }
@media (max-width: 680px) { .boxedit { display: none; } }

/* explanation callout */
.hud__callout {
  position: absolute; left: 9%; bottom: 13%; z-index: 8;
  width: min(54%, 320px);
  background: rgba(14,16,19,.92);
  border: 1px solid var(--amber);
  border-left-width: 3px;
  border-radius: 4px;
  padding: 12px 14px;
  opacity: 0; transform: translateY(8px);
  animation: calloutin .5s ease forwards 1.9s;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.7);
}
@keyframes calloutin { to { opacity: 1; transform: translateY(0); } }
.hud__callout .k {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber); display: flex; align-items: center; gap: 8px;
}
.hud__callout .k::before { content:""; width:6px; height:6px; background: var(--amber); transform: rotate(45deg); }
.hud__callout .msg { font-size: 14px; margin-top: 7px; line-height: 1.35; color: var(--text); }
.hud__callout .msg b { color: var(--amber); }
.hud__callout .timer { font-family: var(--font-mono); font-weight: 600; }

/* side telemetry strip */
.hud__telemetry {
  position: absolute; right: 14px; top: 70px; z-index: 7; width: 116px;
  display: flex; flex-direction: column; gap: 7px;
  opacity: 0; animation: calloutin .5s ease forwards 2.2s;
}
.tele {
  background: rgba(10,12,14,.7); border: 1px solid var(--line);
  border-radius: 3px; padding: 7px 9px;
  font-family: var(--font-mono);
}
.tele .l { font-size: 8.5px; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }
.tele .v { font-size: 15px; font-weight: 600; margin-top: 2px; }
.tele .v.up { color: var(--safe); }
.tele .v.dn { color: var(--danger); }
.tele .v.am { color: var(--amber); }

/* scanline sweep */
.hud__scan {
  position: absolute; left: 0; right: 0; height: 80px; z-index: 3;
  background: linear-gradient(180deg, transparent, rgba(245,166,35,.06), transparent);
  animation: scan 5.5s linear infinite;
}
@keyframes scan { 0% { top: -80px; } 100% { top: 100%; } }

/* ============================================================
   marquee / ticker strip under hero
   ============================================================ */
.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg-2); overflow: hidden; padding: 16px 0;
}
.ticker__row { display: flex; gap: 56px; white-space: nowrap; width: max-content; animation: marquee 38s linear infinite; }
.ticker__row span {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted-2); display: inline-flex; align-items: center; gap: 56px;
}
.ticker__row span::after { content: "◆"; color: var(--amber); font-size: 9px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   LIVE DETECTION SHOWCASE (video feeds)
   ============================================================ */
.feeds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feed-card {
  position: relative; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden;
  background: #0a0b0d; aspect-ratio: 16 / 10;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.7);
}
.feed-card__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.feed-card__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,11,.6), rgba(8,9,11,.04) 26%, rgba(8,9,11,.1) 60%, rgba(8,9,11,.82));
}
.feed-card__grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(120,140,160,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(120,140,160,.06) 1px, transparent 1px);
  background-size: 30px 30px;
}
.feed-card__bar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 34px;
  display: flex; align-items: center; gap: 10px; padding: 0 12px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; color: var(--muted);
  background: linear-gradient(180deg, rgba(8,9,11,.8), transparent);
}
.feed-card__bar .cam { color: var(--text); }
.feed-card__bar .rec { display: inline-flex; align-items: center; gap: 6px; color: var(--danger); margin-left: auto; }
.feed-card__bar .rec .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--danger); animation: blink 1.4s steps(1) infinite; }
/* detection box drawn over the feed (decorative, positioned per card) */
.feed-card__det {
  position: absolute; z-index: 2; border: 1.5px solid var(--amber); border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.3);
}
.feed-card__det.is-safe { border-color: var(--safe); }
.feed-card__det.is-danger { border-color: var(--danger); }
.feed-card__det span {
  position: absolute; top: -19px; left: -1.5px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 600;
  background: var(--amber); color: #1a1206; padding: 2px 6px; white-space: nowrap; border-radius: 2px 2px 2px 0;
}
.feed-card__det.is-safe span { background: var(--safe); color: #062012; }
.feed-card__det.is-danger span { background: var(--danger); color: #20070a; }

/* ---- editable detection boxes on the live feeds ---- */
.feed-card.is-editing { outline: 1px dashed rgba(244,168,28,.45); outline-offset: -1px; }
.feed-card__det.is-editing { z-index: 4; box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 0 20px rgba(244,168,28,.25); }
.feed-card__det.is-editing .bbox__handle {
  display: block; position: absolute; width: 13px; height: 13px; z-index: 5;
  background: var(--amber); border: 2px solid var(--amber-ink); border-radius: 2px;
}
.feed-card__det.is-editing .bbox__handle.tl { top: -7px; left: -7px; cursor: nwse-resize; }
.feed-card__det.is-editing .bbox__handle.tr { top: -7px; right: -7px; cursor: nesw-resize; }
.feed-card__det.is-editing .bbox__handle.bl { bottom: -7px; left: -7px; cursor: nesw-resize; }
.feed-card__det.is-editing .bbox__handle.br { bottom: -7px; right: -7px; cursor: nwse-resize; }

/* feed adjust-box control cluster: top-right, below the chrome bar */
.boxedit--feed { top: 42px; bottom: auto; right: 10px; }
.boxedit--feed .boxedit__toggle, .boxedit--feed .boxedit__btn { color: rgba(255,255,255,.88); font-size: 10px; padding: 5px 8px; }
.boxedit--feed .boxedit__readout { font-size: 10px; padding: 5px 8px; }
.boxedit--feed .boxedit__panel { gap: 6px; }
.feed-card__tag {
  position: absolute; left: 12px; bottom: 12px; right: 12px; z-index: 3;
  background: rgba(12,14,17,.82); border: 1px solid var(--amber); border-left-width: 3px; border-radius: 4px;
  padding: 9px 12px;
}
.feed-card__tag .k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.feed-card__tag .m { font-size: 13px; margin-top: 4px; line-height: 1.3; color: var(--text); }
.feed-card__tag .m b { color: var(--amber); }
.showcase-note {
  margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--muted-2);
}
.showcase-note span { display: inline-flex; align-items: center; gap: 9px; }
.showcase-note span::before { content: ""; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }

/* video used as product-panel media */
.prod-panel__video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.prod-panel__scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,9,11,.5), transparent 30%, rgba(8,9,11,.15) 60%, rgba(8,9,11,.7));
}

/* ============================================================
   ENGINEERED FOR THE REALITIES OF THE FIELD
   ============================================================ */
.reality-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reality {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 34px 30px 36px; transition: background .2s, border-color .2s, transform .2s;
}
.reality:hover { background: var(--surface-2); border-color: var(--line-2); }
.reality__icon {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--amber); color: var(--amber-ink);
  display: grid; place-items: center; margin-bottom: 26px;
}
.reality__icon svg { width: 24px; height: 24px; }
.reality__t { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.reality__d { font-size: 14.5px; color: var(--muted); margin-top: 12px; line-height: 1.55; text-wrap: pretty; }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.leak {
  background: var(--surface); padding: 30px 26px 32px; position: relative;
  transition: background .2s;
}
.leak:hover { background: var(--surface-2); }
.leak__n { font-family: var(--font-mono); font-size: 12px; color: var(--muted-2); letter-spacing: .1em; }
.leak__t { font-size: 19px; font-weight: 700; margin: 18px 0 10px; }
.leak__d { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.leak__bar { height: 3px; background: var(--line-2); margin-top: 20px; position: relative; overflow: hidden; }
.leak__bar i { position: absolute; inset: 0 auto 0 0; background: var(--danger); width: var(--w, 60%); }
.problem-note {
  margin-top: 34px; font-size: 18px; color: var(--muted);
  display: flex; align-items: flex-start; gap: 16px; max-width: 70ch;
}
.problem-note b { color: var(--text); font-weight: 600; }
.problem-note .tick { color: var(--amber); font-family: var(--font-mono); flex: none; }

/* ============================================================
   BIG IDEA — Explainable OEE matrix
   ============================================================ */
.matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
  padding: 32px 28px 34px; position: relative; overflow: hidden;
  transition: transform .2s, border-color .2s;
}
.mcard--them { opacity: .92; }
.mcard--us {
  border-color: var(--amber);
  background: linear-gradient(180deg, rgba(245,166,35,.07), var(--surface) 60%);
  box-shadow: 0 30px 70px -40px var(--amber-glow);
}
.mcard__badge {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted-2); margin-bottom: 18px; display: inline-block;
}
.mcard--us .mcard__badge { color: var(--amber); }
.mcard__name { font-size: 23px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.mcard__ex { font-size: 13px; color: var(--muted-2); font-family: var(--font-mono); margin-top: 6px; }
.mrow { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 15px; }
.mrow:first-of-type { margin-top: 24px; }
.mrow .ic {
  width: 22px; height: 22px; flex: none; border-radius: 50%; display: grid; place-items: center;
  font-size: 12px; font-family: var(--font-mono); font-weight: 700;
}
.mrow .ic.yes { background: rgba(70,217,138,.14); color: var(--safe); }
.mrow .ic.no  { background: rgba(255,90,60,.12); color: var(--danger); }
.mrow.off { color: var(--muted-2); }
.mcard--us .mrow { border-color: rgba(245,166,35,.18); }
.mcard__foot { margin-top: 24px; font-size: 14px; color: var(--muted); }
.mcard--us .mcard__foot { color: var(--text); font-weight: 600; }

/* ============================================================
   HOW IT WORKS — dual pipeline
   ============================================================ */
.pipe { display: grid; grid-template-columns: 200px 1fr 220px; gap: 0; align-items: stretch; margin-top: 20px; }
.pipe__io {
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.pipe__io--out { text-align: right; align-items: flex-end; }
.io-chip {
  border: 1px solid var(--line-2); border-radius: 4px; padding: 12px 14px; background: var(--surface);
  width: 100%; max-width: 200px;
}
.io-chip .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.io-chip .v { font-size: 15px; font-weight: 600; margin-top: 4px; }
.io-chip.is-out { border-color: var(--amber); background: var(--amber-dim); }

.pipe__core { padding: 0 30px; display: flex; flex-direction: column; gap: 16px; justify-content: center; }
.path {
  border: 1px solid var(--line); border-radius: 6px; background: var(--surface);
  padding: 20px 22px; position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.path::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent, var(--amber));
}
.path.is-fast { --accent: #5cc8ff; }
.path.is-slow { --accent: #b48bff; }
.path.is-fusion { --accent: var(--amber); }
.path__head { display: flex; align-items: center; gap: 12px; }
.path__icon {
  width: 38px; height: 38px; flex: none; border-radius: 5px; display: grid; place-items: center;
  background: var(--surface-2); font-size: 19px; border: 1px solid var(--line);
}
.path__title { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.path__lat {
  margin-left: auto; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  color: var(--accent, var(--amber)); border: 1px solid currentColor; border-radius: 3px; padding: 3px 8px;
}
.path__desc { font-size: 14px; color: var(--muted); margin-top: 12px; line-height: 1.5; }
.path__pulse {
  position: absolute; right: 14px; bottom: 14px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent, var(--amber)); box-shadow: 0 0 0 0 var(--accent, var(--amber));
}
.in-view .path__pulse { animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245,166,35,.45);} 100% { box-shadow: 0 0 0 14px rgba(245,166,35,0);} }

.pipe__tagline {
  text-align: center; margin-top: 40px; font-size: clamp(18px,2vw,24px); font-weight: 700;
}
.pipe__tagline .amber { color: var(--amber); }
.pipe__tagline small { display:block; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .1em; color: var(--muted-2); margin-top: 12px; text-transform: uppercase; font-weight: 500; }

/* offline badges */
.pipe__badges { display:flex; gap: 14px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pbadge {
  display:inline-flex; align-items:center; gap:10px; border:1px solid var(--line-2);
  border-radius: 40px; padding: 9px 18px; font-size: 13.5px; color: var(--muted);
  font-family: var(--font-mono); letter-spacing: .02em;
}
.pbadge b { color: var(--text); font-weight: 600; }
.pbadge .d { width: 7px; height: 7px; border-radius: 50%; background: var(--safe); }

/* ============================================================
   TWO PRODUCTS — tabs
   ============================================================ */
.prod-tabs { display: flex; gap: 8px; margin-bottom: 36px; flex-wrap: wrap; }
.prod-tab {
  background: var(--surface); border: 1px solid var(--line); border-radius: 5px;
  padding: 16px 22px; display: flex; align-items: center; gap: 14px; color: var(--muted);
  transition: border-color .2s, color .2s, background .2s; flex: 1; min-width: 240px;
}
.prod-tab:hover { border-color: var(--line-2); color: var(--text); }
.prod-tab.is-active { border-color: var(--amber); color: var(--text); background: var(--amber-dim); }
.prod-tab__name { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.prod-tab__name b { color: var(--amber); }
.prod-tab__status {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 3px; margin-left: auto;
}
.prod-tab__status.now { background: rgba(70,217,138,.16); color: var(--safe); }
.prod-tab__status.next { background: var(--surface-3); color: var(--muted); border: 1px solid var(--line-2); }

.prod-panel { display: none; }
.prod-panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.prod-panel__media {
  aspect-ratio: 4/3; border: 1px solid var(--line-2); border-radius: 6px; overflow: hidden; position: relative;
  background: repeating-linear-gradient(135deg, #15171b 0 14px, #121417 14px 28px);
}
.prod-slot {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  color: var(--muted); font-family: var(--font-mono) !important;
}
.prod-panel__phasebadge { z-index: 3; }
.ph-label {
  position: absolute; bottom: 12px; left: 12px; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .08em; color: var(--muted-2); text-transform: uppercase;
  background: rgba(10,11,13,.6); padding: 5px 9px; border: 1px solid var(--line); border-radius: 3px;
}
.prod-panel__phasebadge {
  position: absolute; top: 12px; right: 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 3px;
}
.phasebadge.now { background: var(--safe); color: #062012; }
.phasebadge.next { background: var(--surface-3); color: var(--amber); border: 1px solid var(--amber); }
.prod-panel__body h3 { font-size: 28px; text-transform: uppercase; }
.prod-panel__tagline { color: var(--muted); margin: 14px 0 24px; font-size: 16px; }
.feat-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border:1px solid var(--line); border-radius: 6px; overflow: hidden; }
.feat-list li { background: var(--surface); padding: 16px 18px; display: flex; align-items: center; gap: 14px; font-size: 15px; }
.feat-list li .fk { font-family: var(--font-mono); font-size: 12px; color: var(--amber); width: 28px; flex: none; }
.feat-list li b { font-weight: 600; }

/* ============================================================
   CAPABILITIES GRID
   ============================================================ */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.cap {
  background: var(--surface); padding: 30px 26px 32px; transition: background .2s; position: relative;
}
.cap:hover { background: var(--surface-2); }
.cap__icon {
  width: 44px; height: 44px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line-2);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--amber);
}
.cap__icon svg { width: 22px; height: 22px; }
.cap__t { font-size: 17px; font-weight: 700; }
.cap__d { font-size: 14px; color: var(--muted); margin-top: 9px; line-height: 1.5; }
.cap__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }

/* ============================================================
   WHY KZ / CIS — moats
   ============================================================ */
.moat-band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.moats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.moat {
  background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px 34px;
  position: relative; overflow: hidden;
}
.moat__law { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--amber); text-transform: uppercase; }
.moat__icon { font-size: 26px; margin-bottom: 18px; }
.moat__t { font-size: 21px; font-weight: 800; text-transform: uppercase; margin: 14px 0 12px; letter-spacing: -0.01em; }
.moat__d { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.moat__d b { color: var(--text); font-weight: 600; }

/* ============================================================
   TRUST / OBJECTIONS
   ============================================================ */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.obj { border: 1px solid var(--line); border-radius: 6px; padding: 30px 28px 32px; background: var(--surface); }
.obj__fear { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--danger); text-transform: uppercase; }
.obj__fear s { color: var(--muted-2); }
.obj__t { font-size: 20px; font-weight: 800; margin: 14px 0 12px; text-transform: uppercase; }
.obj__d { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.obj__d b { color: var(--text); font-weight: 600; }
.obj__d code { font-family: var(--font-mono); font-size: 13px; color: var(--amber); background: var(--amber-dim); padding: 1px 6px; border-radius: 3px; }

/* ============================================================
   ROI CALCULATOR
   ============================================================ */
.roi { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.roi__controls { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 34px 32px; }
.roi__seg { display: flex; gap: 6px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 5px; margin-bottom: 30px; }
.roi__seg button {
  flex: 1; background: transparent; border: 0; color: var(--muted); padding: 11px; border-radius: 4px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .03em; text-transform: uppercase; transition: .15s;
}
.roi__seg button.is-active { background: var(--amber); color: #1a1206; }
.field { margin-bottom: 26px; }
.field__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.field__label { font-size: 14px; color: var(--muted); }
.field__val { font-family: var(--font-mono); font-size: 18px; font-weight: 600; color: var(--text); }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 3px;
  background: var(--surface-3); outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--amber); cursor: pointer; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--amber);
}
input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--amber); cursor: pointer; border: 3px solid var(--bg);
}

.roi__out { display: flex; flex-direction: column; gap: 18px; }
.roi__hero-num {
  background: linear-gradient(180deg, rgba(245,166,35,.08), var(--surface)); border: 1px solid var(--amber);
  border-radius: 8px; padding: 30px 32px;
}
.roi__hero-num .l { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.roi__hero-num .big { font-size: clamp(40px, 5vw, 60px); font-weight: 800; line-height: 1; margin: 12px 0 6px; font-family: var(--font-mono); letter-spacing: -0.02em; }
.roi__hero-num .sub { font-size: 14px; color: var(--muted); }
.roi__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rmetric { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px; }
.rmetric .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.rmetric .v { font-size: 26px; font-weight: 800; margin-top: 8px; font-family: var(--font-mono); }
.rmetric .v.amber { color: var(--amber); }
.rmetric .v.safe { color: var(--safe); }
.roi__disclaimer {
  font-size: 12.5px; color: var(--muted-2); line-height: 1.5; font-family: var(--font-mono);
  border-left: 2px solid var(--line-2); padding-left: 14px;
}

/* ============================================================
   90-DAY PATH
   ============================================================ */
.path90 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; position: relative; }
.step90 { position: relative; padding: 0 18px; }
.step90:not(:last-child)::after {
  content: ""; position: absolute; top: 13px; left: 50%; right: -50%; height: 2px; background: var(--line);
}
.step90__dot {
  width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--line-2);
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  position: relative; z-index: 2; color: var(--amber);
}
.step90__days { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--muted-2); margin: 18px 0 8px; text-transform: uppercase; }
.step90__t { font-size: 16px; font-weight: 700; }
.step90__d { font-size: 13.5px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.rollout {
  margin-top: 44px; border: 1px solid var(--amber); border-radius: 6px; background: var(--amber-dim);
  padding: 22px 26px; display: flex; align-items: center; gap: 18px;
}
.rollout .tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); border: 1px solid var(--amber); padding: 6px 12px; border-radius: 3px; flex: none; }
.rollout p { margin: 0; font-size: 15.5px; }
.rollout p b { color: var(--amber); }

/* ============================================================
   FINAL CTA / FORM
   ============================================================ */
.cta { background: var(--bg-2); border-top: 1px solid var(--line); position: relative; overflow: hidden; }
.cta__glow { position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 500px; background: radial-gradient(circle, var(--amber-glow), transparent 60%); filter: blur(40px); opacity: .35; }
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta h2 { font-size: clamp(24px, 3.18vw, 45px); text-transform: uppercase; letter-spacing: -0.02em; }
.cta__lead { color: var(--muted); margin: 22px 0 28px; font-size: clamp(18px, 1.61vw, 22px); max-width: 44ch; }
.cta__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.cta__points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--muted); }
.cta__points li b { color: var(--text); font-weight: 600; }
.cta__points .tick { color: var(--amber); font-family: var(--font-mono); flex: none; }

.form { background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 34px 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { margin-bottom: 18px; }
.form__group label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.form input, .form select {
  width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px; color: var(--text);
  padding: 13px 14px; font-family: var(--font-display); font-size: 15px; transition: border-color .15s;
}
.form input:focus, .form select:focus { outline: none; border-color: var(--amber); }
.form input::placeholder { color: var(--muted-2); }
.form__note { font-size: 12px; color: var(--muted-2); margin-top: 14px; font-family: var(--font-mono); line-height: 1.5; }
.form__row--tight { margin-bottom: 6px; }
.form__row--tight .form__group { margin-bottom: 0; }
.form__hint { font-size: 12px; color: var(--muted-2); margin: 0 0 18px; font-family: var(--font-mono); line-height: 1.5; }

/* Multi-select chips field (industry picker) */
.chips-field {
  display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 7px 8px; min-height: 46px; transition: border-color .15s; cursor: text;
}
.chips-field.is-open { border-color: var(--amber); }
.form .chips-field__input {
  flex: 1 1 120px; width: auto; min-width: 120px;
  background: transparent; border: 0; padding: 4px 6px; color: var(--text);
  font-family: var(--font-display); font-size: 15px;
}
.form .chips-field__input:focus { outline: none; border: 0; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amber-dim); color: var(--text);
  border: 1px solid var(--amber); border-radius: 4px;
  padding: 5px 6px 5px 10px; font-size: 13.5px; line-height: 1; white-space: nowrap;
}
.chip__x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border: 0; border-radius: 3px;
  background: transparent; color: var(--muted); font-size: 15px; line-height: 1;
  cursor: pointer; transition: background .15s, color .15s;
}
.chip__x:hover { background: var(--amber); color: var(--bg); }
.chips-wrap { position: relative; }
.chips-menu {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 30;
  max-height: 240px; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: 4px; padding: 5px; display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3);
}
.chips-menu__opt {
  text-align: left; padding: 9px 11px; border: 0; border-radius: 3px; color: var(--text);
  font-family: var(--font-display); font-size: 14.5px; cursor: pointer;
  background: transparent; transition: background .12s;
}
.chips-menu__opt:hover { background: var(--amber-dim); }
.chips-menu__opt--add { color: var(--muted); font-style: italic; }
.form__success {
  display: none; text-align: center; padding: 30px 10px;
}
.form__success.show { display: block; }
.form__success .big { font-size: 24px; font-weight: 800; text-transform: uppercase; color: var(--amber); }
.form__success p { color: var(--muted); margin-top: 12px; }
.form__success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--amber-dim); border: 1px solid var(--amber); display: grid; place-items: center; margin: 0 auto 18px; color: var(--amber); font-size: 26px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { max-width: 320px; }
.footer__brand .lead { font-size: 14px; margin-top: 16px; }.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.fcol h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 16px; font-weight: 500; }
.fcol a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 11px; transition: color .15s; }
.fcol a:hover { color: var(--amber); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer__bottom p { margin: 0; font-size: 12.5px; color: var(--muted-2); font-family: var(--font-mono); letter-spacing: .03em; }
.footer__bottom .aimris { font-weight: 400; }
.footer__its-link { font-family: var(--font-display); color: var(--amber); text-decoration: underline; text-underline-offset: 2px; transition: color .15s; }
.footer__its-link:hover { color: var(--amber-bright); }

/* ============================================================
   scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto; }
}

/* calm scroll reveal — fade up + stagger (tagged by anim.js).
   Visible by default; only hides + animates when motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  [data-anim] { opacity: 0; transform: translateY(18px); will-change: opacity, transform; }
  [data-anim].is-shown {
    opacity: 1; transform: none;
    transition: opacity .7s cubic-bezier(.2,.7,.2,1) calc(var(--ai, 0) * 90ms),
                transform .7s cubic-bezier(.2,.7,.2,1) calc(var(--ai, 0) * 90ms);
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hud { max-width: 620px; }
  .matrix, .caps, .moats, .trust { grid-template-columns: 1fr 1fr; }
  .reality-grid { grid-template-columns: 1fr 1fr; }
  .feeds { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .roi, .cta__inner, .prod-panel.is-active { grid-template-columns: 1fr; }
  .pipe { grid-template-columns: 1fr; gap: 26px; }
  .pipe__io--out { text-align: left; align-items: flex-start; }
  .io-chip { max-width: none; }
  .path90 { grid-template-columns: 1fr 1fr; gap: 30px 18px; }
  .step90:not(:last-child)::after { display: none; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .section { padding: 59px 0; }
  .footer__top { flex-direction: column; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .matrix, .caps, .moats, .trust, .problem-grid { grid-template-columns: 1fr; }
  .reality-grid { grid-template-columns: 1fr; }
  .feeds { grid-template-columns: 1fr; }
  .roi__metrics, .form__row { grid-template-columns: 1fr; }
  .path90 { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .header__right .btn--primary { display: none; }
}

/* ============================================================
   LIGHT-THEME OVERRIDES
   The base rules above were authored for a dark page; these
   re-tune the bits that hard-coded dark/charcoal values so the
   landing reads as a light editorial layout with B&W imagery.
   ============================================================ */

/* ink on the accent is now white */
.btn--primary,
.bbox__tag,
.feed-card__det span,
.roi__seg button.is-active,
.boxedit__btn.is-primary,
.boxedit__btn.is-primary:hover { color: var(--amber-ink); }

/* sticky header: white translucent */
.header { background: rgba(255,255,255,.82); }

/* hero texture: faint DARK grid on the white page */
.hero__grid-bg {
  background-image:
    linear-gradient(rgba(26,28,31,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,28,31,.05) 1px, transparent 1px);
}

/* chrome bars sit on dark scrims over B&W photos → keep their text light */
.hud__bar, .feed-card__bar { color: rgba(255,255,255,.72); }
.hud__bar .src, .hud__bar .right,
.feed-card__bar .cam { color: #ffffff; }

/* eyebrow: drop the leading rule for the clean editorial look */
.eyebrow::before { display: none; }

/* drop decorative geometric glyphs (ticker ◆, showcase ◇ markers) */
.ticker__row span::after { display: none; }
.showcase-note span::before { display: none; }

/* ---- media panels keep dark scrims for white chrome over B&W photos,
        but the captions/callouts become solid light editorial cards ---- */

/* HUD media frame: light surround so any letterboxing reads clean */
.hud { background: var(--surface-2); }

/* corner brackets + scan tint use the accent */
.hud__corners span { border-color: rgba(244,168,28,.6); }
.hud__scan { background: linear-gradient(180deg, transparent, rgba(244,168,28,.10), transparent); }

/* root-cause callout → solid white card, dark text, accent rail */
.hud__callout {
  background: #ffffff;
  border-color: var(--line);
  border-left-color: var(--amber);
  box-shadow: var(--shadow-pop);
}
.hud__callout .msg { color: var(--text); }

/* telemetry tiles → light glass with dark labels */
.hud__telemetry .tele {
  background: rgba(255,255,255,.92);
  border-color: var(--line);
  box-shadow: var(--shadow-pop);
}

/* detection confidence sits over the photo → keep it light */
.bbox__conf { color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.5); }

/* feed cards: dark behind the photo, but the tag caption is a light card */
.feed-card { background: var(--surface-2); }
.feed-card__tag {
  background: #ffffff;
  border-color: var(--line);
  border-left-color: var(--amber);
  box-shadow: var(--shadow-pop);
}

/* comparison matrix "ours" card: soft accent wash */
.mcard--us { background: linear-gradient(180deg, var(--amber-dim), var(--surface) 60%); }
.mcard--us .mrow { border-color: rgba(244,168,28,.18); }

/* product media placeholder + roi hero on light */
.prod-panel__media { background: var(--surface-2); }
.roi__hero-num { background: linear-gradient(180deg, var(--amber-dim), var(--surface)); }

/* Still photography keeps the B&W treatment; live video feeds show in
   their original color. */
.media-photo {
  filter: grayscale(1) contrast(1.06);
}
.hud__video,
.feed-card__video,
.prod-panel__video {
  filter: contrast(1.04);
}


/* ============================================================
   ACCENT TEXT  (final overrides, win over everything above)
   YELLOW is the only accent. Bright --amber for FILLS & the big hero
   word; the deeper gold --amber-deep for accent TEXT / labels / links
   on white (bright yellow text is illegible on white).
   ============================================================ */
.eyebrow { color: var(--amber-deep); }
.amber { color: var(--amber-deep); }
.hero h1 .amber { color: var(--amber); }            /* hero display word stays bright yellow */
.hero__stat .n small { color: var(--amber-deep); }
.lang__opt.is-active { background: var(--amber-dim); color: var(--amber-deep); }
.lang.is-open .lang__btn { border-color: var(--amber-deep); }
.brand__name { color: rgba(20, 21, 26, .8); }
.mcard--us .mcard__badge { color: var(--amber-deep); }
.prod-tab.is-active { border-color: var(--amber); background: var(--amber-dim); }
.prod-tab__name b { color: var(--amber-deep); }
.feat-list li .fk { color: var(--amber-deep); }
.cap__icon { color: var(--amber-deep); }
.moat__law { color: var(--amber-deep); }
.obj__d code { color: var(--amber-deep); background: var(--amber-dim); }
.pipe__tagline .amber { color: var(--amber-deep); }
.rmetric .v.amber { color: var(--amber-deep); }
.roi__hero-num .l { color: var(--amber-deep); }
.step90__node { color: var(--amber-deep); }
.problem-note .tick { color: var(--amber-deep); }
.cta__points .tick { color: var(--amber-deep); }
.nav a:hover { color: var(--amber-deep); }
.fcol a:hover { color: var(--amber-deep); }
.form input:focus, .form select:focus { border-color: var(--amber); }
.form__success .big { color: var(--amber-deep); }
