/* ==========================================================================
   Buyer pages (21 Oct 2026): /pricing, /solutions, /solutions/{slug}, /managed-service, /integrations,
   the Solutions dropdown in the nav and the 4th footer column. Loaded last. Classes use bx-.
   Spec: 8px spacing grid; tokens from site.css / brand.css; all text pairs WCAG AA (see DESIGN_SPEC.md).
   ========================================================================== */

/* ---------- Page header ---------- */
.jhero--helix { --space: url("/space/helix-1920.webp"); --space-sm: url("/space/helix-960.webp"); }
.jhero--helix::before { background-position: 75% 55%; }
.bx-hero .jhero__title { max-width: 19ch; text-wrap: balance; }
.bx-hero .jhero__lede { max-width: 62ch; }
.bx-hero .crumbs [aria-current] { color: #E4E8FA; }

/* ---------- Nav: Solutions dropdown ---------- */
.bx-navdd { position: relative; }
.bx-navdd > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; cursor: pointer; user-select: none;
  color: var(--ink-2); font-size: .92rem; transition: background-color .2s, color .2s; }
.bx-navdd > summary::-webkit-details-marker { display: none; }
.bx-navdd > summary:hover, .bx-navdd > summary.is-active, .bx-navdd[open] > summary { background: rgba(11, 16, 51, .06); color: var(--ink); }
.bx-navdd > summary svg { transition: transform .2s var(--ease); }
.bx-navdd[open] > summary svg { transform: rotate(180deg); }
.bx-navdd__panel { position: absolute; left: -16px; top: calc(100% + 16px); z-index: 80; width: 640px; max-width: calc(100vw - 32px); padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 32px 64px -24px rgba(11, 16, 51, .38), 0 2px 6px rgba(11, 16, 51, .06); }
.bx-navdd[open] .bx-navdd__panel { animation: bx-pop .18s var(--ease); }
@keyframes bx-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.bx-navdd__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4px; }
.nav__menu .bx-navdd__grid a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 12px; color: var(--ink); font-size: .9rem; line-height: 1.3; background: none; }
.nav__menu .bx-navdd__grid a:hover, .nav__menu .bx-navdd__grid a[aria-current] { background: rgba(63, 91, 245, .08); color: var(--ink); }
.bx-navdd__ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(63, 91, 245, .08); }
.bx-navdd__ic svg { width: 18px; height: 18px; fill: none; stroke: #2B3FC4; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bx-navdd__foot { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; padding: 8px 4px 0; border-top: 1px solid var(--line); }
.nav__menu .bx-navdd__foot a { padding: 8px 12px; border-radius: 999px; font-size: .86rem; font-weight: 500; color: #2B3FC4; }
.nav__menu .bx-navdd__foot a:hover { background: rgba(63, 91, 245, .08); color: #2B3FC4; }
.nav__menu .bx-navdd__foot a:first-child { margin-right: auto; }
/* Mid widths: seven menu items, the sign-in pair and the language switch on one line. */
.nav__menu > a, .bx-navdd > summary { white-space: nowrap; }
@media (max-width: 1279px) and (min-width: 1081px) {
  .nav__inner { gap: 12px; }
  .nav__menu { gap: 0; margin-left: 0; }
  .nav__menu > a, .bx-navdd > summary { padding-inline: 8px; font-size: .88rem; }
  .nav__cta { gap: 4px; }
  .nav__cta .btn { padding-inline: 14px; }
  .langsw { margin-left: 4px; }
}
/* QA 21 Oct: English fits with the wordmark at every desktop width (47px+ spare at 1081), so it stays visible.
   Spanish and Portuguese labels are longer: they use the compact items at every desktop width (at 1280+ the language
   switch was pushed out of the pill) and drop only the wordmark at 1081 to 1199px. Nothing in the bar may shrink. */
.nav__cta, .langsw, .bx-navdd > summary svg, .nav .brand__mark { flex: none; }
@media (min-width: 1081px) {
  html:is(:lang(es), :lang(pt)) .nav__inner { gap: 12px; }
  html:is(:lang(es), :lang(pt)) .nav__menu { gap: 0; margin-left: 0; }
  html:is(:lang(es), :lang(pt)) .nav__menu > a, html:is(:lang(es), :lang(pt)) .bx-navdd > summary { padding-inline: 8px; font-size: .88rem; }
  html:is(:lang(es), :lang(pt)) .nav__cta { gap: 4px; }
  html:is(:lang(es), :lang(pt)) .nav__cta .btn { padding-inline: 14px; }
  html:is(:lang(es), :lang(pt)) .langsw { margin-left: 4px; }
}
@media (max-width: 1199px) and (min-width: 1081px) { html:is(:lang(es), :lang(pt)) .nav .brand__word { display: none; } html:is(:lang(es), :lang(pt)) .nav__inner { gap: 8px; } }
/* Desktop dropdown: centred under the pill (never past the viewport edge, whatever the label length), equal row heights. */
@media (min-width: 1081px) {
  .nav__inner { position: relative; }
  .bx-navdd { position: static; }
  .bx-navdd__panel { left: 0; right: 0; top: calc(100% + 10px); width: min(760px, calc(100% - 16px)); max-width: none; margin-inline: auto; }
  .bx-navdd__grid { grid-auto-rows: 1fr; }
  .nav__menu .bx-navdd__grid a { height: 100%; }
}
@media (max-width: 1080px) {
  .nav[data-open] .nav__menu { max-height: calc(100dvh - 96px); overflow-y: auto; overscroll-behavior: contain; }
  .bx-navdd > summary { display: flex; justify-content: space-between; width: 100%; padding: 12px; font-size: 1rem; border-radius: 12px; }
  .bx-navdd__panel { position: static; width: auto; max-width: none; padding: 0 0 8px; border: 0; border-radius: 0; box-shadow: none; background: transparent; animation: none !important; }
  .bx-navdd__grid { grid-template-columns: 1fr; }
  .nav__menu .bx-navdd__grid a { min-height: 44px; padding: 8px 12px 8px 16px; font-size: .95rem; }
  .bx-navdd__ic { width: 28px; height: 28px; border-radius: 8px; }
  .bx-navdd__foot { display: grid; gap: 0; padding: 8px 0 0 4px; }
  .nav__menu .bx-navdd__foot a { display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; margin: 0; }
  .nav__menu .bx-navdd__foot a:first-child { margin-right: 0; }
}

/* ---------- Footer: four columns ---------- */
@media (min-width: 641px) { .footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1081px) { .footer__top { grid-template-columns: minmax(0, .75fr) minmax(0, 1.65fr); } }

/* ---------- Pricing: engagement models ---------- */
.bx-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bx-plan { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 32px 24px 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.bx-plan:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-2px); }
.bx-plan__k { display: flex; align-items: center; gap: 8px; font-size: .66rem; letter-spacing: .12em; color: #2B3FC4; }
.bx-plan__k span { display: grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(63, 91, 245, .1); }
.bx-plan h3 { font-size: 1.32rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.bx-plan__text { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.bx-plan .mk-list { font-size: .92rem; gap: 8px; }
.bx-plan__price { display: grid; gap: 8px; margin: auto 0 0; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
.bx-plan__price div { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.bx-plan__price dt { font-size: .62rem; letter-spacing: .1em; color: #4A5178; }
.bx-plan__price dd { margin: 0; font-size: .92rem; line-height: 1.4; color: var(--ink-2); }
.bx-plan__price dd b { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
/* Featured: the pilot, full width, dark. */
.bx-plan--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-areas: "k list" "h list" "t price"; gap: 12px 48px; align-items: start;
  padding: clamp(24px, 4vw, 40px); border-color: transparent; color: #fff; background: var(--grad-aurora), linear-gradient(140deg, #070A1C 0%, #0E1650 60%, #17237A 100%); }
.bx-plan--featured .bx-plan__k { grid-area: k; color: #C9D3FF; }
.bx-plan--featured .bx-plan__k span { background: rgba(201, 211, 255, .16); }
.bx-plan--featured h3 { grid-area: h; font-size: clamp(1.6rem, 2.6vw, 2.1rem); color: #fff; }
.bx-plan--featured .bx-plan__text { grid-area: t; color: #C9D0E6; font-size: 1.04rem; max-width: 52ch; }
.bx-plan--featured .mk-list { grid-area: list; align-self: center; font-size: .98rem; }
.bx-plan--featured .mk-list li { color: #D3D9F2; }
.bx-plan--featured .mk-list li::before { background: rgba(157, 178, 255, .18) var(--check-mint) center / 10px no-repeat; }
.bx-plan--featured .bx-plan__price { grid-area: price; margin: 0; border-top-color: rgba(201, 208, 223, .24); }
.bx-plan--featured .bx-plan__price dt { color: #AEB9D5; }
.bx-plan--featured .bx-plan__price dd { color: #C9D0E6; }
.bx-plan--featured .bx-plan__price dd b { color: #fff; }
.bx-plan--featured:focus-within :focus-visible { outline-color: #C9D3FF; }

/* What shapes a quote */
.bx-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bx-split .mk-h2 { margin-bottom: 16px; }
.bx-drivers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; counter-reset: bx; }
.bx-drivers li { counter-increment: bx; display: grid; gap: 4px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.bx-drivers li::before { content: counter(bx, decimal-leading-zero); margin-bottom: 8px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: #2B3FC4; }
.bx-drivers b { font-size: 1.06rem; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
.bx-drivers span { color: var(--ink-2); font-size: .93rem; line-height: 1.5; }

/* Two highlight bands */
.mk-sec:not(.mk-sec--tint) + .bx-bands-sec { padding-top: 0; }
.bx-bands { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bx-band { display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--line); }
.bx-band .mk-card__k { font-size: .66rem; letter-spacing: .12em; color: #2B3FC4; }
.bx-band__h { font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 550; text-wrap: balance; }
.bx-band__h .serif { color: var(--ink-2); }
.bx-band > p:not(.mk-card__k) { color: var(--ink-2); line-height: 1.6; max-width: 52ch; }
.bx-band .mk-actions { margin-top: auto; padding-top: 8px; }
.bx-band--dark { border-color: transparent; color: #fff; background: var(--grad-aurora), linear-gradient(150deg, #0B1033, #17237A); }
.bx-band--dark .mk-card__k { color: #C9D3FF; }
.bx-band--dark .bx-band__h { color: #fff; }
.bx-band--dark .bx-band__h .serif { color: #C9D3FF; }
.bx-band--dark > p:not(.mk-card__k) { color: #D3D9F2; }
.bx-band--dark :focus-visible { outline-color: #C9D3FF; }

/* ---------- Evidence pack (how vetting works) ---------- */
.bx-evidence { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.bx-evidence .mk-h2 { margin-bottom: 16px; }
.bx-evidence__list { margin: 24px 0 32px; }
.bx-evidence__list b { color: var(--ink); font-weight: 600; }
.bx-pack { display: grid; gap: 16px; padding: 24px; border-radius: var(--radius-lg); text-decoration: none; color: var(--ink); background: var(--card); border: 1px solid var(--line);
  box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.bx-pack:hover { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(11, 16, 51, .04), 0 32px 70px -28px rgba(11, 16, 51, .4); }
.bx-pack__bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .7rem; letter-spacing: .12em; color: #2B3FC4; }
.bx-pack__ribbon { padding: 4px 10px; border-radius: 999px; font-size: .62rem; color: #7A4B00; background: #FFF1CC; }
.bx-pack__who { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line-strong); }
.bx-pack__avatar { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; font-weight: 600; font-size: .9rem; color: #fff; background: var(--grad-brand);
  box-shadow: 0 8px 18px -8px rgba(63, 91, 245, .8); }
.bx-pack__who b { display: block; font-size: 1.04rem; font-weight: 600; letter-spacing: -.015em; }
.bx-pack__who small { display: block; margin-top: 2px; font-size: .84rem; color: var(--muted); }
.bx-pack__rows { display: grid; gap: 8px; }
.bx-pack__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: .93rem; color: var(--ink-2); border-bottom: 1px solid #EEF0F7; }
.bx-pack__row:last-child { border-bottom: 0; }
.bx-pack__row i { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-style: normal; font-size: .78rem; font-weight: 500; color: #0A6B58; background: rgba(14, 124, 102, .1); }
.bx-pack__row i::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: #0E7C66 var(--check-white) center / 9px no-repeat; }
.bx-pack__foot { font-size: .7rem; letter-spacing: .1em; color: #2B3FC4; }

/* ---------- Solutions index and related tiles ---------- */
.bx-sols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bx-sols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bx-sol { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 16px; align-items: start; align-content: start; height: 100%; padding: 24px; border-radius: var(--radius); text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.bx-sol:hover { border-color: rgba(63, 91, 245, .45); box-shadow: var(--shadow); transform: translateY(-2px); }
.bx-sol .mk-icon { margin: 0; }
.bx-sol__body { display: grid; gap: 4px; min-width: 0; }
.bx-sol__k { font-size: .64rem; letter-spacing: .12em; color: #2B3FC4; }
.bx-sol__t { font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.bx-sol__d { margin-top: 4px; color: var(--ink-2); font-size: .94rem; line-height: 1.5; }
.bx-sol__go { align-self: center; font-size: 1.2rem; color: #2B3FC4; transition: transform .25s var(--ease); }
.bx-sol:hover .bx-sol__go { transform: translateX(3px); }
.bx-sols--3 .bx-sol { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.bx-sols--3 .bx-sol__go { display: none; }

/* ---------- Solution page sections ---------- */
.bx-problem { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.bx-problem__body { display: grid; gap: 16px; }
.bx-problem__body > p { color: var(--ink-2); font-size: 1.08rem; line-height: 1.65; max-width: 62ch; }
.bx-xlist { display: grid; gap: 8px; margin-top: 8px; padding: 24px; border-radius: var(--radius); background: var(--paper-2); }
.bx-xlist li { position: relative; padding-left: 32px; color: var(--ink); font-weight: 500; line-height: 1.45; }
.bx-xlist li::before { content: ""; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(194, 59, 59, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5M8.5 3.5l-5 5' fill='none' stroke='%23B42E2E' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.bx-formats { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-strong); }
.bx-formats > .mono { font-size: .66rem; letter-spacing: .12em; color: #4A5178; }
.bx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-chips li { padding: 6px 12px; border-radius: 999px; font-size: .86rem; color: #1B2CA8; background: #EEF1FF; border: 1px solid #DCE3FF; }
.bx-sample { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 4px 24px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg); text-decoration: none; color: var(--ink);
  background: linear-gradient(135deg, #fff, #EEF1FF); border: 1px solid #DCE3FF; transition: box-shadow .35s var(--ease), transform .35s var(--ease); }
.bx-sample:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bx-sample__k { grid-column: 1; font-size: .66rem; letter-spacing: .12em; color: #2B3FC4; }
.bx-sample__t { grid-column: 1; margin-top: 4px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 550; letter-spacing: -.03em; line-height: 1.2; }
.bx-sample__d { grid-column: 1; margin-top: 4px; color: var(--ink-2); line-height: 1.6; max-width: 70ch; }
.bx-sample__go { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: #3550E8; font-size: 1.1rem;
  transition: transform .25s var(--ease); }
.bx-sample:hover .bx-sample__go { transform: translateX(3px); }

/* ---------- Integrations ---------- */
.bx-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bx-tool { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.bx-tool__mono { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 8px; border-radius: 14px; font-size: .9rem; font-weight: 500; letter-spacing: .04em; color: #fff;
  background: var(--grad-brand); box-shadow: 0 8px 18px -10px rgba(63, 91, 245, .9); }
.bx-tool h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.02em; }
.bx-tool p { color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.bx-tool--own { background: transparent; border: 1.5px dashed rgba(63, 91, 245, .45); }
.bx-tool--own .bx-tool__mono { font-size: 1.4rem; color: #2B3FC4; background: rgba(63, 91, 245, .1); box-shadow: none; }
.bx-fine { max-width: 80ch; margin-top: 24px; font-size: .86rem; line-height: 1.55; color: var(--muted); }

/* ---------- Managed service ---------- */
.bx-aside-alt { margin-top: 24px; color: var(--ink-2); }
.bx-form .grid2 { gap: 0 16px; }
.bx-form textarea { min-height: 128px; }
.bx-form form > .err { display: block; margin-top: 4px; color: #a4262c; font-size: .8rem; }
.bx-form input[type="date"] { min-height: 46px; }

/* ---------- Buyer CTA: tighter paths ---------- */
.bx-cta .mk-path .mk-actions { gap: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .bx-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-steps5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bx-steps5 > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .bx-split, .bx-evidence, .bx-problem, .bx-bands { grid-template-columns: minmax(0, 1fr); }
  .bx-sols--3 { grid-template-columns: minmax(0, 1fr); }
  .bx-sols--3 .bx-sol { grid-template-columns: 40px minmax(0, 1fr); }
  .bx-plan--featured { grid-template-columns: minmax(0, 1fr); grid-template-areas: "k" "h" "t" "list" "price"; }
}
@media (max-width: 700px) {
  .bx-plans, .bx-tools, .bx-sols, .bx-drivers, .bx-steps5 { grid-template-columns: minmax(0, 1fr); }
  .bx-sol { grid-template-columns: 40px minmax(0, 1fr); padding: 20px; }
  .bx-sol__go { display: none; }
  .bx-sample { grid-template-columns: minmax(0, 1fr); }
  .bx-sample__go { display: none; }
  .bx-xlist { padding: 16px; }
  .bx-plan { padding: 24px 20px 20px; }
}
@media (max-width: 640px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .bx-plan, .bx-sol, .bx-pack, .bx-sample, .bx-navdd > summary svg, .bx-sol__go, .bx-sample__go { transition: none; }
  .bx-plan:hover, .bx-sol:hover, .bx-pack:hover, .bx-sample:hover { transform: none; }
  .bx-navdd[open] .bx-navdd__panel { animation: none; }
}

/* ==========================================================================
   QA pass (21 Oct 2026, second designer). Additive: everything below refines the rules above.
   ========================================================================== */

/* ---------- Hero: imagery like the established pages, and a product card in the empty right half (>= 1181px) ---------- */
.jhero--carina-h { --space: url("/space/carina-1920.webp"); --space-sm: url("/space/carina-960.webp"); }
.jhero--carina-h::before { background-position: 70% 40%; }
.jhero--quintet-h { --space: url("/space/quintet-2560.webp"); --space-sm: url("/space/quintet-1280.webp"); }
.jhero--quintet-h::before { background-position: 80% 45%; }
.jhero--rho-h { --space: url("/space/rho-2560.webp"); --space-sm: url("/space/rho-1280.webp"); }
.bx-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.bx-hcard { display: none; }
@media (min-width: 1181px) {
  .bx-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 400px); gap: 64px; align-items: start; }
  .bx-hcard { display: grid; margin-top: -42px; } /* top edge level with the breadcrumb */
}
.bx-hcard { gap: 14px; align-content: start; padding: 20px 24px; border-radius: 20px; color: #E4E8FA; background: rgba(11, 16, 51, .74); border: 1px solid rgba(201, 211, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 40px -28px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.bx-hcard__k { display: flex; align-items: center; gap: 12px; font-size: .7rem; letter-spacing: .12em; color: #C9D3FF; }
.bx-hcard__ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(201, 211, 255, .12); }
.bx-hcard__ic svg { width: 18px; height: 18px; fill: none; stroke: #C9D3FF; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bx-hcard__list { display: grid; }
.bx-hcard__list li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid rgba(201, 211, 255, .12); font-size: .96rem; line-height: 1.4; color: #E4E8FA; }
.bx-hcard__list li:first-child { border-top: 0; padding-top: 4px; }
.bx-hcard__list li::before { content: ""; position: absolute; left: 0; top: calc(50% - 10px); width: 20px; height: 20px; border-radius: 50%; background: rgba(157, 178, 255, .18) var(--check-mint) center / 10px no-repeat; }
.bx-hcard__list li:first-child::before { top: calc(50% - 14px); }
.bx-hcard__steps { display: grid; counter-reset: bxs; }
.bx-hcard__steps li { counter-increment: bxs; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 12px; align-items: start; padding: 10px 0; border-top: 1px solid rgba(201, 211, 255, .12); }
.bx-hcard__steps li:first-child { border-top: 0; padding-top: 4px; }
.bx-hcard__steps li::before { content: counter(bxs, decimal-leading-zero); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  font-family: var(--font-mono); font-size: .7rem; color: #C9D3FF; background: rgba(201, 211, 255, .1); border: 1px solid rgba(201, 211, 255, .2); }
.bx-hcard__steps b { font-size: .98rem; font-weight: 600; color: #fff; letter-spacing: -.01em; line-height: 1.35; }
.bx-hcard__steps span { font-size: .88rem; color: #AEB9D5; line-height: 1.45; }
.bx-hcard__rows { display: grid; margin: 0; }
.bx-hcard__rows div { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid rgba(201, 211, 255, .12); }
.bx-hcard__rows div:first-child { border-top: 0; padding-top: 4px; }
.bx-hcard__rows dt { font-size: .68rem; letter-spacing: .12em; color: #C9D3FF; }
.bx-hcard__rows dd { margin: 0; font-size: .96rem; line-height: 1.45; color: #E4E8FA; }
.bx-hcard__fmt { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(201, 211, 255, .12); }
.bx-hcard__fmt > p { font-size: .68rem; letter-spacing: .12em; color: #AEB9D5; }
.bx-hcard__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bx-hcard__chips li { padding: 4px 10px; border-radius: 999px; font-size: .8rem; color: #DCE3FF; background: rgba(201, 211, 255, .1); border: 1px solid rgba(201, 211, 255, .16); }
.bx-hcard__tools { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bx-hcard__tools li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px; border-radius: 12px; font-size: .9rem; color: #E4E8FA; background: rgba(201, 211, 255, .06); border: 1px solid rgba(201, 211, 255, .1); }
.bx-hcard__tools li > span { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; font-family: var(--font-mono); font-size: .7rem; color: #fff; background: var(--grad-brand); }
.bx-hcard__tools li.is-own { border-style: dashed; border-color: rgba(201, 211, 255, .3); background: transparent; }
.bx-hcard__tools li.is-own > span { color: #C9D3FF; background: rgba(201, 211, 255, .12); font-size: 1rem; }
.bx-hcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 12px 16px; border-radius: 12px;
  font-size: .9rem; font-weight: 500; color: #fff; text-decoration: none; background: rgba(201, 211, 255, .1); transition: background-color .2s; }
.bx-hcard__foot:hover { background: rgba(201, 211, 255, .18); color: #fff; }
p.bx-hcard__foot { font-weight: 400; color: #C9D0E6; background: none; padding: 0; min-height: 0; font-size: .86rem; }
/* The trust note under the hero buttons breaks between phrases, never inside one. */
.mk-jhero-note .bx-nw { white-space: nowrap; }

/* ---------- Typography: no orphans in headings, no one-word last lines in cards ---------- */
.jhero__title, .mk-h2, .bx-band__h, .bx-sample__t, #expert-signup, .mk-card h3, .bx-plan h3 { text-wrap: balance; }
.mk-card p, .mk-steps p, .bx-plan__text, .bx-plan .mk-list li, .bx-tool p, .bx-sol__d, .bx-drivers span, .bx-band > p, .bx-problem__body > p, .mk-lede, .jhero__lede, .bx-sample__d { text-wrap: pretty; }
/* "Send 20 model outputs." then the serif clause on its own line, instead of a stray "We" at the end of line one. */
.bx-band__h .serif { display: inline-block; }

/* ---------- Pricing: every model ends in an action ---------- */
.bx-plan__go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-bottom: -8px; font-size: .92rem; font-weight: 500; color: #2B3FC4; text-decoration: none; }
.bx-plan__go span { transition: transform .25s var(--ease); }
.bx-plan__go:hover { color: #1B2CA8; }
.bx-plan__go:hover span { transform: translateX(3px); }
.bx-plan--featured { grid-template-areas: "k list" "h list" "t price" "cta price"; }
.bx-plan--featured .bx-plan__cta { grid-area: cta; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
@media (max-width: 900px) { .bx-plan--featured { grid-template-areas: "k" "h" "t" "list" "price" "cta"; } }
/* What shapes a quote: the heading column stays in view while the six cards scroll past. */
@media (min-width: 901px) { .bx-split > div:first-child { position: sticky; top: 112px; } }

/* ---------- Solution pages: the problem list sits under the heading, balancing the two columns ---------- */
.bx-problem--v2 { grid-template-areas: "head body" "list body"; grid-template-rows: auto 1fr; row-gap: 32px; }
.bx-problem--v2 > .bx-problem__head { grid-area: head; }
.bx-problem--v2 > .bx-problem__body { grid-area: body; }
.bx-problem--v2 > .bx-xlist { grid-area: list; align-self: start; margin-top: 0; }
@media (max-width: 900px) { .bx-problem--v2 { grid-template-areas: "head" "body" "list"; grid-template-rows: auto; row-gap: 24px; } }

/* ---------- Managed-service form: readable errors (14px) ---------- */
.bx-form .err, .bx-form form > .err { font-size: .875rem; line-height: 1.4; margin-top: 6px; }

/* ---------- Tap targets on phones (44px): breadcrumbs, stand-alone text links, footer links ---------- */
@media (max-width: 700px) {
  .bx-hero .crumbs a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -14px; }
  /* An invisible hit area keeps the underline where it is. */
  .mk-context .mk-link, .bx-aside-alt .mk-link, .mk-lede .mk-link { position: relative; }
  .mk-context .mk-link::after, .bx-aside-alt .mk-link::after, .mk-lede .mk-link::after { content: ""; position: absolute; inset: -12px -4px; }
  .footer__cols a { display: flex; align-items: center; min-height: 44px; padding-block: 0 !important; }
}
/* The help button never sits on top of the open phone menu. */
body:has(.nav[data-open]) .hw { display: none; }
/* The logo link is a 44px tap target too. */
.nav .brand { min-height: 44px; }
