: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; }
}

/* ========================================================================== */
/* КарманЗайм 1.4: светлый банковский интерфейс и полноценная версия для ПК   */
/* ========================================================================== */
:root {
    color-scheme: light;
    --bg: #f3f6f7;
    --bg-deep: #eaf0f1;
    --surface: rgba(255,255,255,.78);
    --surface-strong: #ffffff;
    --ink: #10212d;
    --muted: #667780;
    --navy: #10212d;
    --line: rgba(16,33,45,.09);
    --blue: #196b68;
    --cyan: #4ab6ad;
    --violet: #6b78d1;
    --green: #0f8a70;
    --shadow-xl: 0 26px 80px rgba(34,67,75,.12);
    --shadow-card: 0 14px 42px rgba(34,67,75,.08);
}

html { background: var(--bg); }
body {
    background: var(--bg);
    color: var(--ink);
}
::selection { background: rgba(46,157,143,.20); color: #10212d; }

.site-shell {
    background:
        radial-gradient(circle at 12% 4%, rgba(89,205,190,.16), transparent 31%),
        radial-gradient(circle at 88% 8%, rgba(121,153,225,.14), transparent 30%),
        linear-gradient(180deg, #f9fcfc 0%, #f3f7f7 54%, #edf2f3 100%);
}
.ambient__orb { filter: blur(28px); opacity: .44; }
.ambient__orb--one { background: radial-gradient(circle, rgba(73,196,181,.32), transparent 68%); }
.ambient__orb--two { background: radial-gradient(circle, rgba(105,135,216,.25), transparent 68%); }
.ambient__orb--three { background: radial-gradient(circle, rgba(110,210,167,.22), transparent 68%); }
.ambient__grid {
    opacity: .18;
    background-image:
        linear-gradient(rgba(24,73,78,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24,73,78,.045) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 76%);
}

.brand { color: #132630; }
.brand__mark {
    background: linear-gradient(145deg, #40bca8, #167d73 62%, #155d6a);
    border-color: rgba(255,255,255,.72);
    box-shadow: 0 10px 28px rgba(19,124,112,.20), inset 0 1px 0 rgba(255,255,255,.62);
}
.brand__text small { color: #77868d; }
.topbar__link,
.icon-button {
    border-color: rgba(24,61,67,.10);
    background: rgba(255,255,255,.74);
    color: #29424a;
    box-shadow: 0 8px 24px rgba(34,67,75,.06), inset 0 1px 0 rgba(255,255,255,.9);
}
.topbar__link:hover,
.icon-button:hover {
    background: #fff;
    border-color: rgba(24,61,67,.18);
}

.hero__eyebrow {
    border-color: rgba(26,85,86,.10);
    background: rgba(255,255,255,.74);
    color: #496168;
    box-shadow: 0 8px 24px rgba(34,67,75,.05);
}
.status-dot {
    background: #2ab28c;
    box-shadow: 0 0 0 5px rgba(42,178,140,.10), 0 0 16px rgba(42,178,140,.35);
}
.hero h1 { color: #112631; }
.hero h1 span {
    background: linear-gradient(90deg, #167f73 0%, #277f9b 50%, #5968bd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: none;
}
.hero__lead { color: #5f7179; }
.city strong { color: #17323a; }

.amount-control {
    border-color: rgba(24,61,67,.09);
    background: rgba(255,255,255,.88);
    box-shadow: 0 20px 60px rgba(34,67,75,.10), inset 0 1px 0 #fff;
}
.amount-control__label { color: #73838a; }
.amount-control__head strong { color: #142a34; }
.amount-control__hint { color: #7b8a90; }
.loan-control-divider {
    background: linear-gradient(90deg, transparent, rgba(32,76,80,.11) 12%, rgba(32,76,80,.11) 88%, transparent);
}
.amount-range::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, #2aa896 var(--range-progress, 29%), #dfe8e8 var(--range-progress, 29%));
}
.amount-range::-moz-range-track { background: #dfe8e8; }
.amount-range::-moz-range-progress { background: #2aa896; }
.amount-range::-webkit-slider-thumb,
.amount-range::-moz-range-thumb {
    background: #177f74;
    box-shadow: 0 4px 16px rgba(23,127,116,.26);
}
.amount-control__scale { color: #89979c; }

.trust-pill {
    border-color: rgba(24,61,67,.08);
    background: rgba(255,255,255,.72);
    box-shadow: 0 7px 22px rgba(34,67,75,.04);
}
.trust-pill strong { color: #18333a; }
.trust-pill span { color: #7c8a90; }
.primary-hero-button {
    border-color: #153f48;
    background: #153f48;
    color: #fff;
    box-shadow: 0 14px 34px rgba(21,63,72,.17);
}
.primary-hero-button:hover {
    background: #0e343c;
    box-shadow: 0 18px 42px rgba(21,63,72,.22);
}
.hero__microcopy { color: #829096; }

.catalog-sheet {
    border-color: rgba(24,61,67,.10);
    background: rgba(250,252,252,.96);
    color: #142830;
    box-shadow: 0 -20px 70px rgba(38,67,73,.15), inset 0 1px 0 #fff;
}
.catalog-sheet.is-expanded { background: rgba(248,251,251,.99); }
.sheet-grip span { background: rgba(35,70,74,.20); }
.sheet-grip:hover span { background: rgba(35,70,74,.36); }
.catalog-sheet__chrome { border-bottom-color: rgba(23,54,60,.08); }
.catalog-heading__kicker,
.section-kicker { color: #6f7f86; }
.catalog-heading h2 { color: #142830; }
.catalog-heading h2 span { color: #188477; }
.catalog-heading__term { color: #7c8a90; }
.catalog-heading__term strong { color: #38535a; }
.result-count { background: #e8f5f2; }
.result-count strong { color: #14786e; }
.result-count span { color: #74878a; }
.search-field {
    border-color: #dce5e5;
    background: rgba(255,255,255,.94);
    color: #687b80;
}
.search-field:focus-within {
    border-color: #65b7ad;
    box-shadow: 0 0 0 4px rgba(42,168,150,.10);
}
.finance-warning { color: #718087; }
.catalog-scroll::-webkit-scrollbar-thumb { background: #cbd8d8; }

.offer-card {
    border-color: rgba(24,61,67,.09);
    border-radius: 29px;
    background: #fff;
    box-shadow: 0 13px 38px rgba(35,68,73,.065);
}
.offer-card::after { display: none; }
.offer-card:hover {
    border-color: rgba(24,125,114,.22);
    box-shadow: 0 19px 46px rgba(35,68,73,.10);
}
.offer-badge { background: #f1f5f5; color: #66797e; }
.offer-logo-wrap {
    border-color: #e7eded;
    background: #fff;
}
.offer-logo-wrap.is-fallback::before { background: linear-gradient(135deg,#2da895,#246d79); }
.offer-card__name h3 { color: #142830; }
.offer-card__name span { color: #849196; }
.promo-chip {
    border-color: rgba(15,138,112,.14);
    background: #e9faf5;
    color: #087b63;
}
.offer-card__psk {
    border-color: #e3eaea;
    background: #f7f9f9;
    color: #2a4249;
}
.offer-stats > div { background: #f4f7f7; }
.offer-stats dt { color: #87959a; }
.offer-stats dd { color: #173039; }
.secondary-button {
    border-color: #dce5e5;
    background: #fff;
    color: #617279;
}
.secondary-button:hover { background: #f4f7f7; color: #213b43; }
.money-button {
    background: #153f48;
    box-shadow: 0 10px 24px rgba(21,63,72,.14);
}
.money-button:hover { background: #0e343c; box-shadow: 0 14px 30px rgba(21,63,72,.20); }
.offer-card__risk,
.offer-details__risk {
    border-color: #e8e3d8;
    background: #faf8f3;
    color: #6c6250;
}
.offer-card__risk a,
.offer-details__risk a { color: #554b3a; }
.offer-card__provider-only {
    border-color: #e3eaea;
    background: #f6f9f9;
}
.offer-card__provider-only strong { color: #314a51; }

.editorial {
    border-color: #e1e8e8;
    background: #fff;
    box-shadow: 0 14px 42px rgba(35,68,73,.06);
}
.editorial__header h2,
.faq__heading h2,
.editorial-card h3,
.empty-state h3 { color: #142830; }
.editorial__header p,
.editorial-card p { color: #687a80; }
.editorial-card { border-color: #e6ecec; background: #fafcfc; }
.editorial-card__number { background: #e8f5f2; color: #14786e; }
.editorial__checklist { background: #173f47; }
.editorial__checklist .section-kicker { color: #9fe0d4; }
.editorial__checklist li span { background: rgba(255,255,255,.11); color: #a5eee0; }
.faq-item { border-color: #e1e8e8; }
.faq-item summary { color: #173039; }
.site-footer { border-top-color: #dce5e5; }
.site-footer__brand strong { color: #173039; }
.site-footer__links button,
.site-footer__links a { color: #52686f; }
.site-footer__links button:hover,
.site-footer__links a:hover { color: #14786e; }

.offer-details__surface,
.legal-dialog__surface {
    border-color: rgba(255,255,255,.9);
    background: rgba(252,254,254,.985);
    color: #173039;
    box-shadow: 0 30px 90px rgba(23,48,57,.26), inset 0 1px 0 #fff;
}
.offer-details::backdrop,
.legal-dialog::backdrop { background: rgba(17,38,45,.48); }
.dialog-close { border-color: #e1e9e9; color: #61767c; }
.offer-details__logo-wrap { border-color: #e5ecec; }
.offer-details__promo { border-color: #caece3; background: #ebfaf6; color: #087b63; }
.offer-details__psk { border-color: #e1e9e9; background: #f6f9f9; color: #2a4249; }
.offer-details__stats div,
.offer-details__advantages li { background: #f3f7f7; }
.offer-details__advantages li::before { background: #dcf1ed; color: #14786e; }
.legal-dialog__accept { background: #153f48; }

.consent {
    border-color: rgba(255,255,255,.75);
    background: rgba(21,63,72,.96);
    box-shadow: 0 22px 70px rgba(19,49,56,.24);
}

/* На обычном компьютере это полноценная прокручиваемая страница. Мобильный
   bottom-sheet остаётся только там, где он действительно удобен. */
@media (min-width: 961px) {
    html,
    body {
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        background: #f2f6f6;
    }

    .site-shell {
        min-height: auto;
        overflow: visible;
        padding-bottom: 72px;
    }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 80;
        min-height: 76px;
        padding: 14px max(32px, calc((100vw - 1280px) / 2));
        border-bottom: 1px solid rgba(24,61,67,.07);
        background: rgba(249,252,252,.82);
        box-shadow: 0 8px 28px rgba(35,68,73,.035);
        backdrop-filter: blur(22px) saturate(150%);
        -webkit-backdrop-filter: blur(22px) saturate(150%);
    }

    .brand__mark { width: 46px; height: 46px; border-radius: 16px; }
    .brand__text strong { font-size: 18px; }
    .brand__text small { font-size: 11px; }

    .hero {
        width: min(1280px, calc(100% - 64px));
        min-height: clamp(620px, 76vh, 780px);
        padding: 72px 0 88px;
        display: grid;
        grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
        grid-template-areas:
            "eyebrow calculator"
            "title calculator"
            "lead calculator"
            "trust calculator"
            "button calculator"
            "micro calculator";
        align-content: center;
        align-items: center;
        column-gap: clamp(54px, 6vw, 96px);
        row-gap: 0;
    }
    .site-shell:has(.catalog-sheet.is-expanded) .hero,
    .site-shell.sheet-open .hero {
        transform: none;
        filter: none;
        opacity: 1;
    }
    .hero__eyebrow { grid-area: eyebrow; justify-self: start; }
    .hero h1 {
        grid-area: title;
        max-width: 760px;
        margin: 24px 0 22px;
        font-size: clamp(60px, 6.2vw, 94px);
        line-height: .96;
        letter-spacing: -.064em;
    }
    .hero__lead {
        grid-area: lead;
        max-width: 700px;
        font-size: clamp(17px, 1.45vw, 20px);
    }
    .amount-control {
        grid-area: calculator;
        width: 100%;
        max-width: 520px;
        justify-self: end;
        margin: 0;
        padding: 28px 30px 25px;
        border-radius: 32px;
    }
    .amount-control__head strong { font-size: 39px; }
    .amount-control__head--term strong { font-size: 33px; }
    .loan-control-divider { margin: 20px 0 18px; }
    .amount-range { height: 34px; margin-top: 16px; }
    .trust-row { grid-area: trust; margin-top: 24px; }
    .primary-hero-button { grid-area: button; width: fit-content; margin-top: 25px; }
    .hero__microcopy { grid-area: micro; }

    .catalog-sheet {
        position: relative;
        z-index: 10;
        left: auto;
        right: auto;
        bottom: auto;
        width: min(1440px, calc(100% - 48px));
        height: auto !important;
        margin: 0 auto;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        transition: none;
        scroll-margin-top: 92px;
    }
    .catalog-sheet.is-expanded {
        height: auto !important;
        border-radius: 0;
        background: transparent;
    }
    .sheet-grip { display: none; }
    .catalog-sheet__chrome {
        position: sticky;
        top: 88px;
        z-index: 18;
        margin: 0 0 20px;
        padding: 24px 28px;
        border: 1px solid rgba(24,61,67,.08);
        border-radius: 32px;
        background: rgba(255,255,255,.91);
        box-shadow: 0 16px 44px rgba(35,68,73,.08);
        backdrop-filter: blur(22px) saturate(145%);
        -webkit-backdrop-filter: blur(22px) saturate(145%);
        cursor: default !important;
        touch-action: auto !important;
        user-select: auto !important;
    }
    .catalog-heading h2 { font-size: clamp(30px, 3vw, 42px); }
    .catalog-heading__term { font-size: 13px; }
    .result-count { min-width: 82px; padding: 10px 14px; border-radius: 18px; }
    .result-count strong { font-size: 23px; }
    .catalog-tools { max-width: 620px; margin-top: 15px; }
    .search-field { height: 48px; border-radius: 17px; }
    .finance-warning { margin-top: 12px; }

    .catalog-scroll {
        min-height: 0;
        height: auto;
        max-height: none;
        overflow: visible;
        overscroll-behavior: auto;
        scroll-behavior: smooth;
        scrollbar-gutter: auto;
        padding: 0 0 40px;
    }
    .offer-grid {
        width: 100%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }
    .offer-card {
        padding: 22px;
        border-radius: 31px;
    }
    .offer-card__identity {
        grid-template-columns: 82px minmax(0,1fr);
        gap: 12px 15px;
        margin-top: 14px;
    }
    .offer-logo-wrap { width: 82px; height: 66px; border-radius: 20px; }
    .offer-card__name h3 { font-size: 21px; }
    .offer-card__psk { margin-top: 15px; padding: 11px 13px; }
    .offer-stats { gap: 10px; margin-top: 10px; }
    .offer-stats > div { padding: 12px 13px; border-radius: 16px; }
    .offer-card__actions { gap: 10px; padding-top: 18px; }
    .secondary-button { min-height: 42px; }
    .money-button { min-height: 48px; }

    .editorial,
    .faq,
    .site-footer { width: min(1180px, 100%); scroll-margin-top: 116px; }
    .editorial { margin-top: 46px; border-radius: 36px; }
    .faq { margin-top: 42px; }
    .site-footer { margin-top: 46px; }

    .offer-details[open],
    .legal-dialog[open] { align-items: center; }
    .offer-details__surface,
    .legal-dialog__surface {
        margin-bottom: 0;
        border-radius: 32px;
    }
}

@media (min-width: 961px) and (max-width: 1180px) {
    .hero {
        width: min(1040px, calc(100% - 48px));
        grid-template-columns: minmax(0,1fr) minmax(370px,.84fr);
        column-gap: 42px;
    }
    .hero h1 { font-size: clamp(54px, 6vw, 76px); }
    .amount-control { max-width: 450px; }
    .offer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Планшет и телефон: лёгкая версия банковского интерфейса сохраняет выезжающий
   каталог и большую область нажатия, которую просили отдельно. */
@media (max-width: 960px) {
    .topbar { padding-top: calc(14px + var(--safe-top)); }
    .hero { justify-content: center; }
    .catalog-sheet:not(.is-expanded) .catalog-sheet__chrome {
        cursor: pointer;
    }
}

@media (max-width: 720px) {
    .site-shell {
        background:
            radial-gradient(circle at 10% 4%, rgba(89,205,190,.17), transparent 34%),
            radial-gradient(circle at 94% 9%, rgba(121,153,225,.14), transparent 31%),
            linear-gradient(180deg, #f9fcfc 0%, #f2f6f6 100%);
    }
    .topbar { padding-left: 15px; padding-right: 15px; }
    .icon-button { background: rgba(255,255,255,.82); }
    .hero {
        width: calc(100% - 30px);
        padding-top: calc(82px + var(--safe-top));
    }
    .hero h1 {
        color: #112631;
        font-size: clamp(38px, 11.7vw, 52px);
    }
    .hero__lead { color: #60737a; }
    .amount-control { border-radius: 24px; }
    .trust-pill { background: rgba(255,255,255,.78); }
    .primary-hero-button { border-radius: 16px; }
    .catalog-sheet {
        border-color: rgba(24,61,67,.08);
        background: rgba(252,254,254,.985);
        box-shadow: 0 -18px 60px rgba(35,68,73,.14), inset 0 1px 0 #fff;
    }
    .catalog-sheet__chrome { border-bottom-color: rgba(24,61,67,.07); }
    .offer-card {
        padding: 16px;
        border-radius: 25px;
        box-shadow: 0 10px 30px rgba(35,68,73,.055);
    }
    .offer-card__topline { min-height: 20px; }
    .offer-badge { padding: 4px 8px; font-size: 9px; }
    .offer-card__actions { grid-template-columns: auto minmax(0,1fr); }
    .secondary-button { border-radius: 13px; }
    .money-button { border-radius: 14px; }
}

/* ========================================================================== */
/* КарманЗайм 1.4: полноценная настольная версия с обычной прокруткой страницы */
/* ========================================================================== */
@media (min-width: 760px) and (hover: hover) and (pointer: fine) {
    :root {
        color-scheme: light;
        --desktop-page: #f2f5f9;
        --desktop-panel: rgba(255, 255, 255, .88);
        --desktop-line: rgba(20, 36, 67, .09);
        --desktop-shadow: 0 24px 70px rgba(35, 55, 92, .10);
    }

    html {
        background: var(--desktop-page);
        scroll-padding-top: 112px;
    }

    body {
        min-height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        background: var(--desktop-page);
        color: #172033;
    }

    .site-shell {
        min-height: auto;
        overflow: visible;
        padding-bottom: 36px;
        background:
            radial-gradient(circle at 8% 4%, rgba(70, 196, 255, .18), transparent 25%),
            radial-gradient(circle at 92% 6%, rgba(128, 103, 255, .14), transparent 25%),
            linear-gradient(180deg, #f8fbff 0%, #f2f6fb 48%, #edf2f7 100%);
    }

    .ambient {
        position: fixed;
        opacity: .55;
    }

    .ambient__orb {
        filter: blur(32px);
        opacity: .34;
    }

    .ambient__grid {
        opacity: .15;
        background-image:
            linear-gradient(rgba(27, 51, 91, .045) 1px, transparent 1px),
            linear-gradient(90deg, rgba(27, 51, 91, .045) 1px, transparent 1px);
        mask-image: linear-gradient(to bottom, #000 0%, transparent 58%);
    }

    .topbar {
        position: sticky;
        top: 12px;
        left: auto;
        right: auto;
        width: min(1380px, calc(100% - 32px));
        margin: 12px auto 0;
        padding: 12px 14px;
        border: 1px solid rgba(255, 255, 255, .82);
        border-radius: 22px;
        background: rgba(255, 255, 255, .80);
        color: #172033;
        box-shadow: 0 14px 42px rgba(36, 56, 94, .09), inset 0 1px 0 #fff;
        backdrop-filter: blur(24px) saturate(135%);
        -webkit-backdrop-filter: blur(24px) saturate(135%);
    }

    .brand { color: #172033; }
    .brand__text strong { color: #172033; }
    .brand__text small { color: #748096; }
    .brand__mark {
        box-shadow: 0 10px 28px rgba(85, 110, 226, .23), inset 0 1px 0 rgba(255,255,255,.72);
    }

    .topbar__link,
    .icon-button {
        border-color: #e3e8f0;
        background: rgba(247, 249, 252, .92);
        color: #38445b;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .topbar__link:hover,
    .icon-button:hover {
        background: #fff;
        border-color: #cfd7e4;
        color: #18233b;
        box-shadow: 0 8px 20px rgba(39, 58, 91, .08);
    }

    .hero {
        width: min(1320px, calc(100% - 48px));
        min-height: 690px;
        margin: 0 auto;
        padding: 84px 12px 104px;
        display: grid;
        grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
        grid-template-areas:
            "eyebrow calculator"
            "title calculator"
            "lead calculator"
            "button trust"
            "micro trust";
        grid-template-rows: auto auto auto auto 1fr;
        column-gap: clamp(48px, 6vw, 96px);
        row-gap: 0;
        align-content: center;
        align-items: start;
        color: #172033;
        transition: none;
    }

    .site-shell:has(.catalog-sheet.is-expanded) .hero,
    .site-shell.sheet-open .hero {
        transform: none;
        filter: none;
        opacity: 1;
    }

    .hero__eyebrow {
        grid-area: eyebrow;
        width: fit-content;
        border-color: #e0e6ef;
        background: rgba(255, 255, 255, .78);
        color: #526078;
        box-shadow: 0 8px 24px rgba(39, 57, 91, .05);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .status-dot {
        background: #26b486;
        box-shadow: 0 0 0 5px rgba(38, 180, 134, .10), 0 0 16px rgba(38, 180, 134, .34);
    }

    .hero h1 {
        grid-area: title;
        max-width: 720px;
        margin: 24px 0 18px;
        color: #10192c;
        font-size: clamp(58px, 6.1vw, 90px);
        line-height: .95;
        letter-spacing: -.065em;
    }

    .hero h1 span {
        background: linear-gradient(90deg, #226fdd 0%, #5b67e8 48%, #8c4fd5 100%);
        -webkit-background-clip: text;
        background-clip: text;
        filter: none;
    }

    .hero__lead {
        grid-area: lead;
        max-width: 680px;
        color: #5f6d83;
        font-size: clamp(16px, 1.45vw, 20px);
        line-height: 1.58;
    }

    .city strong { color: #172033; }

    .amount-control {
        grid-area: calculator;
        align-self: center;
        width: 100%;
        margin: 0;
        padding: 28px;
        border: 1px solid rgba(255, 255, 255, .92);
        border-radius: 32px;
        background:
            radial-gradient(circle at 100% 0%, rgba(116, 129, 255, .09), transparent 34%),
            rgba(255, 255, 255, .92);
        color: #172033;
        box-shadow: var(--desktop-shadow), inset 0 1px 0 #fff;
        backdrop-filter: blur(22px) saturate(120%);
        -webkit-backdrop-filter: blur(22px) saturate(120%);
    }

    .amount-control__label { color: #7a869a; }
    .amount-control__head strong { color: #172033; }
    .amount-control__hint { color: #8b96a8; }
    .amount-control__scale { color: #8a96aa; }
    .loan-control-divider {
        margin: 22px 0 20px;
        background: linear-gradient(90deg, transparent, rgba(30, 48, 82, .12) 12%, rgba(30, 48, 82, .12) 88%, transparent);
    }

    .amount-range::-webkit-slider-runnable-track {
        background: linear-gradient(90deg, #5577ee var(--range-progress, 29%), #e5eaf1 var(--range-progress, 29%));
    }
    .amount-range::-moz-range-track { background: #e5eaf1; }
    .amount-range::-moz-range-progress { background: #5577ee; }

    .trust-row {
        grid-area: trust;
        align-self: start;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        margin: 18px 0 0;
        gap: 10px;
    }

    .trust-pill {
        min-width: 0;
        padding: 13px 14px;
        border-color: #e2e7ef;
        border-radius: 18px;
        background: rgba(255, 255, 255, .78);
        box-shadow: 0 8px 22px rgba(35, 55, 88, .04);
    }
    .trust-pill strong { color: #172033; }
    .trust-pill span { color: #78859a; }

    .primary-hero-button {
        grid-area: button;
        justify-self: start;
        margin-top: 24px;
        min-height: 54px;
        padding: 0 24px;
        border: 0;
        border-radius: 18px;
        background: #1b2b55;
        color: #fff;
        box-shadow: 0 14px 30px rgba(27, 43, 85, .20);
    }
    .primary-hero-button:hover {
        transform: translateY(-2px);
        background: #243765;
        box-shadow: 0 18px 36px rgba(27, 43, 85, .24);
    }

    .hero__microcopy {
        grid-area: micro;
        color: #8a96a8;
    }

    .catalog-sheet,
    .catalog-sheet.is-expanded {
        position: relative;
        z-index: 10;
        left: auto;
        right: auto;
        bottom: auto;
        width: min(1440px, calc(100% - 32px));
        height: auto !important;
        min-height: 0;
        margin: 0 auto 52px;
        overflow: visible;
        border: 1px solid rgba(255, 255, 255, .92);
        border-radius: 34px;
        background: rgba(247, 249, 252, .94);
        box-shadow: 0 30px 90px rgba(29, 48, 82, .12), inset 0 1px 0 #fff;
        backdrop-filter: blur(20px) saturate(115%);
        -webkit-backdrop-filter: blur(20px) saturate(115%);
        transform: none;
        transition: none;
        scroll-margin-top: 104px;
    }

    .sheet-grip { display: none; }

    .catalog-sheet__chrome,
    .catalog-sheet:not(.is-expanded) .catalog-sheet__chrome,
    .catalog-sheet.is-expanded .catalog-sheet__chrome {
        position: sticky;
        z-index: 12;
        top: 92px;
        padding: 24px 28px 18px;
        border-bottom: 1px solid #e2e7ef;
        border-radius: 34px 34px 0 0;
        background: rgba(249, 251, 254, .94);
        cursor: default;
        touch-action: auto;
        user-select: auto;
        -webkit-user-select: auto;
        box-shadow: 0 12px 24px rgba(35, 53, 85, .035);
        backdrop-filter: blur(22px) saturate(120%);
        -webkit-backdrop-filter: blur(22px) saturate(120%);
    }

    .catalog-heading h2 { font-size: clamp(30px, 3vw, 42px); }
    .catalog-heading__term { font-size: 13px; }
    .catalog-tools { margin-top: 16px; }
    .search-field {
        height: 50px;
        border-color: #dce3ed;
        border-radius: 17px;
        background: #fff;
    }
    .search-field input { font-size: 15px; }
    .result-count {
        min-width: 82px;
        padding: 12px 14px;
        border-radius: 19px;
        background: #edf0ff;
    }
    .result-count strong { font-size: 23px; }

    .finance-warning { display: flex; }

    .catalog-scroll {
        flex: none;
        min-height: auto;
        max-height: none;
        overflow: visible;
        overscroll-behavior: auto;
        scrollbar-gutter: auto;
        padding: 26px 28px 52px;
    }

    .offer-grid {
        width: 100%;
        max-width: none;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .offer-card {
        border-radius: 28px;
        box-shadow: 0 16px 42px rgba(31, 51, 87, .075);
    }
    .offer-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 24px 56px rgba(31, 51, 87, .12);
    }

    .editorial,
    .faq,
    .site-footer {
        scroll-margin-top: 112px;
    }

    .offer-details[open],
    .legal-dialog[open] {
        align-items: center;
    }

    .offer-details__surface,
    .legal-dialog__surface {
        max-height: calc(100dvh - 48px);
        margin-bottom: 0;
    }
}

@media (min-width: 760px) and (max-width: 1080px) and (hover: hover) and (pointer: fine) {
    .hero {
        min-height: auto;
        padding-top: 70px;
        padding-bottom: 76px;
        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "title"
            "lead"
            "calculator"
            "trust"
            "button"
            "micro";
    }

    .hero h1 { max-width: 820px; }
    .amount-control { margin-top: 30px; }
    .trust-row { margin-top: 14px; }
    .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-sheet__chrome { top: 88px; }
}

/* ========================================================================== */
/* КарманЗайм 2.1: правки по обратной связи                                 */
/* ========================================================================== */
button,
a,
input,
summary {
    touch-action: manipulation;
}

body.dialog-open {
    overflow: hidden !important;
}

.hero__lead {
    max-width: 640px;
    margin-top: 2px;
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.58;
}

.topbar__actions {
    gap: 8px;
}

.catalog-sheet__chrome {
    position: relative;
}

/* В свернутом и раскрытом мобильном виде верхняя область листа работает как большая зона жеста. */
@media (max-width: 699px) {
    .catalog-sheet__chrome {
        cursor: pointer;
    }
    .catalog-heading {
        padding-top: 4px;
    }
    .catalog-tools {
        margin-top: 10px;
    }
}

.offer-details__surface {
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
.offer-details__surface::-webkit-scrollbar {
    width: 10px;
}
.offer-details__surface::-webkit-scrollbar-thumb {
    background: #c6d0de;
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}
.offer-details__provider {
    font-size: 12px;
    line-height: 1.45;
    max-width: 100%;
}
.offer-details__advantages h3 {
    font-size: 16px;
}
.offer-details__advantages li {
    font-size: 13px;
    line-height: 1.4;
    min-height: 48px;
}
.offer-details__note[hidden] {
    display: none !important;
}
.offer-details__disclaimer {
    margin-top: 10px;
    font-size: 10px;
}

@media (max-width: 720px) {
    .offer-details__provider {
        font-size: 11px;
        line-height: 1.35;
    }
    .offer-details__advantages h3 {
        font-size: 15px;
    }
    .offer-details__advantages ul {
        grid-template-columns: 1fr;
    }
    .offer-details__advantages li {
        font-size: 12px;
        line-height: 1.35;
        min-height: 44px;
    }
}

/* Надёжная настольная версия с обычной прокруткой страницы, начиная уже с 700px. */
body.desktop-layout {
    overflow-x: hidden;
    overflow-y: auto;
    background: #f4f7fb;
    color: #172033;
}
body.desktop-layout .site-shell {
    min-height: auto;
    overflow: visible;
    padding-bottom: 48px;
    background:
        radial-gradient(circle at 8% 4%, rgba(61, 183, 164, .13), transparent 26%),
        radial-gradient(circle at 92% 7%, rgba(114, 128, 236, .10), transparent 24%),
        linear-gradient(180deg, #fbfcfe 0%, #f4f7fb 100%);
}
body.desktop-layout .ambient {
    position: fixed;
    opacity: .55;
}
body.desktop-layout .topbar {
    position: sticky;
    top: 10px;
    width: min(1380px, calc(100% - 24px));
    margin: 10px auto 0;
    padding: 12px 14px;
    border: 1px solid rgba(255,255,255,.84);
    border-radius: 22px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 12px 34px rgba(36,56,94,.07), inset 0 1px 0 #fff;
    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
}
body.desktop-layout .hero {
    width: min(1320px, calc(100% - 32px));
    min-height: 640px;
    margin: 0 auto;
    padding: 72px 8px 72px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    grid-template-areas:
        "title calculator"
        "lead calculator"
        "trust calculator"
        "button calculator";
    align-items: center;
    align-content: center;
    column-gap: clamp(28px, 5vw, 74px);
}
body.desktop-layout .hero h1 {
    grid-area: title;
    margin: 0 0 16px;
    max-width: 720px;
    font-size: clamp(52px, 6vw, 86px);
    line-height: .96;
}
body.desktop-layout .hero__lead {
    grid-area: lead;
    font-size: clamp(15px, 1.6vw, 19px);
    color: #5f6d83;
}
body.desktop-layout .amount-control {
    grid-area: calculator;
    width: 100%;
    max-width: 500px;
    justify-self: end;
    margin: 0;
    padding: 24px;
    border-radius: 30px;
}
body.desktop-layout .trust-row {
    grid-area: trust;
    margin-top: 20px;
}
body.desktop-layout .primary-hero-button {
    grid-area: button;
    width: fit-content;
    margin-top: 22px;
}
body.desktop-layout .hero__microcopy,
body.desktop-layout .hero__eyebrow {
    display: none !important;
}
body.desktop-layout .catalog-sheet {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(1380px, calc(100% - 24px));
    height: auto !important;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
}
body.desktop-layout .sheet-grip {
    display: none;
}
body.desktop-layout .catalog-sheet__chrome {
    position: sticky;
    top: 94px;
    z-index: 14;
    padding: 22px 24px 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(26,45,78,.08);
    border-radius: 30px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 14px 34px rgba(36,56,94,.07);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}
body.desktop-layout .catalog-tools {
    max-width: 620px;
}
body.desktop-layout .catalog-scroll {
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 0 0 30px;
}
body.desktop-layout .offer-grid {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
body.desktop-layout .offer-card {
    padding: 20px;
    border-radius: 28px;
}
body.desktop-layout .offer-card__identity {
    grid-template-columns: 80px minmax(0,1fr);
}
body.desktop-layout .offer-logo-wrap {
    width: 80px;
    height: 64px;
    border-radius: 18px;
}
body.desktop-layout .editorial,
body.desktop-layout .faq,
body.desktop-layout .site-footer {
    width: min(1180px, 100%);
}
body.desktop-layout .offer-details[open],
body.desktop-layout .legal-dialog[open] {
    align-items: center;
}

@media (min-width: 700px) and (max-width: 1099px) {
    body.desktop-layout .offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.desktop-layout .hero {
        grid-template-columns: minmax(0,1fr) minmax(280px,.92fr);
        min-height: 560px;
    }
    body.desktop-layout .hero h1 {
        font-size: clamp(42px, 5.6vw, 68px);
    }
    body.desktop-layout .amount-control {
        max-width: 400px;
        padding: 20px;
    }
}

@media (min-width: 700px) and (max-width: 860px) {
    body.desktop-layout .hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "lead"
            "calculator"
            "trust"
            "button";
        row-gap: 16px;
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 48px;
    }
    body.desktop-layout .amount-control,
    body.desktop-layout .primary-hero-button {
        justify-self: stretch;
        max-width: none;
        width: 100%;
    }
    body.desktop-layout .trust-row {
        margin-top: 0;
    }
}

/* ========================================================================== */
/* КарманЗайм 2.2: ещё ближе к банковым сайтам                                */
/* ========================================================================== */
.topbar {
    justify-content: flex-start;
}
.topbar__actions {
    display: none !important;
}

/* меньше служебного шума */
.editorial,
.faq,
.finance-warning,
.hero__microcopy,
.offer-details__risk,
.offer-details__disclaimer {
    display: none !important;
}

.catalog-sheet__chrome {
    padding-bottom: 16px;
}

.offer-grid {
    gap: 18px;
}
.offer-card {
    padding: 24px;
    border-radius: 32px;
    border: 1px solid rgba(20,36,67,.07);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    box-shadow: 0 10px 30px rgba(39,58,91,.05);
}
.offer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(39,58,91,.08);
}
.offer-card__topline {
    display: none;
}
.offer-card__identity {
    grid-template-columns: 84px minmax(0,1fr);
    gap: 14px 16px;
    margin-top: 0;
}
.offer-logo-wrap {
    width: 84px;
    height: 68px;
    border-radius: 20px;
    border-color: #e9eef4;
}
.offer-card__name h3 {
    font-size: 22px;
    line-height: 1.08;
    letter-spacing: -.04em;
}
.offer-card__name span {
    margin-top: 6px;
    font-size: 12px;
    color: #7e8a9d;
}
.promo-chip {
    margin-top: 2px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    background: #eef9f5;
    color: #0a7c63;
}
.offer-card__psk {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 800;
}
.offer-stats {
    margin-top: 12px;
    gap: 10px;
}
.offer-stats > div {
    padding: 14px 14px 13px;
    border-radius: 18px;
    background: #f6f8fb;
}
.offer-stats dt {
    font-size: 10px;
}
.offer-stats dd {
    margin-top: 6px;
    font-size: 14px;
}
.offer-card__actions {
    grid-template-columns: minmax(0,1fr) auto;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
}
.secondary-button {
    order: 2;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #4c63d7;
    font-weight: 700;
    text-align: right;
    box-shadow: none;
}
.secondary-button:hover {
    background: transparent;
    color: #334bc8;
}
.money-button {
    order: 1;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 18px;
    background: #153f48;
    box-shadow: 0 10px 24px rgba(21,63,72,.12);
}
.money-button svg {
    opacity: .8;
}
.offer-card__provider-only {
    margin-top: 14px;
    min-height: 64px;
    padding: 14px 15px;
    border-radius: 18px;
    background: #f8fafc;
    border-color: #e8edf3;
    font-size: 10px;
}
.offer-card__provider-only strong {
    font-size: 12px;
}

/* Диалог более чистый и похожий на карточку банка */
.offer-details__surface {
    width: min(680px, calc(100% - 18px));
    padding: 28px;
    border-radius: 34px;
    background: #ffffff;
}
.offer-details__brand {
    grid-template-columns: 108px minmax(0,1fr);
    gap: 18px;
}
.offer-details__logo-wrap {
    width: 108px;
    height: 80px;
    border-radius: 20px;
}
.offer-details__brand h2 {
    font-size: 30px;
}
.offer-details__domain {
    font-size: 13px;
}
.offer-details__provider {
    margin-top: 6px;
    color: #5e6c81;
    font-size: 13px;
}
.offer-details__promo {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-size: 16px;
}
.offer-details__psk {
    margin-top: 12px;
    padding: 13px 15px;
    border-radius: 17px;
    font-size: 14px;
}
.offer-details__stats {
    gap: 10px;
    margin-top: 14px;
}
.offer-details__stats div {
    padding: 12px 13px;
    border-radius: 16px;
}
.offer-details__stats dt {
    font-size: 10px;
}
.offer-details__stats dd {
    font-size: 14px;
    margin-top: 5px;
}
.offer-details__advantages {
    margin-top: 18px;
}
.offer-details__advantages h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.offer-details__advantages ul {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.offer-details__advantages li {
    min-height: 54px;
    padding: 10px 10px 10px 34px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.42;
}
.money-button--dialog {
    min-height: 54px;
    margin-top: 18px;
    border-radius: 18px;
}

.site-footer--minimal {
    width: min(1180px, 100%);
    margin: 34px auto 0;
    padding: 20px 6px 6px;
    border-top: 1px solid #e3e9ef;
}
.site-footer--minimal .site-footer__legal {
    gap: 5px;
    max-width: 820px;
    margin-top: 14px;
}
.site-footer--minimal .site-footer__legal p {
    font-size: 11px;
    line-height: 1.55;
}

@media (max-width: 960px) {
    .offer-card {
        padding: 18px;
        border-radius: 28px;
    }
    .offer-card__identity {
        grid-template-columns: 72px minmax(0,1fr);
        gap: 10px 12px;
    }
    .offer-logo-wrap {
        width: 72px;
        height: 58px;
        border-radius: 18px;
    }
    .offer-card__name h3 {
        font-size: 19px;
    }
    .offer-card__name span {
        font-size: 11px;
    }
    .promo-chip {
        min-height: 30px;
        font-size: 11px;
    }
    .offer-card__psk {
        margin-top: 12px;
        padding: 10px 12px;
        border-radius: 14px;
        font-size: 13px;
    }
    .offer-stats > div {
        padding: 11px 11px 10px;
        border-radius: 15px;
    }
    .offer-card__actions {
        gap: 10px;
        padding-top: 14px;
    }
    .money-button {
        min-height: 48px;
        border-radius: 16px;
        font-size: 13px;
    }
    .secondary-button {
        font-size: 13px;
    }
    .offer-card__provider-only {
        margin-top: 12px;
        min-height: 56px;
        padding: 12px;
        border-radius: 16px;
    }
}

@media (max-width: 720px) {
    .hero {
        padding-top: calc(80px + var(--safe-top));
    }
    .hero h1 {
        font-size: clamp(36px, 11vw, 50px);
    }
    .hero__lead {
        font-size: 14px;
        line-height: 1.5;
    }
    .amount-control {
        padding: 14px;
        border-radius: 24px;
    }
    .catalog-sheet {
        border-radius: 30px 30px 0 0;
    }
    .catalog-sheet__chrome {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 12px;
    }
    .catalog-heading h2 {
        font-size: 20px;
    }
    .result-count {
        min-width: 58px;
    }
    .offer-card__actions {
        grid-template-columns: 1fr auto;
    }
    .offer-details__surface {
        width: calc(100% - 10px);
        padding: 18px 16px calc(16px + var(--safe-bottom));
        border-radius: 28px;
    }
    .offer-details__brand {
        grid-template-columns: 84px minmax(0,1fr);
        gap: 12px;
    }
    .offer-details__logo-wrap {
        width: 84px;
        height: 62px;
        border-radius: 18px;
    }
    .offer-details__brand h2 {
        font-size: 24px;
    }
    .offer-details__domain,
    .offer-details__provider {
        font-size: 12px;
    }
    .offer-details__promo {
        margin-top: 12px;
        padding: 11px 12px;
        border-radius: 14px;
        font-size: 14px;
    }
    .offer-details__psk {
        margin-top: 10px;
        padding: 10px 11px;
        border-radius: 14px;
        font-size: 12px;
    }
    .offer-details__stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 10px;
    }
    .offer-details__stats div {
        padding: 10px;
        border-radius: 14px;
    }
    .offer-details__stats dd {
        font-size: 12px;
    }
    .offer-details__advantages {
        margin-top: 14px;
    }
    .offer-details__advantages h3 {
        font-size: 16px;
    }
    .offer-details__advantages ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .offer-details__advantages li {
        min-height: 46px;
        padding: 8px 9px 8px 31px;
        border-radius: 12px;
        font-size: 12px;
    }
    .money-button--dialog {
        min-height: 48px;
        margin-top: 14px;
        border-radius: 16px;
    }
    .site-footer--minimal .site-footer__legal p {
        font-size: 10px;
    }
}

/* ========================================================================== */
/* КарманЗайм 2.3: ближе к банковым витринам — desktop + mobile                */
/* ========================================================================== */
:root {
    --bank-bg: #f6f8fb;
    --bank-panel: #ffffff;
    --bank-panel-soft: #fbfcfe;
    --bank-line: rgba(17, 24, 39, .07);
    --bank-shadow: 0 18px 54px rgba(28, 42, 74, .07);
    --bank-shadow-soft: 0 8px 28px rgba(28, 42, 74, .045);
    --bank-text: #142033;
    --bank-muted: #64748b;
    --bank-accent: #1f5eff;
    --bank-accent-soft: #eef4ff;
    --bank-success: #0f9f73;
    --bank-success-soft: #ebfbf4;
}

html,
body {
    background: var(--bank-bg);
}

.site-shell {
    background:
        radial-gradient(circle at 8% 0%, rgba(93, 150, 255, .10), transparent 24%),
        radial-gradient(circle at 92% 2%, rgba(17, 201, 173, .08), transparent 22%),
        linear-gradient(180deg, #fbfcff 0%, #f6f8fb 100%);
}

.brand__mark {
    background: linear-gradient(145deg, #4f84ff, #2e67ff 56%, #1448d8);
    box-shadow: 0 12px 28px rgba(31, 94, 255, .20), inset 0 1px 0 rgba(255,255,255,.72);
}

.hero {
    width: min(1360px, calc(100% - 32px));
}

.hero h1 {
    letter-spacing: -.07em;
}
.hero h1 span {
    background: linear-gradient(90deg, #1f5eff 0%, #5275ff 46%, #0ea67a 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
.hero__lead {
    max-width: 620px;
    color: #5f6f87;
}

.amount-control {
    border: 1px solid rgba(255,255,255,.94);
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(250,252,255,.96));
    box-shadow: 0 20px 64px rgba(30, 48, 86, .08), inset 0 1px 0 #fff;
}
.amount-control__head strong {
    color: var(--bank-text);
}
.amount-range::-webkit-slider-thumb,
.amount-range::-moz-range-thumb {
    background: #2b66ff;
    box-shadow: 0 6px 18px rgba(43, 102, 255, .26);
}
.amount-range::-webkit-slider-runnable-track {
    background: linear-gradient(90deg, #2b66ff var(--range-progress, 29%), #e5ebf3 var(--range-progress, 29%));
}
.amount-range::-moz-range-progress { background: #2b66ff; }
.amount-range::-moz-range-track { background: #e5ebf3; }

.primary-hero-button,
.money-button,
.money-button--dialog {
    background: linear-gradient(180deg, #2f68ff 0%, #1f5eff 100%);
    box-shadow: 0 14px 28px rgba(31, 94, 255, .18);
}
.primary-hero-button:hover,
.money-button:hover,
.money-button--dialog:hover {
    background: linear-gradient(180deg, #255df1 0%, #184fdf 100%);
    box-shadow: 0 18px 34px rgba(31, 94, 255, .22);
}

.catalog-sheet__chrome {
    border: 1px solid rgba(20, 32, 51, .06);
    background: rgba(255,255,255,.94);
    box-shadow: var(--bank-shadow-soft);
}
.catalog-heading__kicker,
.catalog-heading__term {
    color: #7a8699;
}
.catalog-heading h2 {
    color: var(--bank-text);
}
.catalog-heading h2 span {
    color: var(--bank-accent);
}
.result-count {
    background: var(--bank-accent-soft);
}
.result-count strong {
    color: var(--bank-accent);
}
.search-field {
    height: 50px;
    border-radius: 18px;
    border-color: #e6ebf2;
    background: #fff;
}
.search-field:focus-within {
    border-color: #b7cbff;
    box-shadow: 0 0 0 4px rgba(31, 94, 255, .08);
}

.offer-grid {
    gap: 22px;
}
.offer-card {
    position: relative;
    border: 1px solid var(--bank-line);
    border-radius: 34px;
    background: linear-gradient(180deg, var(--bank-panel) 0%, var(--bank-panel-soft) 100%);
    box-shadow: var(--bank-shadow-soft);
    overflow: hidden;
}
.offer-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: linear-gradient(90deg, rgba(31, 94, 255, .95), rgba(90, 117, 255, .45));
    opacity: .9;
}
.offer-card:hover {
    border-color: rgba(31, 94, 255, .14);
    box-shadow: var(--bank-shadow);
    transform: translateY(-3px);
}
.offer-card__identity {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 16px 18px;
}
.offer-logo-wrap {
    width: 92px;
    height: 74px;
    border-radius: 22px;
    background: #fff;
    border-color: #e8edf5;
}
.offer-card__name h3 {
    color: var(--bank-text);
    font-size: 23px;
    line-height: 1.06;
}
.offer-card__name span {
    color: var(--bank-muted);
    font-size: 12px;
}
.promo-chip {
    min-height: 36px;
    padding: 0 13px;
    border-radius: 999px;
    background: var(--bank-success-soft);
    color: var(--bank-success);
    border: 1px solid rgba(15, 159, 115, .08);
    font-size: 12px;
}
.offer-card__psk {
    border-radius: 18px;
    border-color: #e9edf4;
    background: #f8fafc;
    color: #22304a;
    font-size: 14px;
}
.offer-stats {
    gap: 12px;
}
.offer-stats > div {
    padding: 15px;
    border-radius: 20px;
    background: #f7f9fc;
}
.offer-stats dt {
    color: #8a95a8;
    font-size: 10px;
}
.offer-stats dd {
    color: #1e293b;
    font-size: 15px;
}
.offer-card__actions {
    grid-template-columns: minmax(0,1fr) auto;
    gap: 16px;
    padding-top: 20px;
}
.money-button {
    min-height: 54px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 800;
}
.secondary-button {
    color: var(--bank-accent);
    font-size: 14px;
    font-weight: 700;
}
.offer-card__provider-only {
    margin-top: 16px;
    min-height: 70px;
    padding: 15px 16px;
    border-radius: 20px;
    border: 1px solid #ebeff5;
    background: #fafbfd;
}
.offer-card__provider-only span {
    color: #8190a6;
    font-size: 10px;
}
.offer-card__provider-only strong {
    margin-top: 3px;
    color: #334155;
    font-size: 12px;
}

.offer-details__surface {
    width: min(720px, calc(100% - 20px));
    border-radius: 36px;
    border: 1px solid rgba(255,255,255,.94);
    background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
    box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
}
.offer-details__logo-wrap {
    background: #fff;
    border-color: #e8edf5;
}
.offer-details__brand h2 {
    color: var(--bank-text);
    font-size: 32px;
}
.offer-details__domain,
.offer-details__provider {
    color: #607086;
}
.offer-details__promo {
    border-radius: 18px;
    background: var(--bank-success-soft);
    color: var(--bank-success);
    border-color: rgba(15, 159, 115, .10);
}
.offer-details__psk {
    border-radius: 18px;
    background: #f8fafc;
    border-color: #e8edf5;
}
.offer-details__stats div {
    border-radius: 18px;
    background: #f7f9fc;
}
.offer-details__advantages li {
    border-radius: 16px;
    background: #f8faff;
}
.offer-details__advantages li::before {
    background: var(--bank-accent-soft);
    color: var(--bank-accent);
}

/* Десктопная витрина: полноценная страница с широким каталогом. */
body.desktop-layout .topbar {
    width: min(1400px, calc(100% - 28px));
    border-radius: 24px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 12px 34px rgba(21, 30, 52, .06), inset 0 1px 0 #fff;
}
body.desktop-layout .hero {
    width: min(1400px, calc(100% - 30px));
    min-height: 690px;
    padding-top: 78px;
    padding-bottom: 78px;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
    column-gap: clamp(34px, 5vw, 86px);
}
body.desktop-layout .catalog-sheet {
    width: min(1400px, calc(100% - 28px));
}
body.desktop-layout .catalog-sheet__chrome {
    top: 92px;
    padding: 24px 26px 20px;
    border-radius: 34px;
}
body.desktop-layout .catalog-tools {
    max-width: 680px;
}
body.desktop-layout .offer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
body.desktop-layout .offer-card {
    padding: 26px;
}
body.desktop-layout .editorial,
body.desktop-layout .faq,
body.desktop-layout .site-footer--minimal {
    width: min(1220px, 100%);
}

/* Планшеты: 2 колонки, но ещё обычная настольная прокрутка. */
@media (min-width: 700px) and (max-width: 1120px) {
    body.desktop-layout .hero {
        grid-template-columns: minmax(0,1fr) minmax(330px,.92fr);
        min-height: 590px;
        padding-top: 56px;
        padding-bottom: 56px;
    }
    body.desktop-layout .offer-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
    .offer-card__identity {
        grid-template-columns: 80px minmax(0,1fr);
    }
    .offer-logo-wrap {
        width: 80px;
        height: 66px;
    }
}

/* Мобильный сценарий: app-like, крупные тач-таргеты, акцент на bottom sheet. */
@media (max-width: 699px) {
    .topbar {
        padding-left: 14px;
        padding-right: 14px;
    }
    .brand__mark {
        width: 42px;
        height: 42px;
        border-radius: 15px;
    }
    .hero {
        width: calc(100% - 24px);
        padding-top: calc(76px + var(--safe-top));
        padding-bottom: calc(var(--sheet-collapsed) + 18px);
    }
    .hero h1 {
        margin-bottom: 12px;
        font-size: clamp(34px, 11.2vw, 48px);
        line-height: .95;
    }
    .hero__lead {
        font-size: 14px;
        line-height: 1.45;
    }
    .amount-control {
        margin-top: 14px;
        padding: 14px;
        border-radius: 26px;
    }
    .amount-control__head strong {
        font-size: 28px;
    }
    .amount-control__head--term strong {
        font-size: 23px;
    }
    .trust-row {
        gap: 8px;
    }
    .trust-pill {
        border-radius: 15px;
    }
    .primary-hero-button {
        min-height: 48px;
        border-radius: 17px;
    }
    .catalog-sheet {
        left: 6px;
        right: 6px;
        border-radius: 32px 32px 0 0;
        box-shadow: 0 -16px 52px rgba(20, 32, 51, .12), inset 0 1px 0 #fff;
    }
    .catalog-sheet.is-expanded {
        border-radius: 32px 32px 0 0;
    }
    .catalog-sheet__chrome {
        padding: 0 14px 14px;
    }
    .sheet-grip span {
        width: 54px;
        height: 5px;
        margin-left: -27px;
        background: rgba(71, 85, 105, .25);
    }
    .catalog-heading {
        gap: 12px;
    }
    .catalog-heading h2 {
        font-size: 22px;
    }
    .result-count {
        min-width: 62px;
        padding: 8px 10px;
        border-radius: 16px;
    }
    .search-field {
        height: 46px;
        border-radius: 16px;
    }
    .catalog-scroll {
        padding: 12px 10px calc(26px + var(--safe-bottom));
    }
    .offer-grid {
        gap: 12px;
    }
    .offer-card {
        padding: 16px;
        border-radius: 28px;
    }
    .offer-card::before {
        height: 5px;
    }
    .offer-card__identity {
        grid-template-columns: 70px minmax(0,1fr);
        gap: 10px 12px;
    }
    .offer-logo-wrap {
        width: 70px;
        height: 56px;
        border-radius: 18px;
    }
    .offer-card__name h3 {
        font-size: 19px;
    }
    .offer-card__name span {
        font-size: 11px;
    }
    .promo-chip {
        min-height: 30px;
        font-size: 11px;
        padding: 0 11px;
    }
    .offer-card__psk {
        margin-top: 12px;
        padding: 10px 11px;
        border-radius: 15px;
        font-size: 12px;
    }
    .offer-stats {
        gap: 8px;
    }
    .offer-stats > div {
        padding: 11px 10px;
        border-radius: 15px;
    }
    .offer-stats dd {
        font-size: 12px;
    }
    .offer-card__actions {
        gap: 10px;
        padding-top: 14px;
    }
    .money-button {
        min-height: 48px;
        padding: 0 18px;
        border-radius: 17px;
        font-size: 13px;
    }
    .secondary-button {
        font-size: 13px;
    }
    .offer-card__provider-only {
        min-height: 58px;
        margin-top: 12px;
        padding: 12px;
        border-radius: 16px;
    }
    .offer-details__surface {
        width: calc(100% - 10px);
        max-height: calc(100dvh - 10px - var(--safe-top));
        padding: 18px 16px calc(16px + var(--safe-bottom));
        border-radius: 30px;
    }
    .offer-details__brand {
        grid-template-columns: 82px minmax(0,1fr);
        gap: 12px;
    }
    .offer-details__logo-wrap {
        width: 82px;
        height: 62px;
        border-radius: 18px;
    }
    .offer-details__brand h2 {
        font-size: 24px;
    }
    .offer-details__domain,
    .offer-details__provider {
        font-size: 12px;
    }
    .offer-details__promo {
        margin-top: 12px;
        padding: 11px 12px;
        border-radius: 15px;
        font-size: 14px;
    }
    .offer-details__psk {
        margin-top: 10px;
        padding: 10px 11px;
        border-radius: 15px;
        font-size: 12px;
    }
    .offer-details__stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 10px;
    }
    .offer-details__stats div {
        padding: 10px;
        border-radius: 14px;
    }
    .offer-details__stats dd {
        font-size: 12px;
    }
    .offer-details__advantages {
        margin-top: 14px;
    }
    .offer-details__advantages h3 {
        font-size: 16px;
    }
    .offer-details__advantages ul {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .offer-details__advantages li {
        min-height: 46px;
        padding: 8px 9px 8px 31px;
        border-radius: 13px;
        font-size: 12px;
        line-height: 1.38;
    }
    .money-button--dialog {
        min-height: 50px;
        margin-top: 14px;
        border-radius: 17px;
    }
}

/* ========================================================================== */
/* КарманЗайм 2.3.2: прокрутка с калькулятора, чистые карточки, без ПСК       */
/* ========================================================================== */
.offer-card__psk,
.offer-details__psk {
    display: none !important;
}

/* Убираем синюю полосу. Карточки разделяются лёгким затемнением и тенью. */
.offer-card::before {
    display: none !important;
    content: none !important;
}
.offer-card {
    border-color: rgba(17, 24, 39, .10) !important;
    background: #fff !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,.95) inset,
        0 12px 32px rgba(15, 23, 42, .09) !important;
}
.offer-card:hover {
    border-color: rgba(17, 24, 39, .14) !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,.95) inset,
        0 17px 40px rgba(15, 23, 42, .12) !important;
}
.offer-grid {
    gap: 20px;
}

/* Вертикальный жест на свободной части калькулятора теперь поднимает каталог. */
@media (max-width: 699px) {
    .hero {
        touch-action: pan-x;
    }

    /* Вертикальный жест по верхней части поднятого каталога опускает его обратно. */
    .catalog-sheet__chrome {
        touch-action: pan-x !important;
    }
    .search-field,
    .search-field * {
        touch-action: manipulation !important;
    }

    .offer-grid {
        gap: 14px;
    }
    .offer-card {
        box-shadow:
            0 1px 0 rgba(255,255,255,.96) inset,
            0 9px 24px rgba(15, 23, 42, .10) !important;
    }
}


/* КарманЗайм 2.3.3: свайп через кнопку «Подробнее» не превращается в тап. */
.secondary-button {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}


/* КарманЗайм 2.3.4: нативная ссылка в окне Подробнее */
.money-button--dialog {
    position: relative;
    z-index: 5;
    pointer-events: auto;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}

/* ========================================================================== */
/* КарманЗайм 2.3.5: статические ссылки в подробностях и нижние разделы       */
/* ========================================================================== */

/* Кастомный слой вместо native <dialog>: Safari и блокировщики больше не
   вмешиваются в обычную статическую ссылку партнёра. */
.offer-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: max(8px, env(safe-area-inset-top)) 8px max(8px, env(safe-area-inset-bottom));
    background: rgba(15, 23, 42, .56);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.offer-modal[hidden] {
    display: none !important;
}
.offer-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.offer-modal .offer-details__surface {
    position: relative;
    width: min(720px, 100%);
    max-height: min(90dvh, 820px);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    pointer-events: auto;
    animation: sheetIn .34s cubic-bezier(.2,.84,.18,1);
}
.offer-modal .money-button--dialog {
    position: relative;
    z-index: 5;
    display: flex;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
}
body.dialog-open {
    overflow: hidden !important;
    touch-action: none;
}
body.dialog-open .offer-modal,
body.dialog-open .offer-modal .offer-details__surface {
    touch-action: pan-y;
}
body.dialog-open .offer-modal .money-button--dialog,
body.dialog-open .offer-modal .dialog-close {
    touch-action: manipulation;
}

/* Возвращённые нижние блоки, но без прежнего информационного комбайна. */
.application-steps,
.faq.faq--restored {
    width: min(1180px, 100%);
    margin: 34px auto 0;
}
.faq.faq--restored {
    display: block !important;
    padding: 0;
}
.section-heading--compact {
    max-width: 760px;
    margin-bottom: 18px;
}
.section-heading--compact > span {
    display: block;
    color: #748197;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.section-heading--compact h2 {
    margin: 7px 0 0;
    color: #142033;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.04;
    letter-spacing: -.055em;
}
.section-heading--compact p {
    margin: 12px 0 0;
    color: #65748a;
    font-size: 15px;
    line-height: 1.65;
}
.application-steps {
    padding: clamp(22px, 4vw, 40px);
    border: 1px solid rgba(20, 32, 51, .07);
    border-radius: 34px;
    background: #fff;
    box-shadow: 0 14px 42px rgba(28, 42, 74, .055);
}
.application-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}
.application-steps__grid li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 18px;
    border: 1px solid #e9edf4;
    border-radius: 22px;
    background: #f8fafc;
}
.application-steps__number {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    height: 34px;
    border-radius: 12px;
    background: #eef4ff;
    color: #1f5eff;
    font-size: 13px;
    font-weight: 900;
}
.application-steps__grid h3 {
    margin: 1px 0 6px;
    color: #1e293b;
    font-size: 15px;
    letter-spacing: -.025em;
}
.application-steps__grid p {
    margin: 0;
    color: #68778c;
    font-size: 12px;
    line-height: 1.55;
}
.faq--restored .faq__list {
    gap: 10px;
}
.faq--restored .faq-item {
    border: 1px solid #e7ecf2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(28, 42, 74, .035);
}
.faq--restored .faq-item summary {
    padding: 20px 22px;
    font-size: 15px;
}
.faq--restored .faq-item p {
    padding: 0 22px 20px;
    font-size: 14px;
    line-height: 1.65;
}
.site-footer--minimal {
    margin-top: 32px;
}

@media (min-width: 700px) {
    .offer-modal {
        align-items: center;
        padding: 20px;
    }
}

@media (max-width: 980px) {
    .application-steps__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 699px) {
    .offer-modal {
        padding: 5px 5px max(5px, env(safe-area-inset-bottom));
    }
    .offer-modal .offer-details__surface {
        width: 100%;
        max-height: calc(100dvh - 10px - env(safe-area-inset-top));
        border-radius: 30px;
    }
    .application-steps,
    .faq.faq--restored {
        margin-top: 24px;
    }
    .application-steps {
        padding: 20px 16px;
        border-radius: 28px;
    }
    .section-heading--compact h2 {
        font-size: 29px;
    }
    .section-heading--compact p {
        font-size: 14px;
    }
    .application-steps__grid {
        grid-template-columns: 1fr;
        gap: 9px;
        margin-top: 18px;
    }
    .application-steps__grid li {
        padding: 15px;
        border-radius: 19px;
    }
    .application-steps__grid h3 {
        font-size: 14px;
    }
    .application-steps__grid p {
        font-size: 12px;
    }
    .faq--restored .faq-item {
        border-radius: 19px;
    }
    .faq--restored .faq-item summary {
        padding: 17px 16px;
        font-size: 14px;
    }
    .faq--restored .faq-item p {
        padding: 0 16px 17px;
        font-size: 13px;
    }
}

/* Нативная GET-форма в окне подробностей. Переход не зависит от JavaScript. */
.detail-go-form {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}
.detail-go-form .money-button--dialog {
    width: 100%;
    min-height: 54px;
    margin-top: 18px;
    padding: 0 22px;
    border: 0;
    border-radius: 18px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    user-select: none;
    -webkit-user-select: none;
}
body.dialog-open {
    overflow: hidden !important;
    touch-action: auto !important;
}
.offer-modal,
.offer-modal .offer-details__surface {
    touch-action: pan-y;
}
.offer-modal .dialog-close,
.offer-modal .detail-go-form,
.offer-modal .money-button--dialog {
    touch-action: manipulation !important;
}

@media (max-width: 699px) {
    .detail-go-form .money-button--dialog {
        min-height: 52px;
        margin-top: 14px;
        border-radius: 17px;
        font-size: 14px;
    }
}
