:root{font-family:Inter,Arial,system-ui,sans-serif;color:#101932;background:#fff;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input{font:inherit}button{cursor:pointer}a{color:inherit}.container{max-width:1230px;margin:0 auto;padding-left:28px;padding-right:28px}
.top{height:92px;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;text-decoration:none;gap:12px;font-size:26px;font-weight:800;letter-spacing:-1.4px;color:#091f57;white-space:nowrap}.brand-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#43a2ff,#0756eb);color:#fff;font-size:31px;transform:rotate(-35deg);box-shadow:0 7px 15px #1760cf24}.brand-light{font-weight:750}.about-link{font-size:15px;text-decoration:none;color:#195de3;font-weight:800}.about-link:hover{text-decoration:underline}
.hero-shell{position:relative;overflow:hidden;background:radial-gradient(ellipse at 80% 35%,#d4e9ff 0%,#eef6ff 27%,transparent 62%),linear-gradient(145deg,#fff 3%,#f5faff 70%,#e9f3ff);border-top:1px solid #f1f5fa;border-bottom:1px solid #e6eef9}.hero-shell:before{content:'';position:absolute;inset:0;pointer-events:none;opacity:.28;background-image:repeating-linear-gradient(135deg,transparent 0 75px,rgba(67,127,218,.10) 76px,transparent 77px),radial-gradient(circle at center,rgba(52,104,171,.17) .65px,transparent .9px);background-size:auto,21px 21px}.hero{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);column-gap:38px;padding-top:67px;padding-bottom:80px}.hero-copy{grid-column:1;grid-row:1;z-index:2}.eyebrow{display:inline-flex;align-items:center;gap:9px;background:#e7f1ff;padding:10px 17px;border-radius:30px;color:#1555b7;font-size:13px;font-weight:800}.dot{height:8px;width:8px;border-radius:50%;background:#2672f5}h1{font-size:clamp(43px,4.35vw,66px);max-width:690px;letter-spacing:-3px;line-height:1.11;margin:23px 0 20px;font-weight:800}h1 span{color:#1257d8}.lead{font-size:18px;line-height:1.63;color:#4b5873;max-width:660px;margin:0}.hero-points{display:flex;flex-wrap:wrap;gap:15px 22px;margin-top:24px;font-size:13px;color:#476184;font-weight:800}.hero-points span:before{content:'✓';color:#1266e7;background:#e2efff;border-radius:50%;width:19px;height:19px;display:inline-grid;place-items:center;margin-right:8px}
.visual{grid-column:2;grid-row:1/span 2;position:relative;min-height:640px;align-self:stretch;z-index:1;pointer-events:none}.visual-circle{position:absolute;top:-25px;right:-42px;width:560px;height:590px;border-radius:45% 55% 50% 50%;background:linear-gradient(130deg,#e6f5ff,#78b6ff 62%,#1f73e8);opacity:.9;filter:blur(1px)}.hero-woman{position:absolute;width:100%;max-width:620px;right:-25px;top:-25px;filter:drop-shadow(0 16px 30px rgba(12,75,152,.08))}.floating-stat{position:absolute;right:5px;bottom:120px;background:#fffffff2;border:1px solid #d5e6fa;border-radius:22px;display:flex;align-items:center;gap:13px;padding:17px 21px;box-shadow:0 16px 44px #174c8935;transform:rotate(-4deg)}.floating-stat-icon{font-size:25px;color:#fff;display:grid;place-items:center;width:45px;height:45px;background:#1866ed;border-radius:14px}.floating-stat b{display:block;font-size:22px;color:#0e3f97}.floating-stat small{display:block;font-size:11px;color:#5f728e;margin-top:4px}.floating-dot{position:absolute;right:12%;top:20px;width:15px;height:15px;background:#fff;border-radius:50%;opacity:.8}
.loan-form{grid-column:1;grid-row:2;z-index:3;margin-top:30px;border:1px solid #dfebfc;background:#fffffff5;border-radius:28px;padding:30px 32px 25px;box-shadow:0 21px 48px #1b4b9227;backdrop-filter:blur(8px)}.form-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px}.form-tag{font-size:13px;font-weight:800;color:#1759ca;background:#eaf3ff;border-radius:100px;padding:9px 14px}.form-step{font-size:12px;font-weight:700;color:#8698b3}.field{margin-bottom:32px}.field-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.field label{font-weight:800;font-size:17px;line-height:1.3}.field output{background:#e8f2ff;color:#0c3d91;border-radius:13px;padding:12px 15px;min-width:136px;text-align:center;font-weight:800;font-size:22px;white-space:nowrap}input[type=range]{appearance:none;-webkit-appearance:none;width:100%;height:10px;border-radius:20px;background:linear-gradient(to right,#1266f3 0%,#1266f3 var(--value,50%),#d6e5fb var(--value,50%),#d6e5fb 100%);margin:5px 0 15px;cursor:pointer}input[type=range]::-webkit-slider-thumb{appearance:none;width:31px;height:31px;border-radius:50%;background:#fff;border:7px solid #1c66ec;box-shadow:0 4px 13px #2463df55}input[type=range]::-moz-range-thumb{width:17px;height:17px;border-radius:50%;background:#fff;border:7px solid #1c66ec;box-shadow:0 4px 13px #2463df55}.range-limits{display:flex;justify-content:space-between;color:#7889a2;font-size:13px}.primary{background:linear-gradient(100deg,#065aeb,#2679ff);color:#fff;font-weight:800;font-size:19px;border:0;border-radius:17px;width:100%;min-height:70px;display:flex;align-items:center;justify-content:center;gap:15px;box-shadow:0 12px 25px #1260f035}.primary:hover{filter:brightness(1.07)}.primary:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #fbbf24;outline-offset:4px}.primary span{font-size:25px}.form-note{font-size:11px;color:#76839a;text-align:center;line-height:1.6;margin:16px 0 0}
.workflow{padding-top:68px;padding-bottom:55px}.section-kicker{color:#1763ec;font-size:12px;letter-spacing:2px;font-weight:800}.workflow h2{font-size:38px;letter-spacing:-1.6px;margin:9px 0 27px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.step{display:flex;align-items:flex-start;gap:13px;padding:24px 19px;border:1px solid #e1ebfa;border-radius:21px;background:#f8fbff;position:relative;min-height:187px;box-shadow:0 10px 20px #184c8e0c}.step-number{background:#1268ee;color:#fff;border-radius:50%;min-width:34px;height:34px;display:grid;place-items:center;font-weight:800;font-size:16px}.step-icon{font-size:34px;color:#1365e6;width:35px;text-align:center}.step div{flex:1}.step h3{margin:0 0 11px;font-size:16px;line-height:1.4}.step p{margin:0;color:#718099;font-size:13px;line-height:1.55}.safety{display:flex;align-items:flex-start;gap:20px;background:#edf5ff;border:1px solid #dfebfa;border-radius:24px;padding-top:28px;padding-bottom:28px;margin-bottom:56px}.safety-icon{border-radius:16px;background:#fff;color:#1763ec;font-size:34px;width:59px;min-width:59px;height:59px;display:grid;place-items:center}.safety h2{font-size:23px;margin:0 0 10px}.safety p{font-size:14px;line-height:1.7;margin:0;color:#4b5771}.footer{background:#f5f8ff;border-top:1px solid #e5edf9}.footer-inner{padding-top:29px;padding-bottom:26px}.footer-heading{display:flex;align-items:center;gap:25px;flex-wrap:wrap}.footer-heading>span{font-size:13px;color:#667d9d}.footer-brand{font-size:19px}.footer-brand .brand-icon{height:36px;width:36px;font-size:23px}.footer p{font-size:12px;color:#67748e;line-height:1.7}.footer details{margin:17px 0;border-top:1px solid #dce5f3;border-bottom:1px solid #dce5f3;padding:12px 0}.footer summary{font-size:13px;font-weight:800;color:#174ca6;cursor:pointer}.legal{padding:8px 0}.legal p{margin:7px 0}.fine{font-size:11px!important}
.overlay{position:fixed;inset:0;background:#102c5a80;z-index:30;display:flex;align-items:center;justify-content:center;padding:15px;backdrop-filter:blur(5px)}[hidden]{display:none!important}.dialog{position:relative;width:100%;max-width:455px;background:#fff;border-radius:25px;padding:38px 28px 28px;text-align:center;box-shadow:0 20px 60px #0d224c55}.close{border:0;background:#f1f5fc;position:absolute;right:14px;top:13px;border-radius:50%;height:34px;width:34px;color:#516581;font-size:25px}.spinner{height:75px;width:75px;border-radius:50%;border:6px solid #e5efff;border-top-color:#1768f2;margin:10px auto 25px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.loading-kicker{letter-spacing:2px;font-size:11px;font-weight:800;color:#216de8}.dialog h2{font-size:25px;line-height:1.3;letter-spacing:-.7px;margin:12px 0}.dialog p{font-size:13px;color:#748098;line-height:1.7}.progress-track{height:9px;background:#e6eefb;border-radius:20px;overflow:hidden;margin:23px 0}.progress-track div{background:#1768f2;height:100%;width:0%;transition:width .22s}.loading-ticks{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;margin:0 auto;max-width:230px}.loading-ticks span{font-size:13px;color:#b0bed0;transition:color .2s}.loading-ticks .active{color:#1873e5;font-weight:800}.result-symbol{height:64px;width:64px;border-radius:50%;background:#ddf7ee;color:#139766;font-size:40px;font-weight:800;display:grid;place-items:center;margin:0 auto 20px}.result-card{border:1px solid #dce8f8;background:#f6faff;border-radius:16px;padding:17px;text-align:left;margin:18px 0}.result-card strong{font-size:16px}.result-card p{margin:7px 0}.result-card .demo{display:inline-block;color:#145ac7;background:#e6f0ff;font-size:10px;font-weight:800;border-radius:20px;padding:5px 9px;margin-bottom:12px}.secondary{background:transparent;border:0;font-weight:800;color:#1763ec;padding:16px}.result-legal{font-size:11px!important}
@media(max-width:950px){.hero{grid-template-columns:1.08fr .92fr;gap:12px}.visual{min-height:530px}.hero-woman{top:55px;right:-40px;width:112%}.visual-circle{width:440px;height:480px}.floating-stat{bottom:100px;right:0}.loan-form{padding:23px}.hero-copy h1{font-size:46px}}
@media(max-width:700px){.container{padding-left:19px;padding-right:19px}.top{height:74px}.brand{font-size:20px;gap:9px;letter-spacing:-1px}.brand-icon{width:40px;height:40px;font-size:25px}.about-link{font-size:11px}.hero{display:flex;flex-direction:column;padding-top:30px;padding-bottom:39px}.hero-copy h1{font-size:clamp(37px,9.6vw,55px);letter-spacing:-2.2px;margin:16px 0 12px}.eyebrow{font-size:11px;padding:8px 12px}.lead{font-size:15px;line-height:1.55}.hero-points{font-size:11px;gap:8px;margin-top:16px;flex-direction:column}.visual{order:2;height:212px;min-height:0;width:100%;margin-top:7px;overflow:hidden}.visual-circle{top:10px;right:2%;width:260px;height:230px}.hero-woman{top:-8px;right:-7px;width:285px;max-width:none}.floating-stat{bottom:32px;left:6px;right:auto;transform:rotate(-4deg) scale(.83);transform-origin:left bottom}.floating-dot{display:none}.loan-form{order:3;margin-top:-8px;padding:23px 19px 19px;border-radius:23px}.form-top{margin-bottom:24px}.form-tag{font-size:12px}.form-step{font-size:10px}.field{margin-bottom:30px}.field label{font-size:14px}.field output{font-size:18px;min-width:102px;padding:10px}.field-heading{margin-bottom:19px}.primary{font-size:16px;min-height:63px}.form-note{font-size:10px}.workflow{padding-top:46px;padding-bottom:35px}.workflow h2{font-size:29px;letter-spacing:-1px}.steps{grid-template-columns:1fr;gap:11px}.step{min-height:0;padding:17px;gap:12px;border-radius:18px}.step h3{font-size:15px;margin-bottom:5px}.step p{font-size:12px}.step-icon{font-size:28px}.step-number{min-width:30px;height:30px}.safety{margin-left:19px;margin-right:19px;margin-bottom:40px;padding:21px 19px;gap:12px;border-radius:20px}.safety-icon{width:43px;min-width:43px;height:43px;font-size:26px}.safety h2{font-size:18px}.safety p{font-size:12px}.footer-heading>span{font-size:11px}.footer-inner{padding-top:25px;padding-bottom:20px}.dialog{padding:35px 20px 24px}.dialog h2{font-size:22px}}
@media(max-width:360px){.brand{font-size:17px}.about-link{font-size:10px}.hero-copy h1{font-size:35px}.field-heading{align-items:flex-start;flex-direction:column;gap:8px}.field output{align-self:flex-end}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* v3 — видимые предупреждения и рекламные реквизиты без изменения основного дизайна */
.risk-inline{display:flex;align-items:flex-start;gap:11px;background:#f1f7ff;border:1px solid #d7e7ff;border-radius:15px;padding:14px 15px;margin-top:17px;color:#354c6f}
.risk-inline-icon{display:grid;place-items:center;flex:0 0 24px;height:24px;border-radius:50%;background:#d9eaff;color:#155bc9;font-weight:800}
.risk-inline p{margin:0;font-size:12px;line-height:1.65}
.risk-inline strong{color:#1d3860}
.safety strong{color:#162d54}
.footer-disclaimer{font-size:13px!important;color:#374a69!important;max-width:1000px}
.footer-risk{background:#eaf2ff;padding:12px 15px;border-radius:12px;color:#30496f!important}
.footer-links{display:flex;gap:10px 26px;flex-wrap:wrap;font-size:12px;margin:21px 0}
.footer-links a{color:#1458c3;text-decoration:underline;text-underline-offset:3px}
.owner-info{border-top:1px solid #dce5f3;padding-top:14px;margin-top:8px}
.owner-info h3{font-size:15px;margin:7px 0}
.owner-placeholder{color:#a45a16!important}
.owner-info dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 18px;margin:12px 0}
.owner-info dl div{display:flex;flex-direction:column;gap:4px}
.owner-info dt{font-size:11px;color:#6f7f99}
.owner-info dd{margin:0;font-size:12px;font-weight:700;color:#394d6e}
.advertising-disclosure{border:1px solid #bbd4f8;background:#eff6ff;border-radius:15px;text-align:left;padding:14px;margin-bottom:16px}
.ad-label{font-size:12px;color:#123d86;background:#d9e9ff;border:1px solid #bfd7ff;padding:5px 9px;border-radius:8px;display:inline-block;margin-bottom:10px}
.ad-fields{display:grid;gap:8px}
.ad-fields>div{display:flex;flex-direction:column;gap:3px;border-bottom:1px solid #d7e5fa;padding-bottom:7px}
.ad-fields span{font-size:11px;color:#536b91}
.ad-fields b{font-size:12px;overflow-wrap:anywhere;color:#203658}
.ad-disclaimer{font-size:11px!important;margin:12px 0 0!important;color:#587093!important}
@media(max-width:700px){.risk-inline{padding:12px;gap:9px}.risk-inline p{font-size:11px}.owner-info dl{grid-template-columns:1fr}.footer-disclaimer{font-size:12px!important}.footer-links{flex-direction:column;gap:11px}.ad-fields b{font-size:11px}}

/* V4: компактная десктопная компоновка первого экрана, предыдущий стиль сохранен */
@media (min-width:951px){
 .top{height:72px}
 .hero{padding-top:25px;padding-bottom:32px;column-gap:44px;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)}
 .hero-copy h1{font-size:clamp(37px,3.25vw,49px);line-height:1.12;letter-spacing:-2.1px;margin:14px 0 10px}
 .eyebrow{padding:7px 13px;font-size:11px}
 .lead{font-size:15px;line-height:1.45}
 .hero-points{margin-top:10px;gap:8px 14px;font-size:11px}
 .hero-points span:before{width:16px;height:16px;margin-right:5px}
 .loan-form{margin-top:17px;padding:18px 23px 16px;border-radius:22px}
 .form-top{margin-bottom:17px}.form-tag{font-size:11px;padding:7px 10px}.form-step{font-size:10px}
 .field{margin-bottom:17px}.field-heading{margin-bottom:11px}.field label{font-size:15px}.field output{font-size:18px;padding:8px 11px;min-width:116px}
 input[type=range]{height:8px;margin:5px 0 10px}
 input[type=range]::-webkit-slider-thumb{width:25px;height:25px;border-width:5px}
 input[type=range]::-moz-range-thumb{width:15px;height:15px;border-width:5px}
 .range-limits{font-size:11px}.primary{min-height:56px;font-size:16px;border-radius:13px}
 .form-note{margin-top:9px;font-size:10px}.risk-inline{margin-top:10px;padding:9px 11px;border-radius:11px}.risk-inline p{font-size:10px;line-height:1.42}.risk-inline-icon{flex-basis:19px;height:19px;font-size:12px}
 .visual{min-height:460px;max-height:540px}.visual-circle{top:8px;right:0;width:425px;height:460px}
 .hero-woman{width:90%;max-width:455px;top:16px;right:0}
 .floating-stat{bottom:50px;right:8px;padding:11px 14px;border-radius:15px;gap:10px}
 .floating-stat-icon{width:34px;height:34px;font-size:19px}.floating-stat b{font-size:18px}
}
@media (min-width:701px) and (max-width:950px){
 .top{height:76px}.hero{padding-top:30px;padding-bottom:45px}
 .hero-copy h1{font-size:39px;margin:15px 0 12px}.lead{font-size:15px}
 .hero-points{font-size:11px;margin-top:13px}.visual{min-height:495px}.hero-woman{width:105%;top:20px;right:-8px}.visual-circle{height:400px;width:380px}.floating-stat{bottom:75px}
 .loan-form{margin-top:20px;padding:20px}.form-top{margin-bottom:18px}.field{margin-bottom:21px}.field-heading{margin-bottom:13px}.field label{font-size:14px}.field output{font-size:17px;padding:9px;min-width:105px}.primary{min-height:58px;font-size:15px}.risk-inline{padding:9px;margin-top:11px}.risk-inline p{font-size:10px}
}
@media(min-width:701px) and (max-height:780px){.visual{max-height:440px}.hero-woman{max-width:400px}.hero{padding-top:19px;padding-bottom:25px}.loan-form{margin-top:10px}.hero-copy h1{font-size:39px;margin:11px 0 7px}}
/* Информация о конкретном кредиторе после подбора */
.dialog{max-height:min(92vh,850px);overflow-y:auto;overscroll-behavior:contain}
.creditor-details{border:1px solid #e0eafa;border-radius:16px;padding:13px 15px;text-align:left;background:#fff;margin-bottom:14px}
.creditor-heading{display:flex;align-items:center;gap:12px;margin-bottom:10px}
.maxcredit-logo{display:inline-flex;align-items:baseline;gap:0;white-space:nowrap;font-family:Inter,Arial,system-ui,sans-serif;font-size:24px;letter-spacing:-1.4px;font-weight:800;background:#2b3956;padding:8px 13px;border-radius:10px;color:#fff;line-height:1.1}
.maxcredit-logo .maxcredit-red{color:#ff394a}.maxcredit-logo .maxcredit-dot{color:#ff394a}
.creditor-subtitle{font-size:11px;color:#718199;line-height:1.4}
.creditor-title{font-size:12px;line-height:1.5;color:#243a5f;font-weight:800;margin-bottom:8px}
.creditor-meta{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;margin:0}
.creditor-meta div{min-width:0}.creditor-meta dt{font-size:10px;color:#70819b}.creditor-meta dd{font-size:11px;font-weight:750;color:#1d3459;margin:3px 0 0;overflow-wrap:anywhere;line-height:1.45}
.creditor-details .verify-link{display:inline-block;font-size:11px;color:#165dcb;margin-top:11px;text-decoration:underline}
@media(max-width:450px){.creditor-meta{grid-template-columns:1fr}.maxcredit-logo{font-size:22px}.dialog{padding-left:18px;padding-right:18px}.creditor-heading{align-items:flex-start;flex-direction:column}}

/* v5: desktop refinement */
.header-descriptor{color:#496587;font-size:12px;font-weight:750;white-space:nowrap}
@media(min-width:951px){
.top{justify-content:flex-start;gap:20px;height:66px}
.top .about-link{margin-left:auto}
.hero{padding-top:12px;padding-bottom:37px;min-height:665px;align-content:start}
.hero-copy h1{margin:9px 0 11px}
.hero-points{margin-top:15px}
.loan-form{margin-top:15px}
.visual{min-height:500px;max-height:545px}
.hero-woman{width:88%;max-width:445px;top:18px;right:0}
.visual-circle{width:445px;height:495px;top:0}
.floating-stat{bottom:33px}
.step-icon{font-size:49px;width:53px;min-width:53px;line-height:1.05}
}
@media (min-width:701px) and (max-width:950px){.header-descriptor{font-size:10px}.top{gap:12px}.step-icon{font-size:42px;width:48px}}
@media(max-width:700px){.header-descriptor{display:none}.step-icon{font-size:38px;width:42px;min-width:42px}}

.footer-compact{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.footer-compact .footer-links{margin:0}.footer-compact .fine{margin:0}@media(max-width:700px){.footer-compact{flex-direction:column;align-items:flex-start}}

/* v5.1 — direct CTA first in the result. Legal and advertiser disclosures remain below. */
.result-cta{margin:17px 0 20px;min-height:66px;font-size:18px}
#resultState>.creditor-details{margin-top:2px}
@media(max-width:700px){.result-cta{font-size:16px;min-height:62px}}


/* v5.3 — transparent hero model and soft blend into right blue area */
.visual{overflow:hidden}
.visual::before{
 content:'';
 position:absolute;
 inset:16px 0 0 78px;
 border-radius:42px 0 0 42px;
 background:linear-gradient(180deg,rgba(111,179,255,.16) 0%,rgba(86,160,255,.09) 38%,rgba(42,120,228,.14) 100%);
 filter:blur(.2px);
}
.visual::after{
 content:'';
 position:absolute;
 left:40px;
 right:-22px;
 bottom:-34px;
 height:150px;
 background:radial-gradient(ellipse at center,rgba(255,255,255,.72) 0%,rgba(229,241,255,.44) 40%,rgba(220,235,252,0) 78%);
 pointer-events:none;
}
.visual-circle{
 top:-18px;
 right:-88px;
 width:635px;
 height:690px;
 border-radius:42% 58% 50% 50%;
 background:linear-gradient(142deg,rgba(232,245,255,.5) 4%,rgba(163,207,255,.9) 37%,rgba(57,128,232,.96) 74%,rgba(29,98,210,.98) 100%);
 opacity:.95;
 filter:blur(0px);
}
.hero-woman{
 width:100%;
 max-width:630px;
 right:-34px;
 top:-4px;
 filter:drop-shadow(0 18px 34px rgba(11,74,149,.08));
}
.floating-stat{right:18px;bottom:78px}
@media(min-width:951px){
 .visual{min-height:540px;max-height:575px}
 .visual::before{inset:10px 0 8px 95px;border-radius:46px 0 0 46px}
 .visual-circle{width:610px;height:650px;top:-16px;right:-96px}
 .hero-woman{width:108%;max-width:590px;top:-6px;right:-58px}
 .floating-stat{bottom:72px;right:14px}
}
@media (min-width:701px) and (max-width:950px){
 .visual::before{inset:8px 0 0 50px;border-radius:30px 0 0 30px}
 .visual-circle{width:410px;height:455px;top:12px;right:-40px}
 .hero-woman{width:102%;max-width:455px;top:16px;right:-18px}
 .floating-stat{bottom:68px;right:4px}
}
@media(max-width:700px){
 .visual::before,.visual::after{display:none}
 .visual-circle{top:30px;right:-34px;width:310px;height:310px;opacity:.78}
 .hero-woman{width:92%;max-width:340px;right:-6px;top:12px}
 .floating-stat{bottom:20px;right:10px}
}

/* v5.3 final: the actual transparent photo is used on the LIVE page, no rectangular image backdrop. */
@media (min-width:951px){
 .visual{overflow:visible;isolation:isolate}
 .visual::before{z-index:-2;inset:-5% -15% 0 0;border-radius:50%;background:radial-gradient(ellipse at 65% 45%,rgba(48,124,232,.28),rgba(120,183,253,.20) 45%,transparent 76%);filter:blur(35px)}
 .visual-circle{z-index:-1;right:-170px;top:-70px;width:650px;height:680px;border-radius:50%;background:radial-gradient(ellipse at 70% 50%,rgba(49,132,241,.38),rgba(117,188,255,.20) 53%,rgba(200,229,255,0) 75%);filter:blur(25px)}
 .hero-woman{width:103%;max-width:540px;top:-2px;right:-28px;filter:drop-shadow(0 16px 30px rgba(15,83,165,.06));-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 74%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0%,#000 74%,transparent 100%)}
 .visual::after{z-index:0;left:0;right:-10%;bottom:0;height:65px;background:linear-gradient(to bottom,transparent,rgba(232,243,255,.40));pointer-events:none}
 .floating-stat{z-index:2;bottom:74px;right:-2px}
}


/* v5.4 — eliminate horizontal seam in the hero illustration.
   The old ::after overlay had a rectangular bounding box and created
   a noticeable horizontal stripe over the sweater. The PNG already
   has transparency and its own gradual lower fade. */
.visual::after { display: none !important; }
.visual::before { display: none !important; }
@media (min-width:951px) {
  .visual { overflow:visible; isolation:isolate; }
  .visual-circle {
    z-index:-1;
    background: radial-gradient(ellipse at 64% 42%, rgba(53,135,240,.38) 0%, rgba(122,190,255,.19) 48%, rgba(200,229,255,0) 76%);
    filter: blur(27px);
  }
  .hero-woman {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, rgba(0,0,0,.9) 76%, rgba(0,0,0,.55) 86%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 65%, rgba(0,0,0,.9) 76%, rgba(0,0,0,.55) 86%, transparent 100%);
  }
}


/* Mobile edition based on the FINAL desktop 5.4. Desktop untouched. */
@media (max-width:700px){
  html,body{width:100%;overflow-x:clip}
  .container{padding-left:18px;padding-right:18px}
  .top{height:64px;gap:8px;justify-content:space-between}
  .brand{font-size:21px;letter-spacing:-1.05px;gap:8px}
  .brand-icon{height:36px;width:36px;font-size:23px;box-shadow:0 4px 11px #1760cf20}
  .about-link{font-size:11px;white-space:nowrap;color:#155ce2}
  .hero{display:flex;flex-direction:column;gap:0;padding-top:24px;padding-bottom:28px}
  .hero-copy h1{font-size:clamp(34px,8.7vw,44px);letter-spacing:-1.6px;line-height:1.08;margin:0 0 12px;max-width:460px}
  .lead{font-size:14px;line-height:1.48;max-width:490px}
  .hero-points{flex-direction:row;gap:7px 14px;margin-top:12px;font-size:10px;line-height:1.4}
  .hero-points span:before{width:15px;height:15px;margin-right:5px}
  .visual{order:2;position:relative;width:100%;height:150px;min-height:150px;max-height:150px;margin:9px 0 0;overflow:hidden;isolation:isolate}
  .visual-circle{top:-35px;right:-45px;width:280px;height:260px;border-radius:50%;background:radial-gradient(ellipse at 65% 44%,rgba(45,137,248,.44),rgba(142,202,255,.32) 50%,transparent 76%);filter:blur(12px);opacity:1}
  .hero-woman{width:218px;max-width:none;height:auto;top:-5px;right:0;filter:none;-webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 67%,transparent 99%);mask-image:linear-gradient(to bottom,#000 0%,#000 67%,transparent 99%)}
  .floating-stat{left:0;right:auto;bottom:13px;z-index:2;transform:rotate(-3deg);padding:9px 11px;border-radius:13px;gap:9px;box-shadow:0 8px 24px #174c8927}
  .floating-stat-icon{width:30px;height:30px;font-size:17px;border-radius:9px}
  .floating-stat b{font-size:15px}.floating-stat small{font-size:10px;margin-top:1px}
  .floating-dot{display:none}
  .loan-form{order:3;margin-top:-1px;padding:18px 17px 17px;border-radius:22px;background:#fff;box-shadow:0 14px 36px #20518e1f}
  .form-top{margin-bottom:19px;gap:7px}.form-tag{font-size:11px;padding:7px 10px}.form-step{font-size:10px;text-align:right}
  .field{margin-bottom:20px}.field-heading{margin-bottom:13px;gap:7px;align-items:center;flex-direction:row}
  .field label{font-size:14px;max-width:54%;line-height:1.35}
  .field output{font-size:17px;min-width:106px;padding:10px 9px;border-radius:12px}
  input[type=range]{height:9px;margin:6px 0 12px;touch-action:pan-y}
  input[type=range]::-webkit-slider-thumb{width:29px;height:29px;border-width:6px}
  input[type=range]::-moz-range-thumb{width:17px;height:17px;border-width:6px}
  .range-limits{font-size:11px}
  .primary{min-height:59px;font-size:16px;border-radius:14px;line-height:1.25;padding:10px 12px}
  .form-note{font-size:10px;margin:10px 0 0;line-height:1.4}
  .risk-inline{margin-top:12px;padding:11px;gap:9px;border-radius:12px}.risk-inline p{font-size:10.5px;line-height:1.5}.risk-inline-icon{height:20px;flex-basis:20px;font-size:12px}
  .workflow{padding-top:38px;padding-bottom:32px}.workflow h2{font-size:28px;line-height:1.2;margin:8px 0 21px}
  .steps{grid-template-columns:1fr;gap:10px}.step{padding:17px 14px;border-radius:17px;gap:12px;min-height:0}
  .step-number{min-width:29px;height:29px;font-size:14px}.step-icon{font-size:34px;width:39px;min-width:39px}
  .step h3{font-size:15px;margin-bottom:4px}.step p{font-size:12px;line-height:1.5}
  .safety{margin-left:18px;margin-right:18px;margin-bottom:30px;padding:17px 15px;border-radius:19px;gap:11px}
  .safety-icon{width:40px;height:40px;min-width:40px;font-size:23px;border-radius:12px}.safety h2{font-size:19px;margin-bottom:6px}.safety p{font-size:12px;line-height:1.55}
  .footer-compact{flex-direction:row;align-items:center;gap:10px;padding-top:16px;padding-bottom:16px}.footer-compact .footer-links{margin:0}.footer-links a{font-size:12px}.footer-compact .fine{font-size:11px!important}
  .overlay{padding:10px;align-items:center}.dialog{max-width:470px;max-height:calc(100dvh - 20px);overflow-y:auto;border-radius:19px;padding:36px 17px 19px}
  .dialog h2{font-size:22px}.dialog p{font-size:12px}.result-cta{min-height:59px;font-size:15px;margin:14px 0}
  .creditor-details{padding:11px}.creditor-heading{gap:9px}.advertising-disclosure{padding:12px}.ad-fields b{font-size:11px}
}
@media (max-width:365px){
  .container{padding-left:14px;padding-right:14px}.top{height:62px}.brand{font-size:18px}.about-link{font-size:10px}
  .hero-copy h1{font-size:33px}.lead{font-size:13px}.hero-points{gap:5px 10px;font-size:9.5px}
  .visual{height:139px;min-height:139px;max-height:139px}.hero-woman{width:205px;right:-5px}
  .loan-form{padding:16px 13px}.field label{font-size:13px}.form-step{font-size:9px}
  .safety{margin-left:14px;margin-right:14px}
}
@media (min-width:701px) and (max-width:950px){
  /* Intermediate landscape / tablet layout preserves original 5.4 logic. */
  .hero-copy h1{overflow-wrap:normal}
}
