:root {
  --primary: #604be8;
  --primary-dark: #4a3ab8;
  --background: #f3f7ff;
  --paper: #ffffff;
  --text: #302d3d;
  --text-secondary: #6b7291;
  --font: 'Lexend', system-ui, -apple-system, sans-serif;
}
* , *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--background);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.legal-header {
  background: var(--primary);
  color: #fff;
  padding: 1.25rem 2rem;
}
.legal-header-inner {
  max-width: 820px; margin: 0 auto;
  display: flex; align-items: center; gap: 0.75rem;
}
.legal-header img { width: 36px; height: 36px; filter: brightness(0) invert(1); }
.legal-header a { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.legal-header .back { margin-left: auto; font-weight: 500; font-size: 0.9rem; text-decoration: underline; text-underline-offset: 3px; }
main {
  max-width: 820px;
  margin: 3rem auto 4rem;
  padding: 2.5rem;
  background: var(--paper);
  border-radius: 20px;
  border: 1px solid rgba(96, 75, 232, 0.1);
}
h1 { font-size: clamp(1.6rem, 4vw, 2.25rem); line-height: 1.2; margin: 0 0 0.5rem; }
.updated { color: var(--text-secondary); font-size: 0.9rem; margin: 0 0 2.5rem; }
h2 { font-size: 1.15rem; margin: 2.5rem 0 0.75rem; color: var(--primary-dark); }
p, li { color: var(--text); }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--primary); }
dl { margin: 0; }
dt { font-weight: 600; margin-top: 0.9rem; }
dd { margin: 0.15rem 0 0; color: var(--text-secondary); }
.todo { background: #fff6e0; border-left: 3px solid #ff9f04; padding: 0.6rem 0.9rem; border-radius: 0 8px 8px 0; font-size: 0.9rem; }
footer { max-width: 820px; margin: 0 auto 3rem; padding: 0 2.5rem; color: var(--text-secondary); font-size: 0.85rem; text-align: center; }
@media (max-width: 640px) { main { margin: 1.5rem 1rem 2.5rem; padding: 1.5rem; } }
