/*
    privacy.css
    Стили страницы «Политика конфиденциальности» сервиса Finch.
    Минималистичная светлая тема, адаптивная вёрстка, без JavaScript.
*/

:root {
    --pp-text: #1f2328;
    --pp-text-muted: #57606a;
    --pp-bg: #ffffff;
    --pp-bg-soft: #f6f8fa;
    --pp-border: #d0d7de;
    --pp-accent: #0b57d0;
    --pp-max-width: 900px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background-color: var(--pp-bg);
    color: var(--pp-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
        "Segoe UI Emoji";
    font-size: 17px;
    line-height: 1.7;
}

.pp-page {
    max-width: var(--pp-max-width);
    margin: 0 auto;
    padding: 32px 20px 64px;
}

/* ---------- Заголовок документа ---------- */

.pp-header {
    border-bottom: 1px solid var(--pp-border);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.pp-header h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 700;
}

.pp-subtitle {
    margin: 0;
    color: var(--pp-text-muted);
    font-size: 17px;
}

.pp-subtitle a {
    color: inherit;
}

/* ---------- Разделы ---------- */

.pp-doc section {
    margin-bottom: 32px;
}

.pp-doc h2 {
    margin: 0 0 14px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    scroll-margin-top: 16px;
}

.pp-doc h3 {
    margin: 22px 0 10px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    scroll-margin-top: 16px;
}

.pp-doc p {
    margin: 0 0 12px;
}

.pp-doc ul,
.pp-doc ol {
    margin: 0 0 12px;
    padding-left: 26px;
}

.pp-doc li {
    margin-bottom: 6px;
}

.pp-doc li:last-child {
    margin-bottom: 0;
}

/* ---------- Ссылки ---------- */

.pp-doc a {
    color: var(--pp-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pp-doc a:hover {
    text-decoration: none;
}

/* ---------- Таблицы ---------- */

.pp-table-wrap {
    overflow-x: auto;
    margin: 16px 0 20px;
    border: 1px solid var(--pp-border);
    border-radius: 8px;
}

.pp-doc table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15.5px;
    min-width: 560px;
}

.pp-doc caption {
    caption-side: top;
    text-align: left;
    padding: 0 0 8px;
    color: var(--pp-text-muted);
    font-size: 15px;
}

.pp-doc th,
.pp-doc td {
    border-bottom: 1px solid var(--pp-border);
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.pp-doc thead th {
    background-color: var(--pp-bg-soft);
    font-weight: 600;
}

.pp-doc tbody tr:last-child td {
    border-bottom: none;
}

.pp-doc tbody tr:nth-child(even) {
    background-color: #fbfcfd;
}

.pp-cookie-name {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
        "Liberation Mono", monospace;
    font-size: 14px;
    white-space: nowrap;
}

/* ---------- Реквизиты и дата редакции ---------- */

.pp-requisites {
    font-style: normal;
    margin: 8px 0 0;
    padding: 16px 18px;
    background-color: var(--pp-bg-soft);
    border: 1px solid var(--pp-border);
    border-radius: 8px;
}

.pp-requisites p {
    margin: 0 0 6px;
}

.pp-requisites p:last-child {
    margin-bottom: 0;
}

.pp-edition-date {
    margin-top: 24px;
    font-weight: 600;
}

/* ---------- Ссылка на PDF ---------- */

.pp-pdf-block {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--pp-border);
}

.pp-pdf-block p {
    margin: 0;
    color: var(--pp-text-muted);
}

/* ---------- Мобильная адаптация ---------- */

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .pp-page {
        padding: 24px 16px 48px;
    }

    .pp-header h1 {
        font-size: 25px;
    }

    .pp-doc h2 {
        font-size: 20px;
    }

    .pp-doc h3 {
        font-size: 17px;
    }
}
