/* ==========================================================================
   GetReviewX — getreviewx.com
   Hand-written stylesheet. No framework, no build step.
   Only external request: Google Fonts (declared in each HTML <head>).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	color-scheme: light; /* light-only site: do not reintroduce dark */

	--font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system,
		"Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
		"Liberation Mono", monospace;

	--bg: #ffffff;
	--bg-soft: #f7f7fa;
	--bg-sunken: #f0f0f4;
	--surface: #ffffff;
	--surface-raised: #ffffff;

	--border: #e6e6ec;
	--border-strong: #d3d3dd;

	--text: #14141a;
	--text-muted: #56565f;
	--text-faint: #83838d;

	--accent: #4f39f6;
	--accent-hover: #3f2cd6;
	--accent-soft: #eeebff;
	--accent-line: #d7d0ff;
	--on-accent: #ffffff;

	--star: #f0a020;
	--positive: #0f7a58;
	--positive-soft: #e3f5ee;
	--warn: #9a5b00;
	--warn-soft: #fdf1dd;

	--shadow-sm: 0 1px 2px rgba(16, 16, 32, 0.05);
	--shadow-md: 0 4px 16px -4px rgba(16, 16, 32, 0.10),
		0 1px 3px rgba(16, 16, 32, 0.05);
	--shadow-lg: 0 24px 60px -20px rgba(16, 16, 40, 0.22),
		0 4px 14px -6px rgba(16, 16, 40, 0.10);

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;

	--maxw: 1120px;
	--maxw-prose: 720px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.65;
	letter-spacing: -0.005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img,
svg {
	max-width: 100%;
	display: block;
}

h1,
h2,
h3,
h4 {
	margin: 0 0 0.5em;
	line-height: 1.15;
	letter-spacing: -0.028em;
	font-weight: 700;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0 0 1em;
	padding-left: 1.25em;
}

li {
	margin-bottom: 0.35em;
}

a {
	color: var(--accent);
	text-decoration-color: var(--accent-line);
	text-underline-offset: 3px;
}

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

code,
kbd {
	font-family: var(--font-mono);
	font-size: 0.875em;
	background: var(--bg-sunken);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 0.12em 0.4em;
}

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

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 22px;
}

.section {
	padding-block: clamp(56px, 8vw, 104px);
}

.section--soft {
	background: var(--bg-soft);
	border-block: 1px solid var(--border);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--accent);
	color: var(--on-accent);
	padding: 10px 16px;
	border-radius: 0 0 var(--radius-sm) 0;
	z-index: 100;
}

.skip-link:focus {
	left: 0;
}

.eyebrow {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}

.section-head {
	max-width: 660px;
	margin-bottom: clamp(32px, 5vw, 52px);
}

.section-head h2 {
	font-size: clamp(1.65rem, 3.4vw, 2.35rem);
}

.section-head p {
	color: var(--text-muted);
	font-size: 1.05rem;
	margin-bottom: 0;
}

.lede {
	font-size: clamp(1.02rem, 1.9vw, 1.2rem);
	color: var(--text-muted);
	max-width: 56ch;
}

/* --------------------------------------------------------------------------
   4. Buttons + pills
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1;
	padding: 13px 22px;
	border-radius: 10px;
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.16s ease, border-color 0.16s ease,
		transform 0.16s ease, color 0.16s ease;
}

.btn:active {
	transform: translateY(1px);
}

.btn--primary {
	background: var(--accent);
	color: var(--on-accent);
	border-color: var(--accent);
}

.btn--primary:hover {
	background: var(--accent-hover);
	border-color: var(--accent-hover);
	color: var(--on-accent);
}

.btn--ghost {
	background: var(--surface);
	color: var(--text);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.btn--wide {
	width: 100%;
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.78rem;
	font-weight: 600;
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	border: 1px solid var(--accent-line);
}

.pill--muted {
	background: var(--bg-sunken);
	color: var(--text-muted);
	border-color: var(--border);
}

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--bg) 88%, transparent);
	backdrop-filter: saturate(1.6) blur(12px);
	border-bottom: 1px solid var(--border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 66px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 1.06rem;
	letter-spacing: -0.03em;
	color: var(--text);
	text-decoration: none;
	margin-right: auto;
}

.brand__mark {
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	border-radius: 8px;
	background: var(--accent);
	color: var(--on-accent);
	display: grid;
	place-items: center;
}

.brand__mark svg {
	width: 17px;
	height: 17px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.nav a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 500;
	padding: 8px 12px;
	border-radius: 8px;
}

.nav a:hover {
	color: var(--text);
	background: var(--bg-sunken);
}

.nav .btn--primary {
	color: var(--on-accent);
	padding: 10px 16px;
	margin-left: 6px;
}

.nav .btn:hover {
	background: var(--accent-hover);
	color: var(--on-accent);
}

/* CSS-only mobile menu — no JavaScript anywhere on this site. */
.nav-toggle {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 0;
	height: 0;
}

.nav-toggle-label {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--border-strong);
	border-radius: 9px;
	cursor: pointer;
	background: var(--surface);
	color: var(--text);
}

.nav-toggle-label svg {
	width: 19px;
	height: 19px;
}

.nav-toggle:focus-visible + .nav-toggle-label {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

@media (max-width: 820px) {
	.nav-toggle-label {
		display: inline-flex;
	}

	.nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding: 12px 22px 20px;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-md);
	}

	.nav-toggle:checked ~ .nav {
		display: flex;
	}

	.nav a {
		padding: 11px 12px;
	}

	.nav .btn {
		margin-left: 0;
		margin-top: 6px;
		justify-content: center;
	}
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 8vw, 92px) clamp(52px, 8vw, 96px);
}

.hero::before {
	content: "";
	position: absolute;
	inset: -30% 30% auto -10%;
	height: 620px;
	background: radial-gradient(
		closest-side,
		color-mix(in srgb, var(--accent) 16%, transparent),
		transparent
	);
	pointer-events: none;
	z-index: -1;
}

.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.hero h1 {
	font-size: clamp(2.1rem, 5.2vw, 3.4rem);
	font-weight: 800;
	margin-bottom: 18px;
}

.hero h1 em {
	font-style: normal;
	color: var(--accent);
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: 24px;
	padding: 0;
	list-style: none;
}

.hero__meta li {
	margin: 0;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--text-muted);
	background: var(--bg-sunken);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 5px 11px;
}

@media (max-width: 900px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   7. Curation board mock (pure HTML/CSS, decorative)
   -------------------------------------------------------------------------- */

.board {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}

.board__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 16px;
	border-bottom: 1px solid var(--border);
	background: var(--bg-soft);
}

.board__title {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.board__bar .pill {
	margin-left: auto;
}

.board__list {
	list-style: none;
	margin: 0;
	padding: 10px;
	display: grid;
	gap: 8px;
}

.board__list li {
	margin: 0;
}

.row {
	display: grid;
	grid-template-columns: 20px auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 11px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	background: var(--surface-raised);
}

.row--dragging {
	border-color: var(--accent);
	box-shadow: 0 10px 26px -12px color-mix(in srgb, var(--accent) 60%, transparent);
	transform: rotate(-0.6deg);
}

.row--hidden {
	opacity: 0.5;
}

.row__grip {
	color: var(--text-faint);
	display: grid;
	place-items: center;
}

.row__grip svg {
	width: 14px;
	height: 14px;
}

.row__avatar {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--on-accent);
	background: var(--accent);
}

.row__avatar--b {
	background: #0f7a58;
}

.row__avatar--c {
	background: #b4531f;
}

.row__avatar--d {
	background: #2b6cb0;
}

.row__body {
	min-width: 0;
}

.row__name {
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.3;
}

.row__text {
	font-size: 0.78rem;
	color: var(--text-muted);
	line-height: 1.35;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.row__tag {
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 3px 8px;
	border-radius: 999px;
	white-space: nowrap;
	background: var(--bg-sunken);
	color: var(--text-faint);
	border: 1px solid var(--border);
}

.row__tag--pin {
	background: var(--accent-soft);
	color: var(--accent);
	border-color: var(--accent-line);
}

.row__tag--drop {
	background: var(--positive-soft);
	color: var(--positive);
	border-color: color-mix(in srgb, var(--positive) 35%, transparent);
}

.stars {
	display: inline-flex;
	gap: 1px;
	color: var(--star);
	vertical-align: -2px;
}

.stars svg {
	width: 13px;
	height: 13px;
}

.stars--dim svg:nth-child(n + 5) {
	color: var(--border-strong);
}

/* --------------------------------------------------------------------------
   8. Cards + grids
   -------------------------------------------------------------------------- */

.grid {
	display: grid;
	gap: 18px;
}

.grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.grid--2,
	.grid--3 {
		grid-template-columns: 1fr;
	}
}

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
	box-shadow: var(--shadow-sm);
}

.card h3 {
	font-size: 1.03rem;
	margin-bottom: 6px;
}

.card p {
	color: var(--text-muted);
	font-size: 0.93rem;
	margin-bottom: 0;
}

.card__icon {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: var(--accent-soft);
	color: var(--accent);
	border: 1px solid var(--accent-line);
	margin-bottom: 14px;
}

.card__icon svg {
	width: 18px;
	height: 18px;
}

.card--wide {
	grid-column: span 2;
}

@media (max-width: 620px) {
	.card--wide {
		grid-column: auto;
	}
}

/* Feature split rows */
.split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 60px);
	align-items: center;
}

@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
	}
}

.checklist {
	list-style: none;
	padding: 0;
	margin: 20px 0 0;
	display: grid;
	gap: 12px;
}

.checklist li {
	position: relative;
	padding-left: 30px;
	margin: 0;
	color: var(--text-muted);
	font-size: 0.95rem;
}

.checklist li strong {
	color: var(--text);
	font-weight: 650;
}

.checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--accent-soft);
	border: 1px solid var(--accent-line);
}

.checklist li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 0.72em;
	width: 5px;
	height: 9px;
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(42deg);
}

/* --------------------------------------------------------------------------
   9. Display-style previews
   -------------------------------------------------------------------------- */

.styles-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

@media (max-width: 900px) {
	.styles-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.styles-grid {
		grid-template-columns: 1fr;
	}
}

.style-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.style-card h3 {
	font-size: 0.98rem;
	margin: 0;
}

.style-card p {
	font-size: 0.88rem;
	color: var(--text-muted);
	margin: 0;
}

.style-card code {
	font-size: 0.76rem;
	background: var(--bg-sunken);
	color: var(--text-muted);
}

.mini {
	display: grid;
	gap: 6px;
	background: var(--bg-sunken);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 12px;
	min-height: 104px;
}

.mini span {
	display: block;
	background: var(--border-strong);
	border-radius: 3px;
	height: 6px;
}

.mini__box {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 8px;
	display: grid;
	gap: 5px;
}

.mini--grid {
	grid-template-columns: repeat(3, 1fr);
}

.mini--carousel {
	grid-template-columns: repeat(3, 1fr);
	align-items: center;
}

.mini--carousel .mini__box:last-child {
	opacity: 0.4;
}

.mini--list {
	grid-template-columns: 1fr;
}

.mini--masonry {
	grid-template-columns: repeat(3, 1fr);
	align-items: start;
}

.mini--masonry .mini__box:nth-child(2) {
	padding-bottom: 22px;
}

.mini--masonry .mini__box:nth-child(3) {
	padding-bottom: 14px;
}

.mini--badge {
	position: relative;
	grid-template-columns: 1fr;
	align-content: start;
}

.mini--badge .mini__box {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 58%;
	box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   10. Steps
   -------------------------------------------------------------------------- */

.steps {
	counter-reset: step;
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

@media (max-width: 820px) {
	.steps {
		grid-template-columns: 1fr;
	}
}

.steps li {
	counter-increment: step;
	margin: 0;
	padding: 24px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}

.steps li::before {
	content: counter(step);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: var(--accent);
	color: var(--on-accent);
	font-size: 0.85rem;
	font-weight: 800;
	margin-bottom: 13px;
}

.steps h3 {
	font-size: 1rem;
	margin-bottom: 5px;
}

.steps p {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   11. Pricing
   -------------------------------------------------------------------------- */

.plans {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: start;
}

@media (max-width: 900px) {
	.plans {
		grid-template-columns: 1fr;
		max-width: 460px;
		margin-inline: auto;
	}
}

.plan {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 26px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.plan--featured {
	border-color: var(--accent);
	box-shadow: var(--shadow-md);
	position: relative;
}

.plan__flag {
	position: absolute;
	top: -12px;
	left: 26px;
}

.plan h3 {
	font-size: 1.05rem;
	margin-bottom: 2px;
}

.plan__sites {
	font-size: 0.86rem;
	color: var(--text-muted);
	margin-bottom: 18px;
}

.plan__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 4px;
}

.plan__amount {
	font-size: 2.35rem;
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.plan__per {
	font-size: 0.88rem;
	color: var(--text-muted);
	font-weight: 600;
}

.plan__note {
	font-size: 0.8rem;
	color: var(--text-faint);
	margin-bottom: 20px;
}

.plan ul {
	list-style: none;
	padding: 0;
	margin: 0 0 22px;
	display: grid;
	gap: 9px;
	font-size: 0.9rem;
	color: var(--text-muted);
}

.plan ul li {
	position: relative;
	padding-left: 22px;
	margin: 0;
}

.plan ul li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.5em;
	width: 5px;
	height: 9px;
	border-right: 2px solid var(--accent);
	border-bottom: 2px solid var(--accent);
	transform: rotate(42deg);
}

.plan .btn {
	margin-top: auto;
}

.notice {
	margin-top: 24px;
	padding: 16px 18px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
	background: var(--bg-sunken);
	font-size: 0.9rem;
	color: var(--text-muted);
}

.notice p:last-child {
	margin-bottom: 0;
}

.notice--warn {
	background: var(--warn-soft);
	border-color: color-mix(in srgb, var(--warn) 30%, transparent);
	color: var(--warn);
}

.notice--warn strong {
	color: var(--warn);
}

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */

.faq {
	max-width: 780px;
	display: grid;
	gap: 10px;
}

.faq details {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 4px 20px;
	box-shadow: var(--shadow-sm);
}

.faq details[open] {
	border-color: var(--border-strong);
}

.faq summary {
	cursor: pointer;
	font-weight: 650;
	font-size: 0.98rem;
	padding: 15px 26px 15px 0;
	list-style: none;
	position: relative;
}

.faq summary::-webkit-details-marker {
	display: none;
}

.faq summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-right: 2px solid var(--text-faint);
	border-bottom: 2px solid var(--text-faint);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.18s ease;
}

.faq details[open] summary::after {
	transform: translateY(-30%) rotate(-135deg);
}

.faq p {
	color: var(--text-muted);
	font-size: 0.94rem;
	margin: 0 0 15px;
}

/* --------------------------------------------------------------------------
   13. Closing CTA
   -------------------------------------------------------------------------- */

.cta {
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: clamp(34px, 6vw, 58px);
	box-shadow: var(--shadow-md);
}

.cta h2 {
	font-size: clamp(1.5rem, 3.2vw, 2.15rem);
	margin-bottom: 10px;
}

.cta p {
	color: var(--text-muted);
	max-width: 52ch;
	margin-inline: auto;
}

.cta .hero__cta {
	justify-content: center;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: var(--bg-soft);
	border-top: 1px solid var(--border);
	padding-block: 52px 34px;
	margin-top: clamp(48px, 8vw, 90px);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 32px;
}

@media (max-width: 820px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

.site-footer h4 {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--text-faint);
	margin-bottom: 12px;
}

.site-footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 8px;
}

.site-footer li {
	margin: 0;
}

.site-footer a {
	color: var(--text-muted);
	text-decoration: none;
	font-size: 0.9rem;
}

.site-footer a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.site-footer__blurb {
	color: var(--text-muted);
	font-size: 0.9rem;
	max-width: 34ch;
	margin: 12px 0 0;
}

.site-footer__base {
	margin-top: 38px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	align-items: center;
	justify-content: space-between;
	font-size: 0.83rem;
	color: var(--text-faint);
}

.site-footer__base p {
	margin: 0;
}

/* --------------------------------------------------------------------------
   15. Legal pages (privacy.html, terms.html)
   -------------------------------------------------------------------------- */

.legal {
	padding-block: clamp(40px, 6vw, 72px) 0;
}

.legal__inner {
	max-width: var(--maxw-prose);
	margin-inline: auto;
}

.legal h1 {
	font-size: clamp(1.9rem, 4.5vw, 2.6rem);
	margin-bottom: 10px;
}

.legal__meta {
	color: var(--text-faint);
	font-size: 0.88rem;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--border);
}

.legal h2 {
	font-size: 1.28rem;
	margin-top: 44px;
	scroll-margin-top: 92px;
}

.legal h3 {
	font-size: 1.02rem;
	margin-top: 28px;
}

.legal p,
.legal li {
	color: var(--text-muted);
	font-size: 0.98rem;
}

.legal strong {
	color: var(--text);
	font-weight: 650;
}

.legal table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0 22px;
	font-size: 0.9rem;
}

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

.legal th {
	background: var(--bg-sunken);
	color: var(--text);
	font-weight: 650;
	white-space: nowrap;
}

.legal__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.toc {
	background: var(--bg-soft);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px 24px;
	margin-bottom: 8px;
}

.toc h2 {
	margin: 0 0 10px;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--text-faint);
}

.toc ol {
	margin: 0;
	padding-left: 1.2em;
	columns: 2;
	column-gap: 28px;
	font-size: 0.9rem;
}

@media (max-width: 620px) {
	.toc ol {
		columns: 1;
	}
}

.callout {
	background: var(--accent-soft);
	border: 1px solid var(--accent-line);
	border-radius: var(--radius);
	padding: 18px 20px;
	margin: 22px 0;
}

.callout p {
	margin-bottom: 0;
	color: var(--text);
	font-size: 0.94rem;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
   16. Small utilities
   The site ships zero inline style attributes so that the Content-Security-
   Policy in _headers can forbid inline styles outright. These stand in for
   the handful of one-off values the markup needs.
   -------------------------------------------------------------------------- */

.mt-18 {
	margin-top: 18px;
}

.pt-0 {
	padding-top: 0;
}

.mini--center {
	align-content: center;
}

.w40 { width: 40%; }
.w50 { width: 50%; }
.w55 { width: 55%; }
.w60 { width: 60%; }
.w64 { width: 64%; }
.w65 { width: 65%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w78 { width: 78%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }
