/* Estilo das páginas legais (termos.html e privacidade.html).
   Separado do index.html de propósito: essas páginas precisam abrir
   sozinhas, inclusive quando alguém as recebe por link. */
:root {
    --bg: #0b1020;
    --surface: #151b2e;
    --border: #263049;
    --text: #e8ecf7;
    --muted: #9aa4bf;
    --accent: #f59e0b;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 2rem 1.25rem 4rem;
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.65;
    font-size: 1rem;
}

main {
    max-width: 760px;
    margin: 0 auto;
}

a { color: var(--accent); }

.back {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-decoration: none;
}

h1 {
    font-size: 1.6rem;
    line-height: 1.25;
    margin: 0 0 0.35rem;
}

.updated {
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0 0 2rem;
}

h2 {
    font-size: 1.1rem;
    margin: 2.25rem 0 0.6rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

h3 {
    font-size: 0.98rem;
    margin: 1.5rem 0 0.4rem;
}

p, li { color: var(--text); }

ul { padding-left: 1.25rem; }

li { margin-bottom: 0.4rem; }

.box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 10px;
    padding: 1rem 1.15rem;
    margin: 1.25rem 0;
}

.box p:first-child { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.92rem;
}

th, td {
    text-align: left;
    padding: 0.6rem 0.7rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

th { color: var(--muted); font-weight: 700; }

footer {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.85rem;
}
