:root {
  --ink: #17132f;
  --paper: #ffffff;
  --button: #ffd43b;
  --button-hover: #ffe477;
  --button-pressed: #f2c52d;
  --focus: #ffffff;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  color: var(--paper);
  background: #6546ed;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background: #6546ed;
  transition: background-color 450ms ease;
}

.page-shell {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(2rem, 8vw, 6rem) 1.25rem;
}

.hero {
  display: flex;
  width: min(100%, 42rem);
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.82;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 17vw, 9rem);
  line-height: 0.84;
  letter-spacing: -0.075em;
  text-wrap: balance;
  text-shadow: 0.04em 0.06em 0 rgba(23, 19, 47, 0.12);
}

.intro {
  margin: 1.75rem 0 1.5rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
}

.color-button {
  min-width: 12rem;
  border: 0;
  border-radius: 999px;
  padding: 1rem 2rem;
  color: var(--ink);
  background: var(--button);
  box-shadow: 0 0.45rem 0 rgba(23, 19, 47, 0.22);
  cursor: pointer;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease,
    box-shadow 160ms ease;
}

.color-button:hover {
  background: var(--button-hover);
  transform: translateY(-2px);
  box-shadow: 0 0.6rem 0 rgba(23, 19, 47, 0.22);
}

.color-button:active {
  background: var(--button-pressed);
  transform: translateY(2px);
  box-shadow: 0 0.2rem 0 rgba(23, 19, 47, 0.22);
}

.color-button:focus-visible {
  outline: 0.25rem solid var(--focus);
  outline-offset: 0.3rem;
}

.status {
  min-height: 1.5em;
  margin: 1.2rem 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.9;
}

@media (max-width: 30rem) {
  .page-shell {
    padding-inline: 1rem;
  }

  h1 {
    font-size: clamp(3.5rem, 20vw, 5.5rem);
  }

  .color-button {
    width: min(100%, 18rem);
  }
}

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