/* Legal pages — same palette and type as the app. Styling only. */
:root { --brand: #1E40AF; --brand-deep: #0B1A4A; --accent: #C9A227; --bg: #F5F7FA; --surface: #fff; --text: #0F172A; --text-3: #5B6577; --border: #E2E6EC; --warn-soft: #F7EEDB;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --font-display: var(--font); --radius: 16px; }
@media (prefers-color-scheme: dark) { :root { --brand: #7C9BF2; --bg: #0E121A; --surface: #151B26; --text: #E8ECF3; --text-3: #94A0B3; --border: #263042; --warn-soft: #2F2918; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 450 15px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
main { max-width: 720px; margin: 0 auto; padding: 0 16px 56px; }
a { color: var(--brand); text-decoration: none; font-weight: 600; } a:hover { text-decoration: underline; }
.top { display: flex; justify-content: space-between; align-items: center; margin: 0 calc(50% - 50vw) 32px; padding: 18px calc(50vw - 50% + 16px); background: linear-gradient(180deg, #0C3B2E, #082A21); font-size: 13px; position: relative; }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent) 20%, var(--accent) 80%, transparent); }
.top a { color: #fff; }
.mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: #fff; }
.mark svg rect { fill: #fff; }
.mark svg path { stroke: #0C3B2E; }
.mark:hover { text-decoration: none; }
h1 { font-family: var(--font-display); font-size: 34px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 6px; }
h2 { font-size: 17px; font-weight: 800; margin: 32px 0 8px; }
.muted { color: var(--text-3); font-size: 13px; }
.draft { background: var(--warn-soft); border-left: 3px solid var(--accent); border-radius: 12px; padding: 12px 14px; font-size: 13px; margin: 16px 0; }
.box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow-x: auto; box-shadow: 0 1px 2px rgba(12,59,46,.05), 0 8px 24px rgba(12,59,46,.06); }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--text-3); padding: 10px 14px; border-bottom: 1px solid var(--border); background: var(--bg); }
td { padding: 12px 14px; border-top: 1px solid var(--border); vertical-align: top; }
li { margin: 5px 0; }
.foot { margin-top: 48px; padding-top: 16px; border-top: 1px solid var(--border); text-align: center; font-size: 12px; color: var(--text-3); }
.foot a { color: var(--text-3); }
