:root {
	--stand-ink: var(--wp--preset--color--ink);
	--stand-primary: var(--wp--preset--color--primary);
	--stand-primary-dark: var(--wp--preset--color--primary-dark);
	--stand-mustard: var(--wp--preset--color--mustard);
	--stand-leaf: var(--wp--preset--color--leaf);
	--stand-line: var(--wp--preset--color--line);
	--stand-muted: var(--wp--preset--color--muted);
	--stand-stripe: 28px;
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern", "liga";
}

:where(section[id], #stand-registration) {
	scroll-margin-top: 1.5rem;
}

:where(a, button, summary, input, select, textarea):focus-visible {
	outline: 3px solid var(--stand-primary);
	outline-offset: 3px;
}

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--stand-primary-dark);
	padding-top: calc(0.85rem - 2px);
	padding-bottom: calc(0.85rem - 2px);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--stand-leaf);
	color: var(--stand-primary-dark);
}

.wp-site-blocks > .stand-main,
.wp-site-blocks > .stand-footer-part {
	margin-block-start: 0;
}

.stand-header-part {
	position: relative;
	z-index: 10;
}

.stand-header {
	position: relative;
	padding-top: calc(22px + 0.9rem);
	padding-bottom: 0.9rem;
	background: #fff;
	border-bottom: 1px solid color-mix(in srgb, var(--stand-line) 70%, transparent);
}

.stand-header::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 22px;
	background: repeating-linear-gradient(90deg, var(--stand-primary) 0 var(--stand-stripe), #d3e8dc var(--stand-stripe) calc(var(--stand-stripe) * 2));
	-webkit-mask:
		linear-gradient(#000 0 0) top / 100% 9px no-repeat,
		radial-gradient(circle calc(var(--stand-stripe) / 2) at calc(var(--stand-stripe) / 2) 9px, #000 97%, transparent 100%) 0 0 / var(--stand-stripe) 23px repeat-x;
	mask:
		linear-gradient(#000 0 0) top / 100% 9px no-repeat,
		radial-gradient(circle calc(var(--stand-stripe) / 2) at calc(var(--stand-stripe) / 2) 9px, #000 97%, transparent 100%) 0 0 / var(--stand-stripe) 23px repeat-x;
	filter: drop-shadow(0 1px 0 color-mix(in srgb, var(--stand-primary-dark) 40%, transparent));
}

.stand-header__bar {
	gap: 1rem;
}

.stand-brand {
	gap: 0.75rem;
	min-width: 0;
}

.stand-brand .wp-block-site-logo img {
	max-height: 44px;
	width: auto;
}

.stand-brand__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.stand-brand__title a {
	color: var(--stand-ink);
	text-decoration: none;
}

.stand-header__actions {
	gap: 0.9rem;
	flex-shrink: 0;
}

.stand-header__cta .wp-block-button__link {
	padding: 0.6rem 1.15rem;
	font-size: 0.95rem;
}

.stand-lang ul {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 3px;
	list-style: none;
	border-radius: 999px;
	background: var(--wp--preset--color--mist);
	border: 1px solid var(--stand-line);
}

.stand-lang a {
	display: block;
	min-width: 2.4rem;
	padding: 0.3rem 0.55rem;
	border-radius: 999px;
	color: var(--stand-muted);
	font-size: 0.85rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.stand-lang a:hover {
	color: var(--stand-ink);
}

.stand-lang a[aria-current="true"] {
	background: var(--stand-ink);
	color: #fff;
}

@media (max-width: 640px) {
	.stand-header .stand-header__cta {
		display: none;
	}
	.stand-brand__title {
		font-size: 1.05rem;
	}
}

.stand-hero {
	overflow: hidden;
}

.stand-hero__title {
	max-width: 17ch;
	margin-bottom: 0;
	font-size: clamp(2.3rem, 4.6vw, 3.75rem);
	text-wrap: balance;
	hyphens: auto;
	-webkit-hyphens: auto;
	hyphenate-limit-chars: 10 4 4;
}

.stand-hero__lead {
	max-width: 34em;
	color: #2e3b4f;
	line-height: 1.55;
}

.stand-hero__actions {
	margin-top: 2rem;
	gap: 0.75rem;
}

.stand-hero__meta {
	color: var(--stand-muted);
}

.stand-tag {
	--tag-pad: clamp(1.5rem, 3.5vw, 2.25rem);
	position: relative;
	max-width: 420px;
	margin-inline: auto;
	padding: calc(var(--tag-pad) + 0.5rem) var(--tag-pad) var(--tag-pad);
	background: var(--stand-mustard);
	color: var(--stand-ink);
	border-radius: 16px 16px 16px 4px;
	box-shadow:
		0 1px 0 rgb(21 34 56 / 0.08),
		0 22px 44px -26px rgb(21 34 56 / 0.55);
	transform: rotate(-1.6deg);
	transform-origin: 50% 0;
	animation: stand-tag-in 0.9s cubic-bezier(0.2, 0.9, 0.25, 1.15) 0.15s both;
}

.stand-tag::before {
	content: "";
	position: absolute;
	top: 1.1rem;
	right: 1.3rem;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 2px 3px rgb(21 34 56 / 0.35);
}

.stand-tag > * {
	margin-block: 0;
}

.stand-tag__kicker {
	font-weight: 600;
	font-size: 1rem;
	color: #3d3a1f;
}

.stand-tag__title {
	margin-top: 0.1rem !important;
	font-size: clamp(2rem, 4vw, 2.6rem);
	line-height: 1;
	letter-spacing: -0.03em;
}

.stand-tag__list {
	margin-top: 1.4rem !important;
	padding: 0;
	list-style: none;
}

.stand-tag__list li {
	position: relative;
	padding: 0.85rem 0 0.85rem 2.1rem;
	border-top: 1.5px dashed rgb(21 34 56 / 0.35);
	font-size: 0.975rem;
	line-height: 1.35;
	color: #2f3446;
}

.stand-tag__list li strong {
	color: var(--stand-ink);
	font-weight: 700;
}

.stand-tag__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1rem;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	border: 2px solid var(--stand-ink);
	background: conic-gradient(var(--stand-ink) 0 50%, transparent 50% 100%);
	box-sizing: border-box;
}

.stand-tag__list li.is-open::before {
	border-color: var(--stand-primary-dark);
	background: var(--stand-primary-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

@keyframes stand-tag-in {
	0% {
		opacity: 0;
		transform: rotate(-9deg) translateY(-14px);
	}
	55% {
		opacity: 1;
		transform: rotate(1.2deg);
	}
	100% {
		transform: rotate(-1.6deg);
	}
}

.stand-steps__list {
	display: grid;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-top: var(--wp--preset--spacing--40);
	padding: 0;
	list-style: none;
	counter-reset: stand-step;
}

@media (min-width: 782px) {
	.stand-steps__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.stand-steps__list li {
	position: relative;
	padding-top: 4.25rem;
	counter-increment: stand-step;
	color: #2e3b4f;
}

.stand-steps__list li::before {
	content: counter(stand-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--stand-primary);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.35rem;
	font-weight: 700;
}

@media (min-width: 782px) {
	.stand-steps__list li:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 1.5rem;
		left: 3.75rem;
		right: -1.75rem;
		border-top: 2px dashed var(--stand-line);
	}
}

.stand-steps__list li br {
	display: none;
}

.stand-steps__list li strong {
	display: block;
	margin-bottom: 0.35rem;
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--large);
	color: var(--stand-ink);
	letter-spacing: -0.01em;
}

.stand-work__item {
	padding: 1.4rem 0;
	border-top: 1px solid var(--stand-line);
}

.stand-work__item:last-child {
	border-bottom: 1px solid var(--stand-line);
}

.stand-work__item h3 {
	margin: 0 0 0.35rem;
	font-size: var(--wp--preset--font-size--large);
}

.stand-work__item p {
	margin: 0;
	color: #2e3b4f;
}

.stand-faq details {
	padding-inline: 0;
}

.stand-faq summary {
	position: relative;
	padding-right: 2.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600;
	font-size: var(--wp--preset--font-size--large);
	letter-spacing: -0.01em;
	cursor: pointer;
	list-style: none;
}

.stand-faq summary::-webkit-details-marker {
	display: none;
}

.stand-faq summary::after {
	content: "";
	position: absolute;
	right: 0.25rem;
	top: 50%;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: -0.75rem;
	border-radius: 50%;
	background:
		linear-gradient(var(--stand-primary-dark) 0 0) center / 10px 2px no-repeat,
		linear-gradient(var(--stand-primary-dark) 0 0) center / 2px 10px no-repeat,
		var(--stand-leaf);
	transition: transform 0.2s ease;
}

.stand-faq details[open] summary::after {
	background:
		linear-gradient(var(--stand-primary-dark) 0 0) center / 10px 2px no-repeat,
		var(--stand-leaf);
}

.stand-faq details p {
	margin: 0.6rem 0 0;
	color: #2e3b4f;
	max-width: 38em;
}

.stand-trust .has-large-font-size {
	line-height: 1.5;
}

.stand-promises {
	margin: 0;
	padding: 0;
	list-style: none;
}

.stand-promises li {
	position: relative;
	padding: 1.1rem 0 1.1rem 2.6rem;
	border-top: 1px solid rgb(255 255 255 / 0.22);
	line-height: 1.5;
	color: rgb(255 255 255 / 0.88);
}

.stand-promises li:first-child {
	border-top: 0;
	padding-top: 0.35rem;
}

.stand-promises li strong {
	color: #fff;
}

.stand-promises li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.2rem;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--stand-mustard) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.6L12 5.4' fill='none' stroke='%23152238' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.stand-promises li:first-child::before {
	top: 0.45rem;
}

.stand-trust :where(a, button, summary):focus-visible {
	outline-color: var(--stand-mustard);
}

.stand-register__card {
	padding: clamp(1.5rem, 5vw, 3.5rem);
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 30px 60px -40px rgb(21 34 56 / 0.45);
}

.stand-register__card > h2 {
	margin-top: 0;
}

.stand-register__intro {
	margin-top: 0.4rem;
	margin-bottom: var(--wp--preset--spacing--40);
}

.stand-footer a {
	color: #fff;
	text-underline-offset: 3px;
}

.stand-footer__title {
	margin: 0 0 0.5rem;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	font-size: 1.15rem;
	color: #fff;
}

.stand-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.stand-footer__copy {
	margin-top: var(--wp--preset--spacing--40);
	padding-top: 1.25rem;
	border-top: 1px solid rgb(255 255 255 / 0.15);
	color: rgb(255 255 255 / 0.65);
}

.stand-footer :where(a):focus-visible {
	outline-color: var(--stand-mustard);
}

.stand-page .wp-block-post-title {
	margin-bottom: var(--wp--preset--spacing--30);
}

@media (max-width: 781px) {
	.stand-hero__cols {
		gap: var(--wp--preset--spacing--40) !important;
	}
	.stand-tag {
		max-width: 360px;
		transform: rotate(-1deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.stand-tag {
		animation: none;
	}
	.stand-faq summary::after {
		transition: none;
	}
}
