:root {
  color-scheme: light;
  --ink: #1d2336;
  --muted: #697188;
  --line: #e4e6f0;
  --surface: #ffffff;
  --soft: #f5f5ff;
  --accent: #5f57dd;
  --accent-dark: #4d45c7;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f7f8fc; line-height: 1.65; }
a { color: var(--accent-dark); }
.legal-site-header { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); }
.legal-brand { color: var(--ink); font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 16px; font-size: .9rem; }
.legal-nav a { color: var(--muted); text-decoration: none; }
.legal-nav a[aria-current="page"] { color: var(--accent-dark); font-weight: 750; }
.legal-page { width: min(860px, calc(100% - 32px)); margin: 48px auto 72px; padding: clamp(26px, 5vw, 64px); border: 1px solid var(--line); border-radius: 26px; background: var(--surface); box-shadow: 0 22px 65px rgba(35, 38, 70, .08); }
.legal-kicker { margin: 0 0 8px; color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.6rem); line-height: 1.04; letter-spacing: -.045em; }
.legal-intro { margin: 18px 0 34px; color: var(--muted); font-size: 1.04rem; }
.legal-updated { display: inline-flex; margin: 0 0 24px; padding: 7px 11px; border-radius: 999px; background: var(--soft); color: var(--accent-dark); font-size: .78rem; font-weight: 750; }
h2 { margin: 34px 0 9px; font-size: 1.2rem; letter-spacing: -.02em; }
p, li { color: #4e566d; }
ul { padding-left: 22px; }
.legal-note { margin-top: 38px; padding: 18px 20px; border-left: 4px solid var(--accent); border-radius: 0 14px 14px 0; background: var(--soft); }
.legal-footer { width: min(860px, calc(100% - 32px)); margin: -48px auto 50px; color: var(--muted); font-size: .82rem; text-align: center; }
@media (max-width: 640px) {
  .legal-site-header { position: static; align-items: flex-start; flex-direction: column; }
  .legal-nav { justify-content: flex-start; gap: 10px 16px; }
  .legal-page { margin-top: 20px; border-radius: 20px; }
}
