/* Wave 1 only. Shared public typography, homepage and later waves are untouched. */
.ub-pilot-page main{color:#20252b;background:#f5f3ef}
.ub-internal-pilot{color:#20252b;font-family:Onest,Arial,sans-serif;font-size:17px;line-height:1.65}
.ub-internal-pilot h1,.ub-internal-pilot h2,.ub-internal-pilot h3,.ub-pilot-page .ub-expert-profile h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.025em;color:#20252b}
.ub-internal-pilot h1{font-size:54px;line-height:1.08;max-width:840px;margin:16px 0 24px}
.ub-internal-pilot h2{font-size:34px;line-height:1.15;margin:0 0 22px}
.ub-internal-pilot h3{font-size:24px;line-height:1.25;margin:28px 0 14px}
.ub-internal-pilot p{margin:0 0 18px;max-width:none}
.ub-internal-pilot li{margin-bottom:8px}
.ub-internal-pilot ul,.ub-internal-pilot ol{padding-left:24px;margin:18px 0 24px}
.ub-internal-pilot .ub-shell,.ub-pilot-page .ub-expert-profile{width:calc(100% - 200px);max-width:1240px}
.ub-internal-pilot .ub-hero{padding:48px 0 42px;border-bottom:1px solid #d8d5cf;background:#fbfaf7}
.ub-internal-pilot .ub-hero .ub-shell>p{max-width:760px}
.ub-internal-pilot .ub-eyebrow,.ub-pilot-page .ub-expert-profile .ub-eyebrow{font-size:12px;line-height:1.5;text-transform:uppercase;letter-spacing:.08em;color:#677079;margin:0 0 12px}
.ub-internal-pilot .ub-lead{font-size:19px;line-height:1.55}
.ub-internal-pilot .ub-actions{margin:24px 0 20px;gap:16px}
.ub-internal-pilot .ub-button,.ub-internal-pilot .wp-block-button__link{border-radius:3px;min-height:44px;padding:12px 18px;font-size:16px;line-height:1.4;background:#202a32;color:#fbfaf7}
.ub-internal-pilot .is-style-outline .wp-block-button__link{background:transparent;color:#304f67;border:1px solid #d8d5cf}
.ub-internal-pilot .ub-linked-rows{margin:14px 0 24px}
.ub-internal-pilot .ub-linked-rows p{margin:0;padding:0;border:0}
.ub-internal-pilot .ub-linked-rows a{min-height:44px;display:inline-flex;align-items:center;font-size:16px}
.ub-internal-pilot a{color:#304f67;text-underline-offset:4px;overflow-wrap:break-word}
.ub-internal-pilot a:hover{color:#233b4d}
.ub-internal-pilot .ub-pilot-reading{padding:48px 0 32px}
.ub-internal-pilot .ub-process-layout{grid-template-columns:minmax(0,260px) minmax(0,760px);gap:clamp(50px,6vw,88px);align-items:start}
.ub-internal-pilot .ub-local-nav{top:100px;max-height:calc(100vh - 124px);overflow:auto;padding-right:12px;font-size:14px}
.ub-internal-pilot .ub-local-nav summary{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#677079;padding:0 0 14px;border-bottom:1px solid #d8d5cf;margin-bottom:8px;min-height:44px}
.ub-internal-pilot .ub-local-nav p{margin:0}
.ub-internal-pilot .ub-local-nav a{display:flex;align-items:center;min-height:44px;padding:7px 0;font-size:14px;line-height:1.4;text-decoration:none;color:#304f67}
.ub-internal-pilot .ub-editorial-content{width:100%;max-width:760px;font-size:17px;line-height:1.65}
.ub-internal-pilot .ub-editorial-section{padding:0 0 36px;margin:0 0 36px;border-bottom:1px solid #d8d5cf;scroll-margin-top:110px}
.ub-internal-pilot .ub-editorial-section:last-child{border-bottom:0;margin-bottom:0}
.ub-internal-pilot .ub-editorial-intro{font-size:19px;line-height:1.55;margin-bottom:36px}
.ub-internal-pilot .ub-editorial-section>p:has(>strong:first-child){border-left:2px solid #b08a58;padding-left:16px}
.ub-internal-pilot .ub-service-hero-layout{grid-template-columns:minmax(0,760px) minmax(0,280px);gap:60px;align-items:start}
.ub-internal-pilot .ub-service-logic{background:#ebeef0;border-left:2px solid #b08a58;padding:24px;margin-top:52px;border-radius:0}
.ub-internal-pilot .ub-service-logic h2{font-size:27px;margin-bottom:20px}
.ub-internal-pilot .ub-service-logic li{font-size:16px;line-height:1.45;margin-bottom:14px}
.ub-internal-pilot .ub-pilot-document{width:100%;max-width:520px;min-height:0;box-shadow:none;border:1px solid #d8d5cf;background:#fbfaf7;padding:28px;margin:28px 0!important}
.ub-internal-pilot .ub-pilot-document h3{margin:14px 0 18px;font-size:25px}
.ub-internal-pilot .ub-pilot-document .ub-small{font-size:15px;line-height:1.5;margin:0}
.ub-internal-pilot .ub-domain-price{border:0;border-left:2px solid #b08a58;border-radius:0;box-shadow:none;background:#eee7dc;padding:20px 24px;margin:24px 0}
.ub-internal-pilot .ub-domain-price__value{font-size:26px;white-space:nowrap;color:#202a32}
.ub-internal-pilot .ub-domain-price__note{font-size:16px}
.ub-internal-pilot .ub-form-wrapper{border-top:1px solid #d8d5cf;margin-top:28px;padding-top:24px}
.ub-internal-pilot .ub-notice{background:#eee7dc;color:#20252b;border:1px dashed #b08a58;border-radius:0;font-size:15px;padding:14px}
.ub-internal-pilot .ub-form-grid{grid-template-columns:1fr 1fr;gap:18px}
.ub-internal-pilot .ub-form-grid>div:last-child{grid-column:1/-1}
.ub-internal-pilot .ub-form label,.ub-internal-pilot .ub-small{font-size:15px;line-height:1.5}
.ub-internal-pilot .ub-form input,.ub-internal-pilot .ub-form textarea{border-radius:3px;min-height:44px;background:#fbfaf7;font-size:17px}
.ub-internal-pilot .ub-form textarea{min-height:110px}
.ub-internal-pilot .ub-if-expert,.ub-internal-pilot .ub-if-related{padding:32px 0;border-top:1px solid #d8d5cf}
.ub-internal-pilot .ub-if-expert>.ub-shell,.ub-internal-pilot .ub-if-related>.ub-shell{display:grid;grid-template-columns:260px minmax(0,760px);gap:clamp(50px,6vw,88px)}
.ub-internal-pilot .ub-if-related .ub-related-content{margin:0}
.ub-internal-pilot .ub-if-related .ub-related-content>h2{display:none}
.ub-internal-pilot .ub-expert-card{background:transparent;border:0;border-radius:0;box-shadow:none;display:grid;grid-template-columns:110px minmax(0,1fr);gap:22px;max-width:600px}
.ub-internal-pilot .ub-expert-card img{width:110px;height:138px;object-fit:cover}
.ub-internal-pilot .ub-expert-card .ub-entity-card__body{padding:0}
.ub-internal-pilot .ub-expert-card h3{margin:0 0 8px;font-family:Onest,Arial,sans-serif;font-size:21px}
.ub-internal-pilot .ub-expert-card p{font-size:16px}
.ub-pilot-page .ub-expert-profile{grid-template-columns:260px minmax(0,760px);gap:clamp(50px,6vw,88px);padding:48px 0 40px;align-items:center}
.ub-pilot-page .ub-expert-profile>.ub-portrait-placeholder{width:260px;max-width:260px;aspect-ratio:4/5;border-radius:0}
.ub-pilot-page .ub-expert-profile h1{font-size:58px;line-height:1.1;margin:12px 0 18px}
.ub-pilot-page .ub-expert-profile .ub-lead{font-size:20px;margin-bottom:14px}
.ub-pilot-page .ub-expert-profile .ub-button{border-radius:3px;min-height:44px;font-size:16px}
.ub-pilot-page .ub-professional-proof{width:calc(100% - 200px);max-width:760px;margin:0 auto 0 max(100px,calc((100vw - 1240px)/2 + 348px));padding:32px 0}
.ub-pilot-page .ub-professional-proof h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:32px;line-height:1.2}
.ub-pilot-page .ub-professional-proof .ub-entity-row__title{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:25px;line-height:1.25}
.ub-internal-pilot :focus-visible{outline:2px solid #304f67;outline-offset:4px}
@media(max-width:1079px){
.ub-internal-pilot .ub-shell,.ub-pilot-page .ub-expert-profile{width:calc(100% - 80px)}
.ub-internal-pilot .ub-process-layout{grid-template-columns:1fr;gap:28px}
.ub-internal-pilot .ub-local-nav{position:static;max-height:none;padding:0;border-top:1px solid #d8d5cf;border-bottom:1px solid #d8d5cf}
.ub-internal-pilot .ub-local-nav summary{border:0;margin:0;padding:14px 0;min-height:44px}
.ub-internal-pilot .ub-local-nav details[open]{padding-bottom:16px}
.ub-internal-pilot .ub-service-hero-layout{grid-template-columns:1fr;gap:22px}
.ub-internal-pilot .ub-service-logic{margin-top:0;max-width:760px}
.ub-internal-pilot .ub-service-logic ol{display:flex;gap:28px;padding-left:20px}
.ub-internal-pilot .ub-service-logic li{flex:1;margin-bottom:0}
.ub-internal-pilot .ub-if-expert>.ub-shell,.ub-internal-pilot .ub-if-related>.ub-shell{grid-template-columns:1fr;gap:20px}
.ub-pilot-page .ub-expert-profile{grid-template-columns:220px minmax(0,1fr);gap:32px}
.ub-pilot-page .ub-expert-profile>.ub-portrait-placeholder{width:220px;max-width:220px}
.ub-pilot-page .ub-professional-proof{width:calc(100% - 80px);margin:0 auto;max-width:760px}
}
@media(max-width:767px){
.ub-internal-pilot .ub-shell,.ub-pilot-page .ub-expert-profile,.ub-pilot-page .ub-professional-proof{width:calc(100% - 40px)}
.ub-internal-pilot h1{font-size:38px;line-height:1.08;margin:12px 0 20px;overflow-wrap:break-word}
.ub-internal-pilot h2{font-size:29px;line-height:1.15;overflow-wrap:break-word;margin-bottom:18px}
.ub-internal-pilot h3{font-size:23px;line-height:1.2;overflow-wrap:break-word;margin:24px 0 12px}
.ub-internal-pilot .ub-hero{padding:28px 0}
.ub-internal-pilot .ub-lead,.ub-internal-pilot .ub-editorial-intro{font-size:18px;line-height:1.55}
.ub-internal-pilot .ub-pilot-reading{padding:28px 0}
.ub-internal-pilot .ub-editorial-section{padding-bottom:28px;margin-bottom:28px}
.ub-internal-pilot .ub-service-logic{padding:20px}
.ub-internal-pilot .ub-service-logic h2{font-size:25px}
.ub-internal-pilot .ub-service-logic ol{display:block}
.ub-internal-pilot .ub-service-logic li{margin-bottom:10px}
.ub-internal-pilot .ub-pilot-document{padding:20px}
.ub-internal-pilot .ub-domain-price__value{font-size:24px}
.ub-internal-pilot .ub-form-grid{grid-template-columns:1fr;gap:14px}
.ub-internal-pilot .ub-form-grid>div:last-child{grid-column:auto}
.ub-pilot-page .ub-expert-profile{grid-template-columns:1fr;gap:24px;padding:28px 0}
.ub-pilot-page .ub-expert-profile>.ub-portrait-placeholder{width:180px;max-width:180px}
.ub-pilot-page .ub-expert-profile h1{font-size:42px;line-height:1.05}
.ub-pilot-page .ub-professional-proof h2{font-size:29px}
.ub-pilot-page .ub-professional-proof .ub-entity-row__title{font-size:23px}
}
@media(prefers-reduced-motion:reduce){.ub-internal-pilot *{scroll-behavior:auto}}
/* Override the earlier expert two-column section rule only inside the pilot article. */
.ub-pilot-page.single-ub_expert .ub-internal-pilot .ub-section>.ub-shell{display:grid;grid-template-columns:minmax(0,260px) minmax(0,760px);gap:clamp(50px,6vw,88px)}
.ub-pilot-page.single-ub_expert .ub-pilot-reading>.ub-shell>.ub-local-nav{grid-column:1;grid-row:1}
.ub-pilot-page.single-ub_expert .ub-pilot-reading>.ub-shell>.ub-editorial-content{grid-column:2;grid-row:1}
@media(max-width:1079px){
.ub-pilot-page.single-ub_expert .ub-internal-pilot .ub-section>.ub-shell{grid-template-columns:1fr;gap:28px}
.ub-pilot-page.single-ub_expert .ub-pilot-reading>.ub-shell>.ub-local-nav,.ub-pilot-page.single-ub_expert .ub-pilot-reading>.ub-shell>.ub-editorial-content{grid-column:1;grid-row:auto}
}
/* Wave 1.1: editorial rhythm, source examples and compact relation collections. */
.ub-internal-pilot .ub-editorial-section{margin-bottom:52px;padding-bottom:44px}
.ub-internal-pilot .ub-editorial-section>h2{max-width:700px;scroll-margin-top:110px}
.ub-internal-pilot .ub-editorial-content h3{font-family:Onest,Arial,sans-serif;font-size:21px;font-weight:600;line-height:1.35;letter-spacing:-.015em;margin-top:30px}
.ub-internal-pilot .ub-local-nav a.is-current{color:#202a32;border-left:2px solid #b08a58;padding-left:12px;font-weight:600;background:#eee7dc}
.ub-internal-pilot .ub-stage{padding-top:12px}
.ub-internal-pilot .ub-auxiliary>h2{font-size:29px}
.ub-internal-pilot .ub-editorial-example{padding:20px 24px;background:#ebeef0;border-left:2px solid #304f67;font-size:16px;line-height:1.6;margin:24px 0}
.ub-internal-pilot .ub-stage-outcome{padding:16px 0 0;border-top:1px solid #d8d5cf;color:#304f67}
.ub-internal-pilot .ub-investigation-flow{margin:32px 0 12px;padding:24px 0;border-top:2px solid #b08a58;border-bottom:1px solid #d8d5cf}
.ub-internal-pilot .ub-investigation-flow ol{display:grid;grid-template-columns:.7fr 1fr .65fr 1fr 1.45fr;gap:24px;list-style:none;padding:0;margin:18px 0 0;counter-reset:flow}
.ub-internal-pilot .ub-investigation-flow li{position:relative;font-size:15px;line-height:1.45;margin:0;counter-increment:flow}
.ub-internal-pilot .ub-investigation-flow li:before{content:'0' counter(flow);display:block;font-size:12px;color:#677079;margin-bottom:8px}
.ub-internal-pilot .ub-investigation-flow li:not(:last-child):after{content:'→';position:absolute;right:-20px;top:27px;color:#b08a58}
.ub-internal-pilot .ub-profile-practice>h3{padding-top:20px;border-top:1px solid #d8d5cf}
.ub-internal-pilot .ub-related-content{padding:24px 0;margin:24px 0;border-top:1px solid #d8d5cf;border-bottom:1px solid #d8d5cf}
.ub-internal-pilot .ub-related-content>h2{font-family:Onest,Arial,sans-serif;font-size:19px;font-weight:600}
.ub-internal-pilot .ub-related-content ul{columns:2;column-gap:28px;list-style:none;padding:0;margin:0}
.ub-internal-pilot .ub-related-content li{break-inside:avoid;margin:0}
.ub-internal-pilot .ub-related-content a{display:inline-flex;align-items:center;min-height:44px;font-size:15px}
.ub-internal-pilot .ub-pilot-document{max-width:490px;padding:24px;background:#eee7dc}
.ub-internal-pilot .ub-pilot-document figure{margin:0 0 18px}
.ub-internal-pilot .ub-pilot-document img{display:block;width:100%;height:auto;border:1px solid #d8d5cf}
.ub-internal-pilot .ub-demo-label{font-size:15px;font-weight:600;line-height:1.5;margin-bottom:12px}
.ub-pilot-page .ub-professional-proof.ub-pilot-proof-inline{width:100%;max-width:none;margin:24px 0;padding:0}
.ub-pilot-proof-inline>.ub-editorial-section{padding-bottom:24px;margin-bottom:24px}
.ub-pilot-proof-inline>.ub-editorial-section>h3{margin-top:0}
.ub-pilot-proof-inline .ub-entity-rows{display:grid;grid-template-columns:1fr 1fr;gap:12px 28px}
.ub-pilot-proof-inline .ub-entity-row{display:block;padding:14px 0;background:transparent;border:0;border-top:1px solid #d8d5cf}
.ub-pilot-page .ub-pilot-proof-inline .ub-entity-row__title{font-family:Onest,Arial,sans-serif;font-size:18px;font-weight:500;line-height:1.4;margin:6px 0}
.ub-pilot-proof-inline .ub-eyebrow{font-size:11px;margin:0}
@media(max-width:767px){
.ub-internal-pilot .ub-editorial-section{margin-bottom:36px;padding-bottom:32px}
.ub-internal-pilot .ub-editorial-content h3{font-size:20px;line-height:1.35}
.ub-internal-pilot .ub-auxiliary>h2{font-size:26px}
.ub-internal-pilot .ub-editorial-example{padding:16px 18px}
.ub-internal-pilot .ub-investigation-flow ol{grid-template-columns:1fr;gap:0;padding-left:18px;border-left:1px solid #b08a58}
.ub-internal-pilot .ub-investigation-flow li{padding:8px 0 14px 30px;font-size:16px}
.ub-internal-pilot .ub-investigation-flow li:before{position:absolute;left:0;top:10px}
.ub-internal-pilot .ub-investigation-flow li:not(:last-child):after{content:'↓';top:auto;bottom:-4px;left:-24px;right:auto;background:#f5f3ef}
.ub-internal-pilot .ub-related-content ul{columns:1}
.ub-pilot-proof-inline .ub-entity-rows{grid-template-columns:1fr}
.ub-internal-pilot .ub-pilot-document{padding:16px}
}
.ub-pilot-proof-inline>.ub-editorial-section{display:grid;grid-template-columns:1fr 1fr;gap:0 28px}
.ub-pilot-proof-inline>.ub-editorial-section>h3{grid-column:1/-1}
@media(max-width:767px){.ub-pilot-proof-inline>.ub-editorial-section{grid-template-columns:1fr}}
/* Service template also assigns every section child to its article column. */
.ub-pilot-page.ub-service-page .ub-internal-pilot .ub-section.ub-pilot-reading>.ub-shell.ub-process-layout{display:grid;grid-template-columns:minmax(0,260px) minmax(0,760px);gap:clamp(50px,6vw,88px)}
.ub-pilot-page.ub-service-page .ub-internal-pilot .ub-section.ub-pilot-reading>.ub-shell.ub-process-layout>.ub-local-nav{grid-column:1;grid-row:1}
.ub-pilot-page.ub-service-page .ub-internal-pilot .ub-section.ub-pilot-reading>.ub-shell.ub-process-layout>.ub-editorial-content{grid-column:2;grid-row:1}
.ub-internal-pilot .ub-editorial-section:has(>#oleg-chapter-5){border-top:2px solid #b08a58;padding-top:28px}
.ub-internal-pilot .ub-editorial-section:has(>#oleg-chapter-1)>h3{padding-top:18px;border-top:1px solid #d8d5cf}
@media(max-width:1079px){
.ub-pilot-page.ub-service-page .ub-internal-pilot .ub-section.ub-pilot-reading>.ub-shell.ub-process-layout{grid-template-columns:1fr;gap:28px}
.ub-pilot-page.ub-service-page .ub-internal-pilot .ub-section.ub-pilot-reading>.ub-shell.ub-process-layout>.ub-local-nav,.ub-pilot-page.ub-service-page .ub-internal-pilot .ub-section.ub-pilot-reading>.ub-shell.ub-process-layout>.ub-editorial-content{grid-column:1;grid-row:auto}
}
