:root {
  --void: #06080d;
  --panel: rgba(9, 16, 27, 0.78);
  --panel-strong: rgba(13, 24, 38, 0.92);
  --ink: #f5f8fb;
  --muted: #8fa1b5;
  --line: rgba(143, 161, 181, 0.22);
  --cyan: #35f2ff;
  --green: #52ff9d;
  --amber: #ffcc66;
  --red: #ff5d73;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(53, 242, 255, 0.2), transparent 26rem),
    radial-gradient(circle at 84% 18%, rgba(82, 255, 157, 0.14), transparent 30rem),
    radial-gradient(circle at 60% 90%, rgba(255, 204, 102, 0.1), transparent 25rem),
    var(--void);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 86%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(53, 242, 255, 0.08) 50%, transparent);
  background-size: 100% 14rem;
  animation: scan 7s linear infinite;
  mix-blend-mode: screen;
}

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

#network-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(20px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 13, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 1px solid rgba(53, 242, 255, 0.35);
  background: radial-gradient(circle, rgba(53, 242, 255, 0.13), rgba(255, 255, 255, 0.035) 62%, transparent);
  box-shadow: 0 0 32px rgba(53, 242, 255, 0.16);
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(53, 242, 255, 0.34));
}

nav {
  display: flex;
  gap: clamp(18px, 4vw, 54px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

nav a {
  position: relative;
  padding: 10px 0;
}

nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 86px);
  padding: clamp(54px, 7vw, 108px) clamp(20px, 4vw, 64px);
}

.hero-copy {
  min-width: 0;
  max-width: 1180px;
}

.status-line,
.section-heading p,
.section-kicker {
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(82, 255, 157, 0.34);
  background: rgba(82, 255, 157, 0.07);
}

.status-line span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

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

h1,
h2 {
  margin-bottom: 0;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  font-size: clamp(54px, 8.4vw, 132px);
  text-wrap: balance;
}

h2 {
  font-size: clamp(38px, 5.7vw, 86px);
  text-wrap: balance;
}

h3 {
  margin-bottom: 16px;
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.05;
}

.hero-lede {
  max-width: 760px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.primary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-link {
  color: #001216;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 42px rgba(53, 242, 255, 0.28);
}

.ghost-link {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.045);
}

.primary-link:hover,
.ghost-link:hover {
  transform: translateY(-2px);
  border-color: var(--cyan);
}

.systems {
  padding: clamp(70px, 9vw, 132px) clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(210px, 0.34fr) 1fr;
  gap: 34px;
  align-items: start;
  margin-bottom: 48px;
}

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

.system-grid article {
  min-height: 390px;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(53, 242, 255, 0.08), transparent 50%),
    var(--panel-strong);
  transition: transform 180ms ease, background 180ms ease;
}

.system-grid article:hover {
  transform: translateY(-8px);
  background:
    linear-gradient(180deg, rgba(82, 255, 157, 0.14), transparent 50%),
    rgba(14, 30, 48, 0.98);
}

.system-grid span {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--amber);
  font-weight: 950;
}

.system-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.protocol {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 0 clamp(20px, 4vw, 64px) clamp(82px, 9vw, 140px);
}

.protocol-visual {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(53, 242, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.protocol-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: saturate(1.35) contrast(1.08);
  opacity: 0.84;
}

.protocol-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.7), transparent 45%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 9px);
  mix-blend-mode: screen;
}

.protocol-copy ol {
  display: grid;
  gap: 14px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.protocol-copy,
.contact-panel {
  min-width: 0;
}

.protocol-copy li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.protocol-copy strong {
  color: var(--cyan);
  text-transform: uppercase;
}

.protocol-copy span {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(72px, 9vw, 132px) clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 204, 102, 0.1), transparent 32%),
    rgba(255, 255, 255, 0.035);
}

.contact-panel {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(82, 255, 157, 0.3);
  background: rgba(5, 12, 20, 0.72);
}

.email-link {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 30px;
  color: var(--green);
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

address {
  margin: 0;
  color: var(--muted);
  font-style: normal;
}

address strong {
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 26px clamp(20px, 4vw, 64px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
  font-size: 14px;
}

footer p {
  margin: 0;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes scan {
  to {
    background-position: 0 14rem;
  }
}

@media (max-width: 1240px) {
  .protocol,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {

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

  .section-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
    min-height: 76px;
    padding: 0 16px;
  }

  .brand {
    width: 54px;
    height: 54px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  nav {
    gap: 12px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(38px, 12vw, 52px);
    overflow-wrap: break-word;
  }

  .hero-actions {
    display: grid;
  }

  .contact-panel {
    padding: 18px;
  }

  .protocol-copy li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .system-grid article {
    min-height: 310px;
  }

  .system-grid span {
    margin-bottom: 44px;
  }

  .protocol-visual,
  .protocol-visual img {
    min-height: 360px;
  }

  footer {
    display: block;
  }

  footer a {
    display: inline-block;
    margin-top: 8px;
  }
}
