/*
 * FFL Web Pros — funnel styles (every page).
 *
 * Tokens first: every colour, radius and font size is a custom property on
 * :root, so the site rethemes from there. Layout mirrors the approved mockup
 * (references/Desktop (1280)-html/Main.dc.html): content-box sizing (its
 * 1120px is the content width), intrinsic flex-wrap / auto-fit grids and
 * clamp() type, mobile-first. The mockup's cqi units are vw here (the page is
 * full width). Media queries: the booking page (840px, 1200px, sized around the
 * GHL widget's own layouts) and the How it works row (1025px, desktop).
 * Test at 390px and 1280px.
 */

/* Metric-matched fallbacks: Arial (Windows, macOS, iOS) and Roboto (Android)
   sized to Plus Jakarta Sans, so the font swap doesn't shift the layout. */
@font-face {
	font-family: "PJS Fallback";
	src: local("Arial"), local("ArialMT");
	font-weight: 400 600;
	size-adjust: 104.6%;
	ascent-override: 99.24%;
	descent-override: 21.22%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "PJS Fallback";
	src: local("Arial Bold"), local("Arial-BoldMT");
	font-weight: 700 800;
	size-adjust: 102%;
	ascent-override: 101.76%;
	descent-override: 21.76%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "PJS Fallback Android";
	src: local("Roboto"), local("Roboto-Regular");
	font-weight: 400 600;
	size-adjust: 105.2%;
	ascent-override: 98.67%;
	descent-override: 21.1%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "PJS Fallback Android";
	src: local("Roboto Bold"), local("Roboto-Bold");
	font-weight: 700 800;
	size-adjust: 108%;
	ascent-override: 96.11%;
	descent-override: 20.56%;
	line-gap-override: 0%;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	/* Colours */
	--color-bg: #0B0F17;
	--color-bg-alt: #0E131D;
	--color-surface: #111723;
	--color-surface-raised: #1A2333;
	--color-placeholder: #151C2A;
	--color-border: #1F2937;
	--color-border-strong: #2A3446;
	--color-heading: #F1F5F9;
	--color-text: #CBD5E1;
	--color-secondary: #94A3B8;
	--color-muted: #75859B; /* Brief: #64748B (3.77:1 on cards); lightened to pass 4.5:1 on every surface. */
	--color-accent: #1DD476;
	--color-accent-tint: #0F2A22;
	--color-on-accent: #0B1015;
	--color-danger: #F87171;
	--color-danger-tint: #2A1517;
	--color-star: #FBBF24;
	--color-accent-glow: rgb(29 212 118 / 35%); /* CTA glow (the one shadow in the design) */
	--color-border-hover: rgb(29 212 118 / 40%); /* card border on hover */

	/* Radii */
	--radius-logo: 6px;
	--radius-xs: 10px;
	--radius-sm: 11px;
	--radius-md: 12px; /* buttons, timer boxes */
	--radius-lg: 14px;
	--radius-card: 16px; /* cards */
	--radius-xl: 18px;
	--radius-2xl: 20px;
	--radius-3xl: 24px;
	--radius-pill: 999px; /* tags, badges */
	--radius-round: 50%; /* dots, step numbers, avatar */

	/* Type */
	--font-sans: "Plus Jakarta Sans", "PJS Fallback", "PJS Fallback Android", system-ui, sans-serif;
	--word-spacing: 0.1em; /* added to every space; Plus Jakarta Sans's own word space reads tight (James, 2026-10-18) */
	--word-spacing-heading: 0.15em; /* headings: their negative letter-spacing narrows spaces too, so they need more */
	--fs-2xs: 12px;
	--fs-xs: 13px;
	--fs-sm: 14px;
	--fs-md: 15px;
	--fs-base: 16px;
	--fs-lg: 17px;
	--fs-xl: 18px;
	--fs-2xl: 20px;
	--fs-3xl: 21px;
	--fs-4xl: 22px;
	--fs-timer: 26px;
	--fs-price: 50px;
	--fs-price-lg: 54px;
	--fs-countdown: clamp(20px, 18.25px + 0.45vw, 24px); /* top bar timer: 20px phone, ~22px tablet, 24px desktop */
	--fs-lead: clamp(16px, 4.4vw, 19px);
	--fs-body-lg: clamp(16px, 4.2vw, 18px);
	--fs-stat: clamp(28px, 8vw, 38px);
	--fs-h1: clamp(38px, 10.5vw, 64px);
	--fs-h2: clamp(28px, 7.5vw, 44px);
	--fs-cta: clamp(30px, 8.5vw, 52px);

	/* Layout */
	--container: 1120px;
	--container-narrow: 820px;
	--gutter: clamp(20px, 5vw, 48px);
	--section-y: clamp(56px, 12vw, 104px);
	--section-y-tight: clamp(56px, 12vw, 96px);

	/* Motion (only used inside the prefers-reduced-motion: no-preference block) */
	--motion-fast: 0.2s;
	--motion-reveal: 0.5s;
	--motion-breathe: 2.6s;
	--intro-step: 1s; /* pause between the three headline lines (James: 1s, 2026-10-18) */
	--intro-line: 0.6s; /* how long each intro element takes to appear */
}

/* ==========================================================================
   Base
   ========================================================================== */

html {
	color-scheme: dark;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-heading);
	font-family: var(--font-sans);
	font-size: var(--fs-base);
	line-height: 1.65;
	word-spacing: var(--word-spacing);
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote {
	margin: 0;
}

h1,
h2,
h3,
.step__title,
.feature__title {
	word-spacing: var(--word-spacing-heading);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-accent);
}

:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

/* Small text links: a bigger tap target without changing the layout. */
.tap-target,
.site-footer__legal a {
	position: relative;
}

.tap-target::after,
.site-footer__legal a::after {
	content: "";
	position: absolute;
	inset: -12px -6px;
}

[data-cd] {
	display: inline-block; /* lets the tick animation transform it */
	font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.container--narrow {
	max-width: var(--container-narrow);
}

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

.section--alt {
	background: var(--color-bg-alt);
}

.section__body {
	padding-block: var(--section-y);
}

.section__body--tight {
	padding-block: var(--section-y-tight);
}

/* ==========================================================================
   Shared components
   ========================================================================== */

.eyebrow {
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: var(--color-accent);
}

.section-title,
.page-title {
	margin-top: 10px;
	font-weight: 800;
	font-size: var(--fs-h2);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.lead {
	margin-top: 18px;
	font-size: var(--fs-body-lg);
	color: var(--color-text);
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	text-decoration: none;
}

.btn--primary {
	position: relative;
	min-height: 54px;
	padding: 0 26px;
	border-radius: var(--radius-md);
	background: var(--color-accent);
	color: var(--color-on-accent);
	font-weight: 700;
	font-size: var(--fs-lg);
}

/* The glow sits on a pseudo-element so only its opacity ever animates. */
.btn--primary::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: 0 10px 28px var(--color-accent-glow);
	opacity: 0;
	pointer-events: none;
}

/* Header-sized primary button. */
.btn--sm {
	min-height: 44px;
	padding: 0 16px;
	border-radius: var(--radius-xs);
	font-size: var(--fs-md);
}

/* Hover and press states; their transitions and the idle animations live in
   the motion block at the end of the file. */
.btn--primary:hover,
.btn--primary:focus-visible {
	filter: brightness(1.08);
	transform: translateY(-3px);
}

.btn--primary:hover::after,
.btn--primary:focus-visible::after {
	opacity: 1;
}

.btn--primary:active {
	transform: translateY(0) scale(0.98);
}

.btn:hover .icon {
	transform: translateX(3px);
}

.card:not(.calendar):hover,
.feature:hover,
.step:hover,
.guarantee:hover,
.stat:hover,
.testimonial:hover,
.price-panel:hover {
	border-color: var(--color-border-hover);
	transform: translateY(-2px);
}

.price-card:hover {
	transform: translateY(-2px);
}

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

/* Status-light ping behind the green dots ("For FFL dealers", "2 build slots"). */
.pill .dot,
.slots .dot {
	position: relative;
}

.pill .dot::after,
.slots .dot::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: var(--color-accent);
	opacity: 0;
}

/* Sticky "Book" bar: phones only, slid off-screen until effects.js shows it. */
.sticky-cta {
	display: none;
}

@media (max-width: 767px) {
	.sticky-cta {
		display: block;
		position: fixed;
		inset: auto 0 0;
		z-index: 10;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--color-bg);
		border-top: 1px solid var(--color-border);
		transform: translateY(100%);
	}

	.sticky-cta.is-visible {
		transform: none;
	}

	.sticky-cta .btn {
		display: flex;
	}
}

.card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
}

.card__title {
	font-weight: 700;
	font-size: var(--fs-xl);
	line-height: 1.35;
}

.check-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: var(--fs-md);
	color: var(--color-text);
}

.check-list li {
	display: flex;
	gap: 10px;
}

.check-list .icon {
	flex: none;
	margin-top: 2px;
	color: var(--color-accent);
}

/* ==========================================================================
   Chrome: top bar, header, footer
   ========================================================================== */

.topbar {
	padding: 10px 16px;
	background: var(--color-surface);
	border-bottom: 1px solid var(--color-border);
	color: var(--color-text);
	font-size: var(--fs-sm);
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}

/* The countdown sits on its own line, larger than the label (James, 2026-10-18). */
.topbar__time {
	display: block;
	margin-top: 2px;
	color: var(--color-heading);
	font-weight: 700;
	font-size: var(--fs-countdown);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.site-header {
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 14px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	color: var(--color-heading);
	text-decoration: none;
}

.brand__mark {
	flex: none;
}

.brand__mark rect {
	fill: var(--color-accent);
}

.brand__mark g {
	stroke: var(--color-on-accent);
}

.brand__name {
	font-weight: 800;
	font-size: var(--fs-xl);
	letter-spacing: -0.3px;
}

.site-footer__inner {
	padding-top: 36px;
	padding-bottom: 48px;
}

.site-footer__note {
	margin-bottom: 22px;
	max-width: 900px;
	color: var(--color-text);
	font-size: var(--fs-sm);
}

.site-footer__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.site-footer__brand {
	font-weight: 800;
	font-size: var(--fs-base);
	letter-spacing: -0.3px;
}

.site-footer__legal {
	display: flex;
	gap: 20px;
	font-size: var(--fs-sm);
}

.site-footer__legal a {
	color: var(--color-secondary);
}

.site-footer__fine-print {
	margin-top: 22px;
	max-width: 900px;
	color: var(--color-secondary);
	font-size: var(--fs-xs);
	line-height: 1.65;
}

.site-footer__fine-print strong {
	color: var(--color-text);
	font-weight: 600;
}

.site-footer__company {
	margin-top: 16px;
	color: var(--color-secondary);
	font-size: var(--fs-xs);
}

/* ==========================================================================
   Booking page
   ========================================================================== */

.booking {
	padding-block: clamp(32px, 7vw, 64px) var(--section-y);
}

.booking__intro {
	max-width: 720px;
}

.booking__layout {
	display: grid;
	gap: 24px;
	align-items: start;
	margin-top: 32px;
}

/* The white GHL widget sits flush inside the card; the rounded corners clip it.
   GHL's form_embed.js hides the iframe while it loads, then sets its height, so
   the space is reserved on the card (not the iframe) at the widget's measured
   settled heights: 828–886px single-column, 940px side by side (iframe ≥ 750px). */
.calendar {
	overflow: hidden;
	min-height: 828px;
}

.calendar iframe {
	display: block;
	color-scheme: normal;
}

.calendar br {
	display: none;
}

.trust-strip {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 16px;
	padding: 0;
	color: var(--color-text);
	font-size: var(--fs-sm);
}

.trust-strip li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.trust-strip .icon {
	flex: none;
	color: var(--color-accent);
}

.booking__aside {
	padding: 24px;
}

.booking__aside .check-list {
	margin-top: 14px;
}

@media (min-width: 840px) {
	.calendar {
		min-height: 940px;
	}
}

/* Aside beside the calendar only once the calendar column stays ≥ 750px wide,
   so GHL keeps its side-by-side date/time layout. */
@media (min-width: 1200px) {
	.booking__layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

/* ==========================================================================
   Confirmation page
   ========================================================================== */

.confirmed {
	padding-block: clamp(40px, 9vw, 80px) var(--section-y);
}

.confirmed .page-title {
	margin-top: 0;
}

.confirmed__list {
	margin-top: 24px;
	padding: 24px;
}

/* ==========================================================================
   Legal pages (index.php)
   ========================================================================== */

.prose {
	padding-block: clamp(40px, 9vw, 80px) var(--section-y);
	color: var(--color-text);
}

.prose h1 {
	margin-bottom: 24px;
	color: var(--color-heading);
	font-weight: 800;
	font-size: var(--fs-h2);
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.prose h2 {
	margin-top: 40px;
	color: var(--color-heading);
	font-weight: 700;
	font-size: var(--fs-2xl);
	line-height: 1.35;
}

.prose h3 {
	margin-top: 24px;
	color: var(--color-heading);
	font-weight: 700;
	font-size: var(--fs-lg);
}

.prose p,
.prose ul,
.prose ol {
	margin-top: 14px;
}

.prose ul,
.prose ol {
	padding-left: 1.25em;
}

.prose li + li {
	margin-top: 6px;
}

/* ==========================================================================
   Landing page (template-parts/landing/*), in page order
   ========================================================================== */

.accent {
	color: var(--color-accent);
}

.section-title--720 {
	max-width: 720px;
}

.card-grid {
	display: grid;
	gap: 16px;
	margin-top: 36px;
}

.card-grid--280 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.card-grid--300 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card-grid--320 {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

/* Fixed two-up grid (problem cards): one column on phones, 2 x 2 from 768px. */
.card-grid--2 {
	grid-template-columns: minmax(0, 1fr);
}

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

.lead--narrow {
	max-width: 720px;
}

/* Anchored sections (ad sitelinks) land with a little breathing room. */
section[id] {
	scroll-margin-top: 24px;
}

.card-text {
	color: var(--color-secondary);
	font-size: var(--fs-md);
}

.icon-tile {
	display: flex;
	align-items: center;
	justify-content: center;
}

.icon-tile--danger {
	width: 40px;
	height: 40px;
	border-radius: var(--radius-xs);
	background: var(--color-danger-tint);
	color: var(--color-danger);
}

.icon-tile--accent {
	width: 44px;
	height: 44px;
	border-radius: var(--radius-sm);
	background: var(--color-accent-tint);
	color: var(--color-accent);
}

.icon-tile--lg {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-md);
}

.dot {
	flex: none;
	width: 7px;
	height: 7px;
	border-radius: var(--radius-round);
	background: var(--color-accent);
}

/* Hero */

.hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(32px, 6vw, 64px);
	padding-block: clamp(48px, 11vw, 104px);
}

.hero__copy {
	flex: 1 1 480px;
	min-width: 0;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding: 6px 12px;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-pill);
	color: var(--color-text);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.hero__title {
	font-weight: 800;
	font-size: var(--fs-h1);
	line-height: 1.08;
	letter-spacing: -0.035em;
}

.hero__lead {
	max-width: 560px;
	margin-top: 22px;
	color: var(--color-text);
	font-size: var(--fs-lead);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 30px;
}

.hero__actions .btn {
	flex: 1 1 240px;
	max-width: 340px;
}

.hero__note {
	margin-top: 14px;
	color: var(--color-secondary);
	font-size: var(--fs-sm);
}

.price-panel {
	flex: 1 1 320px;
	min-width: 0;
	max-width: 440px;
	padding: 26px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
}

.price-panel__label {
	color: var(--color-secondary);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.4px;
}

.price-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 12px;
	margin-top: 6px;
}

.price-row__now {
	font-weight: 800;
	font-size: var(--fs-price);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.price-row__was {
	color: var(--color-muted);
	font-size: var(--fs-2xl);
	font-weight: 600;
}

.price-panel__terms {
	margin-top: 6px;
	color: var(--color-secondary);
	font-size: var(--fs-sm);
}

.divider {
	height: 1px;
	margin: 20px 0;
	border: 0;
	background: var(--color-border);
}

.price-panel__deadline {
	margin-bottom: 10px;
	color: var(--color-secondary);
	font-size: var(--fs-xs);
	font-weight: 600;
}

.timer {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.timer__unit {
	padding: 10px 4px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	text-align: center;
}

.timer__value {
	font-weight: 800;
	font-size: var(--fs-timer);
	line-height: 1.15;
}

.timer__label {
	color: var(--color-secondary);
	font-size: var(--fs-2xs);
}

.slots {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	font-size: var(--fs-sm);
}

.slots .dot {
	width: 8px;
	height: 8px;
}

.slots__rest {
	color: var(--color-secondary);
}

/* The problem */

.problem-card {
	padding: 24px;
}

.problem-card h3 {
	margin: 16px 0 6px;
	font-weight: 700;
	font-size: var(--fs-xl);
	line-height: 1.35;
}

/* The fix */

.fix__panel {
	padding: clamp(28px, 7vw, 56px);
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-2xl);
}

.fix__panel .section-title {
	max-width: 780px;
}

.fix__text {
	max-width: 740px;
	margin-top: 18px;
	color: var(--color-text);
	font-size: var(--fs-body-lg);
}

/* What you get */

.stack-card {
	padding: 26px;
}

.stack-card h3 {
	margin: 18px 0 8px;
	font-weight: 700;
	font-size: var(--fs-xl);
	line-height: 1.35;
}

.plus-note {
	margin-top: 20px;
	padding: 16px 20px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	color: var(--color-text);
	font-size: var(--fs-md);
}

.plus-note strong {
	color: var(--color-heading);
	font-weight: 700;
}

/* Built for FFLs */

.feature-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 12px;
	margin-top: 36px;
	padding: 0;
	list-style: none;
}

.feature {
	display: flex;
	gap: 12px;
	padding: 18px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.feature .icon {
	flex: none;
	margin-top: 2px;
	color: var(--color-accent);
}

.feature__title {
	font-weight: 700;
	font-size: var(--fs-md);
}

.feature__text {
	color: var(--color-secondary);
	font-size: var(--fs-sm);
}

/* Every FFL problem, handled: <details> cards. Accordion on phones (summary is
   the tap target, chevron shared with the FAQ); expanded 2-up from 768px and
   3-up from 1024px, where the summary is inert and rows stretch equal. */

.solve-grid {
	display: grid;
	gap: 16px;
	margin-top: 36px;
}

.solve__summary {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	column-gap: 16px;
	align-items: center;
	padding: 20px 22px;
	cursor: pointer;
	list-style: none;
}

.solve__summary .icon-tile {
	grid-row: 1 / span 2;
}

.solve__summary .card__title {
	grid-column: 2;
}

.solve__sub {
	grid-column: 2;
	display: block;
	margin-top: 4px;
	color: var(--color-secondary);
	font-size: var(--fs-sm);
}

.solve__summary::after {
	grid-column: 3;
	grid-row: 1 / span 2;
}

/* effects.js animates this box's height like the FAQ drawer. */
.solve__body {
	overflow: hidden;
}

.solve__body .check-list {
	padding: 0 22px 22px;
}

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

	.solve__summary {
		pointer-events: none;
	}

	.solve__summary::after {
		display: none;
	}

	/* Browsers that support it show the content even if JS never opened the card. */
	.solve::details-content {
		content-visibility: visible;
	}
}

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

/* Renting vs. owning: a table from 768px, stacked blocks under that. */

.compare__card {
	margin-top: 36px;
	overflow: auto;
}

.compare {
	width: 100%;
	border-collapse: collapse;
	color: var(--color-text);
	font-size: var(--fs-md);
}

.compare th,
.compare td {
	padding: 14px 18px;
	border-top: 1px solid var(--color-border);
	text-align: left;
	vertical-align: top;
}

.compare thead th {
	position: sticky;
	top: 0;
	border-top: 0;
	background: var(--color-surface);
	color: var(--color-heading);
	font-weight: 600;
}

.compare tbody th {
	width: 30%;
	color: var(--color-heading);
	font-weight: 500;
}

.compare td {
	width: 35%;
}

.compare .icon {
	color: var(--color-accent);
	vertical-align: -4px;
}

@media (max-width: 767px) {
	.compare thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
	}

	.compare,
	.compare tbody,
	.compare th,
	.compare td {
		display: block;
	}

	.compare tr {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		padding: 14px 16px;
		border-top: 1px solid var(--color-border);
	}

	.compare tbody tr:first-child {
		border-top: 0;
	}

	.compare tbody th {
		grid-column: 1 / -1;
		width: auto;
		padding: 0;
		border: 0;
		font-weight: 600;
	}

	.compare td {
		width: auto;
		padding: 10px 12px;
		border: 1px solid var(--color-border);
		border-radius: var(--radius-xs);
		background: var(--color-bg);
		font-size: var(--fs-sm);
	}

	.compare td::before {
		content: attr(data-label);
		display: block;
		margin-bottom: 4px;
		color: var(--color-secondary);
		font-size: var(--fs-2xs);
		font-weight: 600;
		letter-spacing: 0.4px;
		text-transform: uppercase;
	}

	.compare td.compare__ours {
		border-color: var(--color-accent);
	}
}

/* Built to stay up: compact strip of four .feature items. */

.strip {
	padding-block: clamp(32px, 7vw, 56px);
}

.strip__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 20px;
	padding: 0;
	list-style: none;
}

.strip .feature {
	flex-direction: column;
}

@media (min-width: 768px) {
	.strip__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.strip .feature {
		flex-direction: row;
	}
}

/* Distributors */

.distributors {
	text-align: center;
}

.distributors .section-title {
	max-width: 720px;
	margin-inline: auto;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 30px;
	padding: 0;
	list-style: none;
}

.tag {
	padding: 8px 14px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-pill);
	color: var(--color-text);
	font-size: var(--fs-sm);
	font-weight: 600;
}

/* How it works: one column on mobile and tablet, number beside the title
   (James, 2026-10-18); the mockup's five-across row from desktop (1025px) up. */

.steps {
	display: grid;
	gap: 12px;
	margin-top: 36px;
	padding: 0;
	list-style: none;
}

.step {
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	column-gap: 16px;
	align-items: start;
	padding: 22px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
}

.step__num {
	display: flex;
	grid-row: 1 / span 2;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-round);
	background: var(--color-surface-raised);
	color: var(--color-heading);
	font-weight: 800;
	font-size: var(--fs-md);
}

.step:first-child .step__num {
	border: 0;
	background: var(--color-accent);
	color: var(--color-on-accent);
}

/* One-column layouts only: each step lights up (green outline and number) as it
   scrolls into view, in order. effects.js adds .is-active; the colour change
   itself is timed in the motion block. */
@media (max-width: 1024px) {
	.step.is-active {
		border-color: var(--color-accent);
	}

	.step.is-active .step__num {
		border-color: transparent;
		background: var(--color-accent);
		color: var(--color-on-accent);
	}
}

.step__title {
	display: flex;
	align-items: center;
	min-height: 36px;
	font-weight: 700;
	font-size: var(--fs-lg);
}

.step__text {
	margin-top: 6px;
	color: var(--color-secondary);
	font-size: var(--fs-sm);
}

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

	.step {
		display: block;
	}

	.step__title {
		min-height: 0;
		margin-top: 14px;
	}
}

/* Guarantees */

.guarantee {
	padding: 28px;
	background: var(--color-surface);
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-xl);
}

.guarantee h3 {
	margin: 18px 0 8px;
	font-weight: 800;
	font-size: var(--fs-3xl);
	letter-spacing: -0.02em;
}

.guarantee p {
	color: var(--color-text);
	font-size: var(--fs-md);
}

.guarantees__more {
	margin-top: 16px;
	font-size: var(--fs-sm);
}

.guarantees__more a {
	color: var(--color-secondary);
}

/* Pricing */

.pricing {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(28px, 6vw, 64px);
}

.pricing__copy {
	flex: 1 1 360px;
	min-width: 0;
}

.pricing__text {
	max-width: 480px;
	margin-top: 16px;
	color: var(--color-text);
}

.price-card {
	flex: 1 1 340px;
	min-width: 0;
	max-width: 460px;
	padding: 28px;
	background: var(--color-surface);
	border: 1.5px solid var(--color-accent);
	border-radius: var(--radius-2xl);
}

.badge {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: var(--radius-pill);
	background: var(--color-accent-tint);
	color: var(--color-accent);
	font-size: var(--fs-2xs);
	font-weight: 700;
}

.price-card .price-row {
	margin-top: 12px;
}

.price-row__now--lg {
	font-size: var(--fs-price-lg);
}

.price-row__was--lg {
	font-size: var(--fs-4xl);
}

.price-card .check-list {
	margin-top: 20px;
}

/* "What's included" value stack sits between the price and the plan bullets. */
.price-card__label {
	margin-top: 20px;
}

.price-card__label + .check-list {
	margin-top: 10px;
}

.price-card .divider + .check-list {
	margin-top: 0;
}

.check-list strong {
	color: var(--color-heading);
	font-weight: 700;
}

.btn--block {
	display: flex;
	margin-top: 24px;
}

.price-card__note {
	margin-top: 12px;
	color: var(--color-secondary);
	font-size: var(--fs-xs);
	text-align: center;
}

/* Who it's for */

.audience-card {
	padding: 26px;
}

.audience-card h3 {
	margin-bottom: 14px;
	font-weight: 700;
	font-size: var(--fs-xl);
}

.audience-card--not h3 {
	color: var(--color-text);
}

.check-list--not {
	color: var(--color-secondary);
}

.check-list--not .icon {
	color: var(--color-danger);
}

/* Proof */

.proof {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(24px, 5vw, 48px);
	margin-top: 36px;
}

.proof__media {
	flex: 1 1 420px;
	min-width: 0;
}

/* border-box: width 100% plus the border would otherwise overflow the column. */
.proof__shot {
	box-sizing: border-box;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	background: var(--color-placeholder);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
}

.proof__details {
	flex: 1 1 360px;
	min-width: 0;
}

.stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.stat {
	padding: 18px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

.stat__value {
	color: var(--color-secondary);
	font-weight: 800;
	font-size: var(--fs-stat);
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.stat__value--accent {
	color: var(--color-accent);
}

.stat__label {
	margin-top: 4px;
	color: var(--color-secondary);
	font-size: var(--fs-xs);
}

.proof__summary {
	margin-top: 18px;
	color: var(--color-text);
	font-size: var(--fs-md);
}

.testimonial {
	margin-top: 20px;
	padding: 24px;
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-card);
}

.stars {
	display: flex;
	gap: 3px;
	color: var(--color-star);
}

.testimonial blockquote {
	margin-top: 12px;
	color: var(--color-heading);
	font-size: var(--fs-lg);
	font-weight: 500;
	line-height: 1.55;
}

.testimonial figcaption {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	color: var(--color-secondary);
	font-size: var(--fs-sm);
}

.testimonial figcaption strong {
	color: var(--color-heading);
	font-weight: 700;
}

.avatar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-round);
	background: var(--color-surface-raised);
	color: var(--color-heading);
	font-weight: 700;
}

.proof__more {
	margin-top: 14px;
	color: var(--color-secondary);
	font-size: var(--fs-sm);
}

.proof__more a {
	color: var(--color-accent);
}

/* Meet your designer */

.designer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(24px, 5vw, 56px);
}

.designer__photo {
	flex: 0 0 auto;
	width: clamp(180px, 40vw, 280px);
	height: auto;
	aspect-ratio: 4 / 5;
	background: var(--color-placeholder);
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-2xl);
}

.designer__copy {
	flex: 1 1 360px;
	min-width: 0;
}

.designer__role {
	margin-top: 8px;
	color: var(--color-secondary);
	font-size: var(--fs-md);
	font-weight: 600;
}

.designer__bio {
	max-width: 620px;
	margin-top: 18px;
	color: var(--color-text);
}

.designer__promise {
	margin-top: 14px;
	color: var(--color-heading);
	font-weight: 600;
}

/* FAQ */

.faq__title {
	margin-bottom: 28px;
}

.faq__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq__item {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
}

/* The padding sits on <summary> (not <details>) so the whole row is the tap
   target. The browser's triangle is replaced by a chevron that turns when open. */
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 28px;
	padding: 16px 20px;
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	font-size: var(--fs-base);
}

.faq__item summary::-webkit-details-marker,
.solve__summary::-webkit-details-marker {
	display: none;
}

.faq__item summary::after,
.solve__summary::after {
	content: "";
	flex: none;
	width: 9px;
	height: 9px;
	margin: 0 6px 4px 0;
	border-right: 2px solid var(--color-secondary);
	border-bottom: 2px solid var(--color-secondary);
	transform: rotate(45deg);
}

.faq__item[open]:not(.is-closing) summary::after,
.solve[open]:not(.is-closing) .solve__summary::after {
	margin: 4px 6px 0 0;
	transform: rotate(225deg);
}

/* effects.js animates this box's height like a drawer, both ways. */
.faq__answer {
	overflow: hidden;
}

.faq__item[open] summary {
	padding-bottom: 0;
}

.faq__item p {
	margin-top: 10px;
	padding: 0 20px 16px;
	color: var(--color-secondary);
	font-size: var(--fs-md);
}

/* Final CTA */

.final-cta {
	padding: clamp(36px, 9vw, 72px) clamp(22px, 6vw, 56px);
	background: var(--color-surface);
	border: 1px solid var(--color-border-strong);
	border-radius: var(--radius-3xl);
	text-align: center;
}

.final-cta__title {
	max-width: 760px;
	margin: 0 auto;
	font-weight: 800;
	font-size: var(--fs-cta);
	line-height: 1.1;
	letter-spacing: -0.035em;
}

.final-cta__text {
	max-width: 540px;
	margin: 18px auto 0;
	color: var(--color-text);
	font-size: var(--fs-body-lg);
}

.final-cta__button {
	box-sizing: border-box;
	width: min(100%, 360px);
	margin-top: 28px;
	padding: 0 30px;
}

.final-cta__countdown {
	margin-top: 14px;
	color: var(--color-secondary);
	font-size: var(--fs-sm);
}

/* ==========================================================================
   Motion (only when the visitor hasn't asked for less)
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	.btn {
		transition: transform var(--motion-fast) ease, filter var(--motion-fast) ease, border-color var(--motion-fast) ease;
	}

	.btn .icon,
	.btn--primary::after,
	.faq__item summary::after,
	.solve__summary::after {
		transition: transform var(--motion-fast) ease, opacity var(--motion-fast) ease, margin var(--motion-fast) ease;
	}

	.card:not(.calendar),
	.feature,
	.step,
	.guarantee,
	.stat,
	.testimonial,
	.price-panel,
	.price-card,
	.faq__item {
		transition: border-color var(--motion-fast) ease, transform var(--motion-fast) ease;
	}

	/* Primary CTAs rise 3px and settle, the glow peaking at the top of the
	   rise. Hover and focus take over from the loop. */
	.btn--primary {
		animation: breathe var(--motion-breathe) ease-in-out infinite;
	}

	.btn--primary::after {
		animation: breathe-glow var(--motion-breathe) ease-in-out infinite;
	}

	.btn--primary:hover,
	.btn--primary:focus-visible,
	.btn--primary:active,
	.btn--primary:hover::after,
	.btn--primary:focus-visible::after {
		animation: none;
	}

	/* Scroll reveal: engages only under html.js (effects.js running). Items in
	   a .reveal-group stagger by 60ms each, up to eight. */
	.js .reveal:not(.is-visible),
	.js .reveal-group:not(.is-visible) > * {
		opacity: 0;
	}

	.js .reveal.is-visible {
		animation: reveal-in var(--motion-reveal) ease-out backwards;
	}

	.js .reveal-group.is-visible > * {
		animation: reveal-in var(--motion-reveal) ease-out backwards;
		animation-delay: calc(var(--i, 0) * 60ms);
	}

	.reveal-group > :nth-child(2) { --i: 1; }
	.reveal-group > :nth-child(3) { --i: 2; }
	.reveal-group > :nth-child(4) { --i: 3; }
	.reveal-group > :nth-child(5) { --i: 4; }
	.reveal-group > :nth-child(6) { --i: 5; }
	.reveal-group > :nth-child(7) { --i: 6; }
	.reveal-group > :nth-child(8) { --i: 7; }
	.reveal-group > :nth-child(n+9) { --i: 8; }

	.pill .dot::after,
	.slots .dot::after {
		animation: ping 2s ease-out infinite;
	}

	[data-cd].is-ticking {
		animation: tick 0.25s ease-out;
	}

	.sticky-cta {
		transition: transform 0.3s ease;
	}

	/* Slow colour change for the step activation (one-column layouts). */
	@media (max-width: 1024px) {
		.step {
			transition: border-color 0.8s ease, transform var(--motion-fast) ease;
		}

		.step__num {
			transition: background-color 0.8s ease, border-color 0.8s ease, color 0.8s ease;
		}
	}

	/* Hero intro: the headline arrives one line at a time (--intro-step apart),
	   then the rest of the hero rises in. Plays once per session (html.intro-seen
	   skips it) and only under html.js. */
	.js:not(.intro-seen) .pill,
	.js:not(.intro-seen) .hero__lead,
	.js:not(.intro-seen) .hero__actions,
	.js:not(.intro-seen) .hero__note,
	.js:not(.intro-seen) .price-panel {
		animation: hero-rise var(--intro-line) ease-out backwards;
	}

	.js:not(.intro-seen) .hero__line {
		animation: hero-line var(--intro-line) ease-out backwards;
	}

	.js:not(.intro-seen) .hero__line:nth-child(1) { animation-delay: 0.2s; }
	.js:not(.intro-seen) .hero__line:nth-child(2) { animation-delay: calc(0.2s + var(--intro-step)); }
	.js:not(.intro-seen) .hero__line:nth-child(3) { animation-delay: calc(0.2s + 2 * var(--intro-step)); }
	.js:not(.intro-seen) .hero__lead { animation-delay: calc(1s + 2 * var(--intro-step)); }
	.js:not(.intro-seen) .price-panel { animation-delay: calc(1.2s + 2 * var(--intro-step)); }
	.js:not(.intro-seen) .hero__actions { animation-delay: calc(1.3s + 2 * var(--intro-step)); }
	.js:not(.intro-seen) .hero__note { animation-delay: calc(1.5s + 2 * var(--intro-step)); }

	@keyframes hero-line {
		from { opacity: 0; filter: blur(6px); }
	}

	@keyframes hero-rise {
		from { opacity: 0; transform: translateY(14px); }
	}

	@keyframes breathe {
		0%, 100% { transform: translateY(0); }
		50% { transform: translateY(-3px); }
	}

	@keyframes breathe-glow {
		0%, 100% { opacity: 0; }
		50% { opacity: 1; }
	}

	@keyframes reveal-in {
		from { opacity: 0; transform: translateY(12px); }
	}

	@keyframes ping {
		0% { transform: scale(1); opacity: 0.6; }
		80%, 100% { transform: scale(2.6); opacity: 0; }
	}

	@keyframes tick {
		from { transform: translateY(-6px); opacity: 0.3; }
	}
}
