:root {
  color-scheme: dark;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --space: #070514;
  --space-soft: #12082d;
  --cream: #fdf6e3;
  --violet: #705986;
  --violet-dark: #2c1652;
  --lime: #c9ff21;
  --blue: #497efa;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--space);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--cream);
  background:
    radial-gradient(circle at 74% 20%, rgba(112, 89, 134, 0.42), transparent 30%),
    radial-gradient(circle at 20% 75%, rgba(73, 126, 250, 0.13), transparent 34%),
    var(--space);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.78) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(201, 255, 33, 0.58) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(183, 133, 255, 0.82) 0 1px, transparent 1.7px);
  background-position: 0 0, 70px 40px, 19px 96px;
  background-size: 143px 151px, 193px 181px, 227px 211px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}

a {
  color: inherit;
}

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

.link-header,
.link-footer,
.link-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.link-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--cream);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
  text-transform: uppercase;
}

.brand span {
  color: var(--lime);
}

.header-store,
.secondary-link {
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.link-shell {
  min-height: calc(100vh - 178px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(44px, 7vw, 96px);
  padding: 64px 0 88px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.2rem, 6.4vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.lede {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(253, 246, 227, 0.78);
  font-size: clamp(1.08rem, 1.8vw, 1.35rem);
  line-height: 1.62;
}

.actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.open-button {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, #8247ba, #52307d);
  box-shadow: 0 16px 42px rgba(44, 22, 82, 0.42);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}

.open-button:hover,
.open-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lime);
}

.route-note {
  max-width: 600px;
  margin: 18px 0 0;
  color: rgba(253, 246, 227, 0.56);
  font-size: 0.84rem;
  line-height: 1.5;
}

.art-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 440px);
  justify-self: end;
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 1px solid rgba(253, 246, 227, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 18%, rgba(201, 255, 33, 0.13), transparent 28%),
    linear-gradient(145deg, rgba(112, 89, 134, 0.5), rgba(18, 8, 45, 0.94));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.art-card::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(201, 255, 33, 0.14);
  border-radius: 24px;
  pointer-events: none;
}

.art-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.35));
}

.art-card--phone img {
  width: auto;
  height: 92%;
}

.mission-nav {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid rgba(253, 246, 227, 0.12);
}

.mission-nav a {
  padding: 9px 12px;
  border: 1px solid rgba(253, 246, 227, 0.14);
  border-radius: 999px;
  color: rgba(253, 246, 227, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.mission-nav a[aria-current="page"],
.mission-nav a:hover,
.mission-nav a:focus-visible {
  border-color: rgba(201, 255, 33, 0.48);
  color: var(--lime);
}

.link-footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(253, 246, 227, 0.12);
  color: rgba(253, 246, 227, 0.58);
  font-size: 0.82rem;
}

.link-footer p {
  margin: 0;
}

.link-footer nav {
  display: flex;
  gap: 22px;
}

@media (max-width: 820px) {
  .link-header,
  .link-footer,
  .link-shell {
    width: min(100% - 32px, 620px);
  }

  .link-shell {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
  }

  .art-card {
    width: min(100%, 390px);
    justify-self: center;
    grid-row: 2;
  }

  .mission-nav {
    grid-row: 3;
  }
}

@media (max-width: 520px) {
  .header-store {
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.4rem);
  }

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

  .art-card {
    border-radius: 26px;
  }

  .link-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 24px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .open-button {
    transition: none;
  }
}
