:root {
    color-scheme: dark;
    --bg: #06122b;
    --bg-deep: #030a18;
    --surface: rgba(255, 255, 255, 0.085);
    --surface-strong: rgba(255, 255, 255, 0.14);
    --surface-light: #f5f7fb;
    --surface-white: #ffffff;
    --ink: #f7f9ff;
    --muted: #aebbd7;
    --muted-dark: #667085;
    --navy: #101a33;
    --line: rgba(255, 255, 255, 0.13);
    --line-dark: rgba(16, 24, 40, 0.10);
    --blue: #6a82ff;
    --cyan: #65e8ff;
    --violet: #a855f7;
    --green: #22c996;
    --danger: #ff8e9c;
    --shadow-xl: 0 30px 90px rgba(1, 7, 20, 0.42);
    --shadow-card: 0 18px 55px rgba(10, 25, 55, 0.14);
    --radius-xl: 34px;
    --radius-lg: 26px;
    --radius-md: 20px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --sheet-collapsed: clamp(148px, 22dvh, 206px);
    --sheet-expanded: calc(100dvh - 12px);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg-deep); scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    min-height: 100dvh;
    overflow: hidden;
    background: var(--bg-deep);
    color: var(--ink);
}
button, input, a { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: rgba(101, 232, 255, .28); color: #fff; }

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    transform: translateY(-160%);
    padding: 12px 16px;
    border-radius: 14px;
    background: #fff;
    color: #101828;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-shell {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 120%, rgba(49, 184, 255, .12), transparent 44%),
        linear-gradient(145deg, #06132d 0%, #091e44 47%, #10133a 100%);
}

.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.ambient__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: .72;
    animation: drift 14s ease-in-out infinite alternate;
}
.ambient__orb--one {
    width: min(48vw, 640px); height: min(48vw, 640px);
    left: -15vw; top: -20vw;
    background: radial-gradient(circle at 60% 60%, rgba(77, 221, 255, .58), rgba(59, 130, 246, .20) 52%, transparent 72%);
}
.ambient__orb--two {
    width: min(52vw, 720px); height: min(52vw, 720px);
    right: -20vw; top: -16vw;
    background: radial-gradient(circle, rgba(169, 85, 247, .48), rgba(105, 90, 255, .15) 52%, transparent 72%);
    animation-delay: -5s;
}
.ambient__orb--three {
    width: min(42vw, 540px); height: min(42vw, 540px);
    left: 35%; bottom: -28vw;
    background: radial-gradient(circle, rgba(34, 211, 153, .32), rgba(25, 170, 210, .10) 50%, transparent 72%);
    animation-delay: -9s;
}
.ambient__grid {
    position: absolute; inset: 0;
    opacity: .12;
    background-image:
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
@keyframes drift { to { transform: translate3d(34px, 22px, 0) scale(1.08); } }

.topbar {
    position: absolute;
    z-index: 20;
    top: 0; left: 0; right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: calc(18px + var(--safe-top)) clamp(18px, 4vw, 54px) 18px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    min-width: 0;
}
.brand__mark {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 15px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.30), rgba(255,255,255,.06)),
        linear-gradient(145deg, #6adcfb, #6f6cff 58%, #a855f7);
    border: 1px solid rgba(255,255,255,.35);
    box-shadow: 0 12px 35px rgba(56, 145, 255, .34), inset 0 1px 0 rgba(255,255,255,.55);
    color: #fff;
    font-weight: 900;
    letter-spacing: -.08em;
    padding-right: .08em;
}
.brand__text { display: grid; min-width: 0; line-height: 1.05; }
.brand__text strong { font-size: 17px; letter-spacing: -.03em; }
.brand__text small {
    max-width: min(240px, 42vw);
    margin-top: 4px;
    color: rgba(232, 239, 255, .72);
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.topbar__link, .icon-button {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.13);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.topbar__link { padding: 11px 16px; border-radius: 14px; font-size: 13px; font-weight: 700; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 14px; }
.topbar__link:hover, .icon-button:hover { transform: translateY(-2px); background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); }

.hero {
    position: relative;
    z-index: 2;
    width: min(1080px, calc(100% - 36px));
    margin: 0 auto;
    min-height: 100dvh;
    padding: clamp(112px, 16vh, 160px) 0 calc(var(--sheet-collapsed) + 34px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    transition: filter .55s ease, transform .55s cubic-bezier(.2,.8,.2,1), opacity .55s ease;
}
.catalog-sheet.is-expanded ~ * { pointer-events: none; }
.site-shell:has(.catalog-sheet.is-expanded) .hero {
    transform: translateY(-24px) scale(.975);
    filter: blur(9px) saturate(.75);
    opacity: .38;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.075);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #dbe6ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .015em;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #55e6ae; box-shadow: 0 0 0 5px rgba(85,230,174,.12), 0 0 18px rgba(85,230,174,.85); }
.hero h1 {
    margin: 22px 0 16px;
    max-width: 900px;
    font-size: clamp(48px, 7.8vw, 104px);
    line-height: .92;
    letter-spacing: -.07em;
    font-weight: 860;
}
.hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, #77e8ff 0%, #8aa6ff 48%, #c788ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 12px 30px rgba(102, 147, 255, .2));
}
.hero__lead {
    max-width: 700px;
    margin: 0;
    color: #c7d4ef;
    font-size: clamp(16px, 2vw, 21px);
    line-height: 1.55;
}
.city strong { color: #fff; }

.amount-control {
    width: min(640px, 100%);
    margin-top: 28px;
    padding: 18px 20px 16px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.055));
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
    box-shadow: 0 22px 60px rgba(3, 11, 29, .26), inset 0 1px 0 rgba(255,255,255,.18);
}
.amount-control__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; }
.amount-control__head > div { display: grid; gap: 3px; }
.amount-control__label { color: #afbdd9; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.amount-control__head strong { font-size: clamp(27px, 5vw, 40px); letter-spacing: -.045em; }
.amount-control__hint { max-width: 165px; color: #aebbd7; font-size: 12px; line-height: 1.35; text-align: right; }
.amount-range {
    width: 100%;
    height: 28px;
    margin: 12px 0 0;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}
.amount-range::-webkit-slider-runnable-track { height: 7px; border-radius: 999px; background: linear-gradient(90deg, #6ce8ff var(--range-progress, 29%), rgba(255,255,255,.16) var(--range-progress, 29%)); }
.amount-range::-moz-range-track { height: 7px; border-radius: 999px; background: rgba(255,255,255,.16); }
.amount-range::-moz-range-progress { height: 7px; border-radius: 999px; background: #78e4ff; }
.amount-range::-webkit-slider-thumb {
    appearance: none; -webkit-appearance: none;
    width: 24px; height: 24px; margin-top: -8.5px;
    border: 6px solid #fff; border-radius: 50%;
    background: #5f7cff;
    box-shadow: 0 4px 18px rgba(41, 117, 255, .55);
}
.amount-range::-moz-range-thumb { width: 14px; height: 14px; border: 5px solid #fff; border-radius: 50%; background: #5f7cff; box-shadow: 0 4px 18px rgba(41,117,255,.55); }
.amount-range:focus-visible { outline: 3px solid rgba(112, 213, 255, .4); outline-offset: 4px; border-radius: 10px; }
.amount-control__scale { display: flex; justify-content: space-between; color: #91a1c0; font-size: 11px; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.trust-pill {
    min-width: 112px;
    display: flex;
    align-items: baseline;
    gap: 7px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    background: rgba(255,255,255,.055);
}
.trust-pill strong { font-size: 16px; color: #fff; }
.trust-pill span { color: #9faecc; font-size: 11px; }
.primary-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.33);
    border-radius: 17px;
    background: linear-gradient(135deg, #edf9ff, #d8e1ff);
    color: #10214b;
    box-shadow: 0 16px 40px rgba(77, 153, 255, .25), inset 0 1px 0 #fff;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}
.primary-hero-button:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(77,153,255,.36), inset 0 1px 0 #fff; }
.primary-hero-button svg { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.hero__microcopy { margin: 12px 0 0; max-width: 610px; color: #8192b4; font-size: 11px; line-height: 1.5; }

.catalog-sheet {
    position: fixed;
    z-index: 30;
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    bottom: 0;
    height: var(--sheet-collapsed);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.48);
    border-bottom: 0;
    border-radius: 34px 34px 0 0;
    background: rgba(245, 248, 255, .91);
    color: var(--navy);
    box-shadow: 0 -24px 80px rgba(1, 9, 26, .36), inset 0 1px 0 rgba(255,255,255,.88);
    backdrop-filter: blur(34px) saturate(145%);
    -webkit-backdrop-filter: blur(34px) saturate(145%);
    transform: translateZ(0);
    transition: height .62s cubic-bezier(.2,.84,.18,1), border-radius .4s ease, background .4s ease;
}
.catalog-sheet.is-expanded {
    height: var(--sheet-expanded);
    border-radius: 34px 34px 0 0;
    background: rgba(247, 249, 254, .975);
}
.sheet-grip {
    position: relative;
    flex: 0 0 28px;
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: ns-resize;
}
.sheet-grip span { position: absolute; left: 50%; top: 10px; width: 48px; height: 5px; margin-left: -24px; border-radius: 99px; background: rgba(29,41,69,.18); transition: width .2s ease, background .2s ease; }
.sheet-grip:hover span { width: 62px; margin-left: -31px; background: rgba(29,41,69,.31); }
.catalog-sheet__chrome {
    flex: 0 0 auto;
    padding: 2px clamp(16px, 4vw, 42px) 14px;
    border-bottom: 1px solid rgba(16, 24, 40, .08);
}
.catalog-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.catalog-heading__kicker, .section-kicker { display: block; color: #5d6d8d; font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.catalog-heading h2 { margin: 3px 0 0; font-size: clamp(22px, 4vw, 34px); letter-spacing: -.045em; }
.catalog-heading h2 span { color: #5f69e8; }
.result-count { display: grid; min-width: 70px; padding: 8px 12px; border-radius: 16px; background: #e9edff; text-align: center; }
.result-count strong { color: #4c5bd4; font-size: 20px; line-height: 1; }
.result-count span { margin-top: 3px; color: #74809a; font-size: 10px; }
.catalog-tools { display: flex; gap: 12px; align-items: center; margin-top: 13px; }
.search-field {
    position: relative;
    flex: 1 1 280px;
    display: flex;
    align-items: center;
    min-width: 160px;
    height: 44px;
    border: 1px solid #dfe4ef;
    border-radius: 15px;
    background: rgba(255,255,255,.82);
    color: #667085;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.search-field:focus-within { border-color: #8ea0ff; box-shadow: 0 0 0 4px rgba(105,126,255,.12); }
.search-field svg { flex: 0 0 auto; margin-left: 14px; }
.search-field input { width: 100%; height: 100%; padding: 0 13px 0 9px; border: 0; outline: 0; background: transparent; color: #101828; }
.search-field input::placeholder { color: #98a2b3; }
.filter-chips { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.filter-chips::-webkit-scrollbar { display: none; }
.filter-chip {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #dfe4ef;
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: #5d6677;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
    transition: .2s ease;
}
.filter-chip:hover { border-color: #b9c2dd; background: #fff; }
.filter-chip.is-active { border-color: #1b2a55; background: #18264c; color: #fff; box-shadow: 0 7px 18px rgba(18,39,88,.18); }
.finance-warning { display: none; align-items: flex-start; gap: 8px; margin: 12px 0 0; color: #667085; font-size: 11px; line-height: 1.4; }
.finance-warning svg { flex: 0 0 auto; margin-top: 1px; color: #dd7b34; }
.catalog-sheet.is-expanded .finance-warning { display: flex; }
.catalog-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    padding: 18px clamp(14px, 3.5vw, 42px) calc(44px + var(--safe-bottom));
}
.catalog-scroll::-webkit-scrollbar { width: 11px; }
.catalog-scroll::-webkit-scrollbar-thumb { background: #cbd3e3; border: 3px solid transparent; border-radius: 999px; background-clip: padding-box; }

.offer-grid {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.offer-card {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 17px;
    border: 1px solid rgba(17, 31, 62, .09);
    border-radius: 25px;
    background:
        radial-gradient(circle at 100% 0%, rgba(101, 127, 255, .09), transparent 35%),
        #fff;
    box-shadow: 0 14px 40px rgba(28, 48, 88, .09);
    overflow: hidden;
    opacity: 0;
    transform: translate3d(0, 42px, 0) scale(.985);
    transition: opacity .6s ease, transform .68s cubic-bezier(.18,.82,.2,1), box-shadow .25s ease, border-color .25s ease;
    transition-delay: min(calc(var(--card-index) * 24ms), 180ms);
}
.offer-card.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.no-js .offer-card { opacity: 1; transform: none; }
.offer-card:hover { border-color: rgba(88,105,219,.27); box-shadow: 0 21px 52px rgba(28,48,88,.14); transform: translateY(-3px); }
.offer-card[hidden] { display: none !important; }
.offer-card::after {
    content: "";
    position: absolute;
    top: -70px; right: -60px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(113, 222, 255, .13), transparent 70%);
    pointer-events: none;
}
.offer-card__topline { min-height: 25px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.disclosure-label { color: #98a2b3; font-size: 9px; letter-spacing: .06em; text-transform: uppercase; }
.offer-badge { max-width: 64%; padding: 5px 9px; border-radius: 999px; background: #edf1ff; color: #5261c7; font-size: 10px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-card__identity { display: grid; grid-template-columns: 72px minmax(0,1fr); grid-template-areas: "logo name" "promo promo"; gap: 10px 12px; align-items: center; margin-top: 12px; }
.offer-logo-wrap {
    grid-area: logo;
    position: relative;
    display: grid;
    place-items: center;
    width: 72px;
    height: 58px;
    padding: 7px;
    border: 1px solid #e9edf5;
    border-radius: 17px;
    background: #fbfcff;
    overflow: hidden;
}
.offer-logo-wrap.is-fallback::before { content: "₽"; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg,#647cff,#9259e8); color: #fff; font-weight: 900; }
.offer-logo { width: 100%; height: 100%; object-fit: contain; }
.offer-card__name { grid-area: name; min-width: 0; }
.offer-card__name h3 { margin: 0; color: #101828; font-size: 19px; line-height: 1.1; letter-spacing: -.03em; }
.offer-card__name span { display: block; margin-top: 4px; color: #7a8498; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.promo-chip { grid-area: promo; justify-self: start; display: inline-flex; align-items: center; min-height: 30px; padding: 0 11px; border: 1px solid rgba(14, 171, 119, .16); border-radius: 10px; background: #ecfff8; color: #07865e; font-size: 11px; font-weight: 800; }
.offer-card__psk { margin: 13px 0 0; padding: 9px 11px; border: 1px solid #dfe6f2; border-radius: 13px; background: #f8faff; color: #263653; font-size: 13px; font-weight: 850; line-height: 1.35; }
.offer-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 0; }
.offer-stats > div { min-width: 0; padding: 10px 11px; border-radius: 14px; background: #f6f8fc; }
.offer-stats dt { color: #8b95a7; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.offer-stats dd { margin: 4px 0 0; color: #172033; font-size: 13px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-card__actions { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 9px; margin-top: auto; padding-top: 15px; }
.secondary-button, .money-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.secondary-button { min-height: 38px; align-self: center; padding: 0 12px; border: 1px solid #dce2ed; background: #fff; color: #647087; font-size: 11px; }
.secondary-button:hover { background: #f5f7fb; color: #26314b; }
.money-button { padding: 0 15px; border: 0; background: linear-gradient(135deg,#18284f,#304a86); color: #fff; box-shadow: 0 10px 24px rgba(22,43,89,.19); font-size: 13px; }
.money-button:hover { transform: translateY(-2px); box-shadow: 0 15px 30px rgba(22,43,89,.25); }
.money-button svg { transition: transform .18s ease; }
.money-button:hover svg { transform: translateX(3px); }
.offer-card__risk { min-height: 58px; display: grid; align-content: center; gap: 4px; margin: 10px 0 0; padding: 10px 11px; border: 1px solid #f1dec5; border-radius: 13px; background: #fff8ee; color: #735a36; font-size: 10.5px; line-height: 1.38; }
.offer-card__risk a { width: fit-content; color: #65491f; font-weight: 850; text-underline-offset: 2px; }
.offer-card__risk span { display: block; }
.offer-card__provider { display: block; padding-top: 5px; border-top: 1px solid rgba(115,90,54,.14); color: #735f42; font-size: 9.5px; line-height: 1.35; }
.offer-card__provider strong { color: #4f3c21; font-weight: 850; }

.empty-state { width: min(600px,100%); margin: 30px auto; padding: 34px; border: 1px dashed #c8d0df; border-radius: 24px; text-align: center; color: #667085; }
.empty-state__icon { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto; border-radius: 18px; background: #ecf0ff; color: #5767cf; font-size: 30px; }
.empty-state h3 { margin: 14px 0 7px; color: #172033; }
.empty-state p { margin: 0 auto; max-width: 430px; line-height: 1.55; }
.empty-state button { margin-top: 16px; padding: 10px 15px; border: 0; border-radius: 12px; background: #19284d; color: #fff; font-weight: 750; cursor: pointer; }

.editorial, .faq, .site-footer { width: min(1120px, 100%); margin-left: auto; margin-right: auto; }
.editorial { margin-top: 36px; padding: clamp(22px, 4vw, 46px); border: 1px solid #e0e5ef; border-radius: 30px; background: linear-gradient(145deg,#fff,#f6f8fc); box-shadow: var(--shadow-card); }
.editorial__header { max-width: 820px; }
.editorial__header h2, .faq__heading h2 { margin: 7px 0 0; color: #101828; font-size: clamp(28px, 4vw, 48px); line-height: 1.03; letter-spacing: -.055em; }
.editorial__header p { margin: 15px 0 0; color: #5e697e; font-size: 15px; line-height: 1.7; }
.editorial__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-top: 26px; }
.editorial-card { position: relative; padding: 20px; border: 1px solid #e6eaf2; border-radius: 20px; background: rgba(255,255,255,.8); }
.editorial-card__number { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 26px; padding: 0 8px; border-radius: 9px; background: #edf0ff; color: #5a67ce; font-size: 10px; font-weight: 850; }
.editorial-card h3 { margin: 12px 0 7px; color: #172033; font-size: 18px; letter-spacing: -.03em; }
.editorial-card p { margin: 0; color: #687286; font-size: 13px; line-height: 1.65; }
.editorial__checklist { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; margin-top: 18px; padding: 22px; border-radius: 22px; background: #101d3a; color: #fff; }
.editorial__checklist h3 { margin: 7px 0 0; font-size: 22px; letter-spacing: -.04em; }
.editorial__checklist .section-kicker { color: #85caff; }
.editorial__checklist ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.editorial__checklist li { display: flex; align-items: center; gap: 11px; color: #d4ddf1; font-size: 13px; }
.editorial__checklist li span { display: grid; place-items: center; flex: 0 0 28px; height: 28px; border-radius: 9px; background: rgba(255,255,255,.11); color: #8ee5ff; font-weight: 900; }
.editorial__source-note { margin: 17px 0 0; color: #8b94a5; font-size: 10px; line-height: 1.55; }

.faq { margin-top: 28px; padding: 4px 2px; }
.faq__heading { margin-bottom: 15px; }
.faq__heading h2 { font-size: clamp(28px,4vw,42px); }
.faq__list { display: grid; gap: 9px; }
.faq-item { border: 1px solid #e0e5ef; border-radius: 18px; background: #fff; overflow: hidden; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 19px; color: #172033; font-size: 14px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: 0 0 auto; color: #7a8599; transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 19px 18px; color: #667085; font-size: 13px; line-height: 1.65; }

.site-footer { margin-top: 30px; padding: 24px 4px 16px; border-top: 1px solid #dfe4ec; color: #596579; }
.site-footer__brand { display: flex; align-items: center; gap: 12px; }
.site-footer__brand .brand__mark { width: 42px; height: 42px; font-size: 12px; }
.site-footer__brand strong { color: #172033; }
.site-footer__brand p { margin: 3px 0 0; font-size: 11px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 14px; margin: 18px 0; }
.site-footer__links button, .site-footer__links a { padding: 0; border: 0; background: transparent; color: #46536a; text-decoration: none; font-size: 12px; font-weight: 750; cursor: pointer; }
.site-footer__links button:hover, .site-footer__links a:hover { color: #4e5cc4; }
.site-footer__legal { display: grid; gap: 7px; max-width: 900px; }
.site-footer__legal p { margin: 0; font-size: 9.5px; line-height: 1.5; }

.offer-details, .legal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}
.offer-details::backdrop, .legal-dialog::backdrop { background: rgba(3, 8, 20, .64); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.offer-details[open], .legal-dialog[open] { display: flex; align-items: flex-end; justify-content: center; }
.offer-details__surface, .legal-dialog__surface {
    position: relative;
    width: min(620px, calc(100% - 18px));
    max-height: min(88dvh, 760px);
    overflow-y: auto;
    margin-bottom: max(8px, var(--safe-bottom));
    padding: 24px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 30px;
    background: rgba(250,252,255,.97);
    color: #15203a;
    box-shadow: 0 35px 110px rgba(0,0,0,.42), inset 0 1px 0 #fff;
    transform-origin: 50% 100%;
    animation: sheetIn .46s cubic-bezier(.2,.84,.18,1);
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(80px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.dialog-close { position: absolute; z-index: 2; top: 14px; right: 14px; display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid #e2e7ef; border-radius: 14px; background: rgba(255,255,255,.9); color: #617087; cursor: pointer; }
.dialog-close:hover { background: #f2f4f8; color: #172033; }
.offer-details__brand { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 15px; align-items: center; padding-right: 38px; }
.offer-details__logo-wrap { display: grid; place-items: center; width: 100px; height: 74px; padding: 9px; border: 1px solid #e4e8ef; border-radius: 18px; background: #fff; overflow: hidden; }
.offer-details__logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.offer-details__type { color: #69758b; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.offer-details__brand h2 { margin: 4px 0 2px; font-size: 27px; line-height: 1; letter-spacing: -.05em; }
.offer-details__domain { color: #8a94a5; font-size: 11px; }
.offer-details__provider { display: block; max-width: 360px; margin-top: 4px; color: #5c687c; font-size: 9.5px; font-weight: 750; line-height: 1.3; }
.offer-details__promo { margin-top: 16px; padding: 12px 14px; border: 1px solid #cfeee2; border-radius: 15px; background: #edfff8; color: #087c5b; font-size: 14px; font-weight: 850; text-align: center; }
.offer-details__psk { margin: 10px 0 0; padding: 10px 12px; border: 1px solid #dfe6f2; border-radius: 13px; background: #f5f8fd; color: #263653; font-size: 12px; font-weight: 850; line-height: 1.35; }
.offer-details__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin: 12px 0 0; }
.offer-details__stats div { min-width: 0; padding: 10px; border-radius: 14px; background: #f1f4f9; }
.offer-details__stats dt { color: #8a94a6; font-size: 9px; text-transform: uppercase; }
.offer-details__stats dd { margin: 4px 0 0; color: #1b2740; font-size: 12px; font-weight: 850; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.offer-details__advantages { margin-top: 15px; }
.offer-details__advantages h3 { margin: 0 0 9px; font-size: 14px; }
.offer-details__advantages ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.offer-details__advantages li { position: relative; padding-left: 24px; color: #58657a; font-size: 12px; line-height: 1.4; }
.offer-details__advantages li::before { content: "✓"; position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 6px; background: #e4ecff; color: #5269d8; font-size: 10px; font-weight: 900; }
.offer-details__note { margin: 13px 0 0; padding: 10px 12px; border-radius: 12px; background: #fff7e8; color: #805b22; font-size: 10.5px; line-height: 1.45; }
.money-button--dialog { width: 100%; min-height: 50px; margin-top: 14px; border-radius: 16px; }
.offer-details__risk { min-height: 56px; display: grid; align-content: center; gap: 4px; margin-top: 10px; padding: 10px 12px; border: 1px solid #f1dec5; border-radius: 13px; background: #fff8ee; color: #735a36; font-size: 10.5px; line-height: 1.38; }
.offer-details__risk a { width: fit-content; color: #65491f; font-weight: 850; text-underline-offset: 2px; }
.offer-details__disclaimer { display: block; margin-top: 8px; color: #8b95a5; font-size: 8.5px; line-height: 1.4; text-align: center; }
.legal-dialog__surface { width: min(560px, calc(100% - 18px)); }
.legal-dialog__surface h2 { margin: 8px 0 12px; font-size: 30px; letter-spacing: -.05em; }
.legal-dialog__surface p, .legal-dialog__surface li { color: #5e6a7e; font-size: 13px; line-height: 1.55; }
.legal-dialog__surface ul { display: grid; gap: 7px; padding-left: 20px; }
.legal-dialog__accept { width: 100%; min-height: 48px; margin-top: 10px; border: 0; border-radius: 15px; background: #17264b; color: #fff; font-weight: 800; cursor: pointer; }

.consent {
    position: fixed;
    z-index: 100;
    left: 50%;
    bottom: calc(14px + var(--safe-bottom));
    width: min(620px, calc(100% - 24px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 16px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 20px;
    background: rgba(11,24,52,.94);
    color: #fff;
    box-shadow: 0 22px 70px rgba(0,0,0,.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.consent[hidden] { display: none; }
.consent strong { font-size: 13px; }
.consent p { margin: 4px 0 0; color: #b9c5df; font-size: 10px; line-height: 1.4; }
.consent__actions { display: flex; gap: 7px; flex: 0 0 auto; }
.consent__actions button { min-height: 38px; padding: 0 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 11px; font-weight: 750; cursor: pointer; }
.consent__actions button:last-child { background: #fff; color: #17264b; }
.noscript-note { position: fixed; z-index: 999; left: 12px; right: 12px; bottom: 12px; padding: 12px; border-radius: 14px; background: #fff2cc; color: #6b5010; font-size: 12px; text-align: center; }

:focus-visible { outline: 3px solid rgba(79, 174, 255, .52); outline-offset: 3px; }

@media (max-width: 1040px) {
    .offer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .hero { width: min(900px, calc(100% - 32px)); }
}

@media (max-width: 720px) {
    :root { --sheet-collapsed: 152px; }
    .topbar { padding-left: 16px; padding-right: 16px; }
    .brand__mark { width: 41px; height: 41px; border-radius: 14px; font-size: 12px; }
    .brand__text strong { font-size: 15px; }
    .brand__text small { max-width: 150px; font-size: 9px; }
    .topbar__link { display: none; }
    .hero {
        width: calc(100% - 30px);
        padding-top: calc(84px + var(--safe-top));
        padding-bottom: calc(var(--sheet-collapsed) + 28px);
        justify-content: center;
    }
    .hero__eyebrow { font-size: 10px; padding: 7px 10px; }
    .hero h1 { margin-top: 17px; font-size: clamp(43px, 14vw, 64px); line-height: .94; }
    .hero__lead { font-size: 14px; line-height: 1.5; }
    .amount-control { margin-top: 19px; padding: 14px 15px 13px; border-radius: 20px; }
    .amount-control__head strong { font-size: 29px; }
    .amount-control__hint { display: none; }
    .trust-row { margin-top: 12px; flex-wrap: nowrap; width: 100%; gap: 6px; }
    .trust-pill { flex: 1 1 0; min-width: 0; justify-content: center; padding: 8px 5px; gap: 4px; border-radius: 12px; }
    .trust-pill strong { font-size: 13px; }
    .trust-pill span { font-size: 8px; }
    .primary-hero-button { width: 100%; min-height: 49px; margin-top: 14px; }
    .hero__microcopy { font-size: 9px; }
    .catalog-sheet { left: 5px; right: 5px; border-radius: 28px 28px 0 0; }
    .catalog-sheet.is-expanded { height: calc(100dvh - 5px); border-radius: 28px 28px 0 0; }
    .catalog-sheet__chrome { padding: 0 12px 11px; }
    .catalog-heading h2 { font-size: 22px; }
    .catalog-heading__kicker { font-size: 9px; }
    .result-count { min-width: 59px; padding: 7px 8px; border-radius: 13px; }
    .result-count strong { font-size: 17px; }
    .catalog-tools { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 9px; }
    .search-field { height: 40px; }
    .filter-chips { width: 100%; }
    .filter-chip { min-height: 34px; font-size: 10px; }
    .finance-warning { margin-top: 8px; font-size: 9px; }
    .catalog-scroll { padding: 13px 10px calc(30px + var(--safe-bottom)); }
    .offer-grid { grid-template-columns: 1fr; gap: 11px; }
    .offer-card { padding: 14px; border-radius: 22px; }
    .offer-card:hover { transform: none; }
    .offer-card__identity { grid-template-columns: 67px minmax(0,1fr); gap: 8px 11px; margin-top: 9px; }
    .offer-logo-wrap { width: 67px; height: 54px; border-radius: 15px; }
    .offer-card__name h3 { font-size: 18px; }
    .promo-chip { min-height: 27px; font-size: 10px; }
    .offer-card__psk { margin-top: 10px; padding: 8px 9px; font-size: 12px; }
    .offer-stats { margin-top: 6px; gap: 6px; }
    .offer-stats > div { padding: 8px 9px; border-radius: 12px; }
    .offer-stats dd { font-size: 12px; }
    .offer-card__actions { padding-top: 10px; }
    .offer-card__risk { min-height: 68px; padding: 9px 10px; font-size: 10px; }
    .secondary-button { padding: 0 10px; font-size: 10px; }
    .money-button { font-size: 12px; }
    .editorial { margin-top: 22px; padding: 19px; border-radius: 23px; }
    .editorial__grid { grid-template-columns: 1fr; }
    .editorial__checklist { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
    .offer-details__surface, .legal-dialog__surface {
        width: calc(100% - 10px);
        max-height: calc(100dvh - 8px - var(--safe-top));
        margin-bottom: 4px;
        padding: 19px 16px calc(15px + var(--safe-bottom));
        border-radius: 27px;
    }
    .offer-details__brand { grid-template-columns: 82px minmax(0,1fr); gap: 11px; }
    .offer-details__logo-wrap { width: 82px; height: 62px; }
    .offer-details__brand h2 { font-size: 23px; }
    .offer-details__stats { grid-template-columns: 1fr 1fr; }
    .offer-details__advantages li { font-size: 11px; }
    .consent { align-items: stretch; flex-direction: column; gap: 10px; }
    .consent__actions button { flex: 1 1 0; }
}

@media (max-height: 720px) and (max-width: 720px) {
    .hero { justify-content: flex-start; padding-top: calc(78px + var(--safe-top)); }
    .hero h1 { font-size: clamp(37px, 11.5vw, 50px); }
    .hero__lead { font-size: 12px; }
    .amount-control { margin-top: 13px; }
    .trust-row { display: none; }
    .primary-hero-button { margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
    .offer-card { opacity: 1; transform: none; }
}

@supports not selector(:has(*)) {
    .site-shell.sheet-open .hero { transform: translateY(-24px) scale(.975); filter: blur(9px) saturate(.75); opacity: .38; }
}

/* Доступный статический режим для браузеров и роботов без JavaScript. */
html.no-js,
html.no-js body {
    overflow: auto;
    background: var(--bg-deep);
}
.no-js .site-shell {
    min-height: auto;
    overflow: visible;
}
.no-js .topbar {
    position: relative;
}
.no-js .hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
}
.no-js .catalog-sheet {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    height: auto;
    margin: 0 8px;
    overflow: visible;
    border-bottom: 1px solid rgba(255,255,255,.48);
    border-radius: 34px;
}
.no-js .catalog-scroll {
    max-height: none;
    overflow: visible;
}
.no-js .sheet-grip,
.no-js .secondary-button,
.no-js .catalog-tools {
    display: none;
}

/* ========================================================================== */
/* КарманЗайм 1.3: большой жест открытия, второй ползунок и компактные детали */
/* ========================================================================== */
.loan-control-group { min-width: 0; }
.loan-control-divider {
    height: 1px;
    margin: 14px 0 12px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.20) 12%, rgba(255,255,255,.20) 88%, transparent);
}
.amount-control__head--term strong { font-size: clamp(25px, 4.4vw, 35px); }

.catalog-heading__term {
    margin: 4px 0 0;
    color: #74809a;
    font-size: 12px;
    line-height: 1.2;
}
.catalog-heading__term strong { color: #384767; font-weight: 850; }
.catalog-tools { display: grid; grid-template-columns: minmax(0, 1fr); }
.search-field { width: 100%; flex: none; }

/* В свернутом виде вся верхняя светлая часть, а не одна крошечная полоска,
   является зоной нажатия и вертикального жеста. */
.catalog-sheet:not(.is-expanded) .catalog-sheet__chrome {
    cursor: ns-resize;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
}
.catalog-sheet:not(.is-expanded) .catalog-sheet__chrome:active { cursor: grabbing; }
.catalog-sheet.is-expanded .catalog-sheet__chrome {
    cursor: default;
    touch-action: auto;
    user-select: auto;
    -webkit-user-select: auto;
}

.offer-card__provider-only {
    display: grid;
    gap: 3px;
    min-height: 58px;
    align-content: center;
    margin-top: 10px;
    padding: 10px 11px;
    border: 1px solid #e1e7f1;
    border-radius: 13px;
    background: #f7f9fd;
    color: #667085;
    font-size: 9.5px;
    line-height: 1.35;
}
.offer-card__provider-only span { color: #7a8497; }
.offer-card__provider-only strong { color: #34415a; font-size: 10px; font-weight: 850; }

/* Семь преимуществ должны быть обзором, а не романом в четырёх томах. */
.offer-details__advantages ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px 9px;
}
.offer-details__advantages li {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 8px 8px 8px 31px;
    border-radius: 11px;
    background: #f4f7fc;
    font-size: 11px;
    line-height: 1.25;
}
.offer-details__advantages li::before {
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 720px) {
    :root { --sheet-collapsed: 170px; }

    .hero {
        padding-top: calc(78px + var(--safe-top));
        padding-bottom: calc(var(--sheet-collapsed) + 20px);
    }
    .hero h1 {
        margin-top: 14px;
        margin-bottom: 11px;
        font-size: clamp(39px, 12.2vw, 56px);
    }
    .hero__lead { font-size: 13px; line-height: 1.42; }
    .amount-control {
        margin-top: 14px;
        padding: 12px 14px 11px;
    }
    .amount-control__head strong { font-size: 27px; }
    .amount-control__head--term strong { font-size: 24px; }
    .amount-control__label { font-size: 10px; }
    .loan-control-divider { margin: 8px 0 7px; }
    .amount-range { height: 22px; margin-top: 6px; }
    .amount-control__scale { font-size: 9px; }
    .trust-row { margin-top: 9px; }
    .primary-hero-button { min-height: 45px; margin-top: 10px; }
    .hero__microcopy { margin-top: 7px; }

    .catalog-sheet__chrome { padding-bottom: 10px; }
    .catalog-heading h2 { font-size: 21px; }
    .catalog-heading__term { margin-top: 2px; font-size: 10px; }
    .catalog-tools { margin-top: 7px; }
    .search-field { height: 38px; }

    .offer-card__provider-only {
        min-height: 52px;
        padding: 8px 10px;
        font-size: 9px;
    }
    .offer-card__provider-only strong { font-size: 9.5px; }

    .offer-details__surface {
        padding: 16px 14px calc(13px + var(--safe-bottom));
    }
    .offer-details__brand {
        grid-template-columns: 74px minmax(0,1fr);
        gap: 9px;
        padding-right: 34px;
    }
    .offer-details__logo-wrap { width: 74px; height: 55px; padding: 7px; }
    .offer-details__brand h2 { font-size: 21px; }
    .offer-details__domain { font-size: 9px; }
    .offer-details__provider { font-size: 8.5px; }
    .offer-details__promo { margin-top: 9px; padding: 8px 10px; font-size: 12px; }
    .offer-details__psk { margin-top: 7px; padding: 7px 9px; font-size: 10.5px; }
    .offer-details__stats { gap: 6px; margin-top: 7px; }
    .offer-details__stats div { padding: 7px 8px; border-radius: 11px; }
    .offer-details__stats dt { font-size: 7.5px; }
    .offer-details__stats dd { margin-top: 2px; font-size: 10.5px; }
    .offer-details__advantages { margin-top: 9px; }
    .offer-details__advantages h3 { margin-bottom: 6px; font-size: 12px; }
    .offer-details__advantages ul { gap: 5px 6px; }
    .offer-details__advantages li {
        min-height: 34px;
        padding: 6px 6px 6px 26px;
        border-radius: 9px;
        font-size: 9.2px;
        line-height: 1.18;
    }
    .offer-details__advantages li::before {
        left: 6px;
        width: 15px;
        height: 15px;
        border-radius: 5px;
        font-size: 8px;
    }
    .offer-details__note { margin-top: 7px; padding: 7px 9px; font-size: 8.8px; line-height: 1.3; }
    .money-button--dialog { min-height: 43px; margin-top: 8px; }
    .offer-details__risk { min-height: 48px; margin-top: 7px; padding: 7px 9px; font-size: 9px; }
    .offer-details__disclaimer { margin-top: 5px; font-size: 7.5px; }
}

@media (max-height: 720px) and (max-width: 720px) {
    :root { --sheet-collapsed: 158px; }
    .hero { padding-top: calc(70px + var(--safe-top)); }
    .hero__eyebrow { display: none; }
    .hero h1 { margin-top: 0; font-size: clamp(34px, 10.8vw, 47px); }
    .hero__lead { font-size: 11px; line-height: 1.35; }
    .amount-control { margin-top: 10px; padding-top: 10px; padding-bottom: 9px; }
    .amount-control__head strong { font-size: 23px; }
    .amount-control__head--term strong { font-size: 21px; }
    .amount-range { margin-top: 4px; }
    .primary-hero-button, .hero__microcopy { display: none; }
}
