.desktop-nav .nav-current {
	color: var(--ink);
	position: relative;
}

.desktop-nav .nav-current::after {
	background: var(--brand-blue);
	bottom: -0.55rem;
	content: "";
	height: 2px;
	left: 0;
	position: absolute;
	right: 0;
}

/*
 * This prototype stylesheet is also the source for the WordPress page CSS.
 * Keep the composed hub sections outside the global entry reading measure.
 */
.entry-content > .templates-hero,
.entry-content > .orientation-strip,
.entry-content > .template-feature,
.entry-content > .template-platforms,
.entry-content > .template-choice,
.entry-content > .template-guides,
.entry-content > .templates-cta {
	max-width: none;
}

.templates-hero {
	background:
		radial-gradient(circle at 10% 8%, rgba(7, 152, 215, 0.13), transparent 30rem),
		linear-gradient(132deg, var(--white) 0%, var(--white) 58%, #edf5f9 100%);
	border-bottom: 1px solid var(--line);
	overflow: hidden;
	padding-block: clamp(4.8rem, 8vw, 8.4rem);
	position: relative;
}

.templates-hero::after {
	border: 1px solid rgba(4, 107, 172, 0.1);
	border-radius: 50%;
	content: "";
	height: 36rem;
	position: absolute;
	right: -21rem;
	top: -19rem;
	width: 36rem;
}

.templates-hero__grid {
	align-items: center;
	display: grid;
	gap: clamp(3rem, 6vw, 6.5rem);
	grid-template-columns: minmax(0, 0.9fr) minmax(30rem, 1.1fr);
	max-width: 84rem;
	position: relative;
	z-index: 1;
}

.templates-hero__content h1 {
	font-size: clamp(3.2rem, 5.6vw, 5.45rem);
	letter-spacing: -0.045em;
	max-width: 11ch;
}

.templates-hero__lede {
	color: var(--slate);
	font-size: clamp(1.06rem, 1.35vw, 1.22rem);
	line-height: 1.75;
	max-width: 39rem;
}

.templates-hero__actions,
.template-product__actions,
.templates-cta__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.4rem;
}

.templates-hero__actions {
	margin-top: 2rem;
}

.templates-text-link {
	color: var(--brand-blue-dark);
	font-size: 0.88rem;
	font-weight: 760;
	text-decoration: none;
}

.templates-text-link:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 0.22rem;
}

.templates-hero__signals {
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.4rem;
	list-style: none;
	margin: 2rem 0 0;
	padding: 1.25rem 0 0;
}

.templates-hero__signals li {
	color: var(--slate);
	font-size: 0.78rem;
	font-weight: 720;
}

.templates-hero__signals li::before {
	background: var(--brand-blue-bright);
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 0.4rem;
	margin-right: 0.5rem;
	vertical-align: 0.08rem;
	width: 0.4rem;
}

.template-preview-card {
	background: var(--ink);
	border: 1px solid rgba(118, 206, 242, 0.22);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	margin: 0;
	overflow: hidden;
	padding: 0.8rem;
	transform: rotate(1.1deg);
}

.template-preview-card__bar {
	align-items: center;
	color: var(--white);
	display: flex;
	justify-content: space-between;
	padding: 0.25rem 0.35rem 0.9rem;
}

.template-preview-card__bar span {
	color: #76cef2;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.template-preview-card__bar strong {
	font-size: 0.78rem;
	letter-spacing: 0.03em;
}

.template-preview-card__screen {
	background: #dfe7ec;
	border-radius: calc(var(--radius-lg) - 0.45rem);
	overflow: hidden;
}

.template-preview-card__screen img,
.template-product__visual img {
	display: block;
	height: auto;
	width: 100%;
}

.template-preview-card figcaption {
	align-items: end;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	padding: 0.95rem 0.35rem 0.25rem;
}

.template-preview-card figcaption span {
	color: var(--white);
	font-size: 0.78rem;
	font-weight: 760;
}

.template-preview-card figcaption small {
	color: #9fb6c6;
	font-size: 0.64rem;
	text-align: right;
}

.template-feature {
	background:
		linear-gradient(145deg, rgba(233, 245, 251, 0.65), transparent 46%),
		var(--paper);
}

.template-feature__heading {
	margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.template-product {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(27rem, 0.92fr);
	overflow: hidden;
}

.template-product + .template-product {
	margin-top: clamp(2rem, 5vw, 4rem);
}

.template-product__visual {
	align-content: center;
	background:
		linear-gradient(145deg, rgba(7, 152, 215, 0.12), transparent 58%),
		#eaf1f5;
	display: grid;
	padding: clamp(1.4rem, 3vw, 2.8rem);
}

.template-product__visual img {
	border: 1px solid #c6d3dc;
	border-radius: var(--radius-md);
	box-shadow: 0 1.2rem 2.8rem rgba(1, 28, 64, 0.14);
}

.template-product__visual p {
	color: var(--slate);
	font-size: 0.68rem;
	margin: 0.9rem 0 0;
	text-align: center;
}

.template-product__content {
	padding: clamp(2rem, 4vw, 3.8rem);
}

.template-product__availability {
	align-items: center;
	color: var(--brand-blue-dark);
	display: flex;
	font-size: 0.69rem;
	font-weight: 820;
	gap: 0.45rem;
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
	text-transform: uppercase;
}

.template-product__availability span {
	background: var(--brand-blue-bright);
	border-radius: 50%;
	height: 0.52rem;
	width: 0.52rem;
}

.template-product h3 {
	font-size: clamp(2rem, 3.6vw, 3.35rem);
	margin-bottom: 1rem;
}

.template-product__summary {
	color: var(--slate);
	line-height: 1.7;
}

.template-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 2rem 0;
}

.template-facts div {
	border-top: 1px solid var(--line);
	padding: 0.85rem 0.5rem 0.85rem 0;
}

.template-facts dt {
	color: var(--slate);
	font-size: 0.65rem;
	font-weight: 760;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.template-facts dd {
	color: var(--ink);
	font-size: 0.84rem;
	font-weight: 720;
	margin: 0.25rem 0 0;
}

.template-product__limits {
	background: #f4f8fa;
	border-left: 3px solid var(--brand-blue);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	padding: 1rem 1.1rem;
}

.template-product__limits strong {
	color: var(--ink);
	font-size: 0.8rem;
}

.template-product__limits ul {
	color: var(--slate);
	font-size: 0.75rem;
	line-height: 1.55;
	margin: 0.6rem 0 0;
	padding-left: 1.05rem;
}

.template-product__actions {
	margin-top: 1.6rem;
}

.template-product__note {
	color: var(--slate);
	font-size: 0.68rem;
	margin: 0.85rem 0 0;
}

.template-platforms {
	background: var(--white);
}

.platform-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: clamp(2.8rem, 5vw, 4.5rem);
}

.platform-card {
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	display: flex;
	flex-direction: column;
	padding: clamp(1.8rem, 4vw, 3rem);
}

.platform-card--available {
	background:
		linear-gradient(145deg, rgba(7, 152, 215, 0.1), transparent 58%),
		#f8fcfe;
	border-top: 4px solid var(--brand-blue);
	padding-top: calc(clamp(1.8rem, 4vw, 3rem) - 3px);
}

.platform-card--service {
	background:
		linear-gradient(145deg, rgba(118, 206, 242, 0.1), transparent 55%),
		var(--ink);
	border-color: #23435e;
}

.platform-card__topline {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.platform-card__topline > span {
	align-items: center;
	background: var(--brand-blue);
	border-radius: 0.6rem;
	color: var(--white);
	display: flex;
	font-size: 0.7rem;
	font-weight: 820;
	height: 2.25rem;
	justify-content: center;
	letter-spacing: 0.06em;
	width: 2.25rem;
}

.platform-card__topline p {
	color: var(--brand-blue-dark);
	font-size: 0.65rem;
	font-weight: 820;
	letter-spacing: 0.09em;
	margin: 0;
	text-transform: uppercase;
}

.platform-card h3 {
	font-size: clamp(2rem, 3.3vw, 3rem);
	margin: 2.3rem 0 0.85rem;
}

.platform-card > p {
	color: var(--slate);
	line-height: 1.7;
	max-width: 35rem;
}

.platform-card ul {
	color: var(--slate);
	display: grid;
	font-size: 0.8rem;
	gap: 0.55rem;
	margin: 1.4rem 0 2rem;
	padding-left: 1.1rem;
}

.platform-card > a,
.platform-card__links a {
	color: var(--brand-blue-dark);
	font-size: 0.78rem;
	font-weight: 760;
	margin-top: auto;
	text-decoration: none;
}

.platform-card > a:hover,
.platform-card__links a:hover {
	text-decoration: underline;
	text-underline-offset: 0.2rem;
}

.platform-card--service h3,
.platform-card--service .platform-card__topline p {
	color: var(--white);
}

.platform-card--service .platform-card__topline > span {
	background: #76cef2;
	color: var(--ink);
}

.platform-card--service > p,
.platform-card--service ul {
	color: #b8ccda;
}

.platform-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.2rem;
	margin-top: auto;
}

.platform-card__links a {
	color: #76cef2;
	margin: 0;
}

.template-choice__grid {
	align-items: start;
	display: grid;
	gap: clamp(2.5rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 0.8fr) minmax(32rem, 1.2fr);
}

.template-choice__intro h2 {
	font-size: clamp(2.5rem, 4.4vw, 4.2rem);
	max-width: 13ch;
}

.template-choice__intro > p:last-child {
	color: var(--slate);
	line-height: 1.75;
}

.choice-panels {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-panels article {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	padding: clamp(1.5rem, 3vw, 2.2rem);
}

.choice-panels article:last-child {
	border-top: 4px solid var(--brand-blue);
	padding-top: calc(clamp(1.5rem, 3vw, 2.2rem) - 3px);
}

.choice-panels__label {
	color: var(--brand-blue-dark);
	font-size: 0.69rem;
	font-weight: 820;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.choice-panels ul {
	color: var(--slate);
	display: grid;
	font-size: 0.82rem;
	gap: 0.75rem;
	line-height: 1.55;
	margin: 1.4rem 0 0;
	padding-left: 1.05rem;
}

.template-guides {
	background: var(--white);
}

.templates-cta {
	background:
		radial-gradient(circle at 90% 10%, rgba(118, 206, 242, 0.14), transparent 25rem),
		linear-gradient(115deg, var(--brand-blue-dark), var(--ink));
	color: var(--white);
	padding-block: clamp(4.5rem, 7vw, 7rem);
}

.templates-cta__grid {
	align-items: end;
	display: grid;
	gap: clamp(2rem, 7vw, 7rem);
	grid-template-columns: minmax(0, 1.05fr) minmax(24rem, 0.95fr);
}

.templates-cta .eyebrow {
	color: #76cef2;
}

.templates-cta h2 {
	color: var(--white);
	font-size: clamp(2.6rem, 4.7vw, 4.6rem);
	margin: 0;
	max-width: 13ch;
}

.templates-cta__grid > div:last-child > p {
	color: #c1d3e0;
	line-height: 1.75;
}

.templates-cta__actions {
	margin-top: 1.5rem;
}

.templates-cta__outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	color: var(--white);
}

.templates-cta__outline:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--white);
	color: var(--white);
}

@media (max-width: 72rem) {
	.templates-hero__grid,
	.template-product,
	.template-choice__grid,
	.templates-cta__grid {
		grid-template-columns: 1fr;
	}

	.templates-hero__content h1,
	.template-choice__intro h2,
	.templates-cta h2 {
		max-width: 15ch;
	}

	.template-preview-card {
		transform: none;
	}

	.template-product__visual {
		min-height: 28rem;
	}
}

@media (max-width: 54rem) {
	.platform-grid,
	.choice-panels {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 48rem) {
	.templates-hero {
		padding-block: 3.5rem;
	}

	.templates-hero__content h1 {
		font-size: clamp(2.7rem, 13vw, 4rem);
	}

	.template-preview-card figcaption,
	.templates-hero__actions,
	.template-product__actions,
	.templates-cta__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.template-preview-card figcaption small {
		text-align: left;
	}

	.template-product__visual {
		min-height: 0;
	}

	.template-facts {
		grid-template-columns: 1fr;
	}

	.templates-hero__actions .button,
	.template-product__actions .button,
	.templates-cta__actions .button {
		text-align: center;
		width: 100%;
	}
}
