/**
 * Shared multilingual homepage layout.
 *
 * The page content is translated per locale, but its structure is identical.
 * Keeping the layout in the theme prevents newly-created translations from
 * rendering as unstyled document content.
 */

.af-home-2026 {
	--af-ink: #111514;
	--af-muted: #5f6965;
	--af-line: #dfe5e1;
	--af-surface: #f2f5f3;
	--af-accent: #dff458;
	--af-white: #ffffff;
	color: var(--af-ink);
	overflow: hidden;
}

.af-home-2026,
.af-home-2026 * {
	box-sizing: border-box;
	letter-spacing: 0;
}

.af-home-2026 img {
	display: block;
	max-width: 100%;
}

.af-home-2026 a {
	text-decoration: none;
}

.af-home-2026 a:focus-visible,
.af-home-2026 button:focus-visible {
	outline: 3px solid #5388f3;
	outline-offset: 4px;
}

.af-container {
	width: min(1180px, calc(100% - 48px));
	margin: 0 auto;
}

.af-section {
	padding: 92px 0 104px;
}

.af-section--compact {
	padding: 72px 0 84px;
}

.af-section--surface {
	background: var(--af-surface);
}

.af-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
	gap: 56px;
	align-items: end;
	margin-bottom: 44px;
}

.af-eyebrow {
	display: block;
	margin-bottom: 14px;
	color: #6f792a;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.af-home-2026 h1,
.af-home-2026 h2,
.af-home-2026 h3,
.af-home-2026 p {
	margin-top: 0;
}

.af-home-2026 h1,
.af-home-2026 h2,
.af-home-2026 h3 {
	color: inherit;
	font-family: "Roboto Flex", sans-serif;
	text-wrap: balance;
}

.af-home-2026 h2 {
	margin-bottom: 0;
	font-size: 44px;
	font-weight: 650;
	line-height: 1.08;
}

.af-home-2026 h3 {
	font-size: 24px;
	font-weight: 650;
	line-height: 1.2;
}

.af-lead {
	max-width: 62ch;
	margin-bottom: 0;
	color: var(--af-muted);
	font-size: 18px;
	line-height: 1.65;
	text-wrap: pretty;
}

.af-button {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	transition: transform 220ms ease, background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.af-button:hover {
	transform: translateY(-2px);
}

.af-button:active {
	transform: translateY(1px);
}

.af-button--accent {
	background: var(--af-accent);
	color: var(--af-ink);
}

.af-button--accent:hover {
	background: #efff84;
	color: var(--af-ink);
}

.af-button--light {
	border-color: rgba(255,255,255,.68);
	color: var(--af-white);
}

.af-button--light:hover {
	border-color: var(--af-white);
	background: var(--af-white);
	color: var(--af-ink);
}

.af-button--dark {
	background: var(--af-ink);
	color: var(--af-white);
}

.af-button--dark:hover {
	background: #303635;
	color: var(--af-white);
}

.af-hero {
	position: relative;
	min-height: 590px;
	display: grid;
	align-items: center;
	isolation: isolate;
	background: #1a2428;
}

.af-hero__media,
.af-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.af-hero__media {
	z-index: -2;
	object-fit: cover;
	object-position: center bottom;
}

.af-hero__shade {
	z-index: -1;
	background: rgba(4, 9, 10, .48);
}

.af-hero__content {
	max-width: 640px;
	padding: 80px 0 92px;
	color: var(--af-white);
}

.af-hero .af-eyebrow {
	color: var(--af-accent);
}

.af-hero h1 {
	margin-bottom: 22px;
	color: var(--af-white);
	font-size: 64px;
	font-weight: 700;
	line-height: 1.02;
}

.af-hero p {
	max-width: 54ch;
	margin-bottom: 30px;
	color: rgba(255,255,255,.9);
	font-size: 19px;
	line-height: 1.6;
	text-wrap: pretty;
}

.af-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.af-proof {
	background: var(--af-ink);
	color: var(--af-white);
}

.af-proof__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.af-proof__item {
	min-height: 96px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 22px 26px;
	border-left: 1px solid rgba(255,255,255,.14);
}

.af-proof__item:first-child {
	border-left: 0;
	padding-left: 0;
}

.af-proof__item:last-child {
	padding-right: 0;
}

.af-proof__item strong {
	color: var(--af-accent);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.af-proof__item span {
	margin-top: 5px;
	color: rgba(255,255,255,.7);
	font-size: 13px;
}

.af-use-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
	grid-template-rows: repeat(2, 260px);
	gap: 18px;
}

.af-use {
	position: relative;
	min-height: 0;
	overflow: hidden;
	border-radius: 6px;
	background: #1e2523;
	color: var(--af-white);
	isolation: isolate;
}

.af-use--large {
	grid-row: 1 / span 2;
}

.af-use__image,
.af-use__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.af-use__image {
	z-index: -2;
	object-fit: cover;
	transition: transform 500ms ease;
}

.af-use__shade {
	z-index: -1;
	background: rgba(4, 8, 7, .48);
}

.af-use:hover .af-use__image {
	transform: scale(1.025);
}

.af-use__body {
	position: absolute;
	inset: auto 0 0;
	padding: 30px;
}

.af-use--large .af-use__body {
	padding: 42px;
}

.af-use h3 {
	margin-bottom: 8px;
	color: var(--af-white);
	font-size: 29px;
}

.af-use p {
	max-width: 48ch;
	margin-bottom: 14px;
	color: rgba(255,255,255,.82);
	line-height: 1.55;
}

.af-use__link {
	color: var(--af-accent);
	font-size: 14px;
	font-weight: 700;
}

.af-products .woocommerce {
	width: 100%;
}

.af-products .products {
	margin-bottom: 0;
}

.af-products .product-small.box {
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--af-line);
	border-radius: 6px;
	background: var(--af-white);
	box-shadow: none;
	transition: transform 220ms ease, border-color 220ms ease;
}

.af-products .product-small.box:hover {
	transform: translateY(-4px);
	border-color: #b9c2bd;
}

.af-products .box-image {
	aspect-ratio: 1 / 1;
	background: #f7f8f7;
}

.af-products .box-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.af-products .box-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 20px !important;
}

.af-products .product-title {
	min-height: 3.1em;
	display: -webkit-box;
	overflow: hidden;
	color: var(--af-ink);
	font-size: 16px;
	font-weight: 650;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.af-products .price-wrapper:empty {
	display: none;
}

.af-products .add-to-cart-button {
	margin-top: auto;
	padding-top: 18px;
}

.af-products .button {
	width: 100%;
	min-height: 44px;
	margin: 0;
	border-radius: 4px;
	background: var(--af-ink);
	color: var(--af-white);
	font-size: 13px;
	transition: transform 220ms ease, background-color 220ms ease;
}

.af-products .button:hover {
	transform: translateY(-2px);
	background: #303635;
	color: var(--af-white);
}

.af-products__footer {
	display: flex;
	justify-content: center;
	margin-top: 38px;
}

.af-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, .84fr);
	gap: 76px;
	align-items: center;
}

.af-feature__visual {
	min-height: 560px;
	display: grid;
	place-items: center;
	padding: 44px;
	background: var(--af-surface);
}

.af-feature__visual img {
	width: 100%;
	max-height: 510px;
	object-fit: contain;
}

.af-feature__copy h2 {
	margin-bottom: 22px;
}

.af-feature__copy > p {
	max-width: 54ch;
	margin-bottom: 28px;
	color: var(--af-muted);
	font-size: 17px;
	line-height: 1.7;
}

.af-specs {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin: 0 0 30px;
	border-top: 1px solid var(--af-line);
	border-left: 1px solid var(--af-line);
}

.af-spec {
	padding: 18px;
	border-right: 1px solid var(--af-line);
	border-bottom: 1px solid var(--af-line);
}

.af-spec strong {
	display: block;
	color: var(--af-ink);
	font-size: 21px;
	font-weight: 700;
}

.af-spec span {
	display: block;
	margin-top: 3px;
	color: var(--af-muted);
	font-size: 13px;
}

.af-tech {
	background: var(--af-accent);
}

.af-tech__head {
	max-width: 760px;
	margin-bottom: 44px;
}

.af-tech__head h2 {
	margin-bottom: 16px;
}

.af-tech__head p {
	margin-bottom: 0;
	font-size: 18px;
	line-height: 1.6;
}

.af-tech__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(17,21,20,.28);
}

.af-tech__item {
	padding: 28px 28px 0;
	border-left: 1px solid rgba(17,21,20,.28);
}

.af-tech__item:first-child {
	border-left: 0;
	padding-left: 0;
}

.af-tech__item:last-child {
	padding-right: 0;
}

.af-tech__number {
	display: block;
	margin-bottom: 32px;
	font-size: 13px;
	font-weight: 700;
}

.af-tech__item h3 {
	margin-bottom: 10px;
	font-size: 19px;
}

.af-tech__item p {
	margin-bottom: 0;
	font-size: 14px;
	line-height: 1.6;
}

.af-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.af-guide {
	overflow: hidden;
	border: 1px solid var(--af-line);
	border-radius: 6px;
	background: var(--af-white);
	transition: transform 220ms ease, border-color 220ms ease;
}

.af-guide:hover {
	transform: translateY(-4px);
	border-color: #b9c2bd;
}

.af-guide__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--af-surface);
}

.af-guide__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms ease;
}

.af-guide:hover .af-guide__media img {
	transform: scale(1.025);
}

.af-guide__body {
	padding: 24px;
}

.af-guide__body span {
	color: #6f792a;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.af-guide h3 {
	margin: 12px 0 14px;
	color: var(--af-ink);
	font-size: 21px;
}

.af-guide p {
	margin-bottom: 20px;
	color: var(--af-muted);
	font-size: 14px;
	line-height: 1.6;
}

.af-guide__link {
	color: var(--af-ink);
	font-size: 14px;
	font-weight: 700;
}

.af-explainer {
	display: grid;
	grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
	gap: 78px;
	align-items: start;
}

.af-explainer__intro {
	position: sticky;
	top: 120px;
}

.af-explainer__intro h2 {
	margin-bottom: 20px;
}

.af-explainer__intro p {
	margin-bottom: 0;
	color: var(--af-muted);
	font-size: 17px;
	line-height: 1.7;
}

.af-answer {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 22px;
	padding: 28px 0 30px;
	border-top: 1px solid var(--af-line);
}

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

.af-answer__index {
	color: #75812a;
	font-size: 13px;
	font-weight: 700;
}

.af-answer h3 {
	margin-bottom: 10px;
	font-size: 20px;
}

.af-answer p {
	max-width: 62ch;
	margin-bottom: 0;
	color: var(--af-muted);
	line-height: 1.7;
}

.af-final {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
	min-height: 420px;
	background: var(--af-ink);
	color: var(--af-white);
}

.af-final__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 72px max(48px, calc((100vw - 1180px) / 2));
	padding-right: 70px;
}

.af-final__copy h2 {
	max-width: 670px;
	margin-bottom: 18px;
	color: var(--af-white);
}

.af-final__copy p {
	max-width: 54ch;
	margin-bottom: 28px;
	color: rgba(255,255,255,.72);
	font-size: 17px;
	line-height: 1.65;
}

.af-final__copy .af-button {
	align-self: flex-start;
}

.af-final__media {
	min-height: 420px;
}

.af-final__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

body.home #footer .footer-1,
body.home #footer .absolute-footer {
	background-color: #111514 !important;
}

body.home #footer .absolute-footer {
	border-top: 1px solid rgba(255, 255, 255, .1);
}

@media (max-width: 900px) {
	.af-section {
		padding: 76px 0 86px;
	}

	.af-section__head,
	.af-feature,
	.af-explainer,
	.af-final {
		grid-template-columns: 1fr;
	}

	.af-section__head {
		gap: 20px;
	}

	.af-hero {
		min-height: 540px;
	}

	.af-hero h1 {
		font-size: 50px;
	}

	.af-proof__grid,
	.af-tech__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.af-proof__item:nth-child(3),
	.af-tech__item:nth-child(3) {
		border-left: 0;
	}

	.af-use-grid {
		grid-template-columns: 1fr;
		grid-template-rows: 420px 260px 260px;
	}

	.af-use--large {
		grid-row: auto;
	}

	.af-feature {
		gap: 48px;
	}

	.af-feature__visual {
		min-height: 480px;
	}

	.af-tech__item {
		border-bottom: 1px solid rgba(17,21,20,.28);
		padding-bottom: 28px;
	}

	.af-guide-grid {
		grid-template-columns: 1fr 1fr;
	}

	.af-guide:last-child {
		grid-column: 1 / span 2;
	}

	.af-explainer__intro {
		position: static;
	}

	.af-final__copy {
		padding: 68px 40px;
	}

	.af-final__media {
		min-height: 340px;
	}
}

@media (max-width: 560px) {
	.af-container {
		width: min(100% - 32px, 1180px);
	}

	.af-section,
	.af-section--compact {
		padding: 62px 0 70px;
	}

	.af-home-2026 h2 {
		font-size: 34px;
	}

	.af-hero {
		min-height: 535px;
		align-items: end;
	}

	.af-hero__media {
		object-position: 58% bottom;
	}

	.af-hero__shade {
		background: rgba(4, 9, 10, .58);
	}

	.af-hero__content {
		padding: 76px 0 60px;
	}

	.af-hero h1 {
		font-size: 41px;
	}

	.af-hero p {
		font-size: 17px;
	}

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

	.af-proof__grid,
	.af-tech__grid,
	.af-specs,
	.af-guide-grid {
		grid-template-columns: 1fr;
	}

	.af-proof__item,
	.af-proof__item:first-child,
	.af-proof__item:last-child {
		min-height: 74px;
		padding: 16px 0;
		border-left: 0;
		border-top: 1px solid rgba(255,255,255,.14);
	}

	.af-proof__item:first-child {
		border-top: 0;
	}

	.af-use-grid {
		grid-template-rows: 390px 250px 250px;
	}

	.af-use--large .af-use__body,
	.af-use__body {
		padding: 24px;
	}

	.af-use h3 {
		font-size: 25px;
	}

	.af-feature__visual {
		min-height: 360px;
		padding: 22px;
	}

	.af-tech__item,
	.af-tech__item:first-child,
	.af-tech__item:last-child,
	.af-tech__item:nth-child(3) {
		padding: 24px 0;
		border-left: 0;
	}

	.af-tech__number {
		margin-bottom: 12px;
	}

	.af-guide:last-child {
		grid-column: auto;
	}

	.af-answer {
		grid-template-columns: 32px 1fr;
		gap: 14px;
	}

	.af-final__copy {
		padding: 58px 24px;
	}

	.af-final__copy .af-button {
		align-self: stretch;
	}

	.af-final__media {
		min-height: 260px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.af-home-2026 *,
	.af-home-2026 *::before,
	.af-home-2026 *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
