/* Gate SiO — product presentation */

.msp-gate-page {
	--gate-bg: #f3f0e9;
	--gate-paper: #fbfaf7;
	--gate-ink: #172235;
	--gate-muted: #6f716f;
	--gate-line: rgba(28, 36, 45, .13);
	--gate-dark: #07101b;
	--gate-panel: #0d1724;
	--gate-blue: #2ea8ff;
	--gate-cyan: #49d8ca;
	--gate-green: #24c785;
	--gate-gold: #c6a45b;
	--gate-gold-deep: #9b7936;
	color: var(--gate-ink);
	background: var(--gate-paper);
	overflow: clip;
}

.msp-gate-page *,
.msp-gate-page *::before,
.msp-gate-page *::after { box-sizing: border-box; }

.msp-gate-page svg {
	display: block;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.msp-gate-page .msp-eyebrow,
.msp-gate-kicker {
	margin: 0 0 16px;
	color: var(--gate-gold-deep);
	font-family: "Jura", Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
}

.msp-gate-section-head,
.msp-gate-product__head,
.msp-gate-architecture__head {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(280px, .58fr);
	gap: clamp(36px, 6vw, 92px);
	align-items: end;
}

.msp-gate-section-head h2,
.msp-gate-product__head h2,
.msp-gate-architecture__head h2 {
	margin: 0;
	max-width: 15ch;
	font-size: clamp(38px, 4.5vw, 64px);
	font-weight: 650;
	letter-spacing: -.055em;
	line-height: .96;
}

.msp-gate-section-head > p,
.msp-gate-product__head > p,
.msp-gate-architecture__head > p {
	margin: 0;
	color: var(--gate-muted);
	font-size: 15px;
	line-height: 1.75;
}

/* Hero */
.msp-gate-hero {
	position: relative;
	min-height: 780px;
	padding: clamp(72px, 8vw, 116px) 0 0;
	color: #edf3f8;
	background:
		radial-gradient(circle at 78% 28%, rgba(46, 168, 255, .15), transparent 30%),
		radial-gradient(circle at 10% 4%, rgba(198, 164, 91, .14), transparent 26%),
		linear-gradient(145deg, #050b12 0%, #08131f 48%, #0a1623 100%);
	overflow: hidden;
}

.msp-gate-ambient {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
	background-size: 54px 54px;
	mask-image: linear-gradient(90deg, transparent 0%, #000 58%, #000 100%);
	pointer-events: none;
}

.msp-gate-ambient::after {
	content: "";
	position: absolute;
	right: -160px;
	top: 80px;
	width: 620px;
	height: 620px;
	border: 1px solid rgba(73, 216, 202, .08);
	border-radius: 50%;
	box-shadow: 0 0 0 90px rgba(46, 168, 255, .025), 0 0 0 180px rgba(46, 168, 255, .018);
}

.msp-gate-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
	gap: clamp(42px, 6vw, 96px);
	align-items: center;
}

.msp-gate-hero__copy { padding-bottom: 48px; }

.msp-gate-kicker {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #7fd0ff;
}

.msp-gate-kicker span {
	display: inline-block;
	width: 28px;
	height: 1px;
	background: var(--gate-blue);
}

.msp-gate-hero h1 {
	margin: 0;
	max-width: 12.4ch;
	color: #fff;
	font-size: clamp(48px, 5.6vw, 78px);
	font-weight: 650;
	letter-spacing: -.063em;
	line-height: .96;
}

.msp-gate-hero__lead {
	max-width: 44rem;
	margin: 24px 0 24px;
	color: rgba(226, 235, 243, .74);
	font-size: 16px;
	line-height: 1.72;
}

.msp-gate-hero__points {
	display: grid;
	gap: 0;
	margin: 0 0 30px;
	padding: 0;
	list-style: none;
	border-top: 1px solid rgba(255,255,255,.1);
}

.msp-gate-hero__points li {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 10px;
	align-items: center;
	padding: 11px 0;
	color: rgba(237, 243, 248, .85);
	font-size: 13px;
	border-bottom: 1px solid rgba(255,255,255,.1);
}

.msp-gate-hero__points span {
	color: var(--gate-gold);
	font-family: "Jura", Arial, sans-serif;
	font-size: 10px;
	letter-spacing: .12em;
}

.msp-gate-text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #dbe7ef;
	font-family: "Jura", Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .12em;
	text-decoration: none;
	text-transform: uppercase;
}

.msp-gate-text-link span {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: 50%;
	transition: transform .25s ease, border-color .25s ease;
}

.msp-gate-text-link:hover span { transform: translateY(3px); border-color: var(--gate-blue); }

.msp-gate-hero__note {
	margin: 18px 0 0;
	max-width: 46rem;
	color: rgba(226, 235, 243, .43);
	font-size: 11px;
	line-height: 1.55;
}

/* Hero product console */
.msp-gate-hero-console {
	position: relative;
	width: min(720px, 52vw);
	margin-right: -8vw;
	background: #0b1521;
	border: 1px solid rgba(134, 189, 225, .2);
	border-radius: 14px;
	box-shadow: 0 34px 90px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.025) inset;
	overflow: hidden;
	transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
	transform-origin: center left;
}

.msp-gate-console-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 68px;
	padding: 0 20px;
	background: #f8fafc;
	border-bottom: 1px solid #d9e1e8;
}

.msp-gate-console-brand { display: flex; align-items: center; gap: 10px; color: #172235; }

.msp-gate-console-brand > b {
	display: grid;
	place-items: center;
	width: 34px;
	height: 40px;
	color: #fff;
	font-family: "Jura", Arial, sans-serif;
	font-size: 16px;
	background: #12457b;
	clip-path: polygon(50% 0, 100% 20%, 100% 78%, 50% 100%, 0 78%, 0 20%);
}

.msp-gate-console-brand > span { display: grid; color: #1c2a3d; font-size: 13px; font-weight: 700; }
.msp-gate-console-brand small { color: #7b8795; font-family: "Jura", Arial, sans-serif; font-size: 7px; letter-spacing: .14em; }

.msp-gate-live,
.msp-gate-fps,
.ui-live,
.msp-gate-product-status,
.ui-state {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.msp-gate-live {
	padding: 8px 11px;
	color: #087b5a;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .1em;
	background: #e4f8f0;
	border: 1px solid #bfead9;
	border-radius: 999px;
}

.msp-gate-live i,
.msp-gate-fps i,
.ui-live i,
.msp-gate-product-status i,
.ui-state i,
.msp-gate-decision-card span i,
.diag-summary i,
.diag-workers header > i {
	display: inline-block;
	width: 7px;
	height: 7px;
	background: var(--gate-green);
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(36,199,133,.11), 0 0 14px rgba(36,199,133,.45);
}

.msp-gate-camera-stage {
	position: relative;
	min-height: 430px;
	background:
		radial-gradient(circle at 54% 62%, rgba(50, 87, 115, .28), transparent 33%),
		linear-gradient(180deg, #142130 0%, #09131e 100%);
	overflow: hidden;
}

.msp-gate-camera-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(131, 168, 194, .07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(131, 168, 194, .07) 1px, transparent 1px);
	background-size: 36px 36px;
	transform: perspective(400px) rotateX(54deg) scale(1.45);
	transform-origin: center bottom;
}

.msp-gate-zone-drawing {
	position: absolute;
	inset: 5% 2% 2%;
	width: 96%;
	height: 93%;
	color: var(--gate-blue);
}

.msp-gate-zone-drawing .zone-main { fill: url(#gateZoneFill); stroke: #36b2ff; stroke-width: 2; stroke-dasharray: 8 7; }
.msp-gate-zone-drawing .zone-lane { stroke: rgba(255,255,255,.14); stroke-width: 1; }
.msp-gate-zone-drawing .gate-arm { stroke: var(--gate-gold); stroke-width: 5; }
.msp-gate-zone-drawing .zone-dot { fill: #dff4ff; stroke: #36b2ff; stroke-width: 2; }

.msp-gate-hero-car {
	position: absolute;
	left: 25%;
	top: 18%;
	width: 57%;
	height: auto;
	filter: drop-shadow(0 28px 28px rgba(0,0,0,.52));
	transform: rotate(2deg);
}

.msp-gate-detection-box {
	position: absolute;
	left: 30%;
	top: 36%;
	display: grid;
	gap: 3px;
	padding: 8px 11px;
	color: #e4f7ff;
	background: rgba(3, 12, 21, .84);
	border: 1px solid var(--gate-blue);
	box-shadow: 0 0 22px rgba(46,168,255,.16);
}

.msp-gate-detection-box::before,
.msp-gate-detection-box::after {
	content: "";
	position: absolute;
	width: 15px;
	height: 15px;
	border-color: #fff;
}

.msp-gate-detection-box::before { left: -3px; top: -3px; border-left: 2px solid; border-top: 2px solid; }
.msp-gate-detection-box::after { right: -3px; bottom: -3px; border-right: 2px solid; border-bottom: 2px solid; }
.msp-gate-detection-box small { color: #74cfff; font-size: 7px; letter-spacing: .15em; }
.msp-gate-detection-box strong { font-size: 10px; letter-spacing: .04em; }

.msp-gate-fps {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 7px 10px;
	color: #dce7ee;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 9px;
	background: rgba(4, 11, 19, .85);
	border: 1px solid rgba(130, 168, 194, .18);
	border-radius: 5px;
}

.msp-gate-decision-card {
	position: absolute;
	right: 18px;
	bottom: 18px;
	display: grid;
	gap: 4px;
	min-width: 190px;
	padding: 14px 16px;
	background: rgba(248,250,252,.96);
	border: 1px solid #d6e0e8;
	border-radius: 8px;
	box-shadow: 0 16px 36px rgba(0,0,0,.25);
}

.msp-gate-decision-card small { color: #7c8996; font-family: "Jura", Arial, sans-serif; font-size: 8px; letter-spacing: .15em; }
.msp-gate-decision-card strong { color: #132237; font-size: 15px; }
.msp-gate-decision-card span { display: flex; align-items: center; gap: 8px; color: #12805e; font-size: 10px; }

.msp-gate-console-foot {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: #f8fafc;
	border-top: 1px solid #d9e1e8;
}

.msp-gate-console-foot span {
	display: grid;
	gap: 3px;
	padding: 13px 16px;
	color: #7e8995;
	font-family: "Jura", Arial, sans-serif;
	font-size: 7px;
	letter-spacing: .13em;
	border-right: 1px solid #e1e6eb;
}

.msp-gate-console-foot span:last-child { border-right: 0; }
.msp-gate-console-foot b { color: #1e3045; font-size: 9px; }

.msp-gate-proofbar {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: clamp(58px, 7vw, 90px);
	border-top: 1px solid rgba(255,255,255,.12);
}

.msp-gate-proofbar > div {
	display: grid;
	grid-template-columns: 38px 1fr;
	gap: 12px;
	align-items: start;
	padding: 22px 20px 24px;
	border-right: 1px solid rgba(255,255,255,.1);
}

.msp-gate-proofbar > div:first-child { padding-left: 0; }
.msp-gate-proofbar > div:last-child { border-right: 0; }
.msp-gate-proofbar svg { width: 26px; height: 26px; color: #66c6ff; }
.msp-gate-proofbar span { display: grid; gap: 5px; }
.msp-gate-proofbar small { color: var(--gate-gold); font-family: "Jura", Arial, sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.msp-gate-proofbar strong { color: rgba(238,244,248,.73); font-size: 11px; font-weight: 500; line-height: 1.45; }

/* Positioning */
.msp-gate-positioning { padding: clamp(90px, 10vw, 150px) 0; background: #fff; }

.msp-gate-positioning__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr);
	gap: clamp(52px, 9vw, 140px);
}

.msp-gate-positioning h2 {
	margin: 0;
	max-width: 14ch;
	font-size: clamp(42px, 5.4vw, 74px);
	font-weight: 650;
	letter-spacing: -.06em;
	line-height: .94;
}

.msp-gate-positioning__copy > p {
	margin: 4px 0 34px;
	color: var(--gate-muted);
	font-size: 17px;
	line-height: 1.75;
}

.msp-gate-compare { display: grid; border-top: 1px solid var(--gate-line); }

.msp-gate-compare article {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 8px 18px;
	padding: 20px 0;
	border-bottom: 1px solid var(--gate-line);
}

.msp-gate-compare small { grid-row: 1 / 3; color: var(--gate-gold-deep); font-family: "Jura", Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.msp-gate-compare strong { font-size: 16px; }
.msp-gate-compare span { color: var(--gate-muted); font-size: 13px; }

/* Workflow */
.msp-gate-workflow { padding: clamp(84px, 9vw, 132px) 0; background: var(--gate-bg); }

.msp-gate-workflow__steps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: clamp(52px, 7vw, 86px) 0 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--gate-line);
	border-bottom: 1px solid var(--gate-line);
}

.msp-gate-workflow__steps li {
	position: relative;
	display: grid;
	align-content: start;
	min-height: 305px;
	padding: 26px clamp(20px, 2.4vw, 34px) 30px;
	border-right: 1px solid var(--gate-line);
}

.msp-gate-workflow__steps li:first-child { padding-left: 0; }
.msp-gate-workflow__steps li:last-child { border-right: 0; }
.msp-gate-workflow__steps li > span { color: var(--gate-gold-deep); font-family: "Jura", Arial, sans-serif; font-size: 10px; letter-spacing: .13em; }
.msp-gate-workflow__steps svg { width: 42px; height: 42px; margin: 52px 0 20px; color: #54738e; }
.msp-gate-workflow__steps strong { max-width: 13ch; font-size: 19px; line-height: 1.2; }
.msp-gate-workflow__steps small { margin-top: 13px; color: var(--gate-muted); font-size: 13px; line-height: 1.6; }

/* Interactive product proof */
.msp-gate-product {
	padding: clamp(90px, 10vw, 150px) 0;
	color: #e8f0f6;
	background:
		radial-gradient(circle at 85% 15%, rgba(46,168,255,.1), transparent 25%),
		#060d16;
}

.msp-gate-product .msp-eyebrow { color: #6cc9ff; }
.msp-gate-product__head h2 { color: #fff; max-width: 12ch; }
.msp-gate-product__head > p { color: rgba(220,231,239,.62); }

.msp-gate-product-shell {
	display: grid;
	grid-template-columns: 76px 1fr;
	margin-top: clamp(52px, 7vw, 84px);
	background: #eef3f7;
	border: 1px solid rgba(132, 178, 210, .22);
	border-radius: 16px;
	box-shadow: 0 44px 100px rgba(0,0,0,.46);
	overflow: hidden;
}

.msp-gate-product-sidebar {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 18px 12px;
	background: #0e1b29;
}

.msp-gate-product-sidebar span {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: #778a9e;
	border-radius: 9px;
}

.msp-gate-product-sidebar span.brand { margin-bottom: 16px; color: #fff; font-family: "Jura", Arial, sans-serif; font-size: 17px; font-weight: 700; background: #165895; clip-path: polygon(50% 0, 100% 20%, 100% 78%, 50% 100%, 0 78%, 0 20%); border-radius: 0; }
.msp-gate-product-sidebar span.active { color: #6ecbff; background: rgba(46,168,255,.13); box-shadow: inset 2px 0 #42b8ff; }
.msp-gate-product-sidebar svg { width: 21px; height: 21px; }

.msp-gate-product-main { min-width: 0; color: #1a293a; background: #edf2f6; }

.msp-gate-product-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 72px;
	padding: 14px 24px;
	background: #fff;
	border-bottom: 1px solid #dce4ea;
}

.msp-gate-product-toolbar > span:first-child { display: grid; gap: 3px; }
.msp-gate-product-toolbar small { color: #7f8d99; font-family: "Jura", Arial, sans-serif; font-size: 8px; letter-spacing: .16em; }
.msp-gate-product-toolbar strong { font-size: 18px; }

.msp-gate-product-status {
	padding: 8px 12px;
	color: #087a57;
	font-size: 10px;
	font-weight: 700;
	background: #e4f7ef;
	border: 1px solid #bce8d7;
	border-radius: 999px;
}

.msp-gate-product-tabs {
	display: flex;
	gap: 4px;
	padding: 12px 20px 0;
	background: #fff;
	border-bottom: 1px solid #dce4ea;
	overflow-x: auto;
}

.msp-gate-product-tabs button {
	position: relative;
	min-width: max-content;
	padding: 12px 16px 14px;
	color: #72808d;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.msp-gate-product-tabs button::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: -1px;
	height: 2px;
	background: transparent;
}

.msp-gate-product-tabs button[aria-selected="true"] { color: #14548d; }
.msp-gate-product-tabs button[aria-selected="true"]::after { background: #2ea8ff; }
.msp-gate-product-tabs button:focus-visible { outline: 2px solid #2ea8ff; outline-offset: -2px; }

.msp-gate-product-panels { min-height: 560px; }
.msp-gate-product-panel { min-height: 560px; padding: 24px; }
.msp-gate-product-panel[hidden] { display: none; }

.msp-gate-ui-live,
.msp-gate-ui-zones {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 270px;
	gap: 18px;
	min-height: 510px;
}

.msp-gate-ui-camera,
.msp-gate-zone-editor {
	position: relative;
	min-height: 510px;
	background:
		radial-gradient(circle at 50% 65%, rgba(69,110,142,.24), transparent 32%),
		linear-gradient(180deg, #142130, #09131e);
	border-radius: 9px;
	overflow: hidden;
}

.msp-gate-ui-camera::before,
.zone-editor-grid {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgba(137,173,198,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(137,173,198,.06) 1px, transparent 1px);
	background-size: 38px 38px;
}

.msp-gate-ui-camera > svg {
	position: absolute;
	inset: 8% 4% 2%;
	width: 92%;
	height: 90%;
}

.msp-gate-ui-camera > svg polygon { fill: rgba(46,168,255,.08); stroke: #35b3ff; stroke-dasharray: 8 7; }
.msp-gate-ui-camera > svg polyline { stroke: rgba(255,255,255,.12); }
.msp-gate-ui-camera > img { position: absolute; left: 22%; top: 14%; width: 60%; height: auto; filter: drop-shadow(0 28px 26px rgba(0,0,0,.5)); }

.ui-live { position: absolute; z-index: 3; left: 14px; top: 14px; padding: 8px 10px; color: #b9f4db; font-size: 9px; font-weight: 700; background: rgba(4,15,22,.82); border-radius: 5px; }
.ui-object { position: absolute; z-index: 3; left: 33%; top: 39%; padding: 7px 9px; color: #dbf3ff; font-size: 9px; font-weight: 700; background: rgba(4,13,21,.82); border: 1px solid #2ea8ff; }

.msp-gate-ui-live aside,
.msp-gate-zone-tools {
	align-self: stretch;
	padding: 24px;
	background: #fff;
	border: 1px solid #dce4ea;
	border-radius: 9px;
}

.ui-state { color: #087b59; font-size: 10px; font-weight: 700; }
.msp-gate-ui-live aside h3,
.msp-gate-zone-tools h3 { margin: 28px 0 20px; font-size: 21px; }

.msp-gate-ui-live dl { display: grid; gap: 0; margin: 0 0 26px; }
.msp-gate-ui-live dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid #e5eaee; }
.msp-gate-ui-live dt { color: #7b8792; font-size: 11px; }
.msp-gate-ui-live dd { margin: 0; color: #20334a; font-size: 11px; font-weight: 700; }
.msp-gate-ui-live aside button { width: 100%; padding: 14px; color: #fff; font: inherit; font-size: 11px; font-weight: 700; background: #1da66f; border: 0; border-radius: 6px; opacity: 1; }
.msp-gate-ui-live aside > small { display: block; margin-top: 11px; color: #8d98a2; font-size: 9px; line-height: 1.5; text-align: center; }

.msp-gate-zone-editor { background: #13202d; }
.msp-gate-zone-editor > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.msp-gate-zone-editor .transport { fill: rgba(46,168,255,.1); stroke: #2ea8ff; stroke-width: 2; }
.msp-gate-zone-editor .exclude { fill: rgba(226,119,45,.09); stroke: #e2772d; stroke-width: 2; stroke-dasharray: 7 6; }
.msp-gate-zone-editor .person { fill: rgba(73,216,202,.08); stroke: #49d8ca; stroke-width: 2; }
.zone-label { position: absolute; z-index: 2; padding: 6px 8px; color: #e8f6ff; font-size: 8px; font-weight: 700; letter-spacing: .08em; background: rgba(4,12,19,.82); }
.zone-label.transport { left: 17%; bottom: 17%; border-left: 2px solid #2ea8ff; }
.zone-label.exclude { left: 3%; top: 12%; border-left: 2px solid #e2772d; }
.zone-label.person { right: 4%; top: 50%; border-left: 2px solid #49d8ca; }

.msp-gate-zone-tools { display: grid; align-content: start; gap: 10px; }
.msp-gate-zone-tools h3 { margin: 0 0 10px; }
.msp-gate-zone-tools label { display: grid; grid-template-columns: 10px 1fr 20px; gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid #e4e9ed; }
.msp-gate-zone-tools label > i { width: 8px; height: 8px; border-radius: 50%; }
.msp-gate-zone-tools label > i.blue { background: #2ea8ff; }
.msp-gate-zone-tools label > i.cyan { background: #49d8ca; }
.msp-gate-zone-tools label > i.orange { background: #e2772d; }
.msp-gate-zone-tools label span { display: grid; gap: 4px; }
.msp-gate-zone-tools label strong { font-size: 11px; }
.msp-gate-zone-tools label small { color: #7e8993; font-size: 9px; line-height: 1.4; }
.msp-gate-zone-tools label b { color: #159363; }
.msp-gate-zone-tools button { margin-top: 16px; padding: 12px; color: #15517f; font: inherit; font-size: 10px; font-weight: 700; background: #e5f2fb; border: 1px solid #bcd9ec; border-radius: 6px; opacity: 1; }

.msp-gate-ui-history,
.msp-gate-ui-diagnostics { min-height: 500px; }

.history-metrics,
.diag-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.history-metrics > span,
.diag-summary > span { display: grid; gap: 6px; padding: 20px; background: #fff; border: 1px solid #dce4ea; border-radius: 8px; }
.history-metrics small,
.diag-summary small { color: #7e8a96; font-family: "Jura", Arial, sans-serif; font-size: 8px; letter-spacing: .13em; }
.history-metrics strong { color: #19314c; font-size: 30px; }

.history-list { display: grid; gap: 10px; margin-top: 18px; }
.history-list article { display: grid; grid-template-columns: 100px 1fr 54px; gap: 16px; align-items: center; padding: 12px; background: #fff; border: 1px solid #dce4ea; border-radius: 8px; }
.history-thumb { position: relative; height: 70px; background: linear-gradient(145deg, #1b2d3e, #0c1722); border-radius: 5px; overflow: hidden; }
.history-thumb::before { content: ""; position: absolute; left: 18%; right: 18%; bottom: 10%; height: 55%; border: 1px solid #2ea8ff; }
.history-thumb::after { content: ""; position: absolute; left: 27%; right: 27%; bottom: 12%; height: 33%; background: #5f6d78; border-radius: 7px 7px 3px 3px; }
.history-thumb.van::after { left: 34%; right: 25%; height: 40%; }
.history-thumb.ignored::before { border-color: #89949d; border-style: dashed; }
.history-thumb.ignored::after { opacity: .35; }
.history-list article > span:nth-child(2) { display: grid; gap: 5px; }
.history-list small { color: #7c8994; font-size: 9px; }
.history-list strong { font-size: 13px; }
.history-list em { width: max-content; padding: 4px 7px; color: #087a58; font-size: 8px; font-style: normal; font-weight: 700; background: #e4f7ef; border-radius: 999px; }
.history-list article:last-child em { color: #6d7680; background: #edf0f2; }
.history-list article > b { color: #1f5c8d; font-family: "Jura", Arial, sans-serif; font-size: 13px; text-align: center; }

.diag-summary > span { position: relative; grid-template-columns: 14px 1fr; align-items: center; }
.diag-summary > span i { grid-row: 1 / 3; }
.diag-summary strong { font-size: 15px; }
.diag-workers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.diag-workers article { padding: 22px; background: #fff; border: 1px solid #dce4ea; border-radius: 8px; }
.diag-workers header { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; }
.diag-workers header span { display: grid; gap: 3px; }
.diag-workers header strong { font-size: 13px; }
.diag-workers header small { color: #7e8994; font-size: 9px; }
.diag-workers header b { color: #087a58; font-size: 9px; }
.diag-workers dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 0; border-top: 1px solid #e2e8ed; }
.diag-workers dl div { display: grid; gap: 5px; padding: 14px 10px 0; border-right: 1px solid #e2e8ed; }
.diag-workers dl div:first-child { padding-left: 0; }
.diag-workers dl div:last-child { border-right: 0; }
.diag-workers dt { color: #82909c; font-size: 9px; }
.diag-workers dd { margin: 0; color: #1d3954; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }

.msp-gate-product-caption { margin: 18px 0 0; color: rgba(213,226,235,.48); font-size: 10px; line-height: 1.6; text-align: right; }

/* Real Gate Control PWA */
.msp-gate-mobile {
	position: relative;
	overflow: hidden;
	padding: clamp(100px, 11vw, 170px) 0;
	background:
		linear-gradient(90deg, rgba(17,34,50,.045) 1px, transparent 1px),
		linear-gradient(rgba(17,34,50,.045) 1px, transparent 1px),
		#f4f1ea;
	background-size: 64px 64px;
}

.msp-gate-mobile__grid {
	display: grid;
	grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
	gap: clamp(64px, 9vw, 140px);
	align-items: center;
}

.msp-gate-mobile__copy h2 {
	margin: 0;
	max-width: 11ch;
	font-size: clamp(46px, 5.2vw, 76px);
	font-weight: 650;
	letter-spacing: -.06em;
	line-height: .94;
}

.msp-gate-mobile__lead {
	max-width: 42rem;
	margin: 28px 0 0;
	color: var(--gate-muted);
	font-size: 15px;
	line-height: 1.78;
}

.msp-gate-mobile__features {
	display: grid;
	gap: 0;
	margin-top: 38px;
	border-top: 1px solid var(--gate-line);
}

.msp-gate-mobile__features article {
	display: grid;
	grid-template-columns: 42px 1fr;
	gap: 18px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--gate-line);
}

.msp-gate-mobile__features svg { width: 27px; height: 27px; color: #2c719f; }
.msp-gate-mobile__features article > span { display: grid; gap: 5px; }
.msp-gate-mobile__features strong { font-size: 14px; }
.msp-gate-mobile__features small { color: var(--gate-muted); font-size: 11px; line-height: 1.5; }

.msp-gate-mobile__install {
	display: grid;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--gate-line);
	background: rgba(255,255,255,.5);
}

.msp-gate-mobile__install li {
	display: grid;
	grid-template-columns: 50px 1fr;
	gap: 14px;
	align-items: center;
	padding: 16px 18px;
	border-bottom: 1px solid var(--gate-line);
}

.msp-gate-mobile__install li:last-child { border-bottom: 0; }
.msp-gate-mobile__install li > span { color: var(--gate-gold-deep); font-family: "Jura", Arial, sans-serif; font-size: 10px; letter-spacing: .14em; }
.msp-gate-mobile__install p { display: grid; gap: 4px; margin: 0; }
.msp-gate-mobile__install strong { font-size: 12px; }
.msp-gate-mobile__install small { color: var(--gate-muted); font-size: 10px; line-height: 1.45; }

.msp-gate-mobile__security {
	margin: 22px 0 0;
	color: #54616c;
	font-size: 11px;
	line-height: 1.65;
}

.msp-gate-mobile__security span { margin-right: 8px; color: #20a970; }
.msp-gate-mobile__security strong { color: var(--gate-ink); }

.msp-gate-mobile__visual {
	position: relative;
	display: grid;
	min-height: 880px;
	place-items: center;
	padding: 60px;
	background:
		radial-gradient(circle at 62% 30%, rgba(58,170,239,.17), transparent 30%),
		linear-gradient(145deg, #07101a, #102337 62%, #0b1724);
	box-shadow: 0 36px 80px rgba(15,31,45,.18);
}

.msp-gate-phone-orbit {
	position: absolute;
	width: 620px;
	height: 620px;
	border: 1px solid rgba(95,199,255,.16);
	border-radius: 50%;
}

.msp-gate-phone-orbit::before,
.msp-gate-phone-orbit::after {
	position: absolute;
	inset: 12%;
	border: 1px solid rgba(95,199,255,.1);
	border-radius: inherit;
	content: "";
}

.msp-gate-phone-orbit::after { inset: 28%; border-color: rgba(198,164,91,.15); }

.msp-gate-phone {
	position: relative;
	z-index: 2;
	width: min(366px, 100%);
	padding: 10px;
	background: #101312;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: 48px;
	box-shadow: 0 42px 86px rgba(0,0,0,.48), inset 0 0 0 2px #252928;
	transform: rotate(-2.2deg);
}

.msp-gate-phone__speaker {
	position: absolute;
	z-index: 5;
	top: 17px;
	left: 50%;
	width: 88px;
	height: 22px;
	background: #101312;
	border-radius: 999px;
	transform: translateX(-50%);
}

.msp-gate-phone__screen {
	overflow: hidden;
	min-height: 744px;
	color: #202522;
	background: #f3f4ef;
	border-radius: 39px;
}

.msp-gate-phone__status {
	display: flex;
	height: 37px;
	padding: 12px 22px 0;
	align-items: center;
	justify-content: space-between;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 8px;
	font-weight: 700;
}

.msp-gate-phone__appbar {
	display: grid;
	grid-template-columns: 38px 1fr 36px;
	gap: 10px;
	align-items: center;
	padding: 9px 16px 12px;
}

.msp-gate-phone__appbar > b {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	color: #fff;
	background: #1b1e1d;
	border-radius: 13px;
}

.msp-gate-phone__appbar svg { width: 19px; height: 19px; }
.msp-gate-phone__appbar > span { display: grid; gap: 2px; }
.msp-gate-phone__appbar small { color: #959a95; font-family: "Jura", Arial, sans-serif; font-size: 7px; font-weight: 700; letter-spacing: .13em; }
.msp-gate-phone__appbar strong { font-size: 16px; letter-spacing: -.02em; }
.msp-gate-phone__appbar > i { display: grid; width: 34px; height: 34px; place-items: center; color: #4a504c; font-size: 9px; font-style: normal; font-weight: 800; background: #e3e5df; border-radius: 50%; }

.msp-gate-phone__select {
	display: grid;
	grid-template-columns: 58px 1fr 20px;
	align-items: center;
	margin: 0 14px 11px;
	padding: 0 12px;
	height: 48px;
	background: #fff;
	border: 1px solid #e1e3dc;
	border-radius: 15px;
}

.msp-gate-phone__select small { color: #939892; font-family: "Jura", Arial, sans-serif; font-size: 7px; font-weight: 700; letter-spacing: .1em; }
.msp-gate-phone__select strong { font-size: 11px; }
.msp-gate-phone__select > span { color: #7d827e; text-align: right; }

.msp-gate-phone__camera {
	position: relative;
	overflow: hidden;
	height: 212px;
	margin: 0 14px 12px;
	background: linear-gradient(180deg, #173049, #203f55 45%, #4f5b59 46%, #242b2d 100%);
	border-radius: 21px;
	box-shadow: 0 13px 28px rgba(22,31,37,.19);
}

.msp-gate-phone__camera::before {
	position: absolute;
	inset: 45% -10% auto;
	height: 2px;
	background: rgba(255,255,255,.14);
	box-shadow: 0 19px rgba(255,255,255,.08), 0 48px rgba(255,255,255,.08);
	content: "";
	transform: rotate(-3deg);
}

.msp-gate-phone__camera-top { position: absolute; z-index: 5; inset: 10px 10px auto; display: flex; justify-content: space-between; }
.msp-gate-phone__camera-top > span { padding: 5px 7px; color: #fff; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 7px; background: rgba(6,14,21,.65); border-radius: 999px; }
.msp-gate-phone__camera-top b { display: inline-flex; align-items: center; gap: 5px; padding: 5px 7px; color: #73e3ae; font-size: 7px; background: rgba(5,26,20,.72); border-radius: 999px; }
.msp-gate-phone__camera-top b i,
.msp-gate-phone__dock header > b i { width: 5px; height: 5px; background: #2bcc83; border-radius: 50%; }

.msp-gate-phone__road { position: absolute; left: 16%; bottom: -18%; width: 70%; height: 82%; background: linear-gradient(90deg, transparent 48%, rgba(245,218,116,.48) 49%, rgba(245,218,116,.48) 51%, transparent 52%); clip-path: polygon(40% 0, 61% 0, 100% 100%, 0 100%); }
.msp-gate-phone__zone { position: absolute; z-index: 2; left: 21%; bottom: 12%; width: 58%; height: 58%; border: 2px dashed #52c9ff; clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); }
.msp-gate-phone__camera > img { position: absolute; z-index: 3; left: 33%; bottom: 5%; width: 35%; height: 64%; object-fit: contain; filter: drop-shadow(0 10px 13px rgba(0,0,0,.42)); }

.msp-gate-phone__detect {
	position: absolute;
	z-index: 4;
	right: 10px;
	bottom: 14px;
	display: grid;
	gap: 2px;
	padding: 7px 9px;
	color: #fff;
	background: rgba(7,20,30,.86);
	border-left: 2px solid #4bc6ff;
}

.msp-gate-phone__detect small { color: #6bcfff; font-size: 6px; letter-spacing: .1em; }
.msp-gate-phone__detect strong { font-size: 8px; }

.msp-gate-phone__dock { margin: 0 14px; padding: 15px; background: #fff; border: 1px solid #e3e4df; border-radius: 21px; }
.msp-gate-phone__dock header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.msp-gate-phone__dock header > span { display: grid; gap: 3px; }
.msp-gate-phone__dock header small { color: #989d98; font-family: "Jura", Arial, sans-serif; font-size: 6px; letter-spacing: .12em; }
.msp-gate-phone__dock header strong { font-size: 11px; }
.msp-gate-phone__dock header > b { display: flex; gap: 5px; align-items: center; padding: 5px 7px; color: #24744f; font-size: 6px; background: #ecf7f0; border-radius: 999px; }

.msp-gate-phone__hold {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: 38px 1fr 14px;
	gap: 10px;
	align-items: center;
	margin-top: 12px;
	padding: 10px;
	color: #fff;
	background: #1b1e1d;
	border-radius: 16px;
}

.msp-gate-phone__hold::after { position: absolute; right: 0; bottom: 0; left: 0; height: 3px; background: linear-gradient(90deg, #46c487 0 72%, rgba(255,255,255,.12) 72%); content: ""; }
.msp-gate-phone__hold > span { display: grid; width: 38px; height: 38px; place-items: center; color: #24744f; background: #dcf4e6; border-radius: 12px; }
.msp-gate-phone__hold svg { width: 18px; height: 18px; }
.msp-gate-phone__hold p { display: grid; gap: 3px; margin: 0; }
.msp-gate-phone__hold strong { font-size: 10px; }
.msp-gate-phone__hold small { color: #aeb4b0; font-size: 7px; }
.msp-gate-phone__hold > i { color: #858b87; font-size: 19px; font-style: normal; }

.msp-gate-phone__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.msp-gate-phone__actions > span { display: grid; min-height: 43px; place-items: center; color: #86353b; font-size: 8px; font-weight: 700; background: #fbefef; border-radius: 13px; }
.msp-gate-phone__actions > span:last-child { color: #424844; background: #f0f1ed; }
.msp-gate-phone__actions b { color: #258054; font-size: 6px; }

.msp-gate-phone__nav {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	margin: 13px 14px 14px;
	padding: 7px;
	background: rgba(255,255,255,.95);
	border: 1px solid #dcddd8;
	border-radius: 18px;
	box-shadow: 0 10px 25px rgba(19,25,22,.13);
}

.msp-gate-phone__nav > span { display: grid; gap: 3px; min-height: 45px; place-items: center; color: #8d928e; border-radius: 12px; }
.msp-gate-phone__nav > span.active { color: #1f2421; background: #eceee9; }
.msp-gate-phone__nav svg { width: 17px; height: 17px; }
.msp-gate-phone__nav small { font-size: 6px; font-weight: 700; }

.msp-gate-mobile__badge {
	position: absolute;
	z-index: 3;
	display: grid;
	gap: 5px;
	min-width: 150px;
	padding: 14px 16px;
	color: #fff;
	background: rgba(12,26,39,.9);
	border: 1px solid rgba(255,255,255,.13);
	box-shadow: 0 18px 40px rgba(0,0,0,.23);
	backdrop-filter: blur(12px);
}

.msp-gate-mobile__badge small { color: #65ccff; font-family: "Jura", Arial, sans-serif; font-size: 7px; letter-spacing: .16em; }
.msp-gate-mobile__badge strong { font-size: 11px; }
.msp-gate-mobile__badge.is-pwa { top: 18%; left: 4%; }
.msp-gate-mobile__badge.is-safe { right: 4%; bottom: 20%; }
.msp-gate-mobile__badge.is-safe small { color: var(--gate-gold); }

.msp-gate-mobile__caption {
	position: absolute;
	right: 30px;
	bottom: 24px;
	left: 30px;
	margin: 0;
	color: rgba(220,231,239,.45);
	font-size: 8px;
	line-height: 1.5;
	text-align: center;
}

/* Capabilities */
.msp-gate-capabilities { padding: clamp(90px, 10vw, 150px) 0; background: #fff; }

.msp-gate-capability-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(52px, 7vw, 84px);
	border-top: 1px solid var(--gate-line);
	border-left: 1px solid var(--gate-line);
}

.msp-gate-capability-grid article {
	position: relative;
	min-height: 300px;
	padding: 30px;
	border-right: 1px solid var(--gate-line);
	border-bottom: 1px solid var(--gate-line);
	transition: color .3s ease, background .3s ease;
}

.msp-gate-capability-grid article:hover { color: #fff; background: #0b1724; }
.msp-gate-capability-grid svg { width: 34px; height: 34px; margin-bottom: 54px; color: #557894; }
.msp-gate-capability-grid article:hover svg { color: #6dccff; }
.msp-gate-capability-grid small { color: var(--gate-gold-deep); font-family: "Jura", Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.msp-gate-capability-grid h3 { margin: 12px 0 14px; max-width: 15ch; font-size: 22px; line-height: 1.15; letter-spacing: -.025em; }
.msp-gate-capability-grid p { margin: 0; color: var(--gate-muted); font-size: 13px; line-height: 1.65; }
.msp-gate-capability-grid article:hover p { color: rgba(225,235,241,.65); }

/* Architecture */
.msp-gate-architecture { padding: clamp(90px, 10vw, 150px) 0; background: var(--gate-bg); }
.msp-gate-architecture__head h2 { max-width: 14ch; }

.msp-gate-architecture__flow {
	display: grid;
	grid-template-columns: 1fr 48px 1fr 48px 1fr 48px 1fr;
	align-items: center;
	margin-top: clamp(52px, 7vw, 84px);
}

.msp-gate-architecture__flow article {
	position: relative;
	display: grid;
	align-content: start;
	min-height: 250px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--gate-line);
}

.msp-gate-architecture__flow article.core { color: #fff; background: #0b1724; border-color: #0b1724; box-shadow: 0 20px 44px rgba(14,30,45,.16); }
.msp-gate-architecture__flow article > span { position: absolute; top: 18px; right: 18px; color: var(--gate-gold-deep); font-family: "Jura", Arial, sans-serif; font-size: 9px; }
.msp-gate-architecture__flow svg { width: 42px; height: 42px; margin: 18px 0 42px; color: #557894; }
.msp-gate-architecture__flow .core svg { color: #65c9ff; }
.msp-gate-architecture__flow small { color: var(--gate-gold-deep); font-family: "Jura", Arial, sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.msp-gate-architecture__flow strong { margin-top: 8px; font-size: 17px; }
.msp-gate-architecture__flow em { margin-top: 10px; color: var(--gate-muted); font-size: 11px; font-style: normal; line-height: 1.5; }
.msp-gate-architecture__flow .core em { color: rgba(224,235,242,.62); }
.msp-gate-architecture__flow > i { position: relative; height: 1px; background: rgba(32,49,64,.3); }
.msp-gate-architecture__flow > i::after { content: ""; position: absolute; top: -3px; right: 0; width: 7px; height: 7px; border-top: 1px solid #657583; border-right: 1px solid #657583; transform: rotate(45deg); }

.msp-gate-tech-details { margin-top: 34px; border-top: 1px solid var(--gate-line); border-bottom: 1px solid var(--gate-line); }
.msp-gate-tech-details summary { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; font-family: "Jura", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; list-style: none; }
.msp-gate-tech-details summary::-webkit-details-marker { display: none; }
.msp-gate-tech-details summary span { font-size: 18px; font-weight: 400; transition: transform .25s ease; }
.msp-gate-tech-details[open] summary span { transform: rotate(45deg); }
.msp-gate-tech-details > div { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 8px 0 28px; }
.msp-gate-tech-details p { display: grid; gap: 8px; margin: 0; padding: 18px 22px; border-right: 1px solid var(--gate-line); border-bottom: 1px solid var(--gate-line); }
.msp-gate-tech-details p:nth-child(3n) { border-right: 0; }
.msp-gate-tech-details p:nth-last-child(-n+3) { border-bottom: 0; }
.msp-gate-tech-details strong { font-size: 13px; }
.msp-gate-tech-details p span { color: var(--gate-muted); font-size: 12px; line-height: 1.55; }

/* Suitability */
.msp-gate-fit { padding: clamp(90px, 10vw, 150px) 0; background: #fff; }
.msp-gate-fit__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1fr); gap: clamp(60px, 9vw, 142px); align-items: start; }
.msp-gate-fit__intro { position: sticky; top: 120px; }
.msp-gate-fit h2 { margin: 0; max-width: 12ch; font-size: clamp(40px, 5vw, 66px); font-weight: 650; letter-spacing: -.055em; line-height: .97; }
.msp-gate-fit__intro > p:not(.msp-eyebrow) { margin: 24px 0 30px; max-width: 38rem; color: var(--gate-muted); font-size: 15px; line-height: 1.75; }
.msp-gate-fit__checks { border-top: 1px solid var(--gate-line); }
.msp-gate-fit__checks article { display: grid; grid-template-columns: 54px 1fr; gap: 20px; align-items: start; padding: 28px 0; border-bottom: 1px solid var(--gate-line); }
.msp-gate-fit__checks article > span { display: grid; place-items: center; width: 42px; height: 42px; color: #245e87; background: #edf5fa; border-radius: 50%; }
.msp-gate-fit__checks svg { width: 20px; height: 20px; }
.msp-gate-fit__checks strong { font-size: 17px; }
.msp-gate-fit__checks p { margin: 8px 0 0; color: var(--gate-muted); font-size: 13px; line-height: 1.62; }

/* Gate + ALPR stack */
.msp-gate-stack { padding: clamp(90px, 10vw, 144px) 0; color: #eaf1f5; background: #07101a; }
.msp-gate-stack .msp-eyebrow { color: var(--gate-gold); }
.msp-gate-stack .msp-gate-section-head h2 { color: #fff; max-width: 14ch; }
.msp-gate-stack .msp-gate-section-head > p { color: rgba(222,233,240,.6); }

.msp-gate-stack__grid { display: grid; grid-template-columns: 1fr 64px 1fr; gap: 0; align-items: stretch; margin-top: clamp(48px, 7vw, 76px); }
.msp-gate-stack__grid article { padding: clamp(30px, 4vw, 52px); background: #0c1723; border: 1px solid rgba(255,255,255,.1); }
.msp-gate-stack__grid article.is-alt { background: linear-gradient(145deg, rgba(198,164,91,.09), #0c1723 55%); border-color: rgba(198,164,91,.34); }
.msp-gate-stack__grid small { color: #69caff; font-family: "Jura", Arial, sans-serif; font-size: 9px; letter-spacing: .16em; }
.msp-gate-stack__grid .is-alt small { color: var(--gate-gold); }
.msp-gate-stack__grid h3 { margin: 12px 0 14px; color: #fff; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; }
.msp-gate-stack__grid p { margin: 0; max-width: 34rem; color: rgba(224,235,241,.67); font-size: 14px; line-height: 1.65; }
.msp-gate-stack__grid ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.msp-gate-stack__grid li { padding: 7px 9px; color: rgba(230,239,244,.75); font-size: 10px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); }
.msp-gate-stack__grid a { display: inline-flex; gap: 10px; margin-top: 28px; color: var(--gate-gold); font-family: "Jura", Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.msp-gate-stack__plus { display: grid; place-items: center; color: var(--gate-gold); font-family: "Jura", Arial, sans-serif; font-size: 26px; background: #07101a; }

/* FAQ */
.msp-gate-faq { padding: clamp(90px, 10vw, 145px) 0; background: var(--gate-bg); }
.msp-gate-faq__grid { display: grid; grid-template-columns: minmax(0, .6fr) minmax(420px, 1fr); gap: clamp(64px, 10vw, 150px); }
.msp-gate-faq h2 { margin: 0; max-width: 9ch; font-size: clamp(42px, 5vw, 68px); font-weight: 650; letter-spacing: -.055em; line-height: .96; }
.msp-gate-faq header > p:last-child { margin: 24px 0 0; max-width: 32rem; color: var(--gate-muted); font-size: 13px; line-height: 1.7; }
.msp-gate-faq__list { border-top: 1px solid var(--gate-line); }
.msp-gate-faq__list details { border-bottom: 1px solid var(--gate-line); }
.msp-gate-faq__list summary { display: flex; justify-content: space-between; gap: 22px; padding: 22px 0; font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; }
.msp-gate-faq__list summary::-webkit-details-marker { display: none; }
.msp-gate-faq__list summary span { color: var(--gate-gold-deep); font-size: 20px; font-weight: 400; transition: transform .25s ease; }
.msp-gate-faq__list details[open] summary span { transform: rotate(45deg); }
.msp-gate-faq__list details p { margin: -4px 42px 24px 0; color: var(--gate-muted); font-size: 13px; line-height: 1.72; }

/* Process and CTA */
.msp-gate-process { padding: clamp(80px, 9vw, 126px) 0; background: #fff; }
.msp-gate-process header { display: grid; grid-template-columns: .38fr 1fr; align-items: end; }
.msp-gate-process header h2 { margin: 0; max-width: 14ch; font-size: clamp(38px, 4.5vw, 62px); font-weight: 650; letter-spacing: -.055em; line-height: .97; }
.msp-gate-process ol { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(48px, 6vw, 74px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--gate-line); border-bottom: 1px solid var(--gate-line); }
.msp-gate-process li { display: grid; min-height: 210px; padding: 24px 30px; border-right: 1px solid var(--gate-line); }
.msp-gate-process li:first-child { padding-left: 0; }
.msp-gate-process li:last-child { border-right: 0; }
.msp-gate-process li span { color: var(--gate-gold-deep); font-family: "Jura", Arial, sans-serif; font-size: 10px; }
.msp-gate-process li strong { align-self: end; font-size: 19px; }
.msp-gate-process li small { margin-top: 10px; color: var(--gate-muted); font-size: 12px; line-height: 1.55; }

.msp-gate-cta { padding: clamp(70px, 8vw, 110px) 0; color: #edf3f7; background: linear-gradient(120deg, #07101a 0%, #0d1c2b 70%, #132436 100%); }
.msp-gate-cta__grid { display: grid; grid-template-columns: 1fr minmax(320px, .55fr); gap: clamp(50px, 9vw, 140px); align-items: end; }
.msp-gate-cta .msp-eyebrow { color: var(--gate-gold); }
.msp-gate-cta h2 { margin: 0; max-width: 15ch; color: #fff; font-size: clamp(40px, 5vw, 66px); font-weight: 650; letter-spacing: -.057em; line-height: .96; }
.msp-gate-cta__grid > div:last-child p { margin: 0 0 26px; color: rgba(225,235,241,.64); font-size: 14px; line-height: 1.72; }

/* Motion */
@keyframes mspGatePulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: .55; transform: scale(.82); }
}

@keyframes mspGateScan {
	0% { transform: translateY(-20px); opacity: 0; }
	15% { opacity: .5; }
	85% { opacity: .35; }
	100% { transform: translateY(430px); opacity: 0; }
}

.msp-gate-live i,
.msp-gate-fps i,
.ui-live i,
.msp-gate-product-status i,
.ui-state i { animation: mspGatePulse 2s ease-in-out infinite; }

.msp-gate-camera-stage::after,
.msp-gate-ui-camera::after {
	content: "";
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	top: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(73,216,202,.65), transparent);
	box-shadow: 0 0 18px rgba(73,216,202,.4);
	animation: mspGateScan 5.5s linear infinite;
	pointer-events: none;
}

/* Responsive */
@media (max-width: 1180px) {
	.msp-gate-hero__grid { grid-template-columns: minmax(0, .9fr) minmax(450px, 1.1fr); gap: 44px; }
	.msp-gate-hero-console { width: 620px; margin-right: -150px; }
	.msp-gate-capability-grid { grid-template-columns: repeat(2, 1fr); }
	.msp-gate-architecture__flow { grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; overflow-x: auto; padding-bottom: 14px; }
	.msp-gate-architecture__flow > i { display: none; }
}

@media (max-width: 980px) {
	.msp-gate-section-head,
	.msp-gate-product__head,
	.msp-gate-architecture__head,
	.msp-gate-positioning__grid,
	.msp-gate-mobile__grid,
	.msp-gate-fit__grid,
	.msp-gate-faq__grid,
	.msp-gate-cta__grid { grid-template-columns: 1fr; }

	.msp-gate-section-head h2,
	.msp-gate-product__head h2,
	.msp-gate-architecture__head h2 { max-width: 14ch; }

	.msp-gate-hero { min-height: 0; }
	.msp-gate-hero__grid { grid-template-columns: 1fr; }
	.msp-gate-hero__copy { max-width: 760px; padding-bottom: 0; }
	.msp-gate-hero-console { width: 108%; margin: 20px 0 0; transform: none; }
	.msp-gate-proofbar { grid-template-columns: repeat(2, 1fr); }
	.msp-gate-proofbar > div:nth-child(2) { border-right: 0; }
	.msp-gate-proofbar > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
	.msp-gate-proofbar > div:first-child { padding-left: 20px; }

	.msp-gate-workflow__steps { grid-template-columns: repeat(2, 1fr); }
	.msp-gate-workflow__steps li:nth-child(2) { border-right: 0; }
	.msp-gate-workflow__steps li:nth-child(-n+2) { border-bottom: 1px solid var(--gate-line); }
	.msp-gate-workflow__steps li:first-child { padding-left: clamp(20px, 2.4vw, 34px); }

	.msp-gate-ui-live,
	.msp-gate-ui-zones { grid-template-columns: 1fr; }
	.msp-gate-product-panels,
	.msp-gate-product-panel { min-height: 870px; }
	.msp-gate-ui-camera,
	.msp-gate-zone-editor { min-height: 560px; }
	.msp-gate-product-caption { text-align: left; }
	.msp-gate-mobile__copy { max-width: 760px; }
	.msp-gate-mobile__copy h2 { max-width: 13ch; }
	.msp-gate-mobile__visual { min-height: 850px; }

	.msp-gate-fit__intro { position: static; }
	.msp-gate-tech-details > div { grid-template-columns: repeat(2, 1fr); }
	.msp-gate-tech-details p:nth-child(3n) { border-right: 1px solid var(--gate-line); }
	.msp-gate-tech-details p:nth-child(2n) { border-right: 0; }
	.msp-gate-tech-details p:nth-last-child(-n+3) { border-bottom: 1px solid var(--gate-line); }
	.msp-gate-tech-details p:nth-last-child(-n+2) { border-bottom: 0; }

	.msp-gate-process header { grid-template-columns: 1fr; }
	.msp-gate-process header .msp-eyebrow { margin-bottom: 14px; }
}

@media (max-width: 720px) {
	.msp-gate-hero { padding-top: 64px; }
	.msp-gate-hero h1 { font-size: clamp(42px, 12vw, 60px); }
	.msp-gate-hero__lead { font-size: 15px; }
	.msp-gate-hero-console { width: 120%; margin-left: -4%; border-radius: 10px 0 0 10px; }
	.msp-gate-console-top { height: 56px; padding: 0 13px; }
	.msp-gate-console-brand > b { width: 28px; height: 33px; }
	.msp-gate-console-brand > span { font-size: 10px; }
	.msp-gate-camera-stage { min-height: 315px; }
	.msp-gate-hero-car { left: 17%; top: 12%; width: 63%; }
	.msp-gate-detection-box { left: 20%; top: 31%; transform: scale(.82); transform-origin: left top; }
	.msp-gate-decision-card { right: 12px; bottom: 12px; min-width: 155px; padding: 11px 12px; }
	.msp-gate-decision-card strong { font-size: 12px; }
	.msp-gate-console-foot span { padding: 10px 8px; }
	.msp-gate-console-foot span:nth-child(2) { display: none; }
	.msp-gate-console-foot { grid-template-columns: repeat(2, 1fr); }

	.msp-gate-proofbar { grid-template-columns: 1fr; margin-top: 54px; }
	.msp-gate-proofbar > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
	.msp-gate-proofbar > div:first-child { padding-left: 0; }
	.msp-gate-proofbar > div:last-child { border-bottom: 0; }

	.msp-gate-positioning,
	.msp-gate-workflow,
	.msp-gate-product,
	.msp-gate-mobile,
	.msp-gate-capabilities,
	.msp-gate-architecture,
	.msp-gate-fit,
	.msp-gate-stack,
	.msp-gate-faq,
	.msp-gate-process { padding: 84px 0; }

	.msp-gate-positioning h2,
	.msp-gate-section-head h2,
	.msp-gate-product__head h2,
	.msp-gate-mobile__copy h2,
	.msp-gate-architecture__head h2,
	.msp-gate-fit h2,
	.msp-gate-faq h2,
	.msp-gate-process header h2,
	.msp-gate-cta h2 { font-size: 40px; }

	.msp-gate-positioning__copy > p { margin-top: 0; }
	.msp-gate-compare article { grid-template-columns: 72px 1fr; }

	.msp-gate-workflow__steps { grid-template-columns: 1fr; }
	.msp-gate-workflow__steps li { min-height: 230px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--gate-line); }
	.msp-gate-workflow__steps li:nth-child(-n+2) { border-bottom: 1px solid var(--gate-line); }
	.msp-gate-workflow__steps li:first-child { padding-left: 0; }
	.msp-gate-workflow__steps li:last-child { border-bottom: 0; }
	.msp-gate-workflow__steps svg { margin: 34px 0 18px; }

	.msp-gate-product-shell { grid-template-columns: 1fr; border-radius: 10px; }
	.msp-gate-product-sidebar { display: none; }
	.msp-gate-product-toolbar { padding: 12px 15px; }
	.msp-gate-product-toolbar strong { font-size: 15px; }
	.msp-gate-product-status { font-size: 8px; }
	.msp-gate-product-tabs { padding-left: 8px; }
	.msp-gate-product-tabs button { padding-inline: 11px; }
	.msp-gate-product-panel { padding: 10px; }
	.msp-gate-product-panels,
	.msp-gate-product-panel { min-height: 720px; }
	.msp-gate-ui-camera,
	.msp-gate-zone-editor { min-height: 360px; }
	.msp-gate-ui-live,
	.msp-gate-ui-zones { min-height: 700px; }
	.msp-gate-ui-live aside,
	.msp-gate-zone-tools { padding: 20px; }
	.msp-gate-ui-camera > img { left: 18%; top: 8%; width: 68%; }

	.msp-gate-mobile__grid { gap: 58px; }
	.msp-gate-mobile__lead { font-size: 14px; }
	.msp-gate-mobile__install li { grid-template-columns: 42px 1fr; padding: 15px 14px; }
	.msp-gate-mobile__visual { min-height: 780px; margin-inline: -22px; padding: 58px 22px; }
	.msp-gate-phone-orbit { width: 500px; height: 500px; }
	.msp-gate-phone { width: min(326px, 100%); transform: none; }
	.msp-gate-phone__screen { min-height: 680px; }
	.msp-gate-phone__camera { height: 185px; }
	.msp-gate-mobile__badge { min-width: 124px; padding: 11px 12px; }
	.msp-gate-mobile__badge.is-pwa { top: 7%; left: 5%; }
	.msp-gate-mobile__badge.is-safe { right: 5%; bottom: 8%; }
	.msp-gate-mobile__caption { right: 22px; bottom: 18px; left: 22px; }

	.history-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
	.history-metrics > span { padding: 12px 8px; }
	.history-metrics small { font-size: 6px; line-height: 1.3; }
	.history-metrics strong { font-size: 23px; }
	.history-list article { grid-template-columns: 70px 1fr 38px; gap: 10px; padding: 8px; }
	.history-thumb { height: 58px; }
	.history-list strong { font-size: 11px; }

	.diag-summary { grid-template-columns: 1fr; gap: 7px; }
	.diag-summary > span { padding: 12px; }
	.diag-workers { grid-template-columns: 1fr; }
	.diag-workers article { padding: 16px; }

	.msp-gate-capability-grid { grid-template-columns: 1fr; }
	.msp-gate-capability-grid article { min-height: 270px; padding: 26px; }

	.msp-gate-architecture__flow { margin-right: -22px; padding-right: 22px; }
	.msp-gate-tech-details > div { grid-template-columns: 1fr; }
	.msp-gate-tech-details p,
	.msp-gate-tech-details p:nth-child(2n),
	.msp-gate-tech-details p:nth-child(3n),
	.msp-gate-tech-details p:nth-last-child(-n+3) { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--gate-line); }
	.msp-gate-tech-details p:last-child { border-bottom: 0; }

	.msp-gate-fit__grid { gap: 48px; }
	.msp-gate-fit__checks article { grid-template-columns: 46px 1fr; gap: 14px; }
	.msp-gate-fit__checks article > span { width: 38px; height: 38px; }

	.msp-gate-stack__grid { grid-template-columns: 1fr; }
	.msp-gate-stack__plus { min-height: 54px; }
	.msp-gate-stack__grid article { padding: 28px; }

	.msp-gate-faq__grid { gap: 52px; }
	.msp-gate-faq__list details p { margin-right: 0; }

	.msp-gate-process ol { grid-template-columns: 1fr; }
	.msp-gate-process li { min-height: 170px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--gate-line); }
	.msp-gate-process li:last-child { border-bottom: 0; }

	.msp-gate-cta { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
	.msp-gate-page *,
	.msp-gate-page *::before,
	.msp-gate-page *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
