/* Umbrelar legal pages — clean, standalone, host-anywhere */
:root {
  --brand: #0F6FE5;
  --brand-ink: #0a4fa6;
  --bg: #ffffff;
  --surface: #f7f9fc;
  --border: #e5e9f0;
  --text: #1a2230;
  --muted: #5b6675;
  --max: 760px;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1117;
    --surface: #161b22;
    --border: #263041;
    --text: #e6edf6;
    --muted: #9aa7b8;
    --brand: #4d9bff;
    --brand-ink: #7fb6ff;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(1.2) blur(6px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand .brand-mark { width: 26px; height: 26px; display: inline-block; border-radius: 7px; box-shadow: 0 2px 8px rgba(15,111,229,.35); }
nav.top a { color: var(--muted); text-decoration: none; font-size: 14px; margin-left: 18px; }
nav.top a:hover, nav.top a.active { color: var(--brand); }

/* Hero */
.hero { padding: 44px 0 8px; }
.hero .eyebrow { color: var(--brand); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.hero h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 10px; }
.hero .updated { color: var(--muted); font-size: 14px; margin: 0; }

/* Content */
main { padding: 24px 0 72px; }
main h2 { font-size: 22px; letter-spacing: -0.01em; margin: 40px 0 10px; padding-top: 8px; }
main h3 { font-size: 17px; margin: 24px 0 8px; }
main p, main li { color: var(--text); }
main a { color: var(--brand); }
main ul { padding-left: 22px; }
main li { margin: 6px 0; }
.muted { color: var(--muted); }
.lead { font-size: 17px; color: var(--muted); }

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 20px 0;
}
.callout p { margin: 6px 0; }

table.subproc {
  width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px;
  display: block; overflow-x: auto; white-space: nowrap;
}
table.subproc th, table.subproc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
table.subproc th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
@media (min-width: 640px) { table.subproc { white-space: normal; } }

.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; }
.toc strong { display:block; font-size: 13px; text-transform: uppercase; letter-spacing:.05em; color: var(--muted); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 560px) { .toc ol { columns: 1; } }

footer.site { border-top: 1px solid var(--border); background: var(--surface); padding: 28px 0; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
footer.site a { color: var(--muted); text-decoration: none; font-size: 14px; }
footer.site a:hover { color: var(--brand); }
footer.site .copy { color: var(--muted); font-size: 13px; }
