:root {
  --bg: #050506;
  --panel: rgba(13, 14, 15, 0.78);
  --panel-strong: rgba(20, 22, 24, 0.92);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f4f7ef;
  --muted: #a9b2a6;
  --green: #41ff9d;
  --blue: #4da3ff;
  --gold: #f5c75d;
  --cyan: #8cecff;
  --ink: #050506;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(145deg, #050506 0%, #07110e 39%, #06111a 72%, #050506 100%);
  background-size: 80px 80px, 80px 80px, auto;
  color: var(--text);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(65, 255, 157, 0.08) 38% 39%, transparent 39% 100%),
    linear-gradient(70deg, transparent 0 64%, rgba(77, 163, 255, 0.08) 64% 65%, transparent 65% 100%);
}

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

.ghost-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.64;
}

.scanline {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, transparent 0 7px, rgba(255, 255, 255, 0.09) 8px);
  mix-blend-mode: screen;
}

.cursor-aura {
  position: fixed;
  z-index: 2;
  width: 260px;
  height: 260px;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(65, 255, 157, 0.2);
  transform: translate(-50%, -50%);
  transition: opacity 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  backdrop-filter: blur(18px);
}

.brand-lockup,
.header-signal,
.nav-links {
  border: 1px solid var(--line);
  background: rgba(5, 5, 6, 0.72);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  min-height: 58px;
  padding: 6px 16px 6px 6px;
  border-color: rgba(65, 255, 157, 0.24);
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 32px rgba(65, 255, 157, 0.08);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--text);
  isolation: isolate;
  overflow: hidden;
  background: conic-gradient(from 210deg, var(--green), var(--cyan), var(--gold), var(--blue), var(--green));
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(65, 255, 157, 0.28), inset 0 0 18px rgba(5, 5, 6, 0.55);
}

.brand-mark::before {
  position: absolute;
  inset: 4px;
  z-index: -1;
  content: "";
  border: 1px solid rgba(140, 236, 255, 0.34);
  background: linear-gradient(145deg, rgba(5, 5, 6, 0.98), rgba(7, 17, 14, 0.92));
  clip-path: polygon(50% 0, 90% 20%, 90% 67%, 50% 100%, 10% 67%, 10% 20%);
}

.brand-mark::after {
  position: absolute;
  inset: -35%;
  z-index: -2;
  content: "";
  background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.88), transparent 24%);
  animation: sigilSpin 5.8s linear infinite;
}

.sigil-orbit {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(245, 199, 93, 0.72);
  transform: rotate(45deg);
}

.sigil-letter {
  position: relative;
  font-family: "Arial Black", Impact, sans-serif;
  font-size: 13px;
  letter-spacing: 0;
  text-shadow: 0 0 12px rgba(65, 255, 157, 0.9);
}

.brand-wordmark {
  display: grid;
  gap: 2px;
  line-height: 0.92;
}

.brand-wordmark strong,
.brand-wordmark em {
  font-style: normal;
  letter-spacing: 0;
}

.brand-wordmark strong {
  color: var(--muted);
  font-size: 11px;
}

.brand-wordmark em {
  color: var(--text);
  font-family: "Arial Black", Impact, "Segoe UI Black", sans-serif;
  font-size: 19px;
  text-shadow: 0 0 16px rgba(140, 236, 255, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
}

.nav-links a {
  min-height: 36px;
  padding: 9px 14px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--green);
  background: rgba(65, 255, 157, 0.1);
  outline: none;
}

.header-signal {
  justify-self: end;
  min-height: 44px;
  padding: 12px 15px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 44px 0 70px;
}

.hero::after {
  position: absolute;
  right: 4%;
  bottom: 12px;
  width: 44%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--green), var(--gold), var(--blue), transparent);
  animation: signalSweep 4s ease-in-out infinite;
}

.eyebrow,
.section-kicker,
.card-signal {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.glitch-title {
  position: relative;
  margin: 0;
  max-width: 760px;
  font-family: "Arial Black", Impact, "Segoe UI Black", sans-serif;
  font-size: 76px;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(65, 255, 157, 0.22);
}

.glitch-title::before,
.glitch-title::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: attr(data-text);
  opacity: 0.28;
}

.glitch-title::before {
  color: var(--gold);
  transform: translate(2px, 0);
  clip-path: inset(0 0 58% 0);
  animation: glitchTop 3.6s steps(2, end) infinite;
}

.glitch-title::after {
  color: var(--cyan);
  transform: translate(-2px, 0);
  clip-path: inset(45% 0 0 0);
  animation: glitchBottom 4.2s steps(2, end) infinite;
}

.hero-statement {
  max-width: 790px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: 28px;
  line-height: 1.28;
  font-weight: 800;
}

.hero-subtitle {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 19px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button.primary {
  color: var(--ink);
  border-color: var(--green);
  background: var(--green);
  box-shadow: 0 0 38px rgba(65, 255, 157, 0.2);
}

.button.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.signal-console {
  overflow: hidden;
  border: 1px solid rgba(65, 255, 157, 0.24);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.console-top {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.console-top span {
  width: 9px;
  height: 9px;
  background: var(--green);
}

.console-top span:nth-child(2) {
  background: var(--gold);
}

.console-top span:nth-child(3) {
  background: var(--blue);
}

.console-top strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.console-body {
  min-height: 270px;
  padding: 24px;
}

.console-body p {
  min-height: 26px;
  margin: 0 0 14px;
  color: var(--text);
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
}

.console-body span {
  color: var(--green);
}

.stat-band,
.section-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-band article {
  min-height: 132px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.stat-band article:last-child {
  border-right: 0;
}

.stat-band strong {
  display: block;
  color: var(--gold);
  font-size: 44px;
  line-height: 1;
}

.stat-band span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
}

.section-wrap {
  padding: 92px 0;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 46px;
  align-items: start;
}

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

h2 {
  margin: 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: 0;
}

.manifesto > p,
.contact-strip p,
.protocol-list p,
.arsenal-card p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.arsenal-card {
  position: relative;
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.arsenal-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: 0;
  background: linear-gradient(135deg, rgba(65, 255, 157, 0.18), transparent 42%, rgba(77, 163, 255, 0.14));
  transition: opacity 220ms ease;
}

.arsenal-card:hover::before {
  opacity: 1;
}

.arsenal-card h3,
.protocol-list h3 {
  position: relative;
  margin: 0 0 14px;
  font-size: 22px;
}

.arsenal-card p {
  position: relative;
  margin: 0;
}

.protocol-list {
  display: grid;
  gap: 12px;
}

.protocol-list article {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

.protocol-list article > span {
  color: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.protocol-list p {
  margin: 0;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 60px;
  padding: 34px;
  border: 1px solid rgba(245, 199, 93, 0.32);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(245, 199, 93, 0.14), rgba(65, 255, 157, 0.06), rgba(77, 163, 255, 0.11));
}

.contact-strip h2 {
  color: var(--gold);
  font-size: 32px;
  word-break: break-word;
}

.contact-strip p {
  max-width: 650px;
  margin: 12px 0 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  min-height: 88px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.site-footer a {
  color: rgba(244, 247, 239, 0.42);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes signalSweep {
  0%, 100% {
    opacity: 0.25;
    transform: scaleX(0.55);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes sigilSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes glitchTop {
  0%, 87%, 100% {
    transform: translate(2px, 0);
  }
  88% {
    transform: translate(8px, -2px);
  }
  90% {
    transform: translate(-4px, 1px);
  }
}

@keyframes glitchBottom {
  0%, 82%, 100% {
    transform: translate(-2px, 0);
  }
  83% {
    transform: translate(-7px, 2px);
  }
  86% {
    transform: translate(5px, -1px);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 64px;
  }

  .glitch-title {
    font-size: 56px;
  }

  .hero-statement {
    font-size: 24px;
  }

  .stat-band,
  .arsenal-grid,
  .manifesto {
    grid-template-columns: 1fr 1fr;
  }

  .arsenal-grid {
    gap: 12px;
  }

  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header,
  .hero,
  .stat-band,
  .section-wrap,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
    gap: 10px;
  }

  .brand-lockup {
    gap: 9px;
    min-height: 48px;
    padding-right: 11px;
    font-size: 13px;
  }

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

  .sigil-orbit {
    inset: 8px;
  }

  .brand-wordmark strong {
    font-size: 9px;
  }

  .brand-wordmark em {
    font-size: 15px;
  }

  .header-signal {
    min-height: 40px;
    padding: 11px 10px;
    font-size: 11px;
  }

  .hero {
    gap: 26px;
    padding: 44px 0 54px;
  }

  .glitch-title {
    font-size: 39px;
    line-height: 0.98;
  }

  .hero-statement {
    font-size: 21px;
  }

  .hero-subtitle,
  .manifesto > p,
  .contact-strip p,
  .protocol-list p,
  .arsenal-card p {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .console-body {
    min-height: 240px;
    padding: 18px;
  }

  .console-body p {
    font-size: 13px;
    word-break: break-word;
  }

  .stat-band,
  .arsenal-grid,
  .manifesto {
    grid-template-columns: 1fr;
  }

  .stat-band article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat-band article:last-child {
    border-bottom: 0;
  }

  .section-wrap {
    padding: 64px 0;
  }

  h2 {
    font-size: 31px;
  }

  .arsenal-card {
    min-height: 210px;
  }

  .protocol-list article {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .contact-strip {
    padding: 22px;
  }

  .contact-strip h2 {
    font-size: 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .ghost-field,
  .cursor-aura {
    display: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
