/* Tokens, reset e tipografia. Quatro tamanhos de fonte em todo o site. */
:root {
  --bg: #0E1012;
  --s1: #15191C;
  --s2: #1B2024;
  --s3: #242A2F;
  --linha: #2A3036;
  --txt: #EAEEF0;
  --mut: #94A0A7;
  --acc: #C6F135;
  --acc-tinta: #0E1012;
  --ambar: #F0B340;
  --ambar-borda: rgba(240, 179, 64, .45);
  --perigo: #F08A84;
  --perigo-borda: #5A2E2E;

  --t-s: .8125rem;
  --t-m: 1rem;
  --t-l: 1.375rem;
  --t-xl: 2.25rem;

  --e1: 4px; --e2: 8px; --e3: 12px; --e4: 16px; --e5: 24px; --e6: 32px;
  --raio: 16px;
  --aba: 64px;
  --seguro: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--t-m);
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
body.trava { overflow: hidden; }

h1, h2, p, ul, dl, dd { margin: 0; }
h2 { font-size: inherit; font-weight: inherit; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
[hidden] { display: none !important; }

h1 { font-size: var(--t-l); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }

:focus-visible { outline: 2px solid var(--txt); outline-offset: 2px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.meta { font-size: var(--t-s); color: var(--mut); }
.destaque { font-size: var(--t-xl); font-weight: 700; line-height: 1.1; color: var(--acc); letter-spacing: -.02em; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
