@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("./Exo2-VariableFont_wght_p-lADbQPw7dL_0HYNsUMc.ttf") format("truetype");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("./Manrope-VariableFont_wght_sDlgRrTbPzz-ND3rgD5g9.ttf") format("truetype");
}

:root {
  --legal-bg: #0d0f12;
  --legal-text: #f3f4ef;
  --legal-muted: #9fa2aa;
  --legal-accent: #ffd60a;
  --legal-accent-strong: #ffe45b;
  --legal-cyan: #55d6be;
  --legal-blue: #00f0ff;
}

/* Custom Scrollbar for Legal Pages */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--legal-bg);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  border: 2px solid var(--legal-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--legal-accent);
}

html,
body.w-element {
  min-height: 100% !important;
  background-color: #0d0f12 !important;
  background-image:
    radial-gradient(circle at 50% -20%, rgba(255, 214, 10, 0.15), transparent 50rem),
    radial-gradient(circle at -10% 40%, rgba(85, 214, 190, 0.07), transparent 40rem),
    radial-gradient(circle at 110% 80%, rgba(0, 240, 255, 0.04), transparent 45rem),
    linear-gradient(180deg, #0d0f12 0%, #111316 50%, #08090a 100%) !important;
  color: var(--legal-text) !important;
  font-family: Manrope, system-ui, sans-serif !important;
  white-space: normal !important;
}

/* Premium Faded Grid overlay for Legal pages */
body.w-element::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
  opacity: 0.8;
}

body.w-element > .w-box {
  min-height: 100vh;
}

/* Floating Glass capsule header for Legal pages */
nav.w-box {
  position: sticky !important;
  top: 1rem !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: min(100% - 2rem, 1120px) !important;
  min-height: 72px !important;
  margin: 1rem auto 0 !important;
  padding: 0.6rem 1.5rem !important;
  background: rgba(20, 23, 27, 0.45) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

nav.w-box img {
  width: 3.25rem !important;
  height: 3.25rem !important;
  filter: drop-shadow(0 0.75rem 1.4rem rgba(0, 0, 0, 0.36)) !important;
}

nav.w-box a {
  color: var(--legal-muted) !important;
  font-weight: 800 !important;
  transition: color 250ms ease, background 250ms ease, transform 250ms ease !important;
}

nav.w-box a:hover,
nav.w-box a:focus-visible {
  color: var(--legal-text) !important;
}

nav.w-box div.w-element a {
  padding: 0.55rem 1rem !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
}

nav.w-box div.w-element a:hover,
nav.w-box div.w-element a:focus-visible {
  border-color: rgba(255, 214, 10, 0.3) !important;
  background: rgba(255, 214, 10, 0.06) !important;
  transform: translateY(-1px) !important;
}

main.w-box > section.w-box {
  padding: 4.5rem 1rem !important;
}

main.w-box > section.w-box > .w-box {
  display: block !important;
  max-width: 920px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

main.w-box section .w-element {
  max-width: 100% !important;
}

/* Typography Scale */
main.w-box h1,
main.w-box h2 {
  margin: 0 0 1.25rem !important;
  color: var(--legal-accent) !important;
  font-family: "Exo 2", sans-serif !important;
  font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

main.w-box h3 {
  margin: 0 0 0.8rem !important;
  color: var(--legal-accent) !important;
  font-family: "Exo 2", sans-serif !important;
  font-size: clamp(1.25rem, 3vw, 1.65rem) !important;
  line-height: 1.2 !important;
  letter-spacing: 0.01em !important;
  text-align: left !important;
}

main.w-box p {
  margin: 0 !important;
  color: var(--legal-muted) !important;
  font-family: Manrope, system-ui, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.8 !important;
  white-space: normal !important;
}

/* Document section card containers (Webflow compile wrappers) */
main.w-box section .w-element:has(> h3),
main.w-box section .w-element:has(> p) {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 1.25rem !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.005)) !important;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: border-color 0.3s ease, background 0.3s ease !important;
}

main.w-box section .w-element:has(> h3):hover,
main.w-box section .w-element:has(> p):hover {
  border-color: rgba(0, 240, 255, 0.15) !important;
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.02), rgba(255, 255, 255, 0.01)) !important;
}

main.w-box section .w-element:has(> h3) {
  padding: 1.6rem 1.8rem 0 !important;
  border-bottom: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

main.w-box section .w-element:has(> p) {
  padding: 0 1.8rem 1.8rem !important;
  border-top: 0 !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

/* Footer card */
footer.w-box {
  max-width: 1120px !important;
  margin: 2rem auto 0 !important;
  padding: 2rem 1rem 2.5rem !important;
}

footer.w-box > .w-box {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  border-radius: 1.25rem !important;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  padding: 1.5rem !important;
}

footer.w-box a {
  color: var(--legal-muted) !important;
  transition: color 250ms ease, background 250ms ease, transform 250ms ease !important;
}

footer.w-box a:hover,
footer.w-box a:focus-visible {
  color: var(--legal-text) !important;
}

@media (max-width: 620px) {
  nav.w-box {
    align-items: center !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 999px !important;
    top: 0.75rem !important;
    min-height: 52px !important;
    height: auto !important;
  }

  nav.w-box > a {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav.w-box img {
    width: 2.5rem !important;
    height: 2.5rem !important;
  }

  nav.w-box div.w-element {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    gap: 0.1rem !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  nav.w-box div.w-element a {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.82rem !important;
    line-height: 1 !important;
  }

  main.w-box > section.w-box {
    padding-top: 3rem !important;
  }

  main.w-box h1,
  main.w-box h2 {
    font-size: clamp(1.8rem, 7vw, 2.5rem) !important;
    line-height: 1.15 !important;
  }

  main.w-box section .w-element:has(> h3) {
    padding: 1.2rem 1.2rem 0 !important;
  }

  main.w-box section .w-element:has(> p) {
    padding: 0 1.2rem 1.2rem !important;
  }

  footer.w-box > .w-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 1rem !important;
    padding: 1.25rem !important;
  }

  footer.w-box div.w-element {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }

  footer.w-box div.w-element.c1imtck3 {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 1rem !important;
  }
}
