@font-face {
  font-family: "Josefin Sans";
  src: url("assets/fonts/josefin-sans-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
}

@font-face {
  font-family: "Reklame Script";
  src: url("assets/fonts/reklame-script-regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: block;
}

:root {
  color-scheme: dark;
  background: #000;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow-x: hidden;
  background: #000;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #eee;
  font-family: "Josefin Sans", sans-serif;
}

a {
  color: inherit;
}

.legal-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: #1c1b1b;
}

.legal-page::before {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(to bottom, #1c1b1b 0%, #52646f 100%);
  content: "";
  pointer-events: none;
}

.legal-main {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-bottom: 302px;
  background: transparent;
}

.legal-inner {
  position: relative;
  z-index: 1;
  width: 940px;
  margin: 0 auto;
}

.legal-topbar {
  display: flex;
  min-height: 164px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 38px;
}

.legal-brand {
  display: block;
  width: 220px;
  height: 115px;
}

.legal-brand img {
  display: block;
  width: 100%;
  height: 100%;
}

.legal-home-link {
  margin-top: 12px;
  padding: 8px 0 6px;
  border-bottom: 1px solid rgba(246, 227, 199, 0.52);
  font-size: 13px;
  font-weight: 450;
  line-height: 18px;
  letter-spacing: 2.2px;
  text-decoration: none;
  text-transform: uppercase;
  transition: border-color 140ms ease, color 140ms ease;
}

.legal-home-link:hover {
  border-color: #f6e3c7;
  color: #f6e3c7;
}

.legal-home-link:focus-visible,
.legal-toc a:focus-visible,
.legal-footer a:focus-visible {
  outline: 2px solid #f6e3c7;
  outline-offset: 4px;
}

.legal-hero {
  width: 940px;
  padding: 50px 0 91px;
  text-align: center;
}

.legal-kicker,
.legal-title,
.legal-intro,
.legal-updated {
  margin: 0;
}

.legal-kicker {
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 3.2px;
  opacity: 0.58;
  text-transform: uppercase;
}

.legal-title {
  margin-top: 16px;
  font: 400 78px/78px "Reklame Script", cursive;
}

.legal-intro {
  width: 620px;
  margin: 27px auto 0;
  font-size: 22px;
  font-weight: 350;
  line-height: 30px;
  letter-spacing: -0.55px;
}

.legal-updated {
  margin-top: 21px;
  font-size: 13px;
  font-weight: 450;
  line-height: 18px;
  letter-spacing: 2.2px;
  opacity: 0.58;
  text-transform: uppercase;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px 620px;
  gap: 100px;
  padding-top: 92px;
}

.legal-toc {
  align-self: start;
  padding-top: 2px;
}

.legal-toc__label {
  margin: 0 0 23px;
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 3.2px;
  opacity: 0.48;
  text-transform: uppercase;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: legal-toc;
}

.legal-toc li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 31px;
  counter-increment: legal-toc;
}

.legal-toc li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: #f6e3c7;
  content: counter(legal-toc, decimal-leading-zero);
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 1px;
  opacity: 0.54;
}

.legal-toc a {
  font-size: 14px;
  font-weight: 450;
  line-height: 18px;
  letter-spacing: 0.65px;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 140ms ease;
}

.legal-toc a:hover {
  color: #f6e3c7;
}

.legal-article {
  font-size: 18px;
  font-weight: 350;
  line-height: 27px;
  letter-spacing: -0.4px;
}

.legal-section {
  scroll-margin-top: 30px;
}

.legal-section + .legal-section {
  margin-top: 55px;
}

.legal-section h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 20px;
}

.legal-section ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.legal-section li {
  position: relative;
  padding-left: 28px;
}

.legal-section li + li {
  margin-top: 12px;
}

.legal-section li::before {
  position: absolute;
  top: 0;
  left: 3px;
  color: #f6e3c7;
  content: "✦";
  font-size: 11px;
  line-height: 27px;
  opacity: 0.72;
}

.legal-section strong {
  font-weight: 650;
}

.legal-note {
  margin-top: 27px;
  padding: 24px 27px 23px;
  border: 1px solid rgba(246, 227, 199, 0.48);
  background: rgba(28, 27, 27, 0.23);
}

.legal-note strong {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

.legal-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 22px;
}

.legal-contact-links a {
  border-bottom: 1px solid rgba(246, 227, 199, 0.45);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 1.6px;
  text-decoration: none;
  text-transform: uppercase;
}

.moon-horizon {
  position: relative;
  z-index: 1;
  height: 160px;
  margin-top: -160px;
  overflow: hidden;
  background: transparent;
}

.moon-horizon img {
  position: absolute;
  top: 0;
  left: 50%;
  display: block;
  width: 1443px;
  height: 160px;
  max-width: none;
  transform: translateX(-50%);
  user-select: none;
}

.legal-footer {
  position: relative;
  z-index: 1;
  height: 318px;
  background:
    linear-gradient(
      to bottom,
      #1a1a1a 0 278px,
      #101010 278px 318px
    );
}

.legal-footer::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 40px;
  background: #101010;
  content: "";
  pointer-events: none;
}

.legal-footer__inner {
  position: relative;
  width: 940px;
  height: 318px;
  margin: 0 auto;
}

.legal-footer__moose,
.legal-footer__logo,
.legal-footer__socials,
.legal-footer__links,
.legal-footer__disclaimer,
.legal-footer__copyright {
  position: absolute;
}

.legal-footer__moose {
  z-index: 1;
  top: 89px;
  left: 38px;
  width: 142px;
  height: 204px;
  overflow: hidden;
}

.legal-footer__moose > div {
  background-color: transparent !important;
}

.legal-footer__logo {
  z-index: 2;
  top: 63px;
  left: 700px;
  display: block;
  width: 220px;
  height: 115px;
}

.legal-footer__socials {
  z-index: 2;
  top: 60px;
  left: 0;
  display: flex;
  gap: 25.67px;
}

.legal-footer__socials a,
.legal-footer__socials img {
  display: block;
  width: 32px;
  height: 32px;
}

.legal-footer__links {
  z-index: 2;
  top: 59px;
  left: 240px;
  width: 220px;
  font-size: 18px;
  font-weight: 350;
  line-height: 34px;
  letter-spacing: 2.63px;
  opacity: 0.4;
}

.legal-footer__links a {
  display: block;
  text-decoration: none;
}

.legal-footer__links a:hover,
.legal-footer__socials a:hover {
  opacity: 0.72;
}

.legal-footer__disclaimer {
  z-index: 2;
  top: 149px;
  left: 240px;
  width: 220px;
  margin: 0;
  font-size: 18px;
  font-weight: 350;
  line-height: 22px;
  letter-spacing: -0.875px;
  opacity: 0.35;
}

.legal-footer__copyright {
  z-index: 4;
  top: 206px;
  left: 679px;
  width: 262px;
  margin: 0;
  font-size: 16px;
  font-weight: 350;
  line-height: 22px;
  letter-spacing: -0.778px;
  opacity: 0.4;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 1023px) {
  .legal-main {
    padding-bottom: 186px;
  }

  .legal-inner {
    width: 348px;
  }

  .legal-topbar {
    min-height: 132px;
    padding-top: 23px;
  }

  .legal-brand {
    width: 158px;
    height: 83px;
  }

  .legal-home-link {
    margin-top: 9px;
    font-size: 11px;
    letter-spacing: 1.7px;
  }

  .legal-hero {
    width: 348px;
    padding: 30px 0 63px;
  }

  .legal-kicker {
    font-size: 11px;
    letter-spacing: 2.7px;
  }

  .legal-title {
    margin-top: 12px;
    font-size: 57px;
    line-height: 60px;
  }

  .legal-intro {
    width: 348px;
    margin-top: 21px;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: -0.5px;
  }

  .legal-updated {
    margin-top: 18px;
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .legal-layout {
    display: block;
    padding-top: 61px;
  }

  .legal-toc {
    padding: 0 0 35px;
    border-bottom: 1px solid rgba(246, 227, 199, 0.32);
  }

  .legal-toc__label {
    margin-bottom: 20px;
    font-size: 11px;
    letter-spacing: 2.7px;
  }

  .legal-toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 21px;
  }

  .legal-toc li {
    margin-bottom: 10px;
    padding-left: 25px;
  }

  .legal-toc li::before {
    font-size: 9px;
  }

  .legal-toc a {
    font-size: 11px;
    line-height: 16px;
    letter-spacing: 0.55px;
  }

  .legal-article {
    padding-top: 55px;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: -0.55px;
  }

  .legal-section + .legal-section {
    margin-top: 48px;
  }

  .legal-section h2 {
    margin-bottom: 18px;
    font-size: 20px;
    line-height: 26px;
    letter-spacing: 1.7px;
  }

  .legal-section p + p {
    margin-top: 18px;
  }

  .legal-section ul {
    margin-top: 18px;
  }

  .legal-section li {
    padding-left: 25px;
  }

  .legal-section li::before {
    line-height: 25px;
  }

  .legal-note {
    margin-top: 23px;
    padding: 21px 22px 20px;
  }

  .legal-contact-links {
    display: block;
  }

  .legal-contact-links a {
    display: table;
  }

  .legal-contact-links a + a {
    margin-top: 10px;
  }

  .moon-horizon {
    height: 86px;
    margin-top: -86px;
  }

  .moon-horizon img {
    width: 775.68px;
    height: 86px;
  }

  .legal-footer {
    height: 515px;
    background:
      linear-gradient(
        to bottom,
        #1a1a1a 0 416px,
        #101010 416px 515px
      );
  }

  .legal-footer::after {
    height: 99px;
  }

  .legal-footer__inner {
    width: 348px;
    height: 515px;
  }

  .legal-footer__moose {
    top: 222.82px;
    right: -15px;
    left: auto;
    transform: scaleX(-1);
  }

  .legal-footer__logo {
    top: 47px;
    right: 6px;
    left: auto;
    width: 189px;
    height: 99px;
  }

  .legal-footer__socials {
    top: 47px;
    left: 0;
    gap: 19.67px;
  }

  .legal-footer__socials a,
  .legal-footer__socials img {
    width: 50px;
    height: 50px;
  }

  .legal-footer__links {
    top: 171px;
    left: 0;
    width: 228px;
  }

  .legal-footer__disclaimer {
    top: 260.5px;
    left: 0;
    width: 196px;
  }

  .legal-footer__copyright {
    top: 441px;
    left: 49px;
    z-index: 4;
  }
}
