:root {
  color-scheme: dark;
  --bg: #05070a;
  --bg-2: #080d13;
  --panel: rgba(12, 18, 26, 0.72);
  --panel-strong: rgba(14, 23, 31, 0.9);
  --text: #f4f7fb;
  --muted: #9aa9b9;
  --line: rgba(148, 246, 255, 0.18);
  --cyan: #63f3ff;
  --emerald: #61f6b1;
  --magenta: #ff4fd8;
  --white-glow: rgba(255, 255, 255, 0.7);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(99, 243, 255, 0.12), transparent 30rem),
    radial-gradient(circle at 86% 38%, rgba(97, 246, 177, 0.09), transparent 26rem),
    linear-gradient(180deg, var(--bg), #030406 58%, #07100d);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(99, 243, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 243, 255, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

img {
  display: block;
  max-width: 100%;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 20;
  width: 22rem;
  height: 22rem;
  pointer-events: none;
  background: radial-gradient(circle, rgba(99, 243, 255, 0.16), transparent 67%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 10;
  display: grid;
  width: min(1180px, calc(100% - 32px));
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  padding: 10px 10px 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(4, 8, 12, 0.58);
  box-shadow: 0 12px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(99, 243, 255, 0.22);
  background: rgba(4, 8, 12, 0.82);
}

.brand,
.nav-links,
.nav-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(99, 243, 255, 0.36);
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(99, 243, 255, 0.18), rgba(97, 246, 177, 0.1)),
    rgba(255, 255, 255, 0.04);
  color: var(--cyan);
  box-shadow: 0 0 30px rgba(99, 243, 255, 0.18);
}

.nav-links {
  justify-content: center;
  gap: 6px;
}

.nav-links a,
.nav-cta {
  min-height: 38px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: var(--muted);
  transition: color 160ms ease, background 160ms ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-cta {
  justify-content: center;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  color: #031010;
  box-shadow: 0 0 32px rgba(99, 243, 255, 0.24);
}

.section-band {
  position: relative;
  padding-inline: 22px;
}

@media (min-width: 1224px) {
  .section-band {
    padding-inline: calc((100% - 1180px) / 2);
  }
}

.hero {
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding-top: 116px;
  padding-bottom: 72px;
  isolation: isolate;
}

.hero-art,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.12) contrast(1.08);
}

.hero-shade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3, 5, 8, 0.96) 0%, rgba(3, 5, 8, 0.78) 37%, rgba(3, 5, 8, 0.18) 72%, rgba(3, 5, 8, 0.7) 100%),
    linear-gradient(180deg, rgba(3, 5, 8, 0.34), rgba(3, 5, 8, 0.86) 92%);
}

.hero-grid {
  z-index: -2;
  background-image: linear-gradient(110deg, transparent 0 48%, rgba(99, 243, 255, 0.22) 49%, transparent 50% 100%);
  background-size: 180px 180px;
  opacity: 0.18;
  animation: drift 16s linear infinite;
}

.hero-content {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--emerald);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.88;
  text-wrap: balance;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.96;
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
}

.hero-copy {
  max-width: 640px;
  margin-bottom: 34px;
  color: #c8d3df;
  font-size: clamp(1.02rem, 1.9vw, 1.24rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 54px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 800;
  transition: transform 170ms ease, border-color 170ms ease, box-shadow 170ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--cyan), var(--emerald));
  color: #021010;
  box-shadow: 0 18px 55px rgba(99, 243, 255, 0.2);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button.ghost:hover {
  border-color: rgba(99, 243, 255, 0.45);
  box-shadow: 0 0 32px rgba(99, 243, 255, 0.12);
}

.signal-strip {
  display: grid;
  width: 100%;
  max-width: 880px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(4, 9, 13, 0.5);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.signal-strip div {
  min-height: 116px;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip strong {
  display: block;
  margin-bottom: 16px;
  color: var(--cyan);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.86rem;
}

.signal-strip span {
  color: #d6e4ee;
  font-weight: 700;
  line-height: 1.35;
}

.intro,
.systems,
.impact,
.process,
.contact {
  padding-top: clamp(80px, 12vw, 150px);
  padding-bottom: clamp(80px, 12vw, 150px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: end;
}

.section-heading {
  max-width: 720px;
}

.intro-panel {
  border-left: 1px solid var(--line);
  padding: 8px 0 8px 28px;
}

.intro-panel p,
.impact-copy p,
.contact p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.systems {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 0;
}

.system-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.system-card::before {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(99, 243, 255, 0.32), transparent 38%, rgba(255, 79, 216, 0.18));
  opacity: 0;
  transition: opacity 180ms ease;
}

.system-card:hover {
  border-color: rgba(99, 243, 255, 0.3);
  background:
    linear-gradient(180deg, rgba(99, 243, 255, 0.1), rgba(255, 255, 255, 0.025)),
    var(--panel-strong);
  transform: translateY(-6px);
}

.system-card:hover::before {
  opacity: 0.42;
}

.system-card > * {
  position: relative;
  z-index: 1;
}

.card-index {
  display: block;
  margin-bottom: 112px;
  color: var(--cyan);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-weight: 700;
}

.system-card p {
  color: var(--muted);
  line-height: 1.7;
}

.impact {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
  overflow: hidden;
}

.impact-visual {
  position: relative;
  display: grid;
  min-height: 480px;
  place-items: center;
}

.orbit,
.core-pulse,
.node {
  position: absolute;
  border-radius: 50%;
}

.orbit {
  border: 1px solid rgba(99, 243, 255, 0.26);
  transform: rotateX(64deg) rotateZ(-22deg);
}

.orbit-one {
  width: min(36vw, 430px);
  height: min(36vw, 430px);
  animation: spin 20s linear infinite;
}

.orbit-two {
  width: min(28vw, 320px);
  height: min(28vw, 320px);
  border-color: rgba(97, 246, 177, 0.28);
  animation: spin 14s linear infinite reverse;
}

.core-pulse {
  width: 132px;
  height: 132px;
  background:
    radial-gradient(circle, var(--white-glow), rgba(99, 243, 255, 0.4) 24%, rgba(99, 243, 255, 0.06) 60%, transparent);
  box-shadow: 0 0 74px rgba(99, 243, 255, 0.38);
  animation: pulse 2.8s ease-in-out infinite;
}

.node {
  width: 12px;
  height: 12px;
  background: var(--emerald);
  box-shadow: 0 0 24px var(--emerald);
}

.node-a {
  left: 18%;
  top: 28%;
}

.node-b {
  right: 20%;
  top: 40%;
  background: var(--cyan);
}

.node-c {
  left: 48%;
  bottom: 18%;
  background: var(--magenta);
  box-shadow: 0 0 24px var(--magenta);
}

.impact-copy {
  max-width: 680px;
}

.impact-copy p {
  margin-top: 26px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.stat-grid div {
  min-height: 132px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.stat-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.24rem;
}

.stat-grid span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.process {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.015), rgba(97, 246, 177, 0.04)),
    var(--bg-2);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.timeline-item {
  min-height: 210px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.timeline-item span {
  display: block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.7;
}

.contact {
  min-height: 64vh;
  text-align: center;
}

.contact h2,
.contact p {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
}

.contact p {
  margin-top: 24px;
  margin-bottom: 34px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 1224px) {
  .site-footer {
    padding-inline: calc((100% - 1180px) / 2);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes drift {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 360px 180px;
  }
}

@keyframes spin {
  to {
    transform: rotateX(64deg) rotateZ(338deg);
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.08);
    opacity: 0.74;
  }
}

@media (max-width: 900px) {
  .cursor-glow {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    border-radius: 22px;
  }

  .nav-links {
    display: none;
  }

  .intro,
  .systems,
  .impact,
  .timeline {
    grid-template-columns: 1fr;
  }

  .signal-strip,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip div:last-child {
    border-bottom: 0;
  }

  .card-index {
    margin-bottom: 72px;
  }

  .impact-visual {
    min-height: 360px;
  }

  .orbit-one {
    width: min(74vw, 420px);
    height: min(74vw, 420px);
  }

  .orbit-two {
    width: min(56vw, 310px);
    height: min(56vw, 310px);
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .site-header {
    width: calc(100% - 22px);
    gap: 10px;
    margin-top: 10px;
    padding: 8px;
  }

  .brand span:last-child {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-cta {
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 104px;
  }

  h1 {
    font-size: clamp(2.75rem, 12.5vw, 3.7rem);
  }

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

  .button {
    width: 100%;
  }

  .system-card {
    min-height: 270px;
  }
}

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

  .cursor-glow {
    display: none;
  }
}

@media (hover: none) {
  .cursor-glow {
    display: none;
  }
}
