/* ==========================================================================
   NextGrowthPilot — main stylesheet
   Mobile-first. Tokens → base → layout → components → sections → utilities.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
	/* Brand palette (v0.3). Contrast ratios are against white unless noted. */
	--ngp-navy: #14243a;          /* headings, nav, footer, dark sections */
	--ngp-navy-90: #1c3150;
	--ngp-navy-80: #253d61;
	--ngp-emerald: #087f5b;       /* primary CTAs, links: 5.0:1 (4.66:1 on --ngp-bg) */
	--ngp-emerald-hover: #06694b; /* 6.71:1 */
	--ngp-emerald-ink: #065f46;   /* text on mint: 6.8:1 on --ngp-mint */
	--ngp-teal: #0d9488;          /* icons + accents only: 3.74:1, not for body text */
	--ngp-mint: #ddf7ec;          /* badges, highlighted rows */
	--ngp-teal-wash: #ecfbf4;     /* subtle tint; emerald text 4.69:1 */
	--ngp-teal-light: #6ee7b7;    /* accents and links on navy: 10.26:1 */
	/* Legacy names kept so existing rules and child themes keep working */
	--ngp-teal-strong: var(--ngp-emerald);
	--ngp-teal-hover: var(--ngp-emerald-hover);
	--ngp-bg: #f5f7fa;
	--ngp-surface: #ffffff;
	--ngp-text: #172033;          /* 16.27:1 */
	--ngp-text-muted: #5b6b80;    /* 5.07:1 on --ngp-bg; #64748B was 4.43:1 there */
	--ngp-border: #e2e8f0;
	--ngp-border-strong: #cbd5e1;
	--ngp-success: #087f5b;
	--ngp-warning: #94570f;       /* text-safe warning: 5.79:1 */
	--ngp-warning-wash: #fdf3e6;
	--ngp-on-navy: #ffffff;
	--ngp-on-navy-muted: #b4becc; /* 8.32:1 on navy */

	/* Logo (inline SVG reads these) */
	--ngp-logo-tile: var(--ngp-navy);
	--ngp-logo-glyph: #ffffff;
	--ngp-logo-arrow: #12a594; /* original logo colour, unchanged */

	/* Type */
	--ngp-font-heading: Manrope, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--ngp-font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ngp-fs-xs: 0.8125rem;
	--ngp-fs-sm: 0.875rem;
	--ngp-fs-base: 1rem;
	--ngp-fs-md: 1.0625rem;
	--ngp-fs-lg: clamp(1.125rem, 1rem + 0.4vw, 1.25rem);
	--ngp-fs-xl: clamp(1.5rem, 1.2rem + 1.1vw, 2.125rem);
	--ngp-fs-2xl: clamp(2.125rem, 1.4rem + 3vw, 3.5rem);
	--ngp-lh-tight: 1.15;
	--ngp-lh-snug: 1.3;
	--ngp-lh-body: 1.65;

	/* Space: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96 */
	--ngp-s1: 0.25rem;
	--ngp-s2: 0.5rem;
	--ngp-s3: 0.75rem;
	--ngp-s4: 1rem;
	--ngp-s5: 1.5rem;
	--ngp-s6: 2rem;
	--ngp-s7: 3rem;
	--ngp-s8: 4rem;
	--ngp-s9: 6rem;
	--ngp-section: clamp(4rem, 2.5rem + 4vw, 6rem); /* vertical section rhythm: 64 → 96 */
	--ngp-gutter: 16px;

	/* Controls: every button, input and icon button uses one of these heights */
	--ngp-control: 44px;
	--ngp-control-lg: 52px;
	--ngp-control-xl: 60px;

	/* Shape + depth */
	--ngp-radius-sm: 8px;
	--ngp-radius-control: 10px;
	--ngp-radius: 12px;
	--ngp-radius-card: 14px;
	--ngp-radius-input: 14px;
	--ngp-radius-lg: 18px;
	--ngp-card-pad: 24px;
	--ngp-dur: 0.18s;
	--ngp-shadow-sm: 0 1px 2px rgba(20, 36, 58, 0.06);
	--ngp-shadow: 0 1px 2px rgba(20, 36, 58, 0.05), 0 8px 24px -12px rgba(20, 36, 58, 0.18);
	--ngp-shadow-lg: 0 2px 4px rgba(20, 36, 58, 0.04), 0 24px 48px -20px rgba(20, 36, 58, 0.28);
	--ngp-focus: 0 0 0 3px #ffffff, 0 0 0 5px var(--ngp-teal-strong);

	/* Layout */
	--ngp-max: 1200px;
	--ngp-narrow: 760px;
	--ngp-header-h: 64px;
	--ngp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (min-width: 640px) {
	:root { --ngp-gutter: 24px; }
}
@media (min-width: 1024px) {
	:root { --ngp-header-h: 72px; --ngp-gutter: 32px; }
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--ngp-header-h) + 16px);
}

body {
	margin: 0;
	background: var(--ngp-bg);
	color: var(--ngp-text);
	font-family: var(--ngp-font-body);
	font-size: var(--ngp-fs-base);
	line-height: var(--ngp-lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 var(--ngp-s3);
	font-family: var(--ngp-font-heading);
	font-weight: 700;
	line-height: var(--ngp-lh-snug);
	color: var(--ngp-navy);
	letter-spacing: -0.015em;
	text-wrap: balance;
}

p { margin: 0 0 var(--ngp-s4); }
p:last-child { margin-bottom: 0; }

a {
	color: var(--ngp-teal-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}
a:hover { color: var(--ngp-teal-hover); }

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

:focus-visible {
	outline: none;
	box-shadow: var(--ngp-focus);
	border-radius: 4px;
}

button, input, select, textarea { font: inherit; color: inherit; }

ul[class], ol[class] { margin: 0; padding: 0; list-style: none; }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ngp-navy);
	color: #fff;
	font-weight: 600;
	border-radius: var(--ngp-radius-sm);
	transform: translateY(-200%);
}
.skip-link:focus { transform: none; color: #fff; }

.site-main:focus { outline: none; }

/* ---------- 3. Layout ---------- */
.ngp-container {
	width: 100%;
	max-width: calc(var(--ngp-max) + 2 * var(--ngp-gutter));
	margin-inline: auto;
	padding-inline: var(--ngp-gutter);
}
.ngp-container--narrow { max-width: calc(var(--ngp-narrow) + 2 * var(--ngp-gutter)); }

.ngp-grid {
	display: grid;
	gap: var(--ngp-s4);
	grid-template-columns: minmax(0, 1fr);
}
.ngp-grid > li { display: flex; min-width: 0; }
.ngp-grid > li > * { flex: 1; }

@media (min-width: 640px) {
	.ngp-grid { gap: var(--ngp-s5); }
	.ngp-grid--3, .ngp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.ngp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ngp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ngp-section { padding-block: var(--ngp-section); }
.ngp-section--flush-top { padding-top: 0; }
.ngp-section--tint { background: var(--ngp-surface); border-block: 1px solid var(--ngp-border); }

.ngp-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--ngp-s3) var(--ngp-s6);
	margin-bottom: var(--ngp-s7);
}
.ngp-section__head > div { max-width: 640px; }
.ngp-section__title { font-size: var(--ngp-fs-xl); margin-bottom: var(--ngp-s3); letter-spacing: -0.025em; }
.ngp-section__text { color: var(--ngp-text-muted); font-size: var(--ngp-fs-md); margin: 0; }

/* ---------- 4. Components ---------- */

/* Buttons — one height scale for every control */
.ngp-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--ngp-s2);
	min-height: var(--ngp-control);
	padding: 0 var(--ngp-s5);
	border: 1px solid transparent;
	border-radius: var(--ngp-radius-control);
	font-family: var(--ngp-font-body);
	font-size: var(--ngp-fs-sm);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.005em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--ngp-dur), border-color var(--ngp-dur), color var(--ngp-dur), box-shadow var(--ngp-dur);
	white-space: nowrap;
}
.ngp-button--primary {
	background: var(--ngp-teal-strong);
	color: #fff;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 1px 2px rgba(8, 127, 91, 0.35);
}
.ngp-button--primary:hover { background: var(--ngp-teal-hover); color: #fff; }
.ngp-button--secondary { background: var(--ngp-surface); color: var(--ngp-navy); border-color: var(--ngp-border-strong); }
.ngp-button--secondary:hover { border-color: var(--ngp-navy); background: var(--ngp-bg); color: var(--ngp-navy); }
.ngp-button--ghost { background: transparent; color: var(--ngp-navy); border-color: transparent; padding-inline: var(--ngp-s4); }
.ngp-button--ghost:hover { background: rgba(20, 36, 58, 0.05); color: var(--ngp-navy); }
.ngp-button--lg { min-height: var(--ngp-control-lg); padding-inline: var(--ngp-s6); font-size: var(--ngp-fs-base); }
.ngp-button--block { width: 100%; }
.ngp-button .ngp-icon { flex: none; }
.ngp-button:disabled, fieldset:disabled .ngp-button { opacity: 0.55; cursor: not-allowed; box-shadow: none; }

.icon-button {
	display: inline-grid;
	place-items: center;
	width: var(--ngp-control);
	height: var(--ngp-control);
	padding: 0;
	border: 1px solid transparent;
	border-radius: var(--ngp-radius-control);
	background: transparent;
	color: var(--ngp-navy);
	cursor: pointer;
	transition: background-color var(--ngp-dur), border-color var(--ngp-dur);
}
.icon-button:hover { background: var(--ngp-bg); border-color: var(--ngp-border); color: var(--ngp-navy); }

.ngp-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	font-size: var(--ngp-fs-sm);
	font-weight: 600;
	color: var(--ngp-teal-strong);
	text-decoration: none;
	white-space: nowrap;
}
a.ngp-link-arrow:hover { color: var(--ngp-teal-hover); text-decoration: underline; text-underline-offset: 0.2em; }
.ngp-link-arrow .ngp-icon { transition: transform var(--ngp-dur) var(--ngp-ease); }
.ngp-link-arrow:hover .ngp-icon,
.ngp-card:hover .ngp-link-arrow .ngp-icon { transform: translateX(3px); }

.ngp-eyebrow,
.ngp-kicker {
	margin: 0 0 var(--ngp-s3);
	font-size: var(--ngp-fs-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ngp-teal-strong);
}
.ngp-kicker { margin-bottom: var(--ngp-s2); font-size: 0.75rem; letter-spacing: 0.07em; }

.ngp-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	margin: 0;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: var(--ngp-fs-xs);
	font-weight: 600;
	line-height: 1.5;
}
.ngp-badge--teal { background: var(--ngp-mint); color: var(--ngp-emerald-ink); }
.ngp-badge--warning { background: var(--ngp-warning-wash); color: var(--ngp-warning); }

.ngp-chips { display: flex; flex-wrap: wrap; gap: var(--ngp-s2); }
.ngp-chip {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 14px;
	border: 1px solid var(--ngp-border-strong);
	border-radius: 999px;
	background: var(--ngp-surface);
	color: var(--ngp-text);
	font-size: var(--ngp-fs-sm);
	font-weight: 500;
	text-decoration: none;
	transition: border-color var(--ngp-dur), background-color var(--ngp-dur), color var(--ngp-dur);
}
.ngp-chip:hover { border-color: var(--ngp-teal-strong); background: var(--ngp-teal-wash); color: var(--ngp-navy); }

/* Cards */
.ngp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--ngp-s3);
	padding: var(--ngp-card-pad);
	background: var(--ngp-surface);
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-card);
	box-shadow: var(--ngp-shadow-sm);
	transition: box-shadow var(--ngp-dur) var(--ngp-ease), border-color var(--ngp-dur);
}
.ngp-card:hover { box-shadow: var(--ngp-shadow); border-color: var(--ngp-border-strong); }
.ngp-card__title { margin: 0; font-size: var(--ngp-fs-lg); line-height: 1.35; letter-spacing: -0.015em; }
.ngp-card__title a { color: inherit; text-decoration: none; }
.ngp-card__title a:hover,
.ngp-card:hover .ngp-card__title a { color: var(--ngp-teal-strong); }
.ngp-card__excerpt { margin: 0; color: var(--ngp-text-muted); font-size: var(--ngp-fs-sm); line-height: 1.6; }
.ngp-card__actions { display: flex; flex-wrap: wrap; gap: var(--ngp-s2); margin-top: auto; padding-top: var(--ngp-s2); }
.ngp-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--ngp-s2);
	margin-top: auto;
	padding-top: var(--ngp-s4);
	border-top: 1px solid var(--ngp-border);
	font-size: var(--ngp-fs-xs);
	color: var(--ngp-text-muted);
}

/* Whole-card click target without nesting links */
.ngp-stretched { color: inherit; text-decoration: none; }
.ngp-stretched::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.ngp-stretched:focus-visible { box-shadow: none; }
.ngp-stretched:focus-visible::after { box-shadow: var(--ngp-focus); border-radius: var(--ngp-radius-card); }

/* Logo tiles (product logos / monograms) */
.ngp-logo-tile {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: var(--tile, 48px);
	height: var(--tile, 48px);
	overflow: hidden;
	border: 1px solid var(--ngp-border);
	border-radius: calc(var(--tile, 48px) * 0.26);
	background: linear-gradient(180deg, #ffffff 0%, var(--ngp-bg) 100%);
	box-shadow: var(--ngp-shadow-sm);
	font-family: var(--ngp-font-heading);
	font-size: calc(var(--tile, 48px) * 0.4);
	font-weight: 800;
	color: var(--ngp-navy);
}
.ngp-logo-tile img { width: 76%; height: 76%; object-fit: contain; }

/* Product card */
.ngp-product-card { gap: var(--ngp-s4); }
.ngp-product-card__head { display: flex; align-items: center; gap: var(--ngp-s4); }
.ngp-product-card__id { min-width: 0; }
.ngp-product-card__name { margin: 0 0 2px; font-size: 1.25rem; line-height: 1.25; }
.ngp-product-card__cat {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	font-size: var(--ngp-fs-sm);
	color: var(--ngp-text-muted);
	text-decoration: none;
}
.ngp-product-card__cat:hover { color: var(--ngp-teal-strong); text-decoration: underline; }
.ngp-product-card__desc { margin: 0; font-size: var(--ngp-fs-sm); line-height: 1.6; color: var(--ngp-text); }

.ngp-bestfor {
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--ngp-radius-sm);
	background: var(--ngp-teal-wash);
	font-size: var(--ngp-fs-sm);
	font-weight: 600;
	color: var(--ngp-navy);
	line-height: 1.4;
}
.ngp-bestfor__label {
	margin-right: 4px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ngp-teal-strong);
}

.ngp-status {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--ngp-radius-sm);
	font-size: var(--ngp-fs-xs);
	line-height: 1.5;
}
.ngp-status .ngp-icon { flex: none; margin-top: 1px; }
.ngp-status--draft { background: var(--ngp-warning-wash); color: var(--ngp-warning); }

.ngp-checklist { display: grid; gap: 8px; font-size: var(--ngp-fs-sm); line-height: 1.5; }
.ngp-checklist li { display: flex; gap: 10px; align-items: flex-start; }
.ngp-checklist .ngp-icon {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 1px;
	padding: 2px;
	border-radius: 50%;
	background: rgba(8, 127, 91, 0.1);
	color: var(--ngp-success);
}

.ngp-consider {
	margin: 0;
	padding-left: 12px;
	border-left: 2px solid var(--ngp-border-strong);
	font-size: var(--ngp-fs-sm);
	line-height: 1.5;
	color: var(--ngp-text);
}
.ngp-consider__label { display: block; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ngp-text-muted); }

.ngp-facts {
	display: grid;
	gap: 0;
	margin: 0;
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-sm);
	font-size: var(--ngp-fs-sm);
}
.ngp-facts > div { display: flex; justify-content: space-between; gap: var(--ngp-s3); padding: 9px 12px; }
.ngp-facts > div + div { border-top: 1px solid var(--ngp-border); }
.ngp-facts dt { color: var(--ngp-text-muted); }
.ngp-facts dd { margin: 0; color: var(--ngp-navy); font-weight: 600; text-align: right; }

.ngp-verified {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: var(--ngp-fs-xs);
	font-weight: 500;
	color: var(--ngp-success);
}
.ngp-verified.is-pending { color: var(--ngp-text-muted); }
.ngp-verified.is-stale { padding: 6px 10px; border-radius: var(--ngp-radius-sm); background: var(--ngp-warning-wash); color: var(--ngp-warning); }
.ngp-verified .ngp-icon { flex: none; }

.ngp-product-card__actions {
	display: grid;
	gap: var(--ngp-s2);
	margin-top: auto;
	padding-top: var(--ngp-s4);
	border-top: 1px solid var(--ngp-border);
}
.ngp-product-card__sub { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ngp-s2); min-height: 32px; }
.ngp-product-card__sub:empty { display: none; }
.ngp-aff-tag { font-size: 0.75rem; color: var(--ngp-text-muted); }
.ngp-product-card.is-draft .ngp-logo-tile { opacity: 0.8; }

/* Disclosure + admin notes */
.ngp-disclosure-note,
.ngp-disclosure-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: var(--ngp-s5) 0 0;
	font-size: var(--ngp-fs-xs);
	color: var(--ngp-text-muted);
}
.ngp-disclosure-note .ngp-icon,
.ngp-disclosure-bar .ngp-icon { flex: none; }
.ngp-disclosure-bar {
	flex-wrap: nowrap;
	align-items: flex-start;
	margin: 0 0 var(--ngp-s5);
	padding: 10px 14px;
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-sm);
	background: var(--ngp-bg);
	line-height: 1.5;
}
.ngp-disclosure-bar .ngp-icon { margin-top: 1px; color: var(--ngp-teal-strong); }

.ngp-admin-notice {
	margin: var(--ngp-s4) 0;
	padding: var(--ngp-s3) var(--ngp-s4);
	border: 1px dashed var(--ngp-warning);
	border-radius: var(--ngp-radius-sm);
	background: var(--ngp-warning-wash);
	color: var(--ngp-warning);
	font-size: var(--ngp-fs-sm);
}
.ngp-admin-notice a { color: var(--ngp-warning); font-weight: 600; }

.ngp-meta-date { white-space: nowrap; }

/* Search */
.ngp-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--ngp-s2);
	padding: 4px;
	background: var(--ngp-surface);
	border: 1px solid var(--ngp-border-strong);
	border-radius: var(--ngp-radius-input);
	box-shadow: var(--ngp-shadow-sm);
	transition: border-color var(--ngp-dur), box-shadow var(--ngp-dur);
}
.ngp-search:hover { border-color: #b9c3d1; }
.ngp-search:focus-within { border-color: var(--ngp-teal-strong); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.16); }
.ngp-search__icon { display: grid; place-items: center; padding-left: 10px; color: var(--ngp-text-muted); }
.ngp-search:focus-within .ngp-search__icon { color: var(--ngp-teal-strong); }
.ngp-search__input {
	flex: 1;
	min-width: 0;
	min-height: var(--ngp-control);
	padding: 0 4px;
	border: 0;
	background: transparent;
	font-size: var(--ngp-fs-base);
	color: var(--ngp-text);
}
.ngp-search__input:focus { outline: none; }
.ngp-search__input:focus-visible { box-shadow: none; }
.ngp-search__input::placeholder { color: var(--ngp-text-muted); opacity: 1; }
.ngp-search__input::-webkit-search-cancel-button { cursor: pointer; }

.ngp-search--hero {
	padding: 6px;
	border-width: 1.5px;
	border-radius: 16px;
	box-shadow: 0 1px 2px rgba(20, 36, 58, 0.05), 0 12px 32px -16px rgba(20, 36, 58, 0.25);
}
.ngp-search--hero .ngp-search__icon { padding-left: 12px; }
.ngp-search--hero .ngp-search__icon .ngp-icon { width: 22px; height: 22px; }
.ngp-search--hero .ngp-search__input { min-height: var(--ngp-control-xl); font-size: var(--ngp-fs-md); }
.ngp-search--hero .ngp-search__submit { min-height: var(--ngp-control-lg); padding-inline: var(--ngp-s6); font-size: var(--ngp-fs-base); border-radius: 12px; }
@media (max-width: 479px) {
	.ngp-search__submit { padding-inline: var(--ngp-s4); }
	/* Stack on small phones so the full placeholder stays readable. */
	.ngp-search--hero { flex-wrap: wrap; padding: 6px; }
	.ngp-search--hero .ngp-search__input { flex: 1 1 calc(100% - 48px); min-height: 52px; font-size: var(--ngp-fs-base); }
	.ngp-search--hero .ngp-search__submit { flex: 1 1 100%; }
}

/* Newsletter form (markup from the core plugin) */
.ngp-newsletter-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.ngp-newsletter-form__row { display: flex; flex-wrap: wrap; gap: var(--ngp-s2); }
.ngp-newsletter-form input[type="email"] {
	flex: 1 1 240px;
	min-width: 0;
	min-height: var(--ngp-control-lg);
	padding: 0 var(--ngp-s4);
	border: 1px solid var(--ngp-border-strong);
	border-radius: var(--ngp-radius-control);
	background: var(--ngp-surface);
	font-size: var(--ngp-fs-base);
	transition: border-color var(--ngp-dur), box-shadow var(--ngp-dur);
}
.ngp-newsletter-form input[type="email"]:focus { outline: none; border-color: var(--ngp-teal-strong); box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.16); }
.ngp-newsletter-form input[type="email"]::placeholder { color: var(--ngp-text-muted); opacity: 1; }
.ngp-newsletter-form .ngp-button { min-height: var(--ngp-control-lg); flex: 0 1 auto; padding-inline: var(--ngp-s6); font-size: var(--ngp-fs-base); }
@media (max-width: 479px) { .ngp-newsletter-form .ngp-button { flex: 1 1 100%; } }
.ngp-newsletter-form__consent { display: flex; gap: 8px; align-items: flex-start; margin-top: var(--ngp-s3); font-size: var(--ngp-fs-sm); }
.ngp-newsletter-form__consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--ngp-teal-strong); }
.ngp-newsletter-form__note { margin: var(--ngp-s3) 0 0; font-size: var(--ngp-fs-xs); line-height: 1.6; color: var(--ngp-text-muted); }
.ngp-newsletter-form__note a { color: var(--ngp-teal-strong); }
.ngp-newsletter-form__off { margin: var(--ngp-s2) 0 0; font-size: var(--ngp-fs-sm); font-weight: 600; color: var(--ngp-warning); }
fieldset:disabled input[type="email"] { background: var(--ngp-bg); cursor: not-allowed; }

/* ---------- 5. Header ---------- */
.site-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--ngp-border);
	transition: box-shadow 0.2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would
   become the containing block for the fixed mobile nav panel and clip it. */
@supports (backdrop-filter: blur(8px)) {
	.site-header { background: transparent; }
	.site-header::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: -1;
		background: rgba(255, 255, 255, 0.86);
		backdrop-filter: saturate(180%) blur(10px);
		-webkit-backdrop-filter: saturate(180%) blur(10px);
	}
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--ngp-border), 0 8px 24px -18px rgba(20, 36, 58, 0.4); }
@media (max-width: 600px) {
	/* WP's admin bar is not fixed at this width, so don't offset. */
	.admin-bar .site-header { top: 0; }
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--ngp-s4);
	min-height: var(--ngp-header-h);
}
.site-header__brand { flex: none; margin-right: auto; }
.site-header__actions { display: flex; align-items: center; gap: var(--ngp-s1); }
.site-header__cta { display: none; }

/* Logo */
.ngp-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ngp-navy);
	text-decoration: none;
	border-radius: 8px;
}
.ngp-logo:hover { color: var(--ngp-navy); }
.ngp-logo__mark { flex: none; }
.ngp-logo__word {
	font-family: var(--ngp-font-heading);
	font-size: 1.1875rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
}
.ngp-logo__word span { color: #0d7a6e; } /* logo colours are fixed, not tied to the UI palette */
.custom-logo-link img { max-height: 40px; width: auto; }

/* Primary nav — mobile panel */
.site-nav__list { display: flex; flex-direction: column; }
.site-nav__list a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 10px 4px;
	border-bottom: 1px solid var(--ngp-border);
	color: var(--ngp-navy);
	font-weight: 600;
	text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"],
.site-nav__list .current-menu-item > a { color: var(--ngp-teal-strong); }
.site-nav__cta { width: 100%; margin-top: var(--ngp-s5); min-height: 50px; }

.js .site-nav {
	position: fixed;
	inset: calc(var(--ngp-header-h) + var(--wp-admin--admin-bar--height, 0px)) 0 0 0;
	z-index: 99;
	padding: var(--ngp-s4) var(--ngp-gutter) var(--ngp-s7);
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--ngp-surface);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity 0.2s, transform 0.2s var(--ngp-ease), visibility 0s 0.2s;
}
.js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.js.ngp-nav-open { overflow: hidden; }

/* No-JS: nav as a wrapped row under the logo, no toggle, link to search page. */
.no-js .site-header__inner { flex-wrap: wrap; }
.no-js .site-nav { order: 3; flex-basis: 100%; padding-bottom: var(--ngp-s2); }
.no-js .site-nav__list { flex-direction: row; flex-wrap: wrap; gap: 0 var(--ngp-s4); }
.no-js .site-nav__list a { border: 0; min-height: 44px; }
.no-js .site-nav__cta,
.no-js .nav-toggle,
.no-js .search-open--button { display: none; }
.js .search-open--link { display: none; }
.ngp-no-dialog .search-open--link { display: inline-grid; }
.ngp-no-dialog .search-open--button { display: none; }

@media (max-width: 600px) and (min-width: 0) {
	.admin-bar.js .site-nav { inset-block-start: var(--ngp-header-h); }
}

/* Desktop nav */
@media (min-width: 1024px) {
	.site-header__inner { gap: var(--ngp-s6); }
	.site-header__brand { margin-right: 0; }
	.js .site-nav,
	.no-js .site-nav {
		position: static;
		order: 0;
		flex: 1;
		flex-basis: auto;
		padding: 0;
		overflow: visible;
		background: none;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}
	.site-nav__list,
	.no-js .site-nav__list { flex-direction: row; justify-content: center; align-items: center; gap: 2px; }
	.site-nav__list a,
	.no-js .site-nav__list a {
		position: relative;
		min-height: 40px;
		padding: 8px 12px;
		border: 0;
		border-radius: 8px;
		font-size: 0.9375rem;
		font-weight: 500;
		color: var(--ngp-text);
	}
	.site-nav__list a:hover { background: var(--ngp-bg); color: var(--ngp-navy); }
	.site-nav__list > li > a[aria-current="page"],
	.site-nav__list > .current-menu-item > a { color: var(--ngp-navy); font-weight: 600; }
	.site-nav__list a[aria-current="page"]::after,
	.site-nav__list .current-menu-item > a::after {
		content: "";
		position: absolute;
		left: 12px;
		right: 12px;
		bottom: 2px;
		height: 2px;
		border-radius: 2px;
		background: var(--ngp-teal);
	}
	.site-nav__cta,
	.nav-toggle { display: none !important; }
	.site-header__cta { display: inline-flex; margin-left: var(--ngp-s2); }
	.site-header__actions { gap: var(--ngp-s2); }
	.no-js .site-header__inner { flex-wrap: nowrap; }
}

/* Dropdown sub-menus (one level) */
.site-nav .menu-item-has-children { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.site-nav .menu-item-has-children > a { flex: 1; }
.sub-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--ngp-navy);
	cursor: pointer;
}
.sub-toggle svg { transition: transform var(--ngp-dur); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav .sub-menu { flex-basis: 100%; margin: 0; padding: 0 0 var(--ngp-s2) var(--ngp-s4); list-style: none; }
.js .site-nav .sub-menu { display: none; }
.js .site-nav .is-sub-open > .sub-menu { display: block; }
.site-nav .sub-menu a { min-height: 44px; font-weight: 500; border-bottom: 0; }

@media (min-width: 1024px) {
	.site-nav .menu-item-has-children { flex-wrap: nowrap; }
	.site-nav .menu-item-has-children > a { padding-right: 4px; }
	.sub-toggle { width: 28px; height: 40px; margin-left: -4px; }
	.site-nav .sub-menu,
	.js .site-nav .sub-menu {
		position: absolute;
		top: calc(100% + 6px);
		left: 0;
		z-index: 110;
		display: block;
		min-width: 230px;
		padding: var(--ngp-s2);
		background: var(--ngp-surface);
		border: 1px solid var(--ngp-border);
		border-radius: var(--ngp-radius-card);
		box-shadow: var(--ngp-shadow-lg);
		visibility: hidden;
		opacity: 0;
		transform: translateY(-4px);
		transition: opacity var(--ngp-dur), transform var(--ngp-dur), visibility 0s var(--ngp-dur);
	}
	.site-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; } /* hover bridge */
	.site-nav .menu-item-has-children:hover > .sub-menu,
	.site-nav .menu-item-has-children:focus-within > .sub-menu,
	.site-nav .is-sub-open > .sub-menu { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.site-nav .sub-menu a { display: flex; width: 100%; min-height: 40px; padding: 8px 12px; border-radius: 8px; }
	.site-nav .sub-menu a::after { display: none; }
}

/* Search dialog */
.search-dialog {
	width: min(640px, calc(100% - 2 * var(--ngp-gutter)));
	max-width: none;
	margin: 12vh auto auto;
	padding: 0;
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-lg);
	background: var(--ngp-surface);
	color: var(--ngp-text);
	box-shadow: var(--ngp-shadow-lg);
}
.search-dialog::backdrop { background: rgba(20, 36, 58, 0.45); }
.search-dialog__inner { padding: var(--ngp-s5); }
.search-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: var(--ngp-s3); margin-bottom: var(--ngp-s4); }
.search-dialog__title { margin: 0; font-size: var(--ngp-fs-lg); }

/* ---------- 6. Hero ---------- */
.ngp-hero {
	position: relative;
	padding-block: var(--ngp-s7) var(--ngp-section);
	background:
		radial-gradient(56rem 26rem at 88% -12%, rgba(13, 148, 136, 0.09), transparent 70%),
		linear-gradient(180deg, #ffffff 0%, var(--ngp-bg) 100%);
	border-bottom: 1px solid var(--ngp-border);
	overflow: hidden;
}
.ngp-hero::before {
	/* faint dot grid, purely decorative */
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(20, 36, 58, 0.06) 1px, transparent 1px);
	background-size: 24px 24px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
	pointer-events: none;
}
.ngp-hero__grid { position: relative; display: grid; gap: var(--ngp-s7); align-items: center; }
.ngp-hero__copy { max-width: 620px; }
.ngp-hero .ngp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border: 1px solid rgba(8, 127, 91, 0.18);
	border-radius: 999px;
	background: rgba(236, 251, 244, 0.7);
	font-size: 0.75rem;
}
.ngp-hero .ngp-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ngp-teal); }
.ngp-hero__title {
	max-width: 14ch;
	margin: var(--ngp-s5) 0 var(--ngp-s5);
	font-size: var(--ngp-fs-2xl);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.035em;
}
.ngp-hero__text { max-width: 52ch; margin-bottom: var(--ngp-s6); font-size: var(--ngp-fs-lg); line-height: 1.6; color: #4b5565; }
.ngp-hero__suggest { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ngp-s2) var(--ngp-s3); margin-top: var(--ngp-s4); }
.ngp-hero__suggest-label { font-size: var(--ngp-fs-sm); font-weight: 500; color: var(--ngp-text-muted); }
.ngp-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ngp-s3); margin-top: var(--ngp-s6); }
.ngp-hero__ctas .ngp-button--secondary { background: transparent; }
@media (max-width: 479px) {
	.ngp-hero__ctas .ngp-button { flex: 1 1 100%; }
}

/* Hero visual: illustrative comparison of two fictional products */
.ngp-hero__visual { position: relative; }
.ngp-mock {
	position: relative;
	background: var(--ngp-surface);
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-lg);
	box-shadow: var(--ngp-shadow-lg);
	overflow: hidden;
}
.ngp-mock__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--ngp-s3);
	padding: 12px 18px;
	border-bottom: 1px solid var(--ngp-border);
	background: var(--ngp-bg);
}
.ngp-mock__title { display: inline-flex; align-items: center; gap: 8px; font-size: var(--ngp-fs-xs); font-weight: 600; color: var(--ngp-navy); }
.ngp-mock__title .ngp-icon { color: var(--ngp-teal-strong); }
.ngp-mock__tag { flex: none; white-space: nowrap; padding: 2px 8px; border: 1px solid var(--ngp-border-strong); border-radius: 999px; font-size: 0.6875rem; font-weight: 600; color: var(--ngp-text-muted); background: var(--ngp-surface); }
.ngp-mock__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
	font-size: var(--ngp-fs-sm);
}
.ngp-mock__grid > span { display: flex; align-items: center; min-height: 44px; padding: 8px 14px; border-bottom: 1px solid var(--ngp-border); }
.ngp-mock__grid > span:nth-last-child(-n+3) { border-bottom: 0; }
.ngp-mock__corner { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ngp-text-muted); }
.ngp-mock__product { gap: 10px; min-height: 64px !important; border-left: 1px solid var(--ngp-border); }
.ngp-mock__product strong { display: block; font-family: var(--ngp-font-heading); font-size: var(--ngp-fs-base); color: var(--ngp-navy); line-height: 1.2; }
.ngp-mock__product small { display: block; font-size: 0.6875rem; color: var(--ngp-text-muted); }
.ngp-mock__logo {
	display: grid;
	place-items: center;
	flex: none;
	width: 32px;
	height: 32px;
	border-radius: 9px;
	background: var(--ngp-navy);
	color: #fff;
	font-family: var(--ngp-font-heading);
	font-weight: 800;
	font-size: 0.875rem;
}
.ngp-mock__logo--b { background: var(--ngp-teal-strong); }
.ngp-mock__label { font-size: var(--ngp-fs-xs); font-weight: 500; color: var(--ngp-text-muted); }
.ngp-mock__cell { border-left: 1px solid var(--ngp-border); font-weight: 600; color: var(--ngp-navy); }
.ngp-mock__grid > .is-hl { background: rgba(236, 251, 244, 0.65); }
.ngp-mock__yes { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ngp-teal-wash); color: var(--ngp-teal-strong); }
.ngp-mock__no { color: var(--ngp-text-muted); font-weight: 600; }
.ngp-mock__foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	padding: 12px 18px;
	border-top: 1px solid var(--ngp-border);
	background: var(--ngp-teal-wash);
	font-size: var(--ngp-fs-xs);
	font-weight: 600;
	color: var(--ngp-teal-strong);
}
.ngp-mock__foot span { display: inline-flex; align-items: center; gap: 6px; }
.ngp-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	background: var(--ngp-surface);
	border: 1px solid var(--ngp-border);
	border-radius: 999px;
	box-shadow: var(--ngp-shadow);
	font-size: var(--ngp-fs-xs);
	font-weight: 600;
	color: var(--ngp-navy);
}
.ngp-float--note { bottom: -18px; left: 16px; }
.ngp-float--note .ngp-icon { color: var(--ngp-success); }

@media (max-width: 639px) {
	.ngp-float { display: none; }
	.ngp-mock__grid > span { padding: 8px 10px; }
	.ngp-mock__product small { display: none; }
	.ngp-mock__logo { display: none; }
	.ngp-mock__product strong { font-size: var(--ngp-fs-sm); overflow-wrap: anywhere; }
	.ngp-mock__grid > span:nth-child(n+13) { display: none; }   /* show three rows on phones */
	.ngp-mock__grid > span:nth-child(10), .ngp-mock__grid > span:nth-child(11), .ngp-mock__grid > span:nth-child(12) { border-bottom: 0; }
}
@media (min-width: 1024px) {
	.ngp-hero { padding-block: var(--ngp-s8) var(--ngp-section); }
	.ngp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--ngp-s8); }
	.ngp-mock__grid > span { min-height: 50px; padding-inline: 18px; }
	.ngp-float--note { bottom: -18px; left: -18px; }
}
@media (min-width: 1280px) {
	.ngp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); }
}

/* ---------- 7. Homepage sections ---------- */

/* Categories */
.ngp-cat-card,
.ngp-grid > li.ngp-cat-card {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "icon title" "icon desc" "icon more";
	align-content: start;
	column-gap: var(--ngp-s4);
	row-gap: 4px;
	padding: var(--ngp-s5);
	background: var(--ngp-surface);
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-card);
	box-shadow: var(--ngp-shadow-sm);
	transition: border-color var(--ngp-dur), background-color var(--ngp-dur), box-shadow var(--ngp-dur);
}
.ngp-cat-card:hover { border-color: rgba(8, 127, 91, 0.45); background: #fcfefe; box-shadow: var(--ngp-shadow); }
.ngp-cat-card__icon {
	grid-area: icon;
	display: inline-grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(8, 127, 91, 0.16);
	border-radius: 12px;
	background: var(--ngp-teal-wash);
	color: var(--ngp-teal-strong);
	transition: background-color var(--ngp-dur), color var(--ngp-dur);
}
.ngp-cat-card:hover .ngp-cat-card__icon { background: var(--ngp-teal-strong); color: #fff; }
.ngp-cat-card__title { grid-area: title; margin: 2px 0 0; font-size: var(--ngp-fs-lg); }
.ngp-cat-card__desc { grid-area: desc; margin: 0; font-size: var(--ngp-fs-sm); line-height: 1.55; color: var(--ngp-text-muted); }
.ngp-cat-card__more { grid-area: more; display: inline-flex; align-items: center; gap: 6px; margin-top: var(--ngp-s2); font-size: var(--ngp-fs-sm); font-weight: 600; color: var(--ngp-teal-strong); }
.ngp-cat-card__more .ngp-icon { transition: transform var(--ngp-dur) var(--ngp-ease); }
.ngp-cat-card:hover .ngp-cat-card__more .ngp-icon { transform: translateX(3px); }
@media (min-width: 1024px) {
	.ngp-cat-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: "icon" "title" "desc" "more"; row-gap: var(--ngp-s2); padding: var(--ngp-s6) var(--ngp-s5); }
	.ngp-cat-card__icon { margin-bottom: var(--ngp-s2); }
	.ngp-cat-card__more { margin-top: auto; padding-top: var(--ngp-s2); }
	.ngp-cat-card { grid-template-rows: auto auto 1fr auto; }
}

/* Comparisons */
.ngp-compare-card { gap: var(--ngp-s3); }
.ngp-compare-card__logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--ngp-s3);
	margin: calc(-1 * var(--ngp-card-pad)) calc(-1 * var(--ngp-card-pad)) var(--ngp-s2);
	padding: var(--ngp-s5);
	border-bottom: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-card) var(--ngp-radius-card) 0 0;
	background: linear-gradient(180deg, var(--ngp-bg) 0%, #ffffff 100%);
}
.ngp-compare-card__vs {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ngp-navy);
	font-size: 0.6875rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
}
.ngp-compare-card:hover { border-color: rgba(8, 127, 91, 0.45); }

/* Best tools (navy band) */
.ngp-section--navy {
	background:
		radial-gradient(40rem 20rem at 100% 0%, rgba(110, 231, 183, 0.08), transparent 70%),
		var(--ngp-navy);
	color: var(--ngp-on-navy);
}
.ngp-section--navy .ngp-section__title { color: #fff; }
.ngp-section--navy .ngp-section__text { color: var(--ngp-on-navy-muted); }
.ngp-section--navy .ngp-link-arrow { color: var(--ngp-teal-light); }
.ngp-section--navy a.ngp-link-arrow:hover { color: #fff; }
.ngp-section--navy :focus-visible { box-shadow: 0 0 0 3px var(--ngp-navy), 0 0 0 5px var(--ngp-teal-light); }

.ngp-best-list { display: grid; gap: var(--ngp-s3); }
@media (min-width: 768px) { .ngp-best-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ngp-s4); } }
@media (min-width: 1200px) { .ngp-best-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ngp-best-item {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	grid-template-areas: "icon body" "icon cta";
	grid-template-rows: 1fr auto;
	column-gap: var(--ngp-s4);
	row-gap: var(--ngp-s2);
	padding: var(--ngp-s5);
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--ngp-radius-card);
	transition: background-color var(--ngp-dur), border-color var(--ngp-dur);
}
.ngp-best-item:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(110, 231, 183, 0.55); }
.ngp-best-item__icon { grid-area: icon; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(110, 231, 183, 0.25); border-radius: 12px; background: rgba(110, 231, 183, 0.12); color: var(--ngp-teal-light); }
.ngp-best-item__body { grid-area: body; min-width: 0; }
.ngp-best-item__title { margin: 0 0 4px; font-size: var(--ngp-fs-md); line-height: 1.35; color: #fff; }
.ngp-best-item__meta { margin: 0; font-size: var(--ngp-fs-xs); color: var(--ngp-on-navy-muted); }
.ngp-best-item__cta { grid-area: cta; display: inline-flex; align-items: center; gap: 6px; font-size: var(--ngp-fs-sm); font-weight: 600; color: var(--ngp-teal-light); }
.ngp-best-item__cta .ngp-icon { transition: transform var(--ngp-dur) var(--ngp-ease); }
.ngp-best-item:hover .ngp-best-item__cta .ngp-icon { transform: translateX(3px); }
.ngp-section--navy .ngp-stretched:focus-visible::after { box-shadow: 0 0 0 3px var(--ngp-teal-light); }

/* How we review (homepage) + review methodology page share these styles */
.ngp-m { display: grid; gap: var(--ngp-s7); align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 3rem); background: var(--ngp-teal-wash); border: 1px solid #d6efe3; border-radius: 24px; }
@media (min-width: 960px) { .ngp-m { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3.5rem; } }
.ngp-m__eyebrow { margin: 0 0 var(--ngp-s3); font-size: var(--ngp-fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ngp-emerald); }
.ngp-m__title { margin: 0 0 var(--ngp-s4); font-family: var(--ngp-font-heading); font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem); line-height: 1.12; letter-spacing: -0.02em; color: var(--ngp-navy); }
.ngp-m__lead { margin: 0 0 var(--ngp-s6); font-size: var(--ngp-fs-lg); line-height: 1.6; color: #334155; }
.ngp-m__more { margin: var(--ngp-s6) 0 0; }
.ngp-m-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--ngp-s5); }
.ngp-m-steps li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: var(--ngp-s4); align-items: start; margin: 0; }
.ngp-m-steps li::marker { content: ""; }
.ngp-m-step__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ngp-navy); color: #fff; font-family: var(--ngp-font-heading); font-size: 1rem; font-weight: 700; }
.ngp-m-steps h3 { margin: 0.35rem 0 0.25rem; font-size: var(--ngp-fs-md); line-height: 1.3; color: var(--ngp-navy); }
.ngp-m-steps p { margin: 0; font-size: 0.975rem; line-height: 1.65; color: var(--ngp-text-muted); }
.ngp-m-card { padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--ngp-surface); border: 1px solid var(--ngp-border); border-radius: 20px; box-shadow: var(--ngp-shadow-lg); }
.ngp-m-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--ngp-s4); padding-bottom: var(--ngp-s4); border-bottom: 1px solid var(--ngp-border); }
.ngp-m-card__head h3 { margin: 0; font-size: var(--ngp-fs-lg); color: var(--ngp-navy); }
.ngp-m-card__head span { font-size: var(--ngp-fs-xs); color: var(--ngp-text-muted); white-space: nowrap; }
.ngp-m-card__list { list-style: none; margin: 0; padding: 0; }
.ngp-m-card__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: var(--ngp-s3); align-items: center; margin: 0; padding: 0.85rem 0; border-bottom: 1px solid #f1f5f9; }
.ngp-m-card__list li:last-child { border-bottom: 0; }
.ngp-m-card__list li::marker { content: ""; }
.ngp-m-card__check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ngp-mint); color: var(--ngp-emerald); }
.ngp-m-card__name { font-weight: 600; font-size: 0.975rem; color: var(--ngp-navy); }
.ngp-m-card__src { font-size: var(--ngp-fs-xs); color: var(--ngp-text-muted); text-align: right; white-space: nowrap; }
.ngp-m-card__note { display: flex; gap: 0.6rem; align-items: flex-start; margin: var(--ngp-s4) 0 0; padding: 0.9rem var(--ngp-s4); border-radius: 12px; background: var(--ngp-teal-wash); font-size: 0.9rem; line-height: 1.5; color: var(--ngp-emerald-ink); }
.ngp-m-card__note svg { flex: none; margin-top: 2px; color: var(--ngp-emerald); }
.ngp-m-card__note a { font-weight: 600; color: var(--ngp-emerald-ink); }
@media (max-width: 480px) {
	.ngp-m-card__list li { grid-template-columns: 28px minmax(0, 1fr); }
	.ngp-m-card__src { grid-column: 2; margin-top: -0.4rem; text-align: left; white-space: normal; }
	.ngp-m-card__head { flex-direction: column; gap: 2px; }
}

/* Article cards */
.ngp-article-card { gap: var(--ngp-s2); }
.ngp-article-card .ngp-card__title { margin-bottom: 2px; }
.ngp-article-card__media { margin: calc(-1 * var(--ngp-card-pad)) calc(-1 * var(--ngp-card-pad)) var(--ngp-s3); aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--ngp-radius-card) var(--ngp-radius-card) 0 0; background: var(--ngp-bg); }
.ngp-article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ngp-article-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--ngp-s2) 0 0; font-size: var(--ngp-fs-xs); color: var(--ngp-text-muted); }
.ngp-article-card .ngp-kicker {
	align-self: flex-start;
	padding: 3px 8px;
	border-radius: 6px;
	background: var(--ngp-teal-wash);
	font-size: 0.6875rem;
}

/* Newsletter */
.ngp-newsletter {
	position: relative;
	display: grid;
	gap: var(--ngp-s6);
	align-items: center;
	padding: var(--ngp-s6) var(--ngp-s5);
	background:
		radial-gradient(30rem 18rem at 100% 100%, rgba(13, 148, 136, 0.10), transparent 70%),
		var(--ngp-surface);
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-lg);
	box-shadow: var(--ngp-shadow-sm);
	overflow: hidden;
}
@media (min-width: 900px) {
	.ngp-newsletter { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); padding: var(--ngp-s7); gap: var(--ngp-s7); }
}
.ngp-newsletter__copy .ngp-section__title { font-size: var(--ngp-fs-xl); }
.ngp-newsletter__copy .ngp-section__text { margin-bottom: var(--ngp-s5); max-width: 52ch; }
.ngp-newsletter__magnet { position: relative; justify-self: center; width: min(100%, 300px); padding: var(--ngp-s3) var(--ngp-s4) var(--ngp-s4) 0; }
.ngp-doc {
	position: relative;
	padding: var(--ngp-s5);
	background: #fff;
	border: 1px solid var(--ngp-border);
	border-radius: 10px;
	box-shadow: var(--ngp-shadow-lg);
	font-size: 0.75rem;
	color: var(--ngp-text);
}
.ngp-doc--back { position: absolute; inset: var(--ngp-s5) 0 0 var(--ngp-s4); padding: 0; transform: rotate(3deg); box-shadow: var(--ngp-shadow); background: var(--ngp-bg); }
.ngp-doc__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--ngp-s4); padding-bottom: var(--ngp-s3); border-bottom: 1px solid var(--ngp-border); }
.ngp-doc__badge { padding: 2px 8px; border-radius: 999px; background: var(--ngp-teal-wash); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ngp-teal-strong); }
.ngp-doc__title { margin: 0 0 var(--ngp-s4); font-family: var(--ngp-font-heading); font-size: 1.0625rem; font-weight: 800; line-height: 1.25; color: var(--ngp-navy); }
.ngp-doc__section { margin: 0 0 6px; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ngp-text-muted); }
.ngp-doc__list { margin: 0 0 var(--ngp-s3) !important; padding: 0; list-style: none; display: grid; gap: 7px; }
.ngp-doc__list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.ngp-doc__list li::before { content: ""; flex: none; width: 13px; height: 13px; margin-top: 1px; border: 1.5px solid var(--ngp-border-strong); border-radius: 3px; }
.ngp-doc__list li.is-done::before {
	border-color: var(--ngp-teal-strong);
	background: var(--ngp-teal-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.ngp-doc__foot { display: flex; justify-content: space-between; margin: var(--ngp-s4) 0 0; padding-top: var(--ngp-s3); border-top: 1px solid var(--ngp-border); font-size: 0.625rem; color: var(--ngp-text-muted); }
@media (max-width: 639px) { .ngp-newsletter__magnet { display: none; } }

/* ---------- 8. Inner pages ---------- */
.ngp-page-head { padding-block: var(--ngp-s7) var(--ngp-s6); }
.ngp-page-head__title { font-size: var(--ngp-fs-xl); font-weight: 800; margin-bottom: var(--ngp-s3); }
.ngp-page-head__text { color: var(--ngp-text-muted); font-size: var(--ngp-fs-md); max-width: 60ch; }
.ngp-page-head__search { max-width: 560px; margin-top: var(--ngp-s5); }
.ngp-entry__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--ngp-fs-sm); color: var(--ngp-text-muted); }

.entry-content { padding-bottom: var(--ngp-section); font-size: var(--ngp-fs-md); }
.entry-content > * + * { margin-top: var(--ngp-s4); }
.entry-content h2 { font-size: var(--ngp-fs-xl); margin-top: var(--ngp-s7); }
.entry-content h3 { font-size: var(--ngp-fs-lg); margin-top: var(--ngp-s6); }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.entry-content img { border-radius: var(--ngp-radius-sm); }
.entry-content .alignwide { max-width: min(1100px, 100vw - 2 * var(--ngp-gutter)); margin-inline: auto; }

.ngp-empty { display: grid; justify-items: center; gap: var(--ngp-s2); padding: var(--ngp-s7) var(--ngp-s5); text-align: center; background: var(--ngp-surface); border: 1px dashed var(--ngp-border-strong); border-radius: var(--ngp-radius); }
.ngp-empty h2 { font-size: var(--ngp-fs-lg); margin: 0; }
.ngp-empty p { color: var(--ngp-text-muted); }

.navigation.pagination { margin-top: var(--ngp-s6); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--ngp-s2); }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--ngp-border); border-radius: 10px; background: var(--ngp-surface); color: var(--ngp-navy); text-decoration: none; font-weight: 600; }
.nav-links .page-numbers.current { background: var(--ngp-navy); border-color: var(--ngp-navy); color: #fff; }

/* ---------- 9. Footer ---------- */
.site-footer {
	--ngp-logo-tile: #ffffff;
	--ngp-logo-glyph: var(--ngp-navy);
	--ngp-logo-arrow: #0d7a6e;
	background: var(--ngp-navy);
	color: var(--ngp-on-navy-muted);
	padding-top: var(--ngp-section);
	font-size: var(--ngp-fs-sm);
}
.site-footer a { color: var(--ngp-on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--ngp-teal-light); text-decoration: underline; }
.site-footer :focus-visible { box-shadow: 0 0 0 3px var(--ngp-navy), 0 0 0 5px var(--ngp-teal-light); }
.site-footer .ngp-logo { color: #fff; }
.site-footer .ngp-logo__word span { color: #5fd3c4; }

.site-footer__top { display: grid; gap: var(--ngp-s7); padding-bottom: var(--ngp-s7); }
.site-footer__desc { max-width: 42ch; margin: var(--ngp-s4) 0 0; line-height: 1.7; }
.site-footer__heading { margin: 0 0 var(--ngp-s3); font-size: var(--ngp-fs-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; }
.site-footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ngp-s6) var(--ngp-s5); }
.site-footer__list { display: grid; gap: 2px; }
.site-footer__list a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ngp-on-navy-muted); }
.site-footer__list a:hover { color: #fff; }

.site-footer__newsletter { margin-top: var(--ngp-s6); padding: var(--ngp-s5); border: 1px solid var(--ngp-navy-80); border-radius: var(--ngp-radius); background: var(--ngp-navy-90); }
.site-footer__newsletter .site-footer__heading { text-transform: none; letter-spacing: -0.01em; font-family: var(--ngp-font-heading); font-size: var(--ngp-fs-md); }
.site-footer__small { margin: 0 0 var(--ngp-s3); }
.site-footer .ngp-newsletter-form input[type="email"] { background: #fff; color: var(--ngp-text); border-color: transparent; }
.site-footer fieldset:disabled input[type="email"] { background: #d9dfe7; }
.site-footer .ngp-newsletter-form__note { color: var(--ngp-on-navy-muted); }
.site-footer .ngp-newsletter-form__off { color: #f6c88a; }
.site-footer .ngp-newsletter-form .ngp-button--primary { background: var(--ngp-teal-light); color: var(--ngp-navy); }
.site-footer .ngp-newsletter-form .ngp-button--primary:hover { background: #fff; }
.site-footer .ngp-admin-notice { background: transparent; color: #f6c88a; border-color: #f6c88a; }
.site-footer .ngp-admin-notice a { color: #f6c88a; }

.site-footer__bottom { display: grid; gap: var(--ngp-s4); padding-block: var(--ngp-s5) var(--ngp-s6); border-top: 1px solid var(--ngp-navy-80); font-size: var(--ngp-fs-xs); }
.site-footer__disclosure { max-width: 90ch; margin: 0; }
.site-footer__disclosure a { text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--ngp-s2) var(--ngp-s5); }
.site-footer__legal p { margin: 0; }
.site-footer__inline { display: flex; flex-wrap: wrap; gap: var(--ngp-s1) var(--ngp-s4); }
.site-footer__inline a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ngp-on-navy-muted); }

@media (min-width: 768px) {
	.site-footer__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.site-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--ngp-s8); }
}

/* ---------- 10. Motion + print ---------- */
/* ---------- v0.3 additions: colour roles, labels, comparison facts, forms ---------- */
/* Icons use the secondary teal; text stays on emerald/navy for contrast. */
.ngp-cat-card__icon { color: var(--ngp-teal); }
.ngp-cat-card:hover .ngp-cat-card__icon { background: var(--ngp-emerald); color: #fff; }
.ngp-doc__badge { background: var(--ngp-mint); color: var(--ngp-emerald-ink); }

/* Article labels: icon + text + shape, so type never relies on colour alone */
.ngp-article-card .ngp-kicker { display: inline-flex; align-items: center; gap: 5px; background: var(--ngp-mint); color: var(--ngp-emerald-ink); }
.ngp-article-card .ngp-kicker .ngp-icon { flex: none; }
.ngp-article-card .ngp-kicker--comparison { background: #e8eef7; color: var(--ngp-navy); }
.ngp-article-card .ngp-kicker--review { background: var(--ngp-warning-wash); color: var(--ngp-warning); }
.ngp-article-card .ngp-kicker--buying-guide { background: var(--ngp-surface); color: var(--ngp-navy); box-shadow: inset 0 0 0 1px var(--ngp-border-strong); }

/* Comparison card: editor-entered key difference and audience */
.ngp-compare-card__facts { display: grid; gap: var(--ngp-s2); margin: 0; padding: var(--ngp-s3); border-radius: var(--ngp-radius-sm); background: var(--ngp-bg); font-size: var(--ngp-fs-sm); }
.ngp-compare-card__facts dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ngp-text-muted); }
.ngp-compare-card__facts dd { margin: 2px 0 0; color: var(--ngp-text); line-height: 1.5; }

/* Product card: review + compare links share the row */
.ngp-product-card__sub { justify-content: flex-start; column-gap: var(--ngp-s4); }
.ngp-product-card__sub .ngp-aff-tag { margin-left: auto; }
.ngp-link-arrow--quiet { color: var(--ngp-navy); }
.ngp-link-arrow--quiet:hover { color: var(--ngp-emerald); }

/* Hero preview built from a real comparison */
.ngp-mock.is-real .ngp-mock__foot { justify-content: space-between; flex-wrap: wrap; }
.ngp-mock.is-real .ngp-mock__tag { border-color: rgba(8, 127, 91, 0.35); color: var(--ngp-emerald-ink); background: var(--ngp-mint); }
.ngp-mock__foot .ngp-link-arrow { min-height: 32px; font-size: var(--ngp-fs-xs); }
.ngp-mock__no { font-weight: 500; }

/* Header CTA: slightly larger and always emerald */
.site-header__cta { min-height: var(--ngp-control); padding-inline: var(--ngp-s5); font-weight: 700; }

/* Search results: matching categories */
.ngp-page-head__cats { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ngp-s2); margin-top: var(--ngp-s4); font-size: var(--ngp-fs-sm); color: var(--ngp-text-muted); }

/* Newsletter validation */
.ngp-newsletter-form__error { display: flex; align-items: center; gap: 6px; margin: var(--ngp-s2) 0 0; font-size: var(--ngp-fs-sm); font-weight: 600; color: var(--ngp-warning); }
.ngp-newsletter-form__error::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--ngp-warning); color: #fff; font-size: 0.75rem; font-weight: 800; }
.ngp-newsletter-form__error[hidden] { display: none; }
.ngp-newsletter-form input[aria-invalid="true"],
.ngp-newsletter-form input[aria-invalid="true"]:focus { border-color: var(--ngp-warning); box-shadow: 0 0 0 3px rgba(148, 87, 15, 0.15); }
.site-footer .ngp-newsletter-form__error { color: #f6c88a; }

/* ---------- 8. v0.4: reviews, comparison tables, shared fact badges ---------- */

/* Fact badges (yes / no / limited / not verified): text always present, never colour alone */
.ngp-fact { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; white-space: nowrap; }
.ngp-fact .ngp-icon { flex: none; padding: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--ngp-mint); color: var(--ngp-emerald-ink); }
.ngp-fact--yes { color: var(--ngp-emerald-ink); }
.ngp-fact--no { color: var(--ngp-navy); }
.ngp-fact--limited { color: var(--ngp-warning); }
.ngp-fact--unknown { color: var(--ngp-text-muted); font-weight: 500; font-style: italic; }
.ngp-mock__cell .ngp-fact { font-size: inherit; }

/* Grids with one or two items: centred, no empty columns */
@media (min-width: 640px) {
	.ngp-grid--few { grid-template-columns: repeat(auto-fit, minmax(0, 380px)); justify-content: center; }
}

/* Hero: secondary action is a text link */
.ngp-hero__ctas .ngp-hero__link { min-height: var(--ngp-control); padding-inline: var(--ngp-s2); font-size: var(--ngp-fs-base); }

/* Categories without published software */
.ngp-cat-card.is-soon { background: var(--ngp-bg); box-shadow: none; }
.ngp-cat-card.is-soon:hover { border-color: var(--ngp-border); background: var(--ngp-bg); box-shadow: none; }
.ngp-cat-card.is-soon .ngp-cat-card__icon { opacity: 0.75; }
.ngp-cat-card.is-soon:hover .ngp-cat-card__icon { background: var(--ngp-teal-wash); color: var(--ngp-teal); }
.ngp-cat-card__soon { grid-area: more; margin-top: var(--ngp-s2); background: var(--ngp-surface); border: 1px solid var(--ngp-border); color: var(--ngp-text-muted); }

/* Breadcrumbs */
.ngp-breadcrumbs { margin-bottom: var(--ngp-s4); font-size: var(--ngp-fs-xs); color: var(--ngp-text-muted); }
.ngp-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 0; margin: 0; padding: 0; list-style: none; }
.ngp-breadcrumbs li { display: inline-flex; align-items: center; min-width: 0; }
.ngp-breadcrumbs li + li::before { content: "/"; margin-inline: 8px; color: var(--ngp-border-strong); }
.ngp-breadcrumbs a { display: inline-flex; align-items: center; min-height: 24px; color: var(--ngp-text-muted); text-decoration: none; }
.ngp-breadcrumbs a:hover { color: var(--ngp-emerald); text-decoration: underline; }
.ngp-breadcrumbs [aria-current] { overflow: hidden; max-width: 32ch; color: var(--ngp-text); text-overflow: ellipsis; white-space: nowrap; }

/* Review page */
.ngp-review__top { display: grid; gap: var(--ngp-s5); }
.ngp-review__intro { display: grid; gap: var(--ngp-s4); align-content: start; min-width: 0; }
.ngp-review__intro > * { margin: 0; }
.ngp-review__id { display: flex; align-items: center; gap: var(--ngp-s4); }
.ngp-review__id .ngp-page-head__title { margin: 0; }
.ngp-review__cat { display: inline-flex; min-height: 24px; text-decoration: none; }
.ngp-review__cat:hover { text-decoration: underline; }
.ngp-review__aside { align-self: start; }
.ngp-review__body { padding-bottom: var(--ngp-section); }
.ngp-review__body > .entry-content { padding-bottom: 0; }
.ngp-review__body > * + * { margin-top: var(--ngp-s6); }
@media (min-width: 1024px) {
	.ngp-review__top { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--ngp-s7); }
}

.ngp-review-cta {
	display: grid;
	gap: var(--ngp-s3);
	justify-items: center;
	padding: var(--ngp-s5);
	background: var(--ngp-surface);
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-card);
	box-shadow: var(--ngp-shadow);
	text-align: center;
}
.ngp-review-cta .ngp-disclosure-note { justify-content: center; margin: 0; }
.ngp-review-cta--end { background: var(--ngp-teal-wash); box-shadow: none; }
.ngp-review-cta__title { margin: 0; font-family: var(--ngp-font-heading); font-size: var(--ngp-fs-lg); font-weight: 800; color: var(--ngp-navy); }

.ngp-keyfacts,
.ngp-features {
	display: grid;
	gap: var(--ngp-s4);
	padding: var(--ngp-s5);
	background: var(--ngp-surface);
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-card);
}
.ngp-keyfacts > *,
.ngp-features > * { margin: 0; }
.ngp-keyfacts__title { margin: 0; font-size: var(--ngp-fs-lg); }
.ngp-keyfacts__sub { margin: 0; font-size: var(--ngp-fs-sm); text-transform: uppercase; letter-spacing: 0.07em; color: var(--ngp-text-muted); }
.ngp-keyfacts__list dd { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 4px 8px; }
.ngp-keyfacts__note { font-size: var(--ngp-fs-xs); font-weight: 500; color: var(--ngp-text-muted); }
.ngp-keyfacts__source { display: inline-flex; align-items: center; min-height: 24px; font-size: var(--ngp-fs-xs); font-weight: 600; color: var(--ngp-emerald); }

.ngp-feature-table,
.ngp-cmp__table { width: 100%; border-collapse: collapse; font-size: var(--ngp-fs-sm); }
.ngp-feature-table th,
.ngp-feature-table td,
.ngp-cmp__table th,
.ngp-cmp__table td { padding: 10px 12px; border-bottom: 1px solid var(--ngp-border); text-align: left; vertical-align: top; }
.ngp-feature-table thead th,
.ngp-cmp__table thead th { font-size: var(--ngp-fs-xs); color: var(--ngp-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ngp-feature-table tbody th,
.ngp-cmp__table tbody th { font-weight: 600; color: var(--ngp-navy); }
.ngp-feature-table__note { display: block; margin-top: 2px; font-size: var(--ngp-fs-xs); color: var(--ngp-text-muted); }

/* Comparison table */
.ngp-cmp { display: grid; gap: var(--ngp-s4); margin-block: var(--ngp-s6); }
.ngp-cmp > * { margin: 0; }
.entry-content .ngp-cmp__title { margin: 0; font-size: var(--ngp-fs-lg); }
.ngp-cmp__wide { display: none; }
.ngp-cmp__stack { display: grid; gap: var(--ngp-s4); margin: 0; padding: 0; list-style: none; }
.entry-content .ngp-cmp__stack { padding-left: 0; }
.ngp-cmp__card { display: grid; gap: var(--ngp-s3); padding: var(--ngp-s5); }
.ngp-cmp__card .ngp-facts dd { max-width: 60%; }
.ngp-cmp__card-cta { display: grid; gap: var(--ngp-s2); justify-items: center; }
.ngp-cmp__product { display: flex; align-items: center; gap: var(--ngp-s3); margin: 0; font-family: var(--ngp-font-heading); font-size: var(--ngp-fs-md); font-weight: 800; color: var(--ngp-navy); text-transform: none; letter-spacing: 0; }
.ngp-cmp__product a { color: inherit; text-decoration: none; }
.ngp-cmp__product a:hover { color: var(--ngp-emerald); text-decoration: underline; }
.ngp-cmp__cta-row td { border-bottom: 0; }
.ngp-cmp__cta-row td > .ngp-aff-tag { display: block; margin-top: 6px; text-align: center; }
.ngp-cmp__table .ngp-button { white-space: normal; text-align: center; }
@media (min-width: 640px) {
	.ngp-cmp__wide {
		display: block;
		overflow: hidden;
		background: var(--ngp-surface);
		border: 1px solid var(--ngp-border);
		border-radius: var(--ngp-radius-card);
	}
	.ngp-cmp__stack { display: none; }
	.ngp-cmp__table thead th { color: var(--ngp-navy); background: var(--ngp-bg); }
	.ngp-cmp__table { table-layout: fixed; }
	.ngp-cmp__table tbody th, .ngp-cmp__table thead td { width: 26%; background: var(--ngp-bg); }
}

/* Inline affiliate button in articles */
.ngp-inline-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--ngp-s3); }
.entry-content .ngp-inline-cta .ngp-button { color: #fff; text-decoration: none; }

/* Author box */
.ngp-author-box {
	display: flex;
	align-items: flex-start;
	gap: var(--ngp-s4);
	margin-bottom: var(--ngp-section);
	padding: var(--ngp-s5);
	background: var(--ngp-surface);
	border: 1px solid var(--ngp-border);
	border-radius: var(--ngp-radius-card);
}
.ngp-review__body .ngp-author-box { margin-bottom: 0; }
.ngp-author-box__avatar { flex: none; width: 56px; height: 56px; border-radius: 50%; }
.ngp-author-box p { margin: 0; }
.ngp-author-box__label { font-size: var(--ngp-fs-xs); font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ngp-text-muted); }
.ngp-author-box__name { font-family: var(--ngp-font-heading); font-weight: 800; color: var(--ngp-navy); }
.ngp-author-box__bio { margin-top: var(--ngp-s2) !important; font-size: var(--ngp-fs-sm); }

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.ngp-cat-card:hover { transform: none; }
}

@media print {
	.site-header, .site-footer__newsletter, .search-dialog, .ngp-hero__visual { display: none; }
	body { background: #fff; }
}

/* Second-level dropdown (opens to the side on desktop, nested on mobile) */
.site-nav .sub-menu .sub-menu { padding-bottom: 0; }
@media (min-width: 1024px) {
	.site-nav .sub-menu .menu-item-has-children { position: relative; }
	.site-nav .sub-menu .menu-item-has-children > a { padding-right: 8px; }
	.site-nav .sub-menu .sub-toggle { width: 28px; height: 40px; margin-left: 0; }
	.site-nav .sub-menu .sub-toggle svg { transform: rotate(-90deg); }
	.site-nav .sub-menu .sub-menu,
	.js .site-nav .sub-menu .sub-menu { top: calc(-1 * var(--ngp-s2) - 1px); left: calc(100% + 6px); transform: translateX(-4px); }
	.site-nav .sub-menu .sub-menu::before { top: 0; bottom: 0; left: -8px; right: auto; width: 8px; height: auto; }
}
