:root { color-scheme: dark; --page: #151914; --surface: #20261f; --raised: #2a3229; --text: #edf1ea; --muted: #b9c2b6; --accent: #8fd889; --deep: #17491e; --line: rgba(255,255,255,.12); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: radial-gradient(circle at 50% -20%, color-mix(in srgb, var(--accent) 28%, var(--page)) 0, var(--page) 42%); color: var(--text); font: 16px/1.65 "Segoe UI", system-ui, sans-serif; }
a { color: var(--accent); text-underline-offset: 3px; }
.legal-shell { width: min(860px, calc(100% - 32px)); margin: 0 auto; padding: 32px 0 64px; }
.legal-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.legal-brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-weight: 800; text-decoration: none; }
.legal-brand img { width: 40px; height: 40px; }
.legal-back, .legal-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 12px; background: var(--raised); color: var(--text); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.legal-card { padding: clamp(22px, 5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: rgba(32,38,31,.94); box-shadow: 0 24px 80px rgba(0,0,0,.28); }
.legal-kicker { margin: 0; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 6px 0 4px; font-size: clamp(30px, 6vw, 48px); line-height: 1.08; }
.legal-date { margin: 0 0 32px; color: var(--muted); }
h2 { margin: 32px 0 8px; font-size: 21px; }
p, li { color: #dce2d9; }
li + li { margin-top: 6px; }
.legal-note { padding: 16px; border-left: 4px solid var(--accent); border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--accent) 9%, transparent); }
.legal-actions { display: grid; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-action { width: 100%; background: var(--deep); }
.legal-action:disabled { opacity: .45; cursor: not-allowed; }
.legal-scroll-note { margin: 0; color: var(--muted); font-size: 14px; text-align: center; }
.legal-footer { margin-top: 24px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 560px) { .legal-shell { width: min(100% - 20px, 860px); padding-top: 16px; } .legal-topbar { align-items: stretch; flex-direction: column; } .legal-back { width: 100%; } .legal-card { border-radius: 18px; } }
