html {
	scroll-behavior: smooth;
}

/* Not scroll-padding on html: focusing the sticky header would scroll. */
:where([id]) {
	scroll-margin-top: 76px;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}

.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.wp-site-blocks > main {
	flex: 1;
	overflow-x: clip;
}

header.wp-block-template-part,
.wp-block-template-part:has(.site-header) {
	position: sticky;
	top: 0;
	z-index: 100000;
	width: 100%;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100000;
	height: 60px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: color-mix(in srgb, var(--wp--preset--color--base) 92%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 1px 4px color-mix(in srgb, var(--wp--preset--color--contrast) 4%, transparent);
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header__inner {
	box-sizing: content-box;
	display: flex;
	height: 100%;
	max-width: var(--wp--style--global--wide-size);
	align-items: center;
	justify-content: space-between;
	margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
}

.site-header__logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.site-header__nav {
	display: flex;
	align-items: center;
	gap: clamp(10px, 1.2vw, 18px);
}

.site-header__link {
	color: var(--wp--preset--color--secondary);
	font-size: 14px;
	font-weight: 500;
	letter-spacing: -0.01em;
	text-decoration: none;
	transition: color 0.15s ease;
	white-space: nowrap;
}

.site-header__link:hover {
	color: var(--wp--preset--color--contrast);
}

.site-header__logo svg {
	display: block;
	width: auto;
	height: 28px;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 18px;
}

.site-header__login {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	color: var(--wp--preset--color--secondary);
	font-size: 14px;
	text-decoration: none;
	transition: color 0.15s ease;
}

.site-header__login:hover {
	color: var(--wp--preset--color--contrast);
}

.site-header__login-prefix {
	color: var(--wp--preset--color--muted);
}

.site-header__login-link {
	color: var(--wp--preset--color--contrast);
	font-weight: 600;
}

.site-header__login:hover .site-header__login-link {
	color: var(--wp--preset--color--brand);
}

.site-header__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 9px 18px;
	border: 0;
	border-radius: 10px;
	background: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--base);
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--wp--preset--color--brand) 35%, transparent);
	transition: background 0.15s ease, transform 0.15s ease;
}

.site-header__cta:hover {
	background: var(--wp--preset--color--brand-hover);
	color: var(--wp--preset--color--base);
	transform: translateY(-1px);
}

.site-header__cta-short {
	display: none;
}

.site-header__burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 4px;
	width: 36px;
	height: 36px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.site-header__burger:hover {
	border-color: var(--wp--preset--color--brand-soft);
	background: color-mix(in srgb, var(--wp--preset--color--brand-light) 40%, var(--wp--preset--color--surface));
}

.site-header__burger-line {
	display: block;
	width: 16px;
	height: 2px;
	background: currentcolor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header__burger.is-active .site-header__burger-line:nth-child(1) {
	transform: translateY(5.75px) rotate(45deg);
}

.site-header__burger.is-active .site-header__burger-line:nth-child(2) {
	opacity: 0;
}

.site-header__burger.is-active .site-header__burger-line:nth-child(3) {
	transform: translateY(-5.75px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.site-header__drawer {
	position: fixed;
	top: 60px;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.22s ease, visibility 0.22s ease;
}

.site-header__drawer.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.site-header__drawer-backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--wp--preset--color--contrast) 40%, transparent);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	touch-action: none;
}

.site-header__drawer-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	max-height: calc(100dvh - 72px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 20px 20px 24px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	border-radius: 0 0 20px 20px;
	background: var(--wp--preset--color--base);
	box-shadow: 0 20px 40px -10px color-mix(in srgb, var(--wp--preset--color--contrast) 18%, transparent);
	transform: translateY(-12px);
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header__drawer.is-open .site-header__drawer-content {
	transform: translateY(0);
}

.site-header__drawer-nav {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.site-header__drawer-link {
	display: flex;
	align-items: center;
	padding: 12px 14px;
	border-radius: 10px;
	color: var(--wp--preset--color--contrast);
	font-size: 15.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.site-header__drawer-link:hover,
.site-header__drawer-link:active {
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--brand);
}

.site-header__drawer-footer {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--wp--preset--color--border);
}

.site-header__drawer-login {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 14px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.site-header__drawer-login:hover,
.site-header__drawer-login:active {
	border-color: var(--wp--preset--color--brand-soft);
	color: var(--wp--preset--color--brand);
}

.site-header__drawer-arrow {
	color: var(--wp--preset--color--muted);
	font-size: 15px;
	transition: transform 0.15s ease;
}

.site-header__drawer-login:hover .site-header__drawer-arrow {
	transform: translateX(3px);
	color: var(--wp--preset--color--brand);
}

body.has-normix-drawer-open {
	overflow: hidden;
}

@media (max-width: 1280px) {

	.site-header__login-prefix {
		display: none;
	}
}

@media (max-width: 1024px) {

	.site-header {
		padding-inline: 0 !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.site-header__inner {
		padding-inline: 16px !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.site-header__nav {
		display: none;
	}

	.site-header__login {
		display: none;
	}

	.site-header__cta-long {
		display: none;
	}

	.site-header__cta-short {
		display: inline;
	}

	.site-header__burger {
		display: flex;
	}

	.site-header__actions {
		gap: 8px;
	}

	.site-header__cta {
		padding: 7px 14px;
		font-size: 13px;
	}
}

@media (max-width: 640px) {

	.site-header__logo svg {
		height: 22px;
	}
}

.site-footer {
	border-top: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--muted);
	font-size: 13px;
	line-height: 1.45;
}

/* Front page: sections alternate and the last one is white, so grey here. */
.home .site-footer {
	border-top-color: transparent;
	background: var(--wp--preset--color--canvas);
}

.site-footer__inner {
	box-sizing: content-box;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
}

.site-footer :where(p) {
	margin: 0;
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer a[href]:hover {
	color: var(--wp--preset--color--brand);
}

.site-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: clamp(32px, 5vw, 64px);
	padding-block: clamp(36px, 4.5vw, 48px) 30px;
}

.site-footer__brand {
	display: flex;
	flex-direction: column;
	max-width: 380px;
}

.site-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	margin-bottom: 16px;
	transition: opacity 0.15s ease;
}

.site-footer__logo:hover {
	opacity: 0.85;
}

.site-footer__logo svg {
	display: block;
	width: auto;
	height: 28px;
}

.site-footer__tagline {
	color: var(--wp--preset--color--contrast);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.32;
	letter-spacing: -0.015em;
	text-wrap: balance;
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	width: auto;
}

.site-footer__messengers {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 13.5px;
	font-weight: 500;
}

.site-footer__messengers p,
.site-footer__messengers-title {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 13.5px;
	font-weight: 500;
}

.site-footer__messengers div,
.site-footer__messengers-list {
	display: flex;
	gap: 12px;
}

.site-footer__messengers a {
	display: block;
	transition: transform 0.2s ease;
}

.site-footer__messengers a:hover {
	transform: translateY(-2px) scale(1.06);
}

.site-footer__messengers img {
	display: block;
	border-radius: 50%;
}

.site-footer__messengers a[title="Max"] img {
	border-radius: 9px;
}

/* Requisites Grid */
.site-footer__requisites {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.85fr);
	gap: clamp(24px, 3.5vw, 52px);
	padding-block: 30px;
	border-top: 1px solid var(--wp--preset--color--border);
	font-size: 12.5px;
	line-height: 1.5;
}

.site-footer__req-col {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.site-footer__req-label {
	margin-bottom: 6px;
	color: var(--wp--preset--color--secondary);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.site-footer__req-title {
	color: var(--wp--preset--color--contrast);
	font-size: 13.5px;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.site-footer__req-sub {
	margin-bottom: 2px;
	color: var(--wp--preset--color--muted);
	font-size: 11.5px;
}

.site-footer__req-meta,
.site-footer__req-text {
	color: var(--wp--preset--color--muted);
}

.site-footer__req-item {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	color: var(--wp--preset--color--muted);
}

.site-footer__req-item span {
	color: var(--wp--preset--color--secondary);
	font-weight: 500;
}

.site-footer__req-item a {
	color: var(--wp--preset--color--secondary);
	transition: color 0.15s ease;
}

.site-footer__req-item a:hover {
	color: var(--wp--preset--color--brand);
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 28px;
	align-items: center;
	justify-content: space-between;
	padding-block: 22px 26px;
	border-top: 1px solid var(--wp--preset--color--border);
	font-size: 12.5px;
}

.site-footer__copyright {
	color: var(--wp--preset--color--muted);
	white-space: nowrap;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 22px;
	align-items: center;
}

.site-footer__legal a {
	color: var(--wp--preset--color--secondary);
	transition: color 0.15s ease;
}

.site-footer__legal a:hover {
	color: var(--wp--preset--color--brand);
}

@media (max-width: 960px) {

	.site-footer__requisites {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 36px;
	}
}

@media (max-width: 860px) {

	.site-footer__top {
		flex-direction: column;
		gap: 28px;
		padding-top: 36px;
	}

	.site-footer__brand,
	.site-footer__contact {
		max-width: 100%;
	}
}

@media (max-width: 640px) {

	.site-footer__logo svg {
		height: 24px;
	}

	.site-footer__tagline {
		font-size: 17px;
	}
}

@media (max-width: 600px) {

	.site-footer__requisites {
		grid-template-columns: 1fr;
		gap: 20px;
		padding-block: 24px;
	}

	.site-footer__bottom {
		flex-direction: column;
		gap: 12px;
		align-items: flex-start;
	}

	.site-footer__legal {
		gap: 8px 16px;
	}
}

.news-meta {
	gap: 8px 16px;
	color: var(--wp--preset--color--muted);
	font-size: 14px;
}

.news-archive {
	padding: var(--wp--preset--spacing--60) var(--wp--style--root--padding-right) var(--wp--preset--spacing--70) var(--wp--style--root--padding-left);
}

.news-archive > * {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

.news-archive__head {
	margin-bottom: var(--wp--preset--spacing--50);
}

.news-archive__head h1 {
	margin: 0;
}

.news-archive__head p {
	max-width: 36em;
	margin: 16px 0 0;
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.4;
}

.news-archive__cards .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 12px;
	overflow: hidden;
	padding-bottom: 24px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	background-color: var(--wp--preset--color--base);
}

.news-archive__cards .wp-block-post > * {
	margin: 0 24px;
}

.news-archive__cards .wp-block-post > .wp-block-post-featured-image {
	margin: 0 0 8px;
}

.news-archive__cards .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-bottom: 1px solid var(--wp--preset--color--border);
	object-fit: cover;
	object-position: top;
}

.news-archive__cards .wp-block-post-title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.25;
}

.news-archive__cards .wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}

.news-archive__cards .wp-block-post-title a:hover {
	color: var(--wp--preset--color--brand);
}

.news-archive__cards .wp-block-post-excerpt {
	color: var(--wp--preset--color--secondary);
	font-size: 16px;
}

.news-archive__cards .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.news-archive__cards .wp-block-post-excerpt__more-text {
	margin: 12px 0 0;
}

.news-archive__cards .wp-block-post-excerpt__more-link {
	font-weight: 500;
	text-decoration: none;
}

.news-archive__pagination {
	margin-top: var(--wp--preset--spacing--50);
}

.news-archive__contact {
	margin-top: var(--wp--preset--spacing--60);
	color: var(--wp--preset--color--secondary);
}

.news-article {
	padding-top: var(--wp--preset--spacing--60);
}

.news-article .news-article__share {
	margin-top: 20px;
}

.news-article__end {
	--normix-news-end-width: var(--wp--style--global--content-size);
}

.news-article__back {
	margin: 0;
	font-size: 14px;
}

.news-article__back a {
	color: var(--wp--preset--color--muted);
	text-decoration: none;
}

.news-article__back a:hover {
	color: var(--wp--preset--color--brand);
}

.news-article .wp-block-post-title {
	margin-top: 12px;
	font-size: clamp(28px, 4.2vw, 40px);
	line-height: 1.12;
	text-wrap: balance;
}

.news-article__content {
	margin-top: var(--wp--preset--spacing--40);
	color: var(--wp--preset--color--secondary);
	line-height: 1.65;
}

.news-article .news-article__content > :where(h2, h3) {
	margin-block-start: var(--wp--preset--spacing--50);
	color: var(--wp--preset--color--contrast);
}

.news-article__content .wp-block-image img {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px;
}

.news-article__content figcaption {
	color: var(--wp--preset--color--muted);
	font-size: 14px;
	text-align: left;
}

.page-sections {
	padding: 56px var(--wp--style--root--padding-right) 100px var(--wp--style--root--padding-left);
	background: var(--wp--preset--color--canvas);
}

main.page-sections > * {
	box-sizing: border-box;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

main.page-sections > * + * {
	margin-block-start: 80px;
}

main.page-sections > .is-level-1 + * {
	margin-block-start: 52px;
}

.page-sections .page-sections__section > * + * {
	margin-block-start: 32px;
}

/* ==========================================================================
   Button Component (.normix-btn)
   ========================================================================== */

.normix-btn {
	box-sizing: border-box;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.normix-btn:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

.normix-btn--primary,
.normix-btn--secondary {
	padding: 12px 23px;
	border: 1px solid transparent;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
}

.normix-btn--primary {
	border-color: var(--wp--preset--color--brand);
	background: var(--wp--preset--color--brand);
	color: var(--wp--preset--color--base);
	box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--wp--preset--color--brand) 55%, transparent);
}

.normix-btn--primary:hover {
	border-color: var(--wp--preset--color--brand-hover);
	background: var(--wp--preset--color--brand-hover);
	color: var(--wp--preset--color--base);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -6px color-mix(in srgb, var(--wp--preset--color--brand) 65%, transparent);
}

.normix-btn--primary svg {
	display: inline-block;
	flex-shrink: 0;
	transition: transform 0.15s ease;
}

.normix-btn--primary:hover svg {
	transform: translateX(2px);
}

.normix-btn--secondary {
	border-color: var(--wp--preset--color--border);
	background: var(--wp--preset--color--base);
	color: var(--wp--preset--color--contrast);
}

.normix-btn--secondary:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--contrast) 25%, var(--wp--preset--color--border));
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--contrast);
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--wp--preset--color--contrast) 22%, transparent);
}

.normix-btn--sm {
	padding: 8px 17px;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
}

.normix-btn--lg {
	padding: 15px 27px;
	border-radius: 14px;
	font-size: 16px;
	font-weight: 600;
}

/* ==========================================================================
   Demo Modal (.normix-modal)
   ========================================================================== */

.normix-modal {
	position: fixed;
	inset: 0;
	z-index: 100005;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s ease;
}

.normix-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.normix-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.normix-modal__dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 480px;
	transform: translateY(16px) scale(0.97);
	transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

.normix-modal.is-open .normix-modal__dialog {
	transform: translateY(0) scale(1);
}

.normix-modal__card {
	max-height: min(calc(100dvh - 112px), 740px);
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	background: var(--wp--preset--color--base);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 24px;
	padding: 34px 30px 28px;
	box-shadow: 0 25px 60px -15px rgba(0, 20, 60, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.normix-modal__close {
	position: absolute;
	top: -48px;
	right: 0;
	display: flex;
	padding: 8px;
	border: 0;
	background: none;
	color: color-mix(in srgb, var(--wp--preset--color--base) 80%, transparent);
	cursor: pointer;
	transition: color 0.15s ease;
}

.normix-modal__close:hover {
	color: var(--wp--preset--color--base);
}

@media (min-width: 768px) {

	.normix-modal__close {
		right: -48px;
	}
}

.normix-modal__badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 100px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	color: #1d4ed8;
}

.normix-modal__title {
	margin: 0;
	font-size: clamp(21px, 3vw, 24px);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--contrast);
	text-wrap: balance;
}

.normix-modal__title em {
	color: var(--wp--preset--color--brand);
	font-style: normal;
}

.normix-modal__desc {
	margin: 8px 0 0;
	font-size: 13.5px;
	line-height: 1.45;
	color: var(--wp--preset--color--secondary);
	text-wrap: pretty;
}

.normix-modal__form {
	margin-top: 18px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.normix-modal__error {
	padding: 10px 14px;
	border-radius: 10px;
	background: #fee2e2;
	border: 1px solid #fca5a5;
	color: #991b1b;
	font-size: 13px;
	line-height: 1.4;
}

.normix-modal__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.normix-modal__label {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
	display: flex;
	align-items: baseline;
	gap: 4px;
}

.normix-modal__req {
	color: var(--wp--preset--color--brand);
	font-weight: 700;
}

.normix-modal__opt {
	color: var(--wp--preset--color--muted);
	font-weight: 400;
	font-size: 11.5px;
}

.normix-modal__input {
	width: 100%;
	box-sizing: border-box;
	height: 44px;
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 10px;
	background: #fbfbfc;
	padding: 0 13px;
	font-family: inherit;
	font-size: 14.5px;
	color: var(--wp--preset--color--contrast);
	outline: none;
	transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.normix-modal__input:focus {
	border-color: var(--wp--preset--color--brand);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(0, 96, 227, 0.12);
}

.normix-modal__checkboxes {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 2px;
}

.normix-modal__checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	cursor: pointer;
	user-select: none;
}

.normix-modal__checkbox {
	margin: 2px 0 0;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	accent-color: var(--wp--preset--color--brand);
	cursor: pointer;
}

.normix-modal__checkbox-text {
	font-size: 11.5px;
	line-height: 1.4;
	color: var(--wp--preset--color--secondary);
}

.normix-modal__checkbox-text a {
	color: var(--wp--preset--color--brand);
	text-decoration: none;
}

.normix-modal__checkbox-text a:hover {
	text-decoration: underline;
}

.normix-modal__submit {
	width: 100%;
	height: 48px;
	font-size: 15px;
	font-weight: 600;
	margin-top: 4px;
}

/* ==========================================================================
   Thanks Page (.thanks-page-wrap)
   ========================================================================== */

.thanks-page-wrap {
	flex: 1;
	display: flex;
	flex-direction: column;
	background: var(--wp--preset--color--canvas);
}

.thanks-container {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
	padding: 48px var(--wp--style--root--padding-right) 80px var(--wp--style--root--padding-left);
	display: flex;
	justify-content: center;
}

.thanks-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 820px;
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 28px;
	padding: 52px 48px;
	box-shadow: 0 30px 70px -30px rgba(0, 30, 90, 0.08);
	position: relative;
	overflow: hidden;
}

.thanks-card__glow {
	position: absolute;
	top: -140px;
	left: 50%;
	transform: translateX(-50%);
	width: 460px;
	height: 280px;
	background: radial-gradient(circle, rgba(0, 96, 227, 0.12) 0%, rgba(0, 96, 227, 0) 70%);
	pointer-events: none;
	border-radius: 50%;
}

.thanks-header {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.thanks-status-badge {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 14px;
	border-radius: 100px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #047857;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 20px;
}

.thanks-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
	animation: nx-pulse-dot 2s infinite ease-out;
}

.thanks-icon-wrapper {
	position: relative;
	width: 76px;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 22px;
}

.thanks-icon-pulse {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: rgba(0, 96, 227, 0.16);
	animation: nx-scale-pulse 2.8s ease-out infinite;
}

.thanks-icon-core {
	position: relative;
	z-index: 1;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: linear-gradient(135deg, #0060e3 0%, #0047ab 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	box-shadow: 0 10px 24px -4px rgba(0, 96, 227, 0.45);
}

@keyframes nx-scale-pulse {

	0% {
		transform: scale(0.95);
		opacity: 0.8;
	}

	50% {
		transform: scale(1.18);
		opacity: 0.2;
	}

	100% {
		transform: scale(0.95);
		opacity: 0.8;
	}
}

@keyframes nx-pulse-dot {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.4;
	}
}

.thanks-title {
	margin: 0;
	font-size: clamp(26px, 3.8vw, 38px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--wp--preset--color--contrast);
	text-wrap: balance;
}

.thanks-subtitle {
	margin: 14px 0 0;
	font-size: clamp(15px, 1.6vw, 16.5px);
	line-height: 1.55;
	color: var(--wp--preset--color--secondary);
	max-width: 560px;
	text-wrap: pretty;
}

.thanks-steps-section {
	margin-top: 38px;
	width: 100%;
	position: relative;
	z-index: 1;
}

.thanks-steps-heading {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	text-align: center;
}

.thanks-steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.thanks-step-card {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 16px;
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.thanks-step-card:hover {
	transform: translateY(-2px);
	border-color: rgba(0, 96, 227, 0.3);
	box-shadow: 0 8px 20px -8px rgba(0, 96, 227, 0.15);
}

.thanks-step-card--bonus {
	background: #f8fafc;
	border-color: #bfdbfe;
}

.thanks-step-num {
	width: 26px;
	height: 26px;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.thanks-step-num--bonus {
	background: #eff6ff;
	border-color: #bfdbfe;
	color: #0060e3;
}

.thanks-step-title {
	margin: 0;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
	line-height: 1.3;
}

.thanks-step-desc {
	margin: 4px 0 0;
	font-size: 12.5px;
	line-height: 1.45;
	color: var(--wp--preset--color--secondary);
}

.thanks-actions {
	margin-top: 36px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	position: relative;
	z-index: 1;
}

.thanks-messengers {
	margin-top: 32px;
	padding-top: 26px;
	border-top: 1px solid var(--wp--preset--color--border);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	width: 100%;
	position: relative;
	z-index: 1;
}

.thanks-messengers__label {
	margin: 0;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--wp--preset--color--muted);
	text-align: center;
}

.thanks-messengers__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
}

.thanks-messenger-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 100px;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 500;
	transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.thanks-messenger-link:hover {
	transform: translateY(-1px);
	border-color: var(--wp--preset--color--contrast);
	background: #fff;
}

@media (max-width: 680px) {

	.thanks-card {
		padding: 36px 20px;
	}

	.thanks-steps-grid {
		grid-template-columns: 1fr;
	}

	.thanks-actions {
		flex-direction: column;
		width: 100%;
	}

	.thanks-actions > a {
		width: 100%;
	}

	.normix-modal__card {
		padding: 28px 20px 22px;
	}

	.normix-modal__desc {
		display: none;
	}
}

