/* ------------------------------------------------------------------
   Front-page slider (works without JavaScript; slider.js adds controls)
------------------------------------------------------------------ */

.ht-slider {
	padding-block: 0;
}

.ht-slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.ht-slider__track::-webkit-scrollbar {
	display: none;
}

.ht-slider__track:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: -4px;
}

.ht-slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding-block: 40px 32px;
}

@media (min-width: 1024px) {
	.ht-slide {
		min-height: 520px;
		padding-block: 56px 48px;
	}
}

.ht-slide__inner {
	max-width: 860px;
	margin-inline: auto;
	text-align: center;
}

.ht-slide__title {
	font-size: 32px;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #ffffff;
	margin: 0 0 16px;
}

@media (min-width: 1024px) {
	.ht-slide__title {
		font-size: 40px;
	}
}

.ht-slide__deck {
	font-size: 18px;
	line-height: 1.65;
	color: #c9d3e0;
	max-width: 660px;
	margin: 0 auto 24px;
}

.ht-slide__points {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 28px;
}

.ht-slide__points li {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 17px;
	color: #e9eef5;
}

.ht-slide__points li::before {
	content: "";
	width: 12px;
	height: 3px;
	border-radius: 2px;
	background: var(--ht-accent);
	flex-shrink: 0;
}

.ht-slide__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.ht-slide .ht-button {
	background: #ffffff;
	color: var(--ht-text);
	border-color: #ffffff;
}

.ht-slide .ht-button:hover {
	background: #e9eef5;
	border-color: #e9eef5;
}

.ht-slide .ht-button--secondary {
	background: transparent;
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.55);
}

.ht-slide .ht-button--secondary:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: #ffffff;
}

.ht-slider__controls {
	display: none;
	align-items: center;
	gap: 16px;
	padding-bottom: 32px;
}

html.js .ht-slider__controls {
	display: flex;
}

.ht-slider__btn {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: var(--ht-radius);
	background: transparent;
	color: #ffffff;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.ht-slider__btn:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: #ffffff;
}

.ht-slider__btn:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

.ht-slider__btn:disabled {
	opacity: 0.4;
	cursor: default;
	background: transparent;
}

.ht-slider__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.ht-slider__dots button {
	position: relative;
	width: 32px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.ht-slider__dots button::before {
	content: "";
	position: absolute;
	left: 4px;
	right: 4px;
	top: 50%;
	height: 3px;
	margin-top: -1.5px;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.4);
	transition: background-color 0.15s ease;
}

.ht-slider__dots button[aria-current="true"]::before,
.ht-slider__dots button:hover::before {
	background: #ffffff;
}

.ht-slider__dots button:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.ht-slider__track {
		scroll-behavior: auto;
	}
}
