:root {
  --ink: #f7f7f2;
  --muted: rgba(247, 247, 242, 0.72);
  --line: rgba(255, 255, 255, 0.16);
  --dark: #050609;
  --panel: rgba(255, 255, 255, 0.075);
  --white: #ffffff;
  --orange: #e6a12d;
  --cyan: #5bd7ff;
  --green: #2ee59d;
  --red: #ff5d66;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  color: var(--ink);
  background: var(--dark);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

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

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

.site-nav {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 18px 42px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.site-nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-nav nav a {
  opacity: 0.82;
}

.site-nav nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  overflow: hidden;
  padding: 120px 48px 86px;
  isolation: isolate;
}

.hero-video,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  filter: saturate(0.62) brightness(0.54) contrast(1.14);
}

.hero-scrim {
  z-index: -1;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.48) 56%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.88));
}

.hero-copy {
  width: min(760px, 100%);
}

.mission-label,
.section-kicker {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(46px, 8vw, 104px);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-copy p:not(.mission-label) {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.42;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 2px solid var(--white);
  border-radius: 0;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button.primary {
  color: #08090d;
  background: var(--white);
}

.button.ghost {
  color: var(--white);
  background: transparent;
}

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

.scroll-cue {
  position: absolute;
  right: 44px;
  bottom: 34px;
  display: grid;
  gap: 10px;
  justify-items: center;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--white), transparent);
}

.mission-band,
.demo-section,
.live-section {
  padding: 96px 48px;
}

.mission-band {
  background:
    linear-gradient(rgba(4, 6, 10, 0.82), rgba(4, 6, 10, 0.96)),
    url("./assets/screens/oss-factory-desktop.png") center / cover;
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  gap: 46px;
  align-items: center;
}

.mission-copy h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 0.98;
  text-transform: uppercase;
}

.mission-copy p,
.section-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.58;
}

.launch-stats {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
}

.launch-stats div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.launch-stats dt {
  color: var(--white);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.launch-stats dd {
  margin: 0;
  color: var(--muted);
}

.feature-video {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: #000000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44);
}

.feature-video video {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.feature-video span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  min-height: 34px;
  padding: 8px 12px;
  color: #050609;
  background: var(--white);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(91, 215, 255, 0.12), transparent 30%),
    #080a0f;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.54fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

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

.demo-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  animation: rise 520ms ease both;
  animation-delay: var(--delay);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.media-link {
  display: block;
  background: #000000;
}

.media-link video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.card-copy {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.card-meta span {
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.02;
}

.demo-card p {
  min-height: 78px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.proof-line {
  min-height: 46px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.38;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.demo-card.mission {
  background: #0a0a0a;
}

.demo-card.console {
  background: #f4f7fb;
  color: #182033;
}

.demo-card.console p,
.demo-card.console .proof-line {
  color: #42516a;
}

.demo-card.sentinel {
  color: #ffe8ea;
  background: linear-gradient(145deg, #1d0508, #08090e);
}

.demo-card.paper {
  color: #172033;
  background: #fbf6e7;
}

.demo-card.paper p,
.demo-card.paper .proof-line {
  color: #4b4334;
}

.demo-card.orbit {
  color: #dfffee;
  background: radial-gradient(circle at 80% 12%, rgba(46, 229, 157, 0.2), transparent 34%), #07100c;
}

.demo-card.memory {
  color: #ecf7ff;
  background: linear-gradient(145deg, #08132d, #102c25);
}

.demo-card.blueprint {
  color: #e8fbff;
  background: #061626;
}

.demo-card.market {
  color: #fff6df;
  background: #121006;
}

.demo-card.blackbox {
  color: #f5f7ff;
  background: #07080c;
}

.live-section {
  background: #f2f2ed;
  color: #111111;
}

.live-section .section-kicker,
.live-section .section-head p {
  color: #4e5868;
}

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

.live-tile {
  display: grid;
  align-content: end;
  min-height: 360px;
  padding: 26px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
  position: relative;
}

.live-tile::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.88));
  content: "";
}

.live-tile.factory {
  background-image: url("./assets/screens/oss-factory-desktop.png");
}

.live-tile.console {
  background-image: url("./assets/screens/works-console-desktop.png");
}

.live-tile span {
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.live-tile strong {
  display: block;
  margin-top: 10px;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.98;
  text-transform: uppercase;
}

.live-tile em {
  margin-top: 12px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 48px;
  color: rgba(255, 255, 255, 0.64);
  background: #050609;
  font-size: 13px;
}

@media (max-width: 1060px) {
  .mission-layout,
  .section-head,
  .demo-grid,
  .live-grid {
    grid-template-columns: 1fr;
  }

  .mission-layout {
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    padding: 16px;
  }

  .site-nav nav {
    display: none;
  }

  .hero,
  .mission-band,
  .demo-section,
  .live-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 110px;
  }

  .hero-actions,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .launch-stats div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .live-tile {
    min-height: 280px;
  }
}
