:root {
	--byps-red: #b20d2c;
	--byps-red-dark: #7f0820;
	--byps-ink: #1b2430;
	--byps-muted: #5b6574;
	--byps-border: #eadce0;
	--byps-soft: #fff7f8;
	--byps-canvas: #f7f8fa;
	--byps-white: #ffffff;
	--byps-shadow: 0 18px 55px rgba(19, 28, 40, 0.1);
}

html {
	scroll-behavior: smooth;
}

body.byps-page {
	color: var(--byps-ink);
	background: var(--byps-canvas) !important;
}

body.byps-page .entry-title,
body.byps-page .ast-single-post-order > .entry-title {
	display: none !important;
}

.byps-page-shell,
.byps-page-shell * {
	box-sizing: border-box;
}

body.byps-page .site-content > .ast-container,
body.byps-page .site-content .ast-container {
	width: min(1280px, calc(100% - 32px));
	max-width: 1280px;
	padding-right: 0;
	padding-left: 0;
}

body.byps-page .site-main,
body.byps-page .content-area,
body.byps-page article.page,
body.byps-page .entry-content {
	width: 100%;
	max-width: none;
	background: transparent !important;
}

.byps-page-shell {
	display: grid;
	gap: 26px;
	width: 100%;
	margin: 16px auto 54px;
}

.byps-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
	gap: 30px;
	align-items: center;
	overflow: hidden;
	padding: clamp(32px, 5vw, 66px);
	background: linear-gradient(135deg, #ffffff 0%, #ffffff 66%, #fff2f5 100%);
	border: 1px solid var(--byps-border);
	border-top: 6px solid var(--byps-red);
	border-radius: 24px;
	box-shadow: var(--byps-shadow);
	animation: byps-rise 420ms ease-out both;
}

.byps-hero::before {
	position: absolute;
	top: -170px;
	right: -120px;
	width: 420px;
	height: 420px;
	background: radial-gradient(circle, rgba(178, 13, 44, 0.1), rgba(178, 13, 44, 0) 70%);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.byps-hero__content {
	position: relative;
	z-index: 1;
}

.byps-kicker,
.byps-section-heading > span {
	display: inline-flex;
	margin-bottom: 10px;
	color: var(--byps-red);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.byps-hero h1 {
	max-width: 780px;
	margin: 0;
	color: var(--byps-ink) !important;
	font-size: clamp(34px, 4.6vw, 62px);
	font-weight: 850;
	line-height: 1.05;
	letter-spacing: -0.035em;
}

.byps-hero__content > p {
	max-width: 720px;
	margin: 20px 0 0;
	color: var(--byps-muted);
	font-size: clamp(15px, 1.5vw, 18px);
	line-height: 1.7;
}

.byps-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px 17px;
	align-items: center;
	margin-top: 26px;
}

.byps-primary-button {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	color: var(--byps-white) !important;
	font-size: 14px;
	font-weight: 850;
	text-decoration: none !important;
	background: var(--byps-red);
	border: 2px solid var(--byps-red);
	border-radius: 11px;
	box-shadow: 0 8px 20px rgba(178, 13, 44, 0.2);
	transition: background-color 160ms ease, transform 160ms ease;
}

.byps-primary-button:hover {
	color: var(--byps-white) !important;
	background: var(--byps-red-dark);
	border-color: var(--byps-red-dark);
	transform: translateY(-1px);
}

.byps-primary-button:focus-visible,
.byps-service-nav__item:focus-visible {
	outline: 3px solid rgba(178, 13, 44, 0.28);
	outline-offset: 3px;
}

.byps-helper {
	color: var(--byps-muted);
	font-size: 12px;
	font-weight: 700;
}

.byps-hero__visual {
	position: relative;
	display: grid;
	place-items: center;
	width: min(290px, 100%);
	aspect-ratio: 1;
	margin: auto;
	background: var(--byps-white);
	border: 1px solid var(--byps-border);
	border-radius: 50%;
	box-shadow: 0 16px 45px rgba(178, 13, 44, 0.11);
}

.byps-hero__ring {
	position: absolute;
	inset: 13%;
	border: 1px dashed rgba(178, 13, 44, 0.32);
	border-radius: 50%;
}

.byps-hero__visual strong {
	color: var(--byps-red);
	font-size: clamp(48px, 7vw, 78px);
	font-weight: 500;
	line-height: 1;
}

.byps-hero__visual small {
	position: absolute;
	right: 15%;
	bottom: 18%;
	padding: 7px 9px;
	color: var(--byps-red-dark);
	font-size: 10px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0.06em;
	text-align: center;
	text-transform: uppercase;
	background: var(--byps-soft);
	border: 1px solid var(--byps-border);
	border-radius: 8px;
}

.byps-trust-row {
	position: relative;
	z-index: 1;
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 8px;
	padding-top: 22px;
	border-top: 1px solid #eceef1;
}

.byps-trust-row span {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--byps-muted);
	font-size: 12px;
	font-weight: 750;
}

.byps-trust-row b {
	color: var(--byps-red);
	font-size: 10px;
}

.byps-service-nav {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	animation: byps-rise 480ms 70ms ease-out both;
}

.byps-service-nav__item {
	display: flex;
	gap: 9px;
	align-items: center;
	justify-content: center;
	min-height: 58px;
	padding: 11px 14px;
	color: var(--byps-ink) !important;
	font-size: 13px;
	text-decoration: none !important;
	background: var(--byps-white);
	border: 1px solid #e4e7eb;
	border-radius: 12px;
	box-shadow: 0 5px 16px rgba(19, 28, 40, 0.04);
	transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.byps-service-nav__item:hover,
.byps-service-nav__item.is-active {
	color: var(--byps-red-dark) !important;
	border-color: var(--byps-red);
	box-shadow: 0 8px 22px rgba(178, 13, 44, 0.09);
	transform: translateY(-1px);
}

.byps-service-nav__item.is-active {
	background: var(--byps-soft);
}

.byps-service-nav__item > span {
	color: var(--byps-red);
	font-size: 18px;
}

.byps-results,
.byps-steps {
	padding: clamp(24px, 4vw, 46px);
	background: var(--byps-white);
	border: 1px solid #e4e7eb;
	border-radius: 20px;
	box-shadow: 0 12px 38px rgba(19, 28, 40, 0.07);
	animation: byps-rise 520ms 110ms ease-out both;
}

.byps-section-heading {
	max-width: 820px;
	margin-bottom: 24px;
}

.byps-section-heading h2 {
	margin: 0;
	color: var(--byps-ink) !important;
	font-size: clamp(25px, 3vw, 38px);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.byps-section-heading p {
	margin: 10px 0 0;
	color: var(--byps-muted);
	font-size: 14px;
	line-height: 1.65;
}

.byps-original-content {
	padding: clamp(16px, 2.5vw, 28px);
	color: var(--byps-ink) !important;
	background: #fbfbfc !important;
	border: 1px solid #e5e7eb;
	border-radius: 15px;
}

body.byps-page .byps-original-content > .elementor > .elementor-element:first-child,
body.byps-page .byps-original-content > .elementor > .e-con:first-child,
body.byps-page .byps-original-content > .elementor > .elementor-element:first-child > .elementor-container,
body.byps-page .byps-original-content > .elementor > .e-con:first-child > .e-con-inner {
	color: var(--byps-ink) !important;
	background-color: transparent !important;
	background-image: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.byps-page .byps-original-content .elementor-section-stretched {
	left: auto !important;
	width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.byps-original-content h1,
.byps-original-content h2,
.byps-original-content h3,
.byps-original-content h4,
.byps-original-content p,
.byps-original-content li,
.byps-original-content label {
	color: var(--byps-ink) !important;
}

.byps-original-content input:not([type="checkbox"]):not([type="radio"]),
.byps-original-content select,
.byps-original-content textarea {
	min-height: 48px;
	color: var(--byps-ink) !important;
	background: var(--byps-white) !important;
	border: 1px solid #cfd4dc !important;
	border-radius: 9px !important;
	box-shadow: none !important;
}

.byps-original-content input:focus,
.byps-original-content select:focus,
.byps-original-content textarea:focus {
	border-color: var(--byps-red) !important;
	box-shadow: 0 0 0 3px rgba(178, 13, 44, 0.1) !important;
	outline: 0;
}

.byps-original-content button,
.byps-original-content input[type="submit"],
.byps-original-content .elementor-button {
	min-height: 46px;
	color: var(--byps-white) !important;
	font-weight: 800 !important;
	background: var(--byps-red) !important;
	border: 2px solid var(--byps-red) !important;
	border-radius: 10px !important;
	box-shadow: none !important;
}

.byps-original-content button:hover,
.byps-original-content input[type="submit"]:hover,
.byps-original-content .elementor-button:hover {
	background: var(--byps-red-dark) !important;
	border-color: var(--byps-red-dark) !important;
}

.byps-original-content iframe {
	width: 100%;
	max-width: 100%;
	border: 0;
	border-radius: 12px;
}

.byps-original-content .bya-disclosure,
.byps-original-content .bya-provider-note,
.byps-original-content .bytp-card {
	max-width: none;
}

.byps-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.byps-steps article {
	position: relative;
	padding: 22px;
	background: #fbfbfc;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
}

.byps-steps article > b {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-bottom: 16px;
	color: var(--byps-white);
	font-size: 13px;
	background: var(--byps-red);
	border-radius: 50%;
}

.byps-steps h3 {
	margin: 0 0 7px;
	color: var(--byps-ink);
	font-size: 17px;
}

.byps-steps p {
	margin: 0;
	color: var(--byps-muted);
	font-size: 13px;
	line-height: 1.6;
}

.byps-assurance {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 20px 22px;
	color: var(--byps-ink);
	background: var(--byps-white);
	border: 1px solid var(--byps-border);
	border-left: 5px solid var(--byps-red);
	border-radius: 14px;
}

.byps-assurance__icon {
	display: grid;
	flex: 0 0 28px;
	place-items: center;
	width: 28px;
	height: 28px;
	color: var(--byps-white);
	font-family: Georgia, serif;
	font-weight: 800;
	background: var(--byps-red);
	border-radius: 50%;
}

.byps-assurance strong {
	display: block;
	margin-bottom: 4px;
	color: var(--byps-red-dark);
	font-size: 14px;
}

.byps-assurance p {
	margin: 0;
	color: var(--byps-muted);
	font-size: 12px;
	line-height: 1.6;
}

@keyframes byps-rise {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
	.byps-hero {
		grid-template-columns: 1fr;
	}

	.byps-hero__visual {
		width: min(230px, 70%);
	}

	.byps-service-nav {
		display: flex;
		overflow-x: auto;
		padding-bottom: 5px;
		scrollbar-width: thin;
	}

	.byps-service-nav__item {
		flex: 0 0 128px;
	}
}

@media (max-width: 680px) {
	body.byps-page .site-content > .ast-container,
	body.byps-page .site-content .ast-container {
		width: calc(100% - 20px);
		max-width: 1280px;
	}

	.byps-page-shell {
		gap: 17px;
		margin-top: 10px;
	}

	.byps-hero {
		gap: 22px;
		padding: 27px 19px;
		border-top-width: 5px;
		border-radius: 17px;
	}

	.byps-hero h1 {
		font-size: clamp(31px, 10vw, 43px);
	}

	.byps-hero__content > p {
		font-size: 14px;
	}

	.byps-hero__actions,
	.byps-primary-button {
		width: 100%;
	}

	.byps-helper {
		width: 100%;
		text-align: center;
	}

	.byps-trust-row {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.byps-results,
	.byps-steps {
		padding: 20px 14px;
		border-radius: 15px;
	}

	.byps-original-content {
		padding: 12px;
		border-radius: 12px;
	}

	.byps-steps__grid {
		grid-template-columns: 1fr;
	}

	.byps-assurance {
		padding: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.byps-hero,
	.byps-service-nav,
	.byps-results,
	.byps-steps { animation: none; }
	.byps-primary-button,
	.byps-service-nav__item { transition: none; }
}
