:root {
  color-scheme: dark;
  --purple: #42285f;
  --green: #1d5746;
  --gold: #cbac54;
  --white: #fff;
  --dark: #1c1129;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--dark);
  color: var(--white);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2.5rem 1.25rem 3rem;
  background: radial-gradient(ellipse at 50% 0%, var(--purple), var(--dark) 75%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 34rem;
  aspect-ratio: 1;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.17;
  pointer-events: none;
}

.hero::before {
  top: -23rem;
  left: -22rem;
  box-shadow: 0 0 0 2.5rem var(--purple), 0 0 0 calc(2.5rem + 1px) var(--gold);
}

.hero::after {
  right: -29rem;
  bottom: -19rem;
  width: 42rem;
}

.hero-content {
  width: 100%;
  max-width: 62rem;
  text-align: center;
}

.logo {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 0 auto 1.75rem;
  filter: brightness(0) invert(1);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.065em;
}

h1 {
  margin: 0;
  font-size: clamp(3.75rem, 13vw, 8rem);
  font-weight: 800;
  line-height: 0.97;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--gold);
}

.support {
  max-width: 34rem;
  margin: 1.75rem auto;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.desktop-break {
  display: none;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  min-height: 3.75rem;
  padding: 1rem 1.25rem;
  border: 2px solid var(--gold);
  border-radius: 0.375rem;
  background: var(--gold);
  color: var(--dark);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.primary-link:hover {
  background: var(--dark);
  color: var(--gold);
}

.primary-link:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 5px;
}

.footer {
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--gold);
  background: var(--green);
  text-align: center;
}

.participation {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 1rem;
  font-weight: 700;
}

.footer p {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

@media (min-width: 48rem) {
  .hero {
    padding: 3rem 2rem 4rem;
  }

  .logo {
    width: 24rem;
    margin-bottom: 2rem;
  }

  .support {
    font-size: 1.25rem;
    margin-block: 2rem;
  }

  .desktop-break {
    display: initial;
  }

  .hero::before {
    left: -14rem;
  }

  .hero::after {
    right: -22rem;
  }

  .footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-inline: max(2rem, calc((100% - 72rem) / 2));
  }

  .footer p {
    margin: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: arrive 600ms ease-out both;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(0.75rem);
    }

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

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