/*
 * NexAli World: homepage sections (front-page.php, template-parts/home/).
 *
 * Split, Rich text, Hero, Plans teaser, Steps, Who, Cards (the panel of the homepage
 * cards), Reviews, Wins, Certificate, Founding, Two paths, Courses, Resources, Founder,
 * Benefits, Pricing.
 * "What" is a Split with Rich text; "Comparison" and "Two paths" use the Comparison
 * component (components.css); the "Why now" and benefit cards sit in .nx-grid-3 and the
 * resource cards in .nx-grid-4 (base.css). The pricing cards are the Plans component, the
 * FAQ the Accordion and the final call to action the Call to action band (components.css).
 *
 * Each block starts with the markup it expects. Tokens come from base.css.
 */

/* Split ------------------------------------------------------------------------------------
 * <div class="nx-container nx-split">
 *   <header class="nx-section-header">…</header>   (or any first column)
 *   <div class="nx-split__body">…</div>
 * </div>
 * Two equal columns from 960px, stacked below. The gap spaces the columns, so a section
 * header inside loses its bottom margin.
 */
.nx-split {
	display: grid;
	align-items: start;
	gap: clamp(var(--nx-space-4), 1rem + 4vw, 6rem);
}

@media (min-width: 960px) {
	.nx-split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.nx-split .nx-section-header {
	margin-bottom: 0;
}

.nx-split__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--nx-space-4);
}

/* Rich text --------------------------------------------------------------------------------
 * <div class="nx-richtext"><p>…</p><p>…</p></div>   (wpautop() paragraphs, basic HTML)
 * Lead-size running text at the reading measure, the first paragraph in ivory.
 */
.nx-richtext {
	max-width: var(--nx-measure);
	font-size: var(--nx-text-lead);
}

.nx-richtext > * + * {
	margin-top: 1em;
}

.nx-richtext > :first-child,
.nx-richtext strong {
	color: var(--nx-ivory);
}

/* Hero -------------------------------------------------------------------------------------
 * <section id="hero" class="nx-section nx-hero" data-nx-section="hero">
 *   <div class="nx-container nx-hero__inner">
 *     <span class="nx-eyebrow">…</span><h1 class="nx-hero__title">…</h1>
 *     <p class="nx-lead nx-hero__lead">…</p>
 *     <div class="nx-hero__actions">[primary button][secondary button]</div>
 *     <p class="nx-hero__trust">…</p>
 *     <ul class="nx-hero__pills"><li class="nx-pill">[icon]…</li>…</ul>
 *     <div class="nx-hero__media"><div class="nx-video" [data-nx-video="…"]><img …></div></div>
 *   </div>
 * </section>
 * At least as tall as the first screen (the viewport under the header and the WordPress
 * toolbar): an indigo glow on the page colour and a fine grid fading out from the top centre.
 * The text, buttons and pills fit the first screen; the 16:9 media frame follows below them.
 */
.nx-hero {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: calc(100vh - 4.5rem - var(--wp-admin--admin-bar--height, 0px));
	min-height: calc(100svh - 4.5rem - var(--wp-admin--admin-bar--height, 0px));
	padding: clamp(2.5rem, 1.5rem + 4vw, 6rem) 0 clamp(4rem, 3rem + 5vw, 8rem);
	overflow: hidden;
	background: radial-gradient(70% 55% at 50% 0%, rgba(76, 95, 215, .35), transparent 70%) var(--nx-bg);
}

/* The grid: 64px squares of hairlines. */
.nx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(rgba(247, 244, 236, .05) 1px, transparent 1px) 50% 0 / 64px 64px,
		linear-gradient(90deg, rgba(247, 244, 236, .05) 1px, transparent 1px) 50% 0 / 64px 64px;
	-webkit-mask-image: radial-gradient(75% 65% at 50% 0%, #000 35%, transparent);
	mask-image: radial-gradient(75% 65% at 50% 0%, #000 35%, transparent);
	pointer-events: none;
}

.nx-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(1rem, .5rem + 1.5vw, 1.5rem);
	text-align: center;
}

/* Gold hairlines either side of the eyebrow. */
.nx-hero .nx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .75rem;
}

.nx-hero .nx-eyebrow::before,
.nx-hero .nx-eyebrow::after {
	content: "";
	width: 2rem;
	height: 1px;
	background: linear-gradient(90deg, rgba(198, 168, 91, 0), var(--nx-gold));
}

.nx-hero .nx-eyebrow::after {
	scale: -1 1;
}

.nx-hero__title {
	max-width: 12em;
}

.nx-hero__lead {
	max-width: 40rem;
}

.nx-hero__actions,
.nx-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .75rem;
	width: 100%;
	margin-top: .5rem;
}

.nx-hero__trust {
	font-size: var(--nx-text-small);
	letter-spacing: .02em;
}

.nx-hero__pills,
.nx-certificate__pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .5rem .75rem;
}

.nx-hero__media {
	position: relative;
	width: min(100%, 62rem);
	margin-top: clamp(1.5rem, 1rem + 3vw, 3.5rem);
}

/* An indigo glow under the frame (the hero clips it). */
.nx-hero__media::before {
	content: "";
	position: absolute;
	inset: -12% -8% -20%;
	z-index: -1;
	background: radial-gradient(closest-side, rgba(76, 95, 215, .4), transparent);
	pointer-events: none;
}

.nx-hero__media .nx-video {
	border-color: rgba(198, 168, 91, .3);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}

/* Plans teaser -----------------------------------------------------------------------------
 * <ul class="nx-plan-chips">
 *   <li class="nx-plan-chips__item [nx-plan-chips__item--highlighted]">
 *     <a class="nx-plan-chip" href="…/pricing/"><span class="nx-plan-chip__name">…</span>
 *       <span class="nx-plan-chip__price">$29 <span class="nx-plan-chip__period">/ month</span></span></a>
 *   </li>…
 * </ul>
 * <div class="nx-plans-teaser__action">[secondary button]</div>
 * A chip per plan, centred in a row that wraps, the highlighted plan's with a gold border;
 * under 560px one chip per row, the name left and the price right.
 */
.nx-plan-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--nx-space-2);
}

.nx-plan-chip {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--nx-space-3);
	padding: 1rem 1.75rem;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius-pill);
	background: rgba(22, 59, 115, .45);
	color: var(--nx-ivory);
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s ease, translate .2s var(--nx-ease);
}

.nx-plan-chip:hover {
	border-color: var(--nx-gold);
	color: var(--nx-ivory);
	translate: 0 -2px;
}

.nx-plan-chip__price {
	color: var(--nx-gold-2);
	font-family: var(--nx-font-display);
	font-size: 1.375rem;
	white-space: nowrap;
}

.nx-plan-chip__period {
	color: var(--nx-ivory-70);
	font-family: var(--nx-font-body);
	font-size: var(--nx-text-small);
	font-weight: 400;
}

.nx-plan-chips__item--highlighted .nx-plan-chip {
	border-color: var(--nx-gold);
	background: rgba(22, 59, 115, .8);
	box-shadow: 0 0 0 4px rgba(198, 168, 91, .12), 0 16px 32px -16px rgba(198, 168, 91, .4);
}

@media (max-width: 559.98px) {
	.nx-plan-chips__item {
		flex-basis: 100%;
	}
}

/* The buttons (and the note) under a list: centred, one under the other. */
.nx-plans-teaser__action,
.nx-reviews__more,
.nx-courses__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--nx-space-3);
	margin-top: var(--nx-space-6);
	text-align: center;
}

/* Steps ------------------------------------------------------------------------------------
 * <ol class="nx-steps">
 *   <li class="nx-reveal" style="--nx-reveal-delay: 120ms"><article class="nx-step">
 *     <div class="nx-step__media"><img …></div><span class="nx-step__badge">Step 1</span>
 *     <h3 class="nx-step__title">…</h3><p class="nx-step__text">…</p>
 *   </article></li>…
 * </ol>
 * Three equal cards in a row from 760px, stacked below: the 16:9 image across the top of
 * the card, then the gold badge, the title and the text.
 */
.nx-steps {
	display: grid;
	gap: clamp(var(--nx-space-2), .5rem + 1.5vw, var(--nx-space-4));
}

@media (min-width: 760px) {
	.nx-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.nx-steps > li {
	display: flex;
}

.nx-step {
	--nx-step-pad: clamp(var(--nx-space-3), 1rem + 1vw, var(--nx-space-4));
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: .75rem;
	padding: var(--nx-step-pad);
	overflow: hidden;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	background: linear-gradient(180deg, rgba(22, 59, 115, .55), rgba(22, 59, 115, .25));
	box-shadow: var(--nx-shadow);
}

.nx-step__media {
	align-self: stretch;
	aspect-ratio: 16 / 9;
	margin: calc(-1 * var(--nx-step-pad)) calc(-1 * var(--nx-step-pad)) .75rem;
	border-bottom: 1px solid var(--nx-line);
	background: var(--nx-bg-2);
}

.nx-step__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.nx-step__badge,
.nx-win__result {
	padding: .25rem .75rem;
	border: 1px solid rgba(198, 168, 91, .45);
	border-radius: var(--nx-radius-pill);
	background: rgba(198, 168, 91, .1);
	color: var(--nx-gold-2);
	font-size: var(--nx-text-eyebrow);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* Who --------------------------------------------------------------------------------------
 * <div class="nx-who__visual" aria-hidden="true"><ul class="nx-icon-grid">
 *   <li class="nx-reveal" style="--nx-reveal-delay: 90ms"><span class="nx-icon-grid__tile">
 *     <svg class="nx-icon">…</svg></span></li>…
 * </ul></div>
 * Beside the text from 960px: a 3 x 3 grid of square navy tiles with gold icons over an
 * indigo glow, the centre tile gold. The markup staggers the reveal diagonal by diagonal.
 */
.nx-who {
	overflow: hidden;
}

.nx-who .nx-split,
.nx-founding .nx-split {
	align-items: center;
}

.nx-who__visual {
	position: relative;
	justify-self: center;
	width: min(100%, 26rem);
}

.nx-who__visual::before {
	content: "";
	position: absolute;
	inset: -15%;
	background: radial-gradient(closest-side, rgba(76, 95, 215, .35), transparent);
}

.nx-icon-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(.75rem, .5rem + 1vw, 1.25rem);
}

.nx-icon-grid__tile {
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	background: linear-gradient(145deg, var(--nx-navy), var(--nx-bg-2));
	box-shadow: var(--nx-shadow);
	color: var(--nx-gold-2);
}

.nx-icon-grid__tile .nx-icon {
	width: 38%;
	height: 38%;
	stroke-width: 1.5;
}

.nx-icon-grid > :nth-child(5) .nx-icon-grid__tile {
	border-color: transparent;
	background: linear-gradient(135deg, var(--nx-gold), var(--nx-gold-2));
	color: var(--nx-charcoal);
}

/* Cards ------------------------------------------------------------------------------------
 * <article class="nx-review | nx-resource | nx-benefit">…</article>
 * <article class="nx-win | nx-why | nx-course-card | nx-post-card">[16:9 media]<div class="…__body">…</div></article>
 * The navy panel of .nx-card for the homepage cards (template-parts/cards/, why-now,
 * benefits) and the post cards (pages.css, Articles): reviews, resources and benefits are
 * padded panels; wins, why-now, course and post cards have their media edge to edge on top
 * (a .nx-video frame, a .nx-tile or an image) and a padded body.
 */
.nx-review,
.nx-resource,
.nx-benefit,
.nx-win,
.nx-why,
.nx-course-card,
.nx-post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius);
	background: linear-gradient(180deg, rgba(22, 59, 115, .55), rgba(22, 59, 115, .25));
	box-shadow: var(--nx-shadow);
}

.nx-review,
.nx-resource,
.nx-benefit,
.nx-win__body,
.nx-why__body,
.nx-course-card__body,
.nx-post-card__body {
	flex: 1;
	align-items: flex-start;
	gap: .75rem;
	padding: clamp(var(--nx-space-3), 1rem + 1vw, var(--nx-space-4));
}

.nx-win__body,
.nx-why__body,
.nx-course-card__body,
.nx-post-card__body {
	display: flex;
	flex-direction: column;
}

.nx-win > :first-child,
.nx-why__media,
.nx-course-card > :first-child,
.nx-post-card > :first-child {
	aspect-ratio: 16 / 9;
	border: 0;
	border-bottom: 1px solid var(--nx-line);
	border-radius: 0;
	background-color: var(--nx-bg-2); /* the colour only: a tile keeps its gradient */
	box-shadow: none;
}

.nx-why__media img,
.nx-course-card__media img,
.nx-post-card__media img,
.nx-certificate__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

:is(.nx-review, .nx-resource, .nx-benefit, .nx-win, .nx-why, .nx-course-card) h3,
.nx-post-card__title {
	font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
}

/* Reviews ----------------------------------------------------------------------------------
 * <p class="nx-reviews__summary">4.7 out of 5 from 7 reviews</p>
 * <div class="nx-reviews" data-nx-loadmore-list>
 *   <article class="nx-review" data-nx-item [hidden]><span class="nx-stars" …>…</span>
 *     <h3 class="nx-review__title">…</h3><div class="nx-review__text"><p>…</p></div>
 *     <footer class="nx-review__meta"><span class="nx-review__name">…</span>
 *       <span class="nx-review__from"><span class="nx-review__flag">…</span> <span class="nx-review__country">…</span></span>
 *       <time class="nx-review__date" datetime="…">…</time></footer>
 *   </article>…
 * </div>
 * <div class="nx-reviews__more"><button class="nx-btn nx-btn--secondary" data-nx-loadmore>Load more</button></div>
 * Cards one under another on phones, two a row from 640px, three from 960px (the course
 * cards too); the name, country and date along the bottom of each card.
 */
.nx-reviews__summary {
	margin: calc(-1 * var(--nx-space-3)) 0 var(--nx-space-6);
	color: var(--nx-ivory);
	font-weight: 600;
	text-align: center;
}

.nx-reviews__summary::before {
	content: "\2605  ";
	content: "\2605  " / ""; /* decoration: not read out */
	color: var(--nx-gold);
}

.nx-reviews,
.nx-courses,
.nx-posts {
	display: grid;
	gap: clamp(var(--nx-space-2), .5rem + 1.5vw, var(--nx-space-4));
}

@media (min-width: 640px) {
	.nx-reviews,
	.nx-courses,
	.nx-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.nx-reviews,
	.nx-courses,
	.nx-posts {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.nx-review__text {
	flex: 1;
}

.nx-review__text > * + * {
	margin-top: .75em;
}

.nx-review__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem .75rem;
	align-self: stretch;
	padding-top: .75rem;
	border-top: 1px solid var(--nx-line);
	font-size: var(--nx-text-small);
}

.nx-review__name {
	color: var(--nx-ivory);
	font-weight: 600;
}

.nx-review__date {
	margin-left: auto;
}

/* Wins -------------------------------------------------------------------------------------
 * <section … class="nx-section nx-section--alt nx-wins"> … the Carousel component of
 *   <article class="nx-win"><div class="nx-video" [data-nx-video="…"]><img …></div>   (or a .nx-tile)
 *     <div class="nx-win__body"><span class="nx-win__result">…</span><h3 class="nx-win__title">…</h3>
 *       <p class="nx-win__caption">…</p><p class="nx-win__member">…</p></div>
 *   </article>…
 * Two cards fill the track from 720px and three from 1024px, none cut off; more scroll.
 * The result label is styled as the step badge.
 */
@media (min-width: 720px) {
	.nx-wins {
		--nx-carousel-card: calc((100% - var(--nx-space-3)) / 2);
	}
}

@media (min-width: 1024px) {
	.nx-wins {
		--nx-carousel-card: calc((100% - 2 * var(--nx-space-3)) / 3);
	}
}

.nx-win__member {
	color: var(--nx-ivory);
	font-size: var(--nx-text-small);
	font-weight: 600;
}

/* Certificate ------------------------------------------------------------------------------
 * <figure class="nx-certificate"><div class="nx-certificate__media"><img …></div>
 *   <figcaption class="nx-certificate__band"><h2 class="nx-certificate__title">…</h2>
 *     <p class="nx-certificate__text">…</p><ul class="nx-certificate__pills"><li class="nx-pill nx-pill--check">…</li>…</ul>
 *   </figcaption>
 * </figure>
 * One wide card: the 16:9 image, then a centred band under a gold line.
 */
.nx-certificate {
	max-width: 56rem;
	margin-inline: auto;
	overflow: hidden;
	border: 1px solid rgba(198, 168, 91, .45);
	border-radius: var(--nx-radius);
	background: var(--nx-bg-2);
	box-shadow: var(--nx-shadow);
}

.nx-certificate__media {
	aspect-ratio: 16 / 9;
}

.nx-certificate__band {
	display: grid;
	justify-items: center;
	gap: var(--nx-space-3);
	padding: clamp(var(--nx-space-4), 1rem + 3vw, var(--nx-space-6));
	border-top: 1px solid rgba(198, 168, 91, .45);
	background: linear-gradient(180deg, rgba(22, 59, 115, .6), rgba(22, 59, 115, .2));
	text-align: center;
}

.nx-certificate__text {
	max-width: 40rem;
	font-size: var(--nx-text-lead);
}

/* Founding ---------------------------------------------------------------------------------
 * <section … class="nx-section nx-founding"><div class="nx-container nx-split">
 *   <div class="nx-split__body">[header][.nx-richtext][button]</div>
 *   <div class="nx-founding__media"><img …></div>
 * </div></section>
 * The Split, the image on the right from 960px over an indigo glow. The image box is 4:3
 * (the default artwork's shape) before the lazy image loads, so nothing below it moves.
 */
.nx-founding {
	background: radial-gradient(45% 60% at 80% 50%, rgba(76, 95, 215, .3), transparent 70%);
}

.nx-founding__media img {
	display: block;
	width: 100%;
	border-radius: var(--nx-radius);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
}

/* 4:3 until an image without a height attribute loads, then the image's own shape: an
 * upload is never cropped. An image with width and height keeps the ratio they give. */
.nx-founding__media img:not([height]) {
	aspect-ratio: auto 4 / 3;
}

/* Two paths: the Comparison layout (components.css); the right panel's title is the price. */
.nx-paths__price {
	color: var(--nx-gold-2);
	font-family: var(--nx-font-display);
	font-size: var(--nx-text-h3);
	font-weight: 600;
	line-height: 1.2;
}

/* Courses ----------------------------------------------------------------------------------
 * <ul class="nx-courses"><li><article class="nx-course-card">
 *   <div class="nx-course-card__media"><img …></div>   (or <div class="nx-tile" data-icon="…">)
 *   <div class="nx-course-card__body"><span class="nx-course-card__cat">…</span>
 *     <h3 class="nx-course-card__title">…</h3><p class="nx-course-card__excerpt">…</p>
 *     <a class="nx-course-card__link" href="…">View course<span class="nx-visually-hidden">: …</span></a></div>
 * </article></li>…</ul>
 * <div class="nx-courses__footer"><p class="nx-courses__note">…</p>[button]</div>
 * The grid of Reviews. The link covers the card, which lifts on hover.
 */
.nx-courses > li {
	display: flex;
}

.nx-course-card,
.nx-post-card {
	flex: 1;
	transition: border-color .2s ease, translate .2s var(--nx-ease);
}

/* Hover, or keyboard focus on the link that covers the card. */
.nx-course-card:hover,
.nx-course-card:focus-within,
.nx-post-card:hover,
.nx-post-card:focus-within {
	border-color: rgba(198, 168, 91, .55);
	translate: 0 -2px;
}

.nx-course-card__cat,
.nx-post-card__cat {
	color: var(--nx-gold);
	font-size: var(--nx-text-eyebrow);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.nx-course-card__excerpt,
.nx-post-card__excerpt,
.nx-post-card__meta {
	font-size: var(--nx-text-small);
}

.nx-course-card__link,
.nx-post-card__link {
	margin-top: auto;
	color: var(--nx-gold-2);
	font-weight: 600;
	text-decoration: none;
}

.nx-course-card__link::after,
.nx-post-card__link::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Resources --------------------------------------------------------------------------------
 * <article class="nx-resource" data-type="template"><span class="nx-resource__icon"><svg …></span>
 *   <h3 class="nx-resource__title">…</h3><p class="nx-resource__text">…</p></article>
 * Compact cards in .nx-grid-4, the icon in a gold-tinted square (the benefit cards' too).
 */
.nx-resource__icon,
.nx-benefit__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	border-radius: 12px;
	background: rgba(198, 168, 91, .14);
	color: var(--nx-gold);
}

.nx-resource__icon .nx-icon,
.nx-benefit__icon .nx-icon {
	width: 1.5rem;
	height: 1.5rem;
}

.nx-resource__text {
	font-size: var(--nx-text-small);
}

/* Founder ----------------------------------------------------------------------------------
 * <header class="nx-section-header nx-section-header--center"><span class="nx-eyebrow">…</span></header>
 * <figure class="nx-founder-note">
 *   <blockquote class="nx-founder"><p>…</p></blockquote>
 *   <figcaption class="nx-founder-note__by"><cite>The Founder, NexAli World</cite></figcaption>
 * </figure>
 * A centred quote in Playfair under a large gold quote mark, signed under a gold hairline.
 * No photo: the founder stays faceless.
 */
.nx-section-header:has(+ .nx-founder-note) {
	margin-bottom: var(--nx-space-3);
}

.nx-founder-note {
	max-width: 50rem;
	margin-inline: auto;
	text-align: center;
}

.nx-founder {
	color: var(--nx-ivory);
	font-family: var(--nx-font-display);
	font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
	font-weight: 600;
	line-height: 1.45;
	text-wrap: pretty;
}

.nx-founder::before {
	content: "\201C";
	content: "\201C" / ""; /* decoration: not read out */
	display: block;
	height: .55em;
	color: var(--nx-gold);
	font-size: 3em;
	line-height: 1;
}

.nx-founder > * + * {
	margin-top: 1em;
}

.nx-founder-note__by {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--nx-space-2);
	margin-top: var(--nx-space-4);
	color: var(--nx-gold);
	font-size: var(--nx-text-small);
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.nx-founder-note__by::before {
	content: "";
	width: 3rem;
	height: 1px;
	background: var(--nx-gold);
}

.nx-founder-note__by cite {
	font-style: normal;
}

/* Benefits ---------------------------------------------------------------------------------
 * <article class="nx-benefit"><span class="nx-benefit__icon" data-icon="book-open"><svg …></span>
 *   <h3 class="nx-benefit__title">…</h3><ul class="nx-checklist"><li>…</li>…</ul></article>
 * Padded panels in .nx-grid-3: the icon as on the resource cards, the title, then the
 * Check list (components.css) under a hairline.
 */
.nx-benefit {
	gap: var(--nx-space-2);
}

.nx-benefit .nx-checklist {
	align-self: stretch;
	padding-top: var(--nx-space-3);
	border-top: 1px solid var(--nx-line);
}

/* Pricing ----------------------------------------------------------------------------------
 * <div class="nx-plans">…plan cards…</div><p class="nx-pricing__note">…</p>
 * The Plans component (components.css), then one reassuring line centred under the cards,
 * clear of the highlighted card's 8% scale.
 */
.nx-pricing__note {
	margin-top: clamp(var(--nx-space-4), 1rem + 3vw, var(--nx-space-8));
	color: var(--nx-ivory-70);
	text-align: center;
}
