:root {
  --signal: #35ff83;
  --signal-bright: #b7ffce;
  --signal-dim: rgba(53, 255, 131, 0.48);
  --ink: #030806;
  --paper: #edfff3;
  --muted: rgba(220, 255, 232, 0.56);
  --rule: rgba(53, 255, 131, 0.2);
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", Consolas, monospace;
  --display: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
}

.matrix-layer,
.grid-layer,
.scan-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.matrix-layer {
  z-index: 0;
  opacity: 0.18;
}

.grid-layer {
  z-index: 1;
  background:
    linear-gradient(rgba(53, 255, 131, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 255, 131, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 72% 46%, rgba(30, 255, 111, 0.12), transparent 30%),
    linear-gradient(90deg, rgba(3, 8, 6, 0.98) 0%, rgba(3, 8, 6, 0.74) 45%, rgba(3, 8, 6, 0.2) 100%);
  background-size: 64px 64px, 64px 64px, auto, auto;
}

.scan-layer {
  z-index: 10;
  opacity: 0.12;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(198, 255, 215, 0.08) 3px,
    rgba(198, 255, 215, 0.08) 4px
  );
}

.scan-layer::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle, transparent 42%, rgba(0, 0, 0, 0.9) 125%);
}

.site-shell {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  grid-template-rows: 76px 1fr 64px;
}

.topbar,
.footer {
  display: grid;
  align-items: center;
  padding-inline: clamp(1.4rem, 4vw, 4.5rem);
  border-color: var(--rule);
  color: var(--muted);
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.topbar {
  grid-template-columns: 1fr auto;
  border-bottom: 1px solid var(--rule);
}

.identity {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.8rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-decoration: none;
}

.identity span span {
  color: var(--signal);
}

.identity__mark {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid var(--signal);
  transform: rotate(45deg);
  box-shadow: inset 0 0 10px rgba(53, 255, 131, 0.1), 0 0 14px rgba(53, 255, 131, 0.16);
}

.identity__mark::after {
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(53, 255, 131, 0.62);
  content: "";
}

.topbar__meta {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
}

.status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--signal-bright);
}

.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 12px var(--signal);
  animation: statusPulse 1.8s ease-in-out infinite;
}

.hero {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(350px, 0.9fr) minmax(430px, 1.1fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 5rem);
  padding: clamp(3rem, 6vh, 6rem) clamp(1.4rem, 7vw, 8.5rem);
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.overline {
  display: flex;
  width: min(100%, 510px);
  justify-content: space-between;
  margin-bottom: clamp(1.5rem, 4vh, 3.5rem);
  color: var(--signal-dim);
  font-size: 0.62rem;
  letter-spacing: 0.19em;
}

h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.4rem, 6.5vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.86;
}

h1 span {
  display: block;
  color: transparent;
  font-style: italic;
  font-weight: 300;
  -webkit-text-stroke: 1px var(--signal);
  text-shadow: 0 0 34px rgba(53, 255, 131, 0.14);
}

.intro {
  max-width: 580px;
  margin: clamp(1.8rem, 4vh, 3.4rem) 0 0;
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(0.95rem, 1.25vw, 1.18rem);
  font-weight: 300;
  line-height: 1.65;
}

.release-panel {
  width: min(100%, 510px);
  margin-top: clamp(2rem, 5vh, 4rem);
  padding: 1rem 1.1rem 0.9rem;
  border: 1px solid var(--rule);
  background: linear-gradient(110deg, rgba(5, 24, 13, 0.74), rgba(2, 10, 6, 0.28));
  backdrop-filter: blur(10px);
}

.release-panel__header,
.release-panel__footer {
  display: flex;
  justify-content: space-between;
  color: rgba(207, 255, 222, 0.42);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}

.release-panel__header strong {
  color: var(--signal-bright);
  font-weight: 500;
}

.release-panel__track {
  height: 2px;
  margin: 1rem 0 0.75rem;
  background: rgba(53, 255, 131, 0.12);
}

.release-panel__track span {
  display: block;
  width: 78.4%;
  height: 100%;
  background: var(--signal);
  box-shadow: 0 0 15px var(--signal);
  animation: progressReveal 2.1s cubic-bezier(0.75, 0, 0.25, 1) both;
}

.availability {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 1.3rem 0 0;
  color: rgba(207, 255, 222, 0.48);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.availability span {
  color: var(--signal);
}

.artifact {
  position: relative;
  z-index: 2;
  width: 100%;
  height: min(70vh, 760px);
  min-height: 460px;
  overflow: visible;
  isolation: isolate;
}

.artifact::before {
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 255, 131, 0.11), transparent 64%);
  content: "";
  filter: blur(12px);
}

.artifact__frame {
  position: absolute;
  inset: 7%;
  z-index: 1;
  border: 1px solid rgba(53, 255, 131, 0.09);
  pointer-events: none;
}

.artifact__frame::before,
.artifact__frame::after {
  position: absolute;
  content: "";
  background: rgba(53, 255, 131, 0.12);
}

.artifact__frame::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.artifact__frame::after {
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
}

.corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--signal);
  opacity: 0.7;
}

.corner--tl { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.corner--tr { top: -1px; right: -1px; border-top: 1px solid; border-right: 1px solid; }
.corner--bl { bottom: -1px; left: -1px; border-bottom: 1px solid; border-left: 1px solid; }
.corner--br { right: -1px; bottom: -1px; border-right: 1px solid; border-bottom: 1px solid; }

.artifact__orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54%;
  aspect-ratio: 1;
  border: 1px solid rgba(53, 255, 131, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
}

.artifact__orbit--two {
  width: 68%;
  transform: translate(-50%, -50%) rotateY(68deg);
}

#tesseract {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 9px rgba(53, 255, 131, 0.52));
}

.artifact__index,
.artifact__telemetry {
  position: absolute;
  z-index: 4;
  color: rgba(180, 255, 204, 0.46);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  pointer-events: none;
}

.artifact__index {
  top: 10%;
  left: 10%;
  display: grid;
  gap: 0.35rem;
}

.artifact__index strong {
  color: var(--signal-bright);
  font-size: 0.78rem;
  font-weight: 500;
}

.artifact__telemetry {
  right: 10%;
  bottom: 10%;
  display: flex;
  gap: 1.4rem;
}

.footer {
  grid-template-columns: 1fr auto 1fr;
  border-top: 1px solid var(--rule);
}

.footer__center {
  justify-self: center;
}

.footer b {
  color: var(--signal);
  font-weight: 500;
}

.footer time {
  justify-self: end;
  color: rgba(53, 255, 131, 0.58);
}

.noscript {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  margin: 0;
  padding: 0.8rem 1rem;
  border: 1px solid var(--rule);
  color: var(--paper);
  background: var(--ink);
  font: 0.7rem/1.4 var(--mono);
}

@keyframes statusPulse {
  50% { opacity: 0.25; transform: scale(0.72); }
}

@keyframes progressReveal {
  from { width: 0; }
}

@media (max-width: 940px) {
  body { overflow: auto; }

  .site-shell { grid-template-rows: 68px auto 58px; }

  .hero {
    position: relative;
    min-height: calc(100svh - 126px);
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .hero__copy { max-width: 690px; }

  .artifact {
    position: absolute;
    top: 2%;
    right: -14%;
    z-index: 1;
    width: min(78vw, 690px);
    height: 66vh;
    min-height: 440px;
    opacity: 0.58;
  }

  .artifact__frame { inset: 12%; }
  .hero__copy { z-index: 3; }
}

@media (max-width: 620px) {
  .topbar__meta > span:first-child,
  .footer__center,
  .footer > span:first-child,
  .artifact__telemetry {
    display: none;
  }

  .topbar { grid-template-columns: 1fr auto; }

  .hero {
    align-items: end;
    padding-inline: 1.35rem;
  }

  .overline { gap: 1rem; }
  .overline span:last-child { display: none; }

  h1 {
    max-width: 520px;
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .intro { max-width: 92%; }

  .artifact {
    top: -2%;
    right: -32%;
    width: 105vw;
    height: 58vh;
    min-height: 390px;
    opacity: 0.52;
  }

  .release-panel { backdrop-filter: none; }
  .footer { grid-template-columns: 1fr; }
  .footer time { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
