:root {
  --background-start: #4810b8;
  --background-end: #7419c9;
  --text: #ffffff;
  --muted: #f0e7ff;
  --button-text: #3f0b9f;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background-start);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--background-start), var(--background-end));
  transition: background 500ms ease;
}

.hero {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 2.5rem 1.25rem;
  text-align: center;
}

.content {
  width: min(100%, 38rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 12vw, 6.2rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.98;
}

.subtitle {
  margin: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 3vw, 1.25rem);
  line-height: 1.5;
}

.change-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 0.7rem;
  background: #ffffff;
  color: var(--button-text);
  box-shadow: 0 0.8rem 2rem rgb(25 0 80 / 22%);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  line-height: 1.2;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.change-button:hover {
  background: #f7f2ff;
  box-shadow: 0 1rem 2.4rem rgb(25 0 80 / 30%);
  transform: translateY(-2px);
}

.change-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 5px;
}

.change-button:active {
  box-shadow: 0 0.4rem 1rem rgb(25 0 80 / 25%);
  transform: translateY(1px);
}

.spark {
  font-size: 1.45rem;
  line-height: 1;
}

@media (max-width: 30rem) {
  .hero {
    padding: 2rem 1rem;
  }

  .eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.72rem;
  }

  h1 {
    font-size: clamp(2.9rem, 17vw, 4.2rem);
  }

  .subtitle {
    margin: 1rem 0 1.5rem;
  }

  .change-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
