/*
Theme Name: Health Primer
Theme URI: https://thehealthprimer.com
Author: The Health Primer
Description: Custom editorial theme for TheHealthPrimer.com — a premium, calm, senior-friendly design system for independent health & wellness product reviews and education. Classic (non-block) child theme built on Twenty Twenty-Five.
Template: twentytwentyfive
Version: 1.1.1
Text Domain: health-primer
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
	/* Backgrounds */
	--hp-bg: #FAF7F1;
	--hp-bg-alt: #F2EDE3;
	--hp-surface: #FFFFFF;
	--hp-surface-sunken: #F6F2EA;

	/* Text */
	--hp-text: #24211D;
	--hp-text-secondary: #5C574C;
	--hp-text-muted: #837C6D;
	--hp-text-on-anchor: #FFFFFF;

	/* Anchor / primary CTA color — deep, calm teal (never red/orange) */
	--hp-anchor: #1B6B62;
	--hp-anchor-dark: #134F49;
	--hp-anchor-light: #E4F0EE;
	--hp-anchor-tint: #EFF6F4;

	/* Secondary brand accent — calm slate blue, used sparingly (Tools) */
	--hp-accent: #2F5D8A;
	--hp-accent-dark: #234869;
	--hp-accent-light: #E7EEF5;

	/* Caution / safety accent — reserved, separate from CTA color */
	--hp-caution: #B5762A;
	--hp-caution-bg: #FBF1E3;
	--hp-caution-border: #E6C393;

	/* Positive / "pros" accent (distinct from anchor so scorecards read clearly) */
	--hp-positive: #4C7A3E;
	--hp-positive-bg: #EFF5EC;
	--hp-positive-border: #C9DDBF;

	/* Info box */
	--hp-info-bg: #EFF4F2;
	--hp-info-border: #C9DCD6;

	/* Borders / lines */
	--hp-border: #E4DDCF;
	--hp-border-strong: #CFC6B3;

	/* Evidence levels */
	--hp-evidence-strong: #1B6B62;
	--hp-evidence-moderate: #4C7A3E;
	--hp-evidence-preliminary: #8A7A2E;
	--hp-evidence-limited: #B5762A;
	--hp-evidence-unknown: #6B6459;

	/* Type */
	--hp-font-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--hp-font-body: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;

	--hp-text-xs: 0.8125rem;
	--hp-text-sm: 0.9375rem;
	--hp-body-size: 1.125rem;   /* 18px base */
	--hp-text-md: 1.25rem;
	--hp-text-lg: clamp(1.25rem, 2vw, 1.5rem);
	--hp-text-xl: clamp(1.5rem, 2.4vw, 2rem);
	--hp-text-2xl: clamp(1.9rem, 3vw, 2.6rem);
	--hp-text-display: clamp(2.35rem, 4.4vw, 3.4rem);
	--hp-line-height: 1.7;

	/* Spacing scale */
	--hp-space-0: 0.375rem;
	--hp-space-1: 0.5rem;
	--hp-space-2: 1rem;
	--hp-space-3: 1.75rem;
	--hp-space-4: 2.75rem;
	--hp-space-5: 4rem;
	--hp-space-6: 6rem;

	/* Radius / shadow / motion */
	--hp-radius-sm: 6px;
	--hp-radius: 10px;
	--hp-radius-lg: 20px;
	--hp-radius-full: 999px;
	--hp-shadow-sm: 0 1px 2px rgba(30, 35, 32, 0.06);
	--hp-shadow-md: 0 6px 20px rgba(30, 35, 32, 0.08);
	--hp-shadow-lg: 0 16px 40px rgba(30, 35, 32, 0.13);
	--hp-transition: 180ms ease;
}

/* =========================================================
   BASE
   ========================================================= */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	background: var(--hp-bg);
	color: var(--hp-text);
	font-family: var(--hp-font-body);
	font-size: var(--hp-body-size);
	line-height: var(--hp-line-height);
	margin: 0;
}

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

a { color: var(--hp-anchor); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--hp-anchor-dark); }

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

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hp-font-ui);
	font-weight: 700;
	line-height: 1.25;
	color: var(--hp-text);
	margin-top: var(--hp-space-4);
	margin-bottom: var(--hp-space-2);
	letter-spacing: -0.01em;
}
h1 { font-size: var(--hp-text-2xl); }
h2 { font-size: var(--hp-text-xl); }
h3 { font-size: var(--hp-text-lg); }
h4 { font-size: var(--hp-text-md); font-family: var(--hp-font-ui); }

p { margin: 0 0 var(--hp-space-3); max-width: 68ch; }
ul, ol { max-width: 68ch; }

.hp-eyebrow {
	display: inline-block;
	font-family: var(--hp-font-ui);
	font-size: var(--hp-text-xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hp-anchor);
	margin-bottom: 0.5rem;
}

.hp-wrap {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 var(--hp-space-2);
}
.hp-wrap-wide {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 var(--hp-space-2);
}

/* =========================================================
   HEADER
   ========================================================= */
.hp-top-accent {
	height: 4px;
	background: linear-gradient(90deg, var(--hp-anchor) 0%, var(--hp-accent) 55%, var(--hp-anchor-light) 100%);
}
.hp-header {
	background: rgba(250, 247, 241, 0.92);
	backdrop-filter: saturate(140%) blur(6px);
	-webkit-backdrop-filter: saturate(140%) blur(6px);
	border-bottom: 1px solid var(--hp-border);
	padding: 0.9rem 0;
	position: sticky;
	top: 0;
	z-index: 200;
}
.hp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--hp-space-2);
}
.hp-logo {
	font-family: var(--hp-font-ui);
	font-weight: 800;
	font-size: 1.35rem;
	letter-spacing: -0.01em;
	color: var(--hp-text);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}
.hp-logo:hover { color: var(--hp-anchor); }
.hp-logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--hp-anchor), var(--hp-accent));
	color: #fff;
	font-weight: 800;
	font-size: 1rem;
	flex-shrink: 0;
}

.hp-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--hp-radius-sm);
	border: 1.5px solid var(--hp-border-strong);
	background: var(--hp-surface);
	cursor: pointer;
}
.hp-nav-toggle span,
.hp-nav-toggle span::before,
.hp-nav-toggle span::after {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	background: var(--hp-text);
	position: relative;
	transition: transform var(--hp-transition);
}
.hp-nav-toggle span::before { position: absolute; top: -6px; }
.hp-nav-toggle span::after { position: absolute; top: 6px; }

.hp-primary-nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--hp-space-2) var(--hp-space-3);
	margin: 0;
	padding: 0;
	font-family: var(--hp-font-ui);
}
.hp-primary-nav a {
	color: var(--hp-text);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.98rem;
	padding: 0.6rem 0.2rem;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	border-bottom: 2px solid transparent;
	transition: color var(--hp-transition), border-color var(--hp-transition);
}
.hp-primary-nav a:hover { color: var(--hp-anchor); border-bottom-color: var(--hp-anchor); }

@media (max-width: 780px) {
	.hp-nav-toggle { display: inline-flex; }
	.hp-primary-nav {
		position: fixed;
		inset: 0 0 0 auto;
		width: min(320px, 84vw);
		height: 100vh;
		background: var(--hp-surface);
		box-shadow: var(--hp-shadow-lg);
		padding: 5.5rem var(--hp-space-3) var(--hp-space-3);
		transform: translateX(100%);
		transition: transform 220ms ease;
		z-index: 250;
		overflow-y: auto;
	}
	.hp-primary-nav.is-open { transform: translateX(0); }
	.hp-primary-nav ul { flex-direction: column; gap: 0.1rem; }
	.hp-primary-nav a { width: 100%; border-bottom: 1px solid var(--hp-border); border-radius: 0; }
	.hp-nav-backdrop {
		display: none;
		position: fixed; inset: 0; background: rgba(20, 24, 22, 0.4); z-index: 240;
	}
	.hp-nav-backdrop.is-open { display: block; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.hp-footer {
	background: var(--hp-bg-alt);
	border-top: 1px solid var(--hp-border);
	margin-top: var(--hp-space-5);
	padding: var(--hp-space-5) 0 var(--hp-space-2);
	font-family: var(--hp-font-ui);
	font-size: 0.95rem;
	color: var(--hp-text-secondary);
}
.hp-footer-brand { max-width: 320px; margin-bottom: var(--hp-space-3); }
.hp-footer-brand .hp-logo { margin-bottom: 0.6rem; }
.hp-footer-tagline { font-family: var(--hp-font-ui); font-size: 0.92rem; color: var(--hp-text-secondary); }
.hp-footer-grid {
	display: grid;
	grid-template-columns: 1.3fr repeat(3, 1fr);
	gap: var(--hp-space-3);
}
@media (max-width: 900px) {
	.hp-footer-grid { grid-template-columns: repeat(2, 1fr); }
	.hp-footer-brand { grid-column: 1 / -1; max-width: none; }
}
.hp-footer-col h4 {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--hp-text);
	margin-top: 0;
	margin-bottom: var(--hp-space-1);
}
.hp-footer-col ul { list-style: none; margin: 0; padding: 0; }
.hp-footer-col li { margin-bottom: 0.5rem; }
.hp-footer-col a { color: var(--hp-text-secondary); text-decoration: none; }
.hp-footer-col a:hover { color: var(--hp-anchor); text-decoration: underline; }
.hp-footer-bottom {
	border-top: 1px solid var(--hp-border);
	margin-top: var(--hp-space-3);
	padding-top: var(--hp-space-2);
	font-size: 0.85rem;
}

/* =========================================================
   BUTTONS / CTA
   ========================================================= */
.hp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.85rem 1.6rem;
	border-radius: var(--hp-radius);
	font-family: var(--hp-font-ui);
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform var(--hp-transition), box-shadow var(--hp-transition), background var(--hp-transition);
}
.hp-btn-primary,
.hp-cta-button {
	background: var(--hp-anchor);
	color: var(--hp-text-on-anchor) !important;
	box-shadow: var(--hp-shadow-sm);
}
.hp-btn-primary:hover,
.hp-cta-button:hover { background: var(--hp-anchor-dark); color: #fff !important; box-shadow: var(--hp-shadow-md); transform: translateY(-1px); }
.hp-btn-secondary {
	background: var(--hp-surface);
	border-color: var(--hp-border-strong);
	color: var(--hp-text) !important;
}
.hp-btn-secondary:hover { border-color: var(--hp-anchor); color: var(--hp-anchor) !important; background: var(--hp-anchor-tint); }

/* =========================================================
   BOXES: INFO / CAUTION / DISCLOSURE / CALLOUTS
   ========================================================= */
.hp-info-box, .hp-caution-box, .hp-disclosure-box, .hp-takeaway-box, .hp-quick-answer-box {
	border-radius: var(--hp-radius);
	padding: var(--hp-space-3);
	margin: var(--hp-space-3) 0;
	font-family: var(--hp-font-ui);
	font-size: 1rem;
}
.hp-info-box {
	background: var(--hp-info-bg);
	border: 1px solid var(--hp-info-border);
}
.hp-caution-box {
	background: var(--hp-caution-bg);
	border: 1px solid var(--hp-caution-border);
	border-left: 5px solid var(--hp-caution);
}
.hp-disclosure-box {
	background: var(--hp-bg-alt);
	border: 1px solid var(--hp-border);
	font-size: 0.9rem;
	color: var(--hp-text-secondary);
}
.hp-disclosure-inline {
	font-family: var(--hp-font-ui);
	font-size: 0.85rem;
	color: var(--hp-text-secondary);
	background: var(--hp-bg-alt);
	border: 1px solid var(--hp-border);
	border-radius: var(--hp-radius);
	padding: 0.75rem 1rem;
}
.hp-medical-note {
	font-family: var(--hp-font-ui);
	font-size: 0.85rem;
	color: var(--hp-text-secondary);
	border-top: 1px solid var(--hp-border);
	padding-top: var(--hp-space-2);
	margin-top: var(--hp-space-4);
}

.hp-takeaway-box {
	background: var(--hp-anchor-tint);
	border: 1px solid var(--hp-anchor-light);
	border-left: 5px solid var(--hp-anchor);
}
.hp-takeaway-label, .hp-quick-answer-label {
	display: block;
	font-family: var(--hp-font-ui);
	font-size: var(--hp-text-xs);
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hp-anchor-dark);
	margin-bottom: 0.4rem;
}
.hp-takeaway-box p, .hp-quick-answer-box p { margin-bottom: 0; }
.hp-quick-answer-box {
	background: var(--hp-surface);
	border: 1.5px solid var(--hp-border-strong);
}
.hp-quick-answer-label { color: var(--hp-accent-dark); }

.hp-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--hp-space-2);
	margin: var(--hp-space-3) 0;
}
@media (max-width: 600px) { .hp-pros-cons { grid-template-columns: 1fr; } }
.hp-pros, .hp-cons {
	border-radius: var(--hp-radius);
	padding: var(--hp-space-2) var(--hp-space-3);
	font-family: var(--hp-font-ui);
}
.hp-pros { background: var(--hp-positive-bg); border: 1px solid var(--hp-positive-border); }
.hp-cons { background: var(--hp-caution-bg); border: 1px solid var(--hp-caution-border); }
.hp-pros h4, .hp-cons h4 { margin-top: 0; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }
.hp-pros h4 { color: var(--hp-positive); }
.hp-cons h4 { color: var(--hp-caution); }
.hp-pros ul, .hp-cons ul { list-style: none; margin: 0; padding: 0; }
.hp-pros li, .hp-cons li { position: relative; padding-left: 1.6rem; margin-bottom: 0.5rem; font-size: 0.98rem; }
.hp-pros li::before { content: "✓"; position: absolute; left: 0; color: var(--hp-positive); font-weight: 800; }
.hp-cons li::before { content: "–"; position: absolute; left: 0.15rem; color: var(--hp-caution); font-weight: 800; }

/* =========================================================
   EVIDENCE BADGES
   ========================================================= */
.hp-evidence-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-family: var(--hp-font-ui);
	font-size: 0.85rem;
	font-weight: 700;
	padding: 0.4rem 0.85rem;
	border-radius: var(--hp-radius-full);
	background: var(--hp-bg-alt);
	border: 1.5px solid var(--hp-border-strong);
	color: var(--hp-text);
	margin: 0.2rem 0.4rem 0.2rem 0;
}
.hp-evidence-label { font-weight: 500; color: var(--hp-text-secondary); }
.hp-evidence-strong { border-color: var(--hp-evidence-strong); color: var(--hp-evidence-strong); }
.hp-evidence-moderate { border-color: var(--hp-evidence-moderate); color: var(--hp-evidence-moderate); }
.hp-evidence-preliminary { border-color: var(--hp-evidence-preliminary); color: var(--hp-evidence-preliminary); }
.hp-evidence-limited { border-color: var(--hp-evidence-limited); color: var(--hp-evidence-limited); }
.hp-evidence-insufficient-unknown { border-color: var(--hp-evidence-unknown); color: var(--hp-evidence-unknown); }

/* =========================================================
   BREADCRUMBS / TOC
   ========================================================= */
.hp-breadcrumbs {
	font-family: var(--hp-font-ui);
	font-size: 0.9rem;
	color: var(--hp-text-secondary);
	margin: var(--hp-space-2) 0;
}
.hp-breadcrumbs a { color: var(--hp-text-secondary); }
.hp-crumb-sep { margin: 0 0.35rem; }
.hp-crumb-current { color: var(--hp-text); }

.hp-toc {
	background: var(--hp-surface);
	border: 1px solid var(--hp-border);
	border-left: 4px solid var(--hp-anchor);
	border-radius: var(--hp-radius);
	padding: var(--hp-space-2) var(--hp-space-3);
	margin: var(--hp-space-3) 0;
	font-family: var(--hp-font-ui);
	box-shadow: var(--hp-shadow-sm);
}
.hp-toc-title { margin: 0 0 0.5rem; font-size: 0.95rem; }
.hp-toc ul { margin: 0; padding-left: 1.2rem; }
.hp-toc li { margin-bottom: 0.3rem; }

/* =========================================================
   TRUST / BYLINE
   ========================================================= */
.hp-byline {
	font-family: var(--hp-font-ui);
	font-size: 0.88rem;
	color: var(--hp-text-secondary);
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	align-items: center;
	margin-bottom: var(--hp-space-2);
	padding-bottom: var(--hp-space-1);
}
.hp-byline a { color: var(--hp-anchor); font-weight: 600; }
.hp-byline-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	color: var(--hp-text);
}

/* =========================================================
   CARDS
   ========================================================= */
.hp-card {
	background: var(--hp-surface);
	border: 1px solid var(--hp-border);
	border-radius: var(--hp-radius-lg);
	padding: var(--hp-space-3);
	margin-bottom: var(--hp-space-3);
	box-shadow: var(--hp-shadow-sm);
	transition: box-shadow var(--hp-transition), transform var(--hp-transition);
}
.hp-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: var(--hp-space-3);
	margin: var(--hp-space-3) 0;
}
.hp-card-grid .hp-card { margin-bottom: 0; display: flex; flex-direction: column; }
.hp-card-grid .hp-card:hover { box-shadow: var(--hp-shadow-md); transform: translateY(-3px); }
.hp-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: var(--hp-anchor-tint);
	color: var(--hp-anchor);
	margin-bottom: var(--hp-space-1);
	flex-shrink: 0;
}
.hp-card-icon svg { width: 24px; height: 24px; }
.hp-card--tool .hp-card-icon { background: var(--hp-accent-light); color: var(--hp-accent); }
.hp-card h3 { margin-top: 0; font-size: 1.15rem; }
.hp-card p:last-of-type { margin-bottom: 0; }
.hp-card-kicker {
	display: inline-flex;
	align-self: flex-start;
	font-family: var(--hp-font-ui);
	font-size: var(--hp-text-xs);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--hp-text-secondary);
	background: var(--hp-bg-alt);
	border-radius: var(--hp-radius-full);
	padding: 0.25rem 0.7rem;
	margin-bottom: var(--hp-space-1);
}
.hp-card-footer-link {
	margin-top: auto;
	padding-top: var(--hp-space-1);
	font-family: var(--hp-font-ui);
	font-weight: 700;
	font-size: 0.95rem;
}
.hp-product-card { display: flex; flex-direction: column; gap: 0.6rem; }
.hp-product-card h3 { margin-top: 0; }

.hp-score-badge {
	display: inline-flex;
	align-items: baseline;
	gap: 0.4rem;
	font-family: var(--hp-font-ui);
	background: var(--hp-anchor-light);
	color: var(--hp-anchor-dark);
	border-radius: var(--hp-radius);
	padding: 0.5rem 0.9rem;
	font-weight: 700;
}
.hp-score-badge .hp-score-num { font-size: 1.4rem; }
.hp-score-badge .hp-score-label { font-size: 0.9rem; font-weight: 500; }

/* =========================================================
   SCORE RING + BREAKDOWN BARS
   ========================================================= */
.hp-score-panel {
	display: flex;
	align-items: center;
	gap: var(--hp-space-3);
	flex-wrap: wrap;
}
.hp-score-ring-wrap { flex-shrink: 0; text-align: center; }
.hp-score-ring { display: block; }
.hp-score-ring text { font-family: var(--hp-font-ui); }
.hp-score-ring-num { font-size: 1.6rem; font-weight: 800; fill: var(--hp-text); }
.hp-score-ring-max { font-size: 0.7rem; fill: var(--hp-text-secondary); }
.hp-score-ring-caption {
	margin-top: 0.4rem;
	font-family: var(--hp-font-ui);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--hp-anchor-dark);
}
.hp-score-meta { flex: 1 1 220px; }
.hp-score-meta h2, .hp-score-meta h3 { margin-top: 0; }

.hp-score-breakdown { margin: var(--hp-space-3) 0; }
.hp-score-row {
	display: grid;
	grid-template-columns: minmax(140px, 200px) 1fr auto;
	align-items: center;
	gap: var(--hp-space-2);
	padding: 0.5rem 0;
	font-family: var(--hp-font-ui);
	font-size: 0.92rem;
}
.hp-score-row + .hp-score-row { border-top: 1px solid var(--hp-border); }
.hp-score-row-label { color: var(--hp-text); font-weight: 600; }
.hp-score-row-weight { color: var(--hp-text-muted); font-weight: 400; font-size: 0.8rem; display: block; }
.hp-score-bar-track {
	background: var(--hp-bg-alt);
	border-radius: var(--hp-radius-full);
	height: 10px;
	overflow: hidden;
}
.hp-score-bar-fill {
	height: 100%;
	border-radius: var(--hp-radius-full);
	background: linear-gradient(90deg, var(--hp-anchor), var(--hp-anchor-dark));
}
.hp-score-row-value { font-weight: 700; color: var(--hp-text); text-align: right; min-width: 2.5ch; }
@media (max-width: 560px) {
	.hp-score-row { grid-template-columns: 1fr; gap: 0.3rem; }
	.hp-score-row-value { text-align: left; }
}

/* =========================================================
   COMPARISON TABLE (stacks to cards on mobile)
   ========================================================= */
.hp-compare-wrap { overflow-x: auto; border-radius: var(--hp-radius-lg); box-shadow: var(--hp-shadow-sm); }
.hp-compare-table { width: 100%; border-collapse: collapse; font-family: var(--hp-font-ui); background: var(--hp-surface); }
.hp-compare-table th, .hp-compare-table td {
	border-bottom: 1px solid var(--hp-border);
	padding: 0.9rem 1.1rem;
	text-align: left;
	vertical-align: top;
}
.hp-compare-table thead th {
	background: var(--hp-text);
	color: #fff;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-bottom: none;
	position: sticky;
	top: 0;
}
.hp-compare-table tbody tr:nth-child(even) { background: var(--hp-surface-sunken); }
.hp-compare-table tr.hp-highlight-row td { background: var(--hp-anchor-tint); font-weight: 700; box-shadow: inset 0 0 0 2px var(--hp-anchor-light); }
.hp-compare-table tr.hp-highlight-row td:first-child { border-radius: var(--hp-radius) 0 0 var(--hp-radius); }
@media (max-width: 700px) {
	.hp-compare-wrap { box-shadow: none; overflow-x: visible; }
	.hp-compare-table, .hp-compare-table thead, .hp-compare-table tbody, .hp-compare-table th, .hp-compare-table td, .hp-compare-table tr { display: block; }
	.hp-compare-table thead { display: none; }
	.hp-compare-table tr { background: var(--hp-surface); border: 1px solid var(--hp-border); border-radius: var(--hp-radius-lg); margin-bottom: var(--hp-space-2); padding: 0.6rem 0.9rem; box-shadow: var(--hp-shadow-sm); }
	.hp-compare-table td { border: none; padding: 0.5rem 0; border-bottom: 1px solid var(--hp-border); }
	.hp-compare-table td:last-child { border-bottom: none; }
	.hp-compare-table td::before { content: attr(data-label); display: block; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--hp-text-secondary); margin-bottom: 0.15rem; }
}

/* =========================================================
   NEWSLETTER MODULE
   ========================================================= */
.hp-newsletter {
	background: linear-gradient(135deg, var(--hp-anchor), var(--hp-anchor-dark));
	color: #fff;
	border-radius: var(--hp-radius-lg);
	padding: var(--hp-space-3) var(--hp-space-4);
	margin: var(--hp-space-4) 0;
	font-family: var(--hp-font-ui);
}
.hp-newsletter h3, .hp-newsletter p { color: #fff; }
.hp-newsletter form { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: var(--hp-space-2); }
.hp-newsletter input[type="email"] {
	flex: 1 1 240px;
	min-height: 48px;
	border-radius: var(--hp-radius);
	border: none;
	padding: 0 1rem;
	font-size: 1rem;
}
.hp-newsletter button {
	background: #fff;
	color: var(--hp-anchor-dark);
	border: none;
	border-radius: var(--hp-radius);
	font-weight: 700;
	padding: 0 1.5rem;
	min-height: 48px;
	cursor: pointer;
	transition: transform var(--hp-transition);
}
.hp-newsletter button:hover { transform: translateY(-1px); }

/* =========================================================
   HOMEPAGE HERO
   ========================================================= */
.hp-hero {
	position: relative;
	overflow: hidden;
	padding: var(--hp-space-6) 0 var(--hp-space-5);
	background: radial-gradient(1100px 480px at 85% -10%, var(--hp-anchor-tint) 0%, transparent 60%), var(--hp-bg-alt);
	border-bottom: 1px solid var(--hp-border);
}
.hp-hero-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: var(--hp-space-5);
	align-items: center;
}
@media (max-width: 900px) { .hp-hero-grid { grid-template-columns: 1fr; } }
.hp-hero-copy { text-align: left; }
.hp-hero h1 { margin-top: 0; font-size: var(--hp-text-display); }
.hp-hero-sub { font-size: 1.2rem; color: var(--hp-text-secondary); max-width: 46ch; }
.hp-hero-ctas { display: flex; gap: var(--hp-space-2); flex-wrap: wrap; margin-top: var(--hp-space-3); }

.hp-trust-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.4rem;
	margin-top: var(--hp-space-3);
	font-family: var(--hp-font-ui);
}
.hp-trust-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--hp-text-secondary);
}
.hp-trust-chip svg { width: 18px; height: 18px; color: var(--hp-anchor); flex-shrink: 0; }

.hp-hero-visual {
	position: relative;
	height: 340px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.hp-hero-blob {
	position: absolute;
	border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
	filter: blur(2px);
	opacity: 0.9;
}
.hp-hero-blob-1 { width: 260px; height: 260px; background: linear-gradient(135deg, var(--hp-anchor-light), var(--hp-anchor-tint)); top: 0; right: 20px; }
.hp-hero-blob-2 { width: 170px; height: 170px; background: linear-gradient(135deg, var(--hp-accent-light), #fff); bottom: 10px; left: 10px; opacity: 0.85; }
.hp-hero-card {
	position: relative;
	background: var(--hp-surface);
	border: 1px solid var(--hp-border);
	border-radius: var(--hp-radius-lg);
	box-shadow: var(--hp-shadow-lg);
	padding: var(--hp-space-3);
	width: 260px;
	font-family: var(--hp-font-ui);
	z-index: 2;
}
.hp-hero-card-chip {
	position: absolute;
	background: var(--hp-surface);
	border: 1px solid var(--hp-border);
	border-radius: var(--hp-radius-full);
	box-shadow: var(--hp-shadow-md);
	padding: 0.5rem 0.9rem;
	font-size: 0.82rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	z-index: 3;
}
.hp-hero-card-chip svg { width: 16px; height: 16px; }
.hp-hero-card-chip--1 { top: -16px; left: -28px; color: var(--hp-anchor-dark); }
.hp-hero-card-chip--2 { bottom: -14px; right: -18px; color: var(--hp-accent-dark); }
@media (max-width: 900px) { .hp-hero-visual { height: 260px; margin-top: var(--hp-space-3); } }
@media (max-width: 480px) { .hp-hero-card-chip { display: none; } }

.hp-trust-strip {
	text-align: center;
	font-family: var(--hp-font-ui);
	font-size: 0.92rem;
	color: var(--hp-text-secondary);
	padding: var(--hp-space-2) 0;
	border-bottom: 1px solid var(--hp-border);
	background: var(--hp-surface);
}
.hp-section { padding: var(--hp-space-5) 0; }
.hp-section-alt { background: var(--hp-surface); }
.hp-section-head { text-align: center; margin-bottom: var(--hp-space-3); max-width: 640px; margin-left: auto; margin-right: auto; }
.hp-section-head p { margin: 0 auto; }

/* =========================================================
   TOOLS
   ========================================================= */
.hp-tool-ribbon {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: var(--hp-accent-light);
	color: var(--hp-accent-dark);
	font-family: var(--hp-font-ui);
	font-size: var(--hp-text-xs);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.4rem 0.8rem;
	border-radius: var(--hp-radius-full);
	margin-bottom: var(--hp-space-1);
}
.hp-tool-panel {
	background: var(--hp-surface);
	border: 1px solid var(--hp-border);
	border-top: 4px solid var(--hp-accent);
	border-radius: var(--hp-radius-lg);
	padding: var(--hp-space-3);
	margin: var(--hp-space-3) 0;
	box-shadow: var(--hp-shadow-sm);
}

/* =========================================================
   ACCESSIBILITY / MOBILE
   ========================================================= */
@media (max-width: 600px) {
	body { font-size: 1.0625rem; }
	.hp-section { padding: var(--hp-space-4) 0; }
}
.skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--hp-anchor); color: #fff; padding: 0.75rem 1rem; z-index: 999; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
