/* Страница «Сервисный сбор» (ru/rekassa-service-fee, kz/rekassa-service-fee). Префикс классов — sf-.
   Тёмная тема; цвета заданы в oklch, как в исходном макете. Текст — Golos Text (переменный, 400–800),
   заголовки — Mabry Pro (700, жирные — 900). */

@font-face { font-family: 'SfGolos'; src: url('../fonts/GolosText-VariableFont_wght.woff2') format('woff2'); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'SfMabry'; src: url('../fonts/mabry-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'SfMabry'; src: url('../fonts/mabry-900.woff2') format('woff2'); font-weight: 800 900; font-style: normal; font-display: swap; }
/* курсив в слове «сбор/алым» и подпись COMRUN.DASHBOARD — подмножества только нужных букв */
@font-face { font-family: 'Playfair Display'; src: url('../fonts/playfair-italic-500.woff2') format('woff2'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

.sf {
    --bg: oklch(22% .04 165);
    --fg: oklch(98% .005 160);
    --surface: oklch(26% .045 165);
    --line: oklch(35% .05 165 / .6);
    --brand: oklch(82% .19 160);
    --brand-fg: oklch(20% .05 165);
    --danger: oklch(75% .14 25);
    display: block;
    padding-top: 70px; /* место под фиксированную шапку, как в прежней версии */
    overflow-x: clip;
    background: var(--bg);
    color: var(--fg);
    font-family: 'SfGolos', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}
.sf-sprite { display: none; }
.sf svg { flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; }
.sf-i14 { width: 14px; height: 14px; }
.sf-i16 { width: 16px; height: 16px; }
.sf-i20 { width: 20px; height: 20px; }

/* ---------- общее ---------- */
.sf-wrap { max-width: 1280px; margin: 0 auto; padding: 96px 24px; }
.sf-sec { border-top: 1px solid oklch(35% .05 165 / .24); }
.sf-2col { display: grid; gap: 56px; align-items: center; }
.sf-center { text-align: center; }
.sf-eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--brand); }
.sf-h2 { margin-top: 16px; padding-bottom: .05em; font-family: 'SfMabry', 'SfGolos', Arial, sans-serif; font-size: 36px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.sf-h2--faq { line-height: 40px; }
.sf-hl { color: var(--brand); }
.sf-fg { color: var(--fg); }
.sf-lead { margin-top: 24px; color: oklch(98% .005 160 / .75); }
.sf-muted70 { color: oklch(98% .005 160 / .7); }
.sf-card { padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: oklch(26% .045 165 / .6); }
.sf-card--brand { border-color: oklch(82% .19 160 / .4); background: oklch(82% .19 160 / .1); }
.sf-glow { box-shadow: 0 0 0 1px oklch(82% .19 160 / .25), 0 30px 80px -30px oklch(82% .19 160 / .35); }
.sf-tag {
    position: absolute; top: -12px; right: 24px; padding: 4px 10px; border-radius: 999px;
    background: var(--brand); color: var(--brand-fg);
    font-size: 10px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em;
}
.sf-dot { display: grid; place-items: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; }
.sf-dot--bad { background: oklch(75% .14 25 / .15); color: var(--danger); }
.sf-dot--ok { background: oklch(82% .19 160 / .25); color: var(--brand); }
.sf-dot--soft { background: oklch(82% .19 160 / .2); color: var(--brand); }
.sf-checks { display: grid; gap: 12px; margin-top: 32px; }
.sf-checks li { display: flex; align-items: flex-start; gap: 12px; }
.sf-checks .sf-dot { margin-top: 2px; }
.sf-checks--center li { align-items: center; }
.sf-checks--center .sf-dot { margin-top: 0; }

.sf-btn {
    display: inline-flex; justify-content: center; padding: 14px 24px; border-radius: 999px;
    background: var(--brand); color: var(--brand-fg); font-weight: 600;
    transition: filter .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1);
}
.sf-btn:hover { filter: brightness(110%); }
.sf-btn--ghost { border: 1px solid var(--line); background: transparent; color: var(--fg); }
.sf-btn--ghost:hover { filter: none; background: rgba(255, 255, 255, .05); }
.sf-btn--line { padding: 12px 24px; border: 1px solid oklch(82% .19 160 / .5); background: transparent; color: var(--brand); }
.sf-btn--line:hover { filter: none; background: oklch(82% .19 160 / .1); }

/* ---------- первый экран ---------- */
.sf-hero {
    background:
        radial-gradient(1200px 600px at 15% 0%, oklch(35% .09 165 / .5), transparent 60%),
        radial-gradient(900px 500px at 85% 20%, oklch(30% .07 160 / .4), transparent 65%),
        var(--bg);
}
.sf-hero .sf-wrap { display: grid; gap: 56px; align-items: start; padding-top: 64px; }
.sf-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
    border: 1px solid oklch(82% .19 160 / .4); border-radius: 999px; background: oklch(82% .19 160 / .1);
    color: var(--brand); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em;
}
.sf-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.sf-h1 {
    margin-top: 24px; padding-bottom: .05em;
    font-family: 'SfMabry', 'SfGolos', Arial, sans-serif; font-size: clamp(48px, 7vw, 96px); font-weight: 800;
    line-height: .95; letter-spacing: -.025em;
}
.sf-serif { color: var(--brand); font-family: 'Playfair Display', ui-serif, Georgia, serif; font-style: italic; font-weight: 500; }
.sf-hero__lead { max-width: 576px; font-size: 18px; line-height: 1.625; }
.sf-points { display: grid; gap: 12px; margin-top: 40px; }
.sf-points li { position: relative; }
.sf-point { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: oklch(26% .045 165 / .6); }
.sf-point--brand { border-color: oklch(82% .19 160 / .4); }
.sf-point__icon { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 20px; }
.sf-point__icon--bad { background: oklch(75% .14 25 / .15); color: var(--danger); }
.sf-point__icon--plain { background: rgba(255, 255, 255, .05); color: oklch(98% .005 160 / .8); }
.sf-point__icon--ok { background: oklch(82% .19 160 / .15); color: var(--brand); }
.sf-point__title { font-weight: 600; }
.sf-point__text { margin-top: 4px; font-size: 14px; line-height: 20px; color: oklch(98% .005 160 / .65); }
.sf-points .sf-tag { top: -10px; letter-spacing: .05em; }
.sf-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.sf-hero__side { display: grid; gap: 24px; }
.sf-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sf-price {
    position: relative; display: flex; flex-direction: column; justify-content: space-between;
    height: 256px; padding: 32px; overflow: hidden;
    border: 1px solid var(--line); border-radius: 28px; background: oklch(26% .045 165 / .7);
}
.sf-price--brand { border-color: oklch(82% .19 160 / .4); background: oklch(82% .19 160 / .1); }
.sf-price__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; color: oklch(75% .14 25 / .8); }
.sf-price--brand .sf-price__label, .sf-price--brand .sf-price__value { color: var(--brand); }
.sf-price__value { font-size: 36px; font-weight: 800; line-height: 40px; letter-spacing: -.025em; }
.sf-price__note { margin-top: 8px; font-size: 14px; line-height: 20px; color: oklch(98% .005 160 / .6); }
.sf-hero__img { width: 100%; height: auto; border-radius: 28px; }

/* ---------- экономия ---------- */
.sf-save__text { max-width: 512px; }
.sf-save { padding: 40px; }
.sf-save__value {
    display: flex; align-items: baseline; gap: 12px; margin-top: 24px;
    color: var(--brand); font-size: clamp(64px, 10vw, 128px); font-weight: 800; line-height: 1; letter-spacing: -.025em;
}
.sf-save__value span { font-size: .7em; }
.sf-save__note { margin-top: 24px; color: oklch(98% .005 160 / .7); }

/* ---------- сравнение ---------- */
.sf-grid2 { display: grid; gap: 24px; margin-top: 56px; }
.sf-plan { position: relative; }
.sf-plan__head { display: flex; align-items: flex-start; justify-content: space-between; }
.sf-plan__label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: oklch(75% .14 25 / .8); }
.sf-plan--brand .sf-plan__label { color: var(--brand); }
.sf-plan__sub { margin-top: 6px; font-size: 14px; line-height: 20px; color: oklch(98% .005 160 / .7); }
.sf-plan__price { text-align: right; }
.sf-plan__value { font-size: 30px; font-weight: 800; line-height: 36px; }
.sf-plan__value--brand { color: var(--brand); font-size: 36px; line-height: 1; }
.sf-plan__value--brand span { font-size: 24px; }
.sf-plan__per { font-size: 12px; line-height: 16px; color: oklch(98% .005 160 / .6); }
.sf-plan__value--brand + .sf-plan__per { margin-top: 4px; }
.sf-plan .sf-checks span:last-child { color: oklch(98% .005 160 / .85); }
.sf-plan--brand .sf-checks span:last-child { color: oklch(98% .005 160 / .9); }
.sf-total { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: oklch(22% .04 165 / .4); color: oklch(98% .005 160 / .75); }
.sf-total b { color: var(--fg); }
.sf-plan .sf-btn { display: block; margin-top: 32px; text-align: center; }

/* ---------- преимущества ---------- */
.sf-grid3 { display: grid; gap: 24px; margin-top: 56px; }
.sf-feature__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 20px; background: oklch(82% .19 160 / .15); color: var(--brand); }
.sf-feature h3 { margin-top: 24px; padding-bottom: .05em; font-family: 'SfMabry', 'SfGolos', Arial, sans-serif; font-size: 20px; font-weight: 700; line-height: 28px; letter-spacing: -.01em; }
.sf-feature p { margin-top: 12px; color: oklch(98% .005 160 / .7); }

/* ---------- кабинет ---------- */
.sf-cab__more { margin-top: 40px; }
.sf-dash { padding: 24px; border: 1px solid var(--line); border-radius: 28px; background: oklch(26% .045 165 / .7); }
.sf-dash__bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid oklch(35% .05 165 / .36); }
.sf-dash__lights { display: flex; gap: 6px; }
.sf-dash__lights span { width: 12px; height: 12px; border-radius: 50%; }
.sf-dash__lights span:nth-child(1) { background: oklch(63.7% .237 25.331 / .7); }
.sf-dash__lights span:nth-child(2) { background: oklch(85.2% .199 91.936 / .7); }
.sf-dash__lights span:nth-child(3) { background: var(--brand); }
.sf-dash__name { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .2em; color: oklch(98% .005 160 / .5); }
.sf-dash__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.sf-tile { padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: oklch(22% .04 165 / .4); }
.sf-tile__label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: oklch(98% .005 160 / .5); }
.sf-tile__value { margin-top: 6px; color: var(--brand); font-size: 20px; font-weight: 800; line-height: 28px; }
.sf-dash__panel { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 24px; background: oklch(22% .04 165 / .4); }
.sf-dash__row { display: flex; align-items: center; justify-content: space-between; }
.sf-dash__row > span:first-child { color: oklch(98% .005 160 / .7); }
.sf-dash__row b { color: var(--brand); font-weight: 600; }
.sf-dash__chart { width: 100%; height: 128px; margin-top: 16px; }
.sf-dash__status { padding: 16px; }
.sf-dash__status .sf-dash__row > span:first-child { display: flex; align-items: center; gap: 12px; color: oklch(98% .005 160 / .8); }
.sf-dash__status .sf-dot { width: 32px; height: 32px; }
.sf-dash__badge { padding: 4px 12px; border-radius: 999px; background: var(--brand); color: var(--brand-fg); font-size: 10px; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- переход ---------- */
.sf-cta { text-align: center; }
.sf-cta .sf-lead { max-width: 576px; margin-left: auto; margin-right: auto; }
.sf-cta .sf-btn { margin-top: 32px; padding: 16px 32px; }
.sf-people { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.sf-people__faces { display: flex; }
.sf-people__faces span { width: 32px; height: 32px; border: 2px solid var(--bg); border-radius: 50%; }
.sf-people__faces span + span { margin-left: -8px; }
.sf-people__faces span:nth-child(1) { background: oklch(.82 .19 160); }
.sf-people__faces span:nth-child(2) { background: oklch(.70 .16 155); }
.sf-people__faces span:nth-child(3) { background: oklch(.60 .14 150); }
.sf-people p { font-size: 14px; line-height: 20px; color: oklch(98% .005 160 / .75); }
.sf-people b { color: var(--fg); }

/* ---------- вопросы ---------- */
.sf-faq .sf-wrap { max-width: 896px; }
.sf-faq__list { display: grid; gap: 12px; margin-top: 48px; }
.sf-qa { border: 1px solid var(--line); border-radius: 24px; background: oklch(26% .045 165 / .5); transition: border-color .15s, background-color .15s; }
.sf-qa[open] { border-color: oklch(82% .19 160 / .5); background: oklch(82% .19 160 / .05); }
.sf-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; cursor: pointer; list-style: none; }
.sf-qa summary::-webkit-details-marker { display: none; }
.sf-qa__icon { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .05); color: oklch(98% .005 160 / .7); transition: all .15s; }
.sf-qa[open] .sf-qa__icon { background: var(--brand); color: var(--brand-fg); transform: rotate(45deg); }
.sf-qa__a { margin-top: -4px; padding: 0 24px 24px; color: oklch(98% .005 160 / .75); }

/* ---------- ≥768px ---------- */
@media (min-width: 768px) {
    .sf-h2 { font-size: 48px; }
    .sf-h2--faq { line-height: 48px; }
    .sf-price__value { font-size: 48px; line-height: 1; }
    .sf-plan__value { font-size: 36px; line-height: 40px; }
    .sf-plan__value--brand { line-height: 1; }
    .sf-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sf-cta { padding: 48px; }
}

/* ---------- ≥1024px ---------- */
@media (min-width: 1024px) {
    .sf-hero .sf-wrap, .sf-2col, .sf-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sf-hero__side { padding-top: 24px; }
}
