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

:root {
  --ink: #0a0a0a;
  --muted: #6f6f6a;
  --line: #e5e5e1;
  --paper: #f5f5f2;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.legal-topbar {
  height: 76px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 2;
}

.legal-brand,
.back-link {
  color: var(--ink);
  text-decoration: none;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 800;
}

.brand-mark {
  width: 21px;
  height: 21px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  transform: rotate(45deg);
}

.brand-mark i {
  border: 2px solid var(--ink);
  border-radius: 3px;
}

.brand-mark i:last-child {
  background: var(--ink);
}

.back-link {
  font-size: 12px;
  font-weight: 700;
}

.legal-layout {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(55px, 9vw, 110px) 0 100px;
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(50px, 10vw, 130px);
  align-items: start;
}

.legal-intro {
  position: sticky;
  top: 130px;
}

.eyebrow,
.updated {
  margin: 0;
  color: var(--muted);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 17px 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.legal-summary {
  max-width: 380px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.legal-content {
  padding: clamp(28px, 5vw, 55px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.06);
}

.legal-content section + section {
  margin-top: 38px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.035em;
}

.legal-content p {
  margin: 0;
  color: #454542;
  font-size: 13px;
  line-height: 1.85;
}

.legal-content a {
  color: var(--ink);
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-footer {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: 25px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
}

.legal-footer nav {
  display: flex;
  gap: 18px;
}

.legal-footer a {
  color: inherit;
  text-decoration: none;
}

@media (max-width: 780px) {
  .legal-topbar {
    height: 66px;
  }

  .legal-layout {
    width: min(100% - 28px, 620px);
    padding: 42px 0 65px;
    display: block;
  }

  .legal-intro {
    position: static;
    margin-bottom: 35px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 56px);
  }

  .legal-content {
    padding: 25px 20px;
    border-radius: 22px;
  }

  .legal-content section + section {
    margin-top: 28px;
    padding-top: 28px;
  }

  .legal-footer {
    width: min(100% - 28px, 620px);
    display: block;
  }

  .legal-footer nav {
    margin-top: 15px;
    flex-wrap: wrap;
  }
}
