/* ==========================================================================
   Kova — Kodak Aerochrome Infrared Editorial Design System
   100% Offline Local Typography · Zero External CDNs
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/inter-400.woff2?v=1dc044f4') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/inter-500.woff2?v=1dc044f4') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/fonts/inter-600.woff2?v=1dc044f4') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-400.woff2?v=340e696a') format('woff2');
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-500.woff2?v=340e696a') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/playfair-display-400.woff2?v=613a720f') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/playfair-display-500.woff2?v=613a720f') format('woff2');
}

:root {
  --bg: #ffffff;
  --ink: #0d0e10;
  --ink-2: #2f333a;
  --muted: #5c626c;
  --muted-light: #868d98;
  --crimson: #d91628;
  --crimson-deep: #5a282d;
  --oxblood-black: #130103;
  --hairline: rgba(13, 14, 16, 0.08);
  --surface-subtle: #f4f5f7;
  --radius-card: 18px;
  --radius-window: 16px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

button,
select,
input {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
  flex-shrink: 0;
}

.status-dot--pulse {
  box-shadow: 0 0 0 3px rgba(217, 22, 40, 0.18);
  animation: kovaDotPulse 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes kovaDotPulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(217, 22, 40, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(217, 22, 40, 0.04);
  }
}

/* ==========================================================================
   M1: HERO & NAVIGATION
   ========================================================================== */

.hero-stage {
  position: relative;
  background-color: #dbe0e4;
  overflow: hidden;
  isolation: isolate;
}

.hero-art-layer {
  position: absolute;
  inset: -4% 0;
  z-index: 0;
  background-image: url('assets/hero-bg.webp?v=a70ccbea');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  transform: translate3d(0, var(--py, 0px), 0);
  scale: 1.045;
  will-change: transform;
  pointer-events: none;
}

.hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(224, 228, 232, 0.72) 0%,
    rgba(226, 230, 234, 0.45) 32%,
    rgba(226, 230, 234, 0.0) 56%,
    rgba(19, 1, 3, 0.0) 82%,
    rgba(19, 1, 3, 0.88) 97%,
    #130103 100%
  );
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 36px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-mark {
  display: block;
  width: 24px;
  height: 15px;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 450;
  color: #262930;
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-login {
  font-size: 13.5px;
  font-weight: 500;
  color: #262930;
  background: none;
  border: none;
  padding: 6px 4px;
  cursor: pointer;
  transition: color 0.18s ease;
}

.nav-login:hover {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  padding: 11px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn-dark {
  background: var(--ink);
  color: #ffffff;
}

.btn-dark:hover {
  background: #23252a;
  box-shadow: 0 8px 20px -8px rgba(13, 14, 16, 0.36);
}

.btn-frosted {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: rgba(13, 14, 16, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-frosted:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(13, 14, 16, 0.2);
  box-shadow: 0 8px 20px -10px rgba(13, 14, 16, 0.2);
}

.btn-white {
  background: #ffffff;
  color: var(--ink);
}

.btn-white:hover {
  background: #f2f3f5;
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.42);
}

.btn-ghost-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.48);
}

/* Hero Copy Block */
.hero-copy {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 780px;
  margin: 26px auto 0;
  padding: 0 24px;
}

.uptime-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(13, 14, 16, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  color: #24272d;
  margin-bottom: 18px;
}

.hero-h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
  margin: 0 0 18px;
}

.hero-sub {
  font-size: 15.5px;
  line-height: 1.55;
  color: #363b42;
  margin: 0 auto 24px;
  max-width: 520px;
}

.hero-cta-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   HERO CONSOLE WINDOW (INTERACTIVE GLOBAL EDGE ROUTING)
   ========================================================================== */

.console-wrap {
  position: relative;
  z-index: 12;
  max-width: 960px;
  margin: 40px auto 52px;
  padding: 0 24px;
}

.console-shell {
  display: grid;
  grid-template-columns: 164px 1fr;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 14, 16, 0.09);
  border-radius: var(--radius-window);
  box-shadow:
    0 30px 70px -18px rgba(24, 3, 6, 0.34),
    0 8px 24px -8px rgba(13, 14, 16, 0.12);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.console-shell:hover {
  box-shadow:
    0 38px 84px -18px rgba(24, 3, 6, 0.4),
    0 12px 30px -8px rgba(13, 14, 16, 0.14);
}

.console-sidebar {
  background: #fafafa;
  border-right: 1px solid #eceef1;
  padding: 16px 10px 18px;
  display: flex;
  flex-direction: column;
}

.console-brand {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 2px 10px 14px;
}

.console-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.console-nav-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: #5b616b;
  font-size: 12px;
  font-weight: 450;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.console-nav-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.72;
}

.console-nav-btn:hover {
  background: #f0f1f4;
  color: var(--ink);
}

.console-nav-btn.is-active {
  background: #eeeff2;
  color: var(--ink);
  font-weight: 500;
}

.console-nav-btn.is-active svg {
  opacity: 1;
}

.console-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  border-bottom: 1px solid #eff0f3;
  font-size: 11.5px;
  color: #555c66;
}

.console-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
}

.console-breadcrumb strong {
  color: var(--ink);
  font-weight: 500;
}

.console-topbar-icons {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b727d;
}

.console-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #6b727d;
  cursor: pointer;
}

.console-icon-btn:hover {
  background: #f2f3f5;
  color: var(--ink);
}

.console-avatar {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px 2px 3px;
  border-radius: 999px;
  border: 1px solid #e7e9ed;
  background: #fafafa;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
}

.console-avatar-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f0f1f4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.console-body {
  padding: 16px 20px 20px;
}

.console-app-header {
  margin-bottom: 14px;
}

.console-app-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 3px;
}

.console-app-title {
  margin: 0;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.console-deployed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: #494f59;
}

.console-app-meta {
  font-size: 11.5px;
  color: #555c66;
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(210px, 1fr);
  gap: 14px;
  align-items: stretch;
}

/* Map Card */
.map-panel {
  border: 1px solid #eceef1;
  border-radius: 12px;
  padding: 12px 14px 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  position: relative;
}

.map-panel.is-highlighted,
.inspector-panel.is-highlighted {
  box-shadow: 0 0 0 2px rgba(217, 22, 40, 0.32);
  border-color: rgba(217, 22, 40, 0.45);
}

.map-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.map-panel-title {
  font-size: 12.5px;
  font-weight: 500;
  color: #30343b;
}

.metric-switch {
  display: inline-flex;
  align-items: center;
  background: #f3f4f6;
  padding: 2px;
  border-radius: 6px;
  gap: 2px;
}

.metric-switch-btn {
  border: none;
  background: transparent;
  color: #4b515b;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.metric-switch-btn.is-active {
  background: var(--ink);
  color: #ffffff;
}

.world-map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  min-height: 204px;
  overflow: hidden;
  border-radius: 8px;
}

.world-map-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.map-dot-land {
  fill: #b9bec8;
}

.map-route-line {
  fill: none;
  stroke: var(--crimson);
  stroke-width: 1.5;
  stroke-dasharray: 3.5 3.5;
  stroke-linecap: round;
  animation: routeFlow 14s linear infinite;
}

.map-route-line--secondary {
  stroke: rgba(217, 22, 40, 0.42);
  stroke-width: 1.1;
  stroke-dasharray: 2.5 3.5;
}

@keyframes routeFlow {
  from {
    stroke-dashoffset: 56;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.map-node-group {
  cursor: pointer;
}

.map-node-halo {
  fill: rgba(217, 22, 40, 0.16);
  transition: r 0.2s ease, fill 0.2s ease;
}

.map-node-core {
  fill: #9aa1ac;
  transition: fill 0.18s ease, r 0.18s ease;
}

.map-node-group:hover .map-node-core,
.map-node-group.is-active .map-node-core {
  fill: var(--crimson);
}

.map-node-group.is-active .map-node-halo {
  fill: rgba(217, 22, 40, 0.22);
}

.map-callout {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 1px solid rgba(13, 14, 16, 0.1);
  border-radius: 6px;
  padding: 2px 7px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(13, 14, 16, 0.1);
  pointer-events: none;
  white-space: nowrap;
  transition: left 0.3s ease, top 0.3s ease;
}

.map-callout--primary {
  border-color: rgba(217, 22, 40, 0.24);
}

.map-hint {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 11px;
  color: #555c66;
}

.map-hint-route {
  font-family: var(--font-mono);
  color: #323740;
}

/* Route Inspector Panel */
.inspector-panel {
  border: 1px solid #eceef1;
  border-radius: 12px;
  padding: 13px 14px 14px;
  background: #fbfbfc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.inspector-title {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.inspector-fields {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-label {
  font-size: 11px;
  font-weight: 500;
  color: #525964;
}

.select-wrap {
  position: relative;
}

.select-control {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: #ffffff;
  border: 1px solid #e1e4e9;
  border-radius: 7px;
  padding: 6.5px 28px 6.5px 10px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.select-control:hover,
.select-control:focus {
  outline: none;
  border-color: #a6adb8;
}

.select-chevron {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  color: #777e89;
  pointer-events: none;
}

.inspector-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #ebedf0;
}

.metric-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.metric-label {
  font-size: 11px;
  color: #525964;
}

.metric-value {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.metric-value--status {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

/* Partner Logo Bar inside Hero Base */
/* Plane 3: True Transparent Crimson Grass Foreground Occlusion overlapping the bottom edge of the console */
.hero-fg-layer {
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: -115px;
  z-index: 15;
  width: 104%;
  pointer-events: none;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}

.hero-fg-img {
  display: block;
  width: 100%;
  height: auto;
}

.logo-strip {
  position: relative;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(19, 1, 3, 0.55), #130103 44%);
  padding: 22px 0 26px;
}

.logo-strip-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: 16px;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.partner-logo svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   M2: ARCHITECTURE (1:2 EDITORIAL BENTO)
   ========================================================================== */

.section-arch {
  background: var(--bg);
  padding: 92px 0 86px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: #f1f2f5;
  color: #4c525c;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}

.arch-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.section-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 3.8vw, 48px);
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}

.arch-sub {
  margin: 0 0 6px;
  font-size: 15px;
  color: #525862;
  max-width: 470px;
  text-align: right;
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr 2.15fr;
  gap: 18px;
}

.photo-card {
  position: relative;
  height: 446px;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background-color: #210306;
}

.photo-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--py, 0px), 0);
  scale: 1.05;
  transition: scale 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.photo-card:hover .photo-card-img {
  scale: 1.095;
}

.photo-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 42%,
    rgba(26, 2, 5, 0.56) 76%,
    rgba(19, 1, 3, 0.92) 100%
  );
  pointer-events: none;
}

.photo-card-top,
.photo-card-foot {
  position: relative;
  z-index: 2;
}

.photo-card-foot {
  text-align: center;
  padding-bottom: 4px;
}

.photo-card-title {
  margin: 0 0 5px;
  font-size: 22px;
  font-weight: 450;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.photo-card-desc {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

/* Left Card Failover Rings */
.failover-top {
  display: flex;
  justify-content: flex-end;
  padding: 36px 26px 0 0;
}

.failover-ring-btn {
  position: relative;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.failover-rings {
  width: 72px;
  height: 44px;
  overflow: visible;
}

.failover-rings circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.88);
  stroke-width: 1.35;
  transition: stroke 0.25s ease, transform 0.25s ease, stroke-width 0.25s ease;
}

.failover-ring-btn.is-swapped .ring-primary {
  stroke: rgba(255, 255, 255, 0.45);
}

.failover-ring-btn.is-swapped .ring-standby {
  stroke: #ffffff;
  stroke-width: 2;
}

.failover-state-tag {
  font-size: 11px;
  font-weight: 500;
  color: #1f2329;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  padding: 3px 9px;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.photo-card:hover .failover-state-tag,
.failover-ring-btn.is-swapped .failover-state-tag {
  opacity: 1;
  transform: translateY(0);
}

/* Right Card Interactive Edge -> Route -> Origin Flow */
.steering-stage {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.steering-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 560px;
}

.steering-node-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.steering-node {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  background: rgba(92, 96, 102, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 14px;
  font-weight: 450;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.steering-node:hover {
  background: rgba(74, 78, 84, 0.8);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow: 0 8px 20px rgba(13, 14, 16, 0.14);
}

.steering-node.is-active {
  background: rgba(66, 70, 76, 0.82);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 26px rgba(13, 14, 16, 0.16);
}

.steering-node-ring {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  display: inline-block;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.steering-node.is-active .steering-node-ring {
  background: var(--crimson);
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(217, 22, 40, 0.32);
}

.steering-connector {
  position: relative;
  flex: 1;
  min-width: 56px;
  max-width: 96px;
  height: 1px;
  background: rgba(255, 255, 255, 0.68);
  margin: 0 4px;
}

.steering-signal {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
  border: 1.5px solid #ffffff;
  box-shadow: 0 0 8px rgba(217, 22, 40, 0.55);
  transform: translate(-50%, -50%);
  animation: kovaSignalGlide 2.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.steering-connector--delayed .steering-signal {
  animation-delay: 1.3s;
}

@keyframes kovaSignalGlide {
  0% { left: 0%; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.steering-hop-pill {
  position: absolute;
  left: 50%;
  top: -32px;
  transform: translateX(-50%);
  background: rgba(114, 118, 124, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.94);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.steering-cursor-badge {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-28%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(13, 14, 16, 0.16);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.steering-node-wrap.is-active .steering-cursor-badge {
  opacity: 1;
}

.steering-pointer-svg {
  position: absolute;
  top: -15px;
  left: -10px;
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.24));
}

/* ==========================================================================
   M3: BUILT FOR TEAMS THAT SHIP GLOBALLY
   ========================================================================== */

.section-teams {
  background: var(--bg);
  padding: 52px 0 96px;
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 64px;
  align-items: center;
}

.segment-rail {
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 440px;
  padding: 0;
  background: transparent;
  border-bottom: 1px solid rgba(13, 14, 16, 0.12);
  margin-bottom: 30px;
}

.segment-btn {
  position: relative;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0 0 12px;
  border-radius: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.segment-btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.segment-btn:hover {
  color: var(--ink);
}

.segment-btn.is-active {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  box-shadow: none;
}

.segment-btn.is-active::after {
  transform: scaleX(1);
}

.teams-desc {
  margin: 16px 0 22px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 420px;
}

.teams-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 440px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 26px;
}

.teams-metric {
  padding: 15px 16px 15px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.teams-metric + .teams-metric {
  padding-left: 22px;
  padding-right: 0;
  border-left: 1px solid var(--hairline);
}

.teams-metric-val {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.teams-metric-val.is-accent {
  color: var(--crimson);
}

.teams-metric-label {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.feature-bullet {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  margin-top: 8px;
  flex-shrink: 0;
}

.feature-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.feature-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #555c66;
}

/* Right Pure Aerial Crimson River Plate */
.river-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 1 / 1.02;
  background-color: #260307;
  box-shadow: 0 22px 52px rgba(19, 1, 3, 0.14);
}

.river-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translate3d(0, var(--py, 0px), 0);
  scale: 1.05;
  transition: scale 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.river-card:hover .river-card-img {
  scale: 1.095;
}

/* ==========================================================================
   M13: FULL-BLEED STYLIZED ENGRAVING STATEMENT BAND (GLOBAL TOPOLOGY)
   ========================================================================== */

.section-topology {
  position: relative;
  width: 100%;
  min-height: 620px;
  padding: 96px 0;
  background-color: #120508;
  color: #ffffff;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
}

.topology-art-wrap {
  position: absolute;
  inset: -4% 0;
  z-index: 0;
  pointer-events: none;
}

.topology-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
  transform: translate3d(0, var(--py, 0px), 0);
  scale: 1.05;
  will-change: transform;
}

.section-topology::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(18, 5, 8, 0.90) 0%,
      rgba(18, 5, 8, 0.72) 34%,
      rgba(18, 5, 8, 0.24) 64%,
      rgba(18, 5, 8, 0.14) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(18, 5, 8, 0.28) 0%,
      rgba(18, 5, 8, 0.0) 16%,
      rgba(18, 5, 8, 0.0) 84%,
      rgba(18, 5, 8, 0.34) 100%
    );
  pointer-events: none;
}

.topology-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 56px;
  align-items: center;
}

.topology-copy {
  max-width: 460px;
}

.topology-h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(38px, 4.1vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.026em;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(18, 5, 8, 0.45);
}

.topology-sub {
  margin: 18px 0 30px;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(246, 234, 237, 0.76);
  max-width: 380px;
}

.btn-rose-pill {
  background: #f3c4cc;
  color: #180509;
  border-color: rgba(255, 255, 255, 0.28);
  padding: 12px 22px;
  font-weight: 600;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.55);
}

.btn-rose-pill:hover {
  background: #fad5dc;
  border-color: rgba(255, 255, 255, 0.52);
  box-shadow: 0 16px 34px -10px rgba(0, 0, 0, 0.65);
}

/* Dark-Obsidian Floating Interactive Product Card */
.topology-card {
  background: rgba(24, 24, 27, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 26px 28px 22px;
  box-shadow:
    0 34px 72px -18px rgba(0, 0, 0, 0.68),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
}

.topology-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.topology-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.54);
}

.topology-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #f4f4f5;
}

.topology-filter {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 3px;
  flex-shrink: 0;
}

.topology-filter-btn {
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.topology-filter-btn:hover {
  color: rgba(255, 255, 255, 0.9);
}

.topology-filter-btn.is-active {
  background: rgba(217, 22, 40, 0.24);
  border-color: rgba(242, 92, 110, 0.42);
  color: #ffdce2;
}

.topology-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 22px;
}

.topology-kpi {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.topology-kpi-label {
  font-size: 11.5px;
  font-weight: 450;
  color: rgba(255, 255, 255, 0.48);
}

.topology-kpi-val {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.topology-kpi-val--accent {
  color: #f9b4c0;
}

.topology-chart-block {
  margin-bottom: 16px;
}

.topology-chart-caption {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.44);
  margin-bottom: 8px;
}

.topology-svg-wrap {
  width: 100%;
}

.topology-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.topology-grid-lines line {
  stroke: rgba(255, 255, 255, 0.075);
  stroke-width: 1;
}

.topology-axis-text text {
  fill: rgba(255, 255, 255, 0.42);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.topology-line-path {
  stroke: #f25c6e;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: d 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.topology-area-path {
  transition: d 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.topology-badge-text {
  fill: #18181b;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.topology-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.46);
}

.topology-foot-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  flex-shrink: 0;
}

/* ==========================================================================
   M5: EDGE PRIMITIVES (1:1:1 THREE-COLUMN INTERACTIVE CARDS)
   ========================================================================== */

.section-primitives {
  background: var(--bg);
  padding: 84px 0 88px;
}

.primitives-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.prim-card {
  position: relative;
  height: 448px;
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: #190205;
}

.prim-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0);
  scale: 1.06;
  transition: scale 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.prim-card:hover .prim-card-img {
  scale: 1.095;
}

.prim-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(19, 1, 3, 0.08) 0%,
    rgba(19, 1, 3, 0.14) 48%,
    rgba(19, 1, 3, 0.78) 100%
  );
  pointer-events: none;
}

.prim-widget {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(13, 14, 16, 0.08);
  border-radius: 13px;
  padding: 14px;
  box-shadow: 0 14px 32px rgba(19, 1, 3, 0.24);
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.prim-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.prim-widget-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.prim-widget-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #363c46;
}

.prim-widget-mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--crimson);
}

.prim-seg {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  background: #f2f3f6;
  padding: 3px;
  border-radius: 999px;
}

.prim-seg-btn {
  border: none;
  background: transparent;
  color: #555c66;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 6px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.prim-seg-btn:hover {
  color: var(--ink);
}

.prim-seg-btn.is-active {
  background: var(--ink);
  color: #ffffff;
}

.prim-meter-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: #e9ebef;
  overflow: hidden;
}

.prim-meter-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--crimson);
  transition: width 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.prim-kv-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid #eff1f4;
  font-size: 11.5px;
  color: var(--muted);
}

.prim-kv-line strong {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11.5px;
  color: var(--ink);
}

.prim-mono-key {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #464c56;
}

/* ==========================================================================
   M8: PRICING (3-TIER WITH BILLING TOGGLE & FEATURED CRIMSON STRIP)
   ========================================================================== */

.section-pricing {
  background: var(--bg);
  padding: 20px 0 92px;
}

.pricing-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
}

.billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface-subtle);
  border: 1px solid var(--hairline);
  flex-shrink: 0;
}

.billing-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.billing-btn:hover {
  color: var(--ink);
}

.billing-btn.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(13, 14, 16, 0.08);
}

.billing-save {
  font-size: 11px;
  font-weight: 500;
  color: var(--crimson);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: #ffffff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, box-shadow 0.24s ease;
}

.price-card:hover {
  border-color: rgba(13, 14, 16, 0.16);
}

.price-card--featured {
  border-color: rgba(13, 14, 16, 0.16);
  box-shadow: 0 22px 52px -24px rgba(19, 1, 3, 0.18);
}

.price-art-strip {
  height: 54px;
  width: 100%;
  overflow: hidden;
  background: #1a0205;
  flex-shrink: 0;
}

.price-art-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

.price-card-body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.price-card--featured .price-card-body {
  padding-top: 22px;
}

.price-tier-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.price-tier {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.price-dot-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.price-tagline {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}

.price-amount-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 22px;
}

.price-amount {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.price-unit {
  font-size: 13px;
  color: var(--muted);
}

.price-cta {
  width: 100%;
  margin-bottom: 24px;
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: rgba(13, 14, 16, 0.16);
}

.btn-outline-dark:hover {
  background: var(--surface-subtle);
  border-color: rgba(13, 14, 16, 0.28);
}

.btn-crimson {
  background: var(--crimson);
  color: #ffffff;
}

.btn-crimson:hover {
  background: #bf1122;
  box-shadow: 0 10px 24px -10px rgba(217, 22, 40, 0.5);
}

.price-features {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}

.price-features li {
  padding: 11px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 13.5px;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 9px;
}

.price-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-features li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8c939e;
  flex-shrink: 0;
}

.price-card--featured .price-features li::before {
  background: var(--crimson);
}

/* ==========================================================================
   M4: FRAMED DUSK LAKE CTA + BORDERLESS PURE-WHITE FOOTER
   ========================================================================== */

.section-cta {
  background: var(--bg);
  padding: 12px 0 40px;
}

.cta-frame {
  position: relative;
  min-height: 432px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 46px 28px 118px;
  background-color: #1c0206;
}

.cta-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform: translate3d(0, var(--py, 0px), 0);
  scale: 1.06;
  transition: scale 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cta-frame:hover .cta-frame-img {
  scale: 1.095;
}

.cta-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(22, 2, 6, 0.52) 0%,
    rgba(22, 2, 6, 0.28) 54%,
    rgba(16, 1, 4, 0.34) 100%
  );
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.1vw, 52px);
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 14px;
}

.cta-sub {
  margin: 0 0 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
}

.cta-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Borderless Pure-White Footer */
.footer {
  background: #ffffff;
  border: none;
  padding: 52px 0 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr repeat(4, 1fr);
  gap: 32px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 146px;
}

.footer-brand-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand-name {
  font-size: 18px;
}

.footer-brand-name .brand-mark {
  width: 28px;
  height: 17px;
}

.footer-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.footer-copy {
  margin: 24px 0 0;
  font-size: 12px;
  color: #59606a;
}

.footer-col-title {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.16s ease;
}

.footer-links a:hover {
  color: var(--ink);
}

/* ==========================================================================
   INTERACTIVE TOUR TOAST & MODAL
   ========================================================================== */

.tour-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(18px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  font-size: 12.5px;
  box-shadow: 0 16px 36px rgba(13, 14, 16, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.tour-banner.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.tour-step-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--crimson);
  color: #ffffff;
}

.tour-next-btn,
.tour-close-btn {
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
}

.tour-next-btn:hover,
.tour-close-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(13, 14, 16, 0.44);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 24px 60px rgba(13, 14, 16, 0.24);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.modal-close {
  border: none;
  background: #f3f4f6;
  color: var(--ink);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.modal-desc {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-input {
  width: 100%;
  border: 1px solid #dfe2e8;
  border-radius: 9px;
  padding: 10px 12px;
  font-size: 16px;
  color: var(--ink);
}

.modal-input:focus {
  outline: none;
  border-color: var(--ink);
}

.modal-feedback {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink);
  background: #f6f7f9;
  padding: 10px 12px;
  border-radius: 9px;
}

.modal-feedback.is-visible {
  display: flex;
}

/* ==========================================================================
   RESPONSIVE (TABLET & MOBILE 390px)
   ========================================================================== */

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

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

  .console-sidebar {
    display: none;
  }

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

  .logo-strip-inner {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 16px;
  }

  .arch-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .arch-sub {
    text-align: left;
  }

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

  .photo-card {
    height: 380px;
  }

  .teams-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-topology {
    min-height: auto;
    padding: 72px 0;
  }

  .section-topology::before {
    background: linear-gradient(
      to bottom,
      rgba(18, 5, 8, 0.84) 0%,
      rgba(18, 5, 8, 0.62) 42%,
      rgba(18, 5, 8, 0.34) 100%
    );
  }

  .topology-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 0 28px;
  }

  .topology-copy {
    max-width: none;
  }

  .primitives-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .prim-card {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .footer-brand-col {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 0 20px;
  }

  .nav {
    padding: 18px 20px 12px;
  }

  .nav-login {
    display: none;
  }

  .hero-copy {
    margin-top: 20px;
    padding: 0 20px;
  }

  .hero-h1 {
    font-size: 38px;
  }

  .console-wrap {
    margin: 28px auto 36px;
    padding: 0 16px;
  }

  .console-body {
    padding: 14px;
  }

  .world-map-stage {
    min-height: 170px;
  }

  .select-control {
    font-size: 16px;
    padding: 8px 30px 8px 12px;
  }

  .logo-strip-inner {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 20px;
  }

  .section-arch {
    padding: 64px 0 56px;
  }

  .section-teams {
    padding: 28px 0 64px;
  }

  .section-topology {
    padding: 56px 0;
  }

  .topology-inner {
    padding: 0 20px;
    gap: 28px;
  }

  .topology-h2 {
    font-size: 34px;
  }

  .topology-card {
    padding: 20px 18px 18px;
  }

  .topology-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .topology-filter {
    max-width: 100%;
  }

  .topology-kpis {
    gap: 10px;
    margin: 18px 0;
  }

  .topology-kpi-val {
    font-size: 19px;
  }

  .topology-card-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .section-primitives {
    padding: 60px 0 68px;
  }

  .segment-rail {
    gap: 16px;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 24px;
  }

  .segment-btn {
    padding: 4px 0 10px;
    font-size: 13px;
  }

  .teams-metric-val {
    font-size: 21px;
  }

  .feature-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .steering-stage {
    margin-top: 22px;
  }

  .steering-node {
    padding: 8px 11px;
    font-size: 12px;
    gap: 5px;
  }

  .steering-connector {
    min-width: 24px;
  }

  .steering-hop-pill {
    font-size: 11px;
    padding: 2px 6px;
    top: -28px;
  }

  .cta-frame {
    min-height: 360px;
    padding: 44px 20px 72px;
  }

  .footer {
    padding: 40px 0 48px;
  }

  .tour-banner {
    width: calc(100% - 28px);
    border-radius: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
  }
}

/* ==========================================================================
   EDITORIAL MOTION CHOREOGRAPHY & REDUCED-MOTION SAFETY
   ========================================================================== */

@keyframes kovaHeroRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.uptime-pill {
  animation: kovaHeroRise 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.02s both;
}

.hero-h1 {
  animation: kovaHeroRise 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.09s both;
}

.hero-sub {
  animation: kovaHeroRise 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.hero-cta-row {
  animation: kovaHeroRise 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
}

.console-wrap {
  animation: kovaHeroRise 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

/* Screenshot-safe scroll choreography: baseline opacity is ALWAYS 1 */
@keyframes kovaEditorialRise {
  0% {
    transform: translate3d(0, 16px, 0) scale(0.992);
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

[data-reveal].is-revealed {
  animation: kovaEditorialRise 0.72s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms) backwards;
}

@keyframes kovaFeatureSwap {
  0% {
    opacity: 0.72;
    transform: translate3d(0, 7px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.feature-item.is-fresh {
  animation: kovaFeatureSwap 0.36s cubic-bezier(0.22, 1, 0.36, 1) var(--stagger, 0ms) both;
}

.map-route-line--draw {
  stroke-dasharray: var(--path-len, 300);
  stroke-dashoffset: 0;
  animation: kovaRouteDraw 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes kovaRouteDraw {
  from {
    stroke-dashoffset: var(--path-len, 300);
  }
  to {
    stroke-dashoffset: 0;
  }
}

.map-signal-dot {
  fill: var(--crimson);
  stroke: #ffffff;
  stroke-width: 1.4;
  pointer-events: none;
}

.failover-rings .ring-primary {
  transform-origin: 25px 22px;
}

.failover-rings .ring-standby {
  transform-origin: 47px 22px;
}

.failover-ring-btn:hover .failover-rings {
  transform: scale(1.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-bar {
  transition: height 0.48s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-art-layer,
  .photo-card-img,
  .prim-card-img,
  .river-card-img,
  .topology-art-img,
  .cta-frame-img {
    transform: none !important;
    scale: 1 !important;
  }

  .console-shell {
    transform: none !important;
  }
}
