:root {
  color-scheme: light;
  font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f7;
  color: #0a0a0f;
}

body {
  margin: 0;
  background: #f5f5f7;
  color: #0a0a0f;
}

.legal-body {
  min-height: 100vh;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(840px, 100%);
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #0a0a0f;
  text-decoration: none;
}

.logo-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #0f3d2e;
  color: #fff;
  font-weight: 600;
}

.back-link {
  color: #0071e3;
  font-weight: 500;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus-visible {
  text-decoration: underline;
}

.legal-card {
  width: min(840px, 100%);
  margin: 1.5rem auto 4rem;
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem 2rem 3rem;
  border: 1px solid rgba(4, 4, 10, 0.08);
  box-shadow: 0 30px 60px rgba(6, 7, 10, 0.08);
  line-height: 1.65;
}

h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 1.5rem;
}

h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1rem;
  color: rgba(8, 8, 12, 0.75);
}

a {
  color: #0071e3;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.back-home {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
}
