@font-face {
  font-family: "Nunito";
  src: url("/assets/Nunito-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/assets/Nunito-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #121212;
  --surface: #1b1b1b;
  --surface-raised: #242424;
  --text: #f4f3f1;
  --muted: #a8a6a2;
  --blue: #80aef5;
  --orange: #f48755;
  --line: rgba(244, 243, 241, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "Nunito", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 23px;
  font-weight: 600;
  text-decoration: none;
}

.support-link,
footer a {
  color: var(--muted);
  text-decoration: none;
}

.support-link:hover,
footer a:hover {
  color: var(--text);
}

.hero {
  display: grid;
  min-height: min(760px, calc(100vh - 96px));
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: 60px;
  padding: 64px 0 112px;
}

.eyebrow,
.availability,
.number {
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 30px;
  font-size: clamp(54px, 7.6vw, 104px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.97;
}

.intro {
  max-width: 620px;
  margin-bottom: 44px;
  color: #d1cfcb;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.5;
}

.availability {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero-art {
  position: relative;
  display: grid;
  aspect-ratio: 1;
  place-items: center;
}

.hero-art::before {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 44%;
  background: radial-gradient(circle at 35% 28%, rgba(128, 174, 245, 0.23), transparent 58%),
    var(--surface);
  content: "";
  transform: rotate(9deg);
}

.hero-art img {
  position: relative;
  width: 56%;
  filter: drop-shadow(0 24px 52px rgba(0, 0, 0, 0.35));
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one {
  inset: 4%;
}

.orbit-two {
  inset: 17%;
  border-color: rgba(244, 135, 85, 0.2);
}

.path {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path article {
  min-height: 330px;
  padding: 52px 42px 56px;
}

.path article + article {
  border-left: 1px solid var(--line);
}

.path h2 {
  margin: 52px 0 18px;
  font-size: 30px;
  font-weight: 600;
}

.path p,
.closing p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.closing {
  display: grid;
  min-height: 590px;
  align-content: center;
  justify-items: center;
  padding: 100px 20px;
  text-align: center;
}

.closing h2 {
  max-width: 720px;
  margin: 32px 0 18px;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.closing p {
  max-width: 580px;
}

footer {
  display: flex;
  min-height: 116px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 820px) {
  .site-header,
  main,
  footer {
    width: min(100% - 32px, 680px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 72px 0 92px;
  }

  .hero-art {
    width: min(100%, 440px);
    margin: 16px auto 0;
  }

  .path {
    grid-template-columns: 1fr;
  }

  .path article {
    min-height: auto;
    padding: 40px 8px 44px;
  }

  .path article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .path h2 {
    margin-top: 28px;
  }
}

@media (max-width: 520px) {
  .site-header {
    min-height: 80px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 68px);
  }

  .intro {
    font-size: 19px;
  }

  .closing {
    min-height: 480px;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-art {
    animation: reveal 700ms cubic-bezier(0.42, 0, 0.22, 1) both;
  }

  .hero-art {
    animation-delay: 100ms;
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
