:root {
  --space: #050b16;
  --space-deep: #020610;
  --panel: rgba(7, 20, 37, 0.82);
  --ice: #eef8ff;
  --muted: #9cb1c5;
  --muted-strong: #b9cad9;
  --cyan: #4ee7ff;
  --cyan-soft: #8ff2ff;
  --violet: #8b7cff;
  --green: #65f6b1;
  --line: rgba(78, 231, 255, 0.24);
  --line-soft: rgba(167, 214, 244, 0.12);
  --display: "Arial Narrow", "Avenir Next Condensed", "Roboto Condensed", Arial, sans-serif;
  --sans: Inter, "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --data: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--space-deep);
  color: var(--ice);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 48%, rgba(25, 86, 128, 0.24), transparent 31%),
    radial-gradient(circle at 30% 115%, rgba(65, 48, 151, 0.15), transparent 35%),
    linear-gradient(125deg, var(--space-deep), var(--space) 58%, #071526);
}

.page-shell::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(78, 231, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 231, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 72% 52%, black, transparent 67%);
}

.page-shell::after {
  position: absolute;
  z-index: 5;
  inset: 14px;
  border: 1px solid rgba(78, 231, 255, 0.12);
  clip-path: polygon(0 0, 15% 0, 15% 1px, 85% 1px, 85% 0, 100% 0, 100% 100%, 76% 100%, 76% calc(100% - 1px), 24% calc(100% - 1px), 24% 100%, 0 100%);
  content: "";
  pointer-events: none;
}

.site-header,
.hero,
.site-footer {
  width: min(100% - 96px, 1440px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 38px 24px;
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.brand:focus-visible,
.status-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid var(--cyan);
  outline-offset: 6px;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.brand-orbit,
.brand-rocket,
.brand-trail {
  stroke: var(--cyan);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark circle {
  fill: var(--violet);
}

.brand-copy {
  display: grid;
  line-height: 0.9;
}

.brand-copy strong {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 8px;
  color: var(--cyan-soft);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.environment-state {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--muted-strong);
  font-family: var(--data);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.state-light,
.live-label i {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(101, 246, 177, 0.1);
}

.state-light::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(101, 246, 177, 0.34);
  border-radius: inherit;
  content: "";
  animation: status-ring 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.network-field {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: max(-70px, calc((100vw - 1520px) / 2));
  width: min(67vw, 900px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.network-field > svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.orbit {
  stroke: rgba(78, 231, 255, 0.17);
  stroke-width: 1;
  stroke-dasharray: 2 12;
  transform-origin: 460px 460px;
}

.orbit--outer {
  animation: orbit-drift 32s linear infinite;
}

.orbit--middle {
  stroke: rgba(139, 124, 255, 0.19);
  stroke-dasharray: 48 12 3 12;
  animation: orbit-drift 24s linear reverse infinite;
}

.orbit--inner {
  stroke: rgba(78, 231, 255, 0.28);
  stroke-dasharray: 1 7;
  animation: orbit-drift 18s linear infinite;
}

.topology {
  stroke: url(#route);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}

.data-nodes circle {
  fill: var(--space);
  stroke: var(--cyan-soft);
  stroke-width: 1.4;
}

.data-nodes circle:nth-child(3n) {
  stroke: var(--violet);
}

.packet-route {
  fill: none;
  stroke: rgba(78, 231, 255, 0.12);
  stroke-width: 1;
}

.data-packet {
  fill: var(--cyan);
}

.rocket-core {
  fill: rgba(4, 14, 27, 0.92);
  stroke: var(--cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rocket-core circle {
  fill: var(--violet);
  stroke: var(--cyan-soft);
}

.coordinate {
  position: absolute;
  color: rgba(185, 202, 217, 0.6);
  font-family: var(--data);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.coordinate--a {
  top: 18%;
  left: 18%;
}

.coordinate--b {
  right: 3%;
  bottom: 30%;
}

.coordinate--c {
  bottom: 15%;
  left: 29%;
}

.hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.55fr);
  gap: clamp(54px, 9vw, 150px);
  align-items: center;
  padding-block: clamp(68px, 10vh, 128px);
}

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

.kicker {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 25px;
  color: var(--cyan-soft);
  font-family: var(--data);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kicker::before {
  width: 34px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 8px 0 12px rgba(78, 231, 255, 0.55);
  content: "";
}

h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.8rem, 6.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 span {
  display: block;
  margin-top: 11px;
  color: var(--cyan-soft);
  font-weight: 300;
}

.intro {
  max-width: 62ch;
  margin: 32px 0 0;
  color: var(--muted-strong);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
  line-height: 1.75;
}

.status-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  margin-top: 34px;
  padding: 12px 0;
  color: var(--ice);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.status-link::before {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  box-shadow: 0 0 12px rgba(78, 231, 255, 0.65);
  content: "";
  transform: rotate(45deg);
}

.status-link svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 220ms ease-out;
}

.status-link:hover svg {
  transform: translateX(5px);
}

.deployment-panel {
  align-self: end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 16px 22px 52px rgba(0, 4, 12, 0.44);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}

.panel-code {
  margin: 0 0 7px;
  color: var(--cyan);
  font-family: var(--data);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.panel-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--muted-strong);
  font-family: var(--data);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-label i {
  display: block;
  width: 5px;
  height: 5px;
}

.deployment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.deployment-list li {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 12px;
  align-items: center;
  padding-block: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.step-index,
.step-state {
  color: var(--muted);
  font-family: var(--data);
  font-size: 0.64rem;
}

.step-copy {
  display: grid;
  gap: 5px;
}

.step-copy strong {
  color: var(--ice);
  font-size: 0.77rem;
  letter-spacing: 0.04em;
}

.step-copy small {
  color: var(--muted-strong);
  font-size: 0.71rem;
  line-height: 1.4;
}

.step-state {
  padding: 5px 7px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
}

.is-complete .step-index,
.is-complete .step-state {
  color: var(--green);
}

.is-active .step-index,
.is-active .step-state,
.is-active strong {
  color: var(--cyan-soft);
}

.is-active .step-state {
  border-color: rgba(78, 231, 255, 0.4);
  background: rgba(78, 231, 255, 0.07);
}

.panel-footnote {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.site-footer {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 20px 38px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--data);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p span {
  margin-right: 8px;
}

.site-footer strong {
  color: var(--ice);
  font-weight: 600;
}

.footer-note {
  color: var(--muted-strong);
}

@keyframes orbit-drift {
  to { transform: rotate(360deg); }
}

@keyframes status-ring {
  0% { opacity: 0.8; transform: scale(0.45); }
  75%, 100% { opacity: 0; transform: scale(1.45); }
}

@media (max-width: 1060px) {
  .site-header,
  .hero,
  .site-footer {
    width: min(100% - 58px, 880px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 78px 90px;
  }

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

  .deployment-panel {
    width: min(100%, 470px);
    justify-self: end;
  }

  .network-field {
    top: 43%;
    right: -25%;
    width: 92vw;
    opacity: 0.72;
  }
}

@media (max-width: 620px) {
  .page-shell::after {
    inset: 7px;
  }

  .page-shell::before {
    background-size: 44px 44px;
  }

  .site-header,
  .hero,
  .site-footer {
    width: calc(100% - 42px);
  }

  .site-header {
    align-items: flex-start;
    padding-top: 27px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 0.94rem;
  }

  .brand-copy small {
    margin-top: 6px;
    font-size: 0.56rem;
  }

  .environment-state {
    max-width: 112px;
    justify-content: flex-end;
    font-size: 0.58rem;
    line-height: 1.5;
    text-align: right;
  }

  .hero {
    gap: 50px;
    padding-block: 75px 70px;
  }

  .kicker {
    margin-bottom: 20px;
    font-size: 0.62rem;
  }

  .kicker::before {
    width: 24px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(3.05rem, 15.5vw, 4.25rem);
    line-height: 0.91;
  }

  .intro {
    margin-top: 25px;
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .status-link {
    margin-top: 21px;
    font-size: 0.68rem;
  }

  .deployment-panel {
    width: 100%;
    padding: 21px;
  }

  .panel-footnote {
    color: var(--muted-strong);
  }

  .network-field {
    top: 39%;
    right: -74%;
    width: 175vw;
    opacity: 0.5;
  }

  .coordinate {
    display: none;
  }

  .site-footer {
    display: grid;
    gap: 9px;
    padding-bottom: 30px;
    font-size: 0.58rem;
    line-height: 1.5;
  }
}

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

  .orbit,
  .state-light::after,
  .data-packet animateMotion {
    animation: none;
  }

  .data-packet {
    display: none;
  }

  .status-link svg {
    transition: none;
  }
}
