/* Legal pages. Shared layout across Next AIM apps; only the accent changes per product. Light and dark follow the device. */
:root { --bg:#ffffff; --text:#14171c; --muted:#5a6270; --line:#dde2ea; --accent:#2563eb; --raised:#f4f6fa; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#0a0b0e; --text:#f0f3f7; --muted:#a9b2c0; --line:#39414f; --accent:#6ea8ff; --raised:#131720; }
}
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--text); font:16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing:antialiased; }
main { max-width:760px; margin:0 auto; padding:48px 22px 80px; }
header p { margin:4px 0; color:var(--muted); }
.brand { font-weight:800; letter-spacing:-0.02em; font-size:15px; color:var(--muted); margin-bottom:28px; }
.brand a { color:inherit; text-decoration:none; }
.brand span { color:var(--accent); }
h1 { font-size:34px; line-height:1.15; margin:0 0 10px; letter-spacing:-0.02em; }
h2 { font-size:21px; margin:44px 0 10px; padding-top:18px; border-top:1px solid var(--line); }
h3 { font-size:17px; margin:26px 0 6px; }
a { color:var(--accent); }
ul, ol { padding-left:22px; }
li { margin:6px 0; }
code { background:var(--raised); padding:1px 5px; border-radius:4px; font-size:14px; }
table { width:100%; border-collapse:collapse; margin:14px 0; font-size:15px; }
th, td { text-align:left; vertical-align:top; padding:10px 12px; border-bottom:1px solid var(--line); }
th { color:var(--muted); font-weight:600; font-size:13px; }
.summary { background:var(--raised); border:1px solid var(--line); border-radius:12px; padding:18px 22px; margin:26px 0; }
.summary ul { margin:8px 0 0; padding-left:20px; }
.summary p { margin:8px 0 0; }
.summary p:first-child { margin-top:0; }
.summary .lead { margin:8px 0 0; }
footer { margin-top:56px; padding-top:18px; border-top:1px solid var(--line); font-size:15px; color:var(--muted); }
footer nav a { margin-right:18px; }
footer p { margin:10px 0 0; }
@media (max-width:560px) { table, thead, tbody, tr, th, td { display:block; } thead { display:none; } td { border:0; padding:4px 0; } tr { border-bottom:1px solid var(--line); padding:10px 0; } }
