/* ev-gerasimov.ru/partneram — партнёрская программа Ozon Доставки (24.10.2026). Поверх /_site/pages.css (hero, кнопки,
   карточки, таблицы .tbl, FAQ, итоговый блок) и /_site/ev.css (шапка, подвал, блок доверия). Префикс pp-.
   Сначала телефон: 320 px без горизонтальной прокрутки, отступы по бокам 16 px. */

.pp-page .pp-sec { padding: 64px 0; }
.pp-page .pp-soft { background: var(--soft); border-top: 1px solid #EDF0F6; border-bottom: 1px solid #EDF0F6; }
.pp-page .sec-head { margin-bottom: 24px; }
.pp-page .sec-head .lead { max-width: 820px; }
.pp-hero .lead a { font-weight: 700; text-decoration: none; }
.pp-hero .lead a:hover { text-decoration: underline; }
.pp-hero .byline { margin-top: 22px; }

/* карточка-пример справа на первом экране — только на широких экранах (на узких рядом калькулятор) */
.pp-hero-card { display: none; }
@media (min-width: 1140px) {
    .pp-hero .wrap { min-height: 520px; }
    .pp-hero-card { display: block; position: absolute; right: 24px; top: 64px; width: 330px; padding: 22px; border-radius: 22px; background: radial-gradient(360px 220px at 100% 0%, rgba(36, 87, 255, .5), transparent 65%), var(--ink); color: #E9EDF7; box-shadow: 0 24px 56px rgba(10, 16, 34, .22); }
    .pp-hero .h1, .pp-hero .lead, .pp-hero .byline { max-width: 700px; }
    .pp-hero .pp-facts { max-width: 720px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1240px) {
    .pp-hero .h1, .pp-hero .lead, .pp-hero .byline { max-width: 760px; }
    .pp-hero .pp-facts { max-width: 760px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.pp-hc-k { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--lime); }
.pp-hc-list { list-style: none; margin-top: 12px; }
.pp-hc-list li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 14.5px; line-height: 1.35; }
.pp-hc-list span { color: #B4BDD2; }
.pp-hc-list b { color: #fff; white-space: nowrap; }
.pp-hc-list small { display: block; margin-top: 2px; font-size: 13px; color: #8F9AB3; }
.pp-hc-units { margin-top: 10px; font-size: 14px; color: #C9D6FF; }
.pp-hc-total { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(36, 87, 255, .24); }
.pp-hc-total span { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #C9D6FF; }
.pp-hc-total b { display: block; margin-top: 2px; font-size: 32px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; }
.pp-hc-link { display: inline-flex; align-items: center; min-height: 40px; margin-top: 10px; font-weight: 800; color: #fff; text-decoration: none; }
.pp-hc-link:hover { color: var(--lime); text-decoration: underline; }

.pp-facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 32px; max-width: 1000px; }
.pp-facts li { min-width: 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 1px 2px rgba(12, 19, 35, .04); }
.pp-facts b { display: block; font-size: 22px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; color: var(--text); }
.pp-facts span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.4; color: var(--muted); }

.pp-cards { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pp-cards .card { min-width: 0; }
.pp-cards .card p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.pp-cards .card a { font-weight: 700; white-space: nowrap; }

.pp-steps { list-style: none; counter-reset: pps; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pp-steps li { counter-increment: pps; position: relative; min-width: 0; padding: 60px 20px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 1px 2px rgba(12, 19, 35, .04); }
.pp-steps li::before { content: counter(pps); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 15px; font-weight: 800; }
.pp-steps b { display: block; font-size: 17px; line-height: 1.35; }
.pp-steps span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.pp-steps code { font-family: var(--mono); font-size: 13px; padding: 1px 5px; border-radius: 6px; background: var(--soft); color: var(--text); overflow-wrap: anywhere; }

.pp-scale table { min-width: 0; }
.pp-scale .pp-st { display: none; }
@media (max-width: 640px) { .pp-scale .pp-st { display: inline; } }
.pp-scale .pp-pct { color: var(--blue); font-size: 17px; font-weight: 800; }
.pp-rules { max-width: 900px; margin-top: 18px; }
.pp-rules li { font-size: 16px; }

/* калькулятор */
.pp-calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 1px 2px rgba(12, 19, 35, .04), 0 18px 44px rgba(12, 19, 35, .07); }
.pp-calc-in { padding: 28px; display: grid; gap: 24px; align-content: start; }
.pp-lab { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.pp-lab label { font-size: 16px; font-weight: 700; line-height: 1.35; }
.pp-lab output { flex: none; min-width: 3ch; text-align: right; font-size: 24px; font-weight: 800; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.pp-hint { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.pp-units { padding: 12px 14px; border-radius: 12px; background: var(--blue-soft); font-size: 15px; line-height: 1.5; }

.pp-range { --v: 20%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 32px; margin: 8px 0 0; background: transparent; cursor: pointer; touch-action: pan-y; }
.pp-range:focus { outline: none; }
.pp-range:focus-visible { outline: 3px solid var(--blue2); outline-offset: 4px; border-radius: 8px; }
.pp-range::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) 0 var(--v), #DCE3F0 var(--v) 100%); }
.pp-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(36, 87, 255, .35); }
.pp-range::-moz-range-track { height: 8px; border-radius: 999px; background: #DCE3F0; }
.pp-range::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--blue); }
.pp-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blue); box-shadow: 0 2px 8px rgba(36, 87, 255, .35); }
.pp-range[disabled] { opacity: .45; cursor: not-allowed; }

.pp-calc-out { display: flex; flex-direction: column; gap: 2px; padding: 28px; background: radial-gradient(520px 300px at 100% 0%, rgba(36, 87, 255, .45), transparent 65%), var(--ink); color: #E9EDF7; }
.pp-out-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 15.5px; line-height: 1.35; }
.pp-out-row span { color: #B4BDD2; }
.pp-out-row b { color: #fff; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.pp-out-tier b { color: var(--lime); }
.pp-out-total { margin-top: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(36, 87, 255, .24); box-shadow: inset 0 0 0 1px rgba(157, 182, 255, .25); }
.pp-out-total span { display: block; font-size: 13px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #C9D6FF; }
.pp-out-total b { display: block; margin-top: 4px; font-size: clamp(30px, 2.4vw + 16px, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; color: #fff; font-variant-numeric: tabular-nums; }
.pp-out-total small { display: block; margin-top: 4px; font-size: 14px; color: #B4BDD2; }
.pp-out-note, .pp-out-next { margin-top: 10px; font-size: 14px; line-height: 1.5; color: #B4BDD2; }
.pp-out-next b { color: #fff; }
.pp-calc-out .pp-out-btn { width: 100%; margin-top: 16px; }
.pp-calc-note { margin-top: 14px; max-width: 900px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.pp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 4px; }
.pp-split .card p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.pp-split .card p b { color: var(--text); }
.pp-split .list { margin-top: 10px; }
.pp-split .list li { font-size: 16px; }

.pp-flow { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pp-flow li { position: relative; min-width: 0; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.pp-flow b { display: block; font-size: 17px; line-height: 1.3; color: var(--blue); }
.pp-flow span { display: block; margin-top: 4px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.pp-page #vyplaty .more { margin: 14px 0 18px; }

.pp-cmp td:first-child { width: 20%; }
.pp-cmp tbody tr:nth-child(5) td { background: var(--blue-soft); }

.pp-no { list-style: none; display: grid; gap: 10px; max-width: 900px; }
.pp-no li { position: relative; padding: 14px 16px 14px 50px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-size: 16px; line-height: 1.5; }
.pp-no li::before { content: ""; position: absolute; left: 16px; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: #FDECEA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7 7 17' stroke='%23D92D20' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 13px 13px no-repeat; }

.pp-faq { max-width: 900px; }
.pp-page .evt { max-width: 900px; }
.pp-page .final .disc a { color: #C9D6FF; }

@media (max-width: 1080px) {
    .pp-cards, .pp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pp-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 640px; }
}
@media (max-width: 900px) {
    .pp-calc { grid-template-columns: minmax(0, 1fr); }
    .pp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .pp-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .pp-page .pp-sec { padding: 44px 0; }
    .pp-cards, .pp-steps { grid-template-columns: minmax(0, 1fr); }
    .pp-steps li { padding: 18px 16px 18px 60px; }
    .pp-steps li::before { left: 16px; top: 18px; }
    .pp-calc { border-radius: 20px; }
    .pp-calc-in, .pp-calc-out { padding: 20px 16px; }
    .pp-calc-in { gap: 20px; }
    .pp-facts { gap: 8px; margin-top: 24px; }
    .pp-facts li { padding: 12px; }
    .pp-facts b { font-size: 18px; }
    .pp-facts span { font-size: 13px; }
    .pp-cmp td:first-child { width: auto; }
    .pp-cmp tbody tr:nth-child(5) td { background: transparent; }
    .pp-cmp tbody tr:nth-child(5) { background: var(--blue-soft); border-color: var(--blue-soft); }
    .pp-no li { padding: 12px 14px 12px 46px; font-size: 15.5px; }
    .pp-no li::before { left: 14px; top: 13px; }
}
@media (max-width: 400px) {
    .pp-flow { grid-template-columns: minmax(0, 1fr); }
    .pp-lab label { font-size: 15px; }
}
