@font-face{font-family:Montserrat;src:url('/assets/fonts/Montserrat-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{color-scheme:dark;--bg:#0b0b0d;--text:#f7f7f8;--muted:#bcbcc5;--line:#ffffff20;--red:#ef2443}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:16px/1.7 Montserrat,Arial,sans-serif}a{color:inherit;text-underline-offset:5px}button,input{font:inherit}button,a,input{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid white;outline-offset:5px}[hidden]{display:none!important}.checkout{width:min(1120px,calc(100% - 80px));margin:auto}.checkout-header{display:flex;align-items:center;gap:30px;min-height:120px;border-bottom:1px solid var(--line)}.checkout-brand{display:block;flex:none;line-height:0}.checkout-brand img{width:112px;height:auto}.header-caption{font-size:16px;line-height:1.6;color:var(--muted)}.back{margin-left:auto;text-decoration:none;font-size:16px}.back:hover{color:#ff6178}.checkout-intro{padding:45px 0 34px}.eyebrow{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:16px;font-weight:550;letter-spacing:.1em;text-transform:uppercase;margin:0 0 24px}.eyebrow>span{width:24px;height:2px;background:var(--red)}.order-heading{display:flex;justify-content:space-between;gap:40px;align-items:center}.order-label{margin:0 0 8px;color:var(--muted);font-size:16px}h1,h2,h3,p{overflow-wrap:break-word}h1{font-size:clamp(32px,4.3vw,56px);line-height:1.12;letter-spacing:-.045em;font-weight:650;margin:0;max-width:760px}.order-total{flex-shrink:0;text-align:right;padding-left:28px;border-left:1px solid var(--line)}.order-total>span{font-size:16px;color:var(--muted)}#choice-price{font-size:30px;line-height:1.3;letter-spacing:-.04em;font-weight:650;margin:7px 0 0}h2{font-size:25px;line-height:1.3;letter-spacing:-.035em;font-weight:600;margin:0 0 9px}.section-lead{color:var(--muted);margin:0 0 12px;font-size:16px}#country-choice{border-top:1px solid var(--line);padding-top:30px}.payment-options{display:grid;grid-template-columns:1fr 1fr;gap:48px}.payment-option{display:flex;gap:17px;padding:23px 0 12px}.step{font-size:16px;color:#ff526c;font-weight:600;line-height:2.2}.payment-copy{flex:1;min-width:0}h3{font-size:21px;font-weight:600;letter-spacing:-.025em;margin:0 0 10px}.payment-copy p{font-size:16px;color:var(--muted);line-height:1.75;margin:0 0 20px;max-width:49ch}button,.button{display:inline-flex;justify-content:center;align-items:center;gap:25px;min-height:48px;padding:12px 20px;border:1px solid var(--line);border-radius:9px;background:#242428;color:var(--text);font-size:16px;font-weight:600;text-decoration:none;cursor:pointer}button:hover,.button:hover{background:#303035}button:disabled{opacity:.5;cursor:wait}#choose-russia,#pay,#claim{background:var(--red);border-color:var(--red)}#choose-russia:hover,#pay:hover,#claim:hover{background:#ff3654}.contact-options{display:flex;gap:12px;flex-wrap:wrap}.contact-options a{display:flex;justify-content:space-between;align-items:center;gap:28px;min-height:48px;padding:11px 18px;border:1px solid #ffffff35;border-radius:9px;text-decoration:none;font-size:16px;font-weight:550}.contact-options a:hover:hover{border-color:#ff526c;background:#ffffff08}#status{border-left:2px solid #ef2443;color:var(--muted);font-size:16px;line-height:1.7;padding:3px 0 3px 14px;margin:20px 0 32px;max-width:85ch}footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:22px 0 32px;color:#92929e;font-size:16px}footer nav{display:flex;gap:20px;flex-wrap:wrap}footer a{text-decoration:none}footer a:hover{text-decoration:underline}#details,#order{padding:26px;margin:20px 0 32px;background:#141416;border:1px solid var(--line);border-radius:14px;max-width:700px}.price{font-size:30px;font-weight:650;margin:0 0 12px}label{display:block}input[type=email]{display:block;width:100%;margin:10px 0;padding:14px;border-radius:8px;border:1px solid #777780;background:#0b0b0d;color:white}.hint{color:var(--muted);font-size:16px}.check{display:flex;gap:12px;margin:23px 0;font-size:16px}.check input{width:22px;height:22px;flex-shrink:0;accent-color:var(--red)}#pay{width:100%}#account-notice{font-size:16px}#order-number{overflow-wrap:anywhere}
@media(max-width:760px){.checkout{width:calc(100% - 40px)}.checkout-header{min-height:100px;gap:20px}.checkout-brand img{width:96px}.header-caption{font-size:16px}.back{font-size:16px}.checkout-intro{padding:32px 0 26px}.order-heading{gap:24px;align-items:flex-start}.order-total{padding-left:20px}#choice-price{font-size:25px}.order-total>span{font-size:16px}h1{font-size:34px}.payment-options{gap:26px}.payment-option{gap:12px}.payment-copy p{font-size:16px}footer{flex-direction:column;gap:12px}}
@media(max-width:540px){.header-caption{display:none}.checkout-header{min-height:92px}.checkout-intro{padding-top:27px}.eyebrow{font-size:16px;margin-bottom:19px}.order-heading{flex-direction:column;gap:20px}.order-total{width:100%;padding:0;border:0;display:flex;align-items:center;justify-content:space-between;text-align:left}.order-total>span{font-size:16px}#choice-price{margin:0;font-size:27px}h1{font-size:34px}h2{font-size:23px}.order-label{font-size:16px}#country-choice{padding-top:24px}.section-lead{font-size:16px}.payment-options{grid-template-columns:1fr;gap:0}.payment-option{padding:21px 0}.payment-option+.payment-option{border-top:1px solid var(--line)}.payment-copy p{margin-bottom:16px}.contact-options a{flex:1;gap:18px}#choose-russia{width:100%;justify-content:space-between}.payment-copy h3{font-size:20px}#status{margin:4px 0 25px;font-size:16px}footer nav{gap:12px 18px}#details,#order{padding:20px}}

/* Checkout hierarchy: explicit page title, order summary, two distinct routes. */
.page-title{font-size:clamp(34px,4vw,48px);margin:0 0 28px;max-width:none}
.checkout-intro>.eyebrow{margin-bottom:13px}.order-heading{padding:23px 26px;background:#141416;border:1px solid var(--line);border-radius:14px}.order-heading #title{font-size:clamp(25px,3vw,36px);line-height:1.2;margin:0;letter-spacing:-.035em}.order-label{font-size:16px}.checkout-intro{padding-bottom:30px}
#country-choice{border:0;padding-top:0}#country-heading{font-size:24px}.section-lead{margin-bottom:22px}.payment-options{gap:20px}.payment-option{padding:27px;border:1px solid #ffffff24;border-radius:14px;background:#141416;position:relative;overflow:hidden}.payment-russia{border-top:3px solid var(--red)}#choose-abroad{border-top:3px solid #777781}.payment-copy{display:flex;flex-direction:column}.payment-copy .route-label{font-size:16px;letter-spacing:.09em;line-height:1.4;font-weight:600;text-transform:uppercase;color:#bcbcc5;margin:0 0 12px}.payment-russia .route-label{color:#ff647b}.payment-copy h3{font-size:26px;margin-bottom:12px}.payment-copy>p:not(.route-label){font-size:16px;line-height:1.7;margin-bottom:24px}.payment-copy>button,.payment-copy>.contact-options{margin-top:auto;align-self:flex-start}.payment-copy>button{min-width:220px}.contact-options{outline-offset:6px}#status{margin:22px 0 30px}footer{margin-top:0}
@media(max-width:760px){.payment-option{padding:22px}.payment-copy h3{font-size:23px}.payment-options{gap:16px}.payment-copy>button{min-width:0}.contact-options{gap:9px}.contact-options a{padding:10px 13px;gap:18px}}
@media(max-width:600px){.payment-options{grid-template-columns:1fr}.payment-option+.payment-option{border-top:3px solid #777781}.page-title{font-size:34px;margin-bottom:22px}.order-heading{padding:20px;flex-direction:column;gap:18px}.order-heading #title{font-size:28px}.order-total{width:100%;padding:15px 0 0;border:0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;text-align:left}.order-total>span{font-size:16px}#choice-price{font-size:25px;margin:0}.payment-copy>button,.payment-copy>.contact-options{width:100%;align-self:stretch}.payment-copy h3{font-size:24px}.payment-option{padding:22px}.contact-options a{flex:1}.section-lead{font-size:16px}.checkout-intro{padding-bottom:27px}#status{margin:22px 0 26px}}

.test-payment-banner{padding:16px 20px;border:1px solid #e87941;background:#391e11;color:#ffd8ac;border-radius:12px;font-size:16px;line-height:1.6;font-weight:600}

.checkout-method-actions{display:grid;gap:12px;margin-top:22px}.checkout-method-actions button{width:100%;min-height:54px;font-size:16px}.payment-secondary{background:#242127!important;color:#efe5f2!important;border:1px solid #776779!important}.payment-secondary:hover{background:#342c38!important}#sbp-link,#bank-link{display:inline-flex;align-items:center;justify-content:center;min-height:52px;margin:0 12px 14px 0;font-size:16px}#sbp-link{background:#ef244e;color:white;border:1px solid #ff4168}#order>button{font-size:16px}@media(max-width:600px){#sbp-link,#bank-link{width:100%;margin:0 0 12px}}

body[data-payment-state="paid"] .checkout-intro,body[data-payment-state="paid"] #country-choice,body[data-payment-state="paid"] #details,body[data-payment-state="paid"] #order,body[data-payment-state="paid"] #status{display:none!important}
.payment-success{width:min(100%,760px);margin:48px auto 64px;padding:40px;border:1px solid #ffffff2c;border-radius:24px;background:linear-gradient(140deg,#24191f,#141316 60%);box-shadow:0 24px 70px #0003}
.paid-icon{display:grid;place-items:center;width:62px;height:62px;margin-bottom:28px;border:1px solid #78ddb15e;border-radius:18px;background:#4cb78a18;color:#8ae1b9}
.payment-success>.eyebrow{font-size:16px;letter-spacing:1px;color:#bdd8cd;margin:0 0 12px}
.payment-success h1{font-size:44px;line-height:1.15;letter-spacing:-1.5px;margin:0 0 20px}
.paid-message{font-size:18px;line-height:1.7;color:#d5ccd9;margin:0 0 28px}
.paid-course{padding:24px;border:1px solid #ffffff22;border-radius:16px;background:#0e0d10;margin-bottom:26px}
.paid-course>span{font-size:16px;color:#bcb0c7}.paid-course h2{font-size:30px;line-height:1.3;margin:10px 0 14px;letter-spacing:-.7px}.paid-course>p{font-size:18px;color:#f7edf9;margin:0}
.paid-actions{display:flex;flex-wrap:wrap;gap:12px}.paid-actions .button{flex:1;min-height:56px;padding:15px 24px;font-size:16px;font-weight:650;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:16px;text-decoration:none}
#paid-open-course,#paid-signin{background:#ed234b;color:#fff;border:1px solid #ff4167}#paid-open-course:hover,#paid-signin:hover{background:#fa365c}
.paid-receipt{font-size:16px;line-height:1.75;color:#bfb3c7;margin:24px 0 0}
.paid-text-link{display:inline-flex;align-items:center;min-height:48px;font-size:16px;color:#e1c6e8;text-decoration:underline;text-underline-offset:5px;overflow-wrap:anywhere}
.paid-owner-note{margin-top:22px;padding-top:24px;border-top:1px solid #ffffff22;font-size:16px;line-height:1.7;color:#bfb3c7}.paid-owner-note p{margin:0 0 10px;overflow-wrap:anywhere}
@media(max-width:600px){.payment-success{padding:26px 22px;margin:28px auto 36px;border-radius:20px}.payment-success h1{font-size:34px;letter-spacing:-1px}.paid-message{font-size:17px}.paid-course{padding:20px}.paid-course h2{font-size:26px}.paid-actions .button{flex:1 1 100%;width:100%;min-height:54px}.paid-icon{width:54px;height:54px;margin-bottom:22px}.paid-receipt,.paid-text-link,.paid-owner-note{font-size:16px}}
