.is-marketing {
  scroll-behavior: smooth;
  background: #050608;
}

.is-marketing #app { display: none !important; }
.is-portal #interstellar-site { display: none !important; }

#interstellar-site {
  --mk-ink: #0b0c0f;
  --mk-paper: #f4f4f0;
  --mk-muted: #686c73;
  --mk-line: rgba(11,12,15,.13);
  --mk-space: #06070a;
  --mk-cyan: #8bdfff;
  min-height: 100vh;
  width: 100%;
  overflow-x: clip;
  color: var(--mk-ink);
  background: var(--mk-paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#interstellar-site *,
#interstellar-site *::before,
#interstellar-site *::after { box-sizing: border-box; }
#interstellar-site a { color: inherit; text-decoration: none; }
#interstellar-site a:focus-visible {
  outline: 3px solid #6d5cff;
  outline-offset: 4px;
}
.mk-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  color: #fff !important;
  background: #0b0c0f;
  border-radius: 4px;
  transform: translateY(-160%);
}
.mk-skip:focus { transform: translateY(0); }
#mission,
#mars,
#roadmap { scroll-margin-top: 76px; }

.mk-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 78px;
  padding: 0 clamp(24px,4.4vw,72px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg,rgba(2,3,6,.72),rgba(2,3,6,.16));
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

.mk-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: start;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .1em;
}

.mk-brand img {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 16px rgba(112,113,255,.35));
}

.mk-header nav {
  display: flex;
  align-items: center;
  gap: 38px;
  height: 100%;
  font-size: 12px;
  letter-spacing: .12em;
}

.mk-header nav a {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  opacity: .64;
  transition: opacity .25s ease;
}

.mk-header nav a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: #fff;
  transform: scaleX(0);
  transition: transform .25s ease;
}

.mk-header nav a:hover,
.mk-header nav a.is-active { opacity: 1; }
.mk-header nav a:hover::after,
.mk-header nav a.is-active::after { transform: scaleX(1); }

.mk-pill {
  justify-self: end;
  padding: 10px 17px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .09em;
  background: rgba(255,255,255,.08);
  transition: border-color .25s ease, background .25s ease;
}

.mk-pill:hover {
  border-color: rgba(255,255,255,.72);
  background: rgba(255,255,255,.14);
}

.mk-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  background: #020306;
}

.mk-hero-media,
.mk-mars-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: center;
  background-size: cover;
  animation: mk-push 18s ease-out both;
  transform-origin: center;
}

.mk-hero-media {
  filter: saturate(.88) contrast(1.03);
}

@keyframes mk-push {
  from { transform: scale(1.055); }
  to { transform: scale(1.005); }
}

.mk-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.28) 51%,rgba(0,0,0,.08) 75%),
    linear-gradient(0deg,rgba(0,0,0,.76) 0%,transparent 58%),
    linear-gradient(180deg,rgba(0,0,0,.32),transparent 30%);
}

.mk-hero-copy {
  position: relative;
  z-index: 2;
  width: min(730px,86vw);
  margin: 0 0 clamp(68px,9vh,104px) clamp(24px,8vw,132px);
}

.mk-eyebrow {
  margin: 0 0 22px;
  font-family: "SFMono-Regular",Consolas,monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
}

.mk-dark { color: #6c7076; }

.mk-hero h1,
.mk-mars h2,
.mk-roadmap h2,
.mk-join h2 {
  margin: 0;
  font-size: clamp(52px,7vw,104px);
  font-weight: 510;
  line-height: .97;
  letter-spacing: -.065em;
}

.mk-lede {
  max-width: 580px;
  margin: 29px 0 27px;
  color: rgba(255,255,255,.74);
  font-size: clamp(15px,1.4vw,19px);
  line-height: 1.78;
}

.mk-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
  font-size: 13px;
  font-weight: 600;
}

.mk-link span,
.mk-outline span,
.mk-primary span { transition: transform .2s ease; }
.mk-link:hover span,
.mk-outline:hover span,
.mk-primary:hover span { transform: translateX(4px); }
.mk-light { color: #fff !important; }

.mk-scroll {
  position: absolute;
  right: clamp(24px,4.4vw,72px);
  bottom: 42px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.54);
  font-size: 9px;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
}

.mk-scroll i {
  width: 1px;
  height: 62px;
  background: rgba(255,255,255,.38);
}

.mk-section { padding: clamp(92px,10vw,150px) clamp(24px,8vw,132px); }

.mk-manifesto {
  position: relative;
  display: grid;
  grid-template-columns: minmax(44px,.18fr) minmax(0,1fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 18%,rgba(112,129,255,.11),transparent 24rem),
    var(--mk-paper);
}

.mk-manifesto::after {
  position: absolute;
  top: -210px;
  right: -170px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(40,46,63,.1);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 54px rgba(255,255,255,.18);
}

.mk-index {
  position: relative;
  z-index: 1;
  padding-top: 3px;
  color: #8c9097;
  font: 11px "SFMono-Regular",Consolas,monospace;
}

.mk-manifesto-body {
  position: relative;
  z-index: 1;
  max-width: 1180px;
}

.mk-manifesto h2,
.mk-section-head h2 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(40px,5.3vw,78px);
  font-weight: 520;
  line-height: 1.08;
  letter-spacing: -.055em;
}

.mk-columns {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: clamp(34px,6vw,88px);
  max-width: 930px;
  margin: 60px 0 0 auto;
  color: #60646b;
  font-size: 14px;
  line-height: 1.9;
}

.mk-columns p {
  position: relative;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--mk-line);
}

.mk-columns p > span {
  display: block;
  margin-bottom: 17px;
  color: #979ba1;
  font: 9px "SFMono-Regular",Consolas,monospace;
  letter-spacing: .16em;
}

.mk-orbit-note {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 54px;
  color: #868a90;
  font: 10px "SFMono-Regular",Consolas,monospace;
  letter-spacing: .08em;
}

.mk-orbit-note i {
  position: relative;
  width: 7px;
  height: 7px;
  border: 1px solid #525861;
  border-radius: 50%;
}

.mk-orbit-note i::after {
  position: absolute;
  top: 2px;
  left: 12px;
  width: 58px;
  height: 1px;
  content: "";
  background: var(--mk-line);
}

.mk-orbit-note span { margin-left: 58px; }

.mk-stats {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  padding: 0 clamp(24px,8vw,132px);
  border-top: 1px solid var(--mk-line);
  border-bottom: 1px solid var(--mk-line);
  background: #eaeae6;
}

.mk-stats article {
  position: relative;
  padding: 45px clamp(18px,3vw,44px);
  border-right: 1px solid var(--mk-line);
}

.mk-stats article:first-child { padding-left: 0; }
.mk-stats article:last-child {
  padding-right: 0;
  border-right: 0;
}

.mk-stats strong,
.mk-stats span { display: block; }

.mk-stats strong {
  margin-bottom: 10px;
  font-size: clamp(32px,3.5vw,52px);
  font-weight: 500;
  letter-spacing: -.055em;
}

.mk-stats span {
  color: #72767d;
  font-size: 9px;
  letter-spacing: .14em;
}

.mk-mars {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(680px,78vw,820px);
  overflow: hidden;
  color: #fff;
  background: #150a05;
}

.mk-mars-media {
  background-position: center 52%;
  filter: saturate(.84) contrast(1.04);
}

.mk-mars-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.76) 0%,rgba(0,0,0,.18) 55%,rgba(0,0,0,.05)),
    linear-gradient(0deg,rgba(0,0,0,.77) 0%,transparent 62%),
    linear-gradient(180deg,rgba(0,0,0,.32),transparent 28%);
}

.mk-mars-copy {
  position: relative;
  z-index: 2;
  width: min(760px,68vw);
  margin: 0 0 clamp(62px,8vw,102px) clamp(24px,8vw,132px);
}

.mk-mars h2 { font-size: clamp(49px,6vw,88px); }

.mk-mars-copy > p:not(.mk-eyebrow) {
  max-width: 590px;
  margin: 27px 0 30px;
  color: rgba(255,255,255,.73);
  font-size: 15px;
  line-height: 1.82;
}

.mk-mars-coordinate {
  position: absolute;
  top: 110px;
  right: clamp(24px,4.4vw,72px);
  z-index: 2;
  display: flex;
  gap: 18px;
  color: rgba(255,255,255,.58);
  font: 9px "SFMono-Regular",Consolas,monospace;
  letter-spacing: .14em;
}

.mk-mars-coordinate::before {
  width: 36px;
  height: 1px;
  margin-top: 5px;
  content: "";
  background: rgba(255,255,255,.35);
}

.mk-mars-caption {
  position: absolute;
  right: clamp(24px,4.4vw,72px);
  bottom: 62px;
  z-index: 2;
  display: grid;
  gap: 8px;
  text-align: right;
}

.mk-mars-caption span {
  color: rgba(255,255,255,.5);
  font: 9px "SFMono-Regular",Consolas,monospace;
  letter-spacing: .16em;
}

.mk-mars-caption strong {
  font-size: 11px;
  letter-spacing: .18em;
}

.mk-outline,
.mk-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease;
}

.mk-outline:hover {
  color: #08090b !important;
  background: #fff;
}

.mk-section-head {
  display: grid;
  grid-template-columns: 1.55fr .65fr;
  gap: 8vw;
  align-items: end;
}

.mk-section-head > p {
  max-width: 390px;
  margin: 0;
  color: #666a70;
  font-size: 14px;
  line-height: 1.9;
}

.mk-systems { background: #f7f7f4; }

.mk-system-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 76px;
  border-top: 1px solid var(--mk-line);
  border-bottom: 1px solid var(--mk-line);
}

.mk-system-grid article {
  position: relative;
  min-height: 300px;
  padding: 30px 32px 38px;
  border-right: 1px solid var(--mk-line);
  transition: background .3s ease, transform .3s ease;
}

.mk-system-grid article:hover {
  z-index: 1;
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(22,24,30,.08);
}

.mk-system-grid article:last-child { border-right: 0; }
.mk-system-grid span {
  color: #93979d;
  font: 9px "SFMono-Regular",Consolas,monospace;
  letter-spacing: .14em;
}

.mk-system-grid h3 {
  margin: 58px 0 17px;
  font-size: 34px;
  font-weight: 520;
  letter-spacing: -.04em;
}

.mk-system-grid p {
  max-width: 300px;
  margin: 0;
  color: #6b6f75;
  font-size: 13px;
  line-height: 1.85;
}

.mk-roadmap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px,.82fr) minmax(480px,1.18fr);
  gap: clamp(60px,9vw,148px);
  padding: clamp(96px,11vw,148px) clamp(24px,8vw,132px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 7% 86%,rgba(64,82,180,.23),transparent 29rem),
    radial-gradient(circle at 92% 12%,rgba(62,137,185,.11),transparent 22rem),
    #08090c;
}

.mk-roadmap::before {
  position: absolute;
  top: -330px;
  left: 27%;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  content: "";
}

.mk-roadmap-title {
  position: relative;
  z-index: 1;
  align-self: start;
}

.mk-roadmap h2 {
  max-width: 630px;
  font-size: clamp(46px,5.5vw,78px);
}

.mk-roadmap-title > p:last-child {
  max-width: 430px;
  margin: 28px 0 0;
  color: #8b8f98;
  font-size: 12px;
  line-height: 1.85;
}

.mk-timeline {
  position: relative;
  z-index: 1;
}

.mk-timeline::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 69px;
  width: 1px;
  content: "";
  background: linear-gradient(180deg,var(--mk-cyan),rgba(139,223,255,.1));
}

.mk-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 78px 56px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 150px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}

.mk-timeline article:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }

.mk-timeline article > span {
  padding-top: 8px;
  color: #747983;
  font: 8px "SFMono-Regular",Consolas,monospace;
  letter-spacing: .12em;
}

.mk-phase-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  margin-left: -23px;
  color: #d9f5ff;
  border: 1px solid rgba(139,223,255,.72);
  border-radius: 50%;
  background: #0a0d12;
  box-shadow: 0 0 22px rgba(139,223,255,.14);
  font: 8px "SFMono-Regular",Consolas,monospace;
}

.mk-timeline h3 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 510;
  letter-spacing: -.035em;
}

.mk-timeline p {
  max-width: 410px;
  margin: 0;
  color: #92969f;
  font-size: 13px;
  line-height: 1.82;
}

.mk-join {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 680px;
  padding: 96px 24px;
  overflow: hidden;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 50% 48%,rgba(75,85,207,.25),transparent 30rem),
    #020307;
}

.mk-join::before,
.mk-join::after {
  position: absolute;
  width: 640px;
  height: 640px;
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 50%;
  content: "";
}

.mk-join::after {
  width: 450px;
  height: 450px;
}

.mk-join > * { position: relative; z-index: 1; }
.mk-join > img {
  width: 62px;
  height: 62px;
  margin-bottom: 28px;
  filter: drop-shadow(0 0 26px rgba(112,113,255,.45));
}

.mk-join h2 { font-size: clamp(54px,7.2vw,96px); }
.mk-join > p:not(.mk-eyebrow) {
  margin: 25px 0 0;
  color: #9b9faa;
  font-size: 14px;
}

.mk-join > div {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-top: 37px;
}

.mk-primary {
  min-width: 148px;
  color: #08090b !important;
  background: #fff;
}

.mk-primary:hover { background: #e5f7ff; }

.mk-footer {
  padding: 58px clamp(24px,8vw,132px) 32px;
  color: #9a9ea7;
  border-top: 1px solid rgba(255,255,255,.1);
  background: #08090b;
}

.mk-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  letter-spacing: .08em;
}

.mk-footer-brand img { width: 30px; height: 30px; }
.mk-footer > p {
  max-width: 700px;
  margin: 27px 0 48px;
  font-size: 11px;
  line-height: 1.8;
}

.mk-footer > div:last-child {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.09);
  font: 9px "SFMono-Regular",Consolas,monospace;
  letter-spacing: .1em;
}

@media (max-width: 980px) {
  .mk-header { grid-template-columns: 1fr auto; }
  .mk-header nav { display: none; }
  .mk-manifesto,
  .mk-section-head,
  .mk-roadmap { grid-template-columns: 1fr; }
  .mk-index { display: none; }
  .mk-columns { margin-left: 0; }
  .mk-mars-copy { width: min(700px,78vw); }
  .mk-section-head { gap: 36px; }
  .mk-section-head > p { max-width: 600px; }
  .mk-system-grid { grid-template-columns: 1fr; }
  .mk-system-grid article {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--mk-line);
  }
  .mk-system-grid article:last-child { border-bottom: 0; }
  .mk-system-grid h3 { margin-top: 38px; }
  .mk-roadmap { gap: 58px; }
  .mk-roadmap-title { max-width: 760px; }
  .mk-timeline { max-width: 760px; }
  .mk-hero-copy,
  .mk-mars-copy { margin-left: clamp(24px,7vw,64px); }
}

@media (max-width: 680px) {
  #mission,
  #mars,
  #roadmap { scroll-margin-top: 66px; }
  .mk-header {
    height: 66px;
    padding: 0 20px;
  }
  .mk-brand { gap: 8px; }
  .mk-brand span { font-size: 12px; }
  .mk-brand img { width: 29px; height: 29px; }
  .mk-pill {
    padding: 8px 12px;
    font-size: 10px;
  }
  .mk-hero { min-height: max(650px,100svh); }
  .mk-hero-media { background-position: 62% center; }
  .mk-hero-copy {
    width: calc(100% - 40px);
    margin: 0 20px 54px;
  }
  .mk-hero h1 {
    font-size: clamp(47px,14.5vw,64px);
    line-height: 1;
  }
  .mk-lede {
    max-width: 94%;
    margin: 22px 0 21px;
    font-size: 14px;
    line-height: 1.7;
  }
  .mk-scroll { display: none; }
  .mk-section { padding: 78px 22px; }
  .mk-manifesto h2 {
    font-size: clamp(33px,8.8vw,40px);
    line-height: 1.12;
  }
  .mk-section-head h2 {
    font-size: clamp(35px,9.4vw,44px);
    line-height: 1.12;
  }
  .mk-manifesto::after {
    top: -130px;
    right: -170px;
    width: 330px;
    height: 330px;
  }
  .mk-columns {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 42px;
    font-size: 13px;
  }
  .mk-orbit-note {
    align-items: flex-start;
    margin-top: 40px;
    line-height: 1.6;
  }
  .mk-stats {
    grid-template-columns: repeat(2,1fr);
    padding: 0 22px;
  }
  .mk-stats article {
    padding: 30px 16px;
  }
  .mk-stats article:first-child { padding-left: 0; }
  .mk-stats article:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }
  .mk-stats article:nth-child(-n+2) { border-bottom: 1px solid var(--mk-line); }
  .mk-stats article:nth-child(3) { padding-left: 0; }
  .mk-stats strong { font-size: 34px; }
  .mk-mars { min-height: 690px; }
  .mk-mars-media { background-position: 66% center; }
  .mk-mars-shade {
    background:
      linear-gradient(0deg,rgba(0,0,0,.87) 0%,rgba(0,0,0,.28) 66%,rgba(0,0,0,.18)),
      linear-gradient(90deg,rgba(0,0,0,.45),transparent);
  }
  .mk-mars-copy {
    width: calc(100% - 44px);
    margin: 0 22px 56px;
  }
  .mk-mars h2 {
    font-size: clamp(36px,9.8vw,44px);
    line-height: 1.04;
  }
  .mk-mars-copy > p:not(.mk-eyebrow) {
    font-size: 14px;
    line-height: 1.72;
  }
  .mk-mars-coordinate {
    top: 90px;
    right: 20px;
  }
  .mk-mars-coordinate span:last-child { display: none; }
  .mk-mars-caption { display: none; }
  .mk-system-grid { margin-top: 54px; }
  .mk-system-grid article { padding: 26px 24px 32px; }
  .mk-system-grid h3 {
    margin-top: 34px;
    font-size: 31px;
  }
  .mk-roadmap {
    padding: 82px 22px;
    gap: 48px;
  }
  .mk-roadmap h2 {
    font-size: clamp(40px,12vw,53px);
    line-height: 1.06;
  }
  .mk-timeline::before { left: 47px; }
  .mk-timeline article {
    grid-template-columns: 57px 42px 1fr;
    gap: 9px;
    min-height: 168px;
    padding: 26px 0;
  }
  .mk-phase-mark {
    width: 27px;
    height: 27px;
    margin-left: -19px;
  }
  .mk-timeline h3 { font-size: 25px; }
  .mk-timeline p {
    font-size: 12px;
    line-height: 1.7;
  }
  .mk-join {
    min-height: 620px;
    padding: 78px 22px;
  }
  .mk-join h2 {
    font-size: clamp(46px,13.5vw,62px);
    line-height: 1;
  }
  .mk-join > div {
    flex-direction: column;
    gap: 24px;
  }
  .mk-footer > div:last-child {
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .is-marketing { scroll-behavior: auto; }
  #interstellar-site *,
  #interstellar-site *::before,
  #interstellar-site *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
