/**
 * Native Gutenberg pages installed by the plugin.
 * Every selector is scoped to the generated page root.
 */

.mth-native-page {
	--mth-native-ink: #102019;
	--mth-native-muted: #52645b;
	--mth-native-paper: #f4f8f6;
	--mth-native-paper-strong: #e8f1ed;
	--mth-native-night: #07100c;
	--mth-native-night-soft: #0d1813;
	--mth-native-light: #eff9f4;
	--mth-native-light-muted: #b8cbc0;
	--mth-native-yellow: #d8ed00;
	--mth-native-green: #64d839;
	--mth-native-cyan: #00c8d3;
	--mth-native-border: rgba(16, 32, 25, 0.17);
	--mth-native-dark-border: rgba(210, 255, 226, 0.2);
	--mth-native-gutter: clamp(1rem, 3.5%, 3rem);
	box-sizing: border-box;
	width: min(1280px, calc(100% - 2rem));
	max-width: 1280px;
	margin: 0 auto;
	padding: 1px var(--mth-native-gutter) 4rem;
	color: var(--mth-native-ink);
	background: var(--mth-native-paper);
	font-family: inherit;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.mth-native-page,
.mth-native-page * {
	box-sizing: border-box;
}

.mth-native-page > .mth-native-section {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-block: 4.5rem;
}

.mth-native-page > .mth-native-section + .mth-native-section {
	border-top: 1px solid var(--mth-native-border);
}

.mth-native-page .mth-native-section--tint {
	margin-inline: calc(0px - var(--mth-native-gutter));
	padding-inline: var(--mth-native-gutter);
	background: var(--mth-native-paper-strong);
}

.mth-native-page .mth-native-intro {
	max-width: 900px;
	padding-top: 4rem;
}

.mth-native-page .mth-native-intro::before,
.mth-native-page .mth-native-closing::before {
	display: block;
	width: 7rem;
	height: 4px;
	margin-bottom: 2rem;
	background: linear-gradient(90deg, var(--mth-native-yellow), var(--mth-native-green), var(--mth-native-cyan));
	content: "";
}

.mth-native-page :where(.mth-native-eyebrow, .mth-native-card__eyebrow, .mth-native-compact-card__eyebrow) {
	margin: 0 0 0.65rem;
	color: #365246;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.35;
	text-transform: uppercase;
}

.mth-native-page .mth-native-intro__title {
	max-width: 16ch;
	margin: 0;
	color: var(--mth-native-ink);
	font-size: 3.75rem;
	font-weight: 760;
	letter-spacing: 0;
	line-height: 1.02;
}

.mth-native-page .mth-native-intro__subtitle {
	max-width: 40rem;
	margin: 1rem 0 0;
	color: var(--mth-native-muted);
	font-size: 1.25rem;
	font-weight: 700;
}

.mth-native-page .mth-native-lead,
.mth-native-page .mth-native-section__lead {
	max-width: 72ch;
	margin: 1.25rem 0 0;
	color: var(--mth-native-muted);
	font-size: 1.08rem;
	line-height: 1.72;
}

.mth-native-page .mth-native-section__header {
	max-width: 820px;
	margin: 0 0 2rem;
}

.mth-native-page .mth-native-section__title {
	max-width: 22ch;
	margin: 0;
	color: var(--mth-native-ink);
	font-size: 2.6rem;
	font-weight: 750;
	letter-spacing: 0;
	line-height: 1.12;
}

.mth-native-page .mth-native-quote {
	max-width: 760px;
	margin: 1.5rem 0 0;
	padding: 0.25rem 0 0.25rem 1.15rem;
	border: 0;
	border-left: 4px solid var(--mth-native-green);
	color: var(--mth-native-ink);
	background: transparent;
}

.mth-native-page .mth-native-quote p {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.55;
}

.mth-native-page .mth-native-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
}

.mth-native-page .mth-native-card-grid > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.mth-native-page .mth-native-card {
	display: grid;
	grid-template-rows: auto 1fr;
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--mth-native-dark-border);
	border-radius: 6px;
	color: var(--mth-native-light);
	background: var(--mth-native-night);
	box-shadow: 0 18px 42px rgba(8, 24, 16, 0.13);
}

.mth-native-page :where(.mth-native-card__media, .mth-native-feature__media) {
	width: 100%;
	max-width: none;
	margin: 0;
	overflow: hidden;
	background: #122019;
}

.mth-native-page .mth-native-card__media {
	aspect-ratio: 16 / 10;
}

.mth-native-page :where(.mth-native-card__media, .mth-native-feature__media) img,
.mth-native-page :where(.mth-native-card__media, .mth-native-feature__media) video {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.mth-native-page .mth-native-card__content {
	margin: 0;
	padding: 1.4rem;
}

.mth-native-page .mth-native-card__eyebrow,
.mth-native-page .mth-native-compact-card__eyebrow {
	color: #e6ef9a;
}

.mth-native-page .mth-native-card__title,
.mth-native-page .mth-native-compact-card__title {
	margin: 0;
	color: var(--mth-native-light);
	font-size: 1.65rem;
	font-weight: 750;
	letter-spacing: 0;
	line-height: 1.18;
}

.mth-native-page .mth-native-card__subtitle {
	margin: 0.45rem 0 0;
	color: var(--mth-native-light);
	font-size: 0.98rem;
	font-weight: 720;
}

.mth-native-page .mth-native-card__text {
	margin: 0.8rem 0 0;
	color: var(--mth-native-light-muted);
	font-size: 0.98rem;
	line-height: 1.58;
}

.mth-native-page .mth-native-source {
	margin: 1.25rem 0 0;
	color: var(--mth-native-muted);
	font-size: 0.78rem;
}

.mth-native-page .mth-native-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
	gap: 0;
	align-items: stretch;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--mth-native-border);
	border-radius: 6px;
	background: #ffffff;
}

.mth-native-page .mth-native-feature > .wp-block-column {
	min-width: 0;
	margin: 0;
}

.mth-native-page .mth-native-feature__media {
	height: 100%;
	min-height: 32rem;
	aspect-ratio: auto;
}

.mth-native-page .mth-native-feature__content {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 2.4rem;
	flex-direction: column;
	justify-content: center;
}

.mth-native-page .mth-native-feature__content .mth-native-section__title {
	font-size: 2.25rem;
}

.mth-native-page .mth-native-compact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	margin: 2rem 0 0;
}

.mth-native-page .mth-native-compact-card {
	margin: 0;
	padding: 1.35rem;
	border: 1px solid var(--mth-native-dark-border);
	border-top: 3px solid var(--mth-native-cyan);
	border-radius: 4px;
	color: var(--mth-native-light);
	background: var(--mth-native-night-soft);
}

.mth-native-page .mth-native-compact-card__title {
	font-size: 1.28rem;
}

.mth-native-page .mth-native-compact-card__focus {
	margin: 0.7rem 0 0;
	padding-bottom: 0.8rem;
	border-bottom: 1px solid var(--mth-native-dark-border);
	color: var(--mth-native-light-muted);
	font-size: 0.88rem;
	font-weight: 650;
	line-height: 1.5;
}

.mth-native-page .mth-native-compact-card__text {
	margin: 0.8rem 0 0;
	color: var(--mth-native-light);
	font-size: 0.92rem;
	line-height: 1.55;
}

.mth-native-page :where(.mth-native-question-list, .mth-native-process-list, .mth-native-format-list) {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
}

.mth-native-page :where(.mth-native-question-list, .mth-native-process-list) li {
	position: relative;
	margin: 0;
	padding: 0.7rem 0 0.7rem 1.35rem;
	border-bottom: 1px solid var(--mth-native-border);
	color: var(--mth-native-muted);
}

.mth-native-page :where(.mth-native-question-list, .mth-native-process-list) li::before {
	position: absolute;
	top: 1.35rem;
	left: 0;
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--mth-native-green);
	content: "";
}

.mth-native-page .mth-native-process-list {
	counter-reset: mth-native-step;
}

.mth-native-page .mth-native-process-list li {
	counter-increment: mth-native-step;
	padding-left: 2.6rem;
}

.mth-native-page .mth-native-process-list li::before {
	top: 0.72rem;
	display: grid;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 3px;
	place-items: center;
	color: var(--mth-native-ink);
	font-size: 0.75rem;
	font-weight: 800;
	background: linear-gradient(135deg, var(--mth-native-yellow), var(--mth-native-cyan));
	content: counter(mth-native-step, decimal-leading-zero);
}

.mth-native-page .mth-native-format-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.7rem;
}

.mth-native-page .mth-native-format-list li {
	margin: 0;
	padding: 0.8rem 1rem;
	border: 1px solid var(--mth-native-border);
	border-left: 3px solid var(--mth-native-cyan);
	border-radius: 3px;
	color: var(--mth-native-ink);
	background: rgba(255, 255, 255, 0.62);
}

.mth-native-page .mth-native-buttons {
	margin: 2rem 0 0;
}

.mth-native-page .mth-native-button .wp-block-button__link {
	min-height: 46px;
	padding: 0.8rem 1.15rem;
	border: 1px solid #207d65;
	border-radius: 4px;
	color: #07110d;
	font-weight: 750;
	text-decoration: none;
	background: linear-gradient(110deg, var(--mth-native-yellow), var(--mth-native-green), var(--mth-native-cyan));
}

.mth-native-page .mth-native-button .wp-block-button__link:hover {
	color: #07110d;
	filter: brightness(0.96);
}

.mth-native-page :where(a, button):focus-visible {
	outline: 3px solid var(--mth-native-cyan);
	outline-offset: 3px;
}

@media (max-width: 980px) {
	.mth-native-page .mth-native-intro__title {
		font-size: 3rem;
	}

	.mth-native-page .mth-native-section__title {
		font-size: 2.2rem;
	}

	.mth-native-page .mth-native-card-grid,
	.mth-native-page .mth-native-compact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mth-native-page .mth-native-feature {
		grid-template-columns: minmax(0, 1fr) minmax(18rem, 1fr);
	}

	.mth-native-page .mth-native-feature__media {
		min-height: 29rem;
	}
}

@media (max-width: 700px) {
	.mth-native-page {
		--mth-native-gutter: 1rem;
		width: 100%;
		max-width: 100%;
		padding-inline: 1rem;
	}

	.mth-native-page > .mth-native-section {
		padding-block: 3.25rem;
	}

	.mth-native-page .mth-native-section--tint {
		margin-inline: calc(0px - var(--mth-native-gutter));
		padding-inline: var(--mth-native-gutter);
	}

	.mth-native-page .mth-native-intro {
		padding-top: 3rem;
	}

	.mth-native-page .mth-native-intro__title {
		max-width: 100%;
		font-size: 2.25rem;
		line-height: 1.08;
	}

	.mth-native-page .mth-native-section__title,
	.mth-native-page .mth-native-feature__content .mth-native-section__title {
		max-width: 100%;
		font-size: 1.8rem;
	}

	.mth-native-page :where(.mth-native-lead, .mth-native-section__lead) {
		font-size: 1rem;
		line-height: 1.65;
	}

	.mth-native-page .mth-native-card-grid,
	.mth-native-page .mth-native-compact-grid,
	.mth-native-page .mth-native-feature,
	.mth-native-page .mth-native-format-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.mth-native-page .mth-native-card-grid,
	.mth-native-page .mth-native-compact-grid {
		gap: 0.85rem;
	}

	.mth-native-page .mth-native-card__media {
		aspect-ratio: 16 / 9;
	}

	.mth-native-page .mth-native-card__content,
	.mth-native-page .mth-native-feature__content {
		padding: 1.25rem;
	}

	.mth-native-page .mth-native-feature__media {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.mth-native-page .mth-native-feature--reverse > .wp-block-column:last-child {
		grid-row: 1;
	}

	.mth-native-page .mth-native-quote {
		padding-left: 0.9rem;
	}

	.mth-native-page .mth-native-quote p {
		font-size: 0.98rem;
	}
}

@media (max-width: 390px) {
	.mth-native-page {
		--mth-native-gutter: 0.8rem;
		padding-inline: var(--mth-native-gutter);
	}

	.mth-native-page .mth-native-section--tint {
		margin-inline: calc(0px - var(--mth-native-gutter));
		padding-inline: var(--mth-native-gutter);
	}

	.mth-native-page .mth-native-card__content,
	.mth-native-page .mth-native-feature__content,
	.mth-native-page .mth-native-compact-card {
		padding: 1rem;
	}

	.mth-native-page .mth-native-card__title {
		font-size: 1.45rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mth-native-page *,
	.mth-native-page *::before,
	.mth-native-page *::after {
		scroll-behavior: auto;
		transition-duration: 0.01ms;
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
	}
}
