:root {
  --wiz-color-ink: #1e1b4b;
  --wiz-color-ink-muted: #4b5563;
  --wiz-color-primary: #6d28d9;
  --wiz-color-primary-deep: #4c1d95;
  --wiz-color-page: #f5f3ff;
  --wiz-color-card: #fff;
  --wiz-color-gold: #fef3c7;
  --wiz-color-gold-ink: #92400e;
  --wiz-color-suffix: #b45309;
  --wiz-color-star: #fde68a;

  /* 3:1 against the page, the cards and the gold callout (WCAG 1.4.11) */
  --wiz-color-focus: #b45309;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.55;
  font-family:
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--wiz-color-ink);
  background: var(--wiz-color-page);
}

a {
  color: var(--wiz-color-primary-deep);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--wiz-color-focus);
  outline-offset: 2px;
}

.suffix {
  color: var(--wiz-color-suffix);
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  padding: 16px;
  margin: 0 auto;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: inherit;
  gap: 10px;
}

.brand__logo {
  display: inline-grid;
  width: 40px;
  height: 40px;
  color: var(--wiz-color-star);
  border-radius: 50%;
  background: var(--wiz-color-primary-deep);
  place-items: center;
}

.button {
  display: inline-block;
  min-height: 40px;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border-radius: 8px;
  background: var(--wiz-color-primary);
}

main {
  max-width: 1100px;
  padding: 0 16px 48px;
  margin: 0 auto;
}

section {
  margin-top: 48px;
}

h1 {
  margin: 4px 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

h2 {
  font-size: 26px;
}

.hero {
  display: grid;
  align-items: center;
  margin-top: 24px;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
}

.hero__art {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgb(30 27 75 / 25%);
}

.kicker {
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--wiz-color-primary);
  letter-spacing: 0.06em;
}

.lead {
  font-size: 19px;
}

.disclaimer {
  display: inline-block;
  padding: 6px 10px;
  font-size: 14px;
  color: var(--wiz-color-gold-ink);
  border-radius: 8px;
  background: var(--wiz-color-gold);
}

.quotes {
  display: grid;
  margin-top: 24px;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}

.quote {
  padding: 16px;
  margin: 0;
  border-radius: 12px;
  background: var(--wiz-color-card);
  box-shadow: 0 1px 3px rgb(30 27 75 / 15%);
}

.quote img,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.quote blockquote {
  margin: 14px 0 8px;
  font-size: 19px;
  font-family: Georgia, serif;
}

.quote figcaption {
  font-size: 14px;
  color: var(--wiz-color-ink-muted);
}

.next ol {
  padding-left: 20px;
}

.next li {
  margin-bottom: 10px;
}

.faq details {
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: var(--wiz-color-card);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
}

.gallery ul {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.bottom {
  padding: 24px 16px;
  font-size: 14px;
  text-align: center;
  color: #ede9fe;
  background: var(--wiz-color-ink);
}

@media (width <= 760px) {
  .hero,
  .quotes {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__art {
    animation: drift 6s ease-in-out infinite;
  }
}

@keyframes drift {
  50% {
    transform: translateY(-6px);
  }
}
