@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../Fonts/Roboto-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

html,
body {
    font-family: 'Roboto', sans-serif;
    max-width: 100%;
}


*,
*::before,
*::after {
    box-sizing: border-box;
}

button,
input,
textarea,
select {
    font-family: 'Roboto', sans-serif;
    font: inherit;
    /* чтобы формы не сбивали шрифт */
}

:root {
    --bg: #141414;

    --buttons: #2e90fa;

    --topic-buttons: #272727;

    --light-blue: #8cceff;

    --muted: #8b8ea3;
    /* text secondary */

    --white: #ffffff;

    --text: #ebe7e7;

    --text-topic: #dfdfdf;

    --border: #1c1e27;

    --card-back: #1e1e1e;

    --card-back-carousels: #141414;

    --carousel-bg: #0a0a0a;

    --chat-input-bg: #111111;

    --menu-back-bg: #191919;

    --menu-back-muted: #2d2d2d;

    --menu-input-bg: #222222;

    --menu-red: #dc0000;

    --topbar-dock: rgba(18, 18, 18, 0.8);

    --localnav-outline: #282828;

    --grey: #1e1e1e;
}

body {
    margin: 0;
    color: var(--grey);
    background: #fff;
}

/* ===== HERO ===== */
.policies-hero {
    position: relative;
    min-height: 240px;
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    background: #dae1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.policies-logo {
    position: absolute;
    top: 20px;
    left: 24px;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
    color: #111;
}

.policies-hero-center {
    text-align: center;
    max-width: 720px;
    padding: 0 16px;
}

.policies-title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.policies-subtitle {
    margin-top: 12px;
    font-size: 16px;
    color: #555;
}

.policies-content {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    display: grid;
    grid-template-columns: 330px 1fr;
    gap: 28px;
    align-items: start;
}

.policies-side {
    position: sticky;
    top: 20px;
    border: 0;
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}

.policies-nav {
    display: grid;
    gap: 10px;
}

.policies-nav-btn {
    width: 100%;
    text-align: left;
    border: 0;
    background: #fff;
    border-radius: 8px;
    padding: 16px 12px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.05s ease, border-color 0.15s ease, background 0.15s ease;
    font-weight: 700;
}

.policies-nav-btn:hover {
    background: #fafafa;
}

.policies-nav-btn:active {
    transform: scale(0.99);
}

.policies-nav-btn.is-active {
    text-decoration: underline;
    color: #3f3f3f;
}

.policies-article {
    border: 0;
    border-radius: 14px;
    padding: 22px;
    background: #fff;
}

.policies-article h2 {
    margin: 8px 0 12px;
    font-size: 20px;
    font-weight: 650;
}

.policies-article p {
    margin: 0px 0px 12px;
    line-height: 1.75;
    font-size: 15px;
    color: #333;
}

.policies-article ul {
    margin: 0px 0px 8px;
    padding-left: 18px;
    line-height: 1.75;
    color: #333;
    font-size: 15px;
}

.policies-article ul li p {
    margin: 0;
}

@media (max-width: 900px) {
    .policies-content {
        grid-template-columns: 1fr;
    }

    .policies-side {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {
    .policies-content {
        gap: 0;
    }

    .policies-nav {
        gap: 0;
    }

    .policies-nav-btn {
        padding: 8px 0px;
    }

    .policies-side {
        padding: 0 14px;
    }

    .policies-content {
        padding: 20px 24px 80px;
    }

    .policies-article {
        padding: 0 22px 22px;
    }

    .policies-hero {
        min-height: 300px;
    }
}

@media (max-width: 600px) {
    .policies-title {
        font-size: 28px;
    }
}