:root {
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: Consolas, "Courier New", monospace;
  --ink: #050709;
  --panel: #0a0d10;
  --panel-soft: #101418;
  --paper: #f4f0e8;
  --muted: #a1a7aa;
  --cyan: #20b9d4;
  --orange: #ff9e2c;
  --line: rgba(255, 255, 255, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  opacity: 0.14;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 0.6px, transparent 0.8px);
  background-size: 5px 5px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 92px;
  padding: 0 clamp(24px, 5vw, 84px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.14em;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  display: grid;
}

.brand strong {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 20px;
  font-style: italic;
  letter-spacing: 0.16em;
}

.brand small {
  color: var(--cyan);
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: 0.45em;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

nav a {
  color: #c5c7c7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--orange);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d8d8d3;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-status i,
.launch-card i {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 14px var(--orange);
}

.hero {
  position: relative;
  min-height: 790px;
  height: 100svh;
  padding: 145px clamp(24px, 7vw, 120px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.98) 0%, rgba(5, 7, 9, 0.88) 46%, rgba(5, 7, 9, 0.35) 100%),
    radial-gradient(circle at 78% 30%, #17333d 0%, #0a1115 30%, #050709 66%);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 92px 0 0;
  opacity: 0.13;
  background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to right, transparent 0%, black 58%, black 100%);
}

.hero::after {
  content: "KOSMOS";
  position: absolute;
  z-index: -1;
  right: -1vw;
  bottom: -7vw;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(150px, 23vw, 390px);
  font-style: italic;
  line-height: 0.8;
}

.hero-glow {
  position: absolute;
  z-index: -2;
  width: 630px;
  height: 630px;
  right: 5%;
  top: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 158, 44, 0.18), rgba(32, 185, 212, 0.07) 35%, transparent 67%);
  filter: blur(20px);
}

.city {
  position: absolute;
  z-index: -1;
  left: 0;
  right: 0;
  bottom: 0;
  transform-origin: bottom;
}

.city-back {
  height: 31%;
  opacity: 0.28;
  background: linear-gradient(90deg, transparent 0 5%, #162127 5% 9%, transparent 9% 11%, #162127 11% 14%, transparent 14% 38%, #162127 38% 41%, transparent 41% 47%, #162127 47% 53%, transparent 53% 57%, #162127 57% 59%, transparent 59% 68%, #162127 68% 76%, transparent 76% 78%, #162127 78% 83%, transparent 83% 91%, #162127 91% 96%, transparent 96%);
  clip-path: polygon(0 100%, 0 55%, 5% 55%, 5% 25%, 9% 25%, 9% 62%, 12% 62%, 12% 13%, 14% 13%, 14% 70%, 38% 70%, 38% 28%, 41% 28%, 41% 65%, 47% 65%, 47% 44%, 53% 44%, 53% 70%, 57% 70%, 57% 15%, 59% 15%, 59% 66%, 68% 66%, 68% 35%, 76% 35%, 76% 58%, 78% 58%, 78% 20%, 83% 20%, 83% 68%, 91% 68%, 91% 42%, 96% 42%, 96% 59%, 100% 59%, 100% 100%);
}

.city-front {
  height: 18%;
  opacity: 0.88;
  background: #050709;
  clip-path: polygon(0 100%, 0 62%, 7% 62%, 7% 37%, 12% 37%, 12% 75%, 17% 75%, 17% 55%, 23% 55%, 23% 29%, 30% 29%, 30% 70%, 39% 70%, 39% 49%, 45% 49%, 45% 73%, 51% 73%, 51% 38%, 56% 38%, 56% 64%, 63% 64%, 63% 17%, 69% 17%, 69% 70%, 74% 70%, 74% 45%, 79% 45%, 79% 68%, 86% 68%, 86% 34%, 93% 34%, 93% 61%, 100% 61%, 100% 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 790px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 24px;
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.eyebrow span {
  width: 38px;
  height: 1px;
  background: var(--orange);
}

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

h1,
h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 500;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 25px;
  font-size: clamp(64px, 7vw, 118px);
  line-height: 0.84;
  text-shadow: 0 12px 45px rgba(0, 0, 0, 0.55);
}

h1 em {
  color: var(--orange);
  font-style: italic;
  -webkit-text-stroke: 1px rgba(255, 235, 209, 0.3);
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  color: #bdc2c3;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 54px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border: 1px solid transparent;
  font: 800 11px/1 var(--font-geist-sans), sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #0b0b0a;
  background: var(--orange);
  box-shadow: 0 10px 35px rgba(255, 158, 44, 0.17);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ffb24f;
}

.button-ghost {
  color: #ddd;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(7, 10, 12, 0.45);
}

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

.hero-mark {
  position: relative;
  z-index: 2;
  width: min(43vw, 650px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}

.hero-mark > img {
  position: relative;
  z-index: 2;
  width: 90%;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.68));
  animation: float 6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 18px var(--cyan);
}

.orbit-one {
  inset: 5%;
  animation: spin 18s linear infinite;
}

.orbit-one::after {
  left: 16%;
  top: 5%;
}

.orbit-two {
  inset: 15%;
  border-color: rgba(255, 158, 44, 0.2);
  animation: spin 25s linear reverse infinite;
}

.orbit-two::after {
  right: 4%;
  bottom: 22%;
  background: var(--orange);
  box-shadow: 0 0 18px var(--orange);
}

.launch-card {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 10%;
  min-width: 210px;
  padding: 15px 18px;
  border-left: 2px solid var(--orange);
  background: rgba(5, 8, 10, 0.82);
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
}

.launch-card > span {
  display: block;
  margin-bottom: 7px;
  color: #777f82;
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.launch-card strong {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 3vw, 48px);
  bottom: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.scroll-cue span {
  color: #71777a;
  font-family: var(--font-geist-mono), monospace;
  font-size: 8px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

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

.signal-strip {
  height: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255, 158, 44, 0.35);
  border-bottom: 1px solid rgba(255, 158, 44, 0.35);
  color: #14100a;
  background: var(--orange);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 16px;
  letter-spacing: 0.18em;
  white-space: nowrap;
}

.signal-strip div {
  min-width: max-content;
  animation: marquee 20s linear infinite;
}

.signal-strip b {
  margin: 0 28px;
  font-size: 10px;
}

.section {
  padding: 120px clamp(24px, 7vw, 120px);
}

.manifesto {
  position: relative;
  background:
    radial-gradient(circle at 8% 20%, rgba(32, 185, 212, 0.08), transparent 27%),
    var(--panel);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.7fr);
  gap: clamp(50px, 9vw, 150px);
  align-items: end;
}

.manifesto h2,
.roadmap h2,
.community h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 6vw, 92px);
  line-height: 0.98;
}

.manifesto h2 span,
.roadmap h2 span,
.community h2 span {
  color: var(--cyan);
  font-style: italic;
}

.manifesto-copy {
  padding-left: 25px;
  border-left: 1px solid var(--cyan);
}

.manifesto-copy p,
.roadmap-heading > p,
.community-content > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.pillars {
  margin-top: 95px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.pillar {
  min-height: 330px;
  padding: 35px clamp(24px, 3vw, 50px) 20px 0;
  border-right: 1px solid var(--line);
}

.pillar + .pillar {
  padding-left: clamp(24px, 3vw, 50px);
}

.pillar:last-child {
  border-right: 0;
}

.pillar > span {
  color: var(--orange);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
}

.pillar-line {
  width: 45px;
  height: 2px;
  margin: 28px 0 42px;
  background: var(--orange);
  transform: skewX(-25deg);
}

.pillar h3,
.step h3 {
  margin-bottom: 15px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.pillar p,
.step p {
  margin-bottom: 0;
  color: #858c8f;
  font-size: 14px;
  line-height: 1.75;
}

.roadmap {
  background: var(--paper);
  color: #0c0e10;
}

.roadmap .section-kicker {
  color: #bf6500;
}

.roadmap-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr;
  gap: 90px;
  align-items: end;
}

.roadmap h2 span {
  color: #077f97;
}

.roadmap-heading > p {
  margin: 0;
  color: #63696c;
  padding-bottom: 8px;
}

.steps {
  margin-top: 85px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(10, 14, 16, 0.18);
}

.step {
  position: relative;
  padding: 34px 40px 0 0;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
}

.step:not(:last-child) {
  border-right: 1px solid rgba(10, 14, 16, 0.14);
}

.step + .step {
  padding-left: 36px;
}

.step-marker {
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(10, 14, 16, 0.24);
  font-family: var(--font-geist-mono), monospace;
  font-size: 11px;
}

.step-marker i {
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d36e00;
}

.step small {
  display: block;
  margin-bottom: 14px;
  color: #b45d00;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step p {
  color: #666c6f;
}

.community {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, #071015 0%, rgba(7, 16, 21, 0.97) 52%, rgba(8, 12, 14, 0.78) 100%),
    var(--panel);
}

.community::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.018) 61px 62px);
}

.community-content {
  position: relative;
  z-index: 2;
  width: 62%;
}

.community h2 {
  font-size: clamp(48px, 5.2vw, 82px);
}

.community-content > p {
  max-width: 620px;
  margin: 28px 0 34px;
}

.button-disabled {
  color: #7e8587;
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.025);
  cursor: not-allowed;
}

.button-disabled:hover {
  transform: none;
}

.community-logo {
  position: absolute;
  z-index: 1;
  width: min(46vw, 610px);
  right: 2%;
  bottom: -12%;
  opacity: 0.38;
  filter: saturate(0.8) drop-shadow(0 0 60px rgba(32, 185, 212, 0.16));
}

.community-moon {
  position: absolute;
  z-index: 0;
  right: 8%;
  top: 12%;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffce83, #b66c1d 47%, rgba(86, 51, 19, 0.2) 66%, transparent 69%);
  filter: blur(1px);
  opacity: 0.16;
}

footer {
  min-height: 105px;
  padding: 24px clamp(24px, 7vw, 120px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  color: #70777a;
  background: #030405;
  font-family: var(--font-geist-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-brand strong {
  color: var(--paper);
  font-size: 15px;
}

footer p {
  margin: 0;
  color: #9ba0a1;
}

footer > span:last-child {
  justify-self: end;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  to { transform: translateX(-35%); }
}

@media (max-width: 980px) {
  .site-header nav { display: none; }
  .hero {
    min-height: 860px;
    height: auto;
    grid-template-columns: 1fr;
    padding-top: 145px;
  }
  .hero-copy { z-index: 4; }
  .hero-mark {
    position: absolute;
    right: -13%;
    bottom: 0;
    width: min(72vw, 580px);
    opacity: 0.52;
  }
  .hero-mark .launch-card { display: none; }
  .manifesto-grid,
  .roadmap-heading { grid-template-columns: 1fr; gap: 45px; }
  .manifesto-copy { max-width: 650px; }
  .pillars,
  .steps { grid-template-columns: 1fr; }
  .pillar { min-height: auto; padding: 35px 0 45px; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar + .pillar { padding-left: 0; }
  .step { padding: 30px 0 35px; border-right: 0 !important; border-bottom: 1px solid rgba(10, 14, 16, 0.13); }
  .step + .step { padding-left: 0; }
  .community-content { width: 75%; }
}

@media (max-width: 640px) {
  .site-header { height: 78px; padding-inline: 18px; }
  .brand img { width: 46px; height: 46px; }
  .brand strong { font-size: 17px; }
  .header-status { font-size: 8px; }
  .hero { min-height: 790px; padding: 125px 22px 75px; align-items: start; }
  .hero-copy { padding-top: 40px; }
  h1 { font-size: clamp(58px, 18vw, 78px); }
  .hero-lead { max-width: 92%; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 320px); }
  .hero-mark { width: 470px; right: -175px; bottom: -20px; opacity: 0.38; }
  .scroll-cue { display: none; }
  .section { padding: 85px 22px; }
  .manifesto h2, .roadmap h2, .community h2 { font-size: 48px; }
  .pillars { margin-top: 65px; }
  .community { min-height: 650px; align-items: flex-start; }
  .community-content { width: 100%; }
  .community-logo { width: 420px; right: -145px; bottom: -60px; opacity: 0.22; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; padding-block: 38px; }
  footer > span:last-child { justify-self: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
