:root {
  --ink: #061229;
  --ink-soft: #26344f;
  --paper: #f8fbff;
  --white: #ffffff;
  --line: rgba(6, 18, 41, 0.12);
  --cyan: #00b8ff;
  --blue: #2458ff;
  --violet: #7b35ff;
  --green: #5ce6b8;
  --gold: #f8c76b;
  --shadow: 0 24px 70px rgba(11, 28, 60, 0.15);
  --radius: 8px;
  --display: "Avenir Next Condensed", "Arial Black", "Arial Narrow", Impact, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Avenir Next, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

button,
input {
  font: inherit;
}

#signal-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 72% 20%, rgba(0, 184, 255, 0.16), transparent 34%),
    radial-gradient(circle at 24% 28%, rgba(123, 53, 255, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6f9ff 58%, #eef5ff 100%);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  background: rgba(248, 251, 255, 0.72);
  border-bottom: 1px solid rgba(6, 18, 41, 0.08);
  backdrop-filter: blur(18px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(110deg, var(--ink), var(--violet) 52%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(6, 18, 41, 0.7);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  transition: color 180ms ease;
}

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

.hero {
  position: relative;
  width: min(100%, 1540px);
  min-height: min(900px, 100svh);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(300px, 390px);
  align-items: center;
  justify-content: space-between;
  gap: clamp(36px, 7vw, 112px);
  padding: 126px clamp(24px, 5vw, 80px) 76px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 96px clamp(20px, 6vw, 96px) 36px;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 18, 41, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(6, 18, 41, 0.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent, black 16%, black 84%, transparent);
  opacity: 0.38;
}

.hero-content {
  grid-column: 1;
  max-width: 860px;
  min-width: 0;
}

.hero-lockup {
  display: block;
  width: min(330px, 68vw);
  height: auto;
  margin: 0 0 24px;
  mix-blend-mode: multiply;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero-title {
  position: relative;
  isolation: isolate;
  max-width: 760px;
  margin: 0 0 30px;
  font-family: var(--display);
  font-size: clamp(50px, 6.4vw, 92px);
  line-height: 1.04;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  text-wrap: pretty;
  word-spacing: 0.06em;
}

.hero-title span {
  display: block;
}

.title-line {
  width: fit-content;
  max-width: 100%;
  color: var(--ink);
  transform: skewX(-4deg);
  transform-origin: left center;
}

.title-gradient {
  margin-top: 0.08em;
  background: linear-gradient(105deg, #131b58 0%, var(--violet) 46%, var(--cyan) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.72;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(6, 18, 41, 0.16);
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  cursor: pointer;
}

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

.button.primary {
  color: var(--white);
  background: linear-gradient(120deg, var(--ink), #1733a2 48%, var(--cyan));
  border-color: transparent;
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.hero-system {
  grid-column: 2;
  align-self: center;
  min-width: 0;
  padding: 10px 0 10px 22px;
  border-left: 2px solid rgba(36, 88, 255, 0.28);
}

.system-rail {
  display: grid;
  gap: 6px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.system-rail span {
  color: rgba(6, 18, 41, 0.56);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.system-rail strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.signal-node {
  position: absolute;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(36, 88, 255, 0.18);
  box-shadow: var(--shadow);
  animation: node-float 9s ease-in-out infinite;
}

.signal-node::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
}

.node-a {
  width: 56px;
  height: 56px;
  right: 14%;
  top: 22%;
}

.node-b {
  width: 34px;
  height: 34px;
  right: 31%;
  bottom: 20%;
  animation-delay: -2.2s;
}

.node-c {
  width: 24px;
  height: 24px;
  left: 9%;
  bottom: 18%;
  animation-delay: -4.8s;
}

.node-d {
  width: 42px;
  height: 42px;
  left: 32%;
  top: 25%;
  animation-delay: -6.4s;
}

@keyframes node-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.68;
  }

  50% {
    transform: translate3d(10px, -14px, 0) scale(1.06);
    opacity: 0.95;
  }
}

.section {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 6vw, 96px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.55fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: end;
  margin-bottom: 42px;
}

h2 {
  max-width: 900px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.section-heading p,
.matrix-copy p,
.movement-copy p,
.access-panel p {
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.module-grid article {
  min-height: 280px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.56);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.module-index {
  display: block;
  margin-bottom: 46px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.module-grid p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.matrix {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 98px);
  align-items: center;
  background: #061229;
  color: var(--white);
}

.matrix-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.matrix-visual {
  position: relative;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 58px 58px;
  overflow: hidden;
}

.matrix-line {
  position: absolute;
  height: 2px;
  width: 70%;
  background: linear-gradient(90deg, transparent, var(--green), var(--cyan), transparent);
  transform-origin: left center;
}

.line-one {
  left: 10%;
  top: 30%;
  transform: rotate(24deg);
}

.line-two {
  left: 18%;
  top: 64%;
  transform: rotate(-18deg);
}

.line-three {
  left: 4%;
  top: 50%;
  transform: rotate(3deg);
}

.matrix-point {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: var(--white);
  box-shadow: 0 0 28px rgba(92, 230, 184, 0.7);
}

.point-one {
  left: 18%;
  top: 25%;
}

.point-two {
  left: 42%;
  top: 43%;
  background: var(--green);
}

.point-three {
  right: 18%;
  top: 28%;
  background: var(--cyan);
}

.point-four {
  left: 32%;
  bottom: 22%;
  background: var(--gold);
}

.point-five {
  right: 22%;
  bottom: 30%;
  background: var(--violet);
}

.movement {
  background: var(--white);
}

.movement-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 90px);
}

.movement-copy {
  padding-top: 8px;
}

.access {
  padding-top: 0;
}

.access-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  padding: clamp(30px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(6, 18, 41, 0.94), rgba(24, 32, 94, 0.92)),
    radial-gradient(circle at 90% 10%, rgba(0, 184, 255, 0.5), transparent 28%);
  border-radius: var(--radius);
}

.access-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.access-form {
  display: grid;
  gap: 14px;
}

.access-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.access-form input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  outline: none;
}

.access-form input:focus {
  border-color: rgba(0, 184, 255, 0.88);
}

.access-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(20px, 6vw, 96px);
  color: rgba(6, 18, 41, 0.68);
  border-top: 1px solid var(--line);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero,
  .section-heading,
  .matrix,
  .movement-layout,
  .access-panel {
    grid-template-columns: 1fr;
  }

  .hero-system {
    grid-column: 1;
    align-self: auto;
    margin-bottom: 0;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: sticky;
    padding: 14px 18px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 76px 18px 56px;
  }

  h1 {
    font-size: clamp(46px, 14vw, 72px);
  }

  .hero-copy,
  .section-heading p,
  .matrix-copy p,
  .movement-copy p,
  .access-panel p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  .module-grid article {
    min-height: 230px;
  }

  .matrix-visual {
    min-height: 330px;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }
}

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

  .signal-node {
    animation: none;
  }
}
