@font-face {
  font-family: "Swap Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: local("Inter"), local("Helvetica Neue"), local("Arial");
}

:root {
  color-scheme: dark;
  font-family: "Swap Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  --ink: #f6f5ef;
  --muted: #aab8b9;
  --mint: #7cf8cf;
  --mint-soft: rgba(124, 248, 207, 0.18);
  --px: 0;
  --py: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #02090d;
}

body {
  min-height: 100svh;
  overflow: hidden;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.launch {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: max(32px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right))
    max(32px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
}

.launch__art,
.launch__art img,
.launch__veil,
.launch__glow,
.launch__grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.launch__art {
  z-index: -5;
  overflow: hidden;
  background: #031016;
}

.launch__art img {
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) contrast(1.04) brightness(0.72);
  transform: scale(1.035)
    translate3d(calc(var(--px) * -7px), calc(var(--py) * -5px), 0);
  animation: world-breathe 14s ease-in-out infinite alternate;
  will-change: transform;
}

.launch__veil {
  z-index: -4;
  background:
    radial-gradient(circle at 50% 48%, rgba(0, 15, 22, 0.18) 0 18%, rgba(0, 7, 12, 0.6) 63%),
    linear-gradient(180deg, rgba(1, 7, 12, 0.34), rgba(1, 8, 12, 0.08) 38%, rgba(1, 7, 10, 0.58));
}

.launch__glow {
  z-index: -3;
  opacity: 0.72;
  background:
    radial-gradient(circle at 50% 48%, rgba(43, 213, 169, 0.15), transparent 26%),
    radial-gradient(circle at 50% 84%, rgba(236, 181, 73, 0.08), transparent 34%);
  transform: translate3d(calc(var(--px) * 9px), calc(var(--py) * 7px), 0);
  will-change: transform;
}

.launch__grain {
  z-index: -2;
  pointer-events: none;
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.launch__content {
  display: flex;
  width: min(680px, 100%);
  align-items: center;
  flex-direction: column;
  text-align: center;
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.8);
}

.launch__logo {
  width: min(390px, 74vw);
  height: auto;
  margin: 0 0 clamp(30px, 4vh, 48px);
  filter: drop-shadow(0 12px 34px rgba(0, 0, 0, 0.72));
}

.launch__eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1.4;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 8vw, 116px);
  font-weight: 760;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.launch__intro {
  max-width: 550px;
  margin: clamp(22px, 3vh, 34px) 0 0;
  color: rgba(235, 242, 240, 0.76);
  font-size: clamp(17px, 1.6vw, 22px);
  letter-spacing: -0.015em;
  line-height: 1.55;
}

.launch__action {
  position: relative;
  display: inline-flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(30px, 4vh, 46px);
  padding: 0 28px;
  overflow: hidden;
  border: 1px solid rgba(190, 255, 232, 0.58);
  border-radius: 999px;
  background: rgba(6, 30, 31, 0.58);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3) inset,
    0 22px 60px rgba(0, 0, 0, 0.35),
    0 0 38px var(--mint-soft);
  color: #f5fff9;
  font-size: 15px;
  font-weight: 740;
  letter-spacing: 0.015em;
  text-decoration: none;
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.launch__action::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 26%, rgba(255, 255, 255, 0.16), transparent 72%);
  content: "";
  transform: translateX(-130%);
  transition: transform 560ms ease;
}

.launch__action span,
.launch__action svg {
  position: relative;
  z-index: 1;
}

.launch__action svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.launch__action:hover {
  border-color: rgba(205, 255, 238, 0.98);
  background: rgba(18, 88, 73, 0.56);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 24px 70px rgba(0, 0, 0, 0.42),
    0 0 56px rgba(124, 248, 207, 0.24);
  transform: translateY(-2px);
}

.launch__action:hover::before {
  transform: translateX(130%);
}

.launch__action:active {
  transform: translateY(0) scale(0.985);
}

.launch__action:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 5px;
}

.launch__status {
  position: absolute;
  right: max(28px, env(safe-area-inset-right));
  bottom: max(25px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(217, 235, 230, 0.58);
}

.launch__status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 16px rgba(124, 248, 207, 0.9);
  animation: signal 2.4s ease-in-out infinite;
}

.launch__status p {
  margin: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

@keyframes world-breathe {
  from {
    transform: scale(1.035)
      translate3d(calc(var(--px) * -7px), calc(var(--py) * -5px), 0);
  }

  to {
    transform: scale(1.065)
      translate3d(calc(var(--px) * -7px), calc(var(--py) * -5px - 4px), 0);
  }
}

@keyframes signal {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (max-width: 700px), (orientation: portrait) {
  .launch {
    padding-top: max(34px, env(safe-area-inset-top));
    padding-bottom: max(38px, env(safe-area-inset-bottom));
  }

  .launch__art img {
    filter: saturate(0.84) contrast(1.06) brightness(0.62);
  }

  .launch__veil {
    background:
      radial-gradient(circle at 50% 48%, rgba(0, 13, 20, 0.1) 0 22%, rgba(0, 7, 11, 0.7) 67%),
      linear-gradient(180deg, rgba(0, 8, 13, 0.3), rgba(0, 9, 13, 0.08) 38%, rgba(0, 6, 9, 0.62));
  }

  .launch__content {
    transform: translateY(-2vh);
  }

  .launch__logo {
    width: min(310px, 72vw);
    margin-bottom: clamp(28px, 4vh, 44px);
  }

  .launch__eyebrow {
    max-width: 88vw;
    font-size: 10px;
    letter-spacing: 0.24em;
  }

  h1 {
    font-size: clamp(54px, 17vw, 82px);
  }

  .launch__intro {
    max-width: 340px;
    font-size: 16px;
    line-height: 1.5;
  }

  .launch__action {
    width: min(328px, 88vw);
    min-height: 60px;
    margin-top: 32px;
    background: rgba(4, 30, 30, 0.68);
  }

  .launch__status {
    right: 50%;
    bottom: max(18px, env(safe-area-inset-bottom));
    transform: translateX(50%);
    white-space: nowrap;
  }
}

@media (max-height: 680px) and (orientation: landscape) {
  .launch__logo {
    width: min(300px, 42vw);
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(52px, 9vw, 80px);
  }

  .launch__intro {
    margin-top: 18px;
  }

  .launch__action {
    min-height: 56px;
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .launch__art img,
  .launch__status span {
    animation: none;
  }

  .launch__art img,
  .launch__glow {
    transform: none;
  }

  .launch__action {
    transition: none;
  }
}
