:root {
  --bg: #eceef1;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --accent: #111827;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

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

a {
  color: inherit;
}

.legal-page {
  min-height: 100vh;
  padding: 40px 20px 64px;
}

.legal-card {
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 48px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

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

h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  font-weight: 700;
}

.accent {
  width: 44px;
  height: 8px;
  margin: 24px 0;
  border-radius: 999px;
  background: var(--accent);
}

.updated {
  margin: 0 0 36px;
  color: var(--muted);
}

section {
  padding: 28px 0;
  border-top: 1px solid #e5e7eb;
}

section:first-of-type {
  border-top: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 21px;
  line-height: 1.35;
}

p,
li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 0 0 14px;
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

section a {
  color: #111827;
  font-weight: 600;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 0;
  }

  .legal-card {
    min-height: 100vh;
    padding: 28px 20px 48px;
    border-radius: 0;
    box-shadow: none;
  }
}
