:root {
  color: #f7f1e3;
  background: #05070a;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #05070a;
}

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

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.page-shell {
  min-height: 100vh;
  overflow: hidden;
  background: #05070a;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 112px 76px 72px;
}

.moon-scene {
  position: absolute;
  inset: -4vh -4vw;
  width: 108vw;
  height: 108vh;
  object-fit: cover;
  filter: contrast(1.08) saturate(0.9) brightness(0.82);
  transform-origin: 52% 48%;
  animation: camera-drift 18s ease-in-out infinite alternate;
}

.space-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 49% 39%, rgba(255, 217, 142, 0.13), transparent 13%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 43%, rgba(0, 0, 0, 0.14)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), transparent 48%, rgba(0, 0, 0, 0.82));
}

.stars span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.78);
  animation: twinkle 2.4s ease-in-out infinite alternate;
  animation-delay: var(--d);
}

.nav {
  position: absolute;
  z-index: 4;
  left: 76px;
  right: 76px;
  top: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-mark {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #f5c85a;
  box-shadow: 0 0 22px #f5c85a;
}

.nav-links {
  gap: 26px;
  color: rgba(247, 241, 227, 0.76);
  font-size: 15px;
  font-weight: 700;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  animation: rise-in 900ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 24px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 9, 13, 0.5);
  color: #e9d29a;
  font-size: 14px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5c85a;
}

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

h1 {
  margin-bottom: 24px;
  max-width: 760px;
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  color: rgba(247, 241, 227, 0.84);
  font-size: clamp(18px, 2vw, 27px);
  line-height: 1.52;
  font-weight: 560;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 850;
}

.primary-action {
  color: #111318;
  background: #f5c85a;
}

.secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mission-card {
  position: absolute;
  z-index: 3;
  right: 58px;
  bottom: 52px;
  width: min(520px, calc(100vw - 116px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 9, 13, 0.66);
  backdrop-filter: blur(16px);
}

.mission-header,
.mission-card dl,
.mission-card dl div {
  display: flex;
}

.mission-header {
  justify-content: space-between;
  align-items: baseline;
  color: rgba(247, 241, 227, 0.7);
  font-weight: 800;
  text-transform: uppercase;
}

.mission-header strong {
  color: #f5c85a;
  font-size: 36px;
}

.progress-track {
  height: 8px;
  margin: 16px 0 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
}

.progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #d9dde5, #f5c85a, #f17f4a);
  animation: progress-loop 5.5s ease-in-out infinite;
}

.mission-card dl {
  margin: 0;
  gap: 14px;
}

.mission-card dl div {
  flex: 1;
  min-height: 88px;
  padding: 14px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.mission-card dt {
  color: rgba(247, 241, 227, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mission-card dd {
  margin: 0;
  color: #ffffff;
  font-size: 17px;
  font-weight: 850;
}

.content-band,
.deploy-band {
  position: relative;
  z-index: 5;
  padding: 86px 76px;
  background: #f2eee5;
  color: #111318;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) 1fr;
  gap: 46px;
  align-items: start;
  margin-bottom: 34px;
}

.section-heading p,
.deploy-band p {
  color: #8b5c15;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading h2,
.deploy-band h2 {
  margin-bottom: 0;
  max-width: 840px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.feature-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(17, 19, 24, 0.14);
  background: #ffffff;
}

.feature-grid span {
  color: #b17618;
  font-weight: 900;
}

.feature-grid h3 {
  margin: 54px 0 12px;
  font-size: 25px;
  line-height: 1.08;
  letter-spacing: 0;
}

.feature-grid p {
  margin-bottom: 0;
  color: rgba(17, 19, 24, 0.68);
  font-size: 17px;
  line-height: 1.48;
}

.deploy-band {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 560px);
  gap: 44px;
  align-items: center;
  background: #111318;
  color: #f7f1e3;
}

.deploy-band pre {
  margin: 0;
  padding: 24px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #05070a;
  color: #f5c85a;
  font-size: 15px;
  line-height: 1.7;
}

@keyframes camera-drift {
  from {
    transform: translate3d(-16px, 0, 0) scale(1.02);
  }
  to {
    transform: translate3d(18px, -8px, 0) scale(1.1);
  }
}

@keyframes twinkle {
  from {
    opacity: 0.22;
  }
  to {
    opacity: 0.92;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes progress-loop {
  0% {
    transform: translateX(-72%);
  }
  55%,
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: 920px;
    padding: 104px 28px 360px;
  }

  .nav {
    left: 28px;
    right: 28px;
  }

  .nav-links {
    display: none;
  }

  .mission-card {
    left: 28px;
    right: 28px;
    bottom: 28px;
    width: auto;
  }

  .mission-card dl,
  .feature-grid,
  .deploy-band,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .mission-card dl {
    flex-direction: column;
  }

  .content-band,
  .deploy-band {
    padding: 58px 28px;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 960px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }
}
