@font-face {
  font-family: "Degular";
  src:
    url("../fonts/Degular-Web/Degular-Text-Regular/Web/DegularText-Regular.woff2")
      format("woff2"),
    url("../fonts/Degular-Web/Degular-Text-Regular/Web/DegularText-Regular.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Degular";
  src:
    url("../fonts/Degular-Web/Degular-Text-Semibold/Web/DegularText-Semibold.woff2")
      format("woff2"),
    url("../fonts/Degular-Web/Degular-Text-Semibold/Web/DegularText-Semibold.woff")
      format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Degular";
  src:
    url("../fonts/Degular-Web/Degular-Text-Bold/Web/DegularText-Bold.woff2")
      format("woff2"),
    url("../fonts/Degular-Web/Degular-Text-Bold/Web/DegularText-Bold.woff")
      format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "T1 Robit";
  src: url("../fonts/T1_Robit_Desktop/T1Robit-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "T1 Robit";
  src: url("../fonts/T1_Robit_Desktop/T1Robit-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "T1 Robit";
  src: url("../fonts/T1_Robit_Desktop/T1Robit-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "T1 Robit";
  src: url("../fonts/T1_Robit_Desktop/T1Robit-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #eaf348;
  --color-red: #f52600;
  --color-blue: #1d38ff;
  --color-text: #000000;
  --container-padding: clamp(20px, 2vw, 32px);
}

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

html {
  font-size: 62.5%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Degular", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.45;
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: var(--container-padding);
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.site-logo {
  width: clamp(130px, 13vw, 220px);
  height: auto;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-stage {
  position: relative;
  min-height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6vh 0 3vh;
}

.hero-title {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2rem;
  color: var(--color-red);
  text-transform: uppercase;
  line-height: 0.88;
  letter-spacing: -0.04em;
  font-family: "T1 Robit", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(6rem, 10vw, 15rem);
  text-align: left;
  margin-left: 15vw;
}

.hero-title-static,
.hero-title-words {
  display: block;
  flex-shrink: 0;
}

.hero-title-words {
  position: relative;
  width: 4.2em;
  height: 1.1em;
  overflow: hidden;
  font-family: "T1 Robit", Arial, sans-serif;
  font-weight: 700;
}

.hero-title-words .word {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(-18%);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
  white-space: nowrap;
}

.hero-title-words .word.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.content-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 2vh 0 4vh;
}

.content-block p {
  margin: 0 0 3.2rem;
  font-family: "Degular", Arial, sans-serif;
  font-size: clamp(1.6rem, 1.2vw, 2.2rem);
  line-height: 1.45;
  font-weight: 400;
}

.site-footer {
  padding-top: 3vh;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 3.2rem;
}

.footer-nav a {
  color: var(--color-red);
  text-decoration: none;
  font-weight: 600;
  font-size: clamp(1.8rem, 1.3vw, 2.2rem);
  text-transform: uppercase;
  font-family: "Degular", Arial, sans-serif;
}

.footer-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Legal Pages */
.legal-page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 0 6vh;
}

.legal-content {
  width: min(900px, 100%);
  margin: 0 auto;
}

.legal-content h1 {
  margin: 0 0 3rem;
  color: var(--color-red);
  font-size: clamp(4.4rem, 6vw, 8rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-family: "T1 Robit", Arial, sans-serif;
  font-weight: 700;
}

.legal-content h2 {
  margin: 3.2rem 0 1rem;
  font-size: 2.4rem;
  line-height: 1.15;
  font-family: "T1 Robit", Arial, sans-serif;
  font-weight: 700;
}

.legal-content p {
  margin: 0 0 1.6rem;
  font-family: "Degular", Arial, sans-serif;
  font-size: 1.9rem;
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 1100px) {
  .hero-stage {
    min-height: auto;
    padding: 4vh 0 1vh;
    gap: 2rem;
    align-items: center;
    margin-bottom: 10vh;
  }

  .content-block {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .site-wrap {
    padding: 20px;
  }

  .site-logo {
    width: 140px;
  }

  .hero-stage {
    min-height: auto;
    padding: 4vh 0 1vh;
  }

  .hero-title {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
    margin-left: 0;
    font-size: clamp(4.2rem, 11vw, 7rem);
    font-family: "T1 Robit", Arial, sans-serif;
    font-weight: 700;
  }

  .hero-title-words {
    width: 4.4em;
    height: 1.1em;
    font-family: "T1 Robit", Arial, sans-serif;
    font-weight: 700;
  }

  .hero-title-words .word,
  .hero-title-words .word.is-visible {
    white-space: nowrap;
  }

  .content-block {
    padding: 0 0 3vh;
  }

  .content-block p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
  }

  .footer-nav {
    gap: 1.4rem 2rem;
  }

  .footer-nav a {
    font-size: 1.6rem;
  }

  .legal-content p {
    font-size: 1.7rem;
  }

  .legal-content h2 {
    font-size: 2.1rem;
  }
}
