/* Dimensio Systems — Website */

:root {
  --bg:        #F7F7F5;
  --bg-elev:   #FFFFFF;
  --bg-sunk:   #F1F0EC;
  --bg-dark:   #0F0F0E;
  --bg-dark-2: #1A1A18;
  --ink:       #111111;
  --ink-2:     #2A2A2A;
  --muted:     #6B6B68;
  --muted-2:   #9A9A95;
  --line:      #E4E2DC;
  --line-2:    #D6D3CB;
  --line-dark: #2A2A26;
  --pop:       #FF5A1F;
  --pop-soft:  #FFE9DF;
  --ok:        #22C55E;
  --warn:      #EAB308;
  --err:       #EF4444;
  --info:      #3B82F6;

  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --max: 1280px;
  --pad: 80px;
  --pad-y: 120px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* Type */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.eyebrow .sep { color: var(--pop); margin: 0 6px; }
.eyebrow .num {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  margin-right: 10px;
  color: var(--ink);
}

h1, h2, h3, h4, p { margin: 0; }
h1 { font-family: var(--font-sans); font-size: clamp(48px, 7vw, 96px); font-weight: 600; line-height: 0.98; letter-spacing: -0.04em; }
h2 { font-family: var(--font-sans); font-size: clamp(36px, 5vw, 64px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
h3 { font-family: var(--font-sans); font-size: 24px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; line-height: 1.3; }
p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.lead { font-size: 20px; line-height: 1.45; color: var(--ink-2); max-width: 720px; }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--pad-y) 0; }
.row { display: flex; }
.col { display: flex; flex-direction: column; }
.between { display: flex; justify-content: space-between; align-items: center; }
.center  { display: flex; align-items: center; justify-content: center; }
.middle  { align-items: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }

/* Buttons */
.btn {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  height: 44px;
  box-sizing: border-box;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-elev);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s, background .12s;
}
.btn:hover { background: var(--bg-sunk); }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: #000; }
.btn-pop { background: var(--pop); color: #fff; border-color: var(--pop); }
.btn-pop:hover { background: #E64D14; }
.btn-ghost-dark { background: transparent; border-color: rgba(255,255,255,0.2); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.06); }
.btn-pop-dark { background: var(--pop); color: #fff; border-color: var(--pop); }

/* Brand mark */
.brandmark {
  width: 26px; height: 26px;
  border: 1.5px solid currentColor;
  border-radius: 5px;
  position: relative;
  flex: none;
}
.brandmark::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--pop);
  right: -2px; top: -2px;
}

/* Logomark — wordmark with top-right corner bracket and SYSTEMS subline */
.logomark {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1;
  font-family: var(--font-mono);
}
.logomark-name {
  position: relative;
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  padding-right: 14px;
  padding-top: 6px;
}
.logomark-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--pop);
  border-right: 2px solid var(--pop);
}
.logomark-sub {
  align-self: flex-end;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--muted);
}
.logomark-light .logomark-name { color: #fff; }
.logomark-light .logomark-sub { color: rgba(255,255,255,0.65); }

.bracket {
  position: relative;
  display: inline-block;
  padding: 4px 8px;
}
.bracket::before, .bracket::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border: 1.5px solid var(--pop);
}
.bracket::before { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.bracket::after { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* Header / nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(17,17,17,0.02), 0 8px 24px rgba(17,17,17,0.04);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 16px; letter-spacing: -0.01em;
  text-decoration: none; color: inherit;
}
.nav-brand .sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.18em; color: var(--muted); }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 13px; color: var(--ink-2); text-decoration: none; font-weight: 500;
}
.nav-links a:hover { color: var(--pop); }

/* Hero */
.hero {
  padding: 36px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}
.hero > .wrap { width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}
.hero h1 .pop { color: var(--pop); }

/* Word rotator */
.rotator {
  display: inline-block;
  vertical-align: bottom;
  height: 1em;
  overflow: hidden;
  position: relative;
  line-height: 1;
}
.rotator-track {
  display: flex;
  flex-direction: column;
  animation: rotate-words 9s cubic-bezier(0.86, 0, 0.07, 1) infinite;
}
.rotator-track > span {
  display: block;
  height: 1em;
  line-height: 1;
  white-space: nowrap;
}
@keyframes rotate-words {
  0%, 28%   { transform: translateY(0); }
  33%, 61%  { transform: translateY(-1em); }
  66%, 94%  { transform: translateY(-2em); }
  100%      { transform: translateY(-3em); }
}
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.hero-meta .v { font-family: var(--font-mono); font-size: 28px; letter-spacing: -0.02em; font-weight: 500; }
.hero-meta .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Hero device photo */
.hero-device-photo {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 0;
  margin-top: -8px;
}
.hero-device-photo img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(17,17,17,0.18)) drop-shadow(0 8px 16px rgba(17,17,17,0.08));
}

/* Hero device illustration */
.hero-device {
  position: relative;
  background: var(--bg-dark);
  border-radius: 18px;
  padding: 24px;
  color: #fff;
  box-shadow: 0 30px 80px rgba(17,17,17,0.16), 0 4px 14px rgba(17,17,17,0.06);
  border: 1px solid var(--line);
  min-height: 420px;
}
.device-status-bar {
  display: flex; align-items: center; gap: 8px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
}
.device-lights { display: flex; gap: 6px; margin-left: auto; }
.device-lights .l { width: 8px; height: 8px; border-radius: 999px; }
.device-lights .l.r { background: rgba(239,68,68,0.25); }
.device-lights .l.y { background: rgba(234,179,8,0.25); }
.device-lights .l.g { background: var(--ok); box-shadow: 0 0 14px rgba(34,197,94,0.7); }

.device-screen {
  margin-top: 18px;
  background: #FAFAF7;
  border-radius: 12px;
  padding: 18px;
  color: #111;
  position: relative;
  overflow: hidden;
}
.device-bbox {
  position: absolute;
  inset: 30% 24% 16% 22%;
  border: 1.5px dashed var(--pop);
  border-radius: 4px;
}
.device-bbox::before {
  content: 'PARCEL · 0.94';
  position: absolute; top: -22px; left: 0;
  font-family: var(--font-mono); font-size: 10px; color: var(--pop);
  letter-spacing: 0.06em;
}

/* Generic dim cards */
.dim-card { padding: 14px 18px; }
.dim-card .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted); }
.dim-card .v { font-family: var(--font-mono); font-size: 28px; font-weight: 500; letter-spacing: -0.02em; margin-top: 4px; }
.dim-card .v sup { font-size: 14px; color: var(--muted); margin-left: 4px; vertical-align: top; }

/* Marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink);
}
.marquee-half {
  display: flex; gap: 56px;
  padding-right: 56px;
  flex-shrink: 0;
}
.marquee-track .sep { color: var(--pop); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Problem section */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 48px;
}
.problem-card {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.problem-card:last-child { border-right: 0; }
.problem-card .pic {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--pop);
  margin-bottom: 16px;
  line-height: 1;
}
.problem-card h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 14px;
}
.problem-card p { font-size: 14px; }

/* Process */
.process-section { background: var(--bg-dark); color: #fff; }
.process-section h2 { color: #fff; }
.process-section .lead { color: rgba(255,255,255,0.65); }
.process-section .eyebrow { color: rgba(255,255,255,0.55); }
.process-section .eyebrow .num { color: #fff; border-color: rgba(255,255,255,0.2); }
.process-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}
.process-step .ill { margin-top: auto; }
.process-step:last-child { border-right: 0; }
.process-step .step-no {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.6);
}
.process-step .step-time {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--pop); margin-left: auto;
}
.process-step h3 { color: #fff; margin-top: 24px; }
.process-step p { color: rgba(255,255,255,0.65); margin-top: 10px; }
.process-step .ill {
  margin-top: 28px; height: 120px;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.02);
  position: relative; overflow: hidden;
}

.under-text {
  margin-top: 32px;
  text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
}

/* Big number badge */
.badge-3s {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
}
.badge-3s .n { font-family: var(--font-mono); font-size: 22px; color: var(--pop); font-weight: 500; }
.badge-3s .l { font-size: 11px; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); text-transform: uppercase; }

/* Device specs */
.device-section { background: var(--bg-sunk); }
.device-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 64px;
}
.device-mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 56px;
  position: relative;
  aspect-ratio: 1.05 / 1;
  display: flex; align-items: center; justify-content: center;
}
.device-photo {
  max-width: 70%;
  max-height: 80%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-elev);
  overflow: hidden;
}
.spec {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.spec:nth-child(2n) { border-right: 0; }
.spec:nth-last-child(-n+2) { border-bottom: 0; }
.spec h4 {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 10px;
}
.spec .v { font-family: var(--font-sans); font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.spec .d { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Signalization */
.signal-section { background: var(--bg); }
.lights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.light-card {
  padding: 36px 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}
.light-card.l-g { background: linear-gradient(180deg, rgba(34,197,94,0.05), transparent 60%); border-color: rgba(34,197,94,0.25); }
.light-card.l-y { background: linear-gradient(180deg, rgba(234,179,8,0.06), transparent 60%); border-color: rgba(234,179,8,0.3); }
.light-card.l-r { background: linear-gradient(180deg, rgba(239,68,68,0.05), transparent 60%); border-color: rgba(239,68,68,0.25); }
.lamp {
  width: 64px; height: 64px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.lamp.g { background: var(--ok);   box-shadow: 0 0 0 6px rgba(34,197,94,0.15), 0 8px 24px rgba(34,197,94,0.3); }
.lamp.y { background: var(--warn); box-shadow: 0 0 0 6px rgba(234,179,8,0.15), 0 8px 24px rgba(234,179,8,0.3); color: #1a1a1a; }
.lamp.r { background: var(--err);  box-shadow: 0 0 0 6px rgba(239,68,68,0.15), 0 8px 24px rgba(239,68,68,0.3); }
.light-card .label {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--muted);
  margin-top: 28px; text-transform: uppercase;
}
.light-card h3 { margin-top: 4px; }

/* Hardware features grid */
.feat-section { background: var(--bg-sunk); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 14px;
  overflow: hidden;
}
.feat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
}
.feat .num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  color: var(--pop); font-weight: 500;
}
.feat h4 { margin-top: 18px; margin-bottom: 8px; }
.feat p { font-size: 14px; color: var(--muted); }

/* Software section */
.sw-section { background: var(--bg); }
.sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
.sw-card {
  padding: 28px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.sw-card.dark { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.sw-card.dark p { color: rgba(255,255,255,0.65); }
.sw-card.dark .num { color: var(--pop); }
.sw-card .num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: var(--pop);
}
.sw-card h3 { margin-top: 14px; margin-bottom: 8px; }

.sw-card .code {
  margin-top: 18px;
  font-family: var(--font-mono); font-size: 11px;
  background: rgba(0,0,0,0.04); border-radius: 8px; padding: 12px;
  color: var(--ink-2); overflow: hidden; line-height: 1.6;
}
.sw-card.dark .code { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.85); }
.code .k { color: var(--pop); }
.code .s { color: var(--ok); }
.code .n { color: var(--info); }

.plugin-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.plug-chip {
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 12px; background: var(--bg);
}

/* Dashboard mock */
.dash-section { background: var(--bg); border-top: 1px solid var(--line); }
.dash-mock {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-elev);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(17,17,17,0.08);
}
.dash-bar {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted);
  background: var(--bg-sunk);
}
.dash-bar .lights { display: flex; gap: 6px; margin-right: 8px; }
.dash-bar .lights .d { width: 10px; height: 10px; border-radius: 999px; background: #D6D3CB; }
.dash-bar .url { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; }

.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
}
.dash-side {
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  background: var(--bg-sunk);
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-sans); font-size: 13px;
}
.dash-side .item {
  padding: 7px 10px; border-radius: 6px; color: var(--ink-2); display: flex; align-items: center; gap: 8px;
}
.dash-side .item.active { background: var(--ink); color: #fff; font-weight: 500; }
.dash-side .lab {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.16em;
  color: var(--muted-2); text-transform: uppercase; padding: 14px 10px 6px;
}

.dash-main { padding: 24px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi {
  padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px;
}
.kpi .v { font-family: var(--font-mono); font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.kpi .l { font-size: 12px; color: var(--muted); margin-top: 4px; }
.kpi .d { font-family: var(--font-mono); font-size: 10px; color: var(--ok); margin-top: 6px; letter-spacing: 0.06em; }

.dash-rec {
  margin-top: 18px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.dash-rec .head, .dash-rec .row {
  display: grid;
  grid-template-columns: 220px 220px 110px 110px 1fr;
  align-items: center;
  padding: 10px 16px;
  font-size: 13px;
}
.dash-rec .head {
  background: var(--bg-sunk);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 10px; color: var(--muted); letter-spacing: 0.12em; text-transform: uppercase;
}
.dash-rec .row { border-bottom: 1px solid var(--line); font-family: var(--font-mono); }
.dash-rec .row:last-child { border-bottom: 0; }
.dash-rec .row:hover { background: var(--bg-sunk); }

/* Dashboard tabs */
.dash-tabs {
  margin-top: 40px;
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-elev);
  padding: 6px;
  overflow: hidden;
}
.dash-tab {
  flex: 1 1 0;
  min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 10px 18px;
  border: 0; background: transparent; cursor: pointer;
  border-radius: 8px;
  color: var(--ink-2);
  font-family: var(--font-sans);
  text-align: center;
  transition: background .15s ease, color .15s ease;
}
.dash-tab .t { text-align: center; }
.dash-tab .dot { display: none; }
.dash-tab .t {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.dash-tab .tn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--muted);
  transition: color .15s ease;
}
.dash-tab .tl {
  display: block;
  font-size: 14px; font-weight: 500; margin-top: 4px;
}
.dash-tab:hover { background: var(--bg-sunk); }
.dash-tab.active {
  background: var(--ink);
  color: #fff;
}
.dash-tab.active .tn { color: var(--pop); }
.dash-tab-spacer { display: none; }
.dash-tab-nav { display: none; }
.dash-arrow {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  color: var(--ink-2);
}
.dash-arrow:hover { background: var(--bg-sunk); border-color: var(--ink); }

.dash-stage {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: stretch;
}
.dash-stage > .dash-mock { margin-top: 0; min-width: 0; }
.dash-stage > .dash-arrow-side { align-self: center; }
.dash-arrow-side {
  width: 28px; height: 44px;
  border: 0;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  transition: color .15s ease;
}
.dash-arrow-side:hover { color: var(--ink); background: transparent; }

.dash-views {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}
.dash-views > .dash-view {
  display: block;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  justify-self: stretch;
  visibility: hidden;
  pointer-events: none;
}
.dash-views > .dash-view.active {
  visibility: visible;
  pointer-events: auto;
}

/* Live stream view */
.live-stream {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}
.ls-feed {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #1A1A18;
  min-width: 0;
  width: 100%;
  height: 360px;
}
.ls-feed svg { width: 100%; height: 100%; display: block; }
.ls-side { min-width: 0; width: 100%; }
.ls-feed svg { display: block; width: 100%; height: 100%; }
.ls-rec {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  color: #fff;
  background: rgba(34,197,94,0.85);
  padding: 4px 8px;
  border-radius: 4px;
}
.ls-side {
  display: flex; flex-direction: column; gap: 10px;
}
.ls-card {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.ls-card.ok { border-color: rgba(34,197,94,0.4); }
.ls-l {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; color: var(--muted);
  text-transform: uppercase;
}
.ls-v {
  font-family: var(--font-mono);
  font-size: 18px; font-weight: 500; letter-spacing: -0.01em;
  margin-top: 4px;
}
.ls-v .u { color: var(--muted); font-size: 12px; }

/* KPI throughput chart */
.kpi-chart {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.kpi-chart-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 12px;
}

/* Stations strip */
.ops-stations {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.ops-st {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.lamp-dot {
  width: 8px; height: 8px; border-radius: 999px; display: inline-block;
  background: var(--muted);
}
.lamp-dot.ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(34,197,94,0.15); }

/* Variants */
.var-section { background: var(--bg-sunk); }
.var-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.var-card {
  padding: 36px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
}
.var-card.dark { background: var(--bg-dark); color: #fff; border-color: var(--bg-dark); }
.var-card.dark p { color: rgba(255,255,255,0.65); }
.var-card .tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); display: inline-block;
  margin-bottom: 18px;
}
.var-card.dark .tag { color: rgba(255,255,255,0.55); }
.var-card h3 { font-size: 30px; letter-spacing: -0.02em; }
.var-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.var-card.dark .var-specs { border-color: rgba(255,255,255,0.1); }
.var-specs .l { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.var-card.dark .var-specs .l { color: rgba(255,255,255,0.5); }
.var-specs .v { font-family: var(--font-mono); font-size: 18px; margin-top: 4px; font-weight: 500; }
.var-list { margin-top: 20px; padding: 0; list-style: none; }
.var-list li {
  font-size: 14px; padding: 8px 0; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 10px;
}
.var-card.dark .var-list li { border-color: rgba(255,255,255,0.1); }
.var-list li::before {
  content: '+'; color: var(--pop); font-family: var(--font-mono); font-weight: 600;
}

/* CTA */
.cta-section { background: var(--bg-dark); color: #fff; }
.cta-section h2 { color: #fff; font-size: clamp(48px, 7vw, 96px); }
.cta-section .lead { color: rgba(255,255,255,0.7); }
.cta-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 56px;
  align-items: center;
}
.cta-words {
  display: flex; flex-wrap: wrap; gap: 24px; margin: 32px 0;
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.cta-words .w { color: rgba(255,255,255,0.4); }
.cta-words .w.on { color: #fff; }
.cta-words .sep { color: var(--pop); }

.contact-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 28px;
}
.contact-card .lab { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.contact-card a { color: #fff; text-decoration: none; font-size: 18px; font-weight: 500; }
.contact-card a:hover { color: var(--pop); }

/* Footer */
footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
  font-size: 13px;
}
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer .legal { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }

/* Section header */
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.section-head .eyebrow { margin-bottom: 4px; }

/* Photo / box illustration */
.box-iso {
  position: relative;
  width: 100%;
  aspect-ratio: 1.4 / 1;
  display: flex; align-items: center; justify-content: center;
}

/* Responsive */
@media (max-width: 980px) {
  :root { --pad: 28px; --pad-y: 80px; }
  .nav-links { display: none; }
  .nav-inner { gap: 12px; }
  .nav-inner .btn { padding: 0 12px; font-size: 13px; }
  .hero { min-height: auto; padding: 24px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-device-photo { min-height: 0; margin-top: 0; }
  .hero-device-photo img { max-height: 360px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .problem-card:nth-child(2n) { border-right: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .device-grid { grid-template-columns: 1fr; }
  .device-photo { max-width: 90%; max-height: 360px; }
  .specs { grid-template-columns: 1fr; }
  .spec { border-right: 0; }
  .spec:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .spec:last-child { border-bottom: 0; }
  .lights-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .sw-grid { grid-template-columns: 1fr; }
  .var-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-section h2 { font-size: clamp(36px, 9vw, 64px); }

  /* Dashboard */
  .dash-tabs { padding: 4px; flex-wrap: wrap; }
  .dash-tab { padding: 8px 10px; flex: 1 1 33%; }
  .dash-tab .tl { font-size: 12px; }
  .dash-stage { grid-template-columns: 1fr; gap: 12px; }
  .dash-arrow-side { display: none; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .dash-main { padding: 16px; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .live-stream { grid-template-columns: 1fr; }
  .ls-feed { height: 240px; }
  .ops-stations { grid-template-columns: 1fr; }
  .kpi-chart svg { height: 140px; }
  .dash-rec .head, .dash-rec .row { grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 12px; }
  .dash-rec .head span:nth-child(n+3),
  .dash-rec .row span:nth-child(n+3) { display: none; }

  /* Marquee a touch tighter */
  .marquee-half { gap: 32px; padding-right: 32px; }
}

@media (max-width: 600px) {
  :root { --pad: 18px; --pad-y: 56px; }
  .nav-inner .btn:first-child { display: none; }
  h1 { font-size: clamp(36px, 9vw, 56px); }
  .hero h1 { font-size: clamp(36px, 10vw, 56px); }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .problem-card:last-child { border-bottom: 0; }
  .kpi-row { grid-template-columns: 1fr; }
  .dash-tab .tn { display: none; }
  .dash-tab { padding: 8px 6px; }
  .dash-tab .tl { font-size: 11px; }
  .var-card { padding: 24px; }
  .contact-card { padding: 20px; }
  .cta-words { gap: 12px; font-size: 12px; }
  .device-mock { padding: 24px; }
}
