/* ===========================================================================
 * front-page.css - the landing page sections.
 *
 * Loaded on the front page and on the landing pages that embed its sections
 * (see inc/enqueue.php), so none of this weight is carried by an article or
 * a legal page.
 *
 * Same rules as theme.css: values come from tokens.css, one class per rule.
 * ======================================================================== */

/* ---------------------------------------------------------------------------
 * 1. Hero
 * ------------------------------------------------------------------------ */

.hero {
	padding-block: clamp(3rem, 2rem + 4.5vw, 6.5rem) var(--section-y);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
	align-items: center;
}

/* --t-3xl is the full-bleed ceiling; the hero headline lives in a column
 * under half the page width, so it takes the step below. At --t-3xl in a
 * 30rem column this ran to five lines and pushed the guide off-screen. */
.hero__title {
	font-family: var(--font-display);
	font-size: var(--t-2xl);
	font-weight: var(--weight-display);
	line-height: var(--lh-display);
	letter-spacing: var(--track-display);
	font-variation-settings: "wdth" var(--wdth-display);
	text-wrap: balance;
	max-width: 14ch;
}

.hero__body {
	margin-top: var(--space-5);
	max-width: 46ch;
	color: var(--text-secondary);
	font-size: var(--t-md);
	line-height: var(--lh-tight);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin-top: var(--space-6);
}

.hero__note {
	margin-top: var(--space-4);
	color: var(--text-secondary);
	font-size: var(--t-xs);
}

.hero__screen {
	min-width: 0;
}

@media (min-width: 62em) {
	.hero__inner {
		grid-template-columns: minmax(0, 30rem) minmax(0, 1fr);
		align-items: center;
	}
}

/* ---------------------------------------------------------------------------
 * 2. The programme guide
 *
 * The one place on the page carrying elevation. Everything else separates
 * with a hairline rule.
 *
 * Geometry comes from two custom properties set in the markup:
 *   --guide-hours  how many hour columns the window spans
 *   --guide-now    0-1, where the playhead sits in that window
 * ------------------------------------------------------------------------ */

.guide {
	--label-w: 7.5rem;
	--row-h: 3.5rem;

	background-color: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-screen);
	overflow: hidden;
}

.guide__chrome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-3) var(--space-4);
	border-bottom: 1px solid var(--border);
	background-color: var(--bg-secondary);
}

.guide__heading {
	font-size: var(--t-xs);
	font-weight: var(--weight-strong);
	color: var(--text-secondary);
}

.guide__clock {
	font-size: var(--t-xs);
	font-weight: var(--weight-strong);
	font-variant-numeric: tabular-nums;
	color: var(--primary-text);
}

.guide__scroller {
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scrollbar-width: thin;
}

.guide__scroller:focus-visible {
	outline-offset: -3px;
}

.guide__track {
	position: relative;
	min-width: 42rem;
	padding: var(--space-3) var(--space-4) var(--space-4);
}

.guide__ruler {
	display: grid;
	grid-template-columns: repeat(var(--guide-hours), minmax(0, 1fr));
	list-style: none;
	margin-left: var(--label-w);
	padding-bottom: var(--space-2);
	border-bottom: 1px solid var(--border);
}

.guide__tick {
	font-size: var(--t-xs);
	font-variant-numeric: tabular-nums;
	color: var(--text-secondary);
}

/* The playhead. Its position is real: guide.js resets --guide-now from the
 * visitor's clock every half minute. It does not sweep or animate. */
.guide__playhead {
	position: absolute;
	top: var(--space-3);
	bottom: var(--space-4);
	left: calc(var(--space-4) + var(--label-w) + (100% - var(--space-4) - var(--space-4) - var(--label-w)) * var(--guide-now));
	width: 1px;
	background-color: var(--live);
	pointer-events: none;
}

.guide__playhead::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 5px;
	height: 5px;
	border-radius: var(--radius-pill);
	background-color: var(--live);
	transform: translate(-50%, -50%);
}

.guide__channels {
	list-style: none;
	display: grid;
	gap: 1px;
	margin-top: var(--space-2);
}

.guide__channel {
	display: grid;
	grid-template-columns: var(--label-w) minmax(0, 1fr);
	align-items: center;
	min-height: var(--row-h);
}

.guide__channel-name {
	display: flex;
	align-items: center;
	gap: var(--space-2);
	padding-right: var(--space-3);
	font-size: var(--t-xs);
	font-weight: var(--weight-strong);
	color: var(--text-primary);
}

.guide__slots {
	display: grid;
	grid-template-columns: repeat(var(--guide-hours), minmax(0, 1fr));
	gap: 2px;
	list-style: none;
}

.guide__slot {
	grid-column: var(--from) / span var(--span);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.1em;
	min-width: 0;
	padding: var(--space-2) var(--space-3);
	background-color: var(--bg-secondary);
	border-radius: var(--radius-sm);
	min-height: calc(var(--row-h) - var(--space-2));
}

.guide__slot-time {
	font-size: 0.6875rem;
	font-variant-numeric: tabular-nums;
	color: var(--text-secondary);
}

.guide__slot-title {
	font-size: var(--t-xs);
	font-weight: var(--weight-medium);
	color: var(--text-primary);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.guide__slot.is-live {
	background-color: var(--surface);
	box-shadow: inset 0 0 0 1px var(--primary-text);
}

.guide__slot-live {
	display: flex;
	align-items: center;
	gap: 0.35em;
	font-size: 0.625rem;
	font-weight: var(--weight-strong);
	letter-spacing: 0.06em;
	color: var(--live);
}

/* The single piece of motion on this page that nobody asked for.
 * It earns its place: it is what "live" means. */
.guide__slot-live .dot {
	animation: iptvsmarters-pulse 2.4s var(--ease-in-out) infinite;
}

@keyframes iptvsmarters-pulse {
	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.45;
		transform: scale(0.82);
	}
}

@media (prefers-reduced-motion: reduce) {
	.guide__slot-live .dot {
		animation: none;
	}
}

/* ---------------------------------------------------------------------------
 * 3. Platforms - a hairline lattice, not a row of cards
 * ------------------------------------------------------------------------ */

.platforms {
	list-style: none;
	display: grid;
	gap: 1px;
	background-color: var(--border);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.platforms__item {
	background-color: var(--bg-primary);
	padding: var(--space-5);
}

.platforms__name {
	font-family: var(--font-display);
	font-size: var(--t-base);
	font-weight: var(--weight-strong);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
}

.platforms__note {
	margin-top: var(--space-2);
	color: var(--text-secondary);
	font-size: var(--t-sm);
	line-height: var(--lh-tight);
}

@media (min-width: 40em) {
	.platforms {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.platforms {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------------------------------------------------------------------------
 * 4. Capabilities - rules, no boxes
 * ------------------------------------------------------------------------ */

.capabilities {
	list-style: none;
	display: grid;
	gap: var(--space-6) var(--space-7);
}

.capabilities__item {
	padding-top: var(--space-4);
	border-top: 2px solid var(--text-primary);
}

.capabilities__title {
	font-family: var(--font-display);
	font-size: var(--t-md);
	font-weight: var(--weight-strong);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
}

.capabilities__body {
	margin-top: var(--space-3);
	color: var(--text-secondary);
	font-size: var(--t-sm);
	line-height: var(--lh-body);
	max-width: 40ch;
}

@media (min-width: 48em) {
	.capabilities {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 75em) {
	.capabilities {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ---------------------------------------------------------------------------
 * 5. Setup steps
 * ------------------------------------------------------------------------ */

.steps {
	list-style: none;
	display: grid;
	gap: var(--space-6);
	counter-reset: step;
}

.steps__item {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-rows: auto auto;
	column-gap: var(--space-4);
	align-items: baseline;
}

.steps__number {
	grid-row: 1 / span 2;
	font-family: var(--font-display);
	font-size: var(--t-xl);
	font-weight: var(--weight-display);
	line-height: 1;
	letter-spacing: -0.05em;
	font-variation-settings: "wdth" 125;
	font-variant-numeric: tabular-nums;
	color: var(--primary-text);
}

.steps__title {
	font-family: var(--font-display);
	font-size: var(--t-md);
	font-weight: var(--weight-strong);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
}

.steps__body {
	margin-top: var(--space-2);
	color: var(--text-secondary);
	font-size: var(--t-sm);
	max-width: 38ch;
}

@media (min-width: 56em) {
	.steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--space-7);
	}
}

/* ---------------------------------------------------------------------------
 * 6. Plans
 *
 * The featured plan carries .is-inverse in the markup, which reassigns the
 * semantic tokens. That is the whole difference - there is no
 * .plans__item.is-featured .button rule anywhere.
 * ------------------------------------------------------------------------ */

.plans {
	list-style: none;
	display: grid;
	gap: var(--space-5);
	align-items: start;
}

.plans__item {
	display: flex;
	flex-direction: column;
	gap: var(--space-4);
	padding: var(--space-6);
	background-color: var(--bg-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	height: 100%;
}

.plans__item.is-featured {
	background-color: var(--surface);
	border-color: var(--primary);
	box-shadow: var(--shadow-card);
}

.plans__name {
	font-family: var(--font-display);
	font-size: var(--t-base);
	font-weight: var(--weight-strong);
	letter-spacing: 0.01em;
	font-variation-settings: "wdth" var(--wdth-display);
}

.plans__price {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: var(--space-2);
}

.plans__amount {
	font-family: var(--font-display);
	font-size: var(--t-xl);
	font-weight: var(--weight-display);
	line-height: 1;
	letter-spacing: var(--track-display);
	font-variation-settings: "wdth" var(--wdth-display);
	font-variant-numeric: tabular-nums;
}

.plans__amount--tbd {
	font-size: var(--t-lg);
	color: var(--text-secondary);
}

.plans__period {
	color: var(--text-secondary);
	font-size: var(--t-sm);
}

.plans__summary {
	color: var(--text-secondary);
	font-size: var(--t-sm);
	line-height: var(--lh-tight);
}

.plans__features {
	list-style: none;
	display: grid;
	gap: var(--space-2);
	padding-top: var(--space-4);
	border-top: 1px solid var(--border);
	font-size: var(--t-sm);
}

.plans__feature {
	display: flex;
	align-items: baseline;
	gap: var(--space-3);
}

.plans__feature::before {
	content: "";
	flex: none;
	width: 0.4rem;
	height: 0.4rem;
	border-radius: var(--radius-pill);
	background-color: var(--primary-text);
	transform: translateY(-0.1em);
}

.plans__action {
	margin-top: auto;
	padding-top: var(--space-4);
}

@media (min-width: 40em) {
	.plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 68em) {
	.plans {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------------------------------------------------------------------------
 * 7. FAQ - native disclosure, no JavaScript
 * ------------------------------------------------------------------------ */

.faq {
	max-width: 68ch;
	border-top: 1px solid var(--border);
}

.faq__item {
	border-bottom: 1px solid var(--border);
}

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-5) 0;
	cursor: pointer;
	list-style: none;
	font-family: var(--font-display);
	font-size: var(--t-md);
	font-weight: var(--weight-strong);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
}

.faq__question::-webkit-details-marker {
	display: none;
}

.faq__question:hover {
	color: var(--primary-text);
}

.faq__marker {
	position: relative;
	flex: none;
	width: 0.85rem;
	height: 0.85rem;
}

.faq__marker::before,
.faq__marker::after {
	content: "";
	position: absolute;
	inset: 50% 0 auto 0;
	height: 1.5px;
	background-color: currentColor;
	transition: transform var(--dur) var(--ease-out);
}

.faq__marker::after {
	transform: rotate(90deg);
}

.faq__item[open] .faq__marker::after {
	transform: rotate(0deg);
}

.faq__answer {
	padding-bottom: var(--space-5);
	color: var(--text-secondary);
	font-size: var(--t-sm);
	line-height: var(--lh-body);
	max-width: 60ch;
}

/* ---------------------------------------------------------------------------
 * 8. Closing call to action
 * ------------------------------------------------------------------------ */

.cta {
	max-width: 44ch;
}

.cta__title {
	font-family: var(--font-display);
	font-size: var(--t-2xl);
	font-weight: var(--weight-display);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
	text-wrap: balance;
}

.cta__body {
	margin-top: var(--space-4);
	color: var(--text-secondary);
	font-size: var(--t-md);
	line-height: var(--lh-tight);
}

.cta__action {
	margin-top: var(--space-6);
}

/* ---------------------------------------------------------------------------
 * 9. Editor content dropped into the front page
 * ------------------------------------------------------------------------ */

.section--prose .prose {
	margin-inline: auto;
}

/* ---------------------------------------------------------------------------
 * 10. Category tiles
 *
 * The app's content grid, translated. This is the one place the extra
 * broadcast hues appear as fields rather than as text.
 *
 * Rule 1 holds: the hue never carries text. It is a veil under the surface
 * and a rule along the top edge; every label on a tile is --text-primary on
 * --surface, which measures 14.2:1 whatever the hue is.
 * ------------------------------------------------------------------------ */

.tiles {
	list-style: none;
	display: grid;
	gap: var(--space-4);
}

/* Explicit counts rather than auto-fill: six tiles in an auto-fill track
 * resolved to five columns and left one orphan on its own row. */
@media (min-width: 40em) {
	.tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.tile {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-5);
	min-height: 9.5rem;
	background-color: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-card);
}

/* The veil. Opacity rather than color-mix, so the hue token stays a plain
 * colour and the tint is one number to tune. */
.tile::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(160deg, var(--hue, var(--hue-slate)), transparent 62%);
	opacity: 0.18;
	pointer-events: none;
}

/* The hue's only hard edge. */
.tile::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 2px;
	background-color: var(--hue, var(--hue-slate));
	pointer-events: none;
}

.tile__icon {
	color: var(--text-primary);
	opacity: 0.85;
}

.tile__name {
	font-family: var(--font-display);
	font-size: var(--t-md);
	font-weight: var(--weight-strong);
	line-height: var(--lh-title);
	letter-spacing: var(--track-title);
	font-variation-settings: "wdth" var(--wdth-display);
	color: var(--text-primary);
}

.tile__note {
	margin-top: auto;
	color: var(--text-secondary);
	font-size: var(--t-sm);
	line-height: var(--lh-tight);
}

/* ---------------------------------------------------------------------------
 * 11. Stats strip
 * ------------------------------------------------------------------------ */

.stats {
	list-style: none;
	display: grid;
	gap: var(--space-5) var(--space-6);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	padding-block: var(--space-6);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.stat__value {
	display: block;
	font-family: var(--font-display);
	font-size: var(--t-xl);
	font-weight: var(--weight-display);
	line-height: 1;
	letter-spacing: var(--track-display);
	font-variation-settings: "wdth" var(--wdth-numeral);
	font-variant-numeric: tabular-nums;
	color: var(--text-primary);
}

.stat__label {
	display: block;
	margin-top: var(--space-2);
	color: var(--text-secondary);
	font-size: var(--t-sm);
	line-height: var(--lh-tight);
}

/* ---------------------------------------------------------------------------
 * 12. Platform lattice - now carrying icons
 * ------------------------------------------------------------------------ */

.platforms__head {
	display: flex;
	align-items: center;
	gap: var(--space-3);
}

.platforms__icon {
	color: var(--primary-text);
}

/* ---------------------------------------------------------------------------
 * 13. Bandwidth table
 *
 * A real <table>, because this is real tabular data and a screen reader
 * should be able to navigate it by row and column.
 * ------------------------------------------------------------------------ */

.bandwidth {
	width: 100%;
	max-width: 34rem;
	border-collapse: collapse;
	font-size: var(--t-sm);
}

.bandwidth caption {
	text-align: left;
	color: var(--text-secondary);
	font-size: var(--t-sm);
	padding-bottom: var(--space-4);
}

.bandwidth th,
.bandwidth td {
	text-align: left;
	padding: var(--space-3) var(--space-4) var(--space-3) 0;
	border-bottom: 1px solid var(--border);
}

.bandwidth th {
	font-weight: var(--weight-strong);
	color: var(--text-primary);
}

.bandwidth td {
	color: var(--text-secondary);
	font-variant-numeric: tabular-nums;
}

.bandwidth tbody th {
	font-size: var(--t-sm);
}

/* ---------------------------------------------------------------------------
 * 14. Guides hub
 * ------------------------------------------------------------------------ */

.guides {
	display: grid;
	gap: var(--space-6);
}

.guides__list {
	list-style: none;
	display: grid;
	gap: 1px;
	background-color: var(--border);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	overflow: hidden;
}

.guides__item {
	background-color: var(--bg-primary);
}

.guides__link {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--space-4);
	padding: var(--space-4) var(--space-5);
	color: var(--text-primary);
	text-decoration: none;
}

.guides__link:hover {
	background-color: var(--surface);
	color: var(--primary-text);
}

.guides__title {
	font-size: var(--t-sm);
	font-weight: var(--weight-medium);
}

.guides__date {
	flex: none;
	color: var(--text-secondary);
	font-size: var(--t-xs);
	font-variant-numeric: tabular-nums;
}

.guides__categories {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.guides__category {
	display: inline-flex;
	align-items: center;
	padding: 0.45em 0.9em;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	font-size: var(--t-xs);
	font-weight: var(--weight-strong);
	text-decoration: none;
}

.guides__category:hover {
	border-color: var(--primary);
	color: var(--primary-text);
}

/* ---------------------------------------------------------------------------
 * 15. Section adjustments
 * ------------------------------------------------------------------------ */

/* The trust strip is a rule between two sections, not a section of its own. */
.section--stats {
	padding-block: 0;
}

/* Two sections carry the wash; neither may also carry a top border, or the
 * lighting reads as a box. */
.section--cta {
	padding-block: var(--section-y);
}

.steps__title {
	display: flex;
	align-items: center;
	gap: var(--space-2);
}

.steps__icon {
	color: var(--primary-text);
}

.plans__was {
	margin-top: calc(var(--space-2) * -1);
	color: var(--text-secondary);
	font-size: var(--t-sm);
	font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
 * 16. Reduced motion
 *
 * The washes are static images, so nothing here animates. This only guards
 * the tile hover, which is a state change rather than decoration.
 * ------------------------------------------------------------------------ */

@media (hover: hover) {
	.tile {
		transition: border-color var(--dur-fast) var(--ease-out);
	}

	.tile:hover {
		border-color: var(--border-strong);
	}
}

/* Reviews ------------------------------------------------------------------
   A scroll-snap rail, not a timed slideshow. Nothing advances on its own:
   text that moves while it is being read is a defect, not an effect. The rail
   scrolls natively, so touch, trackpad and keyboard work before any script
   does; the arrows are revealed by JS and only when the cards overflow.      */

.reviews {
	position: relative;
}

.reviews__rail {
	list-style: none;
	display: flex;
	gap: var(--space-4);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: var(--space-3);
}

.reviews__rail:focus-visible {
	outline: var(--focus);
	outline-offset: 4px;
}

.reviews__item {
	flex: 0 0 min(100%, 22rem);
	scroll-snap-align: start;
}

.review {
	height: 100%;
	display: flex;
	flex-direction: column;
	gap: var(--space-3);
	padding: var(--space-5);
	background-color: var(--bg-primary);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
}

.review__rating {
	display: flex;
	gap: 2px;
	color: var(--accent-warm);
}

.review__star svg {
	width: 1rem;
	height: 1rem;
}

.review__quote {
	margin: 0;
}

.review__quote p {
	margin: 0;
	line-height: var(--lh-body);
}

/* Pushed to the bottom so the attribution lines up across cards of unequal
   quote length - a ragged baseline reads as carelessness. */
.review__by {
	margin-top: auto;
}

.review__author {
	font-family: var(--font-display);
	font-size: var(--t-sm);
	font-weight: var(--weight-strong);
}

.review__meta {
	margin-top: var(--space-1);
	color: var(--text-secondary);
	font-size: var(--t-xs);
}

.reviews__controls {
	display: flex;
	gap: var(--space-2);
	justify-content: flex-end;
	margin-top: var(--space-3);
}

.reviews__controls[hidden] {
	display: none;
}

.reviews__arrow {
	inline-size: 2.5rem;
	block-size: 2.5rem;
	display: grid;
	place-items: center;
	padding: 0;
	background-color: var(--bg-primary);
	color: inherit;
	border: 1px solid var(--border);
	border-radius: var(--radius-pill);
	cursor: pointer;
	transition: border-color var(--dur) var(--ease-out);
}

.reviews__arrow:hover:not(:disabled) {
	border-color: var(--border-strong);
}

.reviews__arrow:disabled {
	opacity: 0.4;
	cursor: default;
}

.reviews__arrow:focus-visible {
	outline: var(--focus);
	outline-offset: 2px;
}

.reviews__arrow svg {
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.faq__more {
	margin-top: var(--space-4);
}

.faq__more-link {
	font-family: var(--font-display);
	font-size: var(--t-sm);
	font-weight: var(--weight-strong);
}

/* ---------------------------------------------------------------------------
 * 17. Landing pages
 *
 * Abonnement and FAQ: editable prose around home-page sections, laid out by
 * template-parts/content/entry-landing.php. One container for the whole page
 * - the wide shell, the masthead's - so every left edge lines up; the FAQ
 * section's narrower shell is widened here rather than in its template, which
 * the home page shares.
 * ------------------------------------------------------------------------ */

.is-landing .site-main .shell {
	max-width: var(--w-wide);
}

.landing-head {
	padding-block: clamp(3rem, 2rem + 4.5vw, 6rem) var(--space-7);
}

.landing-head__title {
	font-family: var(--font-display);
	font-size: var(--t-3xl);
	font-weight: var(--weight-display);
	line-height: var(--lh-display);
	letter-spacing: var(--track-display);
	font-variation-settings: "wdth" var(--wdth-display);
	text-wrap: balance;
}

.landing-head__intro {
	margin-top: var(--space-6);
	max-width: 62ch;
	color: var(--text-secondary);
	font-size: var(--t-md);
	line-height: var(--lh-tight);
}

.landing-head__intro a {
	color: var(--link);
}

/* The section right under the head continues it; a full section gap there
 * reads as the end of the page. */
.landing-head + .section {
	padding-top: var(--space-7);
}

.landing-notes {
	background-color: var(--bg-secondary);
	border-top: 1px solid var(--border);
}

.landing-notes__grid {
	display: grid;
	gap: var(--space-8) clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

/* Rules, no boxes - the capabilities treatment. */
.landing-note {
	max-width: none;
	padding-top: var(--space-5);
	border-top: 1px solid var(--border-strong);
}

.landing-note > :first-child {
	margin-top: 0;
}

.landing-note h2 {
	font-size: var(--t-lg);
}

.landing-note a {
	color: var(--link);
}

@media (min-width: 62em) {
	.landing-notes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* A lone note keeps a reading measure instead of stretching. */
	.landing-note:only-child {
		max-width: var(--w-prose);
	}
}
