/*
 * MIRDXB PRO - Business Setup hub v2 (Oct 2026)
 * Loads after the homepage v2 design system (home/mdx-home.css) and only adds
 * what this page needs. Scoped to .bsd, .bsd-contact, .bs-disc and .bs-disc-sec.
 */

/* split section heads share one row (the homepage rule leaves them to wrap) */
.bsd .hv-head--split > div:first-child { flex: 1 1 480px; min-width: 0; }
.bsd .hv-head--split > .hv-head__p { flex: 0 1 460px; }

/* ============================================================ HERO */
.bsd .hv-hero__copy { max-width: 720px; }
.bsd .hv-h1__big { font-size: clamp(42px, 5.6vw, 84px); line-height: 1; }
.bsd .bs-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; font: 500 13px/1.4 Inter, sans-serif; color: rgba(255, 255, 255, .56); animation: hv-up .8s var(--hv-ease) both; }
.bsd .bs-crumb a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.bsd .bs-crumb a:hover { color: #fff; }
.bsd .bs-crumb span[aria-hidden] { color: rgba(255, 255, 255, .32); }
.bsd .bs-hero__note { margin-top: 24px; max-width: 54ch; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .62); animation: hv-up .9s var(--hv-ease) .5s both; }
.bsd .bs-hero__note a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--hv-teal); }
.bsd .bs-hero__note a:hover { color: var(--hv-teal); }

/* ============================================================ PROOF: free zone logos */
.bsd .bs-logos img { max-height: 52px; max-width: 100%; }
.bsd .bs-logos li.is-tall img { max-height: 70px; }
.bsd .bs-logos li.is-dk img { filter: brightness(0); opacity: .86; }

/* ============================================================ OVERVIEW */
.bsd .bs-over .hv-def__copy .hv-h2 { max-width: 20ch; }
.bsd .bs-fig { margin-top: 40px; }
.bsd .bs-fig img { width: 100%; border: 1px solid var(--hv-line); }
.bsd .bs-fig figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--hv-muted); }

.bsd .bs-plan { position: sticky; top: calc(var(--hv-head) + 24px); background: #fff; border: 1px solid var(--hv-line); border-top: 4px solid var(--hv-teal); padding: clamp(28px, 3vw, 40px); box-shadow: 0 40px 80px -48px rgba(5, 0, 46, .4); }
.bsd .bs-plan__k { display: flex; align-items: center; justify-content: space-between; font: 600 12px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--hv-muted); margin-bottom: 18px; }
.bsd .bs-plan__seal { padding: 7px 10px; background: var(--hv-ink); color: #fff; letter-spacing: .12em; }
.bsd .bs-plan__h { font: 800 clamp(24px, 2.2vw, 30px)/1.15 Inter, sans-serif; letter-spacing: -.028em; color: var(--hv-ink); text-wrap: balance; margin-bottom: 10px; }
.bsd .bs-plan__h em { font-style: normal; color: var(--hv-accent-h); }
.bsd .bs-plan .hv-checks li { font-size: 15px; font-weight: 400; color: var(--hv-body); padding: 14px 0; }
.bsd .bs-plan .hv-checks strong { color: var(--hv-ink); font-weight: 700; }
.bsd .bs-plan .hv-checks .hv-i { color: var(--hv-teal); }
.bsd .bs-plan__by { display: flex; align-items: center; gap: 14px; margin: 18px 0 22px; padding-top: 18px; border-top: 1px solid var(--hv-line); }
.bsd .bs-plan__by img { width: 52px; height: 52px; object-fit: cover; flex: 0 0 auto; }
.bsd .bs-plan__by strong { display: block; font-size: 15px; color: var(--hv-ink); }
.bsd .bs-plan__by span { display: block; font-size: 13px; line-height: 1.45; color: var(--hv-muted); }
.bsd .bs-plan__btn { width: 100%; }

/* six files: one connected row (uniform connectedness, Pragnanz) */
.bsd .bs-files { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-top: clamp(56px, 6vw, 88px); border-top: 1.5px solid var(--hv-ink); }
.bsd .bs-files li { position: relative; padding: 26px 18px 6px 0; }
.bsd .bs-files li + li { padding-left: 18px; border-left: 1px solid var(--hv-line); }
.bsd .bs-files li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--hv-ink); }
.bsd .bs-files li + li::before { left: -5px; }
.bsd .bs-files__n { display: block; font: 700 12px/1 Inter, sans-serif; letter-spacing: .1em; color: var(--hv-muted); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.bsd .bs-files .hv-i { width: 28px; height: 28px; color: var(--hv-ink); margin-bottom: 14px; display: block; }
.bsd .bs-files h3 { font-size: 16.5px; font-weight: 700; color: var(--hv-ink); letter-spacing: -.01em; margin-bottom: 6px; }
.bsd .bs-files p { font-size: 14px; line-height: 1.55; }

/* ============================================================ ROUTES */
.bsd .bs-routes { background: #fff; }
.bsd .bs-routes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bsd .bs-route { --rc: var(--hv-ink); position: relative; display: flex; flex-direction: column; min-height: 400px; padding: 36px 32px 30px; background: #fff; border: 1px solid var(--hv-line); border-top: 3px solid var(--rc); transition: transform .45s var(--hv-ease), box-shadow .45s var(--hv-ease), border-color .45s var(--hv-ease); }
.bsd .bs-route--fz { --rc: var(--hv-teal); }
.bsd .bs-route--off { --rc: var(--hv-accent); }
.bsd .bs-route:hover { transform: translateY(-5px); box-shadow: var(--hv-shadow); border-color: var(--hv-ink); border-top-color: var(--rc); }
.bsd .bs-route__icon { width: 56px; height: 56px; display: grid; place-items: center; background: var(--hv-surface); color: var(--hv-ink); margin-bottom: 28px; }
.bsd .bs-route__icon .hv-i { width: 28px; height: 28px; }
.bsd .bs-route__k { font: 600 12px/1.3 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--hv-muted); margin-bottom: 10px; }
.bsd .bs-route__t { font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; line-height: 1.1; letter-spacing: -.03em; color: var(--hv-ink); margin-bottom: 14px; }
.bsd .bs-route__d { font-size: 15.5px; line-height: 1.6; margin-bottom: 26px; }
.bsd .bs-route__go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; align-self: flex-start; font: 700 14px/1.3 Inter, sans-serif; color: var(--hv-ink); text-decoration: none; border-bottom: 2px solid var(--hv-accent); }
.bsd .bs-route__go .hv-i { transition: transform .3s var(--hv-ease); }
.bsd .bs-route__go:hover .hv-i { transform: translateX(4px); }

.bsd .bs-compare { margin-top: clamp(48px, 5vw, 72px); }
.bsd .bs-compare__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.bsd .bs-compare__hint { display: none; align-items: center; gap: 8px; white-space: nowrap; flex: 0 0 auto; font: 600 12px/1 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-muted); }
.bsd .bs-compare__scroll:focus-visible { outline: 3px solid var(--hv-teal); outline-offset: 4px; }
.bsd .bs-table, .bsd .bs-table th, .bsd .bs-table td { border: 0; background: none; }
.bsd .bs-table { width: 100%; border-collapse: collapse; font-size: 15px; table-layout: fixed; margin: 0; }
.bsd .bs-table thead th { padding: 0 20px 16px; text-align: left; vertical-align: bottom; font: 800 17px/1.25 Inter, sans-serif; letter-spacing: -.01em; color: var(--hv-ink); border-bottom: 1.5px solid var(--hv-ink); }
.bsd .bs-table thead th:first-child { width: 19%; padding-left: 0; }
.bsd .bs-table thead th + th::before { content: ""; display: block; width: 28px; height: 3px; margin-bottom: 14px; background: var(--hv-ink); }
.bsd .bs-table thead th:nth-child(3)::before { background: var(--hv-teal); }
.bsd .bs-table thead th:nth-child(4)::before { background: var(--hv-accent); }
.bsd .bs-table tbody th, .bsd .bs-table tbody td { padding: 16px 20px; border-bottom: 1px solid var(--hv-line); vertical-align: top; text-align: left; line-height: 1.5; }
.bsd .bs-table tbody th { padding-left: 0; font: 600 12px/1.5 Inter, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--hv-muted); }
.bsd .bs-table tbody td { color: var(--hv-body); }
.bsd .bs-table tbody tr { transition: background-color .25s; }
.bsd .bs-table tbody tr:hover > td, .bsd .bs-table tbody tr:hover > th { background: var(--hv-surface); }

/* ============================================================ WHICH SETUP FITS */
.bsd .bs-fit { background: var(--hv-surface); }
.bsd .bs-seg { display: inline-flex; border: 1.5px solid var(--hv-ink); background: #fff; }
.bsd .bs-seg button { appearance: none; min-height: 48px; padding: 0 20px; background: transparent; color: var(--hv-ink); border: 0; border-radius: 0; font: 600 13px/1 Inter, sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background-color .25s var(--hv-ease), color .25s var(--hv-ease); }
.bsd .bs-seg button + button { border-left: 1.5px solid var(--hv-ink); }
.bsd .bs-seg button:hover, .bsd .bs-seg button:focus { background: var(--hv-surface); color: var(--hv-ink); }
.bsd .bs-seg button.is-on { background: var(--hv-ink); color: #fff; }
.bsd .bs-seg button:focus-visible { outline: 3px solid var(--hv-teal); outline-offset: 2px; }
.bsd .bs-fit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bsd .bs-fit__item { --rc: var(--hv-ink); display: flex; flex-direction: column; padding: 28px 28px 24px; background: #fff; border: 1px solid var(--hv-line); transition: opacity .45s var(--hv-ease), filter .45s var(--hv-ease), transform .45s var(--hv-ease), border-color .3s, box-shadow .45s var(--hv-ease); }
.bsd .bs-fit__item[data-route="fz"] { --rc: var(--hv-ink); }
.bsd .bs-fit__item[data-route="fz"] .bs-fit__route { border-color: var(--hv-teal); }
.bsd .bs-fit__item[data-route="fz"] .bs-fit__route .hv-i { color: var(--hv-teal); }
.bsd .bs-fit__item[data-route="off"] { --rc: var(--hv-accent-h); }
.bsd .bs-fit__item:hover { border-color: var(--hv-ink); box-shadow: var(--hv-shadow); }
.bsd .bs-fit__n { font: 700 12px/1 Inter, sans-serif; letter-spacing: .1em; color: var(--hv-muted); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.bsd .bs-fit__item h3 { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; color: var(--hv-ink); margin-bottom: 10px; }
.bsd .bs-fit__d { font-size: 15px; line-height: 1.6; margin-bottom: 22px; }
.bsd .bs-fit__route { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid currentColor; font: 700 12.5px/1.2 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--rc); }
.bsd .bs-fit__grid[data-filter="main"] .bs-fit__item:not([data-route~="main"]),
.bsd .bs-fit__grid[data-filter="fz"] .bs-fit__item:not([data-route~="fz"]),
.bsd .bs-fit__grid[data-filter="off"] .bs-fit__item:not([data-route~="off"]) { opacity: .3; filter: grayscale(1); transform: scale(.985); box-shadow: none; }

.bsd .bs-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 4.5vw, 56px); }
.bsd .bs-tool { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 28px; background: var(--hv-ink); color: rgba(255, 255, 255, .76); text-decoration: none; border-left: 4px solid var(--hv-teal); transition: transform .45s var(--hv-ease), box-shadow .45s var(--hv-ease); }
.bsd .bs-tool::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(6, 215, 187, .16), transparent 70%); }
.bsd .bs-tool:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(5, 0, 46, .7); }
.bsd .bs-tool__icon { width: 48px; height: 48px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--hv-teal); }
.bsd .bs-tool__body { display: flex; flex-direction: column; gap: 6px; }
.bsd .bs-tool__k { font: 600 11.5px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--hv-teal); }
.bsd .bs-tool__t { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -.012em; color: #fff; }
.bsd .bs-tool__d { font-size: 14.5px; line-height: 1.55; }
.bsd .bs-tool__go { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3); color: #fff; transition: transform .45s var(--hv-ease), background-color .3s, color .3s; }
.bsd .bs-tool:hover .bs-tool__go { transform: translateX(4px); background: #fff; color: var(--hv-ink); }

/* ============================================================ SCOPE */
.bsd .bs-scope { background: #fff; }
.bsd .bs-scope__lede { max-width: 44ch; margin-top: 0; }
.bsd .bs-scope__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--hv-ink); }
.bsd .bs-scope__grid li { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--hv-line); }
.bsd .bs-scope__grid li:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid var(--hv-line); }
.bsd .bs-scope__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.bsd .bs-scope__top .hv-i { width: 30px; height: 30px; color: var(--hv-ink); }
.bsd .bs-scope__n { font: 700 12px/1 Inter, sans-serif; letter-spacing: .1em; color: var(--hv-muted); font-variant-numeric: tabular-nums; }
.bsd .bs-scope__grid h3 { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--hv-ink); margin-bottom: 10px; }
.bsd .bs-scope__grid p { font-size: 15px; line-height: 1.6; }
.bsd .bs-scope__grid a { color: var(--hv-ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--hv-accent); }

/* ============================================================ PROCESS + DOCUMENTS */
.bsd .hv-process .hv-head__p { color: rgba(255, 255, 255, .7); max-width: 46ch; margin-top: 0; }
.bsd .hv-process .hv-h2 { max-width: 22ch; }
.bsd .bs-docs .hv-corp__p { margin-bottom: 30px; }
.bsd .bs-tabs { display: flex; border: 1.5px solid var(--hv-ink); margin-bottom: 26px; }
.bsd .bs-tabs button { flex: 1 1 0; appearance: none; min-height: 48px; padding: 8px 12px; white-space: normal; background: #fff; color: var(--hv-ink); border: 0; border-radius: 0; font: 600 13px/1.25 Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: background-color .25s var(--hv-ease), color .25s var(--hv-ease); }
.bsd .bs-tabs button + button { border-left: 1.5px solid var(--hv-ink); }
.bsd .bs-tabs button:hover, .bsd .bs-tabs button:focus { background: var(--hv-surface); color: var(--hv-ink); }
.bsd .bs-tabs button[aria-selected="true"] { background: var(--hv-ink); color: #fff; }
.bsd .bs-tabs button:focus-visible { outline: 3px solid var(--hv-teal); outline-offset: 2px; }
.bsd .bs-tabs { display: none; }
.bsd-js .bsd .bs-tabs { display: flex; }
.bsd .bs-tabpanel + .bs-tabpanel { margin-top: 30px; }
.bsd-js .bsd .bs-tabpanel + .bs-tabpanel { margin-top: 0; }
.bsd .bs-tabpanel[hidden] { display: none; }
.bsd .bs-docs__panel .hv-checks li { font-size: 16px; }

/* ============================================================ WHY SETUPS STALL */
.bsd .bs-stall { background: var(--hv-surface); }
.bsd .bs-stall__lead { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px clamp(40px, 6vw, 96px); align-items: end; padding-bottom: clamp(40px, 5vw, 64px); }
.bsd .bs-stall__lead .hv-eyebrow, .bsd .bs-stall__lead .hv-h2 { grid-column: 1; }
.bsd .bs-stall__lead .hv-h2 { align-self: start; }
.bsd .bs-stall__big { grid-column: 2; grid-row: 1 / span 2; font: 800 clamp(30px, 3.6vw, 52px)/1.06 Inter, sans-serif; letter-spacing: -.036em; color: var(--hv-ink); text-wrap: balance; }
.bsd .bs-stall__big em { font-style: normal; background: linear-gradient(180deg, transparent 64%, rgba(228, 13, 117, .2) 64%); padding: 0 .06em; }
.bsd .bs-stall__sub { grid-column: 2; font-size: 17px; line-height: 1.65; max-width: 56ch; margin-top: 14px; }
.bsd .bs-stall__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bsd .bs-stall__grid li { padding: 28px 28px 30px; background: #fff; border: 1px solid var(--hv-line); transition: border-color .3s, transform .45s var(--hv-ease); }
.bsd .bs-stall__grid li:hover { border-color: var(--hv-ink); transform: translateY(-3px); }
.bsd .bs-stall__n { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 Inter, sans-serif; letter-spacing: .1em; color: var(--hv-ink); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.bsd .bs-stall__n .hv-i { color: var(--hv-accent-h); }
.bsd .bs-stall__grid h3 { font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; color: var(--hv-ink); margin-bottom: 10px; }
.bsd .bs-stall__grid p { font-size: 15px; line-height: 1.6; }

/* ============================================================ GUIDES HUB */
.bsd .bs-hub { background: #fff; }
.bsd .bs-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.bsd .bs-topic { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); background: #fff; border: 1px solid var(--hv-line); }
.bsd .bs-topic__k { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--hv-muted); margin-bottom: 14px; }
.bsd .bs-topic__t { font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; line-height: 1.12; letter-spacing: -.03em; color: var(--hv-ink); margin-bottom: 10px; }
.bsd .bs-topic__d { font-size: 15.5px; line-height: 1.6; margin-bottom: 24px; max-width: 56ch; }
.bsd .bs-topic__d a { color: var(--hv-ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--hv-accent); }
.bsd .bs-topic__all { align-self: flex-start; margin-top: auto; padding-top: 24px; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 700 13px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--hv-ink); text-decoration: none; }
.bsd .bs-topic__all::after { content: ""; width: 18px; height: 2px; background: var(--hv-accent); transition: width .3s var(--hv-ease); }
.bsd .bs-topic__all:hover::after { width: 30px; }

/* lead topic: the Start a Business series (Pareto: the one most founders need first) */
.bsd .bs-topic--lead { grid-column: 1 / -1; position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0 clamp(32px, 5vw, 72px); background: linear-gradient(155deg, var(--hv-ink) 0%, var(--hv-ink) 40%, var(--hv-deep) 100%); border-color: transparent; color: rgba(255, 255, 255, .76); }
.bsd .bs-topic--lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
	radial-gradient(50% 70% at 92% 0%, rgba(6, 215, 187, .2), transparent 70%),
	repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 64px),
	repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 64px); }
.bsd .bs-topic--lead > * { grid-column: 1; }
.bsd .bs-topic--lead .bs-topic__k { color: var(--hv-teal); }
.bsd .bs-topic--lead .bs-topic__t { color: #fff; font-size: clamp(28px, 3vw, 40px); }
.bsd .bs-topic--lead .bs-topic__d { color: rgba(255, 255, 255, .76); }
.bsd .bs-topic--lead .bs-chips { grid-column: 2; grid-row: 1 / span 4; align-self: center; }
.bsd .bs-topic--lead .bs-topic__all { grid-column: 2; color: #fff; margin-top: 18px; padding-top: 0; }
.bsd .bs-topic__start { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 22px 0 0; background: var(--hv-accent); color: #fff; font: 600 14px/1.2 Inter, sans-serif; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(228, 13, 117, .7); transition: background-color .25s var(--hv-ease); }
.bsd .bs-topic__start span { align-self: stretch; display: grid; place-items: center; padding: 0 14px; background: rgba(0, 0, 0, .16); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.bsd .bs-topic__start:hover { background: var(--hv-accent-h); color: #fff; }
.bsd .bs-topic__start .hv-i { transition: transform .25s var(--hv-ease); }
.bsd .bs-topic__start:hover .hv-i { transform: translateX(3px); }
.bsd .bs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bsd .bs-chips a { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .26); color: #fff; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: background-color .25s, border-color .25s, color .25s; }
.bsd .bs-chips a:hover { background: #fff; border-color: #fff; color: var(--hv-ink); }

/* mainland series: the full numbered reading order (Zeigarnik: a visible sequence invites completion) */
.bsd .bs-series { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1.5px solid var(--hv-ink); counter-reset: none; }
.bsd .bs-series li { border-bottom: 1px solid var(--hv-line); }
.bsd .bs-series a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 0; font-size: 14.5px; line-height: 1.35; font-weight: 500; color: var(--hv-ink); text-decoration: none; transition: color .2s, padding-left .3s var(--hv-ease); }
.bsd .bs-series a span { flex: 0 0 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--hv-line); font-size: 12px; font-weight: 700; color: var(--hv-muted); font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s, border-color .2s; }
.bsd .bs-series a:hover { color: var(--hv-accent-h); padding-left: 4px; }
.bsd .bs-series a:hover span { background: var(--hv-ink); border-color: var(--hv-ink); color: #fff; }

/* free zones by emirate */
.bsd .bs-ztabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 18px; padding-bottom: 2px; }
.bsd .bs-ztabs::-webkit-scrollbar { display: none; }
.bsd .bs-ztabs { display: none; }
.bsd-js .bsd .bs-ztabs { display: flex; }
@media (min-width: 768px) { .bsd .bs-ztabs { flex-wrap: wrap; overflow: visible; } }
.bsd .bs-ztabs button { flex: 0 0 auto; appearance: none; min-height: 44px; padding: 0 14px; background: #fff; border: 1px solid var(--hv-line); border-radius: 0; color: var(--hv-ink); font: 600 13.5px/1 Inter, sans-serif; cursor: pointer; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.bsd .bs-ztabs button:hover { border-color: var(--hv-ink); }
.bsd .bs-ztabs button[aria-selected="true"] { background: var(--hv-ink); border-color: var(--hv-ink); color: #fff; }
.bsd .bs-ztabs button:focus-visible { outline: 3px solid var(--hv-teal); outline-offset: 2px; }
.bsd .bs-zpanel + .bs-zpanel { margin-top: 24px; }
.bsd-js .bsd .bs-zpanel + .bs-zpanel { margin-top: 0; }
.bsd .bs-zpanel[hidden] { display: none; }
.bsd .bs-zpanel__h { font: 600 12px/1 Inter, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--hv-muted); margin-bottom: 10px; }
.bsd-js .bsd .bs-zpanel__h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bsd .bs-zlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; border-top: 1.5px solid var(--hv-ink); }
.bsd .bs-zlist li { border-bottom: 1px solid var(--hv-line); }
.bsd .bs-zlist li.is-ov { grid-column: 1 / -1; }
.bsd .bs-zlist a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 8px 0; font-size: 14.5px; line-height: 1.35; font-weight: 500; color: var(--hv-ink); text-decoration: none; transition: color .2s, padding-left .3s var(--hv-ease); }
.bsd .bs-zlist a::before { content: ""; flex: 0 0 6px; height: 6px; background: var(--hv-ink); }
.bsd .bs-zlist li.is-ov a { font-weight: 700; }
.bsd .bs-zlist li.is-ov a::before { background: var(--hv-teal); }
.bsd .bs-zlist a:hover { color: var(--hv-accent-h); padding-left: 4px; }

/* ============================================================ GUIDE: restore the article's own CTA boxes */
.bsd .hv-guide__art .mdx-inline-cta { background: var(--canvas, #F2F6FB); border: 1px solid var(--line, #CDDBE6); border-top: 3px solid var(--mag, #E40D75); padding: 28px 30px; margin: 40px 0; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.bsd .hv-faq .hv-head__p a { color: var(--hv-ink); font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--hv-accent); }

/* ============================================================ OTHER SERVICES */
.bsd .bs-more { padding: clamp(48px, 5vw, 64px) 0; background: #fff; border-top: 1px solid var(--hv-line); }
.bsd .bs-more__row { margin-top: 0; padding-top: 0; border-top: 0; }

/* ============================================================ CONTACT + CLOSING NOTE */
.bsd-contact .hv-eyebrow { margin-bottom: 18px; }
.bsd-contact .hv-contact__h { max-width: 16ch; }
.bs-disc-sec { background: var(--hv-deep) !important; padding: 0 !important; }
.hv.bs-disc { width: 100%; padding: 0 0 clamp(40px, 5vw, 56px); }
.hv.bs-disc p { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; line-height: 1.65; color: rgba(255, 255, 255, .5); max-width: 120ch; }

/* skip rendering of off-screen sections (Doherty) */
.bsd .bs-routes, .bsd .bs-fit, .bsd .bs-scope, .bsd .bs-stall, .bsd .bs-hub, .bsd .bs-more, .bsd .hv-process { content-visibility: auto; contain-intrinsic-size: auto 1000px; }
.bsd .hv-proof { content-visibility: auto; contain-intrinsic-size: auto 640px; }
/* the long-form guide is the heaviest block on the page; deep links re-align once it renders (home/mdx-home.js goTo) */
.bsd .hv-guide { content-visibility: auto; contain-intrinsic-size: auto 1700px; }

/* ============================================================ TABLET */
@media (max-width: 1024px) {
	.bsd .bs-plan { position: static; }
	.bsd .bs-files { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bsd .bs-files li:nth-child(4) { padding-left: 0; border-left: 0; }
	.bsd .bs-files li:nth-child(4)::before { left: 0; }
	.bsd .bs-files li:nth-child(n+4) { margin-top: 26px; border-top: 1px solid var(--hv-line); }
	.bsd .bs-routes__grid { grid-template-columns: minmax(0, 1fr); }
	.bsd .bs-route { min-height: 0; }
	.bsd .bs-fit__grid, .bsd .bs-stall__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bsd .bs-tools { grid-template-columns: minmax(0, 1fr); }
	.bsd .bs-scope__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bsd .bs-scope__grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
	.bsd .bs-scope__grid li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--hv-line); }
	.bsd .bs-stall__lead { grid-template-columns: minmax(0, 1fr); }
	.bsd .bs-stall__lead > * { grid-column: 1 !important; grid-row: auto !important; }
	.bsd .bs-stall__big { margin-top: 18px; }
	.bsd .bs-topics { grid-template-columns: minmax(0, 1fr); }
	.bsd .bs-topic--lead { grid-template-columns: minmax(0, 1fr); }
	.bsd .bs-topic--lead > *, .bsd .bs-topic--lead .bs-chips, .bsd .bs-topic--lead .bs-topic__all { grid-column: 1; grid-row: auto; }
	.bsd .bs-topic--lead .bs-chips { margin-top: 28px; }
}

/* ============================================================ MOBILE (app-like) */
@media (max-width: 767px) {
	.bsd .hv-h1__big { font-size: clamp(38px, 10.6vw, 52px); }
	.bsd .bs-crumb { margin-bottom: 18px; font-size: 12.5px; }
	.bsd .bs-hero__note { font-size: 14px; }

	.bsd .bs-logos img { max-height: 40px; }
	.bsd .bs-logos li.is-tall img { max-height: 54px; }

	.bsd .bs-plan { padding: 24px 20px; }
	.bsd .bs-files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bsd .bs-files li, .bsd .bs-files li + li { padding: 22px 14px 4px 0; border-left: 0; margin-top: 0; }
	.bsd .bs-files li:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--hv-line); }
	.bsd .bs-files li:nth-child(n+3) { border-top: 1px solid var(--hv-line); margin-top: 18px; }
	.bsd .bs-files li::before, .bsd .bs-files li + li::before { display: none; }
	.bsd .bs-files h3 { font-size: 15.5px; }
	.bsd .bs-files p { font-size: 13.5px; }

	/* routes: swipeable cards */
	.bsd .bs-routes__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--hv-gut) * -1); padding: 4px var(--hv-gut) 18px; scrollbar-width: none; }
	.bsd .bs-routes__grid::-webkit-scrollbar { display: none; }
	.bsd .bs-route { scroll-snap-align: start; scroll-margin-left: var(--hv-gut); padding: 26px 22px 22px; }
	.bsd .bs-route:hover { transform: none; }
	.bsd .bs-route__icon { width: 48px; height: 48px; margin-bottom: 20px; }
	.bsd .bs-route__d { font-size: 15px; }
	.bsd .bs-compare__hint { display: inline-flex; }
	.bsd .bs-compare__scroll { overflow-x: auto; margin: 0 calc(var(--hv-gut) * -1); padding: 0 var(--hv-gut); }
	.bsd .bs-table { min-width: 680px; font-size: 14px; }
	.bsd .bs-table thead th:first-child, .bsd .bs-table tbody th { position: sticky; left: calc(var(--hv-gut) * -1); z-index: 1; background: #fff; width: 112px; padding-right: 14px; }
	.bsd .bs-table tbody th { font-size: 11px; }
	.bsd .bs-table thead th { font-size: 15px; padding: 0 14px 14px; }
	.bsd .bs-table tbody td { padding: 14px; }

	.bsd .bs-seg { width: 100%; overflow-x: auto; scrollbar-width: none; }
	.bsd .bs-seg::-webkit-scrollbar { display: none; }
	.bsd .bs-seg button { flex: 1 0 auto; padding: 0 14px; font-size: 12px; }
	.bsd .bs-fit__grid, .bsd .bs-stall__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
	.bsd .bs-fit__item { padding: 22px 20px 20px; }
	.bsd .bs-fit__n { margin-bottom: 12px; }
	.bsd .bs-fit__item h3 { font-size: 17.5px; }
	.bsd .bs-tool { grid-template-columns: auto minmax(0, 1fr); padding: 22px 20px; gap: 16px; }
	.bsd .bs-tool__go { display: none; }
	.bsd .bs-tool__t { font-size: 17.5px; }

	.bsd .bs-scope__grid { grid-template-columns: minmax(0, 1fr); }
	.bsd .bs-scope__grid li, .bsd .bs-scope__grid li:nth-child(even) { padding: 24px 0; border-left: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; }
	.bsd .bs-scope__top { grid-row: span 2; flex-direction: column; align-items: flex-start; gap: 10px; margin: 0; }
	.bsd .bs-scope__top .hv-i { width: 26px; height: 26px; }

	.bsd .bs-docs .hv-btn { width: 100%; }
	.bsd .bs-tabs button { font-size: 12px; padding: 8px; }
	.bsd .bs-stall__grid li { padding: 22px 20px; }

	.bsd .bs-topic { padding: 24px 20px; }
	.bsd .bs-series { grid-template-columns: minmax(0, 1fr); }
	.bsd .bs-zlist { gap: 0 16px; }
	.bsd .bs-zlist a { font-size: 14px; gap: 10px; }
	.bsd .bs-topic__start { width: 100%; }
	.bsd .bs-chips a { min-height: 44px; padding: 0 14px; font-size: 14px; }
	.bsd .bs-ztabs { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }

	.bsd .hv-guide__art .mdx-inline-cta { padding: 22px 20px; flex-direction: column; align-items: stretch; }
	.hv.bs-disc p { font-size: 12px; }
}

/* ============================================================ REDUCED MOTION + PRINT */
@media (prefers-reduced-motion: reduce) {
	.bsd .bs-crumb, .bsd .bs-hero__note { animation: none !important; }
}
@media print {
	.bsd .bs-seg, .bsd .bs-tabs, .bsd .bs-ztabs, .bsd .bs-tools, 	.bsd .bs-tabpanel[hidden], .bsd .bs-zpanel[hidden] { display: block !important; }
}
