@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }

body {
  min-height: 100dvh;
  background: #05070a;
  color: #e8e8f0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  display: flex;
  flex-direction: column;
}

.legal-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

main {
  width: min(760px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(48px, 8vh, 96px) 24px;
  position: relative;
  z-index: 1;
  background: #0d0d0f;
  border-left: 1px solid rgba(136, 136, 160, .16);
  border-right: 1px solid rgba(136, 136, 160, .16);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

a {
  color: #34d399;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.back-link {
  position: fixed;
  left: calc((100vw - 760px) / 4);
  top: 50%;
  width: 1em;
  text-align: center;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: rgba(136, 136, 160, .62);
  font-size: clamp(86px, 11vw, 142px);
  font-weight: 200;
  line-height: .8;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.back-link:hover,
.back-link:focus-visible {
  color: #34d399;
  text-decoration: none;
  transform: translate(-50%, -50%) translateX(-6px);
}

.legal-heading {
  margin-bottom: 42px;
}

h1 {
  margin: 0 0 10px;
  color: #10b981;
  font-weight: 400;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
}

.subtitle,
.updated {
  margin: 0;
  color: #8888a0;
  font-size: 13px;
}

section + section { margin-top: 34px; }

h2 {
  margin: 0 0 12px;
  color: #e8e8f0;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h3 {
  margin: 18px 0 8px;
  color: #e8e8f0;
  font-weight: 400;
  font-size: 14px;
}

p {
  margin: 0;
  color: #c6c6d4;
  font-size: 14px;
  line-height: 1.75;
}

p + p { margin-top: 12px; }

.protected-mail {
  color: #34d399;
  text-decoration: none;
}

.protected-mail:hover,
.protected-mail:focus-visible {
  color: #10b981;
  text-decoration: underline;
  outline: none;
}

@media (max-width: 1060px) {
  main {
    padding-top: 112px;
    justify-content: flex-start;
  }

  .back-link {
    position: absolute;
    left: 24px;
    top: 24px;
    transform: none;
    width: auto;
    font-size: 62px;
  }

  .back-link:hover,
  .back-link:focus-visible {
    transform: translateX(-4px);
  }
}

@media (max-width: 620px) {
  .back-link {
    left: 20px;
  }

  main {
    padding-left: 20px;
    padding-right: 20px;
  }

  .legal-heading {
    margin-bottom: 34px;
  }

  section + section { margin-top: 28px; }

  p {
    font-size: 13px;
    line-height: 1.7;
  }
}
