/* Legal pages: readable long-form text in the site's dark style. */
:root { color-scheme: dark; --bg: #000; --surface: #111; --text: #e6e6e6; --muted: #bdbdbd; --line: rgba(255,255,255,.18); --accent: #ee620d; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.lg-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 1200px; margin: 0 auto; padding: 20px 16px; border-bottom: 1px solid var(--line);
}
.lg-logo img { display: block; width: 136px; height: auto; }
.lg-back { min-height: 44px; display: inline-flex; align-items: center; }
.lg-wrap {
  max-width: 1200px; margin: 0 auto; padding: 40px 16px 80px;
  display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) { .lg-wrap { grid-template-columns: 240px minmax(0, 1fr); } }
.lg-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; position: sticky; top: 24px; }
.lg-nav a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--muted); }
.lg-nav a:hover { color: #fff; background: var(--surface); }
.lg-nav a[aria-current="page"] { color: #fff; background: var(--surface); box-shadow: inset 3px 0 0 var(--accent); }
.lg-main { max-width: 72ch; }
.lg-main h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 8px; color: #fff; }
.lg-main h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 12px; color: #fff; }
.lg-main h3 { font-size: 19px; margin: 28px 0 8px; color: #fff; }
.lg-main p, .lg-main ul, .lg-main ol { margin: 0 0 16px; }
.lg-main li { margin: 0 0 6px; }
.updated { color: var(--muted); font-size: 15px; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px 8px; margin: 24px 0 8px; }
.summary h2 { margin-top: 20px; }
.pending { color: var(--muted); font-style: italic; }
.lg-table { overflow-x: auto; margin: 0 0 24px; }
.lg-table:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lg-main table { width: 100%; border-collapse: collapse; font-size: 15px; }
.lg-main table:has(th:nth-child(3)) { min-width: 36rem; } /* 3+ columns: scroll at a readable width instead of squeezing */
.lg-main caption { text-align: left; color: var(--muted); padding: 0 0 8px; }
.lg-main th, .lg-main td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.lg-main thead th { color: #fff; border-bottom-color: rgba(255,255,255,.4); }
.lg-main button[data-cookie-settings] {
  min-height: 48px; padding: 0 20px; border-radius: 24px; border: 1px solid #fff;
  background: #fff; color: #000; font: inherit; font-weight: 600; cursor: pointer;
}
.lg-main button[data-cookie-settings]:hover { background: var(--accent); border-color: var(--accent); }
.lg-footer { border-top: 1px solid var(--line); padding: 24px 16px 96px; text-align: center; color: var(--muted); font-size: 14px; }
.lg-footer p { margin: 0 0 8px; }
