/* MinuteBox · Structure Charts page (mu-plugin mb-structure-charts). Rendered inside the theme's header and footer.
 * Every rule is scoped to #mb-sc, the page wrapper (layout.php), so nothing here reaches the site header, menus,
 * announcement bar or footer, and the id lifts every rule above the theme's element styles (see "Theme shield").
 * Marketing chrome: Rubik / Archivo, brand yellow #FFD504, graphite #262F3C (minutebox-brand).
 * Product UI inside the stages: system-ui, app yellow #ffd502, the app's chart colours (mb-stageshow).
 */

#mb-sc {
	--sc-yellow: #ffd504;
	--sc-yellow-pale: #fff8cc;
	--sc-yellow-light: #ffee98;
	--sc-gold-ink: #7a6200;
	--sc-ink: #262f3c;
	--sc-ink-2: #3d4755;
	--sc-slate: #5f6873;
	--sc-silver: #a3a8b2;
	--sc-line: rgba(38, 47, 60, 0.12);
	--sc-paper: #f8f6f1;
	--sc-paper-2: #fdfcf9;
	--sc-night: #1d242f;
	--sc-night-2: #262f3c;
	--sc-radius: 16px;
	--sc-top: 81px; /* the theme's sticky header; sc.js measures it */
	--sc-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--sc-spring: cubic-bezier(0.34, 1.3, 0.5, 1);
	--sc-heading: 'Rubik', system-ui, sans-serif;
	--sc-body: 'Archivo', system-ui, sans-serif;

	/* app tokens (inside stages) */
	--app-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--app-yellow: #ffd502;
	--app-ink: #262f3c;
	--app-muted: #6b7280;
	--app-line: #e5e7eb;
	--app-side: #fafafa;
	--app-composer: #efeff4;
	--app-edge: #4a90d9;
	--app-node: #2bb38a;
	--app-trust: #e0a526;
}

/* ---------- Theme shield ----------
 * The theme's main.css styles bare elements site-wide: `body *` font-family, `* {outline: none}`, h1-h4 sizes,
 * weights and letter-spacing, `a` transitions, `ul[class]`, `img`, and every `table tbody > tr td` (padding,
 * min-width, borders, grey bold first row; up to (0,3,4) specificity). Inside the page, revert all of it to
 * browser defaults, so the rules below behave exactly as on the old standalone page. #mb-sc puts this at
 * (1,0,0): above every theme rule, below every rule in this file (#mb-sc + a class or more, and later).
 * SVG internals are left alone so their presentation attributes (fill, stroke) still apply.
 */
#mb-sc :where(*:not(svg, svg *)) {
	all: revert;
}

#mb-sc, #mb-sc *,
#mb-sc *::before,
#mb-sc *::after {
	box-sizing: border-box;
}

html:has(#mb-sc) {
	scroll-behavior: smooth;
}
/* in-page targets land below the site header */
#mb-sc [id] {
	scroll-margin-top: calc(var(--sc-top) + 32px);
}

#mb-sc {
	position: relative;
	isolation: isolate; /* keeps the page's z-indexes below the theme header and its menus */
	margin: 0;
	background: var(--sc-paper);
	color: var(--sc-ink);
	font: 400 17px/1.55 var(--sc-body);
	letter-spacing: normal;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip; /* clip, not hidden: hidden would make this a scroller and break sticky elements */
}

#mb-sc.sc img {
	display: block;
	max-width: 100%;
	height: auto;
}
#mb-sc.sc a {
	color: inherit;
}
#mb-sc.sc h1,
#mb-sc.sc h2,
#mb-sc.sc h3,
#mb-sc.sc h4 {
	font-family: var(--sc-heading);
	margin: 0;
	letter-spacing: -0.015em;
}
#mb-sc.sc p {
	margin: 0;
}
#mb-sc.sc :focus-visible {
	outline: 3px solid var(--sc-yellow);
	outline-offset: 3px;
	border-radius: 6px;
}
#mb-sc .sc-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
#mb-sc .sc-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 24px;
}
#mb-sc .sc-br {
	color: var(--sc-yellow);
	font-weight: 700;
}
#mb-sc .sc-br:first-child {
	margin-right: 0.28em;
}
#mb-sc .sc-br:last-child {
	margin-left: 0.28em;
}

/* ---------- Sub-nav: sticky under the site header ----------
 * Dark glass over the hero, paper once the hero has scrolled away (sc.js toggles .is-light).
 * It sits inside #mb-sc's stacking context, so the site header and its mega-menu always paint above it.
 */


/* ---------- Buttons ---------- */

#mb-sc .sc-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 24px;
	border: 0;
	border-radius: 999px;
	font: 600 16px/1 var(--sc-body);
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.25s var(--sc-spring), background 0.2s, box-shadow 0.25s;
}
#mb-sc .sc-btn:hover {
	transform: translateY(-1px);
}
#mb-sc .sc-btn--sm {
	padding: 10px 18px;
	font-size: 14.5px;
}
#mb-sc .sc-btn--yellow {
	background: var(--sc-yellow);
	color: var(--sc-ink);
	box-shadow: 0 6px 20px -8px rgba(255, 213, 4, 0.7);
}
#mb-sc .sc-btn--yellow:hover {
	background: #ffdf0b;
}
#mb-sc .sc-btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}
#mb-sc .sc-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
}
#mb-sc .sc-btn--ink {
	background: var(--sc-ink);
	color: #fff;
}
#mb-sc .sc-btn svg {
	flex: none;
}

/* ---------- Shared type ---------- */

#mb-sc .sc-eyebrow {
	display: inline-flex;
	align-items: center;
	font: 600 13px/1 var(--sc-body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sc-gold-ink);
}
#mb-sc .sc-dark .sc-eyebrow,
#mb-sc .sc-hero .sc-eyebrow {
	color: var(--sc-yellow);
}
#mb-sc .sc-h2 {
	font: 600 clamp(32px, 4.2vw, 52px)/1.08 var(--sc-heading);
	letter-spacing: -0.02em;
}
#mb-sc .sc-lede {
	font-size: clamp(17px, 1.5vw, 19px);
	line-height: 1.6;
	color: var(--sc-ink-2);
	max-width: 62ch;
}
#mb-sc .sc-dark .sc-lede {
	color: rgba(255, 255, 255, 0.74);
}
#mb-sc .sc-section {
	padding: clamp(80px, 10vw, 136px) 0;
}
#mb-sc .sc-section__head {
	display: grid;
	gap: 20px;
	max-width: 760px;
	margin-bottom: clamp(44px, 6vw, 72px);
}
#mb-sc .sc-section__head--center {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	justify-items: center;
}
#mb-sc .sc-dark {
	background: var(--sc-night);
	color: #fff;
}

/* ---------- Reveal ---------- */

.sc-js #mb-sc .sc-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.8s var(--sc-ease), transform 0.8s var(--sc-ease);
}
.sc-js #mb-sc .sc-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* ---------- Hero ---------- */

#mb-sc .sc-hero {
	position: relative;
	padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 8vw, 112px);
	background: radial-gradient(1200px 520px at 78% 30%, rgba(255, 213, 4, 0.09), transparent 60%), var(--sc-night);
	color: #fff;
	overflow: hidden;
}
#mb-sc .sc-hero::before {
	/* the chart canvas's dot grid, fading toward the copy */
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1.4px);
	background-size: 22px 22px;
	mask-image: linear-gradient(100deg, transparent 18%, #000 62%);
	-webkit-mask-image: linear-gradient(100deg, transparent 18%, #000 62%);
	pointer-events: none;
}
#mb-sc .sc-hero__top {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 24px clamp(32px, 5vw, 80px);
	align-items: end;
}
#mb-sc .sc-hero__title {
	display: grid;
	gap: 24px;
}
#mb-sc .sc-hero h1 {
	font: 600 clamp(40px, 5.6vw, 78px)/1.02 var(--sc-heading);
	letter-spacing: -0.03em;
	text-wrap: balance;
}
#mb-sc .sc-hero h1 em {
	font-style: normal;
	color: var(--sc-yellow);
}
#mb-sc .sc-hero__side {
	display: grid;
	gap: 26px;
	padding-bottom: 8px;
}
#mb-sc .sc-hero__sub {
	font-size: clamp(17px, 1.35vw, 19px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.76);
}
#mb-sc .sc-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
#mb-sc .sc-hero__stage {
	position: relative;
	margin-top: clamp(44px, 5vw, 72px);
}
#mb-sc .sc-hero__stage::before {
	/* a soft yellow glow behind the window */
	content: '';
	position: absolute;
	inset: 12% 10% -6%;
	background: radial-gradient(closest-side, rgba(255, 213, 4, 0.16), transparent);
	filter: blur(30px);
	pointer-events: none;
}
#mb-sc .sc-hero__stage .sc-stage {
	box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);
}
#mb-sc .sc-facts {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: clamp(56px, 6vw, 88px);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
#mb-sc .sc-fact {
	padding: 22px 24px 0 0;
	display: grid;
	gap: 6px;
}
#mb-sc .sc-fact + .sc-fact {
	padding-left: 24px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}
#mb-sc .sc-fact strong {
	font: 500 17px/1.3 var(--sc-heading);
	color: #fff;
}
#mb-sc .sc-fact span {
	font-size: 14.5px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62);
}

/* ---------- Thesis: drawn vs from the record ---------- */

#mb-sc .sc-thesis {
	background: var(--sc-paper-2);
	border-bottom: 1px solid var(--sc-line);
}
#mb-sc .sc-thesis__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px;
}
#mb-sc .sc-contrast {
	position: relative;
	border-radius: var(--sc-radius);
	padding: 36px 36px 34px;
	display: grid;
	gap: 14px;
	align-content: start;
}
#mb-sc .sc-contrast--drawn {
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--sc-line);
}
#mb-sc .sc-contrast--record {
	background: var(--sc-ink);
	color: #fff;
}
#mb-sc .sc-contrast__tag {
	font: 600 12.5px/1 var(--sc-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sc-slate);
}
#mb-sc .sc-contrast--record .sc-contrast__tag {
	color: var(--sc-yellow);
}
#mb-sc .sc-contrast h3 {
	font: 500 26px/1.2 var(--sc-heading);
}
#mb-sc .sc-contrast p {
	color: var(--sc-ink-2);
}
#mb-sc .sc-contrast--record p {
	color: rgba(255, 255, 255, 0.74);
}
#mb-sc .sc-flow {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
	font-size: 13.5px;
}
#mb-sc .sc-flow span {
	padding: 7px 11px;
	border-radius: 8px;
	background: var(--sc-paper);
	box-shadow: inset 0 0 0 1px var(--sc-line);
	white-space: nowrap;
}
#mb-sc .sc-contrast--record .sc-flow span {
	background: rgba(255, 255, 255, 0.07);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
#mb-sc .sc-flow span.is-key {
	background: var(--sc-yellow);
	color: var(--sc-ink);
	box-shadow: none;
	font-weight: 600;
}
#mb-sc .sc-flow i {
	font-style: normal;
	color: var(--sc-silver);
}

/* ---------- Agentic rows ---------- */

#mb-sc .sc-agent {
	background: var(--sc-paper);
}
#mb-sc .sc-rows {
	display: grid;
	gap: clamp(72px, 9vw, 120px);
}
#mb-sc .sc-row {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}
#mb-sc .sc-row--flip {
	grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}
#mb-sc .sc-row--flip .sc-row__copy {
	order: 2;
}
#mb-sc .sc-row__copy {
	display: grid;
	gap: 16px;
}
#mb-sc .sc-row__n {
	font: 600 13px/1 var(--sc-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sc-gold-ink);
}
#mb-sc .sc-row__copy h3 {
	font: 600 clamp(26px, 2.6vw, 34px)/1.14 var(--sc-heading);
	letter-spacing: -0.018em;
}
#mb-sc .sc-row__copy p {
	color: var(--sc-ink-2);
}
#mb-sc .sc-prompt {
	margin-top: 4px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--sc-line);
	font-size: 15px;
	line-height: 1.5;
	color: var(--sc-ink);
}
#mb-sc .sc-prompt::before {
	content: 'You ask';
	display: block;
	margin-bottom: 4px;
	font: 600 11.5px/1 var(--sc-body);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sc-slate);
}
#mb-sc .sc-note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 15px;
	color: var(--sc-ink-2);
}
#mb-sc .sc-note svg {
	flex: none;
	margin-top: 3px;
	color: var(--sc-gold-ink);
}

/* ---------- Stage (faux product UI) ---------- */

#mb-sc .sc-stage {
	--s: 1;
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 30px 70px -34px rgba(38, 47, 60, 0.45), 0 0 0 1px rgba(38, 47, 60, 0.1);
	isolation: isolate;
}
#mb-sc .sc-stage__canvas {
	position: absolute;
	top: var(--oy, 0px);
	left: var(--ox, 0px);
	transform: scale(var(--s));
	transform-origin: 0 0;
	font-family: var(--app-font);
	color: var(--app-ink);
	-webkit-font-smoothing: antialiased;
}
/* Timeline. Default = the payoff (poster). While playing, the start state applies until each beat fires. */
#mb-sc .sc-stage [data-at],
#mb-sc .sc-stage [data-until] {
	transition: opacity 0.45s var(--sc-ease), transform 0.55s var(--sc-spring), background-color 0.6s var(--sc-ease),
		border-color 0.6s var(--sc-ease), left 0.9s var(--sc-ease), top 0.9s var(--sc-ease);
}
#mb-sc .sc-stage.is-playing [data-at]:not(.is-on):not([data-state]) {
	opacity: 0;
	transform: translateY(6px) scale(0.98);
}
#mb-sc .sc-stage [data-until] {
	display: none;
}
#mb-sc .sc-stage.is-playing [data-until]:not(.is-off) {
	display: revert;
}
#mb-sc .sc-stage.is-playing .fx-pop[data-at]:not(.is-on) {
	transform: scale(0.6);
}
#mb-sc .sc-stage.is-playing .fx-fade[data-at]:not(.is-on) {
	transform: none;
}

/* the cursor */
#mb-sc .sc-cursor {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
	width: 22px;
	height: 22px;
	margin: -3px 0 0 -4px;
	opacity: 0;
	pointer-events: none;
	transition: transform 0.85s cubic-bezier(0.45, 0.05, 0.25, 1), opacity 0.3s;
}
#mb-sc .sc-stage.is-playing .sc-cursor.is-on {
	opacity: 1;
}
#mb-sc .sc-stage.is-done .sc-cursor {
	opacity: 0;
}
#mb-sc .sc-cursor svg {
	display: block;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
	transition: transform 0.12s;
}
#mb-sc .sc-cursor.is-press svg {
	transform: scale(0.82);
}

/* ---------- App chrome inside stages ---------- */

#mb-sc .app {
	position: relative;
	display: grid;
	background: #fff;
	font-size: 13px;
	line-height: 1.4;
}
#mb-sc .app-top {
	height: 40px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 16px;
	border-bottom: 1px solid var(--app-line);
	font-size: 12.5px;
	font-weight: 600;
}
#mb-sc .app-top::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--app-yellow);
}
#mb-sc .app-top b {
	color: var(--app-yellow);
	font-weight: 700;
}
#mb-sc .app-top .app-crumb {
	font-weight: 500;
	color: var(--app-muted);
}
#mb-sc .app-thread {
	position: absolute;
	display: flex;
	flex-direction: column;
	background: var(--app-side);
	border-right: 1px solid var(--app-line);
}
#mb-sc .app-thread__body {
	flex: 1;
	padding: 18px 18px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
}
#mb-sc .app-bubble {
	align-self: flex-end;
	max-width: 92%;
	padding: 10px 13px;
	border-radius: 14px 14px 4px 14px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--app-line), 0 2px 6px -3px rgba(0, 0, 0, 0.12);
	font-size: 13px;
	line-height: 1.45;
}
#mb-sc .app-chip {
	display: inline-block;
	padding: 0 6px;
	border-radius: 5px;
	background: #fff6c2;
	color: #6b5600;
	font-weight: 600;
	white-space: nowrap;
}
#mb-sc .app-status {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	color: var(--app-muted);
}
#mb-sc .app-status svg {
	flex: none;
	color: #16a34a;
}
#mb-sc .app-answer {
	font-size: 13px;
	line-height: 1.5;
	color: var(--app-ink);
}
#mb-sc .app-answer strong {
	font-weight: 600;
}
#mb-sc .app-worked {
	font-size: 11.5px;
	color: var(--app-muted);
}
#mb-sc .app-composer {
	margin: 12px;
	padding: 10px 12px 10px 14px;
	min-height: 64px;
	border-radius: 14px;
	background: var(--app-composer);
	display: flex;
	align-items: flex-end;
	gap: 10px;
	font-size: 13px;
}
#mb-sc .app-composer__text {
	flex: 1;
	align-self: flex-start;
	min-height: 18px;
	white-space: pre-wrap;
}
#mb-sc .app-composer__ph {
	flex: 1;
	align-self: flex-start;
	color: #9ca3af;
}
#mb-sc .app-send {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: var(--app-ink);
	color: #fff;
	display: grid;
	place-items: center;
}
#mb-sc .app-doc {
	position: absolute;
	display: flex;
	flex-direction: column;
	background: #fff;
}
#mb-sc .app-tabs {
	height: 40px;
	display: flex;
	align-items: flex-end;
	gap: 2px;
	padding: 0 12px;
	border-bottom: 1px solid var(--app-line);
	background: #fbfbfc;
}
#mb-sc .app-tab {
	display: flex;
	align-items: center;
	gap: 7px;
	height: 32px;
	padding: 0 12px;
	border-radius: 8px 8px 0 0;
	font-size: 12px;
	font-weight: 500;
	color: var(--app-muted);
	white-space: nowrap;
}
#mb-sc .app-tab.is-active {
	background: #fff;
	color: var(--app-ink);
	box-shadow: 0 0 0 1px var(--app-line);
	clip-path: inset(-2px -2px 0 -2px);
}
#mb-sc .app-tab svg {
	color: #2563eb;
}
#mb-sc .app-toolbar {
	position: absolute;
	display: flex;
	gap: 6px;
	z-index: 3;
}
#mb-sc .app-pill {
	height: 28px;
	padding: 0 11px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--app-line);
	font-size: 12px;
	font-weight: 500;
	color: var(--app-ink);
	white-space: nowrap;
}
#mb-sc .app-pill.is-active {
	background: var(--app-ink);
	color: #fff;
	box-shadow: none;
}
#mb-sc .app-banner {
	position: absolute;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 13px;
	border-radius: 10px;
	background: #fffbe6;
	box-shadow: 0 0 0 1px #f5df7a, 0 10px 24px -14px rgba(0, 0, 0, 0.3);
	font-size: 12px;
	line-height: 1.35;
	color: #4a3d00;
}
#mb-sc .app-banner svg {
	flex: none;
	color: #b48a00;
}

/* ---------- Chart (the interactive chart's look) ---------- */

#mb-sc .mbc {
	position: absolute;
	background-color: #fcfcfd;
	background-image: radial-gradient(#e3e6ec 1px, transparent 1.3px);
	background-size: 16px 16px;
}
#mb-sc .mbc svg.mbc-edges {
	position: absolute;
	inset: 0;
	overflow: visible;
}
#mb-sc .mbc-edges path {
	fill: none;
	stroke: var(--app-edge);
	stroke-width: 1.4;
}
#mb-sc .mbc-edges .is-pro path,
#mb-sc .mbc-edges path.is-pro {
	stroke-dasharray: 4 3;
}
/* added from Companies House (the wf-24 chart): dashed, as the agent draws it; the boxes are ordinary nodes */
#mb-sc .mbc-edges path.is-ch {
	stroke-dasharray: 5 4;
}
#mb-sc .mbc-node {
	position: absolute;
	left: var(--x);
	top: var(--y);
	width: var(--w);
	height: var(--h);
	display: grid;
	place-content: center;
	text-align: center;
	padding: 4px 8px;
	background: #fff;
	border: 1.5px solid var(--app-node);
	border-radius: 2px;
	font-size: 10.5px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--app-ink);
}
#mb-sc .mbc-node small {
	display: block;
	margin-top: 2px;
	font-size: 8px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: #8a93a0;
}
#mb-sc .mbc-node--person {
	border-radius: 999px;
	border-color: #4a90d9;
	border-width: 2px;
}
#mb-sc .mbc-node--lp::before,
#mb-sc .mbc-node--trust::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
}
#mb-sc .mbc-node--lp {
	border: 0;
	background: transparent;
	isolation: isolate;
	padding: 4px 26px;
	font-size: 0.88em;
	line-height: 1.15;
}
#mb-sc .mbc-node--lp::before {
	background: var(--app-node);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
#mb-sc .mbc-node--lp::after {
	content: '';
	position: absolute;
	inset: 1.5px;
	z-index: -1;
	background: #fff;
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
	transition: background-color 0.6s var(--sc-ease);
}
#mb-sc .mbc-node--trust {
	border: 0;
	background: transparent;
	isolation: isolate;
	align-content: end;
	padding: 0 6px 7px;
}
#mb-sc .mbc-node--trust::before {
	background: var(--app-trust);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
#mb-sc .mbc-node--trust::after {
	content: '';
	position: absolute;
	inset: 2px 2px 1.5px;
	z-index: -1;
	background: #fff;
	clip-path: polygon(50% 1.5px, calc(100% - 1.5px) 100%, 1.5px 100%);
}
#mb-sc .mbc-node--focus {
	box-shadow: 0 0 0 4px rgba(255, 213, 2, 0.28);
}
#mb-sc .mbc-node.is-yellow {
	background: var(--app-yellow);
}
#mb-sc .mbc-label {
	position: absolute;
	left: var(--x);
	top: var(--y);
	transform: translate(-50%, -50%);
	padding: 2px 5px;
	border-radius: 3px;
	background: #fff;
	box-shadow: 0 0 0 1px #dfe3ea;
	font-size: 8.5px;
	font-weight: 600;
	white-space: nowrap;
	color: #3b4452;
}
#mb-sc .mbc-label.is-pro {
	background: #fffbe6;
	box-shadow: 0 0 0 1px #f0d65c;
}
#mb-sc .mbc-controls {
	position: absolute;
	left: 10px;
	bottom: 10px;
	display: grid;
	background: #fff;
	box-shadow: 0 0 0 1px var(--app-line), 0 2px 6px -3px rgba(0, 0, 0, 0.15);
	border-radius: 4px;
}
#mb-sc .mbc-controls span {
	width: 22px;
	height: 22px;
	display: grid;
	place-items: center;
	color: #374151;
	font-size: 13px;
	line-height: 1;
}
#mb-sc .mbc-controls span + span {
	border-top: 1px solid var(--app-line);
}

/* Reshape scene: nodes slide from the vertical layout (start) to the horizontal one (payoff). */
#mb-sc .sc-stage.is-playing .mbc-reshape:not(.is-on) .mbc-node {
	left: var(--vx);
	top: var(--vy);
}
#mb-sc .sc-stage.is-playing .mbc-reshape:not(.is-on) .mbc-node.is-yellow {
	background: #fff;
}
#mb-sc .sc-stage.is-playing .mbc-reshape:not(.is-on) .mbc-node--lp.is-yellow::after {
	background: #fff;
}
#mb-sc .mbc-node--lp.is-yellow::after {
	background: var(--app-yellow);
}
#mb-sc .mbc-reshape .mbc-node {
	transition: left 1s var(--sc-ease), top 1s var(--sc-ease), background-color 0.6s var(--sc-ease) 0.7s, opacity 0.45s;
}
#mb-sc .mbc-reshape .mbc-node--person {
	opacity: 0;
}
#mb-sc .sc-stage.is-playing .mbc-reshape:not(.is-on) .mbc-node--person {
	opacity: 1;
}
#mb-sc .mbc-reshape .mbc-edges--v,
#mb-sc .mbc-reshape .mbc-labels--v {
	opacity: 0;
	transition: opacity 0.35s;
}
#mb-sc .mbc-reshape .mbc-edges--h,
#mb-sc .mbc-reshape .mbc-labels--h {
	opacity: 1;
	transition: opacity 0.5s 0.8s;
}
#mb-sc .sc-stage.is-playing .mbc-reshape:not(.is-on) .mbc-edges--v,
#mb-sc .sc-stage.is-playing .mbc-reshape:not(.is-on) .mbc-labels--v {
	opacity: 1;
}
#mb-sc .sc-stage.is-playing .mbc-reshape:not(.is-on) .mbc-edges--h,
#mb-sc .sc-stage.is-playing .mbc-reshape:not(.is-on) .mbc-labels--h {
	opacity: 0;
	transition: none;
}

/* History scene: the chart shows the payoff layout; while version 2 is viewed, Texas and New York are white again. */
#mb-sc .mbc-history .mbc-node--person {
	display: none;
}
#mb-sc .sc-v2banner {
	display: none !important;
}
#mb-sc .sc-v2flag.is-on:not(.is-off) ~ .sc-v2banner {
	display: flex !important;
}
#mb-sc .sc-v2flag.is-on:not(.is-off) ~ .mbc .mbc-node.is-yellow {
	background: #fff;
}
#mb-sc .sc-v2flag.is-on:not(.is-off) ~ .app-history .app-version.is-v2,
#mb-sc .app-version.is-current {
	background: #f4f7fd;
	box-shadow: inset 3px 0 0 #2563eb;
}
#mb-sc .sc-v2flag.is-on:not(.is-off) ~ .app-history .app-version.is-current {
	background: transparent;
	box-shadow: none;
}
#mb-sc .sc-stage--flat {
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

/* History scene */
#mb-sc .app-history {
	position: absolute;
	z-index: 5;
	background: #fff;
	border-left: 1px solid var(--app-line);
	box-shadow: -18px 0 40px -28px rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
}
#mb-sc .app-history__head {
	padding: 14px 16px 10px;
	font-size: 13px;
	font-weight: 600;
	border-bottom: 1px solid var(--app-line);
}
#mb-sc .app-version {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 2px 10px;
	padding: 11px 16px;
	border-bottom: 1px solid #f1f2f4;
	font-size: 12px;
}
#mb-sc .app-version b {
	font-weight: 600;
}
#mb-sc .app-version span {
	grid-column: 1 / -1;
	color: var(--app-muted);
	font-size: 11px;
}
#mb-sc .app-version em {
	font-style: normal;
	font-size: 10.5px;
	font-weight: 600;
	color: #6b5600;
	background: #fff6c2;
	padding: 1px 6px;
	border-radius: 999px;
	align-self: center;
}
#mb-sc .app-version.is-selected {
	background: #f4f7fd;
	box-shadow: inset 3px 0 0 #2563eb;
}

/* ---------- Interactive chart demo (real toggles) ---------- */

#mb-sc .sc-live {
	background: var(--sc-paper-2);
	border-top: 1px solid var(--sc-line);
	border-bottom: 1px solid var(--sc-line);
}
#mb-sc .sc-live__grid {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
#mb-sc .sc-livebox {
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 30px 70px -40px rgba(38, 47, 60, 0.45), 0 0 0 1px var(--sc-line);
	overflow: hidden;
}
#mb-sc .sc-livebar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--sc-line);
	font-family: var(--app-font);
	font-size: 13px;
}
#mb-sc .sc-livebar__label {
	color: var(--app-muted);
}
#mb-sc .sc-seg {
	display: inline-flex;
	padding: 3px;
	border-radius: 9px;
	background: #f1f2f5;
}
#mb-sc .sc-seg button,
#mb-sc .sc-toggle {
	appearance: none;
	border: 0;
	background: transparent;
	font: 500 13px/1 var(--app-font);
	color: var(--app-ink);
	padding: 8px 12px;
	border-radius: 7px;
	cursor: pointer;
}
#mb-sc .sc-seg button[aria-pressed='true'] {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
	font-weight: 600;
}
#mb-sc .sc-toggle {
	margin-left: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	box-shadow: inset 0 0 0 1px var(--app-line);
}
#mb-sc .sc-toggle[aria-pressed='true'] {
	background: var(--app-ink);
	color: #fff;
	box-shadow: none;
}
#mb-sc .sc-livechart {
	position: relative;
	font-family: var(--app-font);
	background-color: #fcfcfd;
	background-image: radial-gradient(#e3e6ec 1px, transparent 1.3px);
	background-size: 16px 16px;
	overflow: hidden;
}
#mb-sc .sc-livechart .mbc {
	inset: 0;
	background: none;
}
#mb-sc .sc-livechart .mbc-node {
	font-size: 12px;
	transition: left 0.8s var(--sc-ease), top 0.8s var(--sc-ease), width 0.8s var(--sc-ease);
}
#mb-sc .sc-livechart .mbc-node small {
	font-size: 9px;
}
#mb-sc .sc-livechart .mbc-label {
	font-size: 10px;
	transition: left 0.8s var(--sc-ease), top 0.8s var(--sc-ease);
}
#mb-sc .sc-livechart .mbc-edges {
	transition: opacity 0.3s;
}
/* labels per view */
#mb-sc .sc-livechart [data-v] {
	display: none;
}
#mb-sc [data-active='ownership'] .sc-livechart [data-v='ownership'],
#mb-sc [data-active='voting'] .sc-livechart [data-v='voting'],
#mb-sc [data-active='shares'] .sc-livechart [data-v='shares'] {
	display: inline;
}
#mb-sc .sc-live .is-horizontal .mbc-node {
	left: var(--hx, var(--x));
	top: var(--hy, var(--y));
}
#mb-sc .sc-live .is-horizontal .mbc-label {
	left: var(--hlx);
	top: var(--hly);
}
#mb-sc .sc-live .mbc-edges--h {
	opacity: 0;
}
#mb-sc .sc-live .is-horizontal .mbc-edges--v {
	opacity: 0;
}
#mb-sc .sc-live .is-horizontal .mbc-edges--h {
	opacity: 1;
	transition: opacity 0.4s 0.5s;
}
#mb-sc .sc-livecap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-top: 1px solid var(--sc-line);
	font-size: 14px;
	color: var(--sc-ink-2);
	min-height: 48px;
}
#mb-sc .sc-livecap__dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--sc-yellow);
}
#mb-sc .sc-livecap__text {
	flex: 1 1 260px;
}
#mb-sc .sc-livecap::before {
	display: none;
	content: '';
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: var(--sc-yellow);
}
#mb-sc .sc-legend {
	margin-left: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	font-family: var(--app-font);
	font-size: 12px;
	color: #3b4452;
}
#mb-sc .sc-legend span {
	display: flex;
	align-items: center;
	gap: 8px;
}
#mb-sc .sc-legend i {
	display: inline-block;
	width: 16px;
	height: 11px;
	border: 1.5px solid var(--app-node);
	background: #fff;
}
#mb-sc .sc-legend i.lp {
	border: 0;
	background: var(--app-node);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
#mb-sc .sc-legend i.tr {
	border: 0;
	background: var(--app-trust);
	clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
#mb-sc .sc-legend i.pe {
	border-color: #4a90d9;
	border-radius: 999px;
	width: 12px;
	height: 12px;
}
#mb-sc .sc-views {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--sc-line);
}
#mb-sc .sc-view {
	display: grid;
	grid-template-columns: 28px 1fr;
	gap: 4px 12px;
	padding: 18px 0;
	border-bottom: 1px solid var(--sc-line);
}
#mb-sc .sc-view svg {
	grid-row: span 2;
	margin-top: 2px;
	color: var(--sc-gold-ink);
}
#mb-sc .sc-view strong {
	font: 500 17px/1.3 var(--sc-heading);
}
#mb-sc .sc-view span {
	font-size: 15px;
	color: var(--sc-ink-2);
	line-height: 1.5;
}

/* ---------- Film ---------- */

#mb-sc .sc-film__grid {
	display: grid;
	grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}
#mb-sc .sc-player__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: #11161d;
	box-shadow: 0 40px 90px -36px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
#mb-sc .sc-player__frame img,
#mb-sc .sc-player__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}
#mb-sc .sc-player__play {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 14px;
	border: 0;
	background: linear-gradient(180deg, rgba(17, 22, 29, 0) 40%, rgba(17, 22, 29, 0.55));
	color: #fff;
	cursor: pointer;
}
#mb-sc .sc-player__disc {
	width: 84px;
	height: 84px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--sc-yellow);
	color: var(--sc-ink);
	box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
	transition: transform 0.3s var(--sc-spring);
}
#mb-sc .sc-player__disc svg {
	margin-left: 4px;
}
#mb-sc .sc-player__play:hover .sc-player__disc {
	transform: scale(1.06);
}
#mb-sc .sc-player__label {
	font: 600 15px/1 var(--sc-body);
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
#mb-sc .sc-chapters {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}
#mb-sc .sc-chapter {
	display: grid;
	grid-template-columns: 28px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 12px 12px;
	border-radius: 10px;
	text-decoration: none;
	color: rgba(255, 255, 255, 0.86);
	transition: background 0.2s;
}
#mb-sc .sc-chapter:hover,
#mb-sc .sc-chapter.is-active {
	background: rgba(255, 255, 255, 0.07);
}
#mb-sc .sc-chapter__n {
	width: 24px;
	height: 24px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--sc-yellow);
	color: var(--sc-ink);
	font: 600 12px/1 var(--sc-body);
}
#mb-sc .sc-chapter__time {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.5);
	font-variant-numeric: tabular-nums;
}
#mb-sc .sc-film__aside {
	display: grid;
	gap: 22px;
}
#mb-sc .sc-film__aside h3 {
	font: 600 12.5px/1 var(--sc-body);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
}
#mb-sc .sc-textlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
	color: var(--sc-yellow);
}
#mb-sc .sc-textlink:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ---------- Records plus the public register (wf-24) ---------- */

#mb-sc .sc-reg {
	background: #fff;
	border-top: 1px solid var(--sc-line);
}
#mb-sc .sc-reg .sc-h2 em {
	font-style: normal;
	background: linear-gradient(transparent 62%, var(--sc-yellow-light) 62%, var(--sc-yellow-light) 92%, transparent 92%);
}
#mb-sc .sc-reg__points {
	list-style: none;
	margin: clamp(36px, 5vw, 56px) 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px);
}
#mb-sc .sc-reg__points li {
	display: grid;
	align-content: start;
	gap: 10px;
	padding-top: 20px;
	border-top: 2px solid var(--sc-ink);
}
#mb-sc .sc-reg__points strong {
	font: 500 20px/1.25 var(--sc-heading);
	color: var(--sc-ink);
}
#mb-sc .sc-reg__points li > span:last-child {
	font-size: 16px;
	color: var(--sc-ink-2);
}
#mb-sc .sc-reg__film {
	margin-top: clamp(56px, 7vw, 88px);
	padding: clamp(20px, 3vw, 36px);
	border-radius: 22px;
	background: var(--sc-paper);
	box-shadow: inset 0 0 0 1px var(--sc-line);
}
#mb-sc .sc-reg__film .sc-player__frame {
	box-shadow: 0 30px 70px -40px rgba(38, 47, 60, 0.55), 0 0 0 1px var(--sc-line);
}
#mb-sc .sc-reg__filmhead {
	display: grid;
	gap: 10px;
}
#mb-sc .sc-film__aside .sc-reg__filmhead h3 {
	font: 600 clamp(22px, 2vw, 26px)/1.2 var(--sc-heading);
	letter-spacing: -0.015em;
	text-transform: none;
	color: var(--sc-ink);
}
#mb-sc .sc-reg__filmhead p {
	font-size: 15.5px;
	color: var(--sc-ink-2);
}
#mb-sc .sc-reg__film .sc-chapter {
	color: var(--sc-ink);
}
#mb-sc .sc-reg__film .sc-chapter:hover,
#mb-sc .sc-reg__film .sc-chapter.is-active {
	background: rgba(38, 47, 60, 0.06);
}
#mb-sc .sc-reg__film .sc-chapter__time {
	color: var(--sc-slate);
}
#mb-sc .sc-reg__film .sc-textlink {
	color: var(--sc-ink);
	text-decoration: underline;
	text-decoration-color: var(--sc-yellow);
	text-decoration-thickness: 3px;
	text-underline-offset: 5px;
}
#mb-sc .sc-reg .sc-footnote {
	margin-top: 20px;
}

/* ---------- System of record cards ---------- */

#mb-sc .sc-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
#mb-sc .sc-card {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 28px 24px 26px;
	border-radius: var(--sc-radius);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--sc-line);
}
#mb-sc .sc-card__icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--sc-yellow-pale);
	color: var(--sc-ink);
}
#mb-sc .sc-card h3 {
	font: 500 19px/1.25 var(--sc-heading);
}
#mb-sc .sc-card p {
	font-size: 15px;
	color: var(--sc-ink-2);
}

/* ---------- Works with your tools ---------- */

#mb-sc .sc-int {
	padding-top: 0;
}
#mb-sc .sc-int__frame {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
	gap: clamp(40px, 4.5vw, 72px);
	align-items: center;
	padding: clamp(36px, 5.5vw, 72px);
	border-radius: calc(var(--sc-radius) + 8px);
	background: radial-gradient(640px 360px at 88% 18%, rgba(255, 213, 4, 0.1), transparent 65%), var(--sc-night);
	color: #fff;
	overflow: hidden;
}
#mb-sc .sc-int__copy {
	display: grid;
	gap: 20px;
	align-content: start;
}
#mb-sc .sc-int .sc-eyebrow {
	color: var(--sc-yellow);
}
#mb-sc .sc-int .sc-h2 {
	font-size: clamp(30px, 3.4vw, 44px);
}
#mb-sc .sc-int .sc-lede {
	color: rgba(255, 255, 255, 0.78);
}
#mb-sc .sc-int__more {
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
	max-width: 60ch;
}
#mb-sc .sc-int__links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 30px;
	margin-top: 6px;
}
#mb-sc .sc-textlink--quiet {
	color: rgba(255, 255, 255, 0.85);
}

#mb-sc .sc-int__map {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
}
#mb-sc .sc-int__source {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	margin-right: 24px;
}
#mb-sc .sc-int__source::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -24px;
	width: 24px;
	border-top: 1.5px solid rgba(255, 213, 4, 0.55);
}
#mb-sc .sc-int__bracket {
	font: 600 68px/1 var(--sc-heading);
	color: var(--sc-yellow);
	margin-top: -8px;
}
#mb-sc .sc-int__chart {
	display: grid;
	justify-items: center;
	gap: 10px;
	padding: 14px 10px;
	color: var(--sc-yellow);
}
#mb-sc .sc-int__chart span {
	font: 600 11.5px/1.2 var(--sc-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.82);
	text-align: center;
	width: min-content;
}
#mb-sc .sc-int__dests {
	position: relative;
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0 0 0 30px;
	list-style: none;
}
#mb-sc .sc-int__dests::before {
	content: '';
	position: absolute;
	left: 0;
	top: 34px;
	bottom: 34px;
	border-left: 1.5px solid rgba(255, 213, 4, 0.55);
}
#mb-sc .sc-int__dest {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 14px;
	align-items: baseline;
	padding: 15px 18px 16px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.045);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	transition: background 0.3s var(--sc-ease), box-shadow 0.3s var(--sc-ease);
}
#mb-sc .sc-int__dest::before {
	content: '';
	position: absolute;
	left: -30px;
	top: 50%;
	width: 30px;
	border-top: 1.5px solid rgba(255, 213, 4, 0.55);
}
#mb-sc .sc-int__dest:hover {
	background: rgba(255, 255, 255, 0.07);
	box-shadow: inset 0 0 0 1px rgba(255, 213, 4, 0.35);
}
#mb-sc .sc-int__name {
	font: 500 17px/1.3 var(--sc-heading);
	color: #fff;
}
#mb-sc .sc-int__fmt {
	justify-self: end;
	padding: 4px 9px;
	border-radius: 999px;
	font: 600 11.5px/1.2 var(--sc-body);
	letter-spacing: 0.06em;
	white-space: nowrap;
	color: var(--sc-yellow);
	box-shadow: inset 0 0 0 1px rgba(255, 213, 4, 0.4);
}
#mb-sc .sc-int__note {
	grid-column: 1 / -1;
	font-size: 14px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.62);
}

/* ---------- Comparison ---------- */

#mb-sc .sc-compare {
	background: var(--sc-paper-2);
	border-top: 1px solid var(--sc-line);
}
#mb-sc .sc-table-wrap {
	overflow-x: auto;
	border-radius: var(--sc-radius);
	background: #fff;
	box-shadow: inset 0 0 0 1px var(--sc-line);
}
#mb-sc .sc-table {
	width: 100%;
	border-collapse: collapse !important; /* the theme sets table {border-collapse: unset !important} */
	font-size: 15px;
	min-width: 680px;
}
#mb-sc .sc-table th,
#mb-sc .sc-table td {
	padding: 18px 20px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--sc-line);
}
#mb-sc .sc-table tr:last-child td,
#mb-sc .sc-table tr:last-child th {
	border-bottom: 0;
}
#mb-sc .sc-table thead th {
	font: 600 13px/1.3 var(--sc-body);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sc-slate);
	background: var(--sc-paper);
}
#mb-sc .sc-table thead th.is-us {
	background: var(--sc-ink);
	color: var(--sc-yellow);
}
#mb-sc .sc-table tbody th {
	font: 500 16px/1.35 var(--sc-heading);
	width: 32%;
}
#mb-sc .sc-table td {
	color: var(--sc-ink-2);
}
#mb-sc .sc-table td.is-us {
	background: #fffcea;
	color: var(--sc-ink);
	font-weight: 500;
}
#mb-sc .sc-cell {
	display: flex;
	gap: 9px;
	align-items: flex-start;
}
#mb-sc .sc-cell svg {
	flex: none;
	margin-top: 3px;
}
#mb-sc .sc-cell--yes svg {
	color: #1f8a5b;
}
#mb-sc .sc-cell--no svg {
	color: var(--sc-silver);
}
#mb-sc .sc-footnote {
	margin-top: 16px;
	font-size: 13px;
	color: var(--sc-slate);
	max-width: 90ch;
}

/* ---------- FAQ ---------- */

#mb-sc .sc-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(28px, 5vw, 72px);
}
#mb-sc .sc-faq details {
	border-bottom: 1px solid var(--sc-line);
}
#mb-sc .sc-faq details:first-child {
	border-top: 1px solid var(--sc-line);
}
#mb-sc .sc-faq summary {
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 0;
	font: 500 18px/1.35 var(--sc-heading);
	cursor: pointer;
}
#mb-sc .sc-faq summary::-webkit-details-marker {
	display: none;
}
#mb-sc .sc-faq summary::after {
	content: '+';
	flex: none;
	font: 400 24px/1 var(--sc-heading);
	color: var(--sc-gold-ink);
	transition: transform 0.25s var(--sc-ease);
}
#mb-sc .sc-faq details[open] summary::after {
	transform: rotate(45deg);
}
#mb-sc .sc-faq details p {
	padding: 0 0 24px;
	color: var(--sc-ink-2);
	max-width: 68ch;
}

/* ---------- CTA band ---------- */

#mb-sc .sc-cta {
	position: relative;
	padding: clamp(80px, 10vw, 128px) 0;
	background: var(--sc-yellow);
	overflow: hidden;
}
#mb-sc .sc-cta::before {
	content: '[ ]';
	position: absolute;
	right: -2vw;
	top: 50%;
	transform: translateY(-50%);
	font: 600 clamp(200px, 28vw, 420px)/1 var(--sc-heading);
	letter-spacing: -0.04em;
	color: rgba(38, 47, 60, 0.07);
	pointer-events: none;
}
#mb-sc .sc-cta__inner {
	position: relative;
	display: grid;
	gap: 22px;
	max-width: 720px;
}
#mb-sc .sc-cta h2 {
	font: 600 clamp(34px, 4.4vw, 56px)/1.06 var(--sc-heading);
	letter-spacing: -0.022em;
}
#mb-sc .sc-cta p {
	font-size: 19px;
	color: var(--sc-ink-2);
}
#mb-sc .sc-cta__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ---------- Dialog, preview pill ---------- */

#mb-sc .sc-demo {
	width: min(920px, calc(100vw - 32px));
	height: min(760px, calc(100vh - 48px));
	padding: 0;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.5);
	overflow: hidden;
}
#mb-sc .sc-demo[open] {
	display: flex;
	flex-direction: column;
}
#mb-sc .sc-demo::backdrop {
	background: rgba(17, 22, 29, 0.6);
	backdrop-filter: blur(4px);
}
#mb-sc .sc-demo__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--sc-line);
}
#mb-sc .sc-demo__head h2 {
	font: 600 20px/1 var(--sc-heading);
}
#mb-sc .sc-demo__close {
	border: 0;
	background: transparent;
	padding: 6px;
	cursor: pointer;
	color: var(--sc-ink);
}
#mb-sc .sc-demo__body {
	flex: 1;
}
#mb-sc .sc-demo__body iframe {
	width: 100%;
	height: 100%;
	border: 0;
}
#mb-sc .sc-preview {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--sc-ink);
	color: var(--sc-yellow) !important;
	font: 600 13px/1 var(--sc-body);
	text-decoration: none;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
	html:has(#mb-sc) {
		scroll-behavior: auto;
	}
	.sc-js #mb-sc .sc-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	#mb-sc .sc-livechart .mbc-node,
#mb-sc .sc-livechart .mbc-label {
		transition: none;
	}
}

/* ---------- Responsive ---------- */

@media (max-width: 1099px) {
	#mb-sc .sc-hero__top {
		grid-template-columns: minmax(0, 1fr);
	}
	#mb-sc .sc-row,
#mb-sc .sc-row--flip {
		grid-template-columns: minmax(0, 1fr);
	}
	#mb-sc .sc-row--flip .sc-row__copy {
		order: 0;
	}
	#mb-sc .sc-reg__points {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
	#mb-sc .sc-live__grid,
#mb-sc .sc-film__grid,
#mb-sc .sc-faq__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	#mb-sc .sc-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	#mb-sc .sc-int__frame {
		grid-template-columns: minmax(0, 1fr);
	}
	#mb-sc .sc-facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	#mb-sc .sc-fact:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 699px) {
	#mb-sc {
		font-size: 16px;
	}
	#mb-sc .sc-wrap {
		padding: 0 16px;
	}
	#mb-sc .sc-hero__ctas .sc-btn {
		flex: 1 1 auto;
		justify-content: center;
	}
	#mb-sc .sc-thesis__grid,
#mb-sc .sc-cards,
#mb-sc .sc-facts {
		grid-template-columns: minmax(0, 1fr);
	}
	#mb-sc .sc-fact,
#mb-sc .sc-fact + .sc-fact {
		padding: 18px 0 0;
		border-left: 0;
	}
	#mb-sc .sc-contrast {
		padding: 28px 22px;
	}
	/* integrations: the chart sits above its destinations */
	#mb-sc .sc-int__frame {
		padding: 32px 20px;
	}
	#mb-sc .sc-int__map {
		grid-template-columns: minmax(0, 1fr);
	}
	#mb-sc .sc-int__source {
		margin: 0 0 22px;
		justify-self: start;
	}
	#mb-sc .sc-int__source::after {
		display: none;
	}
	#mb-sc .sc-int__bracket {
		font-size: 56px;
	}
	#mb-sc .sc-int__chart {
		grid-auto-flow: column;
		align-items: center;
		padding: 10px 8px;
	}
	#mb-sc .sc-int__chart span {
		width: auto;
	}
	#mb-sc .sc-int__dests {
		padding-left: 22px;
	}
	#mb-sc .sc-int__dests::before {
		left: 6px;
		top: -22px;
	}
	#mb-sc .sc-int__dest::before {
		left: -16px;
		width: 16px;
	}
	/* comparison: one card per row */
	#mb-sc .sc-table-wrap {
		overflow: visible;
		background: transparent;
		box-shadow: none;
	}
	#mb-sc .sc-table,
#mb-sc .sc-table tbody,
#mb-sc .sc-table tr,
#mb-sc .sc-table th,
#mb-sc .sc-table td {
		display: block;
		min-width: 0;
		width: auto;
	}
	#mb-sc .sc-table thead {
		display: none;
	}
	#mb-sc .sc-table tr {
		margin-bottom: 12px;
		border-radius: 14px;
		background: #fff;
		box-shadow: inset 0 0 0 1px var(--sc-line);
		overflow: hidden;
	}
	#mb-sc .sc-table tbody th {
		width: auto;
		padding: 16px 18px 6px;
		border: 0;
	}
	#mb-sc .sc-table td {
		padding: 8px 18px 14px;
		border: 0;
	}
	#mb-sc .sc-table td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		font: 600 11px/1.3 var(--sc-body);
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: var(--sc-slate);
	}
	#mb-sc .sc-table td.is-us {
		padding-top: 12px;
	}
	#mb-sc .sc-table td.is-us::before {
		color: var(--sc-gold-ink);
	}
	#mb-sc .sc-toggle {
		margin-left: 0;
	}
}
