:root {
  color-scheme: dark;
  --bg: #050706;
  --panel: rgba(11, 15, 13, 0.84);
  --panel-strong: rgba(8, 11, 10, 0.96);
  --text: #eef2eb;
  --muted: #8d9991;
  --dim: #556059;
  --line: rgba(215, 231, 219, 0.14);
  --signal: #c9f56c;
  --signal-soft: rgba(201, 245, 108, 0.13);
  --danger: #ff7a6d;
  --danger-soft: rgba(255, 122, 109, 0.1);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 72% 26%, rgba(79, 99, 72, 0.12), transparent 30rem),
    linear-gradient(125deg, #050706 0%, #080b09 52%, #030504 100%);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.star-field {
  position: absolute;
  inset: -20%;
  background-repeat: repeat;
}

.star-field--near {
  opacity: 0.46;
  background-image:
    radial-gradient(circle, rgba(240, 249, 238, 0.78) 0 0.75px, transparent 1px),
    radial-gradient(circle, rgba(201, 245, 108, 0.7) 0 0.6px, transparent 0.9px);
  background-position: 0 0, 37px 63px;
  background-size: 173px 173px, 251px 251px;
  animation: drift 48s linear infinite;
}

.star-field--far {
  opacity: 0.25;
  background-image: radial-gradient(circle, #cbd4cc 0 0.55px, transparent 0.8px);
  background-position: 91px 41px;
  background-size: 113px 113px;
  animation: drift 80s linear infinite reverse;
}

.system {
  position: absolute;
  top: 50%;
  left: 72%;
  width: min(58vw, 760px);
  aspect-ratio: 1;
  transform: translate(-50%, -52%) rotate(-12deg);
  opacity: 0.72;
}

.system::before,
.system::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.system::before {
  width: 8%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 50px rgba(205, 242, 134, 0.08);
}

.system::after {
  width: 1.4%;
  aspect-ratio: 1;
  background: var(--signal);
  box-shadow: 0 0 22px rgba(201, 245, 108, 0.75), 0 0 80px rgba(201, 245, 108, 0.38);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(223, 235, 225, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit::before {
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 10px var(--signal);
  content: "";
}

.orbit--one {
  width: 33%;
  height: 85%;
  transform: translate(-50%, -50%) rotate(48deg);
}

.orbit--two {
  width: 61%;
  height: 37%;
  transform: translate(-50%, -50%) rotate(-21deg);
}

.orbit--three {
  width: 91%;
  height: 56%;
  transform: translate(-50%, -50%) rotate(22deg);
}

.body {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.body--one {
  top: 15%;
  left: 40%;
  width: 3.2%;
  aspect-ratio: 1;
  background: #f3f7df;
  box-shadow: 0 0 18px rgba(243, 247, 223, 0.8), 0 0 60px rgba(215, 228, 160, 0.32);
}

.body--two {
  top: 58%;
  left: 73%;
  width: 2%;
  aspect-ratio: 1;
  background: #c9f56c;
  box-shadow: 0 0 16px rgba(201, 245, 108, 0.65);
}

.body--three {
  top: 67%;
  left: 21%;
  width: 2.6%;
  aspect-ratio: 1;
  background: #85a296;
  box-shadow: 0 0 16px rgba(133, 162, 150, 0.55);
}

.system-glow {
  position: absolute;
  inset: 23%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 245, 108, 0.08), transparent 67%);
  filter: blur(12px);
}

.masthead,
.footer {
  width: min(1440px, calc(100% - 64px));
  margin-inline: auto;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: inline-block;
  width: 25px;
  height: 25px;
  border: 1px solid rgba(201, 245, 108, 0.32);
  border-radius: 50%;
}

.brand__mark i {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 8px rgba(201, 245, 108, 0.7);
}

.brand__mark i:nth-child(1) {
  top: 4px;
  left: 10px;
}

.brand__mark i:nth-child(2) {
  right: 4px;
  bottom: 5px;
}

.brand__mark i:nth-child(3) {
  bottom: 4px;
  left: 4px;
}

.node-state {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.node-state__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 0 rgba(201, 245, 108, 0.36);
  animation: pulse 2.4s ease-out infinite;
}

.shell {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.72fr);
  gap: clamp(64px, 8vw, 148px);
  align-items: center;
  width: min(1220px, calc(100% - 64px));
  min-height: calc(100vh - 178px);
  min-height: calc(100svh - 178px);
  margin-inline: auto;
  padding-block: 72px;
}

.intro {
  max-width: 700px;
}

.eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0 0 24px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow span:last-child {
  color: var(--dim);
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  font-weight: 390;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

h1 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(238, 242, 235, 0.58);
  text-stroke: 1px rgba(238, 242, 235, 0.58);
}

.lead {
  max-width: 560px;
  margin: 32px 0 0;
  color: #a7b0aa;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.75;
}

.telemetry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 590px;
  margin-top: 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.telemetry__item {
  display: grid;
  gap: 8px;
  padding: 17px 20px 18px 0;
}

.telemetry__item + .telemetry__item {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.telemetry__label {
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.telemetry strong {
  font-size: 0.8rem;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.access-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  justify-self: end;
  border: 1px solid rgba(230, 242, 232, 0.16);
  background: linear-gradient(145deg, rgba(17, 22, 19, 0.92), rgba(7, 10, 8, 0.95));
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
}

.access-card::before,
.access-card::after {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--signal);
  border-style: solid;
  content: "";
}

.access-card::before {
  top: -1px;
  left: -1px;
  border-width: 1px 0 0 1px;
}

.access-card::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1px 1px 0;
}

.access-card__topline,
.access-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-card__topline {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}

.access-card__body {
  padding: clamp(28px, 4vw, 44px);
}

.access-card__heading {
  margin-bottom: 32px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 0.61rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.access-card h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 460;
  letter-spacing: -0.04em;
}

.access-card__heading > p:last-child {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.field + .field {
  margin-top: 19px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: #aab3ad;
  font-size: 0.7rem;
  letter-spacing: 0.035em;
}

.field__control {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 50px;
  border: 1px solid rgba(223, 238, 226, 0.16);
  background: rgba(1, 3, 2, 0.38);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field__control:focus-within {
  border-color: rgba(201, 245, 108, 0.7);
  background: rgba(201, 245, 108, 0.035);
  box-shadow: 0 0 0 3px rgba(201, 245, 108, 0.08);
}

.field__control > span {
  display: grid;
  height: 100%;
  place-items: center;
  border-right: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.06em;
}

.field input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  caret-color: var(--signal);
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  box-shadow: 0 0 0 1000px #0a0e0c inset;
  transition: background-color 9999s ease-out;
}

.access-error {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 8px;
  align-items: start;
  margin: 16px 0 0;
  padding: 11px 12px;
  border-left: 1px solid var(--danger);
  color: #ffc0b9;
  background: var(--danger-soft);
  font-size: 0.71rem;
  line-height: 1.5;
}

.access-error[hidden] {
  display: none;
}

.access-error span {
  color: var(--danger);
  font-family: var(--mono);
  font-size: 1rem;
  line-height: 1;
}

.access-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 52px;
  margin-top: 24px;
  padding: 0 17px;
  border: 1px solid var(--signal);
  color: #11160c;
  background: var(--signal);
  font-size: 0.76rem;
  font-weight: 730;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.access-button:hover {
  color: var(--signal);
  background: transparent;
  box-shadow: 0 0 28px rgba(201, 245, 108, 0.08);
}

.access-button:active {
  transform: translateY(1px);
}

.access-button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.access-button__arrow {
  font-size: 1rem;
}

.privacy-note,
.noscript-note {
  margin: 14px 0 0;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.56rem;
  line-height: 1.6;
}

.noscript-note {
  color: #d5b47b;
}

.access-card__footer {
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}

.signal {
  display: flex;
  gap: 3px;
  align-items: end;
  height: 10px;
}

.signal i {
  display: block;
  width: 2px;
  background: var(--signal);
}

.signal i:nth-child(1) { height: 3px; opacity: 0.35; }
.signal i:nth-child(2) { height: 5px; opacity: 0.55; }
.signal i:nth-child(3) { height: 7px; opacity: 0.75; }
.signal i:nth-child(4) { height: 10px; }

.access-card__body.is-rejected {
  animation: reject 280ms ease;
}

.access-card__body.is-rejected .field__control {
  border-color: rgba(255, 122, 109, 0.42);
}

.footer {
  display: flex;
  justify-content: space-between;
  padding-block: 0 22px;
  color: #3f4842;
  font-family: var(--mono);
  font-size: 0.57rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

@keyframes drift {
  to { transform: translate3d(113px, 113px, 0); }
}

@keyframes pulse {
  70%, 100% { box-shadow: 0 0 0 8px rgba(201, 245, 108, 0); }
}

@keyframes reject {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-4px); }
  70% { transform: translateX(3px); }
}

@media (max-width: 900px) {
  .system {
    top: 26%;
    left: 75%;
    width: min(86vw, 680px);
    opacity: 0.48;
  }

  .shell {
    grid-template-columns: 1fr;
    gap: 56px;
    padding-block: 58px 70px;
  }

  .intro {
    max-width: 740px;
  }

  .access-card {
    max-width: 560px;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .masthead,
  .footer,
  .shell {
    width: min(100% - 36px, 1220px);
  }

  .masthead {
    min-height: 76px;
  }

  .brand__text {
    letter-spacing: 0.12em;
  }

  .node-state span:last-child {
    display: none;
  }

  .shell {
    min-height: auto;
    padding-block: 48px 56px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.7rem);
  }

  .lead {
    margin-top: 24px;
  }

  .telemetry {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .telemetry__item,
  .telemetry__item + .telemetry__item {
    grid-template-columns: 0.65fr 1fr;
    gap: 18px;
    padding: 12px 0;
    border-left: 0;
  }

  .telemetry__item + .telemetry__item {
    border-top: 1px solid var(--line);
  }

  .access-card__body {
    padding: 28px 22px;
  }

  .footer {
    gap: 18px;
    padding-bottom: 18px;
    line-height: 1.5;
  }
}

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