/* Public sales improvements, scoped to avoid changing the signed-in application. */
.ub-sales .ub-eyebrow {font-size:.8rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:var(--primary,#d97732); margin:0 0 20px}
.ub-sales .ub-billing {font-size:.875rem; line-height:1.6; color:var(--text-secondary); max-width:65ch}
.ub-sales .ub-plan-audience {font-size:.95rem; line-height:1.5; min-height:3em; color:var(--text-secondary)}
.ub-sales .ub-pricing-note,.ub-sales .ub-gallery-note {color:var(--text-secondary); line-height:1.6; margin:20px auto; max-width:75ch}
.ub-sales .ub-gallery-note {text-align:center}
.ub-sales .ub-workflow h2 {font-size:clamp(1.7rem,4vw,2.5rem)}
.ub-sales .ub-workflow .mk-grid-3 {margin-top:24px}
.ub-sales .ub-workflow p {line-height:1.6; color:var(--text-secondary)}
.ub-sales .ub-step {display:inline-grid; place-items:center; width:36px; height:36px; border:1px solid var(--primary,#e78b42); border-radius:50%; color:var(--primary,#e78b42); font-weight:700; margin-bottom:12px}
.ub-sales .ub-gallery {max-width:1200px; margin:auto; gap:24px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr))}
.ub-sales .ub-gallery a {display:block}
.ub-sales .mk-demo {min-height:0; padding:12px; transform:none}
.ub-sales .mk-demo-inner {padding:0; min-height:0; background:transparent}
.ub-sales .mk-shot {display:block; width:100%; height:auto; object-fit:contain; border-radius:8px}
.ub-sales .mk-hero {display:block; grid-template-columns:minmax(0,1fr)!important; align-items:start; gap:24px; max-width:900px; margin:30px auto 28px; text-align:center}
.ub-sales .mk-hero > div {max-width:860px; margin:0 auto}
.ub-sales .mk-hero h1 {font-size:clamp(2.25rem,4.5vw,3.5rem)!important; max-width:22ch; margin:0 auto 14px!important; line-height:1.08!important}
.ub-sales .mk-hero .mk-sub {max-width:56ch; margin:0 auto 14px!important; font-size:clamp(1.1rem,2vw,1.35rem)!important; line-height:1.45}
.ub-sales .mk-hero .ub-eyebrow {margin-bottom:14px}
.ub-sales .mk-hero .mk-cta-row {flex-direction:row; flex-wrap:wrap; justify-content:center; margin-top:20px!important}
.ub-sales .mk-hero .mk-cta-row + .ub-billing {margin:8px auto 0; text-align:center}
.ub-sales .mk-hero .mk-cta-row .btn {width:auto; flex:0 1 auto; min-width:0}
.ub-sales .mk-card {box-shadow:none}
.ub-sales .mk-price {display:flex; flex-direction:column}
.ub-sales .mk-price .mk-ul {flex:1}
.ub-sales .mk-pricing {grid-template-columns:repeat(4,minmax(0,1fr))}
.ub-sales .mk-nav {flex-wrap:wrap; gap:16px}
.ub-sales .mk-links {flex:1 1 auto!important; flex-wrap:wrap; max-width:none!important; gap:10px!important; justify-content:flex-end}
.ub-sales .mk-links .mk-link {width:auto; min-width:0; flex:0 0 auto; padding:10px 12px!important; font-size:14px!important}
.ub-sales #languageSelector {appearance:auto; background:var(--bg-surface); color:var(--text-primary); border:1px solid var(--border); border-radius:8px; width:140px!important; min-width:120px!important; max-width:160px!important; font-size:14px!important; padding:10px 8px!important; height:44px; overflow:visible}
.ub-sales a:focus-visible,.ub-sales select:focus-visible,.ub-sales button:focus-visible {outline:3px solid var(--primary,#e78b42); outline-offset:4px}
.ub-sales .ub-selection-price {font-weight:700; color:var(--text-primary); margin-top:16px}
.ub-sales .ub-plan-summary {padding:20px; margin-bottom:24px; border:1px solid var(--primary,#e78b42); border-radius:12px; background:var(--bg-muted); line-height:1.6}
.ub-sales .ub-plan-summary strong {font-size:1.25rem}
.ub-sales .ub-plan-summary p {margin:8px 0; color:var(--text-secondary)}
.ub-sales .registration-container,.ub-sales .register-container {box-sizing:border-box}
@media(max-width:1100px) {.ub-sales .mk-pricing {grid-template-columns:repeat(2,minmax(0,1fr))}.ub-sales .ub-section-link {display:none}}
@media(max-width:800px) {.ub-sales .mk-hero {grid-template-columns:1fr; gap:24px; margin:26px auto 24px; padding:0 4px}.ub-sales .mk-hero .mk-demo {max-width:100%}.ub-sales .mk-links .btn-primary {display:none!important}}
@media(max-width:600px) {
.ub-sales .ub-gallery,.ub-sales .mk-pricing,.ub-sales .mk-grid-3,.ub-sales .registration-options {grid-template-columns:minmax(0,1fr)}
.ub-sales .mk-brand {flex:0 0 48px!important; min-width:48px!important; max-width:48px!important; margin-right:0!important}
.ub-sales .mk-brand img {width:48px!important; height:48px!important; min-width:48px!important; max-width:48px!important}
.ub-sales .mk-links {flex:1 1 auto!important; flex-shrink:1!important; gap:4px!important}
.ub-sales .mk-links .mk-link {padding:8px!important; font-size:13px!important}
.ub-sales #languageSelector {width:118px!important; min-width:100px!important; max-width:118px!important; font-size:13px!important}
.ub-sales .mk-hero .mk-cta-row .btn {width:100%; flex:1 1 100%}
.ub-sales .mk-section h2 {font-size:1.8rem!important}
.ub-sales .registration-container,.ub-sales .register-container {padding:16px}
.ub-sales .registration-box,.ub-sales .register-box {padding:20px; min-width:0}
.ub-sales .form-row {grid-template-columns:1fr}
}
.ub-sales .mk-links .btn {width:auto; flex:0 0 auto; min-width:0; padding:12px 20px}
.ub-sales .mk-hero .ub-billing {font-size:.875rem!important; line-height:1.6!important}
.ub-sales .mk-hero .btn-secondary {background:transparent!important; color:var(--text-primary)!important; border:1px solid var(--border)!important; box-shadow:none!important}

/* Homepage product walkthrough. */
.ub-sales .ub-demo-video {display:block; width:min(960px,calc(100vw - 48px)); max-width:100%; box-sizing:border-box; margin:0 auto 48px; min-width:0; scroll-margin-top:24px; overflow:hidden}
.ub-sales .ub-demo-video video {display:block; width:100%!important; max-width:100%; height:auto!important; aspect-ratio:16/9; object-fit:contain; background:#0e0d11; border-radius:8px}
.ub-sales .ub-demo-video figcaption {padding:18px 10px 10px}
.ub-sales .ub-demo-video h2 {font-size:1.15rem; line-height:1.4; margin:0 0 10px}
.ub-sales .ub-demo-video p {font-size:.95rem; line-height:1.6; color:var(--text-secondary); margin:0 0 10px}
.ub-sales .ub-demo-video .ub-demo-meta {font-size:.8rem; margin-bottom:0}

/* Homepage: editorial opening and a calmer, consistent product presentation. */
.ub-home .mk-wrap {max-width:1280px; padding:24px 32px 64px}
.ub-home .mk-nav {padding:14px 20px!important; border-radius:16px; box-shadow:none; margin-bottom:0}
.ub-home .mk-nav::after {display:none}
.ub-home .mk-brand {flex:0 0 64px!important; min-width:64px!important; max-width:64px!important; margin-right:20px!important}
.ub-home .mk-brand img {width:64px!important; height:64px!important; min-width:64px!important; max-width:64px!important; border-radius:12px}
.ub-home .btn {border-radius:9px!important; box-shadow:none!important}
.ub-home .btn-primary {background:#bc4f15!important; color:#fff!important; border-color:#bc4f15!important}
.ub-home .ub-opening {display:grid; grid-template-columns:1fr 1.06fr; gap:48px; align-items:center; padding:72px 0 80px}
.ub-home .mk-hero {margin:0; max-width:none; text-align:left}
.ub-home .mk-hero h1 {font-size:clamp(2.4rem,4.4vw,3.8rem)!important; letter-spacing:-.045em; line-height:1.04!important; background:none!important; color:var(--text-primary)!important; margin:0 0 24px!important; max-width:15ch}
.ub-home .mk-hero .ub-eyebrow {font-size:.72rem; letter-spacing:.1em; line-height:1.6; color:var(--text-secondary); margin-bottom:22px}
.ub-home .mk-hero .mk-sub {margin:0 0 14px!important; font-size:1.15rem!important; font-weight:600!important}
.ub-home .mk-hero p {line-height:1.7; font-size:1rem!important}
.ub-home .mk-hero .mk-cta-row {justify-content:flex-start; gap:12px}
.ub-home .mk-hero .mk-cta-row + .ub-billing {text-align:left; margin:12px 0 0}
.ub-home .ub-demo-video {width:100%; margin:0; padding:10px; border-radius:20px; background:var(--bg-surface); box-shadow:0 20px 60px rgba(0,0,0,.12); border:1px solid var(--border)}
.ub-home .ub-demo-video figcaption {padding:20px 14px 14px}
.ub-home .ub-demo-video h2 {font-size:1.2rem; letter-spacing:-.02em}
.ub-home .ub-demo-video p {font-size:.9rem}
.ub-home .mk-section {margin:0!important; padding:64px 0; border-top:1px solid var(--border)}
.ub-home .mk-section h2 {font-size:clamp(1.8rem,3vw,2.5rem)!important; letter-spacing:-.035em; margin-bottom:14px}
.ub-home .mk-section > .mk-sub {font-size:1.05rem!important; line-height:1.7; max-width:65ch; margin:0 auto 32px!important}
.ub-home .mk-card {border-radius:14px; border:1px solid var(--border); padding:24px; box-shadow:none!important; background:var(--bg-surface)}
.ub-home .ub-workflow .mk-card {text-align:left}
.ub-home .ub-step {border-radius:9px; background:var(--bg-muted); border-color:var(--border); color:var(--text-primary)}
.ub-home .ub-gallery {gap:24px}
.ub-home .ub-gallery .mk-card > div:last-child {background:var(--bg-muted)!important; min-height:0!important; padding:16px!important}
.ub-home .mk-feature-group {padding:28px; margin-bottom:20px!important; border-radius:16px; background:var(--bg-muted); text-align:left}
.ub-home .mk-feature-group > h3 {font-size:1.3rem!important; margin-bottom:20px!important}
.ub-home .mk-feature {padding:20px; margin:0!important; max-width:none!important; grid-column:auto!important}
.ub-home .mk-feature h4 {font-size:1rem!important}
.ub-home .mk-feature p {font-size:.95rem!important}
.ub-home .mk-price.featured {border:2px solid #bc4f15; transform:none}
.ub-home .mk-price-amount {font-size:2.3rem}
.ub-home .mk-cta-card {max-width:none!important; border:1px solid var(--border)!important; box-shadow:none!important; background:var(--bg-muted)!important}
.ub-home .mk-cta-card h2 {background:none!important; color:var(--text-primary)!important}
@media(max-width:1000px) {.ub-home .ub-opening {gap:28px}.ub-home .mk-links {gap:4px!important}.ub-home .mk-links .btn-primary {display:none!important}}
@media(max-width:800px) {.ub-home .ub-opening {grid-template-columns:1fr; padding:40px 0; gap:32px}.ub-home .mk-hero h1 {max-width:19ch}.ub-home .mk-wrap {padding:16px 20px 40px}.ub-home .mk-section {padding:40px 0}.ub-home .mk-feature-group {padding:20px}.ub-home .mk-grid-2 {grid-template-columns:1fr!important}}
@media(max-width:600px) {.ub-home .mk-nav {padding:10px!important}.ub-home .mk-brand,.ub-home .mk-brand img {width:48px!important; height:48px!important; min-width:48px!important; max-width:48px!important; flex-basis:48px!important}.ub-home .mk-brand {margin-right:4px!important}.ub-home .mk-hero {padding:0}.ub-home .mk-hero h1 {font-size:2.6rem!important}.ub-home .mk-feature-group .mk-grid-3 {grid-template-columns:1fr!important}.ub-home .mk-cta-card {padding:32px 20px!important}}

/* Larger brand mark and shared-workflow tagline. */
.ub-home .mk-brand {display:flex!important; align-items:center; gap:18px; flex:0 0 auto!important; width:auto!important; min-width:0!important; max-width:none!important; text-decoration:none}
.ub-home .mk-brand img {width:112px!important; height:112px!important; min-width:112px!important; max-width:112px!important; flex:0 0 112px!important; object-fit:contain}
.ub-home .mk-brand .ub-brand-tagline {display:block!important; font-size:15px!important; font-weight:600; line-height:1.45; letter-spacing:-.02em; color:var(--text-primary); white-space:nowrap}
@media(max-width:1100px) {.ub-home .mk-links .ub-section-link {display:none}}
@media(max-width:600px) {.ub-home .mk-brand {gap:12px; margin-right:0!important}.ub-home .mk-brand img {width:88px!important; height:88px!important; min-width:88px!important; max-width:88px!important; flex-basis:88px!important}.ub-home .mk-brand .ub-brand-tagline {font-size:14px!important}.ub-home .mk-nav {gap:12px}.ub-home .mk-links {justify-content:flex-start}}

/* Phone layout: deliberate navigation rows and comfortable touch targets. */
@media(max-width:600px) {
.ub-home .mk-wrap {padding:12px 16px 32px!important}
.ub-home .mk-nav {display:flex!important; flex-direction:column; align-items:stretch!important; gap:14px!important; padding:14px!important; border-radius:18px; margin:0!important}
.ub-home .mk-brand {width:100%!important; min-width:0!important; max-width:none!important; flex:0 0 auto!important; gap:16px}
.ub-home .mk-brand img {width:88px!important; height:88px!important; min-width:88px!important; max-width:88px!important; flex-basis:88px!important; margin:0!important}
.ub-home .mk-brand .ub-brand-tagline {font-size:14px!important; white-space:normal}
.ub-home .mk-links {width:100%!important; max-width:none!important; margin:0!important; padding:12px 48px 0 0!important; border-top:1px solid var(--border); display:flex!important; flex-direction:row!important; justify-content:space-between!important; align-items:center; gap:12px!important; box-sizing:border-box}
.ub-home #languageSelector {width:132px!important; min-width:0!important; max-width:132px!important; height:44px; margin:0!important; font-size:14px!important}
.ub-home .mk-links .mk-link {min-height:44px; display:inline-flex; align-items:center; box-sizing:border-box; padding:10px 8px!important; font-size:14px!important}
.ub-home #theme-toggle {position:absolute!important; top:103px!important; right:30px!important; width:42px!important; height:42px!important; min-width:42px; transform:none!important; box-shadow:none!important; z-index:10}
.ub-home .ub-opening {padding:32px 0!important; gap:28px!important}
.ub-home .mk-hero .ub-eyebrow {font-size:.68rem!important; letter-spacing:.09em; margin-bottom:14px; line-height:1.5}
.ub-home .mk-hero h1 {font-size:clamp(2rem,9vw,2.6rem)!important; line-height:1.08!important; letter-spacing:-.04em; margin-bottom:18px!important}
.ub-home .mk-hero .mk-sub {font-size:1.05rem!important; line-height:1.5; margin-bottom:12px!important}
.ub-home .mk-hero p {font-size:.95rem!important; line-height:1.65; margin-bottom:20px!important}
.ub-home .mk-hero .mk-cta-row {gap:10px; margin-top:18px!important; margin-bottom:0!important}
.ub-home .mk-hero .mk-cta-row .btn {min-height:48px; padding:13px 16px!important; font-size:15px!important; box-sizing:border-box}
.ub-home .mk-hero .mk-cta-row + .ub-billing {font-size:.75rem!important; text-align:center; margin:10px 0 0!important}
.ub-home .ub-demo-video {padding:7px!important; border-radius:16px; box-shadow:none}
.ub-home .ub-demo-video figcaption {padding:16px 10px 10px}
.ub-home .ub-demo-video h2 {font-size:1.1rem; line-height:1.4}
.ub-home .ub-demo-video p {font-size:.875rem; line-height:1.6}
.ub-home .mk-section {padding:32px 0!important}
.ub-home .mk-section h2 {font-size:1.65rem!important; line-height:1.2}
.ub-home .mk-section > .mk-sub {font-size:.95rem!important; margin-bottom:24px!important}
.ub-home .mk-grid-3,.ub-home .mk-grid-2,.ub-home .ub-gallery,.ub-home .mk-pricing {grid-template-columns:minmax(0,1fr)!important; gap:14px!important}
.ub-home .mk-card {padding:20px; min-width:0; box-sizing:border-box}
.ub-home .mk-feature-group {padding:18px; margin-bottom:16px!important}
.ub-home .mk-feature-group .mk-feature {background:transparent; border:0; border-top:1px solid var(--border); border-radius:0; padding:16px 0 0}
.ub-home .mk-feature-group h3 {font-size:1.2rem!important; line-height:1.4}
.ub-home .mk-price {padding:24px!important; text-align:left}
.ub-home .ub-plan-audience {min-height:0}
.ub-home .mk-price .btn,.ub-home .mk-cta-card .btn {min-height:48px; box-sizing:border-box; width:100%!important; min-width:0!important}
.ub-home .mk-footer {gap:20px; flex-direction:column; align-items:flex-start}
}

@media(max-width:600px) {.ub-home .mk-links .mk-link.ub-section-link {display:none!important}}
