:root {
  --night: #070b1d;
  --night-2: #101533;
  --violet: #29134d;
  --violet-2: #5a2fd6;
  --cyan: #65e7ff;
  --cyan-soft: rgba(101, 231, 255, 0.18);
  --white: #f8fbff;
  --muted: #aeb8d4;
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(12, 18, 43, 0.62);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(101, 231, 255, 0.16), transparent 24rem),
    radial-gradient(circle at 80% 8%, rgba(90, 47, 214, 0.18), transparent 28rem),
    linear-gradient(145deg, var(--night) 0%, #0b1028 46%, #120b2c 100%);
  overflow-x: hidden;
}

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

.neural-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.42;
  pointer-events: none;
}

.site-shell {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(101, 231, 255, 0.16), rgba(90, 47, 214, 0.2));
  box-shadow: 0 0 22px rgba(101, 231, 255, 0.18);
}

.brand-mark svg,
.topic-card svg,
.cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

.hero {
  display: grid;
  align-items: center;
  gap: 42px;
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 82px);
  margin: 0 auto;
  padding: 44px 0 72px;
}

.hero-content {
  max-width: 820px;
}

.badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(101, 231, 255, 0.32);
  border-radius: 999px;
  background: rgba(101, 231, 255, 0.09);
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  padding: 8px 13px;
}

.eyebrow {
  padding: 7px 12px;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.15rem, 12vw, 7.3rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-wrap: balance;
}

.subtitle {
  max-width: 780px;
  margin-bottom: 18px;
  color: #dfe8ff;
  font-size: clamp(1.35rem, 4vw, 2.35rem);
  line-height: 1.18;
  font-weight: 620;
  text-wrap: balance;
}

.intro {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid rgba(101, 231, 255, 0.45);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(101, 231, 255, 0.18), rgba(90, 47, 214, 0.34));
  box-shadow: 0 0 30px rgba(101, 231, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 760;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.cta:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 231, 255, 0.82);
  box-shadow: 0 0 38px rgba(101, 231, 255, 0.28), 0 18px 46px rgba(0, 0, 0, 0.2);
}

.science-orbit {
  position: relative;
  width: min(460px, 82vw);
  aspect-ratio: 1;
  margin: 0 auto;
  filter: drop-shadow(0 0 36px rgba(101, 231, 255, 0.14));
}

.orbit-core,
.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.orbit-core {
  inset: 28%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(101, 231, 255, 0.2);
  background: radial-gradient(circle, rgba(101, 231, 255, 0.24), rgba(90, 47, 214, 0.1) 48%, transparent 72%);
  backdrop-filter: blur(12px);
}

.orbit-core span {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
}

.orbit-core span:nth-child(1) {
  transform: translate(-44px, -22px);
}

.orbit-core span:nth-child(2) {
  transform: translate(38px, 2px);
}

.orbit-core span:nth-child(3) {
  transform: translate(-8px, 44px);
}

.orbit-ring {
  border: 1px solid rgba(255, 255, 255, 0.12);
  animation: rotate 22s linear infinite;
}

.ring-one {
  transform: rotateX(62deg) rotateZ(18deg);
}

.ring-two {
  inset: 10%;
  border-color: rgba(101, 231, 255, 0.18);
  animation-duration: 28s;
  animation-direction: reverse;
}

.ring-three {
  inset: 20%;
  border-color: rgba(90, 47, 214, 0.32);
  animation-duration: 18s;
}

.topics-section,
.mission-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

h2 {
  margin: 16px 0 0;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.topics-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.topic-card,
.mission-panel,
.legal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topic-card {
  padding: 22px;
  min-height: 210px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.topic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(101, 231, 255, 0.42);
  background: linear-gradient(150deg, rgba(101, 231, 255, 0.1), rgba(90, 47, 214, 0.08));
}

.topic-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 24px;
  color: var(--cyan);
}

.topic-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.topic-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.mission-panel {
  padding: clamp(28px, 6vw, 58px);
  background:
    linear-gradient(135deg, rgba(101, 231, 255, 0.1), transparent 40%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.mission-panel p {
  max-width: 790px;
  margin: 20px 0 0;
  color: #d9e4ff;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  line-height: 1.58;
}

.mission-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.mission-points span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 28px;
  color: var(--muted);
}

.footer-main {
  display: grid;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.footer-main strong {
  color: var(--white);
}

.footer-main p {
  max-width: 680px;
  margin: 12px 0 0;
  line-height: 1.6;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-main a,
.footer-bottom a {
  color: #dce7ff;
  transition: color 180ms ease;
}

.footer-main a:hover,
.footer-bottom a:hover {
  color: var(--cyan);
}

.footer-bottom {
  margin-top: 26px;
  font-size: 0.92rem;
}

.legal-main {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 80px;
}

.legal-panel {
  padding: clamp(26px, 5vw, 52px);
}

.legal-panel h1 {
  font-size: clamp(2.35rem, 8vw, 4.7rem);
}

.legal-panel h2 {
  margin-top: 36px;
  font-size: clamp(1.4rem, 4vw, 2rem);
}

.legal-panel p,
.legal-panel li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-panel ul {
  padding-left: 20px;
}

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

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

@keyframes rotate {
  to {
    rotate: 360deg;
  }
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .hero {
    grid-template-columns: 1.12fr 0.88fr;
  }

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

  .footer-main {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .topics-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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