/* Páginas legais do Manda. Tokens do design system do Sem Treta. */
:root {
    --ink: #261228;
    --blue: #5700ff;
    --text-body: #374151;
    --text-secondary: #6b7280;
    --surface-muted: #f3f4f6;
    --border: #e5e7eb;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Space Grotesk', system-ui, sans-serif;
    color: var(--ink);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-underline-offset: 4px; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.topbar { height: 74px; border-bottom: 1px solid var(--border); }
.topbar-inner {
    max-width: 768px; height: 100%; margin: 0 auto; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { height: 28px; width: auto; display: block; }
.brand-sep { width: 1px; height: 26px; background: rgba(38, 18, 40, 0.13); }
.brand-product { height: 28px; width: auto; display: block; }
.back {
    display: inline-flex; align-items: center; min-height: 36px; padding: 7px 14px;
    border-radius: 999px; background: var(--ink); color: #ffffff;
    font-size: 13px; font-weight: 700; text-decoration: none;
}
.back:hover { background: var(--blue); }

.doc { max-width: 768px; margin: 0 auto; padding: 56px 32px 80px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1; letter-spacing: -0.05em; margin-bottom: 12px; }
.doc .updated { font-size: 14px; color: var(--text-secondary); margin-bottom: 32px; }
.doc .summary {
    background: var(--surface-muted); border-radius: 12px; padding: 24px 28px; margin-bottom: 40px;
    font-family: 'Poppins', system-ui, sans-serif; font-size: 15px; color: var(--text-body);
}
.doc .summary strong { font-family: 'Space Grotesk', system-ui, sans-serif; font-size: 16px; color: var(--ink); display: block; margin-bottom: 6px; }
.doc h2 { font-size: 22px; letter-spacing: -0.03em; line-height: 1.2; margin: 36px 0 12px; }
.doc p, .doc li {
    font-family: 'Poppins', system-ui, sans-serif; font-size: 15px; line-height: 1.75; color: var(--text-body);
}
.doc p { margin-bottom: 12px; }
.doc ul { padding-left: 22px; margin-bottom: 12px; }
.doc li { margin: 6px 0; }
.doc li strong, .doc p strong { color: var(--ink); font-weight: 600; }

.footer { border-top: 1px solid var(--border); }
.footer-inner {
    max-width: 768px; margin: 0 auto; padding: 24px 32px;
    display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: space-between;
    font-family: 'Poppins', system-ui, sans-serif; font-size: 13px; color: var(--text-secondary);
}
.footer-inner nav { display: flex; gap: 16px; }
.footer-inner a { color: var(--text-secondary); }
.footer-inner a:hover { color: var(--blue); }

@media (max-width: 640px) {
    .topbar { height: 64px; }
    .topbar-inner, .doc, .footer-inner { padding-left: 20px; padding-right: 20px; }
    .brand { gap: 10px; }
    .brand img, .brand-product { height: 22px; }
    .back { display: none; }
    .doc { padding-top: 36px; }
}
