:root {
  color-scheme: dark;
  --plum: #391348;
  --ink: #fff1a3;
  --copy: #f3e9f2;
  --blue: #b5e4f1;
  --blue-ink: #24233a;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--plum);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
  text-align: center;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.masthead {
  width: min(100%, 1464px);
  margin: 0 auto;
  line-height: 0;
}

.masthead img {
  display: block;
  width: 100%;
  height: auto;
}

main {
  width: min(100% - 40px, 760px);
  margin: 12px auto 0;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-size: 1.5rem;
  line-height: 1.25;
}

.introduction p,
.product p {
  color: var(--copy);
  font-size: 1rem;
  line-height: 1.6;
}

.introduction p {
  margin-bottom: 0;
}

.product {
  margin-top: 22px;
}

h2 {
  margin-bottom: 12px;
  font-size: 1.4rem;
  line-height: 1.3;
}

.product p {
  margin-bottom: 22px;
}

.downloads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.download-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: var(--blue);
  color: var(--blue-ink);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 140ms ease, transform 140ms ease;
}

.download-link:hover {
  transform: translateY(-2px);
  background: #d2f2f8;
}

.download-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.site-footer {
  margin-top: auto;
  padding: 22px 20px 16px;
  color: var(--ink);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 560px) {
  main {
    width: min(100% - 32px, 420px);
    margin-top: 8px;
  }

  h1 {
    font-size: 1.35rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .product {
    margin-top: 20px;
  }

  .downloads {
    flex-direction: column;
    align-items: center;
  }

  .download-link {
    width: min(100%, 320px);
  }
}

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