/* Shared V9.4 conversion controls. Layouts, product scenes and content stay in their own files. */
:root {--ot-action-bg:#633ad5;--ot-action-hover:#4f2aa9;--ot-control-radius:12px}
:is(.v6-button,.uc-cta,.ot-primary-action,.ot-final-primary,.ot-final-secondary,.discovery-actions .btn,.discovery-closing .btn,.ot-inquiry-submit,.nav-client-login,.ec-header-offer) {min-height:48px;border-radius:var(--ot-control-radius);line-height:1.4;white-space:normal;text-align:center}
:is(.v6-primary,.uc-cta,.ot-primary-action,.ot-final-primary,.ot-inquiry-submit,.nav-client-login,.ec-header-offer,.ot-discovery .btn-black) {background:var(--ot-action-bg);color:#fff;border-color:var(--ot-action-bg);text-decoration:none}
:is(.v6-primary,.uc-cta,.ot-primary-action,.ot-final-primary,.ot-inquiry-submit,.nav-client-login,.ec-header-offer,.ot-discovery .btn-black):hover {background:var(--ot-action-hover);border-color:var(--ot-action-hover);color:#fff}
.nav-shell{gap:24px}
@media(min-width:1061px){.main-nav{gap:18px;min-width:0}}
.nav-actions .nav-client-login,.nav-actions .ec-header-offer {display:inline-flex;align-items:center;justify-content:center;padding:10px 16px;font-size:13px;font-weight:700;max-width:230px}
.op-dialog-x,.dialog-close {min-width:44px;min-height:44px}
.ot-conversation-link {display:inline-flex;align-items:center;min-height:44px;color:var(--ot-action-hover);font-size:15px;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.v6-closing .ot-conversation-link {color:#fff;margin-top:10px}
.ot-nojs-nav a {display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:650;color:var(--ot-action-hover)}
.ot-nojs-nav {display:flex;justify-content:center;flex-wrap:wrap;gap:8px 24px;padding:12px var(--gutter);background:#f8f9fd}
.ot-conversation-intent {padding:16px;border-left:3px solid var(--ot-action-bg);background:#f7f4ff;color:#39465f;font-size:15px;line-height:1.65}
.ot-inquiry-page>p {max-width:62ch;line-height:1.7}
.ot-inquiry-page .op-dialog-form {max-width:760px}
.v6-hero-copy h1 {text-wrap:balance;max-width:23ch}
.v6-section-head>p,.uc-lead,.discovery-result-lead {max-width:65ch;line-height:1.7}
.v6-hero-copy .v6-actions {gap:12px}
.sc6-hero-actions {flex-wrap:wrap;gap:12px 20px}
.v6-experience-action>div>p:last-child {max-width:55ch}
:is(.v6-review,.v6-feature,.uc-grid>article) {border-color:#e1e5ef}
:where(a,button,input,textarea,select,summary):focus-visible {outline:3px solid #43248e;outline-offset:4px}
:where(.v6-closing,.ot-final-cta,.v6-experience-action) :where(a,button):focus-visible {outline-color:#fff}
summary {scroll-margin-top:110px}
.ot-mobile-conversion {display:none}
@media(max-width:640px){
 .nav-actions .nav-client-login,.nav-actions .ec-header-offer{display:none}
 .ot-mobile-conversion{position:fixed;left:0;right:0;bottom:0;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dce1ed}
 .ot-mobile-conversion a{font-size:13px;flex:1;min-height:48px;display:flex;align-items:center;justify-content:center}
 .ot-mobile-conversion a:first-child{border-radius:10px;background:var(--ot-action-bg);color:#fff;font-weight:700;padding:10px 12px}
 .ot-mobile-conversion a:last-child{color:var(--ot-action-hover);text-decoration:underline}
 body:has(.ot-mobile-conversion){padding-bottom:85px}
 .v6-actions .v6-button,.sc6-hero-actions .ot-primary-action{width:100%}
 .v6-closing-action{width:100%}
 .v6-closing-action>.v6-button{width:100%}
 .ot-v6-mobile>a{min-height:48px;font-size:13px;white-space:normal;max-width:65%}
 .ot-v6-mobile>span{min-width:0;max-width:35%;font-size:12px;overflow-wrap:anywhere}
 .v6-hero-copy h1{font-size:clamp(32px,8.5vw,48px)}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 :is(.v6-button,.uc-cta,.ot-primary-action,.ot-final-primary,.ot-final-secondary,.nav-client-login,.ec-header-offer){transition:none;transform:none}
}

/* Keep the mobile sales links, but do not cover the active discovery form or keyboard. */
@media(max-width:640px){
 body:has(#heroSearch:focus-within) .ot-mobile-conversion{position:static;padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 #heroSearch :is(textarea,button){scroll-margin-block:calc(100px + env(safe-area-inset-bottom,0px))}
}
