@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f7f7f5;
  --surface: rgba(255,255,255,0.68);
  --text: #111111;
  --muted: #747474;
  --line: rgba(17,17,17,0.12);
  --soft-line: rgba(17,17,17,0.07);
  --max: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.site-header {
  width: 100%;
  height: 82px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--soft-line);
  position: relative;
  z-index: 20;
  background: rgba(247,247,245,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

.brand span {
  font-size: 16px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

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

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

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-button span {
  width: 21px;
  height: 1px;
  background: #111;
  display: block;
  transition: transform .25s ease;
}

.mobile-menu {
  display: none;
}

.legal-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 125px 5vw 110px;
}

.eyebrow,
.legal-sidebar > p,
.section-number {
  font-family: "DM Mono", monospace;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .13em;
}

.eyebrow {
  color: #777;
  margin-bottom: 35px;
}

.legal-hero h1 {
  max-width: 920px;
  font-size: clamp(48px, 7vw, 92px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 500;
}

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

.hero-copy {
  max-width: 650px;
  margin-top: 42px;
  color: #666;
  font-size: 17px;
  line-height: 1.75;
}

.updated {
  margin-top: 30px;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  color: #777;
  letter-spacing: .05em;
}

.legal-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 5vw 140px;
  display: grid;
  grid-template-columns: 220px minmax(0, 780px);
  gap: 100px;
}

.legal-sidebar {
  position: relative;
}

.legal-sidebar > p {
  color: #888;
  margin-bottom: 24px;
}

.legal-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 110px;
}

.legal-sidebar nav a {
  font-size: 12px;
  color: #888;
  transition: color .2s ease;
}

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

.legal-sidebar nav a.active {
  position: relative;
  padding-left: 15px;
}

.legal-sidebar nav a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 1px;
  background: #111;
}

.legal-content {
  min-width: 0;
}

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

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

.section-number {
  display: block;
  color: #999;
  margin-bottom: 18px;
}

.legal-content h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 500;
  margin-bottom: 28px;
}

.legal-content h3 {
  margin-top: 35px;
  margin-bottom: 13px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
}

.legal-content p {
  max-width: 720px;
  color: #606060;
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 19px;
}

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

.legal-content a:not(.contact-email) {
  text-decoration: underline;
  text-decoration-color: #aaa;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.legal-content a:hover {
  color: #555;
}

.legal-content ul {
  padding-left: 20px;
  margin: 25px 0;
}

.legal-content li {
  color: #606060;
  font-size: 15px;
  line-height: 1.85;
  padding-left: 7px;
  margin-bottom: 10px;
}

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

.legal-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none !important;
}

.legal-links span {
  font-size: 14px;
  font-weight: 600;
}

.legal-links small {
  color: #888;
  font-size: 11px;
  text-align: right;
}

.contact-email {
  display: inline-block;
  margin-top: 12px;
  font-family: "DM Mono", monospace;
  font-size: 13px;
  border-bottom: 1px solid #111;
  padding-bottom: 5px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 75px 5vw 30px;
}

.footer-main {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 75px;
}

.footer-brand p {
  max-width: 300px;
  margin-top: 22px;
  color: #777;
  font-size: 13px;
  line-height: 1.7;
}

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

.footer-column > span {
  font-family: "DM Mono", monospace;
  color: #999;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-column a {
  width: fit-content;
  color: #666;
  font-size: 12px;
  transition: color .2s ease;
}

.footer-column a:hover,
.footer-column a.active {
  color: #111;
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #999;
  font-family: "DM Mono", monospace;
  font-size: 9px;
  letter-spacing: .04em;
}

.footer-bottom a:hover {
  color: #111;
}


@media (max-width: 850px) {

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    inset: 82px 0 0;
    z-index: 15;
    background: rgba(247,247,245,.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 5vw;
    transform: translateY(-110%);
    transition: transform .35s ease;
    display: block;
  }

  .mobile-menu.open {
    transform: translateY(0);
  }

  .mobile-menu nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

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

  .legal-hero {
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .legal-sidebar nav {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 20px;
  }

  .legal-sidebar nav a.active {
    padding-left: 0;
  }

  .legal-sidebar nav a.active::before {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}


@media (max-width: 560px) {

  .site-header {
    height: 70px;
  }

  .mobile-menu {
    inset: 70px 0 0;
  }

  .legal-hero {
    padding: 70px 6vw 65px;
  }

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

  .hero-copy {
    font-size: 15px;
    line-height: 1.7;
  }

  .legal-layout {
    padding: 0 6vw 90px;
  }

  .legal-sidebar nav {
    grid-template-columns: 1fr;
  }

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

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

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

  .legal-links a {
    display: block;
  }

  .legal-links small {
    display: block;
    margin-top: 7px;
    text-align: left;
  }

  .site-footer {
    padding: 60px 6vw 25px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 55px;
  }

  .footer-bottom {
    flex-direction: column;
    line-height: 1.7;
  }
}