:root {
  --ink: #f7fbff;
  --muted: #b9c6e8;
  --space: #030713;
  --panel: rgba(5, 11, 28, 0.78);
  --edge: rgba(142, 220, 255, 0.25);
  --cyan: #16ecff;
  --blue: #1f64ff;
  --violet: #7248ff;
  --moon: #b8b0a6;
  --white: #f7feff;
  --radius: 8px;
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 76% 10%, rgba(22, 236, 255, 0.22), transparent 28rem),
    radial-gradient(circle at 12% 18%, rgba(114, 72, 255, 0.26), transparent 30rem),
    linear-gradient(140deg, #02040c 0%, #050819 48%, #02030a 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(22, 236, 255, 0.62) 0 1px, transparent 1.4px);
  background-position:
    0 0,
    44px 61px;
  background-size:
    136px 136px,
    211px 211px;
  opacity: 0.22;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
}

.topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1180px, calc(100% - 32px));
  padding: 10px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: rgba(3, 7, 19, 0.7);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

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

.brand {
  gap: 12px;
  min-width: 0;
}

.brand-moon {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 65% 35%, #ffffff 0 18%, #d8f3ff 19% 33%, #1d78ff 34% 60%, #051023 61% 100%);
  box-shadow: 0 0 34px rgba(22, 236, 255, 0.38);
}

.brand-moon::after {
  position: absolute;
  right: 25px;
  bottom: 7px;
  width: 42px;
  height: 5px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--violet), var(--cyan));
  transform: rotate(-28deg);
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
}

.nav-links {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a,
.actions a,
.pad-links a,
.copy-button {
  min-height: 42px;
  border: 1px solid rgba(142, 220, 255, 0.3);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(10, 20, 44, 0.74);
  font-weight: 850;
  letter-spacing: 0;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}

.nav-links a:hover,
.actions a:hover,
.pad-links a:hover,
.copy-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(20, 36, 76, 0.82);
  box-shadow: 0 0 34px rgba(22, 236, 255, 0.22);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  margin: 0 calc(50% - 50vw);
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 4, 12, 0.86) 0%, rgba(2, 4, 12, 0.48) 36%, rgba(2, 4, 12, 0.12) 70%),
    linear-gradient(0deg, rgba(2, 4, 12, 0.94) 0%, rgba(2, 4, 12, 0.18) 42%, rgba(2, 4, 12, 0.18) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 128px 0 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 11ch;
  margin-bottom: 16px;
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: 0 0 28px rgba(22, 236, 255, 0.36);
}

.ticker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 22px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  color: #04101b;
  background: linear-gradient(110deg, #fff, var(--cyan), var(--violet));
  font-weight: 950;
  box-shadow: 0 0 34px rgba(22, 236, 255, 0.28);
}

.summary {
  max-width: 34rem;
  margin-bottom: 26px;
  color: #e1e9ff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.65;
}

.actions {
  gap: 10px;
  flex-wrap: wrap;
}

.actions a,
.pad-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.actions .primary {
  color: #03101b;
  background: linear-gradient(120deg, #fff, var(--cyan), var(--violet));
  border-color: rgba(255, 255, 255, 0.68);
}

.moon-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.54fr);
  gap: clamp(22px, 5vw, 62px);
  align-items: center;
  padding: clamp(44px, 8vw, 92px) 0;
}

.panel-copy {
  padding: clamp(26px, 5vw, 54px);
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(22, 236, 255, 0.12), transparent 36%),
    linear-gradient(310deg, rgba(114, 72, 255, 0.18), transparent 38%),
    var(--panel);
}

.panel-copy h2,
.link-pad h2 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5.6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.panel-copy p:not(.eyebrow) {
  max-width: 68ch;
  margin-bottom: 24px;
  color: #d6e0f5;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
  line-height: 1.76;
}

.copy-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  cursor: pointer;
}

.copy-button span {
  color: var(--muted);
}

.portrait {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: rgba(8, 14, 34, 0.74);
  box-shadow: 0 0 80px rgba(22, 236, 255, 0.15);
}

.portrait img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
}

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

.cards article {
  min-height: 206px;
  padding: 24px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(12, 28, 65, 0.72), rgba(5, 10, 28, 0.88)),
    var(--panel);
}

.cards span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cards h3 {
  margin: 22px 0 10px;
  font-size: 1.5rem;
}

.cards p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.link-pad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(44px, 7vw, 82px) 0 38px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(142, 220, 255, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(22, 236, 255, 0.14), rgba(114, 72, 255, 0.17), transparent),
    rgba(4, 9, 25, 0.82);
}

.link-pad h2 {
  margin-bottom: 0;
}

.pad-links {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pad-links a {
  min-width: 116px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 36px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .moon-panel,
  .cards {
    grid-template-columns: 1fr;
  }

  .link-pad {
    align-items: flex-start;
    flex-direction: column;
  }

  .pad-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .nav-links {
    justify-content: stretch;
  }

  .nav-links a {
    flex: 1;
  }

  .hero-content {
    padding-top: 156px;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
  }

  .actions a,
  .pad-links a,
  .copy-button {
    width: 100%;
  }
}
