:root {
  --surface: #131313;
  --surface-deep: #090909;
  --surface-panel: rgba(0, 0, 0, 0.46);
  --surface-panel-strong: rgba(12, 11, 13, 0.82);
  --text: #e5e2e1;
  --muted: #a99eb0;
  --muted-dark: #74687c;
  --primary: #dfb7ff;
  --primary-hot: #9d00ff;
  --cyan: #7df4ff;
  --cyan-hot: #00eefc;
  --green: #00e639;
  --green-soft: #b1ffa6;
  --error: #ffb4ab;
  --line-purple: rgba(223, 183, 255, 0.18);
  --line-cyan: rgba(125, 244, 255, 0.22);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 74% 8%, rgba(157, 0, 255, 0.26), transparent 34rem),
    radial-gradient(circle at 14% 32%, rgba(0, 238, 252, 0.12), transparent 24rem),
    linear-gradient(180deg, #111 0%, #131313 42%, #090909 100%);
  color: var(--text);
  font-family: Inter, sans-serif;
}

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

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

::selection {
  background: var(--primary-hot);
  color: white;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  line-height: 1;
}

.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.38;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.16) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.018), rgba(0, 255, 0, 0.012), rgba(0, 0, 255, 0.018));
  background-size: 100% 4px, 3px 100%;
}

.neural-grid {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(0, 238, 252, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 238, 252, 0.055) 1px, transparent 1px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(157, 0, 255, 0.24);
  background: rgba(0, 0, 0, 0.84);
  box-shadow: 0 4px 24px rgba(157, 0, 255, 0.14);
  backdrop-filter: blur(18px);
}

.topbar__inner {
  width: min(100%, var(--max));
  min-height: 64px;
  margin: 0 auto;
  padding: 8px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 212px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(157, 0, 255, 0.72);
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(157, 0, 255, 0.55));
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-right: auto;
  color: #aeb2bf;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease, text-shadow 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan-hot);
  text-shadow: 0 0 12px rgba(0, 238, 252, 0.5);
}

.topbar__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(223, 183, 255, 0.54);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.topbar__cta,
.button--primary {
  background: var(--primary-hot);
  color: white;
  box-shadow: 0 0 18px rgba(157, 0, 255, 0.34);
}

.button--ghost {
  border-color: rgba(125, 244, 255, 0.5);
  color: var(--cyan);
  background: rgba(0, 238, 252, 0.04);
}

.topbar__cta:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 26px rgba(157, 0, 255, 0.48);
}

.hero {
  width: min(100%, var(--max));
  min-height: calc(100vh - 64px);
  margin: 0 auto;
  padding: 32px 40px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 56px;
  border-bottom: 1px solid var(--line-purple);
}

.hero__content {
  max-width: 720px;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.status-chip,
.status-dot,
.eyebrow,
.section__metrics,
.telemetry__card span,
.status-pill,
.project-card__footer,
.terminal,
.footer {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status-chip {
  padding: 8px 12px;
  border: 1px solid rgba(0, 230, 57, 0.5);
  background: rgba(0, 230, 57, 0.08);
  color: var(--green);
}

.status-dot {
  color: var(--muted);
}

.status-dot span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: var(--green);
  box-shadow: 0 0 10px rgba(0, 230, 57, 0.75);
}

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

h1 {
  max-width: 760px;
  color: var(--primary);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(223, 183, 255, 0.32);
}

h2 {
  color: white;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0;
}

p {
  color: #c6c1c8;
  line-height: 1.65;
}

.hero__lead {
  max-width: 660px;
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 2px solid rgba(157, 0, 255, 0.55);
  color: #d8d3dc;
  font-size: 18px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.telemetry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.telemetry__card,
.panel,
.project-card,
.system-item,
.model-card,
.terminal {
  position: relative;
  border: 1px solid rgba(223, 183, 255, 0.15);
  background: var(--surface-panel);
  backdrop-filter: blur(12px);
}

.telemetry__card {
  min-height: 132px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.telemetry__card span {
  color: var(--muted-dark);
  font-size: 10px;
}

.telemetry__card strong {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  color: var(--text);
}

.telemetry__card p {
  margin: 0;
  color: #c6c1c8;
  font-size: 13px;
  line-height: 1.5;
}

.telemetry__card--cyan {
  border-left: 4px solid var(--cyan);
}

.telemetry__card--purple {
  border-left: 4px solid var(--primary);
}

.telemetry__card--green {
  border-left: 4px solid var(--green);
}

.hero__visual {
  min-width: 0;
}

.orbital {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1;
  margin-left: auto;
  display: grid;
  place-items: center;
}

.orbital::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: rgba(157, 0, 255, 0.2);
  filter: blur(80px);
}

.orbital img {
  position: relative;
  z-index: 2;
  width: 72%;
  border: 1px solid rgba(223, 183, 255, 0.18);
  box-shadow: 0 0 44px rgba(157, 0, 255, 0.32);
  mix-blend-mode: screen;
}

.orbital--logo img {
  width: min(72%, 390px);
  aspect-ratio: 1;
  padding: clamp(14px, 3vw, 28px);
  object-fit: contain;
  background: rgba(0, 0, 0, 0.34);
  mix-blend-mode: normal;
}

.orbital--logo img.orbital__animation {
  padding: 0;
  background: #000;
}

.orbital__ring {
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(223, 183, 255, 0.26);
  border-radius: 50%;
}

.orbital__ring--two {
  inset: 2%;
  border-color: rgba(125, 244, 255, 0.13);
  border-style: dashed;
}

.orbital__node {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--cyan-hot);
  box-shadow: 0 0 18px var(--cyan-hot);
}

.orbital__node--a {
  top: 18%;
  left: 23%;
}

.orbital__node--b {
  right: 17%;
  top: 48%;
  background: var(--primary-hot);
}

.orbital__node--c {
  bottom: 18%;
  left: 45%;
  background: var(--green);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 76px 40px;
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.eyebrow {
  display: block;
  margin-bottom: 10px;
  color: var(--cyan);
}

.section__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--primary);
}

.section__metrics span {
  padding: 12px 14px;
  border: 1px solid rgba(223, 183, 255, 0.18);
  background: rgba(0, 0, 0, 0.42);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  min-height: 430px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.project-card__image {
  display: block;
  margin: -30px -30px 0;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-bottom: 1px solid rgba(223, 183, 255, 0.15);
  background: #050505;
}

.project-card__image:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.project-card__image:hover img,
.project-card__image:focus-visible img {
  transform: scale(1.015);
}

.project-card--primary {
  border-color: rgba(223, 183, 255, 0.22);
}

.project-card--secondary {
  border-color: rgba(125, 244, 255, 0.22);
}

.corner-accent {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
}

.project-card--secondary .corner-accent {
  border-color: var(--cyan);
}

.project-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.project-card__header > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.project-card__header > .project-card__title {
  display: grid;
  align-items: start;
  gap: 12px;
}

.project-card--secondary h3 {
  color: var(--cyan);
}

.project-card h3 {
  color: var(--primary);
}

.status-pill {
  padding: 6px 8px;
  color: var(--green);
  background: rgba(0, 230, 57, 0.08);
  border: 1px solid rgba(0, 230, 57, 0.2);
  font-size: 10px;
}

.status-pill--cyan {
  color: var(--cyan);
  background: rgba(0, 238, 252, 0.08);
  border-color: rgba(0, 238, 252, 0.22);
}

.project-card__tags,
.project-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-card__tags span,
.project-card__details span {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.34);
  color: #c6c1c8;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__tags span {
  color: var(--muted);
}

.project-card__details {
  margin-top: auto;
}

.project-card p {
  margin: 0;
}

pre {
  flex: 1;
  margin: 0;
  padding: 20px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.62);
  color: #d8d3dc;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted-dark);
}

.project-card__footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
}

.section--split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.panel {
  padding: 34px;
}

.panel--tall {
  min-height: 100%;
}

.system-list {
  display: grid;
  gap: 16px;
}

.system-item {
  min-height: 136px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.system-item .material-symbols-outlined {
  color: var(--green);
  font-size: 30px;
}

.system-item h3,
.model-card h3 {
  margin-bottom: 8px;
  color: white;
  font-size: 22px;
}

.system-item p,
.model-card p,
.release p {
  margin: 0;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.model-card {
  min-height: 230px;
  padding: 26px;
}

.model-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--cyan);
  font-family: "JetBrains Mono", monospace;
  font-size: 42px;
  font-weight: 700;
  opacity: 0.72;
}

.release {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding-bottom: 96px;
}

.release h2 {
  margin-bottom: 18px;
}

.terminal {
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(0, 230, 57, 0.08), rgba(0, 0, 0, 0.42)),
    rgba(0, 0, 0, 0.68);
  color: var(--green-soft);
}

.terminal p {
  margin: 0;
  color: var(--green-soft);
}

.terminal p + p {
  margin-top: 14px;
}

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

.footer {
  border-top: 1px solid rgba(0, 238, 252, 0.18);
  background: rgba(0, 0, 0, 0.9);
}

.footer {
  min-height: 78px;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-dark);
}

.footer > div {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

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

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

@media (max-width: 1040px) {
  .topbar__inner {
    padding-inline: 24px;
  }

  .nav {
    display: none;
  }

  .hero,
  .section--split,
  .release {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-inline: 24px;
  }

  .orbital {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .topbar__inner {
    min-height: 60px;
    padding: 8px 18px;
  }

  .brand {
    min-width: 0;
    font-size: 18px;
  }

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

  .topbar__cta {
    min-height: 42px;
    padding-inline: 14px;
    font-size: 10px;
  }

  .hero,
  .section {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions,
  .status-row {
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .telemetry,
  .project-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .section__header,
  .project-card__footer,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-card {
    min-height: auto;
    padding: 22px;
  }

  .project-card__image {
    margin: -22px -22px 0;
  }

  pre {
    font-size: 12px;
  }
}
