/* Páginas legais do site (termos e privacidade): mesmas cores e fontes da página inicial, leitura em coluna. */
:root {
  --paper: #f1f3f2; --paper-2: #e6e9e8; --ink: #14181c; --steel: #56616a; --line: #cdd3d6;
  --tag: #ffc21a; --tag-ink: #1d1700;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101316; --paper-2: #171b1f; --ink: #e8ebec; --steel: #9aa5ad; --line: #2a3137;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101316; --paper-2: #171b1f; --ink: #e8ebec; --steel: #9aa5ad; --line: #2a3137;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--tag); outline-offset: 3px; border-radius: 2px; }

.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top .in { max-width: 72rem; margin: 0 auto; padding: .75rem 16px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.125rem; }
.brand svg { width: 28px; height: 28px; flex: none; }
.top nav { display: flex; gap: 1.25rem; font-size: .9375rem; }
.top nav a { text-decoration: none; color: var(--steel); }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

main { max-width: 46rem; margin: 0 auto; padding: 2.5rem 16px 4rem; }
.kicker { font-family: var(--mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--steel); margin: 0; }
h1 { font-family: var(--display); font-stretch: 85%; font-weight: 850; font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); line-height: 1.05; margin: .35rem 0 .75rem; }
.meta { display: inline-block; font-family: var(--mono); font-size: .8125rem; background: var(--tag); color: var(--tag-ink); padding: .2rem .55rem; border-radius: 3px; margin: 0 0 1.5rem; }
.lead { font-size: 1.0625rem; }
h2 { font-family: var(--display); font-weight: 800; font-size: 1.375rem; line-height: 1.2; margin: 2.5rem 0 .75rem; scroll-margin-top: 5rem; }
h3 { font-size: 1rem; margin: 1.5rem 0 .5rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .4rem; }
strong { font-weight: 700; }

.toc { border: 1px solid var(--line); border-radius: 6px; padding: 1rem 1.25rem; background: var(--paper-2); margin: 1.5rem 0 1rem; }
.toc p { font-weight: 700; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.25rem; columns: 2 14rem; column-gap: 2rem; }
.toc li { margin-bottom: .25rem; break-inside: avoid; }

.box { border-left: 4px solid var(--tag); background: var(--paper-2); padding: .9rem 1.1rem; border-radius: 0 6px 6px 0; margin: 0 0 1rem; }
.box p:last-child { margin-bottom: 0; }

.table { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
th { background: var(--paper-2); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
code { font-family: var(--mono); font-size: .875em; }

.foot { border-top: 1px solid var(--line); color: var(--steel); font-size: .875rem; }
.foot .in { max-width: 72rem; margin: 0 auto; padding: 1.5rem 16px 2rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }

@media (max-width: 34rem) { .top nav a.hide-sm { display: none; } }
@media print { .top, .toc { display: none; } body { background: #fff; color: #000; } main { padding-top: 0; } }
