:root {
  --ink: #f5f7ff;
  --muted: #a6aec2;
  --blue: #4c8dff;
  --blue-bright: #79b2ff;
  --red: #ff2f50;
  --red-bright: #ff6a79;
  --night: #03050a;
  --panel: rgba(7, 10, 18, 0.64);
  --line: rgba(196, 212, 255, 0.14);
  --scene-x: 0px;
  --scene-y: 0px;
  --light-x: 0px;
  --light-y: 0px;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--night);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(76, 141, 255, 0.42);
  color: white;
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background:
    radial-gradient(circle at 72% 12%, rgba(22, 56, 121, 0.11), transparent 26rem),
    var(--night);
}

.site-shell::after {
  position: fixed;
  z-index: 50;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: #080b14;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1600px, calc(100% - 72px));
  height: 92px;
  border-bottom: 1px solid rgba(207, 220, 255, 0.12);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-height: 44px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.19em;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(123, 170, 255, 0.55);
  transform: rotate(45deg);
  box-shadow:
    inset 0 0 12px rgba(69, 125, 255, 0.18),
    0 0 18px rgba(54, 114, 255, 0.14);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark i::before,
.brand-mark i::after {
  position: absolute;
  width: 7px;
  height: 1px;
  content: "";
  background: currentColor;
}

.brand-mark::before,
.brand-mark i::before {
  color: var(--blue-bright);
  transform: rotate(45deg);
}

.brand-mark::after,
.brand-mark i::after {
  color: var(--red-bright);
  transform: rotate(-45deg);
}

.brand-mark::before { margin-left: -7px; }
.brand-mark::after { margin-right: -7px; }
.brand-mark i::before { margin-top: -7px; }
.brand-mark i::after { margin-top: 7px; }

.brand-name span {
  color: #7d91bb;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  color: #b4bdd0;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav a,
.console-link {
  position: relative;
  transition: color 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.console-link:hover,
.console-link:focus-visible {
  color: white;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.console-link {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 9px;
  min-height: 44px;
  color: #b7c1d6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.status-dot,
.signal,
.live-label i,
.nominal i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5dff9b;
  box-shadow: 0 0 0 4px rgba(93, 255, 155, 0.08), 0 0 12px #5dff9b;
  animation: signal-pulse 2.4s ease-in-out infinite;
}

.hero {
  position: relative;
  display: flex;
  min-height: max(720px, 100svh);
  overflow: hidden;
  align-items: stretch;
  border-bottom: 1px solid rgba(207, 220, 255, 0.11);
}

.scene,
.scene-pan,
.scene-image,
.hero-shade,
.cursor-aura {
  position: absolute;
  inset: 0;
}

.scene {
  overflow: hidden;
  background: #03060d;
}

.scene-pan {
  inset: -2.5%;
  transform: translate3d(var(--scene-x), var(--scene-y), 0);
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.scene-image {
  background-image: url("./assets/cyberkingdom-hero.webp");
  background-position: center center;
  background-size: cover;
  animation: scene-breathe 22s ease-in-out infinite alternate;
  will-change: transform;
}

.scene-light {
  position: absolute;
  inset: -15%;
  opacity: 0.32;
  filter: blur(28px);
  mix-blend-mode: screen;
  transform: translate3d(var(--light-x), var(--light-y), 0);
  transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

.scene-light-blue {
  background: radial-gradient(circle at 52% 48%, rgba(22, 107, 255, 0.46), transparent 29%);
}

.scene-light-red {
  background: radial-gradient(circle at 72% 42%, rgba(255, 24, 56, 0.48), transparent 28%);
}

.scene-mist {
  position: absolute;
  right: -10%;
  bottom: -11%;
  left: -10%;
  height: 44%;
  opacity: 0.27;
  background:
    radial-gradient(ellipse at 28% 76%, rgba(93, 145, 255, 0.18), transparent 35%),
    radial-gradient(ellipse at 72% 70%, rgba(255, 49, 81, 0.15), transparent 34%),
    linear-gradient(180deg, transparent, rgba(130, 153, 205, 0.12));
  filter: blur(32px);
  animation: mist-drift 18s ease-in-out infinite alternate;
}

.scene-grid {
  position: absolute;
  right: -20%;
  bottom: -42%;
  left: -20%;
  height: 72%;
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(95, 139, 225, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 139, 225, 0.45) 1px, transparent 1px);
  background-size: 70px 52px;
  mask-image: linear-gradient(to bottom, transparent, black 36%, transparent 86%);
  transform: perspective(420px) rotateX(62deg);
  transform-origin: center top;
}

.particles {
  position: absolute;
  inset: 0;
}

.particles i {
  position: absolute;
  top: var(--particle-y);
  left: var(--particle-x);
  width: var(--particle-size);
  height: var(--particle-size);
  border-radius: 50%;
  background: #ff4664;
  box-shadow: 0 0 10px rgba(255, 47, 80, 0.85);
  animation: particle-rise var(--particle-duration) linear var(--particle-delay) infinite;
}

.particles i:nth-child(3n) {
  background: #69a7ff;
  box-shadow: 0 0 10px rgba(76, 141, 255, 0.85);
}

.hero-shade {
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 4, 9, 0.98) 0%, rgba(2, 5, 12, 0.91) 23%, rgba(2, 5, 12, 0.42) 52%, rgba(2, 4, 10, 0.08) 75%),
    linear-gradient(180deg, rgba(1, 3, 8, 0.58) 0%, transparent 24%, transparent 68%, rgba(2, 4, 9, 0.86) 100%);
}

.cursor-aura {
  z-index: 3;
  pointer-events: none;
  opacity: 0.6;
  background: radial-gradient(circle 240px at var(--cursor-x) var(--cursor-y), rgba(118, 166, 255, 0.055), transparent 70%);
}

.hero-layout {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: clamp(40px, 6vw, 110px);
  width: min(1600px, calc(100% - 12vw));
  min-height: 100%;
  margin: 0 auto;
  padding-top: 150px;
  padding-bottom: 92px;
  align-items: end;
}

.hero-copy {
  max-width: 850px;
}

.kicker,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  color: #91a2c1;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.21em;
}

.hero h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(3.15rem, 5.1vw, 5.35rem);
  font-weight: 680;
  letter-spacing: -0.063em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 span {
  color: rgba(240, 244, 255, 0.72);
  font-weight: 520;
}

.hero h1 strong {
  margin-top: 0.08em;
  color: white;
  font-weight: 760;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.hero-intro {
  max-width: 600px;
  margin: 28px 0 0;
  color: #aeb8cc;
  font-size: clamp(1rem, 1.25vw, 1.14rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  padding: 0 22px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button svg,
.card-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.button-primary {
  background: linear-gradient(110deg, #e9efff 0%, #ffffff 58%, #dce6ff 100%);
  color: #080b14;
  box-shadow: 0 12px 38px rgba(66, 124, 255, 0.18);
}

.button-primary::before {
  position: absolute;
  top: -70%;
  left: -45%;
  width: 30%;
  height: 240%;
  content: "";
  background: rgba(84, 142, 255, 0.3);
  filter: blur(12px);
  transform: rotate(18deg);
  transition: left 420ms ease;
}

.button-primary:hover::before,
.button-primary:focus-visible::before {
  left: 120%;
}

.button-ghost {
  border-color: rgba(190, 207, 246, 0.2);
  background: rgba(8, 11, 20, 0.44);
  color: #d6deef;
  backdrop-filter: blur(12px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 16px 44px rgba(76, 141, 255, 0.28);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(133, 170, 255, 0.48);
  background: rgba(17, 23, 40, 0.72);
}

.button:hover svg,
.button:focus-visible svg,
.card-link:hover svg {
  transform: translateX(4px);
}

.hero-metrics {
  display: flex;
  gap: 0;
  margin: 42px 0 0;
}

.hero-metrics div {
  min-width: 140px;
  padding-right: 28px;
  padding-left: 28px;
  border-left: 1px solid rgba(197, 215, 255, 0.14);
}

.hero-metrics div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-metrics dt,
.telemetry-data dt {
  margin-bottom: 7px;
  color: #65718b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.17em;
}

.hero-metrics dd,
.telemetry-data dd {
  margin: 0;
  color: #dfe6f5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.telemetry {
  justify-self: end;
  width: 100%;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(187, 205, 248, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(12, 17, 30, 0.72), rgba(4, 7, 14, 0.45));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px) saturate(130%);
}

.telemetry::before {
  display: block;
  width: 44px;
  height: 2px;
  margin: -19px 0 17px;
  content: "";
  background: linear-gradient(90deg, var(--blue), var(--red));
  box-shadow: 0 0 14px rgba(73, 132, 255, 0.55);
}

.telemetry-header,
.telemetry-data div,
.nominal {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-header {
  color: #99a6bf;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.live-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7ffaad;
}

.live-label i {
  width: 4px;
  height: 4px;
}

.telemetry-wave {
  display: flex;
  height: 54px;
  margin: 20px 0 18px;
  align-items: center;
  gap: 5px;
  border-block: 1px solid rgba(183, 204, 251, 0.08);
}

.telemetry-wave i {
  flex: 1;
  max-width: 5px;
  min-height: 4px;
  background: linear-gradient(to top, rgba(76, 141, 255, 0.25), #6ca2ff 64%, #e8f0ff);
  box-shadow: 0 0 8px rgba(76, 141, 255, 0.24);
  transform-origin: center;
  animation: wave 2.8s ease-in-out infinite alternate;
}

.telemetry-wave i:nth-child(2n) { animation-delay: -0.8s; }
.telemetry-wave i:nth-child(3n) { animation-delay: -1.7s; }
.telemetry-wave i:nth-child(5n) {
  background: linear-gradient(to top, rgba(255, 47, 80, 0.2), #ff4865 70%, #ffd6de);
  box-shadow: 0 0 8px rgba(255, 47, 80, 0.24);
}

.telemetry-data {
  display: grid;
  gap: 10px;
  margin: 0;
}

.telemetry-data div {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(183, 204, 251, 0.075);
}

.telemetry-data dt {
  margin: 0;
}

.nominal {
  margin: 14px 0 0;
  justify-content: flex-start;
  gap: 9px;
  color: #71947f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.nominal i {
  width: 4px;
  height: 4px;
}

.scroll-cue {
  position: absolute;
  z-index: 6;
  right: 6vw;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #6f7b94;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.16em;
}

.scroll-cue span {
  position: relative;
  display: block;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: rgba(182, 201, 241, 0.17);
}

.scroll-cue span::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--blue-bright), transparent);
  animation: scroll-line 2.1s ease-in-out infinite;
}

.reveal {
  animation: reveal-up 800ms both cubic-bezier(0.2, 0.72, 0.22, 1);
}

.reveal-1 { animation-delay: 80ms; }
.reveal-2 { animation-delay: 160ms; }
.reveal-3 { animation-delay: 260ms; }
.reveal-4 { animation-delay: 360ms; }
.reveal-5 { animation-delay: 480ms; }

.stack-section {
  position: relative;
  z-index: 2;
  padding: clamp(90px, 10vw, 150px) 6vw clamp(100px, 11vw, 170px);
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(48, 108, 228, 0.12), transparent 26rem),
    radial-gradient(circle at 92% 78%, rgba(200, 27, 62, 0.09), transparent 25rem),
    #05070c;
}

.stack-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(140, 164, 216, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 164, 216, 0.14) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(circle at center, black, transparent 75%);
}

.stack-heading,
.capability-grid {
  position: relative;
  width: min(1380px, 100%);
  margin-inline: auto;
}

.stack-heading {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  column-gap: 7vw;
  align-items: end;
}

.section-kicker {
  grid-column: 1 / -1;
  margin-bottom: 25px;
  color: #7887a5;
}

.stack-heading h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(2.65rem, 5vw, 5.25rem);
  font-weight: 660;
  letter-spacing: -0.058em;
  line-height: 0.96;
}

.stack-heading > p:last-child {
  max-width: 520px;
  margin: 0 0 8px;
  color: #909bb1;
  font-size: 1rem;
  line-height: 1.75;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 70px;
}

.capability-card {
  position: relative;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(186, 206, 248, 0.11);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(15, 20, 34, 0.82), rgba(6, 9, 16, 0.9));
  transition: transform 260ms cubic-bezier(0.2, 0.72, 0.2, 1), border-color 260ms ease, background 260ms ease;
}

.capability-card::before,
.capability-card::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.capability-card::before {
  inset: 0;
  opacity: 0;
  background: radial-gradient(circle at 80% 12%, rgba(76, 141, 255, 0.16), transparent 36%);
  transition: opacity 260ms ease;
}

.capability-card::after {
  right: 26px;
  bottom: 0;
  left: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent 55%, var(--red));
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 300ms ease;
}

.capability-card:hover {
  border-color: rgba(112, 157, 255, 0.3);
  background: linear-gradient(145deg, rgba(18, 25, 43, 0.92), rgba(7, 10, 18, 0.95));
  transform: translateY(-8px);
}

.capability-card:hover::before { opacity: 1; }
.capability-card:hover::after { transform: scaleX(1); }

.card-topline {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.card-index {
  color: #546078;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.card-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(137, 170, 238, 0.19);
  border-radius: 50%;
  background: rgba(35, 53, 91, 0.18);
  color: #82adff;
}

.card-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-eyebrow {
  position: relative;
  margin: 76px 0 13px;
  color: #6d7a95;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
}

.capability-card h3 {
  position: relative;
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 630;
  letter-spacing: -0.035em;
}

.card-copy {
  position: relative;
  max-width: 340px;
  margin: 17px 0 0;
  color: #8792a8;
  font-size: 0.92rem;
  line-height: 1.68;
}

.card-link {
  position: absolute;
  bottom: 27px;
  left: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #7786a5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.card-link svg {
  width: 15px;
}

.footer {
  display: flex;
  min-height: 100px;
  padding: 0 6vw;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(188, 208, 250, 0.08);
  background: #03050a;
  color: #525e74;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.17em;
}

a:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

@keyframes scene-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.065); }
}

@keyframes mist-drift {
  from { transform: translate3d(-2%, 0, 0) scaleX(1); }
  to { transform: translate3d(3%, -4%, 0) scaleX(1.08); }
}

@keyframes particle-rise {
  0% { opacity: 0; transform: translate3d(0, 20px, 0) scale(0.5); }
  18% { opacity: 0.85; }
  82% { opacity: 0.35; }
  100% { opacity: 0; transform: translate3d(16px, -130px, 0) scale(1.2); }
}

@keyframes signal-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes wave {
  from { transform: scaleY(0.72); opacity: 0.58; }
  to { transform: scaleY(1.04); opacity: 1; }
}

@keyframes scroll-line {
  0% { transform: translateY(-100%); }
  70%, 100% { transform: translateY(100%); }
}

@keyframes reveal-up {
  from { opacity: 0; transform: translateY(22px); filter: blur(7px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@media (max-width: 1120px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    width: calc(100% - 9vw);
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 5.7vw, 4.75rem);
  }

  .hero-metrics div {
    min-width: 126px;
    padding-inline: 20px;
  }
}

@media (max-width: 900px) {
  .topbar {
    width: calc(100% - 40px);
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .telemetry {
    display: none;
  }

  .scene-image {
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 4, 9, 0.97), rgba(2, 5, 12, 0.72) 62%, rgba(2, 4, 9, 0.22)),
      linear-gradient(180deg, rgba(1, 3, 8, 0.6), transparent 25%, rgba(2, 4, 9, 0.9) 100%);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    width: calc(100% - 48px);
    padding-top: 132px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .stack-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stack-heading h2 {
    max-width: 700px;
  }

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

  .capability-card {
    min-height: 340px;
  }

  .card-eyebrow {
    margin-top: 48px;
  }
}

@media (max-width: 620px) {
  .topbar {
    height: 78px;
  }

  .brand-name {
    display: none;
  }

  .console-link {
    font-size: 9px;
  }

  .hero {
    min-height: max(700px, 100svh);
  }

  .scene-pan {
    inset: -1%;
  }

  .scene-image {
    background-position: 66% center;
    animation-name: scene-breathe-mobile;
  }

  .scene-light {
    opacity: 0.2;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 4, 9, 0.94), rgba(2, 5, 12, 0.64) 78%, rgba(2, 4, 9, 0.28)),
      linear-gradient(180deg, rgba(1, 3, 8, 0.66), rgba(2, 4, 9, 0.14) 38%, rgba(2, 4, 9, 0.96) 100%);
  }

  .hero-layout {
    width: calc(100% - 36px);
    padding-top: 118px;
    padding-bottom: 74px;
  }

  .kicker {
    margin-bottom: 20px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 4rem);
    letter-spacing: -0.06em;
  }

  .hero-intro {
    max-width: 92%;
    margin-top: 22px;
    font-size: 0.95rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 310px;
    margin-top: 26px;
  }

  .button {
    min-height: 50px;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-top: 34px;
  }

  .hero-metrics div {
    min-width: 0;
    padding-inline: 12px;
  }

  .hero-metrics dt {
    font-size: 7px;
  }

  .hero-metrics dd {
    font-size: 9px;
  }

  .scroll-cue {
    display: none;
  }

  .stack-section {
    padding-inline: 18px;
  }

  .stack-heading h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .capability-grid {
    margin-top: 48px;
  }

  .capability-card {
    min-height: 360px;
    padding: 24px;
  }

  .card-link {
    left: 24px;
  }

  .footer {
    min-height: 90px;
    padding-inline: 18px;
  }

  .footer span:last-child {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .hero-layout {
    padding-top: 126px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: clamp(3rem, 4.55vw, 4.7rem);
  }

  .hero-intro {
    margin-top: 20px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-metrics {
    margin-top: 30px;
  }

  .scroll-cue {
    display: none;
  }
}

@keyframes scene-breathe-mobile {
  from { transform: scale(1.02); }
  to { transform: scale(1.05); }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .scene-pan,
  .scene-light {
    transform: none;
  }

  .cursor-aura {
    display: none;
  }
}

@supports not (backdrop-filter: blur(1px)) {
  .button-ghost,
  .telemetry {
    background: rgba(7, 10, 18, 0.94);
  }
}
