@font-face {
  font-family: Urbanist;
  src: url('/assets/urbanist.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #100b1b;
  --panel: #1d132c;
  --border: #493963;
  --ink: #fbf6ff;
  --soft: #dbcee8;
  --lilac: #d6bdff;
  font-family: Urbanist, system-ui, sans-serif;
  background: var(--background);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
p, h1, h2, dl, dd { margin: 0; }
.frame { width: min(100% - 3rem, 66rem); margin-inline: auto; }

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .55rem 1.25rem;
  min-height: 4.65rem;
  padding-block: .75rem;
}

.masthead p { color: var(--soft); font-size: .94rem; font-weight: 650; }
.brand {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: var(--ink);
  font-weight: 850;
  font-size: 1.25rem;
  text-decoration: none;
}

.brand img { display: block; border-radius: .65rem; }
a:focus-visible { outline: 2px solid var(--lilac); outline-offset: 5px; border-radius: .35rem; }

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 22rem;
  padding: clamp(1.35rem, 4vw, 2.85rem);
  border: 1px solid var(--border);
  border-radius: 1.65rem;
  background: #171022;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #171022 20%, #171022 49%, transparent 73%), url('/assets/cosmic-orbit.webp') right -1.7rem center / auto 140% no-repeat;
}

.hero-copy { width: min(100%, 34rem); }
.wordmark {
  width: 11.65rem;
  max-width: 100%;
  background: #fbf6ff;
  padding: .6rem .8rem;
  border-radius: .5rem;
  margin-bottom: 1.05rem;
}

.wordmark img { display: block; width: 100%; height: auto; }
h1 { font-size: clamp(2.55rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -.043em; font-weight: 850; }
h1 span { display: block; color: var(--lilac); }
.hero-copy p { max-width: 29rem; margin-top: 1rem; color: var(--soft); font-size: 1.04rem; line-height: 1.5; }

.numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin-top: .75rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: var(--panel);
}

.numbers > div { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .45rem 1.15rem; padding: .9rem clamp(1.05rem, 3.6vw, 2rem); }
.numbers > div + div { border-left: 1px solid var(--border); }
.numbers dt { color: var(--soft); font-size: .98rem; line-height: 1.35; overflow-wrap: anywhere; }
.numbers dd { grid-area: 1 / 1; color: var(--lilac); font-size: clamp(2.4rem, 4.8vw, 3.15rem); font-weight: 850; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.numbers dd span { color: var(--ink); font-size: .5em; font-weight: 700; }

.agent {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
  align-items: center;
  gap: .65rem 1.75rem;
  margin-block: 1.2rem 1rem;
  padding-left: 1rem;
  border-left: 3px solid #a47af5;
}

.agent h2 { font-size: clamp(1.42rem, 2.85vw, 1.85rem); font-weight: 850; line-height: 1.09; letter-spacing: -.025em; }
.agent p { max-width: 52ch; color: var(--soft); font-size: 1.04rem; line-height: 1.5; }
footer { border-top: 1px solid var(--border); color: var(--soft); padding: .8rem 0 1rem; font-size: .875rem; line-height: 1.45; }

@media (46rem < width < 60rem) {
  .hero-copy { width: min(100%, 29rem); }
  .hero::before { background-position: center, right -5rem center; }
}

@media (max-width: 46rem) {
  .frame { width: calc(100% - 2rem); }
  .masthead { min-height: 4.25rem; }
  .hero { align-items: end; min-height: 0; padding-top: clamp(7rem, 29vw, 12rem); }
  .hero::before { background: linear-gradient(0deg, #171022 49%, transparent 88%), url('/assets/cosmic-orbit.webp') 88% -1.5rem / auto clamp(13rem, 57vw, 21rem) no-repeat; }
  h1 span { font-size: .91em; text-wrap: balance; }
  .numbers > div { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .agent { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 24rem) {
  .frame { width: calc(100% - 1.5rem); }
  h1 { font-size: clamp(2rem, 10.3vw, 2.55rem); }
  .numbers > div { padding-inline: .75rem; }
}
