:root {
  --ink: #060B1F;
  --navy: #0A0F2C;
  --navy-mid: #111B3D;
  --electric: #2457F5;
  --electric-bright: #3B6FFF;
  --electric-dim: rgba(36, 87, 245, 0.1);
  --electric-glow: rgba(36, 87, 245, 0.35);
  --neon: rgba(59, 111, 255, 0.55);
  --bg: #F6F7FA;
  --bg-pure: #FAFBFD;
  --surface: rgba(255, 255, 255, 0.72);
  --line: rgba(10, 15, 44, 0.08);
  --line-strong: rgba(10, 15, 44, 0.14);
  --muted: #6B7385;
  --dim: #9AA3B5;
  --font: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'IBM Plex Mono', 'SF Mono', monospace;
  --header-h: 64px;
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

.mono { font-family: var(--mono); }

/* ── Ambient ── */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.ambient__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 10%, transparent 75%);
}

.ambient__scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(10, 15, 44, 0.012) 3px,
    rgba(10, 15, 44, 0.012) 4px
  );
  opacity: 0.5;
}

/* ── Header ── */
.shell-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  background: rgba(246, 247, 250, 0.65);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease), border-color 0.4s;
}

.shell-header--scrolled {
  background: rgba(246, 247, 250, 0.92);
  border-bottom-color: var(--line-strong);
}

.shell-header__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  margin-right: auto;
}

.shell-header__brand img {
  height: 22px;
  width: auto;
}

.shell-header__mark {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--electric);
  border: 1px solid rgba(36, 87, 245, 0.25);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  background: var(--electric-dim);
}

.shell-header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.shell-header__nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}

.shell-header__nav a span {
  color: var(--dim);
  margin-right: 0.35rem;
  font-size: 0.72rem;
}

.shell-header__nav a:hover { color: var(--ink); }

.shell-header__cta {
  color: var(--ink) !important;
  border: 1px solid var(--line-strong);
  padding: 0.45rem 1rem !important;
  border-radius: 6px;
  transition: border-color 0.25s, box-shadow 0.25s !important;
}

.shell-header__cta:hover {
  border-color: var(--electric) !important;
  box-shadow: 0 0 20px var(--electric-dim);
}

.shell-header__status {
  margin-left: 2rem;
  font-size: 0.68rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.shell-header__status::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 8px var(--electric-glow);
  margin-right: 0.4rem;
  animation: pulse-dot 2.5s ease infinite;
}

.shell-header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.shell-header__burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.shell-header__burger.open span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.shell-header__burger.open span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: 8px;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  border: none;
}

.btn--solid {
  background: var(--ink);
  color: #fff;
}

.btn--solid:hover {
  background: var(--navy);
  box-shadow: 0 0 32px var(--electric-dim), 0 8px 24px rgba(6, 11, 31, 0.15);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--electric);
  color: var(--electric);
  box-shadow: 0 0 24px var(--electric-dim);
}

.btn--ascend {
  background: #fff;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 1rem 2.2rem;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.btn--ascend:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(255, 255, 255, 0.15), 0 0 48px var(--electric-glow);
}

/* ── Label ── */
.label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--electric);
  margin-bottom: 1.5rem;
}

.label--light { color: rgba(255, 255, 255, 0.5); }

/* ── Hero ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--header-h) + 4rem) clamp(1.5rem, 5vw, 4rem) 4rem;
  max-width: 1440px;
  margin: 0 auto;
  gap: 2rem;
}

.hero__layer--depth {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 75% 40%, var(--electric-dim) 0%, transparent 65%);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  opacity: 0.7;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.68rem;
  color: var(--dim);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero__meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--electric);
  box-shadow: 0 0 10px var(--electric-glow);
}

.hero__meta-sep { opacity: 0.4; }

.hero__title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 1.8rem;
}

.hero__title em {
  font-style: normal;
  color: var(--electric);
  position: relative;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
}

.hero__telemetry {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.telemetry-item__key {
  font-size: 0.62rem;
  color: var(--dim);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.telemetry-item__val {
  font-size: 0.82rem;
  color: var(--ink);
  font-weight: 500;
}

/* Hero viz panels */
.hero__viz {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 340px;
}

.viz-panel {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(10, 15, 44, 0.06);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s;
}

.viz-panel:hover {
  border-color: rgba(36, 87, 245, 0.2);
  box-shadow: 0 8px 40px var(--electric-dim);
}

.viz-panel__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0.85rem;
  font-size: 0.62rem;
  color: var(--dim);
  border-bottom: 1px solid var(--line);
  letter-spacing: 0.03em;
}

.viz-panel__live {
  color: var(--electric);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  animation: pulse-dot 2s ease infinite;
}

.viz-panel__svg {
  width: 100%;
  padding: 1rem;
}

.viz-node {
  fill: var(--bg);
  stroke: var(--line-strong);
  stroke-width: 1.5;
}

.viz-node--active {
  fill: var(--electric-dim);
  stroke: var(--electric);
  filter: drop-shadow(0 0 6px var(--electric-glow));
}

.viz-edge {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.viz-pulse {
  stroke: var(--electric);
  stroke-width: 1.5;
  stroke-dasharray: 8 12;
  animation: dash-flow 3s linear infinite;
}

@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}

.viz-sparklines {
  padding: 1rem 0.85rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sparkline {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 32px;
}

.sparkline span {
  flex: 1;
  height: var(--h);
  background: var(--electric-dim);
  border-radius: 1px;
  transition: background 0.3s;
}

.sparkline:hover span { background: rgba(36, 87, 245, 0.25); }

.sparkline--alt span { background: rgba(10, 15, 44, 0.06); }

/* ── Chaos / Problem ── */
.chaos {
  position: relative;
  z-index: 1;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
}

.chaos__header { margin-bottom: 5rem; }

.chaos__title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 700px;
}

.chaos__title .dim {
  color: var(--dim);
  font-weight: 700;
}

.chaos__stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.chaos__diagram {
  position: relative;
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  min-height: 380px;
}

.chaos__diagram--broken {
  transform: rotate(-1.5deg);
}

.chaos__diagram svg { width: 100%; height: auto; }

.wire-box {
  stroke: var(--line-strong);
  stroke-width: 1;
  fill: none;
}

.wire-box--ghost { opacity: 0.35; }

.wire-box--broken {
  stroke: rgba(36, 87, 245, 0.3);
  stroke-dasharray: 4 4;
}

.wire-line {
  stroke: var(--line-strong);
  stroke-width: 1;
}

.wire-line--broken { stroke: rgba(36, 87, 245, 0.25); }

.wire-label {
  font-size: 10px;
  fill: var(--dim);
}

.wire-label--err { fill: var(--electric); opacity: 0.7; }

.chaos__overlay {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 0.62rem;
  color: var(--electric);
  letter-spacing: 0.08em;
  opacity: 0.6;
  transform: rotate(-3deg);
}

.chaos__fragments {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.fragment {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.6rem 1.8rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}

.fragment:hover {
  border-color: rgba(36, 87, 245, 0.2);
  box-shadow: 0 4px 24px var(--electric-dim);
  transform: translateX(4px);
}

.fragment--offset { margin-left: 2rem; }
.fragment--float { margin-left: -1rem; transform: translateY(-0.5rem); }
.fragment--float:hover { transform: translateX(4px) translateY(-0.5rem); }
.fragment--wide { border-left: 2px solid var(--electric); }

.fragment__idx {
  font-size: 0.62rem;
  color: var(--dim);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.6rem;
}

.fragment h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.fragment p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Pipeline / Proposta ── */
.pipeline {
  position: relative;
  z-index: 1;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.pipeline__intro { margin-bottom: 4rem; }

.pipeline__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.pipeline__title em {
  font-style: normal;
  color: var(--electric);
}

.pipeline__desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 400px;
}

.pipeline__stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  position: relative;
}

.stage {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.4rem;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.stage::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line);
  transition: background 0.5s;
}

.stage.in-view::before,
.stage:hover::before {
  background: linear-gradient(90deg, transparent, var(--electric), transparent);
}

.stage--final {
  background: var(--ink);
  border-color: var(--navy);
  color: #fff;
}

.stage--final h3 { color: #fff; }
.stage--final p { color: rgba(255, 255, 255, 0.55); }

.stage__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
  font-size: 0.62rem;
  color: var(--dim);
}

.stage--final .stage__header { color: rgba(255, 255, 255, 0.4); }

.stage__num { letter-spacing: 0.06em; }

.stage__tag {
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 0.58rem;
  letter-spacing: 0.04em;
}

.stage--final .stage__tag { border-color: rgba(255, 255, 255, 0.15); }

.stage__tag--live {
  color: var(--electric);
  border-color: rgba(36, 87, 245, 0.3);
  background: var(--electric-dim);
}

.stage--final .stage__tag--live {
  color: #fff;
  background: rgba(36, 87, 245, 0.3);
  border-color: rgba(59, 111, 255, 0.4);
}

.stage__viz {
  display: flex;
  gap: 4px;
  margin-bottom: 1.2rem;
  min-height: 20px;
}

.stage__node {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--line-strong);
  transition: all 0.5s var(--ease);
}

.stage.in-view .stage__node,
.stage:hover .stage__node {
  background: var(--electric-dim);
  border: 1px solid rgba(36, 87, 245, 0.3);
}

.stage__node--active {
  background: var(--electric) !important;
  box-shadow: 0 0 8px var(--electric-glow);
}

.stage h3 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.stage p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.pipeline__connector {
  margin-top: 2rem;
  position: relative;
  height: 2px;
}

.connector-line {
  height: 1px;
  background: var(--line);
  position: relative;
}

.connector-pulse {
  position: absolute;
  top: -2px;
  left: 0;
  width: 60px;
  height: 5px;
  background: var(--electric);
  border-radius: 3px;
  box-shadow: 0 0 16px var(--electric-glow);
  animation: connector-move 4s var(--ease) infinite;
}

@keyframes connector-move {
  0% { left: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: calc(100% - 60px); opacity: 0; }
}

/* ── Disciplines / Trilhas ── */
.disciplines {
  position: relative;
  z-index: 1;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.disciplines__head { margin-bottom: 4rem; }

.disciplines__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.console {
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.console:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(6, 11, 31, 0.25), 0 0 40px var(--electric-dim);
}

.console__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: 0.03em;
}

.console__status {
  color: var(--electric-bright);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.console h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  padding: 1.2rem 1.2rem 0.4rem;
  letter-spacing: -0.02em;
}

.console > p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 1.2rem 1rem;
  line-height: 1.5;
}

.console__code {
  margin: 0;
  padding: 1rem 1.2rem 1.2rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.68rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  overflow-x: auto;
}

.console__code code { white-space: pre; }

/* ── Labs ── */
.labs {
  position: relative;
  z-index: 1;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.labs__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  grid-template-rows: auto auto;
  gap: 2rem;
}

.labs__intro { grid-column: 1; }

.labs__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.2rem;
}

.labs__desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 380px;
}

.labs__terminal {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: start;
  background: var(--ink);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(6, 11, 31, 0.15);
  transition: box-shadow 0.4s;
}

.labs__terminal:hover {
  box-shadow: 0 20px 60px rgba(6, 11, 31, 0.2), 0 0 48px var(--electric-dim);
}

.terminal__chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.3);
}

.terminal__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.terminal__dot:first-child { background: rgba(255, 95, 87, 0.6); }
.terminal__dot:nth-child(2) { background: rgba(255, 189, 46, 0.6); }
.terminal__dot:nth-child(3) { background: rgba(40, 201, 64, 0.6); }

.terminal__title { margin-left: 0.5rem; }

.terminal__body {
  padding: 1.5rem;
  font-size: 0.78rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.7);
}

.t-green { color: #4ADE80; }
.t-blue { color: var(--electric-bright); }
.t-yellow { color: #FBBF24; }
.t-dim { color: rgba(255, 255, 255, 0.3); }

.terminal__cursor {
  animation: blink 1.2s step-end infinite;
  color: var(--electric-bright);
}

@keyframes blink {
  50% { opacity: 0; }
}

.labs__panels {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lab-panel {
  background: var(--bg-pure);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  transition: all 0.35s var(--ease);
}

.lab-panel:hover {
  border-color: rgba(36, 87, 245, 0.2);
  box-shadow: 0 4px 20px var(--electric-dim);
  transform: translateX(6px);
}

.lab-panel__tag {
  font-size: 0.58rem;
  color: var(--electric);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.lab-panel h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.lab-panel p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* ── CTA Ascend ── */
.ascend {
  position: relative;
  z-index: 1;
  margin: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(6rem, 10vw, 8rem);
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
}

.ascend__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 20% 100%, rgba(36, 87, 245, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 0%, rgba(59, 111, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.ascend__content {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.ascend__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1.2rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.ascend__title em {
  font-style: normal;
  color: var(--electric-bright);
}

.ascend__sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2.5rem;
}

.ascend__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.04em;
}

/* ── Footer ── */
.shell-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
}

.shell-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.shell-footer__logo {
  height: 20px;
  opacity: 0.5;
  margin-bottom: 0.8rem;
}

.shell-footer__mono {
  font-size: 0.68rem;
  color: var(--dim);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.shell-footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.shell-footer__links a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s;
}

.shell-footer__links a:hover { color: var(--electric); }

.shell-footer__copy {
  font-size: 0.62rem;
  color: var(--dim);
  letter-spacing: 0.04em;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: calc(var(--header-h) + 3rem);
  }

  .hero__canvas {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.35;
  }

  .hero__viz {
    max-width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .viz-panel { flex: 1; min-width: 260px; }

  .chaos__stage { grid-template-columns: 1fr; }
  .chaos__diagram--broken { transform: none; }
  .fragment--offset, .fragment--float { margin-left: 0; }

  .pipeline__stages { grid-template-columns: repeat(3, 1fr); }
  .console-grid { grid-template-columns: repeat(2, 1fr); }

  .labs__grid {
    grid-template-columns: 1fr;
  }

  .labs__terminal {
    grid-column: 1;
    grid-row: auto;
  }

  .labs__panels { grid-column: 1; }
}

@media (max-width: 700px) {
  .shell-header__nav,
  .shell-header__status { display: none; }

  .shell-header__burger { display: flex; }

  .shell-header__nav.nav-open {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(246, 247, 250, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 40px rgba(10, 15, 44, 0.08);
  }

  .shell-header__nav.nav-open a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }

  .hero__title { font-size: 2.4rem; }
  .hero__viz { flex-direction: column; }
  .hero__telemetry { gap: 1rem; }

  .pipeline__stages { grid-template-columns: 1fr; }
  .console-grid { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; text-align: center; }
}
