@font-face {
  font-family: "Suisse Int'l";
  src: url("./assets/SuisseIntl-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --legal-logo-width: 136px;
  --legal-tab-width: 122.94px;
  --legal-width: calc(var(--legal-logo-width) + (var(--legal-tab-width) * 3) + (var(--legal-gap) * 3));
  --legal-page-side: 33.67px;
  --legal-back-width: 95.42px;
  --legal-between-width: calc(100vw - (var(--legal-page-side) * 2) - var(--legal-width) - var(--legal-back-width));
  --legal-document-width: min(722.376px, calc(var(--legal-between-width) - 24px));
  --legal-document-offset: calc(var(--legal-width) + ((var(--legal-between-width) - var(--legal-document-width)) / 2));
  --legal-gap: 1.77px;
  --legal-cell: 31.433px;
  --legal-ink: #0a0a0a;
  --legal-paper: #f4f4f4;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #fff;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--legal-ink);
  background: #fff;
  font-family: "Suisse Int'l", Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.44px;
  line-height: 1.25;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  height: 118px;
  background: linear-gradient(to bottom, #fff 82px, rgb(255 255 255 / 0%));
  pointer-events: none;
}

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

.legal-header {
  position: fixed;
  inset: 18px var(--legal-page-side) auto;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
}

.legal-nav {
  display: grid;
  grid-template-columns: var(--legal-logo-width) repeat(3, var(--legal-tab-width));
  gap: var(--legal-gap);
  width: var(--legal-width);
  pointer-events: auto;
}

.legal-logo,
.legal-tab,
.back-to-gala {
  display: flex;
  height: var(--legal-cell);
  align-items: center;
  justify-content: center;
  background: rgb(244 244 244 / 92%);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.legal-logo img {
  display: block;
  width: 80px;
  height: auto;
}

.legal-tab,
.back-to-gala {
  font-size: 9px;
  letter-spacing: 1.08px;
  line-height: 1;
}

.legal-tab.is-active {
  color: #fff;
  background: var(--legal-ink);
}

.legal-marquee {
  grid-column: 1 / -1;
  width: 100%;
  height: var(--legal-cell);
  overflow: hidden;
  background: rgb(244 244 244 / 92%);
  white-space: nowrap;
}

.legal-marquee-track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  font-size: 9px;
  letter-spacing: 1.08px;
}

.back-to-gala {
  position: absolute;
  top: 0;
  right: 0;
  width: var(--legal-back-width);
  pointer-events: auto;
}

.legal-content {
  display: block;
  width: calc(var(--legal-document-offset) + var(--legal-document-width));
  margin: 135px 0 0 var(--legal-page-side);
  padding-bottom: 120px;
}

.legal-kicker,
.legal-date {
  margin: 0;
  font-size: 9px;
  letter-spacing: 1.08px;
  line-height: 1;
}

.legal-kicker,
.legal-content > h1,
.legal-date {
  position: static;
  width: 158px;
}

.legal-content > .legal-kicker {
  margin: 0;
}

.legal-content > h1 {
  margin: 7px 0;
  font-size: 17.21px;
  font-weight: 400;
  letter-spacing: 0.1721px;
  line-height: normal;
}

.legal-content > .legal-date {
  margin: 0;
}

.legal-content section {
  width: var(--legal-document-width);
  margin-left: var(--legal-document-offset);
  margin-top: 25px;
}

.legal-content section:first-of-type {
  margin-top: -24.5px;
}

.legal-content h2 {
  min-height: 31px;
  margin: 0 0 15px;
  padding: 9px 12px 8px;
  color: #fff;
  background: var(--legal-ink);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 1.08px;
  line-height: 1.45;
}

.legal-content h3 {
  margin: 15px 0 7px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.44px;
}

.legal-content p {
  margin: 0 0 9px;
}

.legal-content ul {
  margin: 0 0 9px;
  padding-left: 18px;
}

.legal-content li + li {
  margin-top: 4px;
}

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

.legal-footer {
  position: fixed;
  inset: auto 32px 25px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.08px;
  line-height: 1;
}

.legal-footer::before {
  content: "";
  position: fixed;
  inset: auto 0 0;
  z-index: -1;
  height: 78px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0%), #fff 28px);
  pointer-events: none;
}

.legal-footer > div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.legal-footer .text-swap,
.legal-footer-credit {
  display: inline-grid;
  align-items: center;
}

.legal-footer .text-swap > span,
.legal-footer-credit > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.legal-footer .text-swap-hover,
.legal-footer-credit-hover {
  opacity: 0;
}

.legal-footer .text-swap:hover > .text-swap-default,
.legal-footer .text-swap:focus-visible > .text-swap-default,
.legal-footer-credit:hover > .legal-footer-credit-default {
  opacity: 0;
}

.legal-footer .text-swap:hover > .text-swap-hover,
.legal-footer .text-swap:focus-visible > .text-swap-hover,
.legal-footer-credit:hover > .legal-footer-credit-hover {
  opacity: 1;
}

.legal-footer .footer-instagram > .text-swap-hover {
  justify-self: stretch;
  text-align: right;
}

.legal-footer .footer-faq {
  width: 18.8px;
  transition: width 180ms ease;
}

.legal-footer .footer-faq:hover,
.legal-footer .footer-faq:focus-visible {
  width: 65px;
}

.legal-footer .footer-faq > .text-swap-hover {
  justify-self: end;
  text-align: right;
}

.legal-footer-left > .text-swap:first-child > .text-swap-hover {
  display: none;
  opacity: 1;
}

.legal-footer-left > .text-swap:first-child:hover > .text-swap-default,
.legal-footer-left > .text-swap:first-child:focus-visible > .text-swap-default {
  display: none;
}

.legal-footer-left > .text-swap:first-child:hover > .text-swap-hover,
.legal-footer-left > .text-swap:first-child:focus-visible > .text-swap-hover {
  display: block;
}

.legal-footer a[aria-current] {
  cursor: default;
}

@media (max-width: 1240px) {
  .legal-content {
    display: block;
    width: min(520px, calc(100vw - 67.34px));
  }

  .legal-kicker,
  .legal-content > h1,
  .legal-date {
    width: 158px;
  }

  .legal-content > h1 {
    margin: 7px 0;
  }

  .legal-content > .legal-date {
    margin: 0;
  }

  .legal-content section:first-of-type {
    margin-top: 30px;
  }

  .legal-content section {
    width: auto;
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .legal-header {
    inset: 17px 29px auto;
    justify-content: flex-start;
  }

  .legal-content {
    display: block;
    width: min(520px, calc(100vw - 58px));
    margin-left: 29px;
  }

  .legal-footer {
    inset: auto 29px 21px;
  }
}

@media (max-width: 700px) {
  .back-to-gala {
    display: none;
  }
}

@media (max-width: 600px) {
  :root {
    --legal-width: calc(100% - 22px);
  }

  body {
    font-size: 11px;
  }

  .legal-header {
    inset: 14px 11px auto;
  }

  .legal-nav {
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
  }

  .legal-content {
    width: calc(100% - 22px);
    margin: 103px 0 0 11px;
    padding-bottom: 118px;
  }

  body::before {
    height: 96px;
    background: linear-gradient(to bottom, #fff 78px, rgb(255 255 255 / 0%));
  }

  .legal-footer {
    inset: auto 11px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: 31.43px;
    gap: 2px;
    text-align: center;
  }

  .legal-footer > .legal-footer-group {
    display: contents;
  }

  .legal-footer .legal-footer-left > a:first-child {
    grid-column: 1;
  }

  .legal-footer .footer-instagram {
    grid-column: 2;
  }

  .legal-footer .footer-faq {
    grid-column: 3;
  }

  .legal-footer .legal-footer-right > a:last-child {
    grid-column: 4;
  }

  .legal-footer [aria-hidden="true"] {
    display: none;
  }

  .legal-footer-credit {
    display: none;
  }

  .legal-footer a {
    display: grid;
    width: 100%;
    height: 31.43px;
    place-items: center;
    padding: 0;
    background: rgb(241 241 241 / 60%);
    backdrop-filter: blur(5.411px);
    -webkit-backdrop-filter: blur(5.411px);
  }

  .legal-footer .text-swap:hover,
  .legal-footer .text-swap:focus-visible,
  .legal-footer .footer-faq,
  .legal-footer .footer-faq:hover,
  .legal-footer .footer-faq:focus-visible {
    width: 100%;
  }

  .legal-footer .text-swap > span {
    justify-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legal-marquee-track {
    animation: none;
  }
}
