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

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: clip;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.font-times {
  font-family: 'Times New Roman', Times, serif;
}

.font-arial {
  font-family: Arial, Helvetica, sans-serif;
}

/* Age gate */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: auto;
  padding:
    max(1rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
}

.age-gate-label {
  font-family: 'Times New Roman', Times, serif;
  font-size: 3rem;
  font-style: italic;
  line-height: 1;
}

.age-gate-label .plus {
  font-style: normal;
}

.age-accept-box {
  position: relative;
  width: 10rem;
  height: 10rem;
  min-width: 10rem;
  min-height: 10rem;
  margin-top: 2rem;
  border: 1px solid #000;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.age-accept-box > .age-accept-fill {
  position: absolute;
  background-color: #000;
  width: 0;
  height: 0;
  bottom: 0;
  right: 0;
  transition: all 0.4s ease-in-out;
  border-radius: 1rem;
}

.age-accept-box:hover > .age-accept-fill,
.age-accept-box:focus-visible > .age-accept-fill {
  width: 10rem;
  height: 10rem;
}

.age-accept-box > .age-pointer {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3rem;
  height: 3rem;
  transform: translate(100%, 100%);
  margin-right: 8px;
}

/* Landing */

.page {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #fff;
}

.hero {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 1.5rem;
}

.hero-image {
  width: 10rem;
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem;
  align-self: flex-start;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 1rem;
}

.final-title {
  margin: 0;
  margin-right: 0.5rem;
  font-size: 7.2vw;
  line-height: 1.1;
  letter-spacing: 0.025em;
  color: #000;
}

.final-title + .final-title {
  margin-top: 2.5rem;
}

.final-title span {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
}

.final-subtitle {
  margin: 2.5rem 0 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 5.5vw;
  color: #000;
}

/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  font-size: 0.875rem;
  color: #fff;
  background: #333;
  position: relative;
  z-index: 1200;
  box-shadow: inset 0px 4px 16px rgba(0, 0, 0, 0.52);
}

.footer-subscribe {
  display: flex;
  flex-direction: column;
  width: 83.333%;
  margin-left: 1.5rem;
}

.footer-input {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem;
  font-size: 16px;
  color: #fff;
  background: transparent;
  border: 2px solid #888;
}

.footer-input::placeholder {
  color: #fafafa;
}

.footer-input:disabled {
  opacity: 0.8;
}

.footer-subscribe-btn {
  margin-top: 1rem;
  margin-left: 0;
  padding: 0.5rem 1.5rem;
  min-height: 2.75rem;
  width: max-content;
  color: #000;
  background: #fff;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  opacity: 0.5;
}

.footer-subscribe-btn.is-ready {
  opacity: 1;
}

.footer-subscribe-btn:disabled {
  cursor: default;
}

.footer-links {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
}

.footer-copy {
  margin: 0 0 0 1.5rem;
}

.footer-nav {
  display: flex;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 0;
  margin-left: 1.5rem;
}

.footer-nav-col a {
  padding: 0.2rem 0;
}

.footer-nav-col a:hover {
  text-decoration: underline;
}

.footer-nav-col.social {
  margin-right: 2.5rem;
}

/* Legal pages */

.privacy-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 360px;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding:
    max(2.5rem, env(safe-area-inset-top))
    max(1rem, env(safe-area-inset-right))
    calc(60px + env(safe-area-inset-bottom))
    max(1rem, env(safe-area-inset-left));
  gap: 2rem;
  overflow-wrap: break-word;
}

.privacy-container h1 {
  align-self: center;
  margin: 0;
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
}

.privacy-container .updated {
  align-self: center;
  margin: 0.25rem 0 0;
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  text-align: justify;
}

.privacy-container h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.privacy-container p {
  margin: 0;
  font-size: 1rem;
  text-align: justify;
}

.privacy-container ul {
  margin: 0 0 0 2rem;
  padding: 0;
  font-size: 1rem;
  list-style: disc;
}

.privacy-container ul.underlined a {
  text-decoration: underline;
}

.privacy-back {
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .age-accept-box {
    width: 10rem;
    height: 10rem;
  }

  .hero {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1.5rem;
    overflow: hidden;
  }

  .hero-image {
    position: fixed;
    top: 0;
    right: 0;
    width: 16.666%;
    margin: 1.5rem 1.5rem 0 0;
    align-self: flex-start;
  }

  .hero-copy {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 1.5rem;
    margin-right: calc(16.666vw + 1.25rem);
    padding-bottom: 8rem;
  }

  .final-title {
    font-size: 3.5vw;
    line-height: 1;
  }

  .final-subtitle {
    font-size: 2vw;
    margin-bottom: 1.5rem;
  }

  .footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-left: 1.5rem;
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }

  .page.has-fixed-footer {
    padding-bottom: 8.5rem;
  }

  .footer-subscribe {
    flex-direction: row;
    flex-shrink: 1;
    width: auto;
    min-width: 0;
    margin-left: 0;
  }

  .footer-input {
    width: 11rem;
    min-width: 0;
  }

  .footer-subscribe-btn {
    margin-top: 0;
    margin-left: 0.75rem;
    min-height: 0;
    padding: 0.25rem 1.25rem;
    flex-shrink: 0;
  }

  .footer-links {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    min-width: 0;
    gap: 0.75rem;
  }

  .footer-copy {
    margin: 0;
    white-space: nowrap;
  }

  .footer-nav {
    flex-shrink: 0;
  }

  .footer-nav-col {
    padding: 0 0.75rem;
    margin-left: 0;
  }

  .footer-nav-col.social {
    margin-right: 0;
  }

  .footer-nav-col.legal {
    padding-right: 0;
    margin-right: 0;
  }

  .privacy-container {
    width: min(800px, calc(100% - 3rem));
    padding: 2.5rem 0 calc(120px + env(safe-area-inset-bottom));
  }

  .privacy-container p,
  .privacy-container ul {
    font-size: 1.125rem;
  }

  .privacy-container ul {
    margin-left: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-input {
    width: 14rem;
  }

  .footer-nav-col {
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .footer-input {
    width: auto;
  }

  .footer-subscribe-btn {
    margin-left: 1.5rem;
  }

  .footer-nav-col {
    padding: 0 6rem;
  }

  .footer-nav-col.legal {
    padding-right: 1.5rem;
    margin-right: 2.5rem;
  }

  .page.has-fixed-footer {
    padding-bottom: 7rem;
  }
}

@media (min-width: 768px) and (max-height: 520px) {
  .footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .page.has-fixed-footer {
    padding-bottom: 0;
  }

  .hero-copy {
    padding-bottom: 2.5rem;
  }
}

@media (max-width: 767px), (max-height: 520px) {
  .age-gate-label {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .age-accept-box {
    --age-box: min(40vw, 42dvh);
    width: var(--age-box);
    height: var(--age-box);
    min-width: var(--age-box);
    min-height: var(--age-box);
    margin-top: 1.25rem;
  }

  .age-accept-box:hover > .age-accept-fill,
  .age-accept-box:focus-visible > .age-accept-fill {
    width: var(--age-box);
    height: var(--age-box);
  }
}

/* 404 */

.not-found {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 52rem);
  min-height: 100vh;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.not-found-title {
  margin: 0;
  font-size: 7.2vw;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.025em;
}

.not-found-title span {
  font-family: 'Times New Roman', Times, serif;
  font-style: italic;
}

.not-found-home {
  margin-top: 2rem;
  width: max-content;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .not-found-title {
    font-size: 3.5vw;
    line-height: 1;
  }
}
