/* ═══════════════════════════════════════════════════════════════════════════
   NEXUS — marketing site design system
   Hand-built, dependency-free. Dark, editorial, operations-grade.
   Typography: Inter Tight (display) · Inter (text) · Instrument Serif
   (editorial accents) · Geist Mono (labels & data).
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Fonts (self-hosted latin subsets) ── */
@font-face {
  font-family: 'Inter Tight';
  src: url('./fonts/inter-tight-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('./fonts/inter-var.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('./fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('./fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('./fonts/geist-mono-var.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ── */
:root {
  --bg-0: #04070d;
  --bg-1: #060a13;
  --bg-2: #0a1020;
  --panel: #0a101dcc;
  --surface-1: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);
  --line: rgba(151, 168, 197, 0.14);
  --line-strong: rgba(151, 168, 197, 0.26);
  --text-1: #e9edf4;
  --text-2: #a3aec2;
  --text-3: #6d7b8f;
  --blue: #2563eb;
  --blue-bright: #60a5fa;
  --blue-ice: #b7d2fd;
  --serif-ink: #dfe9fb;
  --ok: #34d399;
  --warn: #fbbf24;
  --crit: #fb7185;
  --font-display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --container: 1160px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 9px;
  --head-h: 72px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ── Reset & base ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-1);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* film-grain overlay: keeps large dark surfaces from banding, adds texture */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(37, 99, 235, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-bright); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  padding: 0.6rem 1rem; border-radius: 8px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: 0.85rem;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip:focus-visible { transform: none; }

/* section anchors clear the fixed header */
section[id] { scroll-margin-top: calc(var(--head-h) + 12px); }

/* ── Reveal-on-scroll (JS adds .is-in; no-JS shows everything) ── */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0s),
    transform 0.9s var(--ease-out) var(--d, 0s);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ═══════════════════════ Header ═══════════════════════ */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
  border-bottom: 1px solid transparent;
}
.site-head.is-scrolled {
  background: rgba(4, 7, 13, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
}
.site-head__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 3.5vw, 2rem);
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.brand__mark { width: 30px; height: 30px; }
.brand__word {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 1.02rem;
  letter-spacing: 0.24em;
  color: var(--text-1);
  translate: 0 1px;
}
.site-nav { display: flex; gap: clamp(1.1rem, 2.6vw, 2.1rem); }
.site-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--blue-bright);
  transition: right 0.3s var(--ease-out);
}
.site-nav a:hover { color: var(--text-1); }
.site-nav a:hover::after { right: 0; }
.site-head__actions { display: flex; align-items: center; gap: 0.8rem; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  position: relative;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 11px; right: 11px;
  height: 1.6px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, top 0.25s;
}
.nav-toggle__bar { top: 19px; }
.nav-toggle__bar::before { left: 0; right: 0; top: -6px; }
.nav-toggle__bar::after { left: 0; right: 0; top: 6px; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bar::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.8rem clamp(1.1rem, 3.5vw, 2rem) 1.4rem;
  background: rgba(4, 7, 13, 0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:not(.btn) {
  padding: 0.7rem 0.2rem;
  font-size: 1rem;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: 0.9rem; }
.mobile-nav.is-open { display: flex; }

/* ═══════════════════════ Buttons ═══════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.005em;
  border-radius: 12px;
  padding: 0.78rem 1.45rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
  white-space: nowrap;
}
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #3b7cf7, #2563eb 55%, #1d55d6);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 1px 2px rgba(2, 6, 18, 0.6),
    0 8px 26px -10px rgba(37, 99, 235, 0.75);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 2px 4px rgba(2, 6, 18, 0.5),
    0 14px 34px -10px rgba(37, 99, 235, 0.9);
}
.btn--primary:active { transform: translateY(0.5px); }
.btn--ghost {
  color: var(--text-1);
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.015);
}
.btn--ghost:hover {
  border-color: rgba(151, 168, 197, 0.45);
  background: rgba(255, 255, 255, 0.05);
}
.btn--sm { padding: 0.55rem 1.05rem; font-size: 0.85rem; border-radius: 10px; }
.btn--lg { padding: 0.95rem 1.9rem; font-size: 1rem; border-radius: 14px; }
.btn--full { width: 100%; }
.btn__arrow { font-size: 0.85em; translate: 0 1px; }

/* ═══════════════════════ Type helpers ═══════════════════════ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.eyebrow__num {
  color: var(--text-3);
  padding-right: 0.8rem;
  border-right: 1px solid var(--line-strong);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--text-1);
  margin-top: 1.1rem;
  text-wrap: balance;
}
.h2 em, .final__title em, .hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06em;
  letter-spacing: -0.012em;
  color: var(--serif-ink);
}
.lede {
  margin-top: 1.15rem;
  max-width: 56ch;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--text-2);
}

/* ═══════════════════════ Sections ═══════════════════════ */
.section { padding: clamp(5.5rem, 10vw, 8.5rem) 0 0; }
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 3.5vw, 2rem);
}
.section__inner--narrow { max-width: 880px; }
.br-wide { display: none; }
@media (min-width: 720px) { .br-wide { display: block; } }

/* ═══════════════════════ Hero ═══════════════════════ */
.hero {
  position: relative;
  padding: calc(var(--head-h) + clamp(3.5rem, 9vh, 6.5rem)) 0 0;
  overflow: hidden;
}
.hero::before {
  /* faint engineering grid, radially masked */
  content: '';
  position: absolute;
  inset: -1px;
  background:
    linear-gradient(rgba(151, 168, 197, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 168, 197, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 68%);
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 0%, transparent 68%);
  pointer-events: none;
}
.hero__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
  -webkit-mask-image: radial-gradient(95% 80% at 50% 18%, #000 30%, transparent 78%);
  mask-image: radial-gradient(95% 80% at 50% 18%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: -16rem;
  width: 74rem;
  height: 40rem;
  translate: -50% 0;
  background: radial-gradient(48% 48% at 50% 50%, rgba(37, 99, 235, 0.26), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 3.5vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.7rem, 7vw, 5.1rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  background: linear-gradient(180deg, #f4f7fc 55%, #b9c7e2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}
.hero__title em {
  background: linear-gradient(180deg, #eaf1ff 40%, #9cc0fb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede {
  margin-top: 1.6rem;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  color: var(--text-2);
}
.hero__cta { margin-top: 2.2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; justify-content: center; }
.hero__facts {
  margin-top: 2.6rem;
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  flex-wrap: wrap;
  justify-content: center;
}
.hero__facts li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}
.hero__facts li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 99px;
  background: var(--blue-bright);
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.9);
}

/* ═══════════════════════ The console ═══════════════════════ */
.console-wrap {
  position: relative;
  max-width: 1180px;
  margin: clamp(3.2rem, 6vw, 4.8rem) auto 0;
  padding: 0 clamp(1.1rem, 3.5vw, 2rem) clamp(4rem, 7vw, 6rem);
}
.console {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(20, 30, 55, 0.55), rgba(7, 11, 20, 0.92) 24%),
    var(--bg-1);
  box-shadow:
    0 0 0 1px rgba(4, 7, 13, 0.8),
    0 30px 80px -30px rgba(2, 6, 18, 0.9),
    0 60px 140px -40px rgba(37, 99, 235, 0.22);
  overflow: hidden;
}
.console::before {
  /* top edge light */
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent 6%, rgba(151, 190, 255, 0.55) 50%, transparent 94%);
  z-index: 2;
}
.console__chrome {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}
.console__dots { display: flex; gap: 0.42rem; }
.console__dots i {
  width: 10px; height: 10px;
  border-radius: 99px;
  background: rgba(151, 168, 197, 0.22);
}
.console__addr {
  flex: 1;
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.28rem 1rem;
  background: rgba(4, 7, 13, 0.5);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.console__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}
.dot {
  width: 7px; height: 7px;
  border-radius: 99px;
  flex-shrink: 0;
  background: var(--text-3);
}
.dot--ok { background: var(--ok); box-shadow: 0 0 10px rgba(52, 211, 153, 0.7); }
.dot--warn { background: var(--warn); box-shadow: 0 0 10px rgba(251, 191, 36, 0.5); }
.dot--crit { background: var(--crit); box-shadow: 0 0 10px rgba(251, 113, 133, 0.6); }
.dot--info { background: var(--blue-bright); box-shadow: 0 0 10px rgba(96, 165, 250, 0.5); }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  60% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}
.dot--pulse { animation: pulse-dot 2.4s infinite; }

.console__tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.008);
  overflow-x: auto;
  scrollbar-width: none;
}
.console__tabs::-webkit-scrollbar { display: none; }
.console__tab {
  position: relative;
  flex: 1;
  min-width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-3);
  transition: color 0.25s, background 0.25s;
}
.console__tab:hover { color: var(--text-2); background: rgba(255, 255, 255, 0.02); }
.console__tab[aria-selected='true'] { color: var(--text-1); }
.console__tabnum {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.console__tab[aria-selected='true'] .console__tabnum { color: var(--blue-bright); }
.console__tabbar {
  position: absolute;
  left: 14%; right: 14%; bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}
.console__tab[aria-selected='true'] .console__tabbar { transform: scaleX(1); }
/* auto-advance progress: JS toggles .is-timing to restart the sweep */
.console__tab.is-timing .console__tabbar {
  transform: scaleX(1);
  animation: tab-sweep var(--tab-dur, 6.5s) linear;
}
@keyframes tab-sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.console__stage {
  display: grid;
  grid-template-columns: 208px 1fr;
  min-height: 460px;
}
.cx-side {
  border-right: 1px solid var(--line);
  padding: 1.1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  background: rgba(4, 7, 13, 0.45);
}
.cx-side__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.45rem;
}
.cx-side__brand svg { width: 20px; height: 20px; }
.cx-side__brand span {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--text-2);
}
.cx-side__nav { display: flex; flex-direction: column; gap: 0.14rem; flex: 1; }
.cx-side__nav button {
  font-size: 0.78rem;
  text-align: left;
  color: var(--text-3);
  padding: 0.42rem 0.65rem;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
}
.cx-side__nav button:hover { color: var(--text-2); background: rgba(255, 255, 255, 0.03); }
.cx-side__nav button.is-active {
  color: var(--text-1);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.22), rgba(37, 99, 235, 0.05));
  box-shadow: inset 2px 0 0 var(--blue-bright);
}
.cx-side__foot {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.45rem 0;
  border-top: 1px solid var(--line);
}
.cx-side__foot i {
  width: 26px; height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--blue-ice);
  background: rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(96, 165, 250, 0.3);
}
.cx-side__foot b { display: block; font-size: 0.68rem; font-weight: 600; color: var(--text-2); line-height: 1.2; }
.cx-side__foot span { font-size: 0.6rem; color: var(--text-3); }

.cx-main { padding: 1.25rem 1.4rem 1.4rem; min-width: 0; }
.cx-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.cx-head h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cx-head__meta { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.cx-chip {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-ice);
  background: rgba(37, 99, 235, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.28);
  padding: 0.22rem 0.6rem;
  border-radius: 99px;
  white-space: nowrap;
}
.cx-time {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.cx-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin-bottom: 0.9rem;
}
.cx-kpi {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-1);
  padding: 0.72rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}
.cx-kpi__label {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cx-kpi__value {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.cx-kpi__value small { font-size: 0.7em; color: var(--text-3); font-weight: 500; }
.cx-kpi__delta { font-size: 0.64rem; color: var(--text-3); }
.cx-up { color: var(--ok); }
.cx-warn { color: var(--warn); }

.cx-split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 0.7rem; }
.cx-split--even { grid-template-columns: 1fr 1fr; }
.cx-rail { display: flex; flex-direction: column; gap: 0.7rem; min-width: 0; }
.cx-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-1);
  padding: 0.85rem 0.95rem;
  min-width: 0;
}
.cx-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}
.cx-card__head h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-1);
}
.cx-card__hint { font-size: 0.62rem; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.cx-stream ul { display: flex; flex-direction: column; }
.cx-stream li { border-top: 1px solid var(--line); }
.cx-stream li:first-child { border-top: 0; }
.cx-alert__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.3rem 0.55rem 0.2rem;
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.25s;
}
.cx-alert__row:hover { background: rgba(255, 255, 255, 0.025); }
.cx-alert__row > div { min-width: 0; flex: 1; }
.cx-stream b {
  display: block;
  font-size: 0.78rem;
  font-weight: 550;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cx-stream span { font-size: 0.64rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.02em; }
.cx-sev {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  color: var(--text-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0.14rem 0.4rem;
  flex-shrink: 0;
}
.cx-sev--crit { color: var(--crit); border-color: rgba(251, 113, 133, 0.4); background: rgba(251, 113, 133, 0.08); }
.cx-sev--warn { color: var(--warn); border-color: rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.07); }

.cx-ring { display: flex; align-items: center; gap: 0.8rem; }
.cx-ring svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.cx-ring__track { fill: none; stroke: rgba(151, 168, 197, 0.15); stroke-width: 7; }
.cx-ring__fill {
  fill: none;
  stroke: var(--blue-bright);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 226;
  stroke-dashoffset: 0;
}
.cx-ring b { font-family: var(--font-display); font-size: 1.15rem; font-weight: 620; display: block; line-height: 1.15; }
.cx-ring span { font-size: 0.64rem; color: var(--text-3); }
.cx-note { font-size: 0.64rem; color: var(--text-3); font-family: var(--font-mono); margin-top: 0.55rem; letter-spacing: 0.04em; }
.cx-note b, .cx-note [data-tick-down] { color: var(--text-2); }

.cx-spark { width: 100%; height: 46px; }
.cx-spark__line { fill: none; stroke: var(--blue-bright); stroke-width: 1.6; }
.cx-spark__area { fill: rgba(59, 130, 246, 0.16); }

/* estate table */
.cx-table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-1); }
.cx-tr {
  display: grid;
  grid-template-columns: 1.5fr 1.35fr 0.7fr 0.7fr 0.85fr 0.6fr;
  gap: 0.6rem;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-2);
}
.cx-tr > span { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.cx-tr--head {
  border-top: 0;
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cx-tenant { flex-direction: column; align-items: flex-start !important; gap: 0.05rem !important; }
.cx-tenant b { font-size: 0.74rem; font-weight: 620; color: var(--text-1); letter-spacing: 0.06em; font-family: var(--font-mono); }
.cx-tenant i { font-style: normal; font-size: 0.6rem; color: var(--text-3); }
.cx-meter {
  position: relative;
  width: 56px;
  height: 4px;
  border-radius: 99px;
  background: rgba(151, 168, 197, 0.16);
  overflow: hidden;
  flex-shrink: 0;
}
.cx-meter i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w, 50%);
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}
.cx-meter--warn i { background: linear-gradient(90deg, #b45309, var(--warn)); }
.cx-meter--wide { flex: 1; width: auto; min-width: 0; }
.cx-alerts {
  font-family: var(--font-mono);
  color: var(--warn);
  font-size: 0.72rem;
}
.cx-alerts.cx-zero { color: var(--text-3); }
.cx-foot {
  margin-top: 0.8rem;
  font-size: 0.64rem;
  color: var(--text-3);
}
.cx-foot--mono { font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; }

/* identity & licensing */
.cx-stat-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.35rem 0;
  font-size: 0.74rem;
  color: var(--text-2);
}
.cx-stat-row > span:first-child { min-width: 118px; color: var(--text-3); font-size: 0.68rem; }
.cx-stat-row b { font-variant-numeric: tabular-nums; font-size: 0.76rem; }
.cx-note-inline { font-size: 0.68rem; color: var(--text-2); }
.cx-mini { margin-top: 0.6rem; border-top: 1px solid var(--line); }
.cx-mini li { display: flex; gap: 0.6rem; align-items: center; padding: 0.5rem 0.1rem; border-bottom: 1px solid var(--line); }
.cx-mini li:last-child { border-bottom: 0; }
.cx-mini b { display: block; font-size: 0.72rem; font-weight: 550; color: var(--text-1); }
.cx-mini span { font-size: 0.6rem; color: var(--text-3); font-family: var(--font-mono); }
.cx-lic {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.7rem;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--text-2);
}
.cx-lic:last-of-type { border-bottom: 0; }
.cx-lic b { font-variant-numeric: tabular-nums; font-size: 0.72rem; color: var(--text-1); }
.cx-flag {
  margin-top: 0.7rem;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.07);
  font-size: 0.68rem;
  color: #fcd34d;
}

/* sync grid */
.cx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.cx-int {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-1);
  padding: 0.6rem 0.75rem;
  min-width: 0;
}
.cx-int b { display: block; font-size: 0.74rem; font-weight: 570; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cx-int span { font-size: 0.6rem; color: var(--text-3); font-family: var(--font-mono); white-space: nowrap; }
.cx-int > div { min-width: 0; }

.console-cap {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── Console interactivity ── */
.console__stage { position: relative; }

/* alert accordion */
.cx-alert__chev {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: rotate 0.3s var(--ease-out), opacity 0.25s;
}
.cx-alert__chev::before {
  content: '';
  position: absolute;
  left: 4px; top: 3px;
  width: 6px; height: 6px;
  border-right: 1.6px solid var(--text-2);
  border-bottom: 1.6px solid var(--text-2);
  transform: rotate(45deg);
}
.cx-alert__row:hover .cx-alert__chev { opacity: 1; }
.cx-alert__row[aria-expanded='true'] .cx-alert__chev { rotate: 180deg; }
.cx-alert__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease-out);
}
.cx-alert__detail[hidden] { display: none; }
.cx-alert__detail.is-open { grid-template-rows: 1fr; }
.cx-alert__inner { overflow: hidden; min-height: 0; }
.cx-alert__rows {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.25rem 0.3rem 0 2rem;
}
.cx-alert__rows > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.7rem;
  font-size: 0.74rem;
}
.cx-alert__rows span {
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 0.12em;
}
.cx-alert__rows b { font-weight: 500; color: var(--text-2); }
.cx-alert__actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.3rem 0.65rem 2rem;
}
.cx-alert__actions button {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue-ice);
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(37, 99, 235, 0.12);
  border-radius: 7px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.cx-alert__actions button:hover { background: rgba(37, 99, 235, 0.24); border-color: rgba(96, 165, 250, 0.5); }
.cx-alert__actions span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-3);
}
.cx-alert.is-acked .cx-alert__row { opacity: 0.45; }
.cx-alert.is-acked .cx-sev {
  color: var(--ok);
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.08);
}
.cx-alert.is-new { animation: alert-in 0.5s var(--ease-out); }
.cx-alert.is-new .cx-alert__row { background: rgba(96, 165, 250, 0.07); }
@keyframes alert-in {
  from { opacity: 0; transform: translateY(-8px); }
}

/* KPI bump on change */
@keyframes kpi-bump {
  0% { transform: scale(1); }
  35% { transform: scale(1.1); }
  100% { transform: scale(1); }
}
.cx-kpi__value.is-bump { animation: kpi-bump 0.45s var(--ease-out); transform-origin: left center; }

/* sortable estate table */
.cx-tr--head button {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  transition: color 0.2s;
}
.cx-tr--head button:hover { color: var(--text-2); }
.cx-tr--head button::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  opacity: 0;
  transition: opacity 0.2s;
}
[aria-sort='descending'] > button::after { border-top: 5px solid var(--blue-bright); opacity: 1; }
[aria-sort='ascending'] > button::after { border-bottom: 5px solid var(--blue-bright); opacity: 1; }
.cx-tr:not(.cx-tr--head) { transition: background 0.2s; }
.cx-tr:not(.cx-tr--head):hover { background: rgba(255, 255, 255, 0.018); }

/* sync ages tick + fresh-sync flash */
.cx-int em[data-age] { font-style: normal; }
.cx-int { transition: border-color 0.6s; }
.cx-int.is-fresh { border-color: rgba(52, 211, 153, 0.45); }
.cx-int.is-fresh .dot--ok { box-shadow: 0 0 14px rgba(52, 211, 153, 1); }

/* CTA toast for views outside the demo */
.cx-toast {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 6px);
  z-index: 5;
  background: rgba(10, 16, 29, 0.94);
  border: 1px solid rgba(96, 165, 250, 0.35);
  box-shadow: 0 14px 44px -14px rgba(2, 6, 18, 0.95);
  border-radius: 99px;
  padding: 0.55rem 1.15rem;
  font-size: 0.78rem;
  color: var(--text-2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.cx-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.cx-toast b { color: var(--blue-ice); font-weight: 600; }

/* panel-entry animations: meters fill, ring draws, sparkline sweeps */
@media (prefers-reduced-motion: no-preference) {
  .cx-main .cx-meter i { transition: width 0.9s var(--ease-out) 0.15s; }
  .cx-main:not(.is-live) .cx-meter i { width: 0; }
  .cx-ring__fill { transition: stroke-dashoffset 1.1s var(--ease-out) 0.2s; }
  .cx-main:not(.is-live) .cx-ring__fill { stroke-dashoffset: 226; }
  .cx-spark__line {
    stroke-dasharray: 220 220;
    transition: stroke-dashoffset 1.3s var(--ease-out) 0.25s;
  }
  .cx-main:not(.is-live) .cx-spark__line { stroke-dashoffset: 220; }
  .cx-spark__area { transition: opacity 0.7s ease 0.9s; }
  .cx-main:not(.is-live) .cx-spark__area { opacity: 0; }
}

/* ═══════════════════════ Integration strip ═══════════════════════ */
.strip {
  border-block: 1px solid var(--line);
  padding: 1.9rem 0;
  background: rgba(255, 255, 255, 0.008);
}
.strip__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 1.3rem;
  padding: 0 1.2rem;
}
.strip__marquee {
  display: flex;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.strip__track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  padding-right: 2.6rem;
  flex-shrink: 0;
  animation: marquee 64s linear infinite;
}
.strip__marquee:hover .strip__track { animation-play-state: paused; }
.strip__track span {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 540;
  letter-spacing: 0.01em;
  color: var(--text-2);
  white-space: nowrap;
}
.strip__track i {
  width: 4px; height: 4px;
  border-radius: 99px;
  background: rgba(96, 165, 250, 0.55);
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .strip__marquee { mask-image: none; -webkit-mask-image: none; }
  .strip__track {
    animation: none;
    flex: 1 1 100%;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.9rem;
    padding-right: 0;
    padding-inline: clamp(1.1rem, 3.5vw, 2rem);
  }
  .strip__track[aria-hidden='true'] { display: none; }
}

/* ═══════════════════════ 01 · Problem ═══════════════════════ */
.problem__cols {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: 980px;
}
.problem__cols p { color: var(--text-2); font-size: 1.02rem; }
.pull {
  margin: clamp(3.5rem, 7vw, 5.5rem) auto 0;
  max-width: 900px;
  text-align: center;
  position: relative;
  padding: 0 1rem;
}
.pull p {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.9rem);
  line-height: 1.22;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.pull em { color: var(--blue-ice); }
.problem__facts {
  margin: clamp(2.4rem, 5vw, 3.6rem) auto 0;
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.4rem);
  flex-wrap: wrap;
}
.problem__facts li {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 0.5rem 1.1rem;
  background: var(--surface-1);
}

/* ═══════════════════════ 02 · Cards ═══════════════════════ */
.cards {
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  padding: 1.6rem 1.5rem 1.7rem;
  overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card__icon {
  width: 42px; height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--blue-bright);
  background: rgba(37, 99, 235, 0.13);
  border: 1px solid rgba(96, 165, 250, 0.25);
  margin-bottom: 1.15rem;
}
.card__icon svg { width: 22px; height: 22px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  margin-bottom: 0.5rem;
}
.card p { font-size: 0.88rem; color: var(--text-2); }

/* spotlight: radial highlight tracks the pointer (JS sets --mx/--my) */
.spot::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(96, 165, 250, 0.09), transparent 65%);
  pointer-events: none;
}
.spot:hover::before { opacity: 1; }

/* ═══════════════════════ 03 · Features ═══════════════════════ */
.feature {
  margin-top: clamp(3.4rem, 7vw, 5.5rem);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.feature--flip .feature__copy { order: 2; }
.feature--flip .feature__media { order: 1; }
.feature__copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.feature__copy > p { margin-top: 0.9rem; color: var(--text-2); max-width: 52ch; }
.feature__copy i { font-family: var(--font-serif); font-style: italic; color: var(--serif-ink); font-size: 1.06em; }
.feature__points { margin-top: 1.3rem; display: flex; flex-direction: column; gap: 0.65rem; }
.feature__points li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.92rem;
  color: var(--text-2);
}
.feature__points li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.52em;
  width: 12px; height: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
}

.feature__media { min-width: 0; }
.vignette {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 90% at 20% 0%, rgba(37, 99, 235, 0.13), transparent 55%),
    var(--bg-1);
  padding: clamp(1.2rem, 2.6vw, 2rem);
  box-shadow: 0 26px 70px -32px rgba(2, 6, 18, 0.9);
  overflow: hidden;
}
.vignette::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(151, 190, 255, 0.4), transparent);
}

.valert {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(10, 16, 29, 0.85);
  padding: 0.7rem 0.9rem;
  margin-top: 0.6rem;
}
.valert:first-child { margin-top: 0; }
.valert--open {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 14px 40px -18px rgba(37, 99, 235, 0.45);
}
.valert__top { display: flex; align-items: center; gap: 0.65rem; }
.valert__top b { font-size: 0.84rem; font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.valert__time { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-3); }
.valert__rows { margin-top: 0.8rem; display: flex; flex-direction: column; gap: 0.4rem; }
.valert__rows > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.7rem;
  font-size: 0.74rem;
}
.valert__rows span { color: var(--text-3); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 0.1em; }
.valert__rows b { font-weight: 500; color: var(--text-2); }
.valert__actions { margin-top: 0.9rem; display: flex; gap: 0.5rem; }
.valert__actions span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--blue-ice);
  border: 1px solid rgba(96, 165, 250, 0.3);
  background: rgba(37, 99, 235, 0.12);
  border-radius: 7px;
  padding: 0.3rem 0.7rem;
}

.vignette--posture { display: flex; flex-direction: column; gap: 0.5rem; }
.vrow {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.6fr 0.6fr;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(10, 16, 29, 0.85);
  padding: 0.65rem 0.9rem;
  font-size: 0.76rem;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.vrow--head {
  background: none;
  border: 0;
  padding: 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.vrow b { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--text-1); }

.vignette--report { display: flex; flex-direction: column; gap: 0.8rem; }
.vreport {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(10, 16, 29, 0.85);
  overflow: hidden;
}
.vreport__cover {
  position: relative;
  padding: 1.2rem 1.2rem 1.1rem;
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(37, 99, 235, 0.35), transparent 55%),
    linear-gradient(150deg, #101b33, #0a1226 60%);
}
.vreport__mark { width: 30px; height: 30px; margin-bottom: 0.8rem; }
.vreport__cover b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.vreport__cover > span { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-3); letter-spacing: 0.08em; text-transform: uppercase; }
.vreport__lines { margin-top: 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; }
.vreport__lines u {
  display: block;
  height: 5px;
  width: var(--w, 70%);
  border-radius: 3px;
  background: rgba(151, 168, 197, 0.22);
  text-decoration: none;
}
.vreport__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 1.2rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
}
.vstat {
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}
.vstat b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 620; color: #fcd34d; white-space: nowrap; }
.vstat small { font-size: 0.66em; font-weight: 500; }
.vstat span { font-size: 0.78rem; color: var(--text-2); }

/* ═══════════════════════ 04 · Architecture ═══════════════════════ */
.section--arch {
  margin-top: clamp(5.5rem, 10vw, 8.5rem);
  padding-block: clamp(5.5rem, 10vw, 8.5rem);
  background:
    radial-gradient(60% 46% at 50% 0%, rgba(37, 99, 235, 0.09), transparent 70%),
    var(--bg-1);
  border-block: 1px solid var(--line);
}
.section--arch { padding-bottom: clamp(5rem, 9vw, 7.5rem); }
.archviz {
  margin-top: clamp(2.6rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(4, 7, 13, 0.55);
  padding: clamp(0.8rem, 2.5vw, 2rem);
  overflow-x: auto;
}
.archviz svg { min-width: 760px; width: 100%; height: auto; }
.arch-chip {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(151, 168, 197, 0.28);
}
.arch-chips text {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 550;
  fill: var(--text-2);
  letter-spacing: 0.01em;
}
.arch-chips--out text { fill: var(--text-1); }
.arch-paths path, .arch-outpaths path {
  stroke: rgba(96, 165, 250, 0.22);
  stroke-width: 1.3;
  fill: none;
}
.arch-pulses circle { fill: var(--blue-bright); filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.9)); }
.arch-pulses--out circle { fill: var(--blue-ice); }
.arch-readlabel, .arch-corelabel {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  fill: var(--text-3);
}
.arch-corelabel { text-anchor: middle; fill: var(--blue-ice); letter-spacing: 0.3em; }
.arch-core circle {
  fill: #0a1226;
  stroke: rgba(96, 165, 250, 0.5);
  stroke-width: 1.4;
}
.arch-noline path { stroke: rgba(251, 113, 133, 0.4); fill: none; stroke-width: 1.3; }
.arch-noline rect {
  fill: rgba(251, 113, 133, 0.08);
  stroke: rgba(251, 113, 133, 0.42);
}
.arch-noline circle { fill: none; stroke: #fb7185; stroke-width: 1.6; }
.arch-noline g path { stroke: #fb7185; stroke-width: 1.6; }
.arch-noline text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  fill: #fda4af;
}
@media (prefers-reduced-motion: reduce) { .arch-pulses { display: none; } }

.archfacts {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.archfact {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  padding: 1.35rem 1.3rem;
  overflow: hidden;
}
.archfact h3 {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 620;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}
.archfact p { font-size: 0.84rem; color: var(--text-2); }
.arch-tagline {
  margin-top: clamp(2.4rem, 4.5vw, 3.2rem);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-bright);
}

/* ═══════════════════════ Numbers ═══════════════════════ */
.numbers { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.numbers__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 3.5vw, 2rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.number { text-align: center; position: relative; }
.number + .number::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: var(--line);
}
.number b {
  display: block;
  font-family: var(--font-display);
  font-weight: 580;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(180deg, #f4f7fc 40%, #8fb2e8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}
.number__label {
  display: block;
  margin-top: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.45;
}

/* ═══════════════════════ 05 · Engagement ═══════════════════════ */
.section--engage {
  background:
    radial-gradient(52% 40% at 78% 6%, rgba(37, 99, 235, 0.1), transparent 70%),
    var(--bg-1);
  border-block: 1px solid var(--line);
  padding-block: clamp(5.5rem, 10vw, 8.5rem);
}
.steps {
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-1);
  padding: 1.3rem 1.4rem 1.4rem;
}
.steps__num {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--blue-bright);
}
.steps h3 {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.08rem;
  margin-top: 0.55rem;
  letter-spacing: -0.01em;
}
.steps p { margin-top: 0.4rem; font-size: 0.86rem; color: var(--text-2); }

.engage {
  margin-top: clamp(2.6rem, 5vw, 3.8rem);
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(1.8rem, 4.5vw, 4rem);
  align-items: start;
}
.engage__copy h3 {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.25rem;
  letter-spacing: -0.015em;
}
.ticks { margin-top: 1.2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.ticks li {
  position: relative;
  padding-left: 2rem;
  color: var(--text-2);
  font-size: 0.98rem;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.18em;
  width: 18px; height: 18px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
  border: 1px solid rgba(96, 165, 250, 0.3);
}
.engage__note {
  margin-top: 1.7rem;
  padding: 1rem 1.2rem;
  border-left: 2px solid var(--blue);
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.09), transparent 80%);
  border-radius: 0 10px 10px 0;
  color: var(--text-2);
  font-size: 0.92rem;
  max-width: 46ch;
}

.enquiry {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(20, 30, 55, 0.5), rgba(7, 11, 20, 0.9) 30%),
    var(--bg-1);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: 0 30px 80px -30px rgba(2, 6, 18, 0.9);
  overflow: hidden;
}
.enquiry::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(151, 190, 255, 0.5), transparent);
}
.enquiry h3 {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  margin-bottom: 1.2rem;
}
.field { margin-bottom: 0.95rem; }
.field label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.4rem;
}
.field label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.94rem;
  color: var(--text-1);
  background: rgba(4, 7, 13, 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.68rem 0.85rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 74px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d7b8f' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.22);
}
.enquiry__fine {
  margin-top: 0.8rem;
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
}
.enquiry__alt {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--text-3);
  text-align: center;
}
.enquiry__alt a { color: var(--blue-bright); }
.enquiry__alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ═══════════════════════ 06 · FAQ ═══════════════════════ */
.section--faq {
  padding-top: clamp(4rem, 7vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}
.faq { margin-top: clamp(2rem, 4vw, 3rem); }
.faq__item {
  border-top: 1px solid var(--line);
}
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.25rem 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  font-weight: 570;
  letter-spacing: -0.012em;
  color: var(--text-1);
  transition: color 0.25s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-ice); }
.faq__item summary i {
  position: relative;
  width: 22px; height: 22px;
  flex-shrink: 0;
}
.faq__item summary i::before,
.faq__item summary i::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 12px; height: 1.6px;
  background: var(--blue-bright);
  translate: -50% -50%;
  transition: rotate 0.3s var(--ease-out);
}
.faq__item summary i::after { rotate: 90deg; }
.faq__item[open] summary i::after { rotate: 0deg; }
.faq__body { padding: 0 0.2rem 1.4rem; max-width: 68ch; }
.faq__body p { color: var(--text-2); font-size: 0.98rem; }

/* ═══════════════════════ Final CTA ═══════════════════════ */
.final {
  position: relative;
  text-align: center;
  padding: clamp(6rem, 12vw, 10rem) 1.2rem clamp(6.5rem, 12vw, 10rem);
  overflow: hidden;
}
.final__glow {
  position: absolute;
  left: 50%; bottom: -22rem;
  width: 80rem; height: 44rem;
  translate: -50% 0;
  background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 235, 0.3), transparent 70%);
  filter: blur(22px);
  pointer-events: none;
}
.final__inner { position: relative; }
.final__title {
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(2.6rem, 7vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
  background: linear-gradient(180deg, #f4f7fc 55%, #b9c7e2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.final__sub {
  margin-top: 1.1rem;
  color: var(--text-2);
  font-size: clamp(1rem, 1.5vw, 1.14rem);
}
.final__cta { margin-top: 2.3rem; }
.final__mail { margin-top: 1.6rem; }
.final__mail a {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.25s;
}
.final__mail a:hover { color: var(--blue-bright); }

/* ═══════════════════════ Footer ═══════════════════════ */
.foot { border-top: 1px solid var(--line); background: var(--bg-1); }
.foot__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.1rem, 3.5vw, 2rem) 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.4rem;
}
.foot__brand p { margin-top: 1.1rem; color: var(--text-3); font-size: 0.9rem; line-height: 1.6; }
.foot__col { display: flex; flex-direction: column; gap: 0.65rem; }
.foot__col h3 {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 0.4rem;
}
.foot__col a { font-size: 0.9rem; color: var(--text-2); transition: color 0.25s; width: fit-content; }
.foot__col a:hover { color: var(--text-1); }
.foot__col span { font-size: 0.82rem; color: var(--text-3); }
.foot__base {
  border-top: 1px solid var(--line);
  padding: 1.4rem clamp(1.1rem, 3.5vw, 2rem) 1.6rem;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--text-3);
}
.foot__ethos {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-2);
}

/* ═══════════════════════ Responsive ═══════════════════════ */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .archfacts { grid-template-columns: repeat(2, 1fr); }
  .cx-kpis { grid-template-columns: repeat(2, 1fr); }
  .cx-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .feature, .feature--flip { grid-template-columns: 1fr; gap: 1.8rem; }
  .feature--flip .feature__copy { order: 1; }
  .feature--flip .feature__media { order: 2; }
  .engage { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr 1fr; }
  .numbers__inner { grid-template-columns: repeat(2, 1fr); row-gap: 2.6rem; }
  .number:nth-child(3)::before { display: none; }
}
@media (max-width: 860px) {
  .console__stage { grid-template-columns: 1fr; }
  .cx-side { display: none; }
  .cx-split, .cx-split--even { grid-template-columns: 1fr; }
  .cx-table { overflow-x: auto; }
  .cx-tr { min-width: 560px; }
  .problem__cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; }
  .archfacts { grid-template-columns: 1fr; }
  .cx-kpis { grid-template-columns: repeat(2, 1fr); }
  .cx-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
  .console__addr { display: none; }
  .foot__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .foot__base { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}
