/* B2: tokens do Hub, leitura pública sem script nem recursos externos. */
:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg-base); color: var(--text-primary); font-family: var(--font-family-ui); font-size: 16px; line-height: 1.75; }
a { color: var(--accent-primary-text); text-underline-offset: 4px; overflow-wrap: anywhere; }
a:focus-visible,summary:focus-visible,.legal-table:focus-visible { outline: 2px solid var(--accent-primary-text); outline-offset: 4px; }
.skip { position: absolute; top: -100px; padding: 12px 20px; background: var(--surface-2); }.skip:focus { top: 0; }
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 5vw; border-bottom: 1px solid var(--border-soft); background: var(--bg-shell); }
.brand { font-weight: 800; letter-spacing: .12em; text-decoration: none; color: var(--text-primary); }.brand span { font-size: 11px; color: var(--text-secondary); }
.legal-header>span,.legal-meta { color: var(--text-secondary); font-size: 14px; }
.legal-layout { max-width: 1200px; margin: auto; display: grid; grid-template-columns: 270px minmax(0, 760px); gap: 64px; padding: 48px 24px 64px; }
nav { position: sticky; top: 24px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; padding: 20px; border: 1px solid var(--border-soft); border-radius: var(--radius-md); background: var(--surface-1); }
summary { cursor: pointer; font-weight: 600; min-height: 44px; }nav ol { list-style: none; padding: 0; margin: 0; }nav a { display: block; padding: 9px 0; font-size: 14px; text-decoration: none; }nav a:hover { text-decoration: underline; }
main { min-width: 0; }h1 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -.02em; margin: 12px 0 32px; }h2 { font-size: 24px; line-height: 1.35; margin: 48px 0 16px; }h3,h4 { font-size: 19px; line-height: 1.45; margin: 28px 0 12px; }h1,h2,h3,h4 { scroll-margin-top: 24px; }
p,ul,ol { margin: 0 0 20px; }li { margin-bottom: 8px; }hr { border: 0; border-top: 1px solid var(--border-soft); margin: 32px 0; }blockquote { margin: 24px 0; padding: 20px 24px; border-left: 3px solid var(--accent-primary-text); background: var(--surface-1); border-radius: var(--radius-sm); }blockquote p:last-child { margin-bottom: 0; }
code { font: .9em var(--font-family-mono); overflow-wrap: anywhere; } .legal-table { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border-soft); border-radius: var(--radius-md); }table { width: 100%; min-width: 440px; border-collapse: collapse; font-size: 14px; line-height: 1.6; }th,td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border-soft); }th { background: var(--surface-1); }tr:last-child td { border-bottom: 0; }
.top { display: inline-block; padding: 12px 0; margin-top: 32px; }footer { border-top: 1px solid var(--border-soft); padding: 24px; display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }footer a { min-height: 44px; display: flex; align-items: center; }
@media(max-width: 800px) { .legal-layout { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px 48px; }nav { position: static; max-height: 280px; }nav ol { columns: 2; column-gap: 20px; }nav li { break-inside: avoid; }h2 { font-size: 22px; } }
@media(max-width: 480px) { .legal-header { padding: 16px 20px; flex-wrap: wrap; gap: 8px; }.legal-header>span { font-size: 12px; }nav ol { columns: 1; }blockquote { padding: 16px; } }
@media print { nav,.legal-header,footer,.top { display: none; }body { background: white; color: black; }.legal-layout { display: block; max-width: none; padding: 0; }a { color: inherit; } }
