* {
  box-sizing: border-box;
}

html {
  background-color: #9d3aa4;
  background-image: url("../assets/bg_pattern.png");
  background-repeat: repeat;
  background-size: 64px 64px;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: transparent;
}

.page {
  min-height: 100dvh;
}

body {
  font-family: "Poetsen One", system-ui, sans-serif;
  color: #fff;
  background-color: #9d3aa4;
  background-image: url("../assets/bg_pattern.png");
  background-repeat: repeat;
  background-size: 64px 64px;
}

body {
  position: relative;
}

.mobile-safari body::before,
.mobile-safari body::after {
  content: "";
  position: fixed;
  left: 0;
  width: 100%;
  height: clamp(70px, 8vh, 100px);
  pointer-events: none;
  z-index: 9999;
}

.mobile-safari body::before {
  position: absolute;
  top: 0;
  height: clamp(40px, 5vh, 60px);
  background: linear-gradient(
    to bottom,
    #9d3aa4,
    transparent
  );
}

.mobile-safari body::after {
  /*bottom: 0;
  background: linear-gradient(
    to top,
    #9d3aa4,
    transparent
  );*/
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(28px, 5vw, 72px);
}

.hero {
  width: min(100%, 1400px);
  min-height: calc(100svh - clamp(56px, 10vw, 144px));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(60px, 1vh, 92px);
  text-align: center;
  transform: translateY(-3vh);
}

.logo {
  display: block;
  width: clamp(330px, 39vw, 745px);
  max-width: 92%;
  height: auto;
}

.tagline {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 36px);
  line-height: 1.25;
  font-weight: 400;
  text-shadow: 0 3px 0 rgba(72, 34, 86, 0.65);
  transform: translateY(-3vh);
}

.site-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10000;
  width: 100%;
  height: 100px;
  background-color: #6e2a74;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 2px white;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  font-family: Helvetica, Arial, sans-serif;
  text-align: center;
}

.footer-links a {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
}

.legal-page {
  min-height: 100svh;
  padding-bottom: 220px;
}

.legal-header {
  display: flex;
  justify-content: center;
  padding-top: calc(clamp(24px, 5vw, 60px) + 20px);
  padding-bottom: clamp(8px, 2vw, 24px);
}

.legal-header .logo {
  width: clamp(260px, 32vw, 520px);
}

.legal-content {
  margin: 20px;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

.legal-content h1,
.legal-content h2 {
  color: #000;
  font-family: Helvetica, Arial, sans-serif;
  line-height: 1.2;
}

.legal-content h1 {
  margin: 0 0 8px;
  font-size: clamp(32px, 5vw, 48px);
}

.legal-content h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 28px);
}

.legal-content section {
  margin-top: 36px;
}

.legal-content p,
.legal-content ul {
  margin-block: 0 16px;
}

.legal-content a {
  color: #000;
}

.legal-updated {
  margin-bottom: 28px;
}

.legal-summary {
  font-style: italic;
}

.legal-content address {
  font-style: normal;
}


@media (max-width: 767px) {
  body {
    background-size: 64px 64px;
  }

  .page {
    padding: 28px 22px;
  }

  .hero {
    min-height: calc(100svh - 56px);
    justify-content: flex-start;
    gap: 0;
    transform: none;
    padding-top: 4vh;
  }

  .logo {
    width: min(94vw, 500px);
  }

  .tagline {
    margin-top: 14vh;
    font-size: clamp(23px, 7.4vw, 34px);
    line-height: 1.18;
    max-width: 11.5em;
  }

  .desktop-break {
    display: none;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .page {
    padding-inline: 16px;
  }

  .footer-links a {
    font-size: 12px;
  }
}
