/* VIPbez identity, measured against the original public site.
   Typography uses the system font on Apple platforms; all metrics share these tokens. */
:root {
  --blue:#1f5bff; --black:#000; --white:#fff; --ticker-blue:#2c5afc;
  --muted:#666; --line:#e2e2e2; --soft:#f7f8fb;
  --radius-button:14px; --radius-input:12px; --radius-panel:14px;
  --font:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",Arial,sans-serif;
  --motion-fast:200ms; --motion-panel:450ms; --motion-ease:cubic-bezier(.22,1,.36,1);
  --header-height:65px; --bottom-height:66px;
  font-family:var(--font); color:var(--black);
}
* { box-sizing:border-box }
html { scroll-behavior:smooth; scroll-padding-top:calc(var(--header-height) + 24px) }
body { margin:0; padding-top:var(--header-height); background:var(--white); line-height:1.55; -webkit-font-smoothing:antialiased }
body.modal-open { overflow:hidden }
[hidden] { display:none!important }
a { color:inherit; text-decoration:none; transition:color var(--motion-fast) ease-in-out }
a:hover { color:var(--blue) }
button,input,textarea,select { font:inherit }
button { cursor:pointer }
img { max-width:100%; height:auto }
iframe { max-width:100% }
button,a,input,textarea,select,summary { -webkit-tap-highlight-color:transparent }
:focus-visible { outline:3px solid var(--blue); outline-offset:4px }
.container { width:min(1160px,calc(100% - 80px)); margin-inline:auto }
.sr-only,.skip-link:not(:focus) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
.skip-link:focus { position:fixed; left:16px; top:12px; z-index:100; background:white; padding:12px; border-radius:12px }
.site-header { position:fixed; top:0; inset-inline:0; z-index:40; background:white; box-shadow:0 2px 3px rgba(0,11,48,.25) }
.header-inner { min-height:65px; padding:10px 60px; display:flex; align-items:center; gap:30px }
.brand { display:inline-flex; flex-shrink:0; align-items:baseline; font-size:24px; font-weight:700; line-height:1.2; letter-spacing:-.03em; white-space:nowrap }
.brand-word,.brand-dash { color:var(--black); transition:color var(--motion-fast) ease-in-out }
.brand-dash { white-space:pre }
.brand-education { color:var(--blue); transition:color var(--motion-fast) ease-in-out }
.brand:hover .brand-word { color:var(--blue) }
.brand:hover .brand-education { color:var(--black) }
.header-navigation { display:flex; align-items:center; gap:22px; margin-left:auto; white-space:nowrap; font-size:14px; font-weight:600 }
.header-navigation { gap:14px; font-size:13px }
.header-navigation a { position:relative; padding:7px 0 }
.header-navigation a::after { content:""; position:absolute; height:2px; left:0; right:100%; bottom:3px; background:var(--blue); transition:right var(--motion-fast) ease-in-out }
.header-navigation a:hover::after,.header-navigation a:focus-visible::after { right:0 }
.mobile-menu { display:none }
.social-links { display:flex; align-items:center; gap:14px; margin-left:auto }
.social-link { position:relative; display:flex; width:30px; height:30px; color:var(--black); flex-shrink:0; border-radius:50% }
.social-link::before { content:""; position:absolute; width:44px; height:44px; left:50%; top:50%; transform:translate(-50%,-50%) }
.social-link:hover { color:var(--blue) }
.social-svg { width:30px; height:30px; flex:none }
.social-svg path { transition:fill var(--motion-fast) ease-in-out }
.header-actions { display:flex; align-items:center; gap:10px }
.inline-form { margin:0 }
.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:12px 28px; border:0; border-radius:var(--radius-button); font-size:16px; line-height:1.4; font-weight:600; text-align:center; transition:background-color var(--motion-fast) ease-in-out,color var(--motion-fast) ease-in-out,opacity var(--motion-fast) ease-in-out }
.button-blue { color:white; background:var(--blue) }
.button-black { color:white; background:var(--black) }
.button-blue:hover { background:var(--black); color:white }
.button-black:hover { background:var(--blue); color:white }
.button-white { background:white; color:var(--blue) }
.button-white:hover { background:var(--black); color:white }
.button:active { opacity:.85 }
.button:disabled { opacity:.6; cursor:wait }
.header-actions .button { width:auto; min-width:150px; min-height:38px; padding:8px 15px; border-radius:12px; font-size:14px; white-space:nowrap }
.management-shortcut { display:grid; place-items:center; width:40px; height:40px; flex:none; color:var(--blue); border:1px solid var(--line); border-radius:12px; background:white; transition:background-color var(--motion-fast),color var(--motion-fast),border-color var(--motion-fast) }
.management-shortcut:hover { color:white; background:var(--blue); border-color:var(--blue) }
.manage-icon { display:block; width:20px; height:20px; flex:none }
.section-navigation { display:flex; gap:26px; flex-wrap:wrap; padding-top:22px; font-size:14px; font-weight:600 }
.section-navigation a { padding-block:6px }
.hero { padding:115px 0 20px; text-align:center }
.hero h1 { font-size:28px; line-height:1.23; font-weight:700; margin:0; transition:color var(--motion-fast) ease-in-out; letter-spacing:-.025em }
.hero h1 span { color:var(--blue); transition:color var(--motion-fast) ease-in-out }
@media(hover:hover) {
  .hero h1:hover { color:var(--blue) }
  .hero h1:hover span { color:var(--black) }
}
.process { padding:75px 0 15px }
.process h2 { text-align:center; font-size:28px; line-height:1.23; font-weight:600; margin:0 }
.timeline { list-style:none; width:min(760px,100%); margin:105px auto 0; padding:0; counter-reset:step; position:relative }
.timeline::before { content:""; position:absolute; left:50%; top:20px; bottom:65px; width:2px; background:#222; transform:translateX(-50%) }
.timeline li { counter-increment:step; position:relative; min-height:108px; width:50%; padding:8px 55px 28px 0; text-align:right; display:flex; flex-direction:column }
.timeline li:nth-child(even) { margin-left:50%; text-align:left; padding:8px 0 28px 55px }
.timeline li::before { content:counter(step); position:absolute; right:-25px; top:5px; width:50px; height:50px; border-radius:50%; display:grid; place-items:center; background:var(--blue); color:white; font-weight:400; font-size:20px; z-index:1 }
.timeline li:nth-child(even)::before { left:-25px; right:auto }
.timeline strong { font-size:22px; font-weight:600; line-height:1.35 }
.timeline small { color:var(--black); font-size:14px; font-weight:300; line-height:1.55; margin-top:12px }
.information-ticker { overflow:hidden; background:var(--ticker-blue); color:white; height:40px; margin:75px 0 15px; display:flex; align-items:center }
.ticker-track { display:flex; align-items:center; width:max-content; animation:vipbez-marquee 30s linear infinite }
.ticker-track span { flex:none; padding-inline:35px; font-size:20px; line-height:40px; font-weight:500; white-space:nowrap }
.information-ticker:hover .ticker-track { animation-play-state:paused }
@keyframes vipbez-marquee { to { transform:translateX(-50%) } }
.information { padding-top:75px }
.information h2,.contact-section > .container > h2 { text-align:center; font-size:42px; line-height:1.23; font-weight:600; letter-spacing:-.025em; margin:0 0 90px }
.document-accordion details { border-top:1px solid #eee }
.document-accordion details:last-child { border-bottom:1px solid #eee }
.document-accordion summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:24px; padding:27px 0; cursor:pointer; font-size:22px; font-weight:600; line-height:1.35; min-height:84px }
.document-accordion summary::-webkit-details-marker { display:none }
.document-accordion summary > span:first-child { transition:color var(--motion-fast) }
.document-accordion summary:hover > span:first-child { color:var(--blue) }
.document-accordion summary a { color:var(--blue) }
.document-accordion summary:hover a { color:var(--black) }
.accordion-icon { position:relative; width:40px; height:40px; flex:none; border-radius:50%; background:transparent; transition:background-color var(--motion-fast),transform var(--motion-fast) }
.accordion-icon::before,.accordion-icon::after { content:""; position:absolute; width:24px; height:1px; background:var(--black); left:8px; top:19.5px; transition:background-color var(--motion-fast) }
.accordion-icon::after { transform:rotate(90deg) }
summary:hover .accordion-icon,summary:focus-visible .accordion-icon { background:var(--blue) }
summary:hover .accordion-icon::before,summary:hover .accordion-icon::after,summary:focus-visible .accordion-icon::before,summary:focus-visible .accordion-icon::after { background:white }
details[open] .accordion-icon { transform:rotate(45deg) }
.accordion-content { padding:0 50px 30px 0; font-size:20px; animation:vipbez-expand 200ms ease-out }
.accordion-content a,.text-link { color:var(--blue) }
.accordion-content a:hover,.text-link:hover { color:var(--black) }
@keyframes vipbez-expand { from { opacity:0; transform:translateY(-5px) } to { opacity:1; transform:translateY(0) } }
.contact-section { padding:75px 0 105px; background:white }
.contact-section > .container > h2 { margin-bottom:30px }
.contact-description { text-align:center; font-size:24px; line-height:1.5; max-width:620px; margin:0 auto 60px; font-weight:300 }
.contact-layout { display:grid; grid-template-columns:560px 460px; gap:40px; align-items:start }
.contact-details { font-size:20px; line-height:1.55 }
.contact-details p { margin:0 0 28px }
.contact-links { font-size:30px; line-height:1.55; font-weight:600 }
.contact-links a:hover { color:var(--blue) }
.contact-details .text-link { font-size:16px }
.brand-form .form-field { margin-bottom:25px }
.brand-form input:not([type=checkbox]):not([type=hidden]),.brand-form textarea,
.auth-card input:not([type=checkbox]):not([type=hidden]),.activity-card textarea,
.activity-card input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select {
  width:100%; min-width:0; display:block; border:1px solid #c9c9c9; border-radius:var(--radius-input); background:white; color:var(--black); padding:17px 20px; min-height:60px; font-size:16px; line-height:1.5; outline-offset:2px; transition:border-color var(--motion-fast),box-shadow var(--motion-fast);
}
input::placeholder,textarea::placeholder { color:#888; opacity:1 }
input:focus,textarea:focus,select:focus { border-color:var(--blue); box-shadow:0 0 0 2px #1f5bff18 }
textarea { resize:vertical }
.brand-form .button { min-height:60px; padding-inline:60px }
.registration-form .button { width:100% }
.check-row { display:flex!important; align-items:flex-start; gap:10px; font-size:13px!important; font-weight:400!important; line-height:1.5; margin:0 0 20px!important }
.check-row input { width:18px; height:18px; min-height:18px; margin:1px 0 0; flex:none; accent-color:var(--blue) }
.check-row a { color:var(--blue) }
.check-row a:hover { color:var(--black) }
.form-caption { text-align:center; font-size:15px; line-height:1.55; font-weight:300; margin:22px 0 0; color:var(--black)!important }
.field-error,.error,.errorlist { color:#bb2929; font-size:14px; line-height:1.4 }
.errorlist { list-style:none; padding:0; margin:6px 0 12px }
.field-error:empty { display:none }
.form-errors { border-radius:14px; padding:16px; background:#fff1f1; color:#ad2323; margin-bottom:20px; font-size:15px }
[aria-invalid=true] { border-color:#bb2929!important }
.phone-control { position:relative; display:flex; align-items:center }
.phone-control input { padding-left:67px!important }
.phone-control select { position:absolute; left:14px; width:38px; height:36px; min-height:36px; padding:0; border:0; border-radius:6px; font-size:16px; background:transparent; cursor:pointer; box-shadow:none; appearance:none }
.phone-control::after { content:""; position:absolute; left:48px; top:28px; border:3px solid transparent; border-top-color:#888; pointer-events:none }
.is-submitting .button::before { content:""; width:16px; height:16px; border:2px solid #ffffff66; border-top-color:white; border-radius:50%; animation:vipbez-spin 700ms linear infinite }
@keyframes vipbez-spin { to { transform:rotate(360deg) } }
.site-footer { border-top:1px solid var(--line); padding:60px 0; background:white }
.footer-inner { display:grid; grid-template-columns:2fr 1fr 1fr; gap:50px; font-size:15px }
.footer-inner .brand { font-size:20px }
.footer-inner a:not(.brand),.footer-inner small { display:block; margin-bottom:10px }
.footer-inner p,.footer-inner small { color:var(--muted) }
.cookie-note { position:fixed; right:30px; bottom:30px; z-index:60; width:334px; padding:20px 30px; background:white; border-radius:14px; box-shadow:0 0 20px #0000004d; text-align:center; font-size:13px; font-weight:600; line-height:1.7 }
.cookie-note p { margin:0 }
.cookie-note a { color:var(--blue) }
.cookie-note a:hover { color:var(--black) }
.cookie-note .button { min-height:35px; padding:7px 15px; font-size:13px; font-weight:400; text-transform:uppercase; border-radius:12px; margin-top:15px }
.cookie-close { position:absolute; right:7px; top:0; background:none; border:0; font-size:24px; line-height:1; color:var(--black); padding:6px }
.cookie-close:hover { color:var(--blue) }
.mobile-actions { display:none }
.brand-dialog { position:fixed; border:0; padding:0; color:var(--black); background:white; border-radius:14px; width:min(560px,calc(100% - 40px)); max-width:none; max-height:calc(100dvh - 40px); overflow:auto; overscroll-behavior:contain }
.brand-dialog::backdrop { background:rgba(0,0,0,.6) }
.brand-dialog[open] .dialog-content { animation:vipbez-modal-in 250ms var(--motion-ease) }
.dialog-content { padding:40px 45px }
.dialog-content h2 { font-size:36px; line-height:1.23; letter-spacing:-.025em; font-weight:600; margin:0 0 28px; text-align:center }
.dialog-close { position:absolute; right:10px; top:8px; width:36px; height:36px; border:0; border-radius:50%; background:white; color:var(--black); font-size:30px; line-height:1; z-index:2; display:grid; place-items:center }
.dialog-close:hover { background:var(--blue); color:white }
.document-dialog { width:min(1280px,94vw); height:min(820px,86dvh); max-height:86dvh; border-radius:18px; overflow:hidden; box-shadow:0 20px 70px #00000047 }
.document-dialog[open] { animation:vipbez-document-in var(--motion-panel) var(--motion-ease) }
.document-dialog-header { height:64px; padding:0 12px 0 30px; display:flex; gap:8px; align-items:center; background:white }
.document-dialog-header h2 { flex:1; min-width:0; font-size:clamp(18px,2.1vw,32px); line-height:1.05; font-weight:600; margin:0; letter-spacing:-.03em }
.document-dialog-header h2:hover { color:var(--blue) }
.document-dialog-header h2:focus { outline:none }
.round-control { width:40px; height:40px; border-radius:50%; background:var(--blue); color:white; border:0; flex:none; display:grid; place-items:center; font-size:26px; line-height:1; transition:background-color var(--motion-fast) }
.round-control:hover { background:var(--black); color:white }
.document-frame { display:block; width:100%; height:calc(100% - 64px); border:0; background:white }
.document-loading { position:absolute; top:80px; left:30px; color:var(--muted); font-size:16px; pointer-events:none }
.feedback-dialog { text-align:center }
.feedback-dialog .button { min-width:200px; margin-top:15px }
.feedback-dialog h2 { font-size:30px }
.success-symbol { color:var(--blue); font-size:45px; margin-bottom:15px }
@keyframes vipbez-modal-in { from { opacity:0; transform:translateY(12px) } to { opacity:1; transform:translateY(0) } }
@keyframes vipbez-document-in { from { opacity:0; transform:scale(.08) } to { opacity:1; transform:scale(1) } }
.document { padding-block:60px 100px; max-width:960px; min-height:55vh }
.document h1,.portal h1,.lesson h1 { font-size:clamp(28px,3.4vw,42px); line-height:1.23; letter-spacing:-.025em; font-weight:600; overflow-wrap:break-word }
.back-link { display:inline-block; margin-bottom:28px; color:var(--blue); font-weight:600; font-size:16px }
.back-link:hover { color:var(--black) }
.prose { font-size:20px; line-height:1.65; overflow-wrap:anywhere }
.prose h2 { font-size:28px; line-height:1.35; font-weight:600; margin-top:2em }
.prose p { margin:1em 0 }
.prose a { color:var(--blue); text-decoration:underline; text-underline-offset:3px }
.prose a:hover { color:var(--black) }
.prose blockquote { border-left:3px solid var(--blue); margin:30px 0; padding-left:20px }
.prose table { width:100%; border-collapse:collapse; table-layout:fixed; font-size:15px }
.prose .public-table { margin:28px 0 36px }
.prose th,.prose td,.table-scroll th,.table-scroll td { padding:12px; border:1px solid var(--line); text-align:left; vertical-align:top }
.prose th,.table-scroll th { background:var(--soft) }
.prose iframe { width:100%; min-height:360px; border:0; border-radius:14px }
.article-list,.course-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr)); gap:24px; margin-top:34px }
.article-card,.course-card,.empty-state,.outline-section,.activity-card { border:1px solid var(--line); border-radius:var(--radius-panel); padding:28px; background:white }
.article-card,.course-card { transition:border-color var(--motion-fast),color var(--motion-fast),background-color var(--motion-fast) }
.article-card:hover,.course-card:hover { border-color:var(--blue); background:#1f5bff03 }
.article-card h2,.course-card h2 { font-size:22px; font-weight:600; line-height:1.35 }
.article-card span:last-child,.card-action { color:var(--blue); font-weight:600 }
.auth-page,.auth-shell { min-height:65vh; display:grid; place-items:center; padding-block:65px 90px }
.auth-card { width:min(100%,560px); padding:40px 45px; border-radius:14px; background:white }
.auth-card h1 { font-size:36px; line-height:1.23; font-weight:600; letter-spacing:-.025em; margin-top:0 }
.auth-card p { color:var(--muted) }
.auth-card label { display:block; margin:0 0 22px; font-size:15px; font-weight:600 }
.auth-card input { margin-top:7px }
.auth-card .brand-form input { margin-top:0 }
.auth-card .button { width:100%; min-height:60px }
.auth-links { display:flex; flex-wrap:wrap; justify-content:space-between; gap:14px; margin-top:25px; font-size:14px; color:var(--blue) }
.auth-links a:hover { color:var(--black) }
.text-button { border:0; padding:0; background:none; color:var(--blue); font-size:14px }
.text-button:hover { color:var(--black) }
.portal { padding-block:48px 100px; min-height:65vh }
.portal-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:30px }
.portal-heading h1 { font-size:clamp(28px,3vw,36px); line-height:1.2; margin:18px 0 12px }
.portal-heading p { color:var(--muted); font-size:16px; margin:0 }
.portal-heading-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:10px; flex:none }
.portal-heading-actions .button { min-height:44px; padding:10px 15px; font-size:14px; white-space:nowrap }
.button-outline { color:var(--blue); background:white; border:1px solid #d9e1fa }
.button-outline:hover { color:white; background:var(--blue); border-color:var(--blue) }
.course-card p { color:var(--muted); font-size:16px }
.course-card { display:flex; flex-direction:column; min-height:220px }
.course-card p { flex:1 }
.portal .course-grid { margin-top:0 }
.portal .course-card { min-height:214px; padding:26px 28px }
.portal .course-card h2,.portal .course-card h3 { font-size:20px; line-height:1.35; font-weight:600; letter-spacing:-.015em; margin:20px 0 12px }
.portal .card-action { margin-top:auto; font-size:15px }
.portal .empty-state { grid-column:1/-1 }
.teaching-section { margin-top:56px }
.teaching-section > h2 { font-size:26px; line-height:1.25; margin:0 0 22px }
.teaching-section .course-card a { color:var(--blue); font-weight:600 }
.teaching-section .course-card a:hover { color:var(--black) }
.eyebrow { display:block; text-transform:uppercase; font-size:12px; letter-spacing:.12em; font-weight:600 }
.course-outline { display:grid; gap:24px; margin-top:35px }
.outline-section h2 { margin:0 0 20px; font-size:22px; font-weight:600; line-height:1.35 }
.outline-section ol { list-style:none; padding:0; margin:0 }
.outline-section li { display:flex; align-items:center; gap:12px; padding:16px 0; border-top:1px solid var(--line); font-size:16px }
.outline-section li a { font-weight:600; flex:1; min-width:0; overflow-wrap:anywhere }
.outline-section li small { color:var(--muted); flex:none }
.status-dot { height:17px; width:17px; border:1px solid #aaa; border-radius:50%; flex:none }
.status-dot.completed { background:var(--blue); border-color:var(--blue); position:relative }
.status-dot.completed::after { content:"✓"; color:white; position:absolute; font-size:12px; inset:0; line-height:15px; text-align:center }
.locked { color:var(--muted); flex:1; font-size:15px }
.lesson { padding-block:50px 100px; max-width:960px; min-height:65vh }
.lesson > .back-link,.portal > .back-link { display:block; width:max-content; max-width:100% }
.lesson .prose { margin:32px 0 }
.activity-card { margin-top:40px }
.activity-card h2 { font-size:26px; font-weight:600 }
.activity-card fieldset { border:1px solid var(--line); border-radius:14px; margin:25px 0; padding:20px; min-width:0 }
.activity-card legend { font-weight:600; font-size:18px; line-height:1.5; padding:0 6px; max-width:100%; overflow-wrap:anywhere }
.choice { display:flex; align-items:flex-start; gap:12px; padding:10px 0; font-size:16px; cursor:pointer; border-radius:8px }
.choice:hover { color:var(--blue) }
.choice input { width:18px; height:18px; flex:none; margin:4px 0 0; accent-color:var(--blue) }
.review-list a { display:grid; grid-template-columns:2fr 1fr auto; gap:18px; padding:18px; border-bottom:1px solid var(--line) }
.review-list a:hover { background:var(--soft) }
.submission-status { border-left:3px solid var(--blue); padding:16px; background:var(--soft); margin:18px 0 }
.table-scroll { overflow:auto; margin-top:28px; border-radius:14px }
.table-scroll table { width:100%; border-collapse:collapse; min-width:560px }
.messages { max-width:1160px; margin:auto; padding:8px 20px; color:var(--blue) }
.embedded-page { padding:0 }
.embedded-page .document { width:calc(100% - 60px); padding-block:15px 45px; max-width:none }
.embedded-page .prose { font-size:18px }
@media(max-width:1150px) and (min-width:981px) {
  .header-inner { padding-inline:28px; gap:16px }
  .brand { font-size:22px }
  .header-navigation { gap:14px; font-size:13px }
  .social-links { gap:8px }
  .social-mail { display:none }
  .contact-layout { grid-template-columns:1fr 1fr; gap:40px }
}
@media(max-width:1320px) and (min-width:981px) {
  .header-navigation { display:none }
  .mobile-menu { display:block; flex:none; position:relative }
  .mobile-menu summary { list-style:none; display:grid; place-items:center; width:38px; height:38px; border-radius:12px; color:var(--blue); cursor:pointer; font-size:24px; line-height:1 }
  .mobile-menu summary::-webkit-details-marker { display:none }
  .mobile-menu nav { position:fixed; top:var(--header-height); right:20px; z-index:48; display:flex; flex-direction:column; min-width:230px; max-height:calc(100dvh - var(--header-height) - 20px); overflow-y:auto; padding:8px; border-radius:14px; background:white; box-shadow:0 10px 32px #0003 }
  .mobile-menu nav a { padding:10px 15px; border-radius:10px; font-size:15px; font-weight:600 }
  .mobile-menu nav a:hover { background:var(--soft) }
}
@media(max-width:980px) {
  :root { --header-height:52px }
  body { padding-bottom:calc(var(--bottom-height) + env(safe-area-inset-bottom)) }
  .header-inner { min-height:52px; padding:10px 20px; gap:12px }
  .brand { font-size:20px; letter-spacing:-.04em }
  .header-actions,.social-mail { display:none }
  .header-navigation { display:none }
  .social-links { gap:14px }
  .mobile-menu { display:block; flex:none; position:relative }
  .mobile-menu summary { list-style:none; display:grid; place-items:center; width:38px; height:38px; border-radius:12px; color:var(--blue); cursor:pointer; font-size:24px; line-height:1 }
  .mobile-menu summary::-webkit-details-marker { display:none }
  .mobile-menu[open] summary,.mobile-menu summary:hover { background:var(--blue); color:white }
  .mobile-menu nav { position:fixed; top:var(--header-height); right:14px; z-index:48; display:flex; flex-direction:column; min-width:205px; max-height:calc(100dvh - var(--header-height) - var(--bottom-height) - 10px); overflow-y:auto; padding:8px; border-radius:14px; background:white; box-shadow:0 10px 32px #0003 }
  .mobile-menu nav a { padding:12px 15px; border-radius:10px; font-size:16px; font-weight:600 }
  .mobile-menu nav a:hover { background:var(--soft) }
  .social-max { order:1 }.social-vk { order:2 }.social-phone { order:3 }
  .mobile-actions { display:flex; position:fixed; bottom:0; inset-inline:0; z-index:45; background:white; border-top:1px solid var(--line); padding-bottom:env(safe-area-inset-bottom); min-height:66px; align-items:stretch }
  .mobile-actions > a,.mobile-actions > form { flex:1; min-width:0 }
  .mobile-actions > a,.mobile-actions button { min-height:66px; padding:10px 4px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px; font-size:12px; font-weight:600; line-height:1.2; text-align:center; color:var(--black); border:0; background:white; width:100% }
  .mobile-actions form { margin:0 }
  .mobile-actions a:hover,.mobile-actions button:hover { color:var(--blue) }
  .mobile-actions .manage-icon { width:17px; height:17px }
  .mobile-action-icon { display:grid; place-items:center; width:22px; height:22px; border:1px solid #6876b4; border-radius:50%; color:#6876b4; font-size:20px; line-height:1; font-weight:300 }
  .container { width:calc(100% - 40px) }
  .hero { padding:75px 0 0 }
  .process { padding-top:50px }
  .timeline { margin-top:45px }
  .information-ticker { margin-top:45px }
  .information h2 { margin-bottom:45px }
  .contact-layout { grid-template-columns:1fr 1fr; gap:40px }
  .cookie-note { left:50%; right:auto; bottom:calc(96px + env(safe-area-inset-bottom)); transform:translateX(-50%); width:min(338px,calc(100% - 28px)); padding:7px 9px; display:flex; align-items:center; gap:8px; font-size:12px; line-height:1.2; border-radius:14px }
  .cookie-note p { flex:1; min-width:0 }
  .cookie-note .button { flex:none; margin:0; min-height:26px; padding:5px 10px; font-size:12px }
  .cookie-close { display:none }
  .footer-inner { grid-template-columns:1.5fr 1fr; gap:30px }
  .footer-inner > div:last-child { grid-column:1/-1 }
  .embedded-page { padding:0 }
}
@media(max-width:680px) {
  .header-inner { padding-inline:16px; gap:10px }
  .brand { font-size:clamp(16px,4.8vw,20px) }
  .social-links { gap:10px }
  .social-phone { display:none }
  .hero h1 { font-size:28px; line-height:1.23; letter-spacing:-.025em }
  .process h2 { font-size:28px; max-width:350px; margin-inline:auto; line-height:1.35 }
  .timeline::before { left:25px; bottom:60px }
  .timeline li,.timeline li:nth-child(even) { width:100%; margin:0; min-height:84px; padding:5px 0 28px 70px; text-align:left }
  .timeline li::before,.timeline li:nth-child(even)::before { left:0; right:auto }
  .timeline strong { font-size:18px }
  .timeline small { font-size:12px; margin-top:8px; line-height:1.5 }
  .timeline li::before { font-size:18px }
  .information h2,.contact-section > .container > h2 { font-size:30px; line-height:1.3 }
  .information { padding-top:55px }
  .document-accordion summary { min-height:60px; padding:13px 0; font-size:20px }
  .accordion-icon { width:30px; height:30px }
  .accordion-icon::before,.accordion-icon::after { left:3px; top:14.5px }
  .accordion-content { font-size:18px; padding-right:25px }
  .contact-section { padding-block:55px 60px }
  .contact-description { font-size:20px; margin-bottom:40px }
  .contact-layout,.footer-inner { grid-template-columns:1fr; gap:35px }
  .contact-details { font-size:18px }
  .contact-links { font-size:24px }
  .brand-form .form-field { margin-bottom:20px }
  .brand-form input:not([type=checkbox]):not([type=hidden]),.brand-form textarea,.auth-card input:not([type=checkbox]):not([type=hidden]) { min-height:56px; padding-block:15px }
  .brand-form .button { width:100%; min-height:56px }
  .auth-page,.auth-shell { padding-block:40px 65px }
  .auth-card { padding:20px 0 }
  .auth-card h1 { font-size:30px }
  .dialog-content { padding:35px 20px 25px }
  .dialog-content h2 { font-size:30px; margin-bottom:25px }
  .brand-dialog { width:calc(100% - 28px); max-height:calc(100dvh - 28px) }
  .document-dialog { width:calc(100% - 20px); height:88dvh; max-height:88dvh }
  .document-dialog-header { padding-left:18px; height:70px; gap:6px }
  .document-dialog-header h2 { font-size:17px; line-height:1.2 }
  .round-control { width:34px; height:34px }
  .document-frame { height:calc(100% - 70px) }
  .form-caption { font-size:13px }
  .document,.portal,.lesson { padding-block:35px 65px }
  .portal h1 { font-size:clamp(21px,6.6vw,26px); hyphens:auto }
  .prose { font-size:18px }
  .prose h2 { font-size:24px }
  .article-card,.course-card,.empty-state,.outline-section,.activity-card { padding:20px }
  .portal-heading { align-items:flex-start; flex-direction:column; gap:20px }
  .portal-heading-actions { flex-direction:column; align-items:stretch; width:100% }
  .portal-heading-actions .button { width:100%; min-width:0; white-space:normal }
  .portal .course-card { min-height:190px; padding:21px }
  .portal .course-card h2,.portal .course-card h3 { font-size:18px }
  .mobile-actions > a,.mobile-actions button { font-size:11px }
  .outline-section li { flex-wrap:wrap; gap:10px }
  .outline-section li small { margin-left:27px; width:calc(100% - 27px) }
  .activity-card fieldset { padding:15px }
  .activity-card legend { font-size:17px }
  .review-list a { grid-template-columns:1fr }
  .section-navigation { gap:18px; padding-top:15px; font-size:13px }
  .footer-inner > div:last-child { grid-column:auto }
  .embedded-page .document { width:calc(100% - 36px); padding-top:10px }
}
@media(max-width:360px) {
  .header-inner { padding-inline:12px; gap:8px }
  .brand { font-size:16px }
  .social-links { gap:8px }
  .social-link,.social-svg { width:28px; height:28px }
  .hero h1 { font-size:25px }
  .process h2 { font-size:25px }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important }
  .ticker-track { animation:none!important; transform:none!important }
}
/* Original compact country flag, without clipping the selected country name. */
.phone-country-flag { position:absolute; left:16px; top:50%; transform:translateY(-50%); font-size:18px; pointer-events:none }
.phone-control select { opacity:0; left:4px; width:52px; height:48px; min-height:48px; z-index:1 }
.phone-control:has(select:focus-visible) { outline:3px solid var(--blue); outline-offset:4px; border-radius:12px }
.form-caption a { color:var(--blue); font-weight:600 }
.form-caption a:hover { color:var(--black) }
.registration-form .form-caption { font-size:14px }
.contact-form .form-caption { font-size:13px; text-align:left; margin-top:20px }
.feedback-dialog,.auth-dialog { max-height:calc(100dvh - 72px) }
.auth-dialog > .dialog-close,.feedback-dialog > .dialog-close { position:absolute; top:12px; right:12px; width:40px; height:40px; color:var(--black); background:var(--soft); border-radius:50% }
.auth-dialog > .dialog-close:hover,.feedback-dialog > .dialog-close:hover { color:white; background:var(--blue) }
.auth-dialog .dialog-content { padding-top:35px }
.auth-eyebrow { display:block; color:var(--blue); text-align:center; font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-bottom:7px }
.auth-dialog .dialog-content h2 { margin-bottom:12px }
.auth-intro { margin:0 0 22px; color:var(--muted); text-align:center; font-size:15px }
.auth-stage label { display:block; font-size:14px; font-weight:600; margin-bottom:7px }
.auth-stage input:not([type=hidden]):not([type=checkbox]) { width:100%; min-height:60px; border:1px solid #c9c9c9; border-radius:var(--radius-input); padding:17px 20px; font-size:16px; outline-offset:2px }
.auth-stage input:focus { border-color:var(--blue) }
.auth-stage .button { width:100%; min-height:60px; margin-top:14px }
.auth-status { min-height:22px; margin:8px 0 0; font-size:13px; color:var(--blue) }
.auth-error { color:#bb2929; font-size:14px; line-height:1.4; margin:9px 0 }
.auth-back { display:inline-block; border:0; background:none; color:var(--blue); padding:0; font-size:14px; font-weight:600; margin-bottom:14px }
.auth-back:hover { color:var(--black) }
.auth-email-summary { display:block; margin:0 0 20px; padding:10px 15px; border-radius:10px; background:var(--soft); color:var(--black); font-weight:600; overflow-wrap:anywhere }
.auth-recovery { display:block; text-align:center; color:var(--blue); font-size:14px; font-weight:600; margin-top:18px }
.auth-recovery:hover { color:var(--black) }
.auth-stage .registration-form .form-field { margin-bottom:16px }
.auth-stage .registration-form .button { margin-top:0 }
.document-dialog[data-closing=true]::backdrop { animation:vipbez-backdrop-out 350ms ease forwards }
@keyframes vipbez-backdrop-out { to { background:transparent } }
@media(max-width:360px) { .social-links { gap:8px }.social-link,.social-svg { width:28px; height:28px } }
@media(max-width:360px) { .auth-dialog .dialog-content { padding-top:54px } }
@media(max-width:680px) {
  .auth-dialog > .dialog-close,.feedback-dialog > .dialog-close { top:8px; right:8px; width:40px; height:40px }
  .auth-dialog .dialog-content { padding-top:32px }
}
