:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #03070e;
  color: #f4fbff;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 59, 50, 0.18), transparent 22rem),
    radial-gradient(circle at 76% 22%, rgba(70, 255, 141, 0.13), transparent 24rem),
    radial-gradient(circle at 50% 86%, rgba(42, 22, 68, 0.4), transparent 30rem),
    linear-gradient(145deg, #03070e 0%, #07131d 48%, #050713 100%);
  overflow: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(244, 251, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 251, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95), transparent 72%);
}

#space-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 1.25rem max(1.25rem, 7vw);
  pointer-events: none;
}

.site-nav,
.site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.site-nav,
.site-actions,
.nav-button {
  pointer-events: auto;
}

.nav-button,
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid rgba(70, 255, 141, 0.72);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(70, 255, 141, 0.24), rgba(19, 114, 68, 0.34));
  box-shadow:
    0 0 28px rgba(70, 255, 141, 0.18),
    inset 0 1px 0 rgba(244, 251, 255, 0.22);
  color: #f4fbff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  pointer-events: auto;
}

.nav-button {
  border-color: rgba(244, 251, 255, 0.22);
  background: rgba(3, 7, 14, 0.58);
  box-shadow: inset 0 1px 0 rgba(244, 251, 255, 0.12);
  color: #c9d8de;
}

.nav-button:hover,
.nav-button:focus-visible,
.nav-button.active {
  border-color: rgba(244, 251, 255, 0.48);
  background: rgba(244, 251, 255, 0.12);
  color: #f4fbff;
  outline: none;
}

.download-button:hover,
.download-button:focus-visible {
  border-color: #46ff8d;
  background: linear-gradient(180deg, rgba(70, 255, 141, 0.34), rgba(19, 114, 68, 0.46));
  box-shadow:
    0 0 34px rgba(70, 255, 141, 0.28),
    inset 0 1px 0 rgba(244, 251, 255, 0.28);
  outline: none;
}

.download-button.secondary {
  border-color: rgba(255, 59, 50, 0.68);
  background: linear-gradient(180deg, rgba(255, 59, 50, 0.24), rgba(104, 23, 39, 0.36));
  box-shadow:
    0 0 28px rgba(255, 59, 50, 0.18),
    inset 0 1px 0 rgba(244, 251, 255, 0.18);
}

.download-button.secondary:hover,
.download-button.secondary:focus-visible {
  border-color: #ff3b32;
  background: linear-gradient(180deg, rgba(255, 59, 50, 0.34), rgba(104, 23, 39, 0.48));
  box-shadow:
    0 0 34px rgba(255, 59, 50, 0.28),
    inset 0 1px 0 rgba(244, 251, 255, 0.24);
}

main {
  position: relative;
  z-index: 10;
  display: grid;
  min-height: 100vh;
  place-items: center start;
  padding: 4rem max(1.25rem, 7vw);
}

.hero {
  position: relative;
  z-index: 11;
  width: min(100%, 58rem);
  color: #f4fbff;
  text-shadow: 0 0 34px rgba(4, 12, 22, 0.96);
}

.hero::before {
  position: absolute;
  inset: -3rem -4rem;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: radial-gradient(ellipse at left, rgba(3, 7, 14, 0.76), rgba(3, 7, 14, 0.32) 48%, transparent 72%);
  filter: blur(2px);
}

.eyebrow {
  margin: 0 0 1rem;
  color: #46ff8d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  color: #f4fbff;
  font-size: clamp(4rem, 11vw, 7rem);
  line-height: 0.9;
  text-shadow:
    0 0 18px rgba(70, 255, 141, 0.16),
    0 0 44px rgba(255, 59, 50, 0.18);
}

.lede {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: #c9d8de;
  font-size: 1.35rem;
  line-height: 1.6;
}

.about-page h1 {
  max-width: 13ch;
}

.secondary-lede {
  max-width: 38rem;
  margin-top: 1rem;
  color: #9fb2bb;
  font-size: 1.08rem;
}

@media (max-width: 42rem) {
  .site-header {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 1rem 1.25rem;
  }

  .site-actions {
    width: 100%;
  }

  main {
    place-items: end start;
    padding: 3rem 1.25rem;
  }

  h1 {
    font-size: 4rem;
  }

  .lede {
    font-size: 1.1rem;
  }
}
