/* Estilo das páginas legais (Termos de Uso e Política de Privacidade) */
:root {
  color-scheme: light;
  --bg: #f6f6f7;
  --surface: #ffffff;
  --text: #363636;
  --text-strong: #111111;
  --muted: #666666;
  --line: #e7e7ea;
  --accent: #4f39f6;
  --accent-ink: #4f39f6;
  --accent-soft: #eeebff;
  --fill-bg: #fff5d6;
  --fill-line: #e6b93a;
  --fill-fg: #7a5a00;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e0e12;
    --surface: #17171d;
    --text: #d4d4dc;
    --text-strong: #f5f5f8;
    --muted: #9b9ba7;
    --line: #2a2a33;
    --accent: #5b47ff;
    --accent-ink: #a196ff;
    --accent-soft: rgba(124,108,255,.16);
    --fill-bg: rgba(230,185,58,.12);
    --fill-line: #a88422;
    --fill-fg: #f0cf6e;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0e12;
  --surface: #17171d;
  --text: #d4d4dc;
  --text-strong: #f5f5f8;
  --muted: #9b9ba7;
  --line: #2a2a33;
  --accent: #5b47ff;
  --accent-ink: #a196ff;
  --accent-soft: rgba(124,108,255,.16);
  --fill-bg: rgba(230,185,58,.12);
  --fill-line: #a88422;
  --fill-fg: #f0cf6e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg); color: var(--text);
  font-size: 16.5px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); }

.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .in { max-width: 820px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo small { font-size: 9px; letter-spacing: .3em; font-weight: 700; color: var(--muted); margin-bottom: 3px; }
.logo strong { font-size: 20px; font-weight: 800; letter-spacing: -0.04em; color: var(--text-strong); }
.logo strong span { color: var(--accent-ink); }
.back { font-size: 14px; font-weight: 600; text-decoration: none; }

main { max-width: 820px; margin: 0 auto; padding: 56px 24px 40px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }
h1 { font-size: clamp(32px, 5vw, 44px); line-height: 1.1; letter-spacing: -0.02em; color: var(--text-strong); margin: 16px 0 8px; }
.updated { color: var(--muted); font-size: 14px; }
.intro { margin-top: 24px; font-size: 17.5px; }

.toc { margin: 32px 0 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; }
.toc b { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

section { padding-top: 36px; scroll-margin-top: 16px; }
h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; color: var(--text-strong); margin-bottom: 12px; }
h3 { font-size: 17px; color: var(--text-strong); margin: 18px 0 6px; }
p + p { margin-top: 12px; }
ul { margin: 10px 0 0 22px; }
li + li { margin-top: 6px; }
strong { color: var(--text-strong); }

.fill { background: var(--fill-bg); border: 1px dashed var(--fill-line); color: var(--fill-fg); padding: 1px 6px; border-radius: 6px; font-size: .94em; }

footer { max-width: 820px; margin: 0 auto; padding: 32px 24px 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  main { padding: 36px 16px 32px; }
  .top .in, footer { padding-left: 16px; padding-right: 16px; }
  .toc ol { columns: 1; }
}
