*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --xv-navy: #14283f;
    --xv-teal: #1f6f8b;
    --xv-mint: #35d0ba;
    --xv-ink: #0f1d2b;
    --xv-mute: #5b7386;
    --xv-paper: #f2f8fa;
    --xv-panel: #ffffff;
    --xv-edge: #cfe4ea;
    --xv-head: "Century Gothic", "Futura", "Avenir", sans-serif;
    --xv-text: "Segoe UI", Arial, sans-serif;
    --xv-r: 12px;
    --xv-r-sm: 8px;
    --xv-sh1: 0 6px 18px rgba(31, 111, 139, .08);
    --xv-sh2: 0 14px 34px rgba(20, 40, 63, .10);
    --xv-sh3: 0 22px 54px rgba(20, 40, 63, .16);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--xv-text);
    background:
        radial-gradient(circle at 88% -5%, rgba(53, 208, 186, .18), transparent 46%),
        radial-gradient(circle at 4% 22%, rgba(31, 111, 139, .12), transparent 40%),
        linear-gradient(170deg, #f2f8fa 0%, #e2f1f4 55%, #f2f8fa 100%);
    background-attachment: fixed;
    color: var(--xv-ink);
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: var(--xv-teal);
    text-decoration: none;
    transition: color .2s ease;
}
a:hover { color: var(--xv-navy); }

/* ---------- шапка ---------- */
.xv__nav {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 16px 20px;
    background: rgba(242, 248, 250, .88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--xv-edge);
}
.xv__nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.xv__nav-link {
    font-family: var(--xv-head);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--xv-navy);
    text-align: center;
}

/* ---------- компактний hero ---------- */
.xv__doc-hero {
    max-width: 780px;
    margin: 0 auto;
    padding: 44px 20px 26px;
}
.xv__doc-kicker {
    font-family: var(--xv-text);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--xv-mint);
    margin-bottom: 8px;
}
.xv__doc-title {
    font-family: var(--xv-head);
    font-weight: 700;
    font-size: clamp(26px, 4.2vw, 40px);
    line-height: 1.18;
    color: var(--xv-navy);
    margin-bottom: 12px;
}
.xv__doc-lede {
    font-size: 16px;
    line-height: 1.75;
    color: var(--xv-mute);
    max-width: 660px;
}
.xv__doc-stamp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 5px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .8);
    border: 1px solid var(--xv-edge);
    box-shadow: var(--xv-sh1);
    font-size: 12px;
    color: var(--xv-teal);
    letter-spacing: .02em;
}
.xv__doc-stamp span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--xv-mint);
}

/* ---------- FAQ-акордеон ---------- */
.xv__faq {
    max-width: 780px;
    margin: 0 auto;
    padding: 8px 20px 64px;
    display: grid;
    gap: 12px;
}
.xv__faq-item {
    background: var(--xv-panel);
    border: 1px solid var(--xv-edge);
    border-radius: var(--xv-r);
    box-shadow: var(--xv-sh1);
    overflow: hidden;
    transition: box-shadow .2s ease, border-color .2s ease;
}
.xv__faq-item[open] {
    border-color: rgba(53, 208, 186, .55);
    box-shadow: var(--xv-sh2);
}
.xv__faq-head {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 20px;
    font-family: var(--xv-head);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--xv-navy);
    transition: background .18s ease, color .18s ease;
}
.xv__faq-head::-webkit-details-marker { display: none; }
.xv__faq-head:hover { background: rgba(53, 208, 186, .07); color: var(--xv-teal); }
.xv__faq-head:focus-visible {
    outline: 2px solid var(--xv-mint);
    outline-offset: -2px;
}
.xv__faq-num {
    flex: 0 0 auto;
    font-family: var(--xv-text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--xv-mint);
    min-width: 22px;
}
.xv__faq-label { flex: 1; }
.xv__faq-chevron {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: block;
    transition: transform .28s ease;
}
.xv__faq-chevron path {
    fill: none;
    stroke: var(--xv-teal);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.xv__faq-item[open] .xv__faq-chevron { transform: rotate(180deg); }
.xv__faq-item[open] .xv__faq-chevron path { stroke: var(--xv-mint); }

.xv__faq-body {
    padding: 2px 22px 22px 58px;
    border-top: 1px solid rgba(207, 228, 234, .75);
    margin-top: -1px;
    padding-top: 16px;
}
@media (max-width: 560px) {
    .xv__faq-head { padding: 15px 15px; gap: 11px; font-size: 15.5px; }
    .xv__faq-chevron { width: 24px; height: 24px; }
    .xv__faq-body { padding: 14px 16px 18px; }
}

.xv__faq-body p {
    color: var(--xv-mute);
    margin-bottom: 13px;
}
.xv__faq-body p:last-child { margin-bottom: 0; }
.xv__faq-body h3 {
    font-family: var(--xv-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--xv-ink);
    margin: 18px 0 8px;
}
.xv__faq-body ul,
.xv__faq-body ol {
    margin: 0 0 14px;
    padding-left: 20px;
    color: var(--xv-mute);
}
.xv__faq-body li { margin-bottom: 6px; }
.xv__faq-body li::marker { color: var(--xv-mint); }
.xv__faq-body strong { color: var(--xv-ink); }
.xv__faq-body a { text-decoration: underline; }

/* ---------- футер ---------- */
.xv__foot {
    margin-top: 8px;
    padding: 26px 20px 22px;
    background: rgba(255, 255, 255, .68);
    border-top: 1px solid var(--xv-edge);
    font-family: var(--xv-text);
    text-align: center;
}
.xv__foot-inner {
    max-width: 880px;
    margin: 0 auto;
}
.xv__foot-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
    margin-bottom: 12px;
}
.xv__foot-nav a {
    color: var(--xv-teal);
    font-size: 12px;
}
.xv__foot-nav a:hover { color: var(--xv-navy); text-decoration: underline; }
.xv__foot-note {
    font-size: 11.5px;
    line-height: 1.7;
    color: var(--xv-mute);
}
.xv__foot-note + .xv__foot-note {
    margin: 8px auto 0;
    max-width: 720px;
    color: #8ba3b0;
}
