/* Humbucker — joinhumbucker.com
   Local fonts only. No external requests. */

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #011530;
  --amber: #e0a380;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.58);
  --tagline: rgba(255, 255, 255, 0.92);
}

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

html {
  color-scheme: dark;
  background: var(--navy);
}

body {
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 55% 42% at 50% 40%, rgba(224, 163, 128, 0.10), transparent 70%),
    var(--navy);
  color: var(--white);
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 40rem;
  padding: 3.5rem 1.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo {
  display: block;
  width: min(16.5rem, 72vw);
  height: auto;
}

.tagline {
  margin: 1.75rem 0 0;
  max-width: 22em;
  color: var(--tagline);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.store-btn {
  margin-top: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.55rem;
  border: 1.5px solid var(--amber);
  border-radius: 999px;
  color: var(--amber);
  background: transparent;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.store-btn:hover,
.store-btn:focus-visible {
  background: var(--amber);
  color: var(--navy);
  outline: none;
}

.store-btn[aria-disabled="true"] {
  cursor: default;
}

.qr {
  margin: 2.35rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.qr img {
  display: block;
  width: 8.5rem;
  height: 8.5rem;
  padding: 0.55rem;
  background: var(--white);
  border-radius: 0.7rem;
}

.qr figcaption {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

footer {
  flex: 0 0 auto;
  padding: 1rem 1.5rem calc(1.15rem + env(safe-area-inset-bottom));
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

@media (min-width: 700px) {
  main {
    padding: 4rem 2rem 3rem;
  }

  .logo {
    width: 17.5rem;
  }

  .tagline {
    margin-top: 2rem;
    max-width: none;
    font-size: 1.125rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .store-btn {
    margin-top: 2.1rem;
    padding: 0.95rem 1.8rem;
    font-size: 0.95rem;
  }

  .qr {
    margin-top: 2.75rem;
  }

  .qr img {
    width: 9.25rem;
    height: 9.25rem;
  }
}

@media (max-height: 740px) and (max-width: 699px) {
  main {
    padding-top: 2rem;
    padding-bottom: 1.25rem;
  }

  .logo {
    width: min(14.5rem, 64vw);
  }

  .tagline {
    margin-top: 1.35rem;
  }

  .store-btn {
    margin-top: 1.4rem;
  }

  .qr {
    margin-top: 1.6rem;
  }

  .qr img {
    width: 7.5rem;
    height: 7.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-btn {
    transition: none;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* On small screens, break the tagline after "of" so the second line is a full phrase. */
@media (max-width: 699px) {
  .tagline-rest {
    display: block;
  }
}
