/* Páginas legais (privacidade, termos, excluir conta): mesmos tokens e topo grafite da landing,
   texto numa coluna estreita para leitura longa. */
:root {
  color-scheme: light;
  --ground: #F3F4F5;
  --surface: #FFFFFF;
  --ink: #141719;
  --ink-2: #4A5158;
  --ink-3: #62696F;
  --line: rgba(10,11,12,.10);
  --line-2: rgba(10,11,12,.065);
  --accent: #28704F;
  --accent-solid: #2E7D5B;
  --accent-hover: #256A4C;
  --accent-tint: rgba(46,125,91,.12);
  --wait: #835A00;  --wait-bg: rgba(196,140,40,.14);
  --brand-lime: #B9E812;
  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --radius-ctl: 14px;
  --radius-card: 16px;
  --gutter: clamp(16px, 4vw, 40px);
}
.dark {
  color-scheme: dark;
  --ink: #EDEEEF;
  --ink-2: #AEB4BA;
  --line: rgba(255,255,255,.09);
  --accent: #6FC79A;
  color: var(--ink);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 17px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.top {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(20,23,25,.92);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { max-width: 1160px; margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wm { height: 22px; width: auto; color: var(--ink); display: block; }
.top .back { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.top .back:hover { color: var(--ink); }

main { max-width: 760px; margin-inline: auto; padding: clamp(40px, 7vw, 80px) var(--gutter) clamp(56px, 8vw, 96px); }
.eyebrow { font: 600 13px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
h1, h2 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(32px, 5vw, 46px); line-height: 1.08; letter-spacing: -.03em; margin: 0; }
.updated { color: var(--ink-3); font-size: 15px; margin: 12px 0 0; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-2); margin: 24px 0 0; text-wrap: pretty; }

.doc { margin-top: 40px; background: var(--surface); border-radius: var(--radius-card); padding: clamp(24px, 4vw, 44px); box-shadow: 0 1px 2px rgba(10,11,12,.04), 0 12px 32px -12px rgba(10,11,12,.12); }
.doc h2 { font-weight: 700; font-size: 21px; line-height: 1.25; letter-spacing: -.015em; margin: 36px 0 10px; scroll-margin-top: 88px; }
.doc h2:first-child { margin-top: 0; }
.doc p { margin: 0 0 12px; color: var(--ink-2); }
.doc ul, .doc ol { margin: 0 0 12px; padding-left: 22px; color: var(--ink-2); }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--ink-3); }
.doc strong { color: var(--ink); font-weight: 600; }

.toc { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius-ctl); }
.toc p { margin: 0 0 8px; font-weight: 600; font-size: 15px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 32px; font-size: 15px; }
.toc li { margin-bottom: 4px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.steps { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 12px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; margin: 0; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font: 700 15px/1 var(--font-display); }
.steps li span { padding-top: 4px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font: 600 15px/1.2 var(--font-body); text-decoration: none;
  background: var(--accent-solid); color: #fff; transition: background .15s;
}
.btn:hover { background: var(--accent-hover); }
.note { background: var(--wait-bg); color: var(--ink); border-radius: var(--radius-ctl); padding: 14px 18px; font-size: 15px; margin: 16px 0 0; }

/* Campo a preencher antes de publicar */
.fill { background: var(--wait-bg); color: var(--wait); border-radius: 4px; padding: 0 4px; font-weight: 600; }

.foot { border-top: 1px solid var(--line); }
.foot .wrap { max-width: 760px; margin-inline: auto; padding: 28px var(--gutter) 40px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; color: var(--ink-3); font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot a[aria-current] { color: var(--ink); font-weight: 600; }
