:root {
  color-scheme: dark;
  --background: #000;
  --text: #f7f7f5;
  --muted: #b1b1ab;
  --line: #292928;
  --focus: #82b5ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--background);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 4px;
  border-radius: 2px;
}

.frame {
  width: min(100% - 2 * clamp(1.25rem, 5vw, 5rem), 81rem);
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-content,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-content {
  min-height: 4.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.28rem;
  font-weight: 720;
  letter-spacing: -.035em;
  text-decoration: none;
}

.wordmark img {
  display: block;
  object-fit: contain;
}

.header-links,
.social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem clamp(1rem, 3vw, 2rem);
}

.header-links a,
.footer-content a {
  padding-block: .65rem;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 520;
  text-decoration: none;
}

.header-links a:hover,
.footer-content a:hover,
.free:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: .22em;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  padding-block: clamp(4.5rem, 10vh, 8rem);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 5.35vw, 5.65rem);
  font-weight: 720;
  line-height: .99;
  letter-spacing: -.055em;
}

.hero h1 span {
  display: block;
}

.hero p {
  max-width: 27rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem 1.4rem;
  margin-top: 2rem;
}

.shop,
.free {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  font-size: .95rem;
  font-weight: 650;
}

.shop {
  padding-inline: 1.15rem;
  border-radius: .28rem;
  color: var(--background);
  background: var(--text);
  text-decoration: none;
}

.shop:hover {
  background: #dcdcd7;
}

.free {
  color: var(--muted);
  text-underline-offset: .22em;
}

.hero-art {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-content {
  min-height: 4.25rem;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 2.4rem;
    padding-block: 3.6rem 3rem;
  }

  .hero h1 {
    font-size: clamp(2.625rem, 12vw, 4.65rem);
  }

  .hero-art {
    width: min(100%, 34rem);
    justify-self: center;
  }
}

@media (max-width: 420px) {
  .header-content,
  .footer-content {
    flex-wrap: wrap;
    gap: .25rem 1rem;
    padding-block: .65rem;
  }

  .header-links {
    column-gap: .85rem;
  }

  .header-links a,
  .footer-content a {
    font-size: .8rem;
  }

  .social-links {
    gap: .25rem .75rem;
  }

  .hero-actions {
    column-gap: 1rem;
  }
}
