/* ===== Спот — внутренние страницы (оферта, политика, реквизиты и т. д.) =====
   Та же система, что у лендинга (landing.css): шрифт Play, акцент #15BCDF, светлый фон —
   чтобы переход с лендинга по "Контакты"/"Как это работает" не выглядел как другой сайт. */

.doc-header {
    background: #F2F1F0;
    border-bottom: 1px solid rgba(43,48,51,0.1);
}
.doc-header .ld-nav { padding: 18px clamp(20px, 4vw, 48px); animation: none; }
.doc-header .ld-mobile-menu { background: #F2F1F0; }

.doc-subnav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 12px clamp(20px, 4vw, 48px);
    background: #F7F6F8;
    border-bottom: 1px solid rgba(43,48,51,0.08);
    -webkit-overflow-scrolling: touch;
}
.doc-subnav::-webkit-scrollbar { display: none; }
.doc-subnav a {
    font-family: 'Play', 'Arial Narrow', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b6f72;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 100px;
    border: 1px solid rgba(43,48,51,0.12);
    flex: none;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.doc-subnav a:hover { color: #2b3033; border-color: rgba(43,48,51,0.3); }
.doc-subnav a.active { color: #fff; background: #2b3033; border-color: #2b3033; }

.doc-main {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(48px, 8vw, 96px) clamp(20px, 6vw, 48px) 100px;
    transition: opacity 0.15s ease;
}

.eyebrow {
    font-family: 'Play', 'Arial Narrow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #15BCDF;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: #15BCDF; }

h1.title {
    font-family: 'Play', 'Arial Narrow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 0.98;
    font-size: clamp(32px, 5.5vw, 54px);
    color: #2b3033;
    margin: 0 0 20px;
}

.lede {
    font-size: 18px;
    line-height: 1.55;
    color: #6b6f72;
    max-width: 58ch;
    margin: 0 0 8px;
}

.doc-block {
    margin: 44px 0;
    padding-top: 32px;
    border-top: 1px solid rgba(43,48,51,0.12);
}
.doc-block:first-of-type { border-top: none; padding-top: 0; margin-top: 28px; }
.doc-block .num {
    font-family: 'Play', 'Arial Narrow', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #15BCDF;
    display: block;
    margin-bottom: 8px;
}
.doc-block h2 {
    font-family: 'Play', 'Arial Narrow', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.1;
    font-size: clamp(20px, 2.6vw, 26px);
    color: #2b3033;
    margin: 0 0 14px;
}
.doc-block p, .doc-block li {
    font-size: 16px;
    line-height: 1.7;
    color: #4a4e51;
}
.doc-block p { margin: 0 0 14px; }
.doc-block ul { margin: 0 0 14px; padding-left: 1.3em; }
.doc-block li { margin-bottom: 8px; }
.doc-block li::marker { color: #15BCDF; }
.doc-block strong { color: #2b3033; font-weight: 700; }
.doc-block a { color: #2b3033; text-decoration-color: #15BCDF; text-underline-offset: 3px; }
.doc-block a:hover { color: #15BCDF; }

.callout {
    background: #fff;
    border: 1px solid rgba(43,48,51,0.1);
    border-left: 3px solid #15BCDF;
    border-radius: 4px;
    padding: 16px 20px;
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.6;
    color: #2b3033;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(43,48,51,0.12);
    border: 1px solid rgba(43,48,51,0.12);
    margin: 8px 0 0;
}
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.cards .card { background: #F7F6F8; padding: 24px 22px; }
.cards .card .k {
    font-family: 'Play', 'Arial Narrow', sans-serif;
    color: #15BCDF;
    font-weight: 700;
    font-size: 24px;
    display: block;
    margin-bottom: 10px;
}
.cards .card h3 {
    font-family: 'Play', 'Arial Narrow', sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    margin: 0 0 8px;
    color: #2b3033;
}
.cards .card p { font-size: 14px; color: #6b6f72; line-height: 1.55; margin: 0; }

table.ledger { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 4px 0 30px; }
table.ledger tr { border-bottom: 1px solid rgba(43,48,51,0.12); }
table.ledger tr:last-child { border-bottom: none; }
table.ledger td { padding: 13px 4px; vertical-align: top; }
table.ledger td:first-child { color: #6b6f72; width: 40%; padding-right: 16px; }
table.ledger td:last-child { color: #2b3033; text-align: right; }
@media (max-width: 480px) {
    table.ledger td:last-child { text-align: left; }
    table.ledger tr { display: flex; flex-direction: column; gap: 4px; padding: 10px 0; }
    table.ledger td { padding: 0; }
}

footer.doc-footer {
    margin-top: 60px;
    padding-top: 22px;
    border-top: 1px solid rgba(43,48,51,0.12);
    font-size: 13px;
    color: #8a8e91;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
footer.doc-footer a { color: #6b6f72; }
footer.doc-footer a:hover { color: #15BCDF; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s cubic-bezier(.2,.7,.2,1), transform 0.6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
/* На печати / в PDF (так документы сохраняют модераторы платёжек и юристы) показываем всё сразу. */
@media print { .reveal { opacity: 1 !important; transform: none !important; } }

.signal-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
    max-height: 280px;
    margin: 8px 0 44px;
    border: 1px solid rgba(43,48,51,0.12);
    overflow: hidden;
    background: radial-gradient(circle at 30% 50%, rgba(21,188,223,0.10), transparent 60%);
}
.signal-stage svg { width: 100%; height: 100%; display: block; }
.ripple { fill: none; stroke: #15BCDF; stroke-width: 1; transform-origin: center; opacity: 0; }
.ripple.r1 { animation: ld-ripple 4.5s ease-out infinite; }
.ripple.r2 { animation: ld-ripple 4.5s ease-out infinite 1.5s; }
.ripple.r3 { animation: ld-ripple 4.5s ease-out infinite 3s; }
@keyframes ld-ripple { 0% { opacity: 0.9; transform: scale(0.15); } 100% { opacity: 0; transform: scale(1); } }
.signal-core { fill: #15BCDF; }
.signal-label {
    position: absolute; left: 18px; bottom: 14px;
    font-family: 'Play', 'Arial Narrow', sans-serif;
    font-size: 11px; color: #8a8e91;
    letter-spacing: 0.08em; text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
    .ripple { animation: none; opacity: 0.35; transform: scale(0.6); }
}
