/* Legal pages: same chrome idea as the Color Sort site's legal.css, in this site's palette. */

body {
  margin: 0;
  background: #fff8ec;
  -webkit-font-smoothing: antialiased;
}

.legal {
  font: 600 16px/1.65 'Quicksand', system-ui, sans-serif;
  color: #4a3628;
}

.legal-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #4a3628;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 4px 0 rgba(74, 54, 40, 0.12);
}

.brand span {
  font-family: 'Chewy', sans-serif;
  font-size: 24px;
}

.back-btn {
  font: 700 14px 'Quicksand', sans-serif;
  color: #4a3628;
  text-decoration: none;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 0 #eadfcb;
  display: inline-flex;
  align-items: center;
}

.legal main {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 56px) clamp(20px, 5vw, 56px) 80px;
  box-sizing: border-box;
}

.legal .card {
  background: #fff;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 8px 0 #eadfcb;
}

.legal h1 {
  font: 400 clamp(32px, 5vw, 48px) / 1.05 'Chewy', cursive;
  margin: 0 0 8px;
  text-wrap: balance;
}

.legal h2 {
  font: 400 26px/1.15 'Chewy', cursive;
  margin: 36px 0 10px;
  text-wrap: balance;
}

.legal p {
  margin: 0 0 14px;
  text-wrap: pretty;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 22px;
}

.legal li {
  margin: 4px 0;
}

.legal .card a {
  color: #8b5e3c;
}

.legal .card a:hover {
  color: #4a3628;
}

.legal hr {
  border: 0;
  border-top: 1px solid #eadfcb;
  margin: 32px 0;
}

.legal em {
  color: #8b5e3c;
}

.legal-footer {
  background: #4a3628;
  color: #eadfcb;
  padding: 32px 24px;
}

.legal-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.legal-footer-links a {
  color: #eadfcb;
  text-decoration: none;
}
