:root {
  --surface: #111315;
  --surface-deep: #070809;
  --surface-panel: rgba(13, 15, 17, 0.76);
  --surface-panel-strong: rgba(17, 19, 21, 0.92);
  --text: #f1f3f5;
  --muted: #aeb6bf;
  --muted-dark: #77818c;
  --primary: #d7c8ff;
  --cyan: #7bdff2;
  --green: #8df0a8;
  --amber: #f3c969;
  --line-soft: rgba(255, 255, 255, 0.12);
  --line-cyan: rgba(123, 223, 242, 0.26);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 40px),
    linear-gradient(180deg, #15181b 0%, var(--surface) 46%, var(--surface-deep) 100%);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

::selection {
  background: var(--cyan);
  color: #071012;
}

.scanline-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(rgba(18, 20, 22, 0) 50%, rgba(0, 0, 0, 0.14) 50%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018), transparent 28%, rgba(255, 255, 255, 0.014));
  background-size: 100% 4px, 4px 100%;
}

.command-grid {
  background-size: 48px 48px;
  background-image:
    linear-gradient(to right, rgba(123, 223, 242, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(123, 223, 242, 0.05) 1px, transparent 1px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(7, 8, 9, 0.88);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 212px;
  color: var(--text);
  font-size: 23px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(123, 223, 242, 0.2));
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.nav a:hover,
.nav a:focus-visible {
  color: var(--cyan);
  border-color: var(--cyan);
}

.topbar__cta,
.button,
.project-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(215, 200, 255, 0.46);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.topbar__cta,
.button--primary {
  background: rgba(215, 200, 255, 0.16);
  color: white;
}

.button--ghost {
  border-color: rgba(123, 223, 242, 0.46);
  color: var(--cyan);
  background: rgba(123, 223, 242, 0.06);
}

.topbar__cta:hover,
.button:hover,
.project-card__cta:hover {
  transform: translateY(-1px);
  border-color: var(--cyan);
}

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

.hero__content {
  max-width: 760px;
}

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

.status-chip,
.status-dot,
.eyebrow,
.section__metrics,
.capability-card span,
.project-chip,
.proof-block span,
.module-card span,
.standard-card span {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terminal,
.footer {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.status-chip {
  padding: 8px 12px;
  border: 1px solid rgba(141, 240, 168, 0.44);
  background: rgba(141, 240, 168, 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(141, 240, 168, 0.45);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  color: var(--text);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 800;
  line-height: 0.98;
}

h2 {
  color: white;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 760;
  line-height: 1.05;
}

h3 {
  color: white;
  font-size: 26px;
  font-weight: 760;
  line-height: 1.1;
}

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

.hero__lead {
  max-width: 690px;
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 2px solid rgba(123, 223, 242, 0.42);
  color: #dce3ea;
  font-size: 18px;
}

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

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

.capability-card,
.module-card,
.standard-card,
.project-card,
.terminal,
.logo-command {
  position: relative;
  border: 1px solid var(--line-soft);
  background: var(--surface-panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.capability-card {
  min-height: 132px;
  padding: 18px;
}

.capability-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted-dark);
  font-size: 10px;
}

.capability-card h2 {
  font-size: 18px;
}

.capability-card p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.capability-card--cyan {
  border-top: 3px solid var(--cyan);
}

.capability-card--purple {
  border-top: 3px solid var(--primary);
}

.capability-card--green {
  border-top: 3px solid var(--green);
}

.hero__visual {
  min-width: 0;
}

.logo-command {
  width: min(100%, 460px);
  aspect-ratio: 1;
  margin-left: auto;
  padding: 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-command::before {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(123, 223, 242, 0.16);
  transform: rotate(45deg);
}

.logo-command img {
  position: relative;
  z-index: 2;
  width: min(72%, 360px);
  height: auto;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.logo-command__rows {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
}

.logo-command__row {
  min-height: 34px;
  margin: 0;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 8, 9, 0.74);
  color: var(--muted);
  font-size: 12px;
}

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

.logo-command__signal {
  position: absolute;
  z-index: 4;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.78;
}

.logo-command__signal--a {
  top: 14%;
  left: 22%;
}

.logo-command__signal--b {
  top: 28%;
  right: 17%;
  background: var(--primary);
}

.logo-command__signal--c {
  right: 28%;
  bottom: 24%;
  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 var(--line-soft);
  background: rgba(0, 0, 0, 0.28);
}

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

.project-card {
  overflow: hidden;
}

.project-card__media {
  aspect-ratio: 2 / 1;
  border-bottom: 1px solid var(--line-soft);
  background: #050505;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-card__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.chip-row,
.proof-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-row {
  margin-top: 12px;
}

.project-chip,
.proof-grid strong {
  padding: 7px 9px;
  border: 1px solid rgba(123, 223, 242, 0.24);
  background: rgba(123, 223, 242, 0.06);
  color: var(--cyan);
  font-size: 10px;
}

.project-card--cyan .project-chip,
.project-card--cyan .proof-grid strong {
  border-color: rgba(215, 200, 255, 0.26);
  color: var(--primary);
}

.proof-block {
  display: grid;
  gap: 12px;
}

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

.proof-grid strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight: 700;
  line-height: 1.35;
}

.project-card__cta {
  align-self: flex-start;
  border-color: rgba(123, 223, 242, 0.44);
  color: var(--cyan);
}

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

.module-card {
  min-height: 280px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.module-card span {
  display: block;
  margin-bottom: 30px;
  color: var(--amber);
  font-size: 36px;
}

.module-card h3 {
  margin-bottom: 12px;
}

.module-card p {
  margin: 0;
}

.module-card strong {
  margin-top: auto;
  color: var(--cyan);
  font-size: 14px;
}

.standards {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
  padding-bottom: 96px;
}

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

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

.standard-card {
  min-height: 164px;
  padding: 22px;
}

.standard-card span {
  display: block;
  margin-bottom: 16px;
  color: var(--primary);
}

.standard-card p {
  margin: 0;
}

.terminal {
  grid-column: 1 / -1;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(141, 240, 168, 0.08), rgba(0, 0, 0, 0.3)),
    rgba(0, 0, 0, 0.58);
  color: var(--green);
}

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

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

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

.footer {
  min-height: 78px;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line-cyan);
  background: rgba(7, 8, 9, 0.94);
  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: 1100px) {
  .topbar__inner {
    padding-inline: 24px;
  }

  .nav {
    display: none;
  }

  .hero,
  .standards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-inline: 24px;
  }

  .logo-command {
    margin: 0 auto;
  }

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

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

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

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

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

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

  .hero {
    padding-top: 48px;
    padding-bottom: 36px;
  }

  h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  h2 {
    font-size: 30px;
  }

  .hero__lead {
    font-size: 16px;
  }

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

  .button {
    width: 100%;
  }

  .capability-strip,
  .standards-grid {
    grid-template-columns: 1fr;
  }

  .logo-command {
    padding: 22px;
  }

  .logo-command__row {
    flex-direction: column;
    gap: 2px;
  }

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

  .project-card__body {
    padding: 22px;
  }

  .module-card {
    min-height: 230px;
  }
}
