/* SYSTEMS — technical document sheets */

.site-page--systems .site-header .site-header__rail {
	width: min(100%, 96rem);
	margin-inline: auto;
	padding-inline: clamp(1rem, 2.5vw, 2rem);
}

.site-page--systems .site-header__series {
	padding-left: 0.05rem;
}

.systems-doc__title-rule {
	display: block;
	width: clamp(3rem, 10vw, 5rem);
	height: 2px;
	margin: 0.5rem auto 0;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	box-shadow: 0 0 6px var(--glow-soft);
	opacity: 0.9;
}

:root,
[data-theme="dark"] {
	--systems-hero-bg: #040608;
	--systems-panel-bg: color-mix(in srgb, var(--bg-deep) 70%, transparent);
}

[data-theme="light"] {
	--systems-hero-bg: var(--surface);
	--systems-panel-bg: var(--bg-secondary);
}

.systems-doc {
	min-height: calc(100vh - 4rem);
	padding: 0.75rem 0 2rem;
}

.systems-doc__container {
	width: min(100%, 96rem);
	margin: 0 auto;
	padding: 0 clamp(1rem, 2.5vw, 2rem);
}

.systems-doc__header {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 0.65rem;
	text-align: center;
}

.systems-doc__header-meta,
.systems-doc__header-detail {
	display: grid;
	gap: 0.35rem;
	justify-items: center;
	min-width: 0;
}

.systems-doc__header-detail {
	width: 100%;
	max-width: 36rem;
}

.systems-doc__series {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.35rem, 3vw, 1.85rem);
	font-weight: 700;
	letter-spacing: 0.14em;
	color: var(--text);
}

.systems-doc__code {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	color: var(--highlight);
}

.systems-doc__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4.5vw, 2.6rem);
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--text);
}

.systems-doc__prose p + p {
	margin-top: 0.65rem;
}

.systems-doc__quote {
	margin: 0;
	padding-left: 0.85rem;
	border-left: 2px solid var(--highlight);
	font-size: 0.72rem;
	line-height: 1.45;
	font-style: italic;
	color: var(--text);
}

.systems-doc__quote--inline {
	font-size: 0.72rem;
}

.systems-doc__table-note {
	margin: 0.65rem 0 0;
	font-size: 0.66rem;
	line-height: 1.4;
	color: var(--muted);
}

.systems-doc__footer-grid--pair {
	margin-top: 0;
}

.systems-doc__footer-grid--triple {
	margin-top: 0;
	width: 100%;
	align-items: stretch;
}

.systems-doc__footer-grid--triple .systems-doc__block {
	height: 100%;
}

.systems-doc__legend--compact {
	display: grid;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.systems-doc__legend--compact .systems-doc__legend-item {
	display: block;
	padding-left: 0.75rem;
	border-left: 1px solid color-mix(in srgb, var(--highlight) 45%, var(--border));
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--muted);
}

.systems-doc__subtitle {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(0.68rem, 1.8vw, 0.82rem);
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--highlight);
}

.systems-doc__sheet {
	display: grid;
	gap: 0.85rem;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.systems-doc__main {
	display: block;
}

.systems-doc__hero {
	display: grid;
	gap: clamp(0.75rem, 2vw, 1.25rem);
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
}

.systems-doc__body {
	display: grid;
	gap: 0.75rem;
	padding: 0;
	border: none;
}

.systems-doc__opinion {
	margin-top: clamp(1rem, 2vw, 1.5rem);
	padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(0.5rem, 2vw, 1rem);
	border-top: none;
	text-align: center;
}

.systems-doc__opinion .section-title {
	margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.systems-doc__opinion .section-title::after {
	width: clamp(3rem, 10vw, 5rem);
	height: 2px;
	margin: 1rem auto 0;
	background: linear-gradient(90deg, transparent, var(--accent), transparent);
	box-shadow: 0 0 6px var(--glow-soft);
	opacity: 0.9;
}

.systems-doc__opinion .lead {
	margin-inline: auto;
	max-width: 52rem;
	font-size: clamp(0.92rem, 1.6vw, 1.05rem);
	line-height: 1.65;
}

.systems-doc__operation {
	padding: clamp(1.25rem, 3vw, 2rem) 0 0;
	border-top: 1px solid var(--border);
}

.systems-doc__operation-title {
	margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	color: var(--text);
}

.systems-doc__steps {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.65rem, 1.8vw, 0.85rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.systems-doc__step {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	gap: 0.75rem;
	min-width: 0;
	padding: 0.75rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--systems-panel-bg);
}

.systems-doc__step-index {
	margin: 0 0 0.2rem;
	font-family: var(--font-display);
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--highlight);
}

.systems-doc__step-figure {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 4.25rem;
	height: 4.25rem;
	margin: 0;
	padding: 0.45rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--systems-hero-bg);
}

.systems-doc__step-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.systems-doc__step-body {
	display: grid;
	gap: 0.25rem;
	min-width: 0;
}

.systems-doc__step-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text);
}

.systems-doc__step-desc {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--muted);
}

@media (max-width: 720px) {
	.systems-doc__steps {
		grid-template-columns: 1fr;
	}
}

.systems-doc__forces {
	--force-gravity: var(--primary);
	--force-tension: var(--accent);
	--force-torque: var(--highlight);
	--force-friction: color-mix(in srgb, var(--highlight) 55%, white 45%);
	display: grid;
	gap: 0.75rem;
	padding: 0.85rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--systems-panel-bg);
}

.systems-doc__forces-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--highlight);
}

.systems-doc__forces-intro {
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.55;
	color: var(--muted);
}

.systems-doc__forces-caption {
	margin: 0 auto 0.85rem;
	max-width: 42rem;
	font-size: 0.68rem;
	line-height: 1.45;
	text-align: center;
	color: color-mix(in srgb, var(--muted) 88%, var(--highlight));
}

.systems-doc__forces-stage {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	gap: clamp(0.85rem, 2vw, 1.25rem);
	align-items: center;
	padding: clamp(0.85rem, 2vw, 1.15rem);
	border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
	border-radius: 6px;
	background:
		radial-gradient(circle at 50% 18%, var(--glow-soft), transparent 58%),
		color-mix(in srgb, var(--bg-deep) 55%, transparent);
}

.systems-doc__forces-diagram {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

.systems-force__baseline {
	fill: none;
	stroke: color-mix(in srgb, var(--border) 80%, transparent);
	stroke-width: 1;
	opacity: 0.5;
}

.systems-force__anchor-dot {
	fill: color-mix(in srgb, var(--muted) 40%, transparent);
	stroke: color-mix(in srgb, var(--highlight) 35%, var(--muted));
	stroke-width: 1;
}

.systems-force__actors {
	opacity: 0.55;
}

.systems-force__figure-head {
	fill: color-mix(in srgb, var(--muted) 8%, transparent);
	stroke: color-mix(in srgb, var(--muted) 85%, var(--border-strong));
	stroke-width: 1.35;
}

.systems-force__figure-body {
	fill: none;
	stroke: color-mix(in srgb, var(--muted) 85%, var(--border-strong));
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.systems-force__label {
	font-family: var(--font-display);
	font-size: 7px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	fill: var(--muted);
	opacity: 0.5;
}

.systems-force__label--device {
	opacity: 0.62;
	fill: color-mix(in srgb, var(--accent) 35%, var(--muted));
}

.systems-force__device-group {
	opacity: 0.92;
}

.systems-force__device-glow {
	fill: url(#force-device-glow);
	stroke: none;
}

.systems-force__device > path,
.systems-force__cam,
.systems-force__handle,
.systems-force__carabiner path {
	fill: color-mix(in srgb, var(--surface) 82%, var(--bg-secondary));
	stroke: color-mix(in srgb, var(--border-strong) 85%, var(--muted));
	stroke-width: 1.15;
}

.systems-force__wall {
	fill: none;
	stroke: color-mix(in srgb, var(--muted) 70%, var(--border-strong));
	stroke-width: 1.5;
	stroke-linecap: round;
	opacity: 0.28;
}

.systems-force__cam {
	fill: color-mix(in srgb, var(--primary) 18%, var(--surface));
	stroke: color-mix(in srgb, var(--accent) 45%, var(--muted));
	transform-box: fill-box;
	transform-origin: center;
	animation: systems-force-cam-bite 4.5s ease-in-out infinite;
}

.systems-force__handle {
	fill: color-mix(in srgb, var(--surface) 90%, var(--bg-secondary));
}

.systems-force__rope {
	stroke-dasharray: 5 6;
}

.systems-force__rope--load,
.systems-force__rope--brake {
	animation: systems-force-rope 3.2s linear infinite;
}

.systems-force__rope--wrap {
	stroke-dasharray: 4 5;
	animation: systems-force-rope-wrap 2.4s linear infinite;
}

.systems-force--vectors > g {
	opacity: 0.32;
	transition: opacity 0.25s ease;
}

.systems-force--vectors line,
.systems-force--vectors path {
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
}

.systems-doc__forces-stage:has(.systems-doc__forces-item--gravity:hover) .systems-force--gravity,
.systems-doc__forces-stage:has(.systems-doc__forces-item--gravity:focus-within) .systems-force--gravity,
.systems-doc__forces-stage:has(.systems-doc__forces-item--tension:hover) .systems-force--tension,
.systems-doc__forces-stage:has(.systems-doc__forces-item--tension:focus-within) .systems-force--tension,
.systems-doc__forces-stage:has(.systems-doc__forces-item--torque:hover) .systems-force--torque,
.systems-doc__forces-stage:has(.systems-doc__forces-item--torque:focus-within) .systems-force--torque,
.systems-doc__forces-stage:has(.systems-doc__forces-item--friction:hover) .systems-force--friction,
.systems-doc__forces-stage:has(.systems-doc__forces-item--friction:focus-within) .systems-force--friction {
	opacity: 1;
}

.systems-force--gravity line {
	stroke: var(--force-gravity);
	stroke-dasharray: 8 6;
	animation: systems-force-pulse 2.2s ease-in-out infinite;
}

.systems-force--tension line {
	stroke: var(--force-tension);
	stroke-dasharray: 7 5;
	animation: systems-force-flow 1.9s linear infinite;
}

.systems-force--torque path {
	stroke: var(--force-torque);
	stroke-width: 2.15;
	stroke-dasharray: 6 4;
	animation: systems-force-flow 2.2s linear infinite;
}

.systems-force--friction line {
	stroke: var(--force-friction);
	stroke-width: 1.75;
	stroke-dasharray: 3 4;
	animation: systems-force-friction 1.3s ease-in-out infinite alternate;
}

.systems-doc__forces-legend {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.systems-doc__forces-item {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.65rem;
	align-items: start;
	padding: 0.65rem 0.7rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: color-mix(in srgb, var(--systems-panel-bg) 88%, transparent);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.systems-doc__forces-item--gravity {
	--force-item-color: var(--force-gravity);
}

.systems-doc__forces-item--tension {
	--force-item-color: var(--force-tension);
}

.systems-doc__forces-item--torque {
	--force-item-color: var(--force-torque);
}

.systems-doc__forces-item--friction {
	--force-item-color: var(--force-friction);
}

.systems-doc__forces-item:hover,
.systems-doc__forces-item:focus-within {
	border-color: color-mix(in srgb, var(--force-item-color) 55%, var(--border));
	box-shadow: 0 0 0 1px color-mix(in srgb, var(--force-item-color) 25%, transparent);
}

.systems-doc__forces-swatch {
	position: relative;
	width: 0.65rem;
	height: 0.65rem;
	margin-top: 0.2rem;
	border-radius: 50%;
	background: var(--force-item-color);
	box-shadow: 0 0 10px color-mix(in srgb, var(--force-item-color) 65%, transparent);
}

.systems-doc__forces-swatch::after {
	content: "";
	position: absolute;
	inset: -0.2rem;
	border-radius: inherit;
	border: 1px solid color-mix(in srgb, var(--force-item-color) 45%, transparent);
	animation: systems-force-pulse 2s ease-in-out infinite;
}

.systems-doc__forces-copy strong {
	display: block;
	margin-bottom: 0.15rem;
	font-family: var(--font-display);
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--force-item-color);
}

.systems-doc__forces-copy p {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--muted);
}

@keyframes systems-force-flow {
	to {
		stroke-dashoffset: -26;
	}
}

@keyframes systems-force-pulse {
	0%,
	100% {
		opacity: 0.45;
	}
	50% {
		opacity: 1;
	}
}

@keyframes systems-force-rope {
	to {
		stroke-dashoffset: -24;
	}
}

@keyframes systems-force-rope-wrap {
	to {
		stroke-dashoffset: -20;
	}
}

@keyframes systems-force-cam-bite {
	0%,
	62% {
		transform: rotate(0deg);
	}
	74% {
		transform: rotate(10deg);
	}
	88%,
	100% {
		transform: rotate(0deg);
	}
}

@keyframes systems-force-friction {
	from {
		transform: translate(0, 0);
		opacity: 0.55;
	}
	to {
		transform: translate(-2px, -2px);
		opacity: 1;
	}
}

@media (max-width: 900px) {
	.systems-doc__forces-stage {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.systems-force__rope,
	.systems-force__cam,
	.systems-force line,
	.systems-force path,
	.systems-doc__forces-swatch::after {
		animation: none;
	}
}

.systems-doc__forces-equations {
	margin-top: 0;
	padding-top: 0;
}

.systems-doc__forces-model-title {
	margin: 0 0 0.75rem;
	font-family: var(--font-display);
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: center;
	color: var(--highlight);
}

.systems-doc__equations-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(0.55rem, 1.5vw, 0.75rem);
}

@media (min-width: 901px) {
	.systems-doc__equations-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.systems-doc__equation {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.55rem 0.65rem;
	align-items: center;
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: color-mix(in srgb, var(--bg-deep) 55%, transparent);
}

.systems-doc__equation-figure {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 5.5rem;
	height: 5.5rem;
	margin: 0;
	padding: 0;
}

.systems-doc__equation-figure img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.systems-doc__equation-copy {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}

.systems-doc__equation--gravity {
	--equation-color: var(--force-gravity);
}

.systems-doc__equation--tension {
	--equation-color: var(--force-tension);
}

.systems-doc__equation--torque {
	--equation-color: var(--force-torque);
}

.systems-doc__equation--friction {
	--equation-color: var(--force-friction);
}

.systems-doc__equation-label {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.56rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--equation-color);
}

.systems-doc__equation-formula {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(0.82rem, 1.5vw, 0.95rem);
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.2;
	color: var(--text);
	text-shadow: 0 0 14px color-mix(in srgb, var(--equation-color) 35%, transparent);
	animation: systems-equation-glow 3s ease-in-out infinite;
}

.systems-doc__equation-formula sub,
.systems-doc__equation-formula sup {
	font-size: 0.72em;
	font-weight: 600;
	color: var(--equation-color);
}

.systems-doc__equation-note {
	margin: 0;
	font-size: 0.66rem;
	line-height: 1.4;
	color: var(--muted);
}

.systems-doc__forces-disclaimer {
	margin: 0.65rem 0 0;
	font-size: 0.66rem;
	line-height: 1.45;
	text-align: center;
	color: var(--muted);
}

@keyframes systems-equation-glow {
	0%,
	100% {
		opacity: 0.82;
	}
	50% {
		opacity: 1;
	}
}

@media (max-width: 520px) {
	.systems-doc__equations-grid {
		grid-template-columns: 1fr;
	}

	.systems-doc__equation-figure {
		width: 4.75rem;
		height: 4.75rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.systems-doc__equation-formula {
		animation: none;
	}
}

.systems-doc__layout {
	display: grid;
	gap: clamp(0.75rem, 2vw, 1.25rem);
	--systems-side: 3fr;
	--systems-main: 7fr;
}

.systems-doc__intro-panel {
	display: grid;
	gap: 0.75rem;
	align-items: start;
	padding: 0.85rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--systems-panel-bg);
}

.systems-doc__facts {
	min-width: 0;
	width: fit-content;
	max-width: 100%;
}

.systems-doc__facts .systems-doc__specs--compact {
	width: auto;
	font-size: 0.68rem;
}

.systems-doc__facts .systems-doc__specs--compact th,
.systems-doc__facts .systems-doc__specs--compact td {
	padding: 0.22rem 0;
	border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, transparent);
}

.systems-doc__facts .systems-doc__specs--compact tr:last-child th,
.systems-doc__facts .systems-doc__specs--compact tr:last-child td {
	border-bottom: none;
}

.systems-doc__facts .systems-doc__specs--compact th {
	width: auto;
	padding-right: 0.85rem;
	font-family: var(--font-display);
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--highlight);
	white-space: nowrap;
}

.systems-doc__facts .systems-doc__specs--compact td {
	color: var(--text);
	white-space: nowrap;
}

.systems-doc__summary {
	min-width: 0;
}

.systems-doc__summary .systems-doc__prose p {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.5;
	color: var(--muted);
}

.systems-doc__summary .systems-doc__prose p + p {
	margin-top: 0.65rem;
}

@media (min-width: 640px) {
	.systems-doc__intro-panel {
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: 1.15rem;
	}

	.systems-doc__summary {
		padding-left: 1.15rem;
		border-left: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
	}
}

.systems-doc__visual {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	min-width: 0;
}

.systems-doc__gallery-section {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	width: 100%;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.systems-doc__info {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	min-width: 0;
	padding: 0.85rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--systems-panel-bg);
}

.systems-doc__info .systems-doc__block--inline {
	padding: 0.65rem 0 0;
	border: none;
	border-radius: 0;
	background: transparent;
	border-top: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
}

.systems-doc__info > .systems-doc__block--inline:first-child {
	padding-top: 0;
	border-top: none;
}

.systems-spin {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-width: 0;
	--pos: 0;
	--frames: 24;
}

.systems-spin__viewport {
	overflow: hidden;
	width: 100%;
	border-radius: 0;
	touch-action: none;
	cursor: ew-resize;
	line-height: 0;
}

.systems-spin--sprite {
	--spin-max-h: min(58vh, 34rem);
}

.systems-spin--sprite .systems-spin__viewport {
	position: relative;
	width: min(100%, calc(var(--spin-max-h) * 868 / 771));
	aspect-ratio: 868 / 771;
	max-height: var(--spin-max-h);
	margin-inline: auto;
}

.systems-spin__guide {
	position: absolute;
	right: 0.45rem;
	bottom: 0.45rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	padding: 0.3rem 0.5rem;
	border: 1px solid color-mix(in srgb, var(--highlight) 35%, transparent);
	border-radius: 999px;
	background: color-mix(in srgb, var(--control-bg) 82%, transparent);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font-family: var(--font-display);
	font-size: 0.56rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--highlight);
	pointer-events: none;
	transition: opacity 0.35s ease, transform 0.35s ease;
}

.systems-spin__guide-icon {
	flex-shrink: 0;
	width: 0.9rem;
	height: 0.9rem;
}

.systems-spin__guide-text {
	line-height: 1.2;
}

.systems-spin__guide-text--touch {
	display: none;
}

.systems-spin--engaged .systems-spin__guide {
	opacity: 0;
	transform: translateY(0.2rem);
}

@media (max-width: 768px) {
	.systems-spin__guide-text--pointer {
		display: none;
	}

	.systems-spin__guide-text--touch {
		display: inline;
	}
}

@media (prefers-reduced-motion: reduce) {
	.systems-spin__guide {
		transition: none;
	}
}

.systems-spin__sprite {
	display: block;
	width: calc(var(--frames) * 100%);
	height: auto;
	max-width: none;
	will-change: transform;
	transform: translateX(calc(var(--pos) * -100% / var(--frames)));
	user-select: none;
	-webkit-user-drag: none;
}

.systems-spin__strip {
	display: flex;
	will-change: transform;
	transform: translateX(calc(var(--pos) * -100%));
}

.systems-spin__frame {
	flex: 0 0 100%;
	width: 100%;
	height: auto;
	max-height: min(42vh, 22rem);
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
}

@media (prefers-reduced-motion: reduce) {
	.systems-spin__strip,
	.systems-spin__sprite {
		transition: none;
	}
}

.systems-doc__view-caption {
	margin: 0 0 0.65rem;
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-align: left;
	color: var(--highlight);
}

.systems-doc__gallery {
	display: grid;
	gap: 0.55rem;
	min-width: 0;
}

.systems-doc__gallery-viewport {
	overflow: hidden;
	border-radius: 4px;
}

.systems-doc__gallery-track {
	display: flex;
	transition: transform 0.28s ease;
	will-change: transform;
}

.systems-doc__gallery-slide {
	flex: 0 0 100%;
	min-width: 0;
}

.systems-doc__gallery-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
}

.systems-doc__gallery--single .systems-doc__gallery-controls {
	display: none;
}

.systems-doc__gallery-status {
	min-width: 3.25rem;
	font-family: var(--font-display);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--muted);
	text-align: center;
	font-variant-numeric: tabular-nums;
}

.systems-doc__gallery-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--control-bg);
	color: var(--highlight);
	font-size: 1.1rem;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s, border-color 0.2s, opacity 0.2s;
}

.systems-doc__gallery-btn:hover:not(:disabled) {
	color: var(--text);
	border-color: var(--border-strong);
}

.systems-doc__gallery-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.systems-doc__gallery-btn:focus-visible {
	outline: 2px solid var(--highlight);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.systems-doc__gallery-track {
		transition: none;
	}
}

.systems-doc__figure--photo {
	flex-direction: column;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
}

.systems-doc__figure--photo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(42vh, 22rem);
	object-fit: contain;
}

.systems-doc__metrics {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	border: none;
}

.systems-doc__info .systems-doc__metrics {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.systems-doc__metric {
	padding: 0.55rem 0.65rem;
	border: 1px solid var(--border);
	border-radius: 4px;
	background: color-mix(in srgb, var(--control-bg) 80%, transparent);
}

[data-theme="light"] .systems-doc__metric {
	background: var(--bg-secondary);
}

.systems-doc__metric dt {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--highlight);
}

.systems-doc__metric dd {
	margin: 0.2rem 0 0;
	font-size: 0.72rem;
	line-height: 1.35;
	color: var(--text);
}

.systems-doc__legend-wrap {
	padding: 0.85rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--systems-panel-bg);
}

.systems-doc__info .systems-doc__block--inline p,
.systems-doc__info .systems-doc__block--inline li,
.systems-doc__info .systems-doc__block--inline .systems-doc__prose p {
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--muted);
}

.systems-doc__info .systems-doc__block--inline .systems-doc__prose p + p {
	margin-top: 0.55rem;
}

.systems-doc__info .systems-doc__specs th,
.systems-doc__info .systems-doc__specs td {
	font-size: 0.72rem;
	line-height: 1.45;
}

.systems-doc__info .systems-doc__specs th {
	width: 48%;
}

.systems-doc__info .systems-doc__specs td {
	color: var(--text);
}

.systems-doc__legend-title {
	margin: 0 0 0.65rem;
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--highlight);
}

.systems-doc__legend {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.3rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.68rem;
	line-height: 1.35;
	color: var(--muted);
}

.systems-doc__legend-item {
	display: grid;
	grid-template-columns: 1.35rem minmax(0, 1fr);
	gap: 0.5rem;
	align-items: baseline;
}

.systems-doc__legend-letter {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: lowercase;
	color: var(--highlight);
}

.systems-doc__legend-num {
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--highlight);
}

.systems-doc__figure {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 14rem;
	margin: 0;
	padding: 0.75rem;
	border: 1px dashed color-mix(in srgb, var(--highlight) 35%, var(--border));
	border-radius: 4px;
	background:
		repeating-linear-gradient(
			0deg,
			transparent,
			transparent 23px,
			color-mix(in srgb, var(--grid-line) 80%, transparent) 24px
		),
		color-mix(in srgb, var(--surface) 70%, transparent);
}

.systems-doc__figure img {
	display: block;
	max-width: 100%;
	max-height: 28rem;
	width: auto;
	height: auto;
	object-fit: contain;
}

.systems-doc__figure--placeholder {
	flex-direction: column;
	gap: 0.65rem;
	text-align: center;
}

.systems-doc__placeholder-text {
	margin: 0;
	max-width: 22rem;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--muted);
}

.systems-doc__aside {
	display: grid;
	gap: 0.75rem;
}

.systems-doc__panel {
	display: grid;
	gap: 0.55rem;
	padding: 0.75rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--systems-panel-bg);
}

.systems-doc__panel-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--highlight);
}

.systems-doc__panel-figure {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 7rem;
	margin: 0;
	padding: 0.5rem;
	border: 1px dashed color-mix(in srgb, var(--border-strong) 70%, var(--border));
	border-radius: 4px;
	background: color-mix(in srgb, var(--surface) 55%, transparent);
}

.systems-doc__panel-figure img {
	display: block;
	max-width: 100%;
	max-height: 8rem;
	object-fit: contain;
}

.systems-doc__panel-note {
	margin: 0;
	font-size: 0.68rem;
	line-height: 1.4;
	color: var(--muted);
}

.systems-doc__footer-grid {
	display: grid;
	gap: 0.75rem;
	margin-top: 0;
}

.systems-doc__block--wide {
	grid-column: 1 / -1;
}

@media (min-width: 768px) {
	.systems-doc__footer-grid--pair {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.systems-doc__footer-grid--triple {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.systems-doc__block {
	padding: 0.85rem;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--systems-panel-bg);
}

.systems-doc__block--best,
.systems-doc__block--worst,
.systems-doc__block--mistakes,
.systems-doc__block--lifetime,
.systems-doc__block--maintenance,
.systems-doc__block--known-issues {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.systems-doc__block--best::before,
.systems-doc__block--worst::before,
.systems-doc__block--mistakes::before,
.systems-doc__block--lifetime::before,
.systems-doc__block--maintenance::before,
.systems-doc__block--known-issues::before {
	content: "";
	position: absolute;
	top: 0.85rem;
	right: 0.85rem;
	width: 3.75rem;
	height: 3.75rem;
	background-repeat: no-repeat;
	background-position: top right;
	background-size: contain;
	opacity: 0.14;
	filter: var(--watermark-filter);
	pointer-events: none;
	z-index: 0;
	transition: opacity 0.35s ease;
}

.systems-doc__block--best:hover::before,
.systems-doc__block--worst:hover::before,
.systems-doc__block--mistakes:hover::before,
.systems-doc__block--lifetime:hover::before,
.systems-doc__block--maintenance:hover::before,
.systems-doc__block--known-issues:hover::before {
	opacity: 0.2;
}

.systems-doc__block--best::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M8 12.5l2.5 2.5 5.5-5.5' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.systems-doc__block--worst::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M8 8l8 8M16 8l-8 8' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.systems-doc__block--mistakes::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 8.5v4.25' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.25' r='0.75' fill='%23000'/%3E%3Cpath d='M10.3 4.2 2.4 18.1A1.75 1.75 0 0 0 3.9 21h16.2a1.75 1.75 0 0 0 1.5-2.9L13.7 4.2a1.75 1.75 0 0 0-3.4 0Z' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.systems-doc__block--lifetime::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 3h10M7 21h10M9 3v3.5l3 4.5-3 4.5V21M15 3v3.5l-3 4.5 3 4.5V21' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.systems-doc__block--maintenance::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l2.1-2.1a6 6 0 0 1-1.9 9.8l-5.5 5.5a2.12 2.12 0 0 1-3-3l5.5-5.5a6 6 0 0 1 7.9-7.9l-2.2 2.2z' stroke='%23000' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.systems-doc__block--known-issues::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%23000' stroke-width='1.5'/%3E%3Cpath d='M12 8v4.5' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='16.25' r='0.75' fill='%23000'/%3E%3C/svg%3E");
}

.systems-doc__block--best h2,
.systems-doc__block--best ul,
.systems-doc__block--worst h2,
.systems-doc__block--worst ul,
.systems-doc__block--mistakes h2,
.systems-doc__block--mistakes ul,
.systems-doc__block--lifetime h2,
.systems-doc__block--lifetime ul,
.systems-doc__block--maintenance h2,
.systems-doc__block--maintenance ul,
.systems-doc__block--known-issues h2,
.systems-doc__block--known-issues ul {
	position: relative;
	z-index: 1;
}

.systems-doc__block h2 {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0 0 0.55rem;
	font-family: var(--font-display);
	font-size: 0.62rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--highlight);
}

.systems-doc__block p,
.systems-doc__block li {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.45;
	color: var(--muted);
}

.systems-doc__block ul {
	margin: 0;
	padding-left: 1rem;
}

.systems-doc__specs {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.72rem;
}

.systems-doc__specs th,
.systems-doc__specs td {
	padding: 0.35rem 0;
	border-bottom: 1px solid var(--border);
	text-align: left;
	vertical-align: top;
}

.systems-doc__specs th {
	width: 42%;
	font-weight: 500;
	color: var(--muted);
}

.systems-doc__specs td {
	color: var(--text);
}

@media (min-width: 768px) {
	.systems-doc__layout {
		grid-template-columns: var(--systems-side) var(--systems-main);
		align-items: start;
	}

	.systems-doc__info {
		align-self: start;
	}

	.systems-doc__visual {
		align-self: start;
	}

	.systems-doc__info .systems-doc__metrics {
		grid-template-columns: 1fr;
	}

	.systems-doc__body .systems-doc__legend {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 1.25rem;
	}
}

@media (min-width: 1100px) {
	.systems-doc__body .systems-doc__legend {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.systems-doc__visual {
		order: -1;
	}
}

@media (min-width: 900px) {
	.systems-doc__footer-grid:not(.systems-doc__footer-grid--pair):not(.systems-doc__footer-grid--triple) {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 520px) {
	.systems-doc__header-detail {
		align-self: center;
	}
}

.systems-doc__series-nav {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: clamp(0.75rem, 2vw, 1.5rem);
	margin-top: clamp(1.25rem, 3vw, 2rem);
	padding-top: clamp(0.85rem, 2vw, 1.15rem);
	border-top: 1px solid var(--border);
}

.systems-doc__series-nav-link {
	display: grid;
	gap: 0.2rem;
	max-width: min(100%, 18rem);
	font-size: 0.72rem;
	line-height: 1.35;
	text-decoration: none;
	color: var(--muted);
	transition: color 0.2s ease;
}

.systems-doc__series-nav-link--next {
	margin-left: auto;
	text-align: right;
}

.systems-doc__series-nav-dir {
	font-family: var(--font-display);
	font-size: 0.58rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--highlight);
}

.systems-doc__series-nav-label {
	color: var(--text);
}

.systems-doc__series-nav-link:hover .systems-doc__series-nav-label,
.systems-doc__series-nav-link:focus-visible .systems-doc__series-nav-label {
	color: var(--highlight);
}
