:root {
  color-scheme: dark;
  --black: #000;
  --ivory: #fff0d5;
  background: var(--black);
  color: var(--ivory);
  font-family: "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
h1, h2 { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--ivory); outline-offset: 7px; }
main { width: 100%; padding-bottom: 64px; }

.brand { display: flex; justify-content: center; padding: 68px 24px 76px; }
.wordmark {
  width: min(52vw, 540px);
  aspect-ratio: 1500 / 640;
  background: var(--ivory);
  -webkit-mask: url("assets/logo.png") top center / 100% auto no-repeat;
  mask: url("assets/logo.png") top center / 100% auto no-repeat;
}
.banner { width: min(100%, 1600px); margin: 0 auto; }
.banner img { display: block; width: 100%; height: auto; }

.primary-links { display: grid; gap: 26px; width: min(58%, 520px); margin: 64px auto 0; }
.button {
  min-height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 22px;
  border: 3px solid var(--ivory);
  border-radius: 19px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 750;
  line-height: 1.16;
  text-align: center;
  letter-spacing: -.035em;
  transition: background-color .16s ease, color .16s ease;
}
.button-primary, .signup-link { background: var(--ivory); color: var(--black); }
.button-outline { background: var(--black); color: var(--ivory); }
@media (hover: hover) {
  .button-primary:hover, .signup-link:hover { background: #e8d9bf; border-color: #e8d9bf; }
  .button-outline:hover { background: var(--ivory); color: var(--black); }
  .socials a:hover { opacity: .75; }
}

.socials { display: flex; justify-content: center; gap: 13px; margin: 42px auto 0; }
.socials a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
.icon { display: block; width: 31px; height: 31px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.instagram { --icon: url("assets/instagram.svg"); }
.tiktok { --icon: url("assets/tiktok.svg"); }
.youtube { --icon: url("assets/youtube.svg"); }

.newsletter { margin: 78px auto 0; width: min(88%, 520px); text-align: center; }
.newsletter h2 { font-size: 23px; line-height: 1.4; font-weight: 400; letter-spacing: .005em; }
.signup-link { width: 156px; margin: 20px auto 0; min-height: 52px; padding: 11px 24px; border-radius: 12px; font-size: 23px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 640px) {
  main { padding-bottom: 46px; }
  .brand { padding: 46px 16px 48px; }
  .wordmark { width: 61vw; }
  .primary-links { width: min(75%, 390px); margin-top: 43px; gap: 19px; }
  .button { min-height: 58px; border-width: 2px; border-radius: 15px; font-size: clamp(20px, 5.6vw, 28px); padding: 13px 12px; }
  .socials { margin-top: 31px; gap: 10px; }
  .icon { width: 27px; height: 27px; }
  .newsletter { margin-top: 57px; }
  .newsletter h2 { font-size: 19px; }
  .signup-link { min-height: 48px; width: 136px; font-size: 20px; margin-top: 16px; border-radius: 11px; padding: 10px 20px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }
