/* StarMoney 2.0 visual fidelity pass: restore expressive SVG icons, pictorial cards, precise arrows. */
:root { --premium-shadow: 0 10px 30px rgba(37,34,109,.1),0 2px 5px rgba(32,22,91,.035) }
.icon{width:22px;height:22px;display:inline-block;vertical-align:middle;flex-shrink:0;stroke-width:2;transition:transform .2s ease}
.nav-search{width:38px;height:38px;border:1px solid #e7e9f4;background:#fff;box-shadow:0 2px 9px #17154e0b;display:inline-flex;justify-content:center;align-items:center;border-radius:50%}
.desktop-nav a:not(.nav-pill){display:inline-flex;align-items:center;gap:5px}.desktop-nav a .icon{width:17px;height:17px}.desktop-nav .nav-search .icon{width:20px;height:20px}
.brand-star{filter:drop-shadow(0 3px 2px #ffb52366);line-height:1}
.hero-benefits span{gap:11px;position:relative;padding-right:16px}.hero-benefits span:not(:last-child):after{content:"";position:absolute;right:0;top:2px;bottom:2px;width:1px;background:#ffffff70}.hero-benefits .icon{height:31px;width:31px;color:#ffe328;stroke-width:2.35}
.hero-chip{background:#ffffff30;box-shadow:inset 0 1px 0 #ffffff35}
.cta{gap:12px;box-shadow:0 4px 12px #ff68041a;letter-spacing:-.1px}.cta .icon{height:19px;width:19px;stroke-width:2.25}.cta:hover .icon,.explore-cta:hover .icon,.company-card a:hover .icon{transform:translateX(3px)}
.hero-widget{box-shadow:0 14px 35px rgba(16,16,97,.13)}
.offer-card{border-color:#dedcf0;box-shadow:var(--premium-shadow);border-radius:18px;position:relative}
.offer-card:first-child{background:linear-gradient(92deg,#fff4ff 0,#fff 25%,#fff 100%);border-color:#d9d0fd}
.offer-position{background:#e8e1ff;color:#4d23b6;border-radius:8px;padding:5px 10px;box-shadow:0 2px 4px #5e33a010}.offer-card:first-child .offer-position{background:#ffbf04;color:#842b00}
.position-crown{font-size:18px;line-height:0.6;color:#fff;text-shadow:0 1px 1px #ff9b00}
.offer-legal .legal-link{align-items:flex-start;line-height:1.35;gap:8px}.legal-link svg{height:19px;width:19px;flex:0 0 19px;stroke:#5431da;stroke-width:2}
.cta--offer{font-size:14px;min-height:46px;white-space:nowrap;padding:12px 14px}.cta--offer .icon{width:18px;height:18px}
.load-more{border-radius:999px;gap:8px;font-size:14px}.load-more .icon{height:18px;width:18px;stroke-width:2.5}.load-more.expanded .icon{transform:rotate(180deg)}
.advantages{background:linear-gradient(120deg,#f4f0ff,#f0f4ff,#f2f0fe);padding:24px 19px;border-radius:24px;gap:0;box-shadow:inset 0 1px 0 #fff}
.advantage{gap:17px;padding:6px 20px;align-items:center}.advantage-icon{flex:0 0 42px;display:inline-flex;justify-content:center;align-items:center}.advantage-icon .icon{width:42px;height:42px;stroke-width:1.9}.advantage-icon--orange .icon{stroke:#ff940b;fill:#ffe95b55}
.advantage strong{font-size:15px;letter-spacing:-.3px;line-height:1.35}.advantage p{font-size:12px;line-height:1.4}
.explore{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:22px;margin-bottom:24px}
.explore-card{min-height:224px;border-radius:24px;position:relative;isolation:isolate;display:flex;align-items:center;padding:29px 28px;overflow:hidden}
.explore-card--purple{background:linear-gradient(112deg,#edf5ff,#ede5ff)}.explore-card--orange{background:linear-gradient(112deg,#fff2e7,#fff0e4)}
.explore-content{position:relative;z-index:2;max-width:63%}
.explore-card h2{font-size:26px;letter-spacing:-.9px;margin:0 0 10px;line-height:1.15}.explore-card p{font-size:15px;line-height:1.5;margin:0 0 18px}
.explore-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;text-decoration:none!important;border-radius:999px;padding:12px 19px;font-size:14px!important;font-weight:800;white-space:nowrap;min-height:44px}
.explore-cta .icon{width:18px;height:18px}.explore-cta--filled{background:linear-gradient(115deg,#8a40fa,#5028d8);color:white!important;box-shadow:0 7px 18px #6233e931}.explore-cta--outlined{border:1.5px solid #6b35e7;color:#5325cc!important;background:#ffffffbd}
.explore-art{position:absolute;right:1px;bottom:-4px;height:95%;width:48%;object-fit:contain;object-position:center bottom;z-index:1;pointer-events:none}
.step-card{background:linear-gradient(130deg,#fafaff,#f7f7ff);box-shadow:0 4px 11px #161c770a;border-radius:15px;min-height:160px;padding:20px 18px;position:relative}
.step-symbol{float:none;position:absolute;left:64px;top:20px;font-size:inherit;color:#6630f3}.step-symbol .icon{width:37px;height:37px;stroke-width:1.8}
.step-card h3{margin:22px 0 6px;font-size:15px}.step-card p{font-size:12px}.step-number{background:linear-gradient(120deg,#8f48fa,#5c3de9)}
.knowledge-grid{gap:16px;margin-top:18px}
.knowledge-card{background:linear-gradient(118deg,#f3f5fe,#fbfaff);min-height:160px;padding:12px;display:flex;flex-direction:row;gap:16px;align-items:center;border-radius:19px}
.knowledge-image{width:39%;height:138px;object-fit:cover;border-radius:16px;flex:0 0 39%}
.knowledge-content{display:flex;flex-direction:column;min-width:0;align-items:flex-start;gap:6px;flex:1}
.knowledge-card .knowledge-tag{display:inline-flex;background:#eae6ff;color:#5125d6;border-radius:999px;padding:4px 9px;margin:0;font-weight:800;font-size:11px}
.knowledge-card h3{font-size:15px;line-height:1.3;margin:0;letter-spacing:-.35px}.knowledge-card .knowledge-content>p{font-size:12px;line-height:1.45;margin:0;color:#525a80}.knowledge-card a{margin:2px 0 0;display:inline-flex;align-items:center;gap:5px;text-decoration:none;font-size:12px;font-weight:750;color:#4b26c2}.knowledge-card a .icon{height:15px;width:15px}
.company-card a{display:inline-flex;align-items:center;gap:6px}.company-card a .icon{width:16px;height:16px}
.about-link{display:inline-flex;align-items:center;gap:7px}.about-link .icon{height:17px;width:17px}
.faq-grid summary:after{content:'⌄';font-size:22px;top:10px;color:#3927a5}
.offer-term-label,.offer-term-value,.offer-term--apr .offer-term-value{font-weight:500}
@media(max-width:1270px){.advantage{padding:6px 13px;gap:10px}.advantage strong{font-size:13px}.advantage-icon,.advantage-icon .icon{width:34px;height:34px;flex-basis:34px}.explore-card h2{font-size:23px}.explore-card p{font-size:13px}}
@media(max-width:1050px){.explore-content{max-width:67%}.explore-art{width:44%}.knowledge-card{gap:9px}.knowledge-image{height:125px;width:36%;flex-basis:36%}.knowledge-content>p{display:none}.offer-card{border-radius:17px}.offer-identity .offer-position{left:0;top:-8px}}
@media(max-width:760px){.mobile-menu-button{display:inline-flex;align-items:center;justify-content:center}.mobile-menu-button .icon{width:22px;height:22px}.hero-benefits{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.hero-benefits span{font-size:10px;padding-right:0}.hero-benefits span:after{display:none}.hero-benefits .icon{width:19px;height:19px}.offer-card{box-shadow:0 4px 15px #23226513}.advantages{padding:18px 10px;gap:12px}.advantage{gap:10px;padding:6px;border:0}.advantage-icon,.advantage-icon .icon{width:29px;height:29px;flex-basis:29px}.advantage strong{font-size:11px}.advantage p{font-size:10px}.explore{grid-template-columns:1fr;gap:13px}.explore-card{min-height:185px;padding:20px}.explore-content{max-width:66%}.explore-card h2{font-size:20px}.explore-card p{font-size:12px;max-width:245px}.explore-art{width:42%;height:100%}.explore-cta{font-size:12px!important;white-space:normal;padding:10px 12px;min-height:38px}.explore-cta .icon{width:15px;height:15px}.step-card{min-height:176px}.step-symbol{left:auto;right:15px;top:15px}.step-symbol .icon{width:31px;height:31px}.knowledge-card{min-height:130px;padding:9px;gap:10px}.knowledge-image{height:115px;width:34%;flex-basis:34%}.knowledge-card h3{font-size:14px}.knowledge-card .knowledge-content>p{display:none}.knowledge-card a{font-size:11px}.hero-widget{box-shadow:0 7px 18px #11135826}}
@media(max-width:460px){.offer-term-label,.offer-term-value,.offer-term--apr .offer-term-value{font-size:16px}.offer-legal{gap:13px}.hero-benefits span{font-size:10px}.hero-benefits .icon{width:19px;height:19px}.advantages{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-card{min-height:175px}.explore-art{width:48%;right:-5px}.explore-content{max-width:64%}.explore-card h2{font-size:18px}.explore-card p{font-size:11px}.explore-cta{font-size:11px!important}.knowledge-card h3{font-size:13px}.knowledge-image{width:35%;flex-basis:35%}.step-symbol .icon{width:26px;height:26px}}
/* Small, refined connectors between the four workflow steps, like the original mockup. */
@media(min-width:761px){
 .step-card:not(:last-child)::after{content:"";position:absolute;z-index:3;right:-22px;top:50%;transform:translateY(-50%);width:26px;height:26px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23623de5' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center/18px no-repeat;border-radius:50%;box-shadow:0 1px 5px #29207915}
 .step-card{z-index:0}
}

/* StarMoney Push Toast v1 */

body > dialog.message.toast[open] {
    position: fixed !important;
    inset: auto 24px 24px auto !important;
    margin: 0 !important;
    box-sizing: border-box;
    width: 390px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    padding: 22px !important;
    background: #ffffff !important;
    color: #151d42 !important;
    border: 1px solid #e8e5f5 !important;
    border-radius: 20px !important;
    box-shadow: 0 16px 55px rgba(25, 20, 70, .20) !important;
    z-index: 99999 !important;
    font-family: inherit;
}

body > dialog.message.toast form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
    padding: 0;
}

body > dialog.message.toast form > div:first-child {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}

body > dialog.message.toast form > div:first-child svg,
body > dialog.message.toast form > div:first-child img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
}

body > dialog.message.toast form > br {
    display: none;
}

body > dialog.message.toast form > div:last-child {
    display: flex;
    gap: 10px;
}

body > dialog.message.toast button.theme {
    flex: 1;
    min-height: 44px;
    padding: 11px 16px;
    border: 0;
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

body > dialog.message.toast button.theme.secondary {
    background: #f0edff !important;
    color: #6032d9 !important;
}

body > dialog.message.toast button.theme.primary {
    background: #ff6909 !important;
    color: #ffffff !important;
}

@media (max-width: 600px) {
    body > dialog.message.toast[open] {
        inset: auto 12px 12px 12px !important;
        width: auto !important;
        max-width: none !important;
        padding: 18px !important;
        border-radius: 18px !important;
    }
}
