/* ============================================================
   ONTILUS — Intelligence Without Limits
   ------------------------------------------------------------
   Brand chrome  : electric blue #0D59E3 → cyan #50EFF8
   Chart marks   : validated against dark surface #060A14
                   categorical  #2B7BF5 #12A4BE #C5841A #DC4459
                   status       good #2FAE6E · warn #C5841A · crit #DC4459
                   sequential   single hue, brand blue, light→dark
   Bright cyan and electric blue are UI accents only — they sit
   outside the dark-mode lightness band for data marks.
   ============================================================ */

:root {
  /* surfaces */
  --bg: #01040a;
  --surface: #060a14;
  --surface-2: #080d18;
  --raised: #0b1120;
  --line: rgba(120, 170, 255, 0.12);
  --line-2: rgba(120, 170, 255, 0.22);

  /* ink */
  --ink: #eaf2ff;
  --ink-2: rgba(206, 224, 255, 0.72);
  --ink-3: rgba(178, 202, 238, 0.5);
  --steel: #8aafd0;

  /* brand */
  --blue: #0d59e3;
  --blue-lit: #1e7bff;
  --cyan: #50eff8;

  /* data marks */
  --seq-1: #0a2a5e;
  --seq-2: #11418f;
  --seq-3: #1a5fc4;
  --seq-4: #2b7bf5;
  --seq-5: #4fa3e8;
  --cat-2: #12a4be;
  --ok: #2fae6e;
  --warn: #c5841a;
  --crit: #dc4459;

  --wrap: 1280px;
  --r: 16px;
  --r-lg: 22px;
  --ease: cubic-bezier(0.16, 0.84, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  font-weight: 300;
  letter-spacing: -0.028em;
  line-height: 1.08;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }
em { font-style: normal; }

.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.mono-num { font-family: "IBM Plex Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; flex: none; }
.ic-12 { width: 12px; height: 12px; }
.ic-14 { width: 14px; height: 14px; }
.ic-16 { width: 16px; height: 16px; }
.ic-18 { width: 18px; height: 18px; }
.ic-20 { width: 20px; height: 20px; }
.ic-22 { width: 22px; height: 22px; }
.ic-24 { width: 24px; height: 24px; }

.grad {
  background: linear-gradient(96deg, var(--blue-lit) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================ BACKDROP ============================ */

.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.55;
  will-change: transform;
}
.a1 {
  width: 60vw; height: 60vw; left: -18vw; top: -14vw;
  background: radial-gradient(circle, rgba(13, 89, 227, 0.5), transparent 66%);
  animation: drift1 26s ease-in-out infinite alternate;
}
.a2 {
  width: 52vw; height: 52vw; right: -14vw; top: 6vw;
  background: radial-gradient(circle, rgba(80, 239, 248, 0.22), transparent 66%);
  animation: drift2 32s ease-in-out infinite alternate;
}
.a3 {
  width: 70vw; height: 44vw; left: 22vw; bottom: -22vw;
  background: radial-gradient(circle, rgba(13, 89, 227, 0.3), transparent 68%);
  animation: drift3 38s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate3d(9vw, 6vw, 0) scale(1.16); } }
@keyframes drift2 { to { transform: translate3d(-8vw, 10vw, 0) scale(1.1); } }
@keyframes drift3 { to { transform: translate3d(-10vw, -6vw, 0) scale(1.12); } }

.grid-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(120, 175, 255, 0.05) 1px, transparent 1px) 0 0 / 100% 68px,
    linear-gradient(90deg, rgba(120, 175, 255, 0.05) 1px, transparent 1px) 0 0 / 68px 100%;
  -webkit-mask: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
  mask: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 78%);
}

.scanbeam {
  position: absolute;
  left: 0; right: 0;
  height: 42vh;
  background: linear-gradient(180deg, transparent, rgba(80, 239, 248, 0.05) 55%, transparent);
  animation: scan 11s linear infinite;
}
@keyframes scan { 0% { top: -42vh; } 100% { top: 100vh; } }

.grain {
  position: absolute;
  inset: -200%;
  opacity: 0.16;
  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='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  animation: grainshift 0.8s steps(4) infinite;
}
@keyframes grainshift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, -1%); }
  100% { transform: translate(0, 0); }
}

main, .nav-wrap { position: relative; z-index: 1; }

/* ============================ BRAND ============================ */

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  flex: none;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-mark::before {
  content: "";
  position: absolute;
  inset: -55%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(80, 239, 248, 0.4) 70deg, transparent 150deg, transparent 220deg, rgba(13, 89, 227, 0.45) 290deg, transparent 350deg);
  filter: blur(9px);
  opacity: 0.9;
  animation: spin 9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.brand-mark.sm { width: 24px; height: 24px; }
.brand-mark.lg { width: 66px; height: 66px; }
.brand-mark.lg::before { filter: blur(18px); }

.brand-word {
  font-family: Sora, sans-serif;
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.34em;
  padding-left: 2px;
}

.tagline { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--steel); margin-top: 14px; }

/* ============================ NAV ============================ */

.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  padding: 16px 28px;
  transition: transform 0.3s var(--ease);
}
/* shrink toward the top on scroll via transform, never padding/height */
.nav-wrap.stuck { transform: translateY(-6px); }

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--wrap);
  margin: 0 auto;
  height: 66px;
  padding: 0 12px 0 22px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav-wrap.stuck .nav {
  border-color: var(--line);
  background: rgba(3, 7, 16, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}

.nav-links { display: flex; gap: 30px; margin-left: auto; font-size: 14px; color: var(--ink-2); }
.nav-links a { position: relative; padding: 6px 0; transition: color 0.18s ease; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--blue-lit), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-links ~ .nav-actions { margin-left: 30px; }

.nav-toggle {
  display: none;
  width: 42px; height: 38px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(10, 16, 30, 0.8);
  cursor: pointer;
}
.nav-toggle span { width: 16px; height: 1.5px; background: var(--ink); display: block; transition: transform 0.25s var(--ease), opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ============================ BUTTONS ============================ */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 44px;
  padding: 0 20px;
  border-radius: 11px;
  border: 1px solid var(--line-2);
  background: rgba(10, 16, 30, 0.6);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.22s var(--ease), border-color 0.22s ease, box-shadow 0.22s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { height: 54px; padding: 0 28px; font-size: 15px; border-radius: 13px; }

.btn-primary {
  border-color: transparent;
  background: linear-gradient(100deg, var(--blue) 0%, #1a86f0 55%, #29c4ee 100%);
  color: #fff;
  box-shadow: 0 12px 34px -14px rgba(13, 89, 227, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-18deg);
  transition: left 0.6s var(--ease);
}
.btn-primary:hover::after { left: 120%; }
.btn-primary:hover { box-shadow: 0 18px 44px -14px rgba(13, 89, 227, 1); }

.btn-outline { background: rgba(10, 16, 30, 0.55); backdrop-filter: blur(8px); }
.btn-outline:hover { border-color: rgba(80, 239, 248, 0.5); box-shadow: 0 0 0 1px rgba(80, 239, 248, 0.14), 0 10px 30px -18px rgba(80, 239, 248, 0.8); }
.btn-quiet { border-color: transparent; background: none; color: var(--ink-2); }
.btn-quiet:hover { color: #fff; }

/* ============================ TYPE SCALE ============================ */

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  margin-right: 12px;
  vertical-align: middle;
  background: linear-gradient(90deg, transparent, var(--cyan));
}

.section { position: relative; padding: 130px 0; }
.head { max-width: 720px; margin: 0 auto 68px; text-align: center; }
.head .eyebrow::before { display: none; }
.head h2 { font-size: clamp(32px, 4vw, 50px); }
.sub { margin-top: 22px; color: var(--ink-2); font-size: 16.5px; line-height: 1.66; }
.sub.left { max-width: 46ch; }

/* ============================ HERO ============================ */

.hero { padding: 190px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center; }

.hero h1 { font-size: clamp(36px, 3.7vw, 53px); font-weight: 200; }
.hero .lede { margin-top: 28px; max-width: 50ch; color: var(--ink-2); font-size: 17px; line-height: 1.68; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.btn-row.center { justify-content: center; }

.hero-meta { display: flex; gap: 40px; margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-meta b { display: block; font-family: Sora, sans-serif; font-weight: 400; font-size: 17px; }
.hero-meta span { font-size: 12.5px; color: var(--ink-3); }

/* hero visual */
.hero-viz { position: relative; }
.viz-orbit { position: absolute; inset: -12% -8%; display: grid; place-items: center; pointer-events: none; }
.viz-orbit .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(120, 175, 255, 0.1);
}
.o1 { width: 62%; aspect-ratio: 1; animation: spin 28s linear infinite; border-style: dashed; }
.o2 { width: 84%; aspect-ratio: 1; }
.o3 { width: 106%; aspect-ratio: 1; border-color: rgba(120, 175, 255, 0.06); }

.panel {
  position: relative;
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: linear-gradient(170deg, rgba(12, 22, 42, 0.94), rgba(4, 8, 18, 0.96));
  backdrop-filter: blur(12px);
  box-shadow: 0 50px 120px -50px rgba(0, 0, 0, 1), 0 0 0 1px rgba(80, 239, 248, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: transform 0.5s var(--ease);
  transform-style: preserve-3d;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 80% 0%, rgba(80, 239, 248, 0.1), transparent 60%);
  pointer-events: none;
}

.panel-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 11, 22, 0.7);
}
.panel-title { font-size: 13.5px; font-weight: 500; }
.panel-tag { margin-left: auto; font-size: 10px; letter-spacing: 0.18em; color: var(--cyan); }

.pip { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.pip.live::before, .pip.big i {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(47, 174, 110, 0.7);
  animation: pulse 2.2s ease-out infinite;
}
.pip.big {
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink-2);
  background: rgba(10, 16, 30, 0.6);
}
.pip.big i { display: block; }
@keyframes pulse {
  70% { box-shadow: 0 0 0 8px rgba(47, 174, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 174, 110, 0); }
}

.panel-body { padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 18px; }

/* ============================ STAT TILES ============================ */

.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.stat-row.four { grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 15, 28, 0.6);
}
.stat-label { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.stat-value { margin-top: 7px; font-size: 21px; font-weight: 500; letter-spacing: -0.02em; }
.stat-delta { margin-top: 5px; font-size: 11.5px; color: var(--ink-3); }
.stat-delta.up { color: var(--ok); }
.stat-delta.down { color: var(--crit); }

/* ============================ CHARTS ============================ */

.viz-block { padding: 4px 2px; }
.viz-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.viz-title { font-size: 12.5px; font-weight: 500; }
.viz-note { font-size: 10.5px; color: var(--ink-3); }

.spark { width: 100%; height: 74px; overflow: visible; }
.spark .gridline { stroke: rgba(120, 175, 255, 0.09); stroke-width: 1; }
.spark-target { fill: none; stroke: rgba(178, 202, 238, 0.34); stroke-width: 1.5; stroke-dasharray: 4 4; }
.spark-area { fill: url(#gSpark); opacity: 0.34; }
.spark-line {
  fill: none;
  stroke: #6db8f5;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 6px rgba(80, 239, 248, 0.55));
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  animation: draw 2.2s var(--ease) 0.4s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.spark-dot { fill: var(--cyan); opacity: 0; animation: fadein 0.5s ease 2.4s forwards; }
@keyframes fadein { to { opacity: 1; } }

.chart-card {
  padding: 20px 22px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 26, 0.62);
}
.chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.chart-title { font-size: 14px; font-weight: 500; }
.chart-note { margin-top: 4px; font-size: 11px; color: var(--ink-3); }
.card-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; color: var(--ink-3); }

/* bar series — single hue, 4px rounded ends anchored to baseline */
.bars {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 172px;
  margin-top: 20px;
  padding-top: 12px;
}
.bars.sparse { gap: 8px; }
.bar {
  position: relative;
  flex: 1;
  height: var(--h);
  min-width: 6px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--seq-4), var(--seq-2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transform-origin: bottom;
  animation: grow 0.9s var(--ease) backwards;
  transition: filter 0.18s ease;
}
.bars .bar:nth-child(2)  { animation-delay: 0.04s; }
.bars .bar:nth-child(3)  { animation-delay: 0.08s; }
.bars .bar:nth-child(4)  { animation-delay: 0.12s; }
.bars .bar:nth-child(5)  { animation-delay: 0.16s; }
.bars .bar:nth-child(6)  { animation-delay: 0.2s; }
.bars .bar:nth-child(7)  { animation-delay: 0.24s; }
.bars .bar:nth-child(8)  { animation-delay: 0.28s; }
.bars .bar:nth-child(9)  { animation-delay: 0.32s; }
.bars .bar:nth-child(10) { animation-delay: 0.36s; }
.bars .bar:nth-child(11) { animation-delay: 0.4s; }
.bars .bar:nth-child(12) { animation-delay: 0.44s; }
.bars .bar:nth-child(13) { animation-delay: 0.48s; }
@keyframes grow { from { transform: scaleY(0); } }
.bar:hover { filter: brightness(1.28); }
.bar.low { background: linear-gradient(180deg, var(--crit), #7d2231); }

.bar-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 4px);
  padding: 6px 10px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(4, 8, 18, 0.96);
  font-size: 11px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 5;
}
.bar:hover .bar-tip { opacity: 1; transform: translate(-50%, 0); }
.bar-label {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 10.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

.target-line {
  position: absolute;
  left: 0; right: 0;
  bottom: var(--t);
  height: 1px;
  background: repeating-linear-gradient(90deg, rgba(178, 202, 238, 0.4) 0 5px, transparent 5px 10px);
}
.target-line em {
  position: absolute;
  right: 0;
  top: -15px;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}

.bars-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 10px; color: var(--ink-3); }

/* meters */
.meters { margin-top: 18px; display: flex; flex-direction: column; gap: 13px; }
.meter { display: grid; grid-template-columns: 78px 1fr 52px; align-items: center; gap: 12px; }
.m-name { font-size: 12px; color: var(--ink-2); }
.m-bar { height: 8px; border-radius: 4px; background: rgba(120, 175, 255, 0.09); overflow: hidden; }
.m-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--seq-3), var(--seq-5));
  transform-origin: left;
  animation: wipe 1s var(--ease) backwards;
}
.m-bar i.over { background: linear-gradient(90deg, #8f3040, var(--crit)); }
@keyframes wipe { from { transform: scaleX(0); } }
.m-val { font-size: 12px; text-align: right; color: var(--ink-2); }

/* tables */
.table-card {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 26, 0.62);
}
.dtable { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.dtable th {
  text-align: left;
  padding: 0 10px 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.dtable td { padding: 11px 10px; border-bottom: 1px solid rgba(120, 170, 255, 0.06); color: var(--ink-2); }
.dtable tr:last-child td { border-bottom: 0; }
.dtable td:first-child { color: var(--ink); }
.dtable .num { text-align: right; }
.dtable th.num { text-align: right; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.tag.ok   { color: #6fe0aa; background: rgba(47, 174, 110, 0.14); }
.tag.warn { color: #e5b463; background: rgba(197, 132, 26, 0.16); }
.tag.crit { color: #f38397; background: rgba(220, 68, 89, 0.16); }

.alert-list { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.alert-list li { display: flex; align-items: center; gap: 11px; font-size: 13px; color: var(--ink-2); }
.alert-list em { margin-left: auto; font-size: 11px; color: var(--ink-3); }

.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; display: inline-block; }
.dot.ok { background: var(--ok); }
.dot.warn { background: var(--warn); }
.dot.crit { background: var(--crit); }

/* feed */
.feed { padding-top: 14px; border-top: 1px solid var(--line); }
.feed-title { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 11px; }
.feed-line { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 12.5px; color: var(--ink-2); }
.feed-line em { margin-left: auto; font-size: 10.5px; color: var(--ink-3); }

.viz-caption { margin-top: 14px; text-align: center; font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-3); }

/* ============================ TRUST ============================ */

.trust { padding: 30px 0 70px; }
.trust-line { text-align: center; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 36px; }

.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mq-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.mq-row { display: flex; align-items: center; gap: 64px; padding-right: 64px; }

.logo-slot {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Sora, sans-serif;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(190, 214, 248, 0.42);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.logo-slot:hover { color: rgba(214, 232, 255, 0.8); }
.ls-mark { width: 22px; height: 22px; flex: none; border: 1.5px solid currentColor; opacity: 0.8; }
.m1 { border-radius: 50%; }
.m2 { border-radius: 4px; transform: rotate(45deg); }
.m3 { border-radius: 50% 50% 50% 2px; }
.m4 { border-radius: 3px; border-width: 1.5px 1.5px 5px 1.5px; }
.m5 { border-radius: 11px 11px 3px 3px; }

.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 54px;
  font-size: 13px;
  color: var(--ink-3);
}
.partners .mono { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.partners b { font-weight: 500; color: var(--ink-2); }
.partners i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }

/* ============================ CARDS ============================ */

.card-glow {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(10, 17, 32, 0.7), rgba(5, 9, 18, 0.7));
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s var(--ease);
}
.card-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(80, 239, 248, 0.11), transparent 70%);
  pointer-events: none;
}
.card-glow:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card-glow:hover::before { opacity: 1; }

/* ============================ PROBLEM ============================ */

.split-2 { display: grid; grid-template-columns: 0.86fr 1.14fr; gap: 48px; align-items: start; }
.col-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.fric-list { display: flex; flex-direction: column; }
.fric-list li {
  position: relative;
  padding: 16px 0 16px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.fric-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 24px;
  width: 10px; height: 1px;
  background: var(--crit);
  opacity: 0.7;
}

.target-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.target { padding: 26px 24px; }
.t-value {
  font-family: Sora, sans-serif;
  font-size: 40px;
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.t-name { margin-top: 14px; font-size: 15px; font-weight: 500; }
.t-note { margin-top: 7px; font-size: 13px; color: var(--ink-3); line-height: 1.55; }
.footnote { margin-top: 22px; font-size: 12px; line-height: 1.65; color: var(--ink-3); }

/* ============================ CAPABILITIES ============================ */

.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cap { padding: 30px 26px 28px; }
.cap-ic {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 24px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(13, 89, 227, 0.28), rgba(80, 239, 248, 0.08));
  color: var(--cyan);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.cap h3 { font-size: 19px; font-weight: 400; }
.cap > p { margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.62; }

.mini { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.mini li { position: relative; padding-left: 18px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.mini li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue-lit);
}

/* ============================ PLATFORM ============================ */

.split-lead { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }
.split-lead h2 { font-size: clamp(30px, 3.6vw, 44px); }

.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 34px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(10, 16, 30, 0.55);
  font-size: 13px;
  color: var(--ink-2);
}
.pill .ic { color: var(--cyan); }

.stack { position: relative; display: flex; flex-direction: column; gap: 14px; perspective: 1200px; }
.stack-layer {
  position: relative;
  padding: 22px 26px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(13, 60, 150, 0.5), rgba(8, 20, 45, 0.72));
  box-shadow: 0 22px 44px -28px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
  transform: translateZ(0);
}
.stack-layer:hover { transform: translateY(-4px) scale(1.014); box-shadow: 0 28px 56px -26px rgba(13, 89, 227, 0.6); }
.l1 { background: linear-gradient(120deg, rgba(21, 96, 224, 0.62), rgba(10, 28, 62, 0.8)); }
.l2 { background: linear-gradient(120deg, rgba(17, 78, 190, 0.55), rgba(9, 24, 55, 0.8)); }
.l3 { background: linear-gradient(120deg, rgba(14, 62, 155, 0.48), rgba(8, 20, 46, 0.8)); }
.l4 { background: linear-gradient(120deg, rgba(11, 46, 116, 0.42), rgba(6, 15, 36, 0.8)); }

.sl-name { font-family: Sora, sans-serif; font-size: 15px; font-weight: 400; letter-spacing: 0.04em; }
.sl-desc { margin-top: 6px; font-size: 11px; letter-spacing: 0.03em; color: rgba(200, 222, 255, 0.62); }
.sl-side {
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translate(100%, -50%);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
}
.sl-side::before {
  content: "";
  position: absolute;
  left: -14px; top: 50%;
  width: 10px; height: 1px;
  background: var(--line-2);
}

.stack-wires { position: absolute; left: -26px; top: 0; width: 26px; height: 100%; }
.dashflow {
  fill: none;
  stroke: rgba(80, 239, 248, 0.55);
  stroke-width: 1.4;
  stroke-dasharray: 6 10;
  animation: flow 1.4s linear infinite;
}
@keyframes flow { to { stroke-dashoffset: -32; } }

/* ============================ SYSTEMS ============================ */

.system {
  margin-top: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(9, 15, 30, 0.6), rgba(4, 8, 16, 0.6));
}
.system:first-of-type { margin-top: 0; }
.system-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.system-num { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.system-head h3 { font-size: clamp(26px, 3vw, 36px); }
.system-sub { margin-top: 14px; max-width: 62ch; color: var(--ink-2); font-size: 15px; }

.demo { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(4, 8, 18, 0.6); }
.demo-tabs {
  display: flex;
  gap: 4px;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 12, 24, 0.7);
  overflow-x: auto;
  scrollbar-width: none;
}
.demo-tabs::-webkit-scrollbar { display: none; }
.dtab {
  flex: none;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: none;
  color: var(--ink-3);
  font: inherit;
  font-size: 12.5px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.dtab:hover { color: var(--ink); }
.dtab.active {
  color: #fff;
  border-color: var(--line-2);
  background: linear-gradient(140deg, rgba(13, 89, 227, 0.3), rgba(80, 239, 248, 0.08));
}

.demo-stage { padding: 22px; }
.dpanel { display: none; flex-direction: column; gap: 16px; }
.dpanel.active { display: flex; animation: panelin 0.45s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(10px); } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* briefing */
.briefing { padding: 28px 30px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 13, 26, 0.6); }
.brief-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.brief-lead { margin: 20px 0 26px; font-size: 16px; line-height: 1.62; color: var(--ink-2); }
.brief-lead b { color: var(--ink); font-weight: 600; }

.actions { display: flex; flex-direction: column; gap: 4px; }
.actions li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.a-rank { font-size: 13px; color: var(--cyan); padding-top: 2px; }
.a-title { font-size: 15.5px; font-weight: 500; }
.a-why { margin-top: 7px; font-size: 13.5px; color: var(--ink-2); line-height: 1.6; max-width: 72ch; }
.a-impact { margin-top: 10px; font-size: 11.5px; color: var(--ink-3); }
.a-impact b { color: #6fe0aa; font-weight: 500; }

/* growth agent */
.growth { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.growth-col { padding: 30px 26px; }
.growth-col h4 { font-size: 19px; font-weight: 400; }
.growth-col > p { margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.62; }

.fuse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
}
.fuse .ic { color: var(--cyan); }

/* ============================ CONSOLE ============================ */

.console-section { padding-top: 40px; }
.console {
  max-width: 940px;
  margin: 0 auto;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(8, 14, 28, 0.9), rgba(3, 6, 14, 0.94));
  box-shadow: 0 40px 100px -50px rgba(0, 0, 0, 1), 0 0 0 1px rgba(80, 239, 248, 0.06);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  background: rgba(6, 11, 22, 0.8);
}
.console-ent { margin-left: auto; font-size: 10px; color: var(--ink-3); }
.console-body { padding: 26px 28px 30px; min-height: 260px; }
.c-prompt { font-family: "IBM Plex Mono", monospace; font-size: 15px; line-height: 1.6; }
.c-caret { color: var(--cyan); margin-right: 10px; }
.c-cursor {
  display: inline-block;
  width: 8px; height: 17px;
  margin-left: 3px;
  vertical-align: -3px;
  background: var(--cyan);
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.c-answer { margin-top: 22px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.c-answer p { opacity: 0; animation: rise 0.5s var(--ease) forwards; }
.c-answer p + p { margin-top: 12px; }
.c-answer b { color: var(--ink); font-weight: 600; }
.c-answer .c-metric {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(47, 174, 110, 0.14);
  color: #6fe0aa;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ============================ TIMELINE ============================ */

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; padding-top: 42px; }
.tl-rail {
  position: absolute;
  top: 0; left: 6px; right: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--line);
}
.tl-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(80, 239, 248, 0.6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s var(--ease);
}
.tl-fill.filled { transform: scaleX(1); }
.timeline li { position: relative; padding-top: 18px; }
.tl-dot {
  position: absolute;
  top: -47px; left: 0;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line-2);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.timeline li.in .tl-dot { border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(80, 239, 248, 0.12); }
.tl-weeks { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); }
.timeline h3 { margin-top: 12px; font-size: 19px; font-weight: 400; }
.tl-scope { margin-top: 8px; font-size: 11px; color: var(--ink-3); }
.timeline .mini { margin-top: 18px; padding-top: 16px; }

.keys { margin-top: 60px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 18px; background: rgba(8, 13, 26, 0.5); }
.keys-title { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.keys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.keys-grid p { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.keys-grid b { color: var(--ink); font-weight: 600; }

/* ============================ SECURITY ============================ */

.cost-card { margin-top: 34px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(8, 13, 26, 0.55); }
.cc-title { font-family: Sora, sans-serif; font-size: 17px; font-weight: 400; }
.cc-body { margin-top: 12px; font-size: 14px; color: var(--ink-2); line-height: 1.62; }
.cc-rows { margin-top: 20px; display: flex; flex-direction: column; gap: 2px; }
.cc-rows div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }
.cc-rows i { font-size: 11px; color: var(--ink-3); }

.sec-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sec { padding: 26px 24px; }
.sec-ic {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 18px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(13, 89, 227, 0.18);
  color: var(--cyan);
}
.sec h3 { font-size: 16px; font-weight: 500; font-family: Manrope, sans-serif; letter-spacing: -0.01em; }
.sec p { margin-top: 9px; font-size: 13px; color: var(--ink-3); line-height: 1.58; }

/* ============================ INDUSTRIES ============================ */

.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind { padding: 30px 26px; }
.ind h3 { font-size: 19px; font-weight: 400; }
.ind p { margin-top: 12px; font-size: 14px; color: var(--ink-3); line-height: 1.6; }

/* ============================ WORK ============================ */

.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.work { overflow: hidden; }
.work-viz {
  position: relative;
  height: 170px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.work-viz::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(120, 175, 255, 0.07) 1px, transparent 1px) 0 0 / 100% 22px,
    linear-gradient(90deg, rgba(120, 175, 255, 0.07) 1px, transparent 1px) 0 0 / 22px 100%;
}
.w1 { background: radial-gradient(90% 100% at 20% 0%, rgba(13, 89, 227, 0.55), rgba(3, 7, 16, 0.9) 70%); }
.w2 { background: radial-gradient(90% 100% at 80% 10%, rgba(80, 239, 248, 0.32), rgba(3, 7, 16, 0.9) 68%); }
.w3 { background: radial-gradient(80% 100% at 50% 100%, rgba(13, 89, 227, 0.45), rgba(3, 7, 16, 0.9) 70%); }
.w4 { background: radial-gradient(100% 90% at 10% 90%, rgba(80, 239, 248, 0.26), rgba(3, 7, 16, 0.92) 66%); }
.work-badge {
  position: absolute;
  z-index: 2;
  left: 16px; bottom: 14px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(3, 7, 16, 0.7);
  backdrop-filter: blur(6px);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.work-cat { padding: 20px 22px 0; min-height: 44px; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.work h3 { padding: 0 22px; margin-top: 11px; font-size: 17px; font-weight: 400; }
.work > p { padding: 0 22px 24px; margin-top: 10px; font-size: 13px; color: var(--ink-3); line-height: 1.58; }

/* ============================ FAQ ============================ */

.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-lead h2 { font-size: clamp(28px, 3.3vw, 40px); }
.faq-lead .btn { margin-top: 30px; }

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 26, 0.5);
  padding: 0 24px;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq-list details[open] { border-color: var(--line-2); background: rgba(10, 17, 34, 0.66); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 21px 0;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.fx { flex: none; color: var(--cyan); display: grid; place-items: center; }
.fx .mn { display: none; }
details[open] .fx .pl { display: none; }
details[open] .fx .mn { display: block; }
.faq-list details p { padding-bottom: 24px; max-width: 68ch; font-size: 14.5px; line-height: 1.68; color: var(--ink-2); }

/* ============================ CTA + FOOTER ============================ */

.cta { position: relative; padding-top: 130px; overflow: hidden; }
.cta-glow {
  position: absolute;
  left: 50%;
  top: 4%;
  width: 150%;
  height: 68%;
  transform: translateX(-50%);
  background:
    radial-gradient(42% 54% at 50% 100%, rgba(80, 239, 248, 0.6) 0%, transparent 62%),
    radial-gradient(78% 88% at 50% 114%, rgba(13, 89, 227, 0.85) 0%, transparent 64%);
  filter: blur(46px);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; text-align: center; padding-bottom: 40px; }
/* horizon arc, echoing the brand mark's curve */
.cta-inner::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -330px;
  width: 128%;
  height: 380px;
  transform: translateX(-50%);
  border-radius: 50%;
  border-top: 1px solid rgba(150, 230, 255, 0.55);
  background: radial-gradient(60% 100% at 50% 100%, rgba(13, 89, 227, 0.5), transparent 70%);
  box-shadow: 0 -22px 70px -18px rgba(80, 239, 248, 0.55);
  pointer-events: none;
  z-index: -1;
}
.cta-inner .brand-mark { margin: 0 auto 34px; }
.cta-inner h2 { font-size: clamp(36px, 5.2vw, 66px); font-weight: 200; }
.cta-inner .sub { max-width: 58ch; margin-left: auto; margin-right: auto; }
.cta-note { margin-top: 34px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }

.footer { position: relative; z-index: 2; margin-top: 120px; border-top: 1px solid var(--line); background: rgba(2, 5, 12, 0.94); backdrop-filter: blur(14px); }
.footer-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; padding: 60px 0 54px; }
.footer-blurb { margin-top: 14px; max-width: 30ch; font-size: 14px; color: var(--ink-3); line-height: 1.6; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fc-title { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.footer-cols a { display: block; padding: 7px 0; font-size: 14px; color: var(--ink-2); transition: color 0.18s ease; }
.footer-cols a:hover { color: var(--cyan); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-3);
}
.socials { display: flex; gap: 14px; }
.socials a { color: var(--ink-3); transition: color 0.2s ease, transform 0.2s var(--ease); }
.socials a:hover { color: var(--cyan); transform: translateY(-2px); }

/* ============================ MOTION ============================ */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.d1.in { transition-delay: 0.09s; }
.reveal.d2.in { transition-delay: 0.18s; }
.reveal.d3.in { transition-delay: 0.27s; }
.reveal.d4.in { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .aurora, .scanbeam, .grain, .mq-track, .brand-mark::before, .o1,
  .spark-line, .spark-dot, .bar, .m-bar i, .dashflow, .pip.live::before, .pip.big i,
  .c-cursor, .c-answer p { animation: none !important; }
  .spark-line { stroke-dashoffset: 0; }
  .spark-dot, .c-answer p { opacity: 1; }
  .tl-fill { transition: none; }
}

/* ============================ RESPONSIVE ============================ */

@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-viz { max-width: 620px; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .tl-rail { display: none; }
  .tl-dot { top: -6px; }
  .timeline li { padding-top: 26px; }
  .split-lead { grid-template-columns: 1fr; gap: 46px; }
  .split-2 { grid-template-columns: 1fr; gap: 46px; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; }
  .stack-wires { display: none; }
  .sl-side { display: none; }
}

@media (max-width: 880px) {
  .section { padding: 88px 0; }
  .hero { padding: 150px 0 60px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(3, 7, 16, 0.97);
    backdrop-filter: blur(20px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 10px; font-size: 15px; }
  .nav-links ~ .nav-actions { margin-left: auto; }
  .nav-toggle { display: flex; }
  .btn-quiet { display: none; }
  .nav { padding: 0 10px 0 16px; gap: 12px; }
  .nav .btn-primary { height: 38px; padding: 0 14px; font-size: 13px; white-space: nowrap; }
  .nav .btn-primary .ic { display: none; }
  .brand-word { font-size: 16px; letter-spacing: 0.26em; }

  .hero h1 br, .head h2 br, .split-lead h2 br, .cta-inner h2 br,
  .faq-lead h2 br, .hero .lede br { display: none; }
  .hero-meta { flex-wrap: wrap; gap: 22px 32px; }

  .stat-row, .stat-row.four { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .cap-grid, .growth, .ind-grid, .sec-grid, .work-grid,
  .target-grid, .keys-grid, .timeline { grid-template-columns: 1fr; }
  .system { padding: 22px 18px; }
  .demo-stage { padding: 14px; }
  .chart-card, .table-card { padding: 18px 16px; }
  .system-head { flex-direction: column; gap: 18px; }
  .briefing { padding: 22px 18px; }
  .actions li { grid-template-columns: 32px 1fr; gap: 10px; }
  .dtable { font-size: 12px; }
  .dtable th, .dtable td { padding-left: 6px; padding-right: 6px; }
  .console-body { padding: 20px 18px 24px; }
  .c-prompt { font-size: 13.5px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .meter { grid-template-columns: 66px 1fr 46px; gap: 9px; }
}
