/* Public Digital site only. The existing portal application is unchanged. */
:root[data-surface="digital"] {
  --mb-os-bg:#0a0a0a;--mb-os-canvas:#0a0a0a;--mb-os-surface:#1a1a1a;
  --mb-os-surface-raised:#2e2e2e;--mb-os-chrome:#0a0a0a;--mb-os-nav:#1a1a1a;
  --mb-os-control:#2e2e2e;--mb-os-control-hover:#393939;
  --mb-os-text:#fff;--mb-os-muted:#c5c5c5;--mb-os-line:#363636;
  --mb-os-primary:#ff5a00;--mb-os-accent:#ff5a00;--mb-os-blue:#ff5a00;
  --mb-os-cyan:#ff5a00;--mb-os-pink:#ff5a00;--mb-os-gold:#ff5a00;
  --bg:#0a0a0a;--panel:#1a1a1a;--panel2:#2e2e2e;--text:#fff;--muted:#c5c5c5;
  --line:#363636;--blue:#ff5a00;--cyan:#ff5a00;--pink:#ff5a00;--gold:#ff5a00;
}
html {scroll-padding-top:96px}
body {background:#0a0a0a!important}
.skip-link {
  position:fixed;left:16px;top:12px;z-index:1000;transform:translateY(-160%);
  padding:10px 14px;border:2px solid #ff8f52;border-radius:8px;
  background:#fff;color:#0a0a0a;font-weight:800;text-decoration:none;
}
.skip-link:focus {transform:translateY(0)}
body,.card,.panel,.price,.pill,.stat {box-shadow:none!important}
.nav {background:rgba(10,10,10,.96)!important}
.nav .wrap {min-height:76px}
.wrap {width:min(1120px,calc(100% - 40px))}
.hero {padding:66px 0 44px}
.hero h1 {font-size:clamp(38px,6vw,68px)!important;line-height:1.05!important;letter-spacing:-.045em!important;max-width:820px}
.hero p {font-size:20px;line-height:1.6;max-width:680px}
.section {padding:44px 0}
.section h2 {font-size:clamp(28px,3.8vw,42px);line-height:1.15}
.card,.panel,.price,.pill,.stat {background:#1a1a1a!important;border:1px solid #363636!important;border-radius:12px!important}
.card {min-height:0}
.card:before {display:none}
.btn,button[type="submit"],.search button {background:#ff5a00!important;color:#0a0a0a!important;box-shadow:none!important;border:1px solid #ff5a00;border-radius:8px;min-height:46px}
.btn.alt {background:transparent!important;border-color:#555!important;color:#fff!important}
.btn:hover,button[type="submit"]:hover {filter:brightness(1.12)}
button:disabled {opacity:.65;cursor:wait}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible {outline:3px solid #ff8f52!important;outline-offset:4px}
.eyebrow {background:transparent!important;border:0!important;border-radius:0;padding:0;color:#ff9962!important}
.tag,.tag.blue,.tag.pink,.tag.green {background:#2e2e2e!important;color:#fff!important;border-radius:5px}
.brand-lockup {display:none}
.grad {color:#fff;background:none;-webkit-text-fill-color:currentColor}
.mobile-sales-bar {background:#1a1a1a!important;border-color:#363636!important}
.mobile-sales-bar .primary {background:#ff5a00!important;color:#0a0a0a!important}
.mobile-sales-bar .primary span {color:#0a0a0a!important}
.mobile-sales-bar .secondary {color:#fff!important}
.start-form label,.lead-form label {display:block;margin-top:18px;font-size:14px;font-weight:650;color:#e6e6e6}
.start-form input,.start-form select,.start-form textarea,.lead-form input,.lead-form select,.lead-form textarea {
  display:block;width:100%;min-height:46px;margin:7px 0 0;padding:12px 14px;
  background:#111!important;color:#fff!important;border:1px solid #555;border-radius:8px;font:inherit
}
.start-form textarea,.lead-form textarea {resize:vertical}
.start-form option,.lead-form option {color:#fff;background:#111}
.start-form button,.lead-form button {margin-top:24px}
.form-privacy,.form-alternative {font-size:14px;line-height:1.6;color:#c5c5c5}
.form-privacy a,.form-alternative a,.lead-form-message a {text-decoration:underline;text-underline-offset:3px}
.lead-form-message {min-height:1.5em;line-height:1.6}
.home-hero .split {align-items:start;grid-template-columns:1.4fr 1fr}
.home-hero .package-price {font-size:48px;font-weight:750;letter-spacing:-.04em;margin:16px 0}
.home-hero .panel p {font-size:16px}
.home-hero .panel ul {padding-left:20px;color:#c5c5c5;line-height:1.9}
.home-hero .cta {margin-top:24px}
.home-hero h1 {margin-top:0}
.home-hero .section-kicker {font-size:14px;font-weight:650;color:#ff9962;margin-top:0}
.footer a:hover,.navlinks a:hover {text-decoration:underline;text-underline-offset:4px}
.navlinks a[aria-current="page"] {color:#ff9962;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:6px}
.demo-notice {border-left:3px solid #ff5a00;padding:12px 16px;margin-bottom:24px;color:#e6e6e6;background:#1a1a1a}
@media(max-width:980px){.navlinks {background:#1a1a1a!important}.home-hero .split {grid-template-columns:1fr}.hero{padding-top:36px}.hero p{font-size:18px}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.hero h1{font-size:40px!important}.cta .btn{width:100%}.card,.panel{padding:22px}.brand img{max-width:225px!important}.mobile-sales-bar .primary span{display:none}.section{padding:32px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*{transition:none!important;animation:none!important}}

@media(max-width:600px){.cost-table .row{grid-template-columns:1fr}.cost-table .row.head{display:none}}

/* Resilience: contain long customer/provider copy without hiding it. */
body[data-mobile-sales-shell="true"] :is(main,.footer,.navlinks,.mobile-sales-bar) {
  overflow-wrap:anywhere;
}
body[data-mobile-sales-shell="true"] :is(.grid,.split,.flow,.row,.cta,.search) > * {
  min-width:0;
}
body[data-mobile-sales-shell="true"] :is(input,select,textarea,.btn,.tag) {
  max-width:100%;
}
body[data-mobile-sales-shell="true"] :is(.btn,button,.mobile-sales-bar a) {
  white-space:normal;
  overflow-wrap:anywhere;
}
body[data-mobile-sales-shell="true"] .search input { min-width:0; }
body[data-mobile-sales-shell="true"] .brand { min-width:0; max-width:100%; }
body[data-mobile-sales-shell="true"] .brand img { object-fit:contain; }
@media(max-width:980px) {
  /* A short/zoomed viewport must still reach every open menu link. */
  body[data-mobile-sales-shell="true"] .navlinks.open {
    max-height:calc(100vh - 110px);
    max-height:calc(100dvh - 110px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
}

/* Approved audit: visible feedback, keyboard access and zoom-safe mobile layout. */
body[data-mobile-sales-shell="true"] .lead-field-error {
  color:#ffc9b0;font-size:.9375rem;line-height:1.5;margin:.5rem 0 0;
  overflow-wrap:anywhere;
}
body[data-mobile-sales-shell="true"] :is(.lead-form,.start-form) [aria-invalid="true"] {
  border-color:#ff9962;border-width:2px;
}
body[data-mobile-sales-shell="true"] :is(.menu-toggle,.search button) {
  min-height:44px;min-width:44px;
}
body .nav .wrap {gap:12px;flex-wrap:wrap;}
body .navlinks {min-width:0;flex-wrap:wrap;}
body .navlinks a {line-height:1.5;white-space:normal;}
body .navlinks.open {scroll-padding-block:8px;}
body .brand {flex-shrink:1;}
@media(max-width:980px) {
  body .brand {flex-basis:min(65%,245px);}
  body .brand img {width:100%!important;height:auto!important;}
  body .menu-toggle {flex:0 0 auto;}
  html[data-surface="digital"] body .navlinks.open {max-height:min(50dvh,calc(100dvh - 200px));overflow-y:auto;overscroll-behavior:contain;}
}
@media(max-width:720px) {
  /* Keep quick actions in the document flow: no fixed layer can cover a card,
     focused form field, or enlarged text. Existing labels/links stay unchanged. */
  body[data-mobile-sales-shell="true"] .mobile-sales-bar {
    position:relative;inset:auto;z-index:auto;margin:16px;
    grid-template-columns:minmax(0,1fr) auto;min-height:0;
  }
  body[data-mobile-sales-shell="true"] .mobile-sales-bar a {min-width:0;line-height:1.4;}
  body[data-mobile-sales-shell="true"] .mobile-sales-bar .secondary {width:auto;padding:10px 12px;}
  body[data-mobile-sales-shell="true"] {padding-bottom:env(safe-area-inset-bottom);}
  body[data-mobile-sales-shell="true"] :is(main,.footer) {padding-bottom:24px;}
}
@media(max-width:400px) {
  body[data-mobile-sales-shell="true"] .mobile-sales-bar {grid-template-columns:minmax(0,1fr);}
}

body[data-mobile-sales-shell="true"] :is(.lead-form,.start-form) :is(input,select,textarea) {border-color:#777;}
body[data-mobile-sales-shell="true"] :is(.lead-form,.start-form) :is(input,textarea)::placeholder {color:#c5c5c5;opacity:1;}
body[data-mobile-sales-shell="true"] :is(.lead-form,.start-form) [aria-invalid="true"] {border-color:#ff9962;}

body[data-mobile-sales-shell="true"] :is(.btn,button[type="submit"],.search button) {font:inherit;font-weight:800;line-height:1.4;}

/* Legal/contact pages share this stylesheet without the sales-shell attribute. */
body :is(main,.footer,.navlinks) {overflow-wrap:anywhere;}
body :is(.card,.panel,.price,.stat) {border-color:#555!important;}
