body:has(.legal-page) {
  --token-153777d6-d6ea-4c96-928d-0cc3981ce4a1: #F5F3F8;
}

body:has(.legal-page) nav a[data-framer-name="Small/Black"] {
  background-color: #452874 !important;
}

body:has(.legal-page) nav a[data-framer-name="Small/Black"] :is(.framer-scunil, .framer-1ef7ulg) {
  background-color: transparent !important;
}

.legal-page {
  --legal-ink: #1B1530;
  --legal-body: #4A4458;
  --legal-purple: #452874;
  --legal-accent: #F14624;
  --legal-line: #E5E1EC;
  --legal-tint: #ECE7F3;
  width: 100%;
  padding: 100px 40px;
  color: var(--legal-body);
  font: 400 16px/1.9 "29LT Bukra", sans-serif;
  text-align: start;
}

.legal-document {
  max-width: 800px;
  margin-inline: auto;
}

.legal-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin-block-end: 50px;
}

.legal-header .fxl-label {
  color: var(--legal-ink);
}

.legal-header .fxl-label > span {
  background: var(--legal-accent);
}

.legal-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.legal-heading-icon,
.legal-section-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--legal-line);
  border-radius: 2px;
  background: #fff;
}

.legal-section-icon {
  width: 36px;
  height: 36px;
  border: 0;
  background: var(--legal-tint);
}

.legal-page h1,
.legal-page h2,
.legal-page h3 {
  margin: 0;
  color: var(--legal-ink);
  font-weight: 600;
}

.legal-page h1 {
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.2;
}

.legal-page h2 {
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.5;
}

.legal-page h3 {
  font-size: 20px;
  line-height: 1.55;
}

.legal-page p,
.legal-page ul {
  margin: 0;
}

.legal-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-copy > section {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--legal-line);
  border-radius: 2px;
  background: #fff;
}

.legal-copy > section > h2 {
  padding-block-end: 12px;
  border-block-end: 1px solid var(--legal-line);
}

.legal-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.legal-copy section > * + * {
  margin-block-start: 12px;
}

.legal-copy section[id] {
  scroll-margin-top: 100px;
}

.legal-copy section > h3 {
  margin-block-start: 24px;
}

.legal-copy ul {
  padding-inline-start: 1.5em;
}

.legal-copy li + li {
  margin-block-start: 8px;
}

.legal-copy a {
  color: var(--legal-purple);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.legal-copy a:hover {
  color: #C2361A;
}

.legal-copy .legal-formula {
  padding: 12px 16px;
  border-inline-start: 2px solid var(--legal-purple);
  border-radius: 2px;
  background: var(--legal-tint);
  color: var(--legal-ink);
}

@media (prefers-reduced-motion: no-preference) {
  .legal-document {
    --legal-entrance-spring: linear(0, .2634, .5823, .7826, .8909, .9461, .9736, .9871, .9937, .9969, 1);
    --legal-word-spring: linear(0, .3886, .6863, .84, .9184, .9584, .9788, .9892, .9945, .9972, 1);
  }

  .legal-enter-pending:not(:focus-within) {
    opacity: 0;
  }

  .legal-enter {
    animation: legal-enter 720ms ease-out both;
    animation-timing-function: var(--legal-entrance-spring);
  }

  /* section cards enter one by one (legal.js sets each card's delay) */
  .legal-copy > section.legal-enter {
    animation-duration: 760ms;
  }

  .legal-title-word {
    display: inline-block;
  }

  .legal-enter .legal-title-word {
    animation: legal-enter 1150ms ease-out 50ms both;
    animation-timing-function: var(--legal-word-spring);
  }

  .legal-enter .legal-title-word:nth-child(2) {
    animation-delay: 100ms;
  }

  .legal-enter .legal-title-word:nth-child(3) {
    animation-delay: 150ms;
  }

  .legal-enter .legal-title-word:nth-child(4) {
    animation-delay: 200ms;
  }

  @keyframes legal-enter {
    from {
      opacity: 0;
      transform: translateY(40px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }
}

@media (max-width: 1199px) {
  .legal-page {
    padding: 80px 20px;
  }
}

@media (max-width: 809px) {
  .legal-page {
    padding: 60px 15px;
  }

  .legal-header {
    margin-block-end: 40px;
  }

  .legal-heading {
    gap: 10px;
  }

  .legal-heading-icon {
    width: 36px;
    height: 36px;
  }
}
