@font-face {
  font-family: Noticia;
  src: url("/fonts/noticia-text-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Noticia;
  src: url("/fonts/noticia-text-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
:root {
  --accent: #7358b3;
  --paper: #fbf7f4;
  --ink: #1f2421;
  --quiet: #6b635e;
  --rule: #ede5df;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.65 system-ui,
    -apple-system,
    sans-serif;
}
a {
  color: #59418d;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
header,
main,
footer,
.notice {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 27px;
  border-bottom: 1px solid var(--rule);
}
.brand {
  font:
    28px Noticia,
    Georgia,
    serif;
  color: var(--ink);
  text-decoration: none;
}
nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
header nav a {
  font-size: 15px;
  color: var(--ink);
}
.notice {
  margin-block: 28px;
  padding: 18px 24px;
  border: 1px solid #d9d0c9;
  border-radius: 6px;
  background: #f4efea;
  font-size: 15px;
}
.notice strong {
  display: block;
}
.notice span {
  color: var(--quiet);
}
h1,
h2,
h3 {
  font-family: Noticia, Georgia, serif;
  font-weight: 400;
  line-height: 1.25;
}
h1 {
  font-size: clamp(34px, 4.5vw, 54px);
  letter-spacing: -0.025em;
}
h2 {
  font-size: 30px;
}
h3 {
  font-size: 24px;
  margin: 0;
}
p {
  margin: 1em 0;
}
.hero {
  max-width: 800px;
  padding: 38px 0 58px;
}
.hero h1 {
  margin: 14px 0 24px;
}
.hero > p:not(.eyebrow) {
  max-width: 690px;
  color: var(--quiet);
  font-size: 19px;
}
.eyebrow {
  color: var(--quiet);
  font-size: 14px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-block;
  border-radius: 4px;
  background: var(--accent);
  color: white;
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 600;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 60px;
}
.card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 32px #1f242109;
}
.amount {
  font:
    36px Noticia,
    Georgia,
    serif;
  margin: 24px 0 0;
}
.amount span {
  display: block;
  font:
    15px system-ui,
    sans-serif;
  color: var(--quiet);
  margin-top: 8px;
}
.host {
  max-width: 760px;
  border-top: 1px solid var(--rule);
  padding-top: 30px;
}
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-block: 40px 65px;
}
.prose {
  max-width: 760px;
  padding-block: 16px 60px;
  overflow-wrap: anywhere;
}
.prose h1 {
  font-size: 40px;
}
.prose h2 {
  font-size: 25px;
  margin-top: 38px;
}
.prose h3 {
  font-size: 24px;
  margin-top: 38px;
}
.prose li {
  margin-block: 10px;
}
footer {
  border-top: 1px solid var(--rule);
  padding: 30px 0 42px;
  font-size: 14px;
  color: var(--quiet);
}
footer nav {
  gap: 12px 24px;
}
footer p {
  margin-bottom: 0;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  background: white;
  padding: 12px;
  z-index: 2;
}
.skip:focus {
  top: 10px;
}
@media (max-width: 640px) {
  header,
  main,
  footer,
  .notice {
    width: calc(100% - 36px);
  }
  header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-block: 20px;
  }
  header nav {
    gap: 24px;
  }
  .notice {
    margin-block: 20px;
    padding: 16px;
  }
  .hero {
    padding: 16px 0 30px;
  }
  .hero > p:not(.eyebrow) {
    font-size: 17px;
  }
  .tiers {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 36px;
  }
  .card {
    padding: 22px;
  }
  .amount {
    margin-top: 16px;
  }
  .details {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-block: 24px 40px;
  }
  .prose h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
