* {box-sizing: border-box;}
html {scroll-behavior: smooth; background-color: var(--c-bg); color: var(--c-text); font-family: Cantarell, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 13pt; line-height: 1.2;}
html, body {margin: 0; overflow-x: hidden;}

button {font: inherit;}

h1 {font-size: 250%; margin: 2.4rem 0 2rem;}
h2 {font-size: 200%; margin: 2.2rem 0 1.4rem;}
h3 {font-size: 150%; margin: 1.9rem 0 1.2rem;}
h4 {font-size: 110%; margin: 1.8rem 0 1rem;}

p {margin: 1rem 0; line-height: 1.4;}
p.subtitle {font-weight: 700; font-size: 120%; text-wrap: balance;}

h1, h2, h3 {color: var(--c-title); font-weight: 900; text-wrap: balance;}

.w-900 > .inner {max-width: 900px;}

.text-gradient {background-clip: text; color: transparent; background-image: var(--gradient);}

nav {

	--logo-height: 24px;

	width: 100%; height: 64px; overflow: hidden;
	.inner {max-width: var(--site-width); margin: auto; height: 100%; display: grid; gap: 20px; grid-template-columns: 1fr auto 1fr; grid-template-areas: "logo items items-right"; align-items: center; padding: 0 var(--site-padding);}

	.logo {grid-area: logo; display: flex;}

	.items {
		display: flex; grid-area: items; justify-content: end; gap: 20px; font-size: 13pt;
		&.right {justify-content: end; grid-area: items-right;}
	}

	a {color: var(--c-text); text-decoration: none; font-weight: 700;}
	a:hover, a.active {color: var(--c-title);}
	img {max-height: var(--logo-height);}

	.menu {
		grid-area: menu; display: none; cursor: pointer; padding: 20px; margin: -20px;
		svg {color: var(--c-title); width: 24px;}
	}

	@media (max-width: 900px) {
		.inner {grid-template-columns: 1fr auto; grid-template-rows: 64px auto auto; grid-template-areas: "logo menu" "items items" "items-right items-right";}
		.menu {display: flex;}
		.items {flex-direction: column; align-items: start;}
	}

}

#menutoggle {
	display: none;
	&:checked + nav {height: auto; background-color: var(--c-bg-light); border-bottom: 1px solid var(--c-border); padding-bottom: 25px;}
}

.text-center {text-align: center;}

.btn-row {
	display: flex; flex-wrap: wrap; gap: 7px; margin: 25px 0;
	&.btn-row-center {justify-content: center;}
}

.btn {
	--c-text: #fff;
	--c-bg: #26292f;
	--c-bg-hover: #3c3f44;
	--c-border: #3c3f44;
	--c-border-hover: #4b4f54;
	color: var(--c-text); padding: 8px 12px; background: var(--c-bg); border-radius: 12px; border: 1.5px solid var(--c-border); box-shadow: var(--shadow); transition: all .2s; text-decoration: none; font-weight: 700;
	&:hover {border-color: var(--c-border-hover); background: var(--c-bg-hover);}
	&.btn-primary {--c-bg: #236DC2; --c-border: #2677d4; --c-bg-hover: #2882EA; --c-border-hover: #3D8FEE;}
}

header.hero {

	h1 {font-weight: 900; font-size: 50px;}
	h1, p {margin: 20px 0; text-wrap: balance;}
	p {font-size: 24px;}
	.btn {font-weight: 700; border-radius: 50px; padding: 10px 20px;}

	&.hero-sb h1 {
		font-weight: 700;
		b, strong, .text-gradient {font-weight: 900;}
	}

	@media (max-width: 900px) {
		h1 {font-size: 40px;}
		.herologo {width: 200px;}
	}

	@media (min-height: 900px) {
		.inner {margin: 100px auto;}
	}

}

.herologo {
	position: relative; margin: auto; width: 300px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
	.shade {position: absolute; background-image: var(--shade-gradient); width: 130%; height: 130%; filter: blur(68px); border-radius: 50%; z-index: -1;}
	img {max-width: 100%;}
}

:is(header, section, footer) > .inner {max-width: var(--site-width); margin: 50px auto; padding: 0 var(--site-padding);}

.feature-grid .inner {
	display: flex; gap: 10px; flex-wrap: wrap;
	& > * {flex: 1; min-width: 350px;}
}

.feature-card {
	display: grid; grid-template-columns: auto 1fr; background-color: var(--c-bg-light); padding: 20px; border-radius: 12px; align-items: center; gap: 10px; box-shadow: var(--shadow);
	p {grid-column: 1 / span 2;}
	h4, svg {color: var(--c-title);}
	svg {font-size: 32px;}
	* {margin: 0;}
}

.highlights-grid {
	display: grid; grid-template-columns: 1fr 1fr; text-align: center; gap: 15px; text-wrap: balance; margin-top: 60px;
	& > * {padding: 20px; border: 1px solid var(--c-bg-light); overflow: hidden; border-radius: 12px; box-shadow: var(--shadow); background-color: var(--c-bg-light);}
	.herologo {
		width: 200px; height: 100px; position: relative; z-index: 0; margin: 10px auto -10px;
		svg {color: #fff; font-size: 80px;}
		&.oss-sm > svg:nth-last-child(1) {padding: 11px; margin-top: 6px;}
	}
	h3, p {position: relative; z-index: 1;}
	@media (max-width: 900px) {
		grid-template-columns: 1fr;
	}
}

section.big-margin .inner {margin: 100px auto;}

footer {
	.inner {display: flex; align-items: center; justify-content: center; gap: 20px; line-height: 1;}
	img {max-height: 24px;}
	@media (max-width: 900px) {
		.inner {flex-direction: column; align-items: center;}
	}
}

/* ============ Pricing ============ */

.pricing-grid {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 15px; align-items: stretch; margin-top: 40px;
}

@media (min-width: 801px) and (max-width: 1200px) {
	.pricing-grid {
		grid-template-columns: repeat(2, 1fr);
		.card:nth-child(3) {grid-column: 1 / -1;}
	}
}

@media (max-width: 800px) {
	.pricing-grid {grid-template-columns: 1fr;}
}

.card {
	background-color: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: 18px; padding: 2px; box-shadow: var(--shadow); text-align: left;
	&.recommended {border: none; background-image: var(--gradient); padding: 3px; margin: 0px;}
	& > .inner {
		background-color: var(--c-bg-light); border-radius: 16px; padding: 25px; height: 100%;
		display: flex; flex-direction: column; gap: 15px;
	}
}

.pricing-head {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	h3, p {margin: 0;}
}

.pricing-badge {
	display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
	background-image: var(--gradient); color: #fff; border-radius: 50px; padding: 5px 10px;
	font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px;
	svg, .pricing-badge-text {filter: drop-shadow(0 1px 2px #0006);}
	svg {font-size: 13px;}
}

.pricing-price {
	display: flex; align-items: baseline; gap: 8px; padding-bottom: 15px; border-bottom: 1px solid var(--c-border);
	b {font-size: 200%; font-weight: 900; color: var(--c-title); line-height: 1;}
	span {font-weight: 700;}
}

.pricing-features {
	list-style: none; margin: 0; padding: 0; flex: 1;
	display: flex; flex-direction: column; gap: 11px;
	li {
		display: flex; align-items: center; gap: 10px; line-height: 1.35;
		svg {font-size: 22px; flex: none;}
		&.yes svg {color: #3ddc84;}
		&.no {opacity: .7;}
	}
}

.pricing-cta {margin-top: auto; display: block; text-align: center;}

/* ============ References ============ */

.references-grid {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; align-items: stretch; margin-top: 40px;
}

.reference-card {
	background-color: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: 18px; padding: 25px; width: calc((100% - 30px) / 3);
	display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow);
}

@media (min-width: 801px) and (max-width: 1200px) {
	.reference-card {width: calc((100% - 15px) / 2);}
}

@media (max-width: 800px) {
	.reference-card {width: 100%;}
}

/* ============ Order ============ */

.order-form {
	max-width: 680px; margin: 60px auto 0; display: flex; flex-direction: column; gap: 30px; text-align: left;
}

.order-field {
	display: flex; flex-direction: column; gap: 10px;
}

.order-label {
	font-weight: 700; color: var(--c-title);
}

.order-field input, .order-field textarea {
	background-color: var(--c-bg-light); border: 1px solid var(--c-border); border-radius: 14px;
	padding: 16px 18px; color: var(--c-text); font: inherit; resize: vertical;
	&::placeholder {opacity: .55;}
	&:focus {outline: none; border-color: var(--c-brand-1);}
}

.order-hint {
	font-size: 85%; opacity: .75;
}

.order-error {
	background-color: #f0506e22; border: 1px solid #f0506e; color: #f0506e;
	border-radius: 12px; padding: 10px 14px;
}

.order-submit {
	align-self: flex-start; border-radius: 50px; padding: 12px 26px;
}

.order-note {
	font-size: 85%; opacity: .75;
}

.order-success {
	max-width: 640px; margin: 60px auto; text-align: center;
	svg {font-size: 64px; color: #3ddc84;}
	h3 {margin: 10px 0 0;}
}

.reference-head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
	h3 {margin: 0;}
}

.reference-year {
	font-size: 85%; font-weight: 900; color: var(--c-text); white-space: nowrap;
}

.reference-desc {
	margin: 0; flex: 1;
}

.reference-link {
	display: inline-flex; align-items: center; gap: 7px; margin-top: auto;
	color: var(--c-title); font-weight: 700; text-decoration: none;
	svg {font-size: 18px; color: var(--c-brand-1);}
	&:hover {color: var(--c-brand-1);}
}
