/**
 * Marketing copy around the builder on the page template.
 *
 * Deliberately plain and theme-friendly: system type, a readable measure and
 * no color that fights a host theme. Only the accent picks up the plugin's
 * own variables.
 */

.vtm3d-page-template,
.mg3d-page-template {
	--page-ink: #171c1f;
	--page-muted: #4a5158;
	--page-line: #dfe3ea;
	--page-accent: var(--vtm3d-primary, var(--mg3d-primary, #00327d));
	--page-accent-soft: var(--vtm3d-accent, var(--mg3d-accent, #006a6a));
}

.vtm3d-page-template-inner,
.mg3d-page-template-inner {
	margin: 0 auto;
	max-width: 1440px;
	padding: 0 16px 48px;
}

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */

.vtm3d-page-head,
.mg3d-page-head {
	margin: 0 auto;
	max-width: 820px;
	padding: 36px 0 22px;
	text-align: center;
}

.vtm3d-page-eyebrow,
.mg3d-page-eyebrow {
	color: var(--page-accent-soft);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.15em;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.vtm3d-page-title,
.mg3d-page-title {
	color: var(--page-ink);
	font-size: clamp(28px, 4.2vw, 44px);
	font-weight: 800;
	line-height: 1.14;
	margin: 0 0 16px;
}

.vtm3d-page-lead,
.mg3d-page-lead {
	color: var(--page-muted);
	font-size: clamp(15px, 1.6vw, 18px);
	line-height: 1.62;
	margin: 0 auto 20px;
	max-width: 720px;
}

.vtm3d-page-badges,
.mg3d-page-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.vtm3d-page-badges li,
.mg3d-page-badges li {
	background: #f2f5f9;
	border: 1px solid var(--page-line);
	border-radius: 999px;
	color: var(--page-muted);
	font-size: 12px;
	font-weight: 600;
	padding: 6px 13px;
}

/* ------------------------------------------------------------------ */
/* Copy sections                                                       */
/* ------------------------------------------------------------------ */

.vtm3d-page-copy,
.mg3d-page-copy {
	margin: 0 auto;
	max-width: 900px;
	padding-top: 40px;
}

.vtm3d-page-section,
.mg3d-page-section {
	border-top: 1px solid var(--page-line);
	padding: 32px 0 8px;
}

.vtm3d-page-section:first-child,
.mg3d-page-section:first-child {
	border-top: none;
}

.vtm3d-page-section h2,
.mg3d-page-section h2 {
	color: var(--page-ink);
	font-size: clamp(21px, 2.4vw, 27px);
	font-weight: 750;
	line-height: 1.25;
	margin: 0 0 14px;
}

.vtm3d-page-section h3,
.mg3d-page-section h3 {
	color: var(--page-ink);
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 6px;
}

.vtm3d-page-section p,
.mg3d-page-section p {
	color: var(--page-muted);
	font-size: 15.5px;
	line-height: 1.68;
	margin: 0 0 14px;
}

.vtm3d-page-note,
.mg3d-page-note {
	background: #f7f9fc;
	border-left: 3px solid var(--page-accent-soft);
	border-radius: 0 6px 6px 0;
	font-size: 14px !important;
	padding: 12px 15px;
}

/* Feature cards */

.vtm3d-page-grid,
.mg3d-page-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
	margin: 18px 0 8px;
}

.vtm3d-page-card,
.mg3d-page-card {
	background: #fbfcfe;
	border: 1px solid var(--page-line);
	border-radius: 9px;
	padding: 17px 18px 6px;
}

.vtm3d-page-card p,
.mg3d-page-card p {
	font-size: 14.5px;
	line-height: 1.62;
}

/* Process list */

.vtm3d-page-processes,
.mg3d-page-processes {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	margin: 18px 0 8px;
}

.vtm3d-page-process,
.mg3d-page-process {
	border-left: 2px solid var(--page-line);
	padding-left: 14px;
}

.vtm3d-page-process dt,
.mg3d-page-process dt {
	color: var(--page-ink);
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 4px;
}

.vtm3d-page-process dd,
.mg3d-page-process dd {
	color: var(--page-muted);
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
}

/* Numbered steps */

.vtm3d-page-steps,
.mg3d-page-steps {
	counter-reset: vtm3d-step;
	list-style: none;
	margin: 20px 0 8px;
	padding: 0;
}

.vtm3d-page-steps > li,
.mg3d-page-steps > li {
	border-bottom: 1px solid var(--page-line);
	counter-increment: vtm3d-step;
	padding: 0 0 16px 46px;
	position: relative;
	margin-bottom: 16px;
}

.vtm3d-page-steps > li:last-child,
.mg3d-page-steps > li:last-child {
	border-bottom: none;
}

.vtm3d-page-steps > li::before,
.mg3d-page-steps > li::before {
	align-items: center;
	background: var(--page-accent);
	border-radius: 50%;
	color: #ffffff;
	content: counter(vtm3d-step);
	display: flex;
	font-size: 13px;
	font-weight: 800;
	height: 28px;
	justify-content: center;
	left: 0;
	position: absolute;
	top: 0;
	width: 28px;
}

/* Audience list */

.vtm3d-page-list,
.mg3d-page-list {
	list-style: none;
	margin: 8px 0;
	padding: 0;
}

.vtm3d-page-list li,
.mg3d-page-list li {
	border-bottom: 1px solid var(--page-line);
	color: var(--page-muted);
	font-size: 15px;
	line-height: 1.62;
	padding: 12px 0 12px 22px;
	position: relative;
}

.vtm3d-page-list li:last-child,
.mg3d-page-list li:last-child {
	border-bottom: none;
}

.vtm3d-page-list li::before,
.mg3d-page-list li::before {
	color: var(--page-accent-soft);
	content: "▸";
	font-size: 13px;
	left: 2px;
	position: absolute;
	top: 12px;
}

.vtm3d-page-list strong,
.mg3d-page-list strong {
	color: var(--page-ink);
}

/* Closing CTA */

.vtm3d-page-cta,
.mg3d-page-cta {
	text-align: center;
}

.vtm3d-page-links,
.mg3d-page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 18px !important;
}

.vtm3d-page-btn,
.mg3d-page-btn {
	background: var(--page-accent);
	border: 1px solid var(--page-accent);
	border-radius: 7px;
	color: #ffffff;
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	padding: 11px 22px;
	text-decoration: none;
	transition: background 0.16s ease, color 0.16s ease;
}

.vtm3d-page-btn:hover,
.mg3d-page-btn:hover {
	background: #002a68;
	border-color: #002a68;
	color: #ffffff;
}

.vtm3d-page-btn.is-ghost,
.mg3d-page-btn.is-ghost {
	background: transparent;
	color: var(--page-accent);
}

.vtm3d-page-btn.is-ghost:hover,
.mg3d-page-btn.is-ghost:hover {
	background: #f2f5f9;
	color: var(--page-accent);
}

@media (max-width: 720px) {
	.vtm3d-page-head,
	.mg3d-page-head {
		padding: 24px 0 18px;
		text-align: left;
	}

	.vtm3d-page-badges,
	.mg3d-page-badges {
		justify-content: flex-start;
	}

	.vtm3d-page-lead,
	.mg3d-page-lead {
		margin-left: 0;
	}

	.vtm3d-page-cta,
	.mg3d-page-cta {
		text-align: left;
	}

	.vtm3d-page-links,
	.mg3d-page-links {
		justify-content: flex-start;
	}
}
