:root {
  --bg: #080808;
  --text: #f2f2ee;
  --muted: #969691;
  --dim: #62625e;
  --line: rgba(255, 255, 255, 0.1);
  --soft-line: rgba(255, 255, 255, 0.065);
  --max: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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


/* HEADER */

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 36px), var(--max));
  height: 64px;
  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: rgba(9, 9, 9, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.brand img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  gap: 28px;
}

.desktop-nav a {
  color: #999;
  font-size: 13px;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: #fff;
}


/* MOBILE MENU */

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.menu-button span {
  position: absolute;
  left: 9px;
  width: 24px;
  height: 1px;
  background: #fff;
  transition: 0.3s ease;
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 24px;
}

.menu-button.open span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.menu-button.open span:last-child {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);

  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.mobile-menu a {
  font-size: 28px;
  letter-spacing: -0.04em;
}


/* HERO */

.legal-hero {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;

  padding-top: 220px;
  padding-bottom: 110px;

  border-bottom: 1px solid var(--soft-line);
}

.eyebrow {
  color: #777773;
  font-size: 10px;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
}

.legal-hero h1 {
  max-width: 1050px;

  font-size: clamp(58px, 9vw, 125px);
  line-height: 0.91;
  letter-spacing: -0.075em;
  font-weight: 500;
}

.legal-hero h1 span {
  display: block;
  color: #6d6d68;
}

.hero-description {
  max-width: 600px;
  margin-top: 42px;

  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.updated {
  margin-top: 25px;
  color: var(--dim);
  font-size: 11px;
}


/* LEGAL LAYOUT */

.legal-layout {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;

  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 100px;

  padding-top: 100px;
  padding-bottom: 150px;
}


/* LEGAL NAV */

.legal-nav {
  position: sticky;
  top: 105px;
  align-self: start;
}

.legal-nav > p {
  margin-bottom: 20px;

  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.legal-nav a {
  display: block;

  padding: 10px 0;

  color: #777;
  font-size: 12px;

  transition: color 0.2s ease;
}

.legal-nav a:hover,
.legal-nav a.active {
  color: #fff;
}


/* CONTENT */

.legal-content {
  max-width: 780px;
}

.legal-content section {
  padding-bottom: 95px;
  margin-bottom: 95px;
  border-bottom: 1px solid var(--soft-line);
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.section-number {
  display: block;
  margin-bottom: 20px;

  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.legal-content h2 {
  margin-bottom: 30px;

  font-size: clamp(32px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.legal-content p {
  margin-bottom: 20px;

  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content p a {
  color: #eee;
  border-bottom: 1px solid #555;
  transition: border-color 0.2s ease;
}

.legal-content p a:hover {
  border-color: #fff;
}


/* RELATED */

.related-links {
  margin-top: 35px;
  border-top: 1px solid var(--soft-line);
}

.related-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 22px 0;

  border-bottom: 1px solid var(--soft-line);

  transition: padding 0.25s ease;
}

.related-links a:hover {
  padding-left: 10px;
}

.related-links a span {
  display: flex;
  align-items: center;
  gap: 20px;

  font-size: 14px;
}

.related-links small {
  color: var(--dim);
  font-size: 9px;
}

.related-links b {
  color: #777;
  font-size: 14px;
  font-weight: 400;
}


/* CONTACT */

.contact-link {
  display: inline-flex;
  gap: 10px;

  margin-top: 15px;

  color: #eee;
  font-size: 14px;
}

.contact-link span {
  transition: transform 0.2s ease;
}

.contact-link:hover span {
  transform: translate(3px, -3px);
}


/* FOOTER */

.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;

  padding: 70px 0 30px;

  border-top: 1px solid var(--soft-line);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.footer-brand img {
  width: 38px;
}

.footer-brand p {
  max-width: 250px;
  margin-top: 20px;

  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 60px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links span {
  margin-bottom: 7px;

  color: #666;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links a {
  color: #999;
  font-size: 12px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;

  margin-top: 80px;
  padding-top: 20px;

  border-top: 1px solid var(--soft-line);

  color: #555;
  font-size: 10px;
}


/* RESPONSIVE */

@media (max-width: 800px) {

  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    height: 58px;
    border-radius: 17px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .legal-hero,
  .legal-layout,
  .site-footer {
    width: calc(100% - 32px);
  }

  .legal-hero {
    padding-top: 165px;
    padding-bottom: 75px;
  }

  .legal-hero h1 {
    font-size: 55px;
  }

  .hero-description {
    font-size: 15px;
    margin-top: 30px;
  }

  .legal-layout {
    display: block;
    padding-top: 55px;
    padding-bottom: 100px;
  }

  .legal-nav {
    position: static;

    display: flex;
    flex-wrap: wrap;
    gap: 5px 18px;

    margin-bottom: 70px;
  }

  .legal-nav > p {
    width: 100%;
    margin-bottom: 5px;
  }

  .legal-nav a {
    padding: 6px 0;
  }

  .legal-content section {
    padding-bottom: 65px;
    margin-bottom: 65px;
  }

  .legal-content h2 {
    font-size: 38px;
  }

  .legal-content p {
    font-size: 14px;
  }

  .footer-top {
    flex-direction: column;
    gap: 55px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  .footer-links div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    margin-top: 60px;
  }
}