.wcs { color: #162b3a; background: #fff; padding-top: clamp(16px, 2.1vw, 30px); }
.wcs h1, .wcs h2, .wcs p { margin: 0; }
.wcs h1, .wcs h2 { font-weight: 700; line-height: 1.15; }
.wcs h2 { font-size: clamp(22px, 2.35vw, 34px); }
.wcs p { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.55; }
.wcs__hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	min-height: clamp(205px, 16vw, 280px);
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(115deg, #142e46, #1d4b72);
}
.wcs__hero-copy { z-index: 1; align-self: center; padding: clamp(24px, 3vw, 48px); }
.wcs__hero .wcs__eyebrow { margin-bottom: 5px; font-weight: 700; }
.wcs__hero h1 { margin-bottom: 10px; font-size: clamp(29px, 3.8vw, 56px); }
.wcs__hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: clamp(18px, 2.4vw, 32px);
}
.wcs__hero-actions .btn_blue { background-color: #fff; text-align: center; }
.wcs__hero-actions .btn_blue:hover { background-color: #1f497d; }
.wcs__hero-actions .btn_blue:disabled { color: #4f5f6a; background: #e7ecee; cursor: default; }
.wcs__hero-actions .btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.wcs__hero-image {
	position: absolute;
	inset: 0 0 0 auto;
	width: 37%;
	height: 100%;
	object-fit: cover;
	object-position: center 52%;
	clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
}
.wcs__sources { padding: clamp(24px, 2.45vw, 39px) 0; }
.wcs__sources h2 { margin-bottom: 14px; }
/* Keep the measurement stable while mobile browser controls expand and retract. */
.wcs__viewport-middle { position: fixed; top: 0; left: 0; width: 0; height: 50vh; height: 50svh; visibility: hidden; pointer-events: none; }
.wcs__diagram { overflow-x: auto; border: 1px solid #d9e2e8; background: #eef4f7; }
.wcs__diagram img {
	display: block;
	min-width: 800px;
	width: 100%;
	height: auto;
}
.wcs__sources > p:last-child { margin-top: 12px; }
.wcs__diagram:focus-visible { outline: 2px solid #1f497d; outline-offset: 2px; }
.wcs__scroll-hint { display: none; }
.wcs__features, .wcs__downloads {
	padding: clamp(20px, 2vw, 34px) 0;
	border-block: 1px solid #e7ecee;
}
.wcs__features { background: #f3f5f6; }
.wcs__downloads { background: #fff; }
.wcs__features-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.wcs__feature { display: flex; flex-direction: column; gap: 9px; }
.wcs__feature h2, .wcs__api h2 { font-size: clamp(21px, 1.9vw, 29px); }
.wcs__feature-image {
	order: -1;
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 1;
	margin-bottom: 7px;
	border: 1px solid #dfe7ec;
	background: #eaf0f3;
	object-fit: cover;
}
.wcs__feature-image_focus { object-fit: contain; }
.wcs__feature-image_layouts {object-position: center top; }
.wcs__api { padding: clamp(22px, 2vw, 34px) 0; }
.wcs__api h2 { margin-bottom: 7px; }
.wcs__downloads h2 { margin-bottom: clamp(20px, 2vw, 24px); }
.wcs__version-history summary { display: flex; align-items: center; gap: 5px; width: fit-content; color: #1f497d; cursor: pointer; list-style: none; }
.wcs__version-history summary::-webkit-details-marker { display: none; }
.wcs__version-arrow {
	width: 11px;
	height: 5px;
	background-color: currentColor;
	mask: url("../img/menu/icon-arrow.svg") center no-repeat;
	transition: transform .3s;
}
.wcs__version-history[open] .wcs__version-arrow { transform: rotate(-180deg); }
.wcs__version-history[open] summary { margin-bottom: 20px; }
.wcs__release {
	display: grid;
	gap: 10px;
	overflow-wrap: anywhere;
}
.wcs__release + .wcs__release {
	margin-top: clamp(20px, 2.3vw, 32px);
	padding-top: clamp(20px, 2.3vw, 32px);
	border-top: 1px solid #c5d2dc;
}
.wcs__release h3 { margin: 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.2; }
.wcs__release-description { white-space: pre-wrap; }
.wcs__release-actions { display: flex; gap: 8px; }
.wcs__release-action {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 5px;
	min-width: 0;
	max-width: 220px;
}
.wcs__release-action small { color: #4f5f6a; font-size: .8125rem; line-height: 1.35; }
.wcs__release-actions .btn {
	display: block;
	min-width: 0;
	padding-inline: clamp(8px, 2vw, 15px);
	text-align: center;
}
.wcs__release-actions .btn:disabled {
	color: #4f5f6a;
	border-color: #a7b3bc;
	background: #e7ecee;
	cursor: default;
}
.wcs__release-actions .btn:focus-visible { outline: 2px solid #1f497d; outline-offset: 2px; }
.wcs__download-dialog {
	box-sizing: border-box;
	width: min(430px, calc(100% - 32px));
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid #c5d2dc;
	border-radius: 5px;
	color: #162b3a;
	background: #fff;
}
.wcs__download-dialog::backdrop { background: rgb(22 43 58 / 55%); }
.wcs__download-dialog form { display: grid; gap: 12px; }
.wcs__download-dialog h3 { margin: 0; font-size: 22px; }
.wcs__download-dialog input { min-width: 0; padding: 10px; border: 1px solid #7f919e; border-radius: 4px; font: inherit; }
.wcs .wcs__download-error { color: #991522; font-size: 14px; }
@media(max-width: 850px) { .wcs .wcs__scroll-hint { display: block; margin-bottom: 7px; color: #4f5f6a; } }
@media(max-width: 767px) {
	.wcs__hero { grid-template-columns: minmax(0, 1fr); }
	.wcs__hero-image {
		position: static;
		width: 100%;
		height: auto;
		aspect-ratio: 2.5 / 1;
		clip-path: none;
	}
}
@media(max-width: 630px) { .wcs__features-grid { grid-template-columns: minmax(0, 1fr); gap: 24px;} }