* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    min-height: 100%;
    background: #071329;
    color: #182234;
    font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

body {
    min-height: 100vh;
    margin: 0;
    background: #071329;
}

.privacy-page {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 48px 20px;
}

.privacy-page__surface {
    width: min(100%, 820px);
    min-width: 0;
    padding: 34px;
    border: 1px solid #d5dfed;
    border-radius: 8px;
    background: #f7fbff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.26);
}

.privacy-page__nav {
    margin-bottom: 34px;
}

.privacy-back,
.privacy-contact a {
    color: #0b63ce;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.privacy-back {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 6px;
    color: #174c8f;
    font-size: 0.93rem;
    font-weight: 650;
}

.privacy-back:hover,
.privacy-contact a:hover {
    color: #073f8f;
    text-decoration-thickness: 2px;
}

.privacy-back:active,
.privacy-contact a:active {
    color: #052d68;
}

.privacy-back:focus-visible,
.privacy-contact a:focus-visible {
    outline: 3px solid #81b7ff;
    outline-offset: 3px;
    border-radius: 5px;
}

.privacy-page__header {
    margin-bottom: 34px;
}

.privacy-page__eyebrow {
    margin: 0 0 8px;
    color: #47637e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 14px;
    color: #071329;
    font-size: 2.75rem;
    font-weight: 720;
    line-height: 1.06;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 10px;
    color: #0d1b2f;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

p {
    margin-bottom: 14px;
    color: #2d3c50;
}

.privacy-page__header p {
    max-width: 680px;
    color: #26384f;
    font-size: 1.06rem;
}

.privacy-page__hint {
    max-width: 680px;
    color: #52677e;
    font-size: 0.92rem;
}

.privacy-page__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
}

/* Item de grid tem min-width: auto e se recusa a encolher abaixo do
   conteudo. Sem isto, uma tabela larga empurra a pagina inteira e o
   scroll horizontal aparece no body. */
.privacy-page__content section {
    min-width: 0;
    padding-top: 24px;
    border-top: 1px solid #dbe5f1;
}

code {
    display: inline-block;
    max-width: 100%;
    padding: 0.08em 0.34em;
    border: 1px solid #cad8e8;
    border-radius: 5px;
    background: #eaf2fb;
    color: #13263d;
    font-family: "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
    font-size: 0.92em;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

/* A tabela nunca rola: ela quebra o texto e, em largura estreita, empilha.
   Rolagem lateral aqui era ruim de duas formas — o `overflow-x: auto` fazia
   o navegador computar `overflow-y: auto` junto, e o container engolia a
   roda do mouse. */
.privacy-table-wrap {
    min-width: 0;
    margin: 0 0 16px;
    border: 1px solid #dbe5f1;
    border-radius: 8px;
    background: #ffffff;
}

.privacy-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.privacy-table__caption {
    padding: 12px 14px;
    border-bottom: 1px solid #dbe5f1;
    background: #f2f7fd;
    color: #47637e;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: left;
    text-transform: uppercase;
}

.privacy-table th,
.privacy-table td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.privacy-table thead th {
    border-bottom: 1px solid #cad8e8;
    color: #0d1b2f;
    font-size: 0.82rem;
    font-weight: 700;
}

.privacy-table th:first-child,
.privacy-table td:first-child {
    width: 34%;
}

.privacy-table tbody tr + tr th,
.privacy-table tbody tr + tr td {
    border-top: 1px solid #e6edf6;
}

.privacy-table tbody th {
    font-weight: 400;
}

.privacy-table tbody td {
    color: #2d3c50;
}

.privacy-table code {
    max-width: 100%;
    overflow-wrap: anywhere;
}

/* Dentro do desktop o retorno e a janela, nao um link de pagina. */
.host-desktop .privacy-page__nav {
    display: none;
}

.privacy-note {
    margin-top: 30px;
    padding: 18px 20px;
    border: 1px solid #c7d8ed;
    border-left: 4px solid #376fae;
    border-radius: 8px;
    background: #eef5fd;
}

.privacy-note p {
    margin: 0;
    color: #24374d;
}

.privacy-contact {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #dbe5f1;
}

.privacy-contact p {
    margin-bottom: 8px;
}

.privacy-contact a {
    overflow-wrap: anywhere;
    font-weight: 650;
}

.privacy-updated {
    margin: 34px 0 0;
    color: #52677e;
    font-size: 0.92rem;
}

@media (max-width: 560px) {
    .privacy-page {
        padding: 18px 12px;
    }

    .privacy-page__surface {
        padding: 24px 18px;
    }

    .privacy-page__nav,
    .privacy-page__header {
        margin-bottom: 26px;
    }

    h1 {
        font-size: 2rem;
    }
}

/* Em largura estreita a tabela vira lista: cada linha um bloco, cada celula
   com seu rotulo. Tres colunas de codigo nao cabem num celular, e empilhar
   le melhor do que rolar de lado. */
@media (max-width: 640px) {
    .privacy-table {
        display: block;
        table-layout: auto;
        font-size: 0.9rem;
    }

    .privacy-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .privacy-table tbody,
    .privacy-table tr {
        display: block;
    }

    .privacy-table__caption {
        display: block;
    }

    .privacy-table tbody tr {
        padding: 12px 14px;
    }

    .privacy-table tbody tr + tr {
        border-top: 1px solid #e6edf6;
    }

    .privacy-table th,
    .privacy-table td {
        display: block;
        padding: 0;
    }

    .privacy-table tbody tr + tr th,
    .privacy-table tbody tr + tr td {
        border-top: 0;
    }

    .privacy-table tbody th {
        margin-bottom: 6px;
    }

    .privacy-table td + td {
        margin-top: 6px;
    }

    .privacy-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 2px;
        color: #47637e;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
    }
}
