:root {
  --bg: #0e1226;
  --panel: #171c36;
  --text: #ebe8f4;
  --muted: #a9a5c0;
  --gold: #e0bb64;
  --line: #2b3157;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  background: radial-gradient(1200px 600px at 50% -200px, #1d2550 0%, var(--bg) 60%) no-repeat, var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }
header.top { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }
.brand { font: 600 20px/1 Georgia, "Times New Roman", serif; letter-spacing: .04em; color: var(--gold); text-decoration: none; }
.lang button {
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; border-radius: 6px;
}
.lang button[aria-pressed="true"] { color: var(--bg); background: var(--gold); border-color: var(--gold); }
.lang button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(32px, 7vw, 48px); margin: 48px 0 12px; }
h2 { font-size: 24px; margin: 40px 0 8px; color: var(--gold); }
p, li { color: var(--text); }
.lead { font-size: 20px; color: var(--muted); margin: 0 0 24px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 24px 0; }
.card h2 { margin-top: 0; }
a { color: var(--gold); }
ul { padding-left: 22px; }
.updated { color: var(--muted); font-size: 15px; }
footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 24px 0 40px; color: var(--muted); font-size: 15px; }
footer a { margin-right: 16px; }
html[data-lang="en"] [data-l="pt"], html[data-lang="pt"] [data-l="en"] { display: none; }
