/* Original navy and white palette, softened by the matryoshka identity. */
body.marketing-page,body.curriculum,body.public-verb,body.legal-page {
 --navy:#12243b;--navy-deep:#0c1b2e;--paper:#ffffff;--paper-deep:#f1f4f8;--white:#ffffff;--gold:#bf9148;--red:#a94432;--rule:#dce2e9;--muted:#596570;
 --study-ink:#12243b;--study-muted:#596570;--study-line:#dce2e9;--study-link:#294b6d;
 background:#ffffff;color:#12243b;
}
body .rvt-header{background:#ffffff;border-bottom-color:#dce2e9;box-shadow:0 3px 18px #12243b05}
.rvt-brand-icon{display:block;object-fit:contain;width:48px;height:48px;border-radius:15px;flex-shrink:0}
body .rvt-header .brand{gap:12px;color:#12243b}
body .rvt-header .brand-wordmark{font-weight:650;letter-spacing:.01em}
body .rvt-primary>a{border-radius:24px;color:#33465a}
body .rvt-primary>a:hover,body .rvt-primary>a[aria-current]{background:#edf1f6;color:#12243b}
body .rvt-primary>a[aria-current]{box-shadow:inset 0 -2px #667d97}
body .rvt-primary>.rvt-app-link{background:#12243b;color:#ffffff}
body .language-options{border-color:#dce2e9;background:#ffffff;border-radius:14px;box-shadow:0 15px 40px #12354b14}
body .rvt-mobile{background:#ffffff;border-color:#dce2e9}
body .rvt-mobile a{color:#12243b;border-radius:14px}
body .rvt-mobile a[aria-current]{background:#edf1f6;box-shadow:inset 0 3px #667d97}
body .rvt-mobile .rvt-app-link{background:#12243b;color:#ffffff}
body.product-page[data-locale] .rvt-brand-hero{position:relative;background:linear-gradient(120deg,#ffffff 15%,#f2f5f9 100%);border-bottom:1px solid #dce2e9;padding:clamp(32px,5vw,68px) 0 30px;overflow:hidden}
.rvt-brand-hero-inner{width:min(1080px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);align-items:center;gap:clamp(32px,5vw,72px)}
.rvt-brand-copy{min-width:0}
body.product-page[data-locale] .rvt-brand-eyebrow{font-size:.8rem;letter-spacing:.12em;font-weight:600;color:#64758a;margin:0 0 18px}
body.product-page[data-locale] .rvt-brand-copy h1{font-size:clamp(2rem,3.3vw,3rem);font-weight:650;line-height:1.45;letter-spacing:.01em;margin:0 0 20px;color:#12243b;text-wrap:balance}
body.product-page[data-locale] .rvt-brand-tagline{font-size:clamp(1.05rem,1.5vw,1.25rem);line-height:1.85;color:#334c69;margin:0 0 22px;font-weight:500}
body.product-page[data-locale] .rvt-brand-description{font-size:.95rem;line-height:1.95;color:#52616b;max-width:580px;margin:0 0 26px}
.rvt-brand-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
body.product-page[data-locale] .rvt-brand-actions .button{display:inline-flex;gap:20px;align-items:center;justify-content:center;background:#12243b;color:#ffffff;border:1px solid #12243b;border-radius:28px;padding:15px 24px;min-height:54px;font-size:.95rem;line-height:1.5;box-shadow:0 7px 18px #12354b12;text-decoration:none}
.rvt-guide-action{display:inline-flex;align-items:center;gap:14px;color:#12243b;min-height:48px;font-weight:600;text-decoration:none;padding:10px 4px;font-size:.92rem}
.rvt-guide-action:hover{text-decoration:underline}
body.product-page[data-locale] .rvt-brand-detail{font-size:.8rem;color:#67717a;margin:10px 0 0}
.rvt-brand-portrait{margin:0;position:relative;max-width:370px;justify-self:center;width:100%;transform:none}
.rvt-brand-portrait img{display:block;width:100%;height:auto;border-radius:25%;box-shadow:0 24px 60px #12243b13,0 0 0 10px #ffffff70}
body .rvt-brand-hero .rvt-home-choices{width:min(1080px,calc(100% - 48px));max-width:1080px;margin:38px auto 0;padding:0;gap:12px}
body .rvt-home-choices a{border:1px solid #dce2e9;background:#ffffff;border-radius:16px;color:#12243b;box-shadow:0 4px 14px #12243b04;font-size:.87rem}
body .rvt-home-choices a:hover{background:#f1f4f8;border-color:#667d97}
body .rvt-home-choices a>span{color:#61758c}
body.product-page[data-locale] .welcome-hero{background:#ffffff;border-color:#dce2e9}
body.product-page[data-locale] .welcome-inner{padding-top:42px}
body.product-page[data-locale] :is(.button,.preview-controls button,.lp-page-links a){border-radius:24px}
body.product-page[data-locale] .button:not(.secondary){background:#12243b;color:#ffffff;border-color:#12243b}
body.product-page[data-locale] .button.secondary{color:#12243b;background:#ffffff;border-color:#9cabbc}
body.product-page[data-locale] .preview-controls button[aria-pressed=true]{background:#12243b;color:#ffffff}
body.product-page[data-locale] :is(.offer-card,.ja-feature-card,.screen-card,.method-card){border-radius:20px;border-color:#dce2e9;background:#ffffff;box-shadow:0 8px 28px #12243b05}
body.product-page[data-locale] .offer-card.featured{border:2px solid #667d97;background:#ffffff}
body.product-page[data-locale] :is(.flow-section,.coverage-section){background:#f3f5f8;border-color:#dce2e9}
body.product-page[data-locale] .faq-list details{border-color:#dce2e9;border-radius:14px;background:#ffffff;margin-bottom:10px;padding-inline:16px}
body.product-page[data-locale] :is(.audience-section,.purchase-band,.final-cta){background:#12243b;color:#ffffff}
body.product-page[data-locale] .final-cta .button{background:#ffffff;color:#12243b;border-color:#ffffff}
body.product-page[data-locale] .final-cta .button.secondary{background:transparent;color:#ffffff;border-color:#aab8c9}
body .site-footer{border-top:1px solid #dce2e9;background:#f1f4f8}
body.curriculum .course-index{max-width:1180px}
body.curriculum .index-heading{position:relative;padding:28px 110px 28px 28px;background:#f0f3f7;border:1px solid #dce2e9;border-radius:24px}
body.curriculum .index-heading:after{content:"";position:absolute;right:24px;top:50%;transform:translateY(-50%);width:70px;height:70px;background:url('/images/rvt-matryoshka.png') center/contain no-repeat;border-radius:18px}
[dir=rtl] body.curriculum .index-heading{padding:28px 28px 28px 110px}
[dir=rtl] body.curriculum .index-heading:after{right:auto;left:24px}
body.curriculum :is(.course-nav a,.start-learning){border-radius:24px;border-color:#dce2e9}
body.curriculum .course-nav a[aria-current]{background:#12243b;color:#ffffff;border-color:#12243b}
body.curriculum .course-path{background:#ffffff;padding:24px;border:1px solid #dce2e9;border-radius:22px;box-shadow:0 8px 25px #12243b04}
body.curriculum .path-number{color:#64758a}
body.curriculum .course-search input{background:#ffffff;border-color:#cad3de;border-radius:14px}
body.curriculum .course-search button{background:#12243b;border-radius:14px;color:#ffffff}
body.curriculum .course-list a:hover{background:#f1f4f8;border-radius:10px}
body.curriculum .article-tools{background:#ffffff;border-color:#dce2e9}
body.curriculum .article-tools .rvt-back-guide{background:#edf1f6;border-color:#cad3de;color:#12243b;border-radius:24px}
body.curriculum :is(.course-example,.course-callout){background:#f1f4f8;border-inline-start-color:#667d97;border-radius:0 16px 16px 0}
body.curriculum :is(.next-lesson,.course-exercises details){background:#f8fafc;border-color:#d3dce7;border-radius:16px}
body.curriculum :is(.table-wrap caption,.table-wrap th){background:#edf1f6}
body.curriculum .article-heading{border-color:#dce2e9}
body .article-promotion{border-color:#dce2e9;background:#f3f5f8;border-radius:24px}
body :is(a,button,summary,input):focus-visible{outline:3px solid #a94432;outline-offset:4px}
@media(max-width:760px){
.rvt-brand-icon{width:40px;height:40px;border-radius:12px}
.rvt-brand-hero-inner{width:calc(100% - 36px);grid-template-columns:1fr;gap:26px;text-align:center}
.rvt-brand-portrait{grid-row:1;width:150px;transform:none}
body.product-page[data-locale] .rvt-brand-hero{padding-top:30px}
body.product-page[data-locale] .rvt-brand-copy h1{font-size:clamp(1.65rem,6.5vw,2.2rem);margin-bottom:14px}
body.product-page[data-locale] .rvt-brand-eyebrow{font-size:.7rem;margin-bottom:10px}
body.product-page[data-locale] .rvt-brand-tagline{font-size:1rem;margin-bottom:16px}
body.product-page[data-locale] .rvt-brand-description{text-align:start;font-size:.88rem;margin-bottom:20px}
.rvt-brand-actions{justify-content:center;gap:6px 16px}
body.product-page[data-locale] .rvt-brand-actions .button{width:100%;padding-inline:16px}
body .rvt-brand-hero .rvt-home-choices{width:calc(100% - 36px);margin-top:26px}
body.curriculum .index-heading{padding:22px 82px 22px 20px;border-radius:18px}
body.curriculum .index-heading:after{width:48px;height:48px;right:18px}
body.curriculum .index-heading h1{font-size:1.4rem}
body.curriculum .course-path{padding:20px;border-radius:18px}
}
@media(prefers-reduced-motion:reduce){.rvt-brand-portrait{transform:none}}

/* First-visit loading identity; never delays a ready page. */
.rvt-startup{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#12243b;color:#fff;text-align:center;pointer-events:none;animation:rvt-startup-expire 0s 5s forwards}
.rvt-startup[hidden]{display:none}
.rvt-startup img{display:block;width:144px;height:144px;margin:0 auto 22px;border-radius:32px}
.rvt-startup p{font:500 18px/1.5 system-ui,sans-serif;letter-spacing:.025em;margin:0 0 24px}
.rvt-startup-progress{display:block;width:100px;height:3px;border-radius:3px;background:#d5b76d;margin:auto;animation:rvt-startup-pulse 1s ease-in-out infinite alternate}
@keyframes rvt-startup-pulse{to{opacity:.3;transform:scaleX(.45)}}
@keyframes rvt-startup-expire{to{visibility:hidden}}
@media(prefers-reduced-motion:reduce){.rvt-startup-progress{animation:none}}
