:root {
  --ink: #0c0d0e;
  --graphite: #1a1c1e;
  --stone: #72706d;
  --bone: #ede9e2;
  --porcelain: #f8f5ee;
  --brass: #c49532;
  --line: rgba(12, 13, 14, .14);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--porcelain);
  font-family: var(--body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.legal-shell {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 54px;
}

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.legal-logo {
  width: 148px;
  height: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
}

.legal-content {
  padding-top: 42px;
}

h1,
h2 {
  font-family: var(--display);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(36px, 7vw, 64px);
}

h2 {
  margin: 42px 0 12px;
  font-size: clamp(24px, 4vw, 32px);
}

p {
  margin: 0 0 16px;
  color: rgba(12, 13, 14, .78);
  font-size: 16px;
}

.updated {
  margin-bottom: 26px;
  color: var(--stone);
  font-size: 14px;
  font-weight: 800;
}

ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

li {
  margin: 8px 0;
  color: rgba(12, 13, 14, .78);
}

a {
  color: #8a6a22;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 46px;
  padding-top: 24px;
  color: var(--stone);
  font-size: 13px;
  border-top: 1px solid var(--line);
}

.legal-footer p {
  margin: 0;
  font-size: 13px;
}

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

@media (max-width: 620px) {
  .legal-shell {
    width: min(100% - 32px, 840px);
    padding-top: 24px;
  }

  .legal-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-logo {
    width: 130px;
  }

  .legal-content {
    padding-top: 34px;
  }

  p,
  li {
    font-size: 15px;
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
