@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #0C0C0C;
  --surface: #141414;
  --surface-high: #1E1E1E;
  --outline: #2A2A2A;
  --text: #F2F2F2;
  --text-dim: #A8A29E;
  --text-faint: #6B6B6B;
  --accent: #FF5722;
  --accent-soft: rgba(255, 87, 34, 0.12);
  --radius: 16px;
  --maxw: 780px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

main {
  min-height: 100vh;
  padding: 40px 24px 80px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* ---------- Header / brand ---------- */
.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--outline);
}
.brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.lang-toggle button.active {
  background: var(--accent);
  color: #fff;
}

/* ---------- Typography ---------- */
h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 32px 0 10px;
}
h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  scroll-margin-top: 24px;
}
h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}
p { margin: 0 0 14px; font-size: 15px; color: #E4E1DE; }
.meta { color: var(--text-faint); font-size: 13px; margin: 0 0 4px; }
.lead { font-size: 16px; color: var(--text-dim); margin-bottom: 28px; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

strong { color: var(--text); font-weight: 600; }
ul { padding-left: 20px; margin: 0 0 14px; }
li { font-size: 15px; color: #E4E1DE; margin-bottom: 7px; }

/* ---------- Section cards ---------- */
.section {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin: 0 0 18px;
}
.section p:last-child, .section ul:last-child { margin-bottom: 0; }

/* Plain-language summary box */
.tldr {
  background: var(--accent-soft);
  border: 1px solid rgba(255, 87, 34, 0.28);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 28px;
}
.tldr h2 { color: var(--accent); margin-bottom: 12px; }
.tldr ul { margin-bottom: 0; }
.tldr li { color: var(--text); }

/* ---------- Data table ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 4px;
  font-size: 14px;
}
.data-table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-dim);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 12px 10px 0;
  border-bottom: 1px solid var(--outline);
}
.data-table td {
  padding: 12px 12px 12px 0;
  border-bottom: 1px solid var(--outline);
  color: #E4E1DE;
  vertical-align: top;
}
.data-table tr:last-child td { border-bottom: none; }

/* "We don't collect" list — check/cross badges */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-right: 8px;
}
.badge.no { background: rgba(34,197,94,0.14); color: #4ade80; }

/* FAQ (suporte) */
.faq-item { margin-bottom: 18px; }

/* ---------- TOC ---------- */
.toc {
  font-size: 14px;
  columns: 2;
  column-gap: 28px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
}
.toc li { margin-bottom: 8px; break-inside: avoid; }
.toc a { color: var(--text-dim); }
.toc a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
footer {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--outline);
}
footer p { color: var(--text-faint); font-size: 13px; margin-bottom: 6px; }
footer a { color: var(--text-dim); }

.lang-hidden { display: none !important; }

@media (max-width: 560px) {
  h1 { font-size: 26px; }
  .toc { columns: 1; }
  main { padding: 28px 18px 60px; }
  .section { padding: 20px; }
}
