:root {
  --bg: #07090d;
  --panel: #0d1118;
  --panel2: #111722;
  --text: #f2f5f8;
  --muted: #9aa6b2;
  --line: #202a36;
  --accent: #d9ff3f;
  --accent2: #7c5cff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 13, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.nav {
  max-width: var(--max);
  margin: auto;
  min-height: 78px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 900;
  font-size: 13px;
}

.brand strong {
  display: block;
  letter-spacing: .12em;
  font-size: 16px;
}

.brand small {
  display: block;
  color: var(--muted);
  letter-spacing: .12em;
  font-size: 9px;
  margin-top: 3px;
}

nav {
  display: flex;
  gap: 28px;
  align-items: center;
}

nav a {
  color: #b8c1ca;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

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

.nav-apply {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 11px 17px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 38%, rgba(124,92,255,.24), transparent 30%),
    radial-gradient(circle at 20% 50%, rgba(217,255,63,.08), transparent 28%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: auto;
}

.eyebrow {
  color: var(--accent);
  font-family: monospace;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 800;
}

h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: .94;
  letter-spacing: -.045em;
  max-width: 1000px;
  margin: 24px 0;
}

h1 span {
  color: var(--accent);
}

.hero-copy {
  color: var(--muted);
  max-width: 670px;
  font-size: 18px;
  line-height: 1.7;
}

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

.button {
  display: inline-block;
  padding: 15px 22px;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .1em;
  cursor: pointer;
}

.primary {
  background: var(--accent);
  color: #080a0d;
  border-color: var(--accent);
}

.secondary {
  color: var(--text);
}

.system-readout {
  display: flex;
  gap: 28px;
  margin-top: 65px;
  color: #56616d;
  font: 11px monospace;
  letter-spacing: .15em;
}

.section {
  max-width: var(--max);
  margin: auto;
  padding: 110px 24px;
}

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

h2 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: .98;
  margin: 15px 0;
  letter-spacing: -.035em;
}

.section-heading p,
.apply-section p {
  color: var(--muted);
  line-height: 1.7;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.program-card {
  position: relative;
  min-height: 450px;
  padding: 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.program-card::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(124,92,255,.08);
}

.program-card.ai::after {
  background: rgba(217,255,63,.08);
}

.card-number {
  color: #596571;
  font: 12px monospace;
}

.card-icon {
  margin-top: 45px;
  color: var(--accent);
  font: 900 12px monospace;
  letter-spacing: .16em;
}

.program-card h3 {
  font-size: 30px;
  line-height: 1;
  margin: 15px 0;
}

.program-card p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 530px;
}

.program-card ul {
  list-style: none;
  padding: 0;
  margin-top: 28px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.program-card li {
  border: 1px solid var(--line);
  padding: 7px 10px;
  color: #9ba7b3;
  font: 10px monospace;
}

.lab-section {
  padding: 110px max(24px, calc((100% - var(--max)) / 2));
  background: #0a0e14;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.lab-content p {
  color: var(--muted);
  line-height: 1.8;
  max-width: 570px;
}

.lab-list {
  margin-top: 35px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.lab-list div {
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  justify-content: space-between;
  color: #aeb8c2;
}

.lab-list strong {
  color: var(--accent);
  font-family: monospace;
}

.terminal {
  background: #05070a;
  border: 1px solid #27303b;
  box-shadow: 0 25px 80px rgba(0,0,0,.4);
}

.terminal-bar {
  height: 42px;
  border-bottom: 1px solid #1c252f;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
}

.terminal-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36404c;
}

.terminal-bar b {
  margin-left: 10px;
  color: #66727e;
  font: 10px monospace;
}

.terminal pre {
  padding: 25px;
  color: var(--accent);
  font: 12px/2 monospace;
  overflow: auto;
}

.ecosystem-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.ecosystem-flow div {
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 22px;
  font: 700 11px monospace;
  letter-spacing: .08em;
}

.ecosystem-flow span {
  color: var(--accent);
}

.apply-section {
  max-width: var(--max);
  margin: auto;
  padding: 100px 24px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.apply-form {
  display: grid;
  gap: 12px;
}

.apply-form input,
.apply-form select {
  width: 100%;
  padding: 17px;
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--line);
  outline: none;
}

.apply-form input:focus,
.apply-form select:focus {
  border-color: var(--accent);
}

.form-status {
  min-height: 20px;
  color: var(--accent) !important;
  font: 12px monospace;
}

footer {
  border-top: 1px solid var(--line);
  background: #05070a;
}

.footer-main,
.footer-bottom {
  max-width: var(--max);
  margin: auto;
  padding: 35px 24px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer-main {
  min-height: 150px;
}

.footer-brand {
  font-weight: 900;
  letter-spacing: .12em;
}

.footer-main p {
  color: var(--muted);
  font-size: 12px;
}

.footer-main > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-main a {
  color: #9ca7b2;
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  color: #58636e;
  font: 10px monospace;
  letter-spacing: .08em;
}

@media (max-width: 800px) {
  nav {
    display: none;
  }

  .hero {
    min-height: 650px;
  }

  .program-grid,
  .lab-section,
  .apply-section {
    grid-template-columns: 1fr;
  }

  .system-readout {
    gap: 12px;
    flex-wrap: wrap;
  }

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

  .ecosystem-flow span {
    display: none;
  }
}
