@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;700;800&display=swap');
:root { --ink:#1a1a1a; --paper:#e8e8e4; --panel:#f3f3f0; --muted:#3a3a3a; --rule:#b8b8b0; --accent:#0033cc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); font-family: Georgia, 'Times New Roman', serif; color: var(--ink); }
a { color: var(--accent); text-decoration: underline; }
a:hover { color: #00184d; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

header { background: var(--panel); border-bottom: 1px solid var(--ink); }
header .wrap { padding-top: 20px; }
.logo { display: flex; height: 40px; max-width: 560px; text-decoration: none; }
.logo .a { background: var(--ink); color: #fff; font-weight: 800; font-size: 18px; padding: 0 14px; display: flex; align-items: center; letter-spacing: .5px; }
.logo .b { background: #fff; color: var(--ink); font-weight: 700; font-size: 18px; padding: 0 14px; display: flex; align-items: center; border: 1px solid var(--ink); border-left: none; }
.logo .bar { flex-grow: 1; background: linear-gradient(90deg, #fff, var(--accent), var(--ink)); }
nav { padding: 14px 0 18px; font-size: 14px; line-height: 1.9; }
nav a { margin-right: 10px; white-space: nowrap; }

section { padding: 48px 0; }
hr.rule { border: none; border-top: 1px solid var(--rule); margin: 0; }
h1, h2 { font-family: 'JetBrains Mono', ui-monospace, monospace; }
h2 { font-size: 20px; margin: 0 0 20px; }
.lead { font-size: 15px; line-height: 1.6; color: var(--muted); margin: -12px 0 24px; max-width: 640px; }

.hero { padding: 56px 0; }
.hero .wrap { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.hero .side { flex: 1 1 260px; font-size: 14px; line-height: 1.8; color: var(--muted); }
.hero .main { flex: 2 1 480px; min-width: 260px; }
.hero p { margin: 0 0 18px; font-size: 19px; line-height: 1.6; }
.btn { display: inline-block; margin-top: 8px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 14px 26px; border: 1px solid var(--ink); }
.btn:hover { color: #fff; background: #00249a; }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--ink); padding: 20px; }
.card .t { font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.card .d { font-size: 15px; line-height: 1.55; }

.steps .s { display: flex; gap: 20px; padding: 18px 0; border-bottom: 1px solid #d8d8d0; }
.steps .s:last-child { border-bottom: none; }
.steps .n { font-size: 28px; font-weight: 800; color: var(--accent); width: 44px; flex-shrink: 0; }
.steps .t { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.steps .d { font-size: 15px; line-height: 1.55; color: var(--muted); }

.table { border: 1px solid var(--ink); background: var(--panel); }
.table .row { display: grid; grid-template-columns: 1fr 2fr; font-size: 14px; border-top: 1px solid #d0d0c8; }
.table .row:first-child { border-top: none; }
.table .row > div { padding: 14px 16px; }
.table .row > div + div { border-left: 1px solid #d0d0c8; }
.table .k { font-weight: 700; }
.table .head { background: var(--ink); color: #fff; font-weight: 700; font-size: 13px; }
.table .head > div + div { border-left-color: #444; }

.split { display: flex; gap: 40px; flex-wrap: wrap; }
.split > :first-child { flex: 1 1 260px; }
.split > :last-child { flex: 2 1 480px; min-width: 260px; font-size: 16px; line-height: 1.65; }
.split p { margin: 0 0 16px; }

footer { background: var(--ink); color: var(--paper); margin-top: 24px; }
footer .wrap { padding-top: 48px; padding-bottom: 48px; }
footer h2 { color: #fff; margin-bottom: 14px; }
footer p { font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 0 22px; }
footer .btn { border-color: #fff; }
footer a { color: #9fb4ff; }
footer .legal { margin-top: 32px; font-size: 12px; color: #999; line-height: 1.8; }
footer .legal a { color: #bbb; }

/* página de texto longo (política) */
.doc { padding: 48px 0; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: 26px; margin: 0 0 6px; }
.doc .meta { font-size: 13px; color: #555; margin-bottom: 32px; }
.doc h2 { font-size: 17px; margin: 36px 0 12px; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; }
.doc ul { padding-left: 22px; }

@media (max-width: 720px) {
  .grid3 { grid-template-columns: 1fr; }
  .table .row { grid-template-columns: 1fr; }
  .table .row > div + div { border-left: none; padding-top: 0; }
  .table .head > div + div { display: none; }
  .hero p { font-size: 17px; }
}
