/* ==========================================================================
 * Handicap Toilet Guide Pro — Theme design system
 * Calm, accessible, premium healthcare-inspired aesthetic.
 * ========================================================================== */

:root {
	--htg-navy: #0f172a;
	--htg-blue: #2563eb;
	--htg-aqua: #38bdf8;
	--htg-teal: #14b8a6;
	--htg-slate: #64748b;
	--htg-white: #f8fafc;
	--htg-paper: #ffffff;
	--htg-line: #e2e8f0;
	--htg-line-strong: #cbd5e1;
	--htg-ink: #0b1220;
	--htg-ink-2: #1e293b;
	--htg-ink-3: #475569;

	--htg-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
	--htg-shadow-md: 0 6px 24px rgba(15, 23, 42, .08);
	--htg-shadow-lg: 0 24px 60px rgba(15, 23, 42, .12);
	--htg-shadow-glow: 0 24px 60px rgba(37, 99, 235, .25);

	--htg-radius: 14px;
	--htg-radius-sm: 10px;
	--htg-radius-lg: 24px;

	--htg-font-heading: 'Sora', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
	--htg-font-body: 'Inter', 'Atkinson Hyperlegible', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

	--htg-grad-hero: radial-gradient(1200px 600px at 10% -10%, rgba(56,189,248,.25), transparent 60%),
		radial-gradient(900px 500px at 100% 0%, rgba(20,184,166,.22), transparent 60%),
		linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
	--htg-grad-card: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(248,250,252,.96) 100%);
	--htg-grad-cta: linear-gradient(135deg, var(--htg-blue), var(--htg-aqua));
	--htg-grad-cta-hover: linear-gradient(135deg, #1d4ed8, #0ea5e9);
}

/* Base reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--htg-font-body);
	color: var(--htg-ink);
	background: var(--htg-white);
	line-height: 1.6;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--htg-blue); text-decoration: none; }
a:hover, a:focus { color: var(--htg-navy); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--htg-blue) 60%, white); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3, h4, h5 { font-family: var(--htg-font-heading); color: var(--htg-navy); line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
h4 { font-size: 1.1rem; }
.htg-h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-family: var(--htg-font-heading); margin: 0 0 .5em; color: var(--htg-navy); }
.htg-h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-family: var(--htg-font-heading); margin: 0 0 .5em; color: var(--htg-navy); }
.htg-h4 { font-size: 1.1rem; font-family: var(--htg-font-heading); margin: 0 0 .5em; color: var(--htg-navy); }

/* Containers */
.htg-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }
.htg-container--narrow { max-width: 820px; }

/* Skip link */
.htg-skip-link {
	position: absolute; left: -9999px; top: 0; background: var(--htg-navy);
	color: #fff; padding: 12px 18px; z-index: 9999; border-radius: 0 0 10px 0;
}
.htg-skip-link:focus { left: 0; }

/* Disclosure strip */
.htg-disclosure-strip {
	background: #eef2ff;
	color: var(--htg-ink-3);
	font-size: 13px;
	border-bottom: 1px solid var(--htg-line);
}
.htg-disclosure-strip .htg-container { display: flex; gap: 8px; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.htg-disclosure-strip .htg-icon { width: 16px; height: 16px; color: var(--htg-blue); }

/* Header */
.htg-header {
	position: sticky; top: 0; z-index: 80;
	background: rgba(255,255,255,.86);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--htg-line);
}
.htg-header__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.htg-brand__link { display: inline-flex; gap: 12px; align-items: center; color: var(--htg-navy); }
.htg-brand__mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: var(--htg-grad-cta); color: #fff; box-shadow: var(--htg-shadow-glow); }
.htg-brand__mark .htg-icon { width: 22px; height: 22px; }
.htg-brand__name { font-family: var(--htg-font-heading); font-weight: 700; font-size: 18px; display: block; }
.htg-brand__tag { font-size: 12px; color: var(--htg-slate); display: block; }

.htg-nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.htg-nav__list a, .htg-nav__link { color: var(--htg-ink-2); padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.htg-nav__list a:hover { background: #eef2ff; color: var(--htg-navy); }

.htg-header__actions { display: flex; gap: 10px; align-items: center; }
.htg-search { display: flex; align-items: center; gap: 0; background: var(--htg-white); border: 1px solid var(--htg-line); border-radius: 999px; padding: 4px 6px 4px 14px; }
.htg-search input { border: 0; background: transparent; min-width: 0; width: 180px; padding: 8px 6px; }
.htg-search input:focus { outline: none; }
.htg-search button { background: var(--htg-grad-cta); color: #fff; border: 0; border-radius: 999px; padding: 8px 12px; display: grid; place-items: center; }
.htg-search button .htg-icon { width: 16px; height: 16px; }

.htg-menu-toggle { display: none; background: transparent; border: 1px solid var(--htg-line); border-radius: 12px; padding: 8px; width: 42px; height: 42px; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.htg-menu-toggle__bar { width: 18px; height: 2px; background: var(--htg-navy); border-radius: 2px; transition: transform .25s ease; }

/* Section primitives */
.htg-section { padding: 88px 0; position: relative; }
.htg-section--hero { padding: 0; }
.htg-section__header { max-width: 740px; margin: 0 auto 48px; text-align: center; }
.htg-section__lead { color: var(--htg-ink-3); font-size: 1.075rem; max-width: 620px; margin: 0 auto; }
.htg-eyebrow {
	display: inline-flex; gap: 8px; align-items: center;
	text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700;
	color: var(--htg-blue); background: #eff6ff;
	padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.htg-eyebrow .htg-icon { width: 14px; height: 14px; }

/* Buttons */
.htg-btn {
	display: inline-flex; align-items: center; gap: 8px; justify-content: center;
	font-family: var(--htg-font-heading); font-weight: 600; font-size: 15px;
	padding: 12px 20px; border-radius: 12px; border: 1px solid transparent;
	transition: transform .15s ease, box-shadow .25s ease, background .25s ease, color .15s ease;
	cursor: pointer; text-decoration: none; line-height: 1; min-height: 44px;
}
.htg-btn--large { padding: 16px 26px; font-size: 16px; border-radius: 14px; min-height: 52px; }
.htg-btn--primary { background: var(--htg-grad-cta); color: #fff; box-shadow: var(--htg-shadow-glow); }
.htg-btn--primary:hover, .htg-btn--primary:focus { background: var(--htg-grad-cta-hover); color: #fff; transform: translateY(-1px); }
.htg-btn--ghost { background: transparent; color: var(--htg-navy); border-color: var(--htg-line-strong); }
.htg-btn--ghost:hover, .htg-btn--ghost:focus { background: #eef2ff; color: var(--htg-navy); border-color: var(--htg-blue); }
.htg-btn--danger { color: #b91c1c; border-color: #fecaca; }
.htg-btn__arrow { transition: transform .25s ease; }
.htg-btn:hover .htg-btn__arrow { transform: translateX(3px); }

.htg-link { color: var(--htg-blue); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.htg-link .htg-icon { width: 14px; height: 14px; }

.htg-pill { display: inline-block; background: var(--htg-grad-cta); color: #fff; font-size: 11px; padding: 4px 10px; border-radius: 999px; font-weight: 700; letter-spacing: .04em; }

/* Icons */
.htg-icon { width: 20px; height: 20px; display: inline-block; vertical-align: -.2em; }

/* Hero */
.htg-hero {
	color: #e2e8f0;
	background: var(--htg-grad-hero), var(--htg-hero-bg, none);
	background-size: cover;
	background-position: center;
	padding: 96px 0 80px;
	overflow: hidden;
	min-height: 88vh;
	display: grid;
	align-items: center;
}
.htg-hero__glow { position: absolute; inset: 0; background: radial-gradient(800px 400px at 30% 80%, rgba(20,184,166,.18), transparent 70%); pointer-events: none; }
.htg-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(800px 500px at 60% 50%, #000 30%, transparent 80%); pointer-events: none; }
.htg-hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.htg-hero__eyebrow { color: var(--htg-aqua); background: rgba(56,189,248,.12); }
.htg-hero__title { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: 18px; }
.htg-hero__lead { color: #cbd5e1; font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 560px; }
.htg-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 22px; }
.htg-hero__cta .htg-btn--ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.htg-hero__cta .htg-btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--htg-aqua); }

.htg-hero__trust { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 18px; flex-wrap: wrap; color: #cbd5e1; font-size: 14px; }
.htg-hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.htg-hero__trust .htg-icon { width: 16px; height: 16px; color: var(--htg-aqua); }

.htg-hero__quickstart { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.htg-hero__quickstart-label { color: #94a3b8; font-size: 13px; }
.htg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); color: #e2e8f0; font-size: 13px; cursor: pointer; transition: background .2s, transform .15s; }
.htg-chip:hover { background: rgba(56,189,248,.18); border-color: var(--htg-aqua); transform: translateY(-1px); }
.htg-chip .htg-icon { width: 14px; height: 14px; color: var(--htg-aqua); }
.htg-chip--ghost { background: transparent; }

/* Hero side panel */
.htg-hero__panel-card {
	background: rgba(255,255,255,.06);
	border: 1px solid rgba(255,255,255,.12);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: var(--htg-radius-lg);
	padding: 28px;
	box-shadow: var(--htg-shadow-lg);
	color: #e2e8f0;
}
.htg-hero__panel-badge { display: inline-flex; gap: 8px; align-items: center; background: var(--htg-grad-cta); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 14px; }
.htg-hero__panel-title { color: #fff; font-size: 1.3rem; }
.htg-hero__panel-list { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 10px; }
.htg-hero__panel-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; background: rgba(15,23,42,.5); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.htg-hero__panel-list .htg-icon { color: var(--htg-teal); width: 16px; }
.htg-hero__panel-list .htg-link { color: var(--htg-aqua); }
.htg-hero__panel-note { color: #94a3b8; font-size: 12px; margin: 0; }

/* Cards (editor picks) */
.htg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.htg-cards--3up > * { min-width: 0; }
.htg-card {
	background: var(--htg-paper);
	border: 1px solid var(--htg-line);
	border-radius: var(--htg-radius-lg);
	padding: 26px;
	box-shadow: var(--htg-shadow-sm);
	display: flex; flex-direction: column; gap: 14px;
	transition: transform .2s ease, box-shadow .25s ease, border-color .25s ease;
	position: relative; overflow: hidden;
}
.htg-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(37,99,235,.04), transparent 60%); pointer-events: none; }
.htg-card:hover { transform: translateY(-3px); box-shadow: var(--htg-shadow-md); border-color: color-mix(in srgb, var(--htg-blue) 30%, var(--htg-line)); }
.htg-card__badge { display: inline-flex; gap: 6px; align-items: center; background: #eff6ff; color: var(--htg-blue); padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; align-self: flex-start; }
.htg-card__title { font-size: 1.2rem; margin: 0; }
.htg-card__meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--htg-ink-3); font-size: 14px; }
.htg-card__meta li { display: inline-flex; align-items: center; gap: 8px; }
.htg-card__meta .htg-icon { color: var(--htg-teal); width: 16px; }
.htg-card__notes { color: var(--htg-ink-3); font-size: 14px; }
.htg-card__cta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* Archetypes */
.htg-archetypes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.htg-archetype {
	background: var(--htg-paper); border: 1px solid var(--htg-line);
	border-radius: var(--htg-radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px;
	transition: transform .2s ease, border-color .25s ease, box-shadow .25s ease;
}
.htg-archetype:hover { transform: translateY(-3px); border-color: var(--htg-blue); box-shadow: var(--htg-shadow-md); }
.htg-archetype__head { display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: start; }
.htg-archetype__icon { width: 48px; height: 48px; display: grid; place-items: center; background: var(--htg-grad-cta); color: #fff; border-radius: 14px; box-shadow: var(--htg-shadow-glow); }
.htg-archetype__icon .htg-icon { width: 22px; height: 22px; }
.htg-archetype__title { margin: 0; font-size: 1.15rem; grid-column: 2; }
.htg-archetype__tag { margin: 0; color: var(--htg-ink-3); font-size: 14px; grid-column: 1 / -1; }
.htg-archetype__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 0; font-size: 13px; }
.htg-archetype__facts div { display: grid; gap: 2px; }
.htg-archetype__facts dt { color: var(--htg-slate); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.htg-archetype__facts dd { margin: 0; color: var(--htg-ink-2); font-size: 13px; }
.htg-archetype__cta { display: flex; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.htg-archetype.is-active { border-color: var(--htg-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--htg-blue) 25%, transparent); }

/* Tools shared */
.htg-tool { background: var(--htg-paper); border: 1px solid var(--htg-line); border-radius: var(--htg-radius-lg); padding: 32px; box-shadow: var(--htg-shadow-md); }
.htg-tool__progress { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.htg-tool__progress-bar { flex: 1; height: 8px; background: var(--htg-line); border-radius: 999px; overflow: hidden; }
.htg-tool__progress-bar span { display: block; height: 100%; background: var(--htg-grad-cta); transition: width .35s ease; }
.htg-tool__progress-text { font-size: 13px; color: var(--htg-slate); font-weight: 600; min-width: 48px; }
.htg-tool__form { display: grid; gap: 18px; }
.htg-tool__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.htg-tool__row label { display: grid; gap: 6px; font-size: 14px; color: var(--htg-ink-2); font-weight: 500; }
.htg-tool__row select, .htg-tool__row input { padding: 12px 14px; border: 1px solid var(--htg-line); border-radius: 12px; background: var(--htg-white); }
.htg-tool__row select:focus, .htg-tool__row input:focus { border-color: var(--htg-blue); }
.htg-tool__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.htg-tool__result { margin-top: 30px; padding-top: 30px; border-top: 1px dashed var(--htg-line); animation: htg-fade .35s ease; }
.htg-tool__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 20px 0; }
.htg-tool__facts div { background: var(--htg-white); border: 1px solid var(--htg-line); border-radius: 12px; padding: 14px 16px; }
.htg-tool__facts dt { font-size: 12px; color: var(--htg-slate); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.htg-tool__facts dd { margin: 4px 0 0; font-size: 14px; color: var(--htg-ink-2); }
.htg-tool__list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.htg-tool__list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 10px 14px; background: var(--htg-white); border-radius: 10px; border: 1px solid var(--htg-line); align-items: start; }
.htg-tool__lead { color: var(--htg-ink-3); margin-bottom: 14px; }
.htg-tool__note { font-size: 12px; color: var(--htg-slate); margin: 14px 0 0; }
.htg-tool__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

@keyframes htg-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Continue widget */
.htg-continue { background: linear-gradient(180deg, #eef2ff, #f8fafc); border-bottom: 1px solid var(--htg-line); padding: 24px 0; }
.htg-continue[hidden] { display: none; }
.htg-continue__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; }
.htg-continue__title { margin: 0; font-size: 1.2rem; }
.htg-continue__lead { color: var(--htg-ink-3); margin: 4px 0; font-size: 14px; }
.htg-continue__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.htg-continue__cta { display: flex; gap: 8px; }

/* Compare table */
.htg-compare__scroll { overflow-x: auto; border: 1px solid var(--htg-line); border-radius: var(--htg-radius-lg); background: var(--htg-paper); }
.htg-compare__table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 720px; }
.htg-compare__table thead th { position: sticky; top: 0; background: var(--htg-navy); color: #fff; text-align: left; padding: 16px; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.htg-compare__table td, .htg-compare__table tbody th { padding: 16px; border-top: 1px solid var(--htg-line); font-size: 14px; color: var(--htg-ink-2); }
.htg-compare__table tbody th { font-weight: 600; color: var(--htg-navy); }
.htg-compare__best { background: linear-gradient(90deg, #eff6ff, transparent); }
.htg-compare__table tbody tr:hover { background: #f8fafc; }
.htg-score-pill { display: inline-block; background: var(--htg-grad-cta); color: #fff; padding: 4px 10px; border-radius: 999px; font-weight: 700; font-size: 13px; }

/* FAQ */
.htg-faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.htg-faq__item { border: 1px solid var(--htg-line); border-radius: var(--htg-radius); background: var(--htg-paper); overflow: hidden; transition: border-color .2s ease; }
.htg-faq__item[open] { border-color: var(--htg-blue); box-shadow: var(--htg-shadow-sm); }
.htg-faq__q { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; cursor: pointer; font-weight: 600; color: var(--htg-navy); }
.htg-faq__q::-webkit-details-marker { display: none; }
.htg-faq__icon { font-size: 22px; line-height: 1; color: var(--htg-blue); transition: transform .25s ease; }
.htg-faq__item[open] .htg-faq__icon { transform: rotate(45deg); }
.htg-faq__a { padding: 0 22px 22px; color: var(--htg-ink-3); }

/* Newsletter */
.htg-section--newsletter { padding: 64px 0; }
.htg-newsletter-card {
	background: var(--htg-grad-hero);
	color: #e2e8f0;
	border-radius: var(--htg-radius-lg);
	padding: 48px;
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
	box-shadow: var(--htg-shadow-lg);
}
.htg-newsletter-card .htg-h2 { color: #fff; }
.htg-newsletter-card__lead { color: #cbd5e1; margin: 0; }
.htg-newsletter { display: flex; gap: 8px; flex-wrap: wrap; }
.htg-newsletter input { flex: 1; min-width: 200px; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; }
.htg-newsletter input::placeholder { color: #94a3b8; }
.htg-newsletter--inline input { background: var(--htg-white); border-color: var(--htg-line); color: var(--htg-ink); }
.htg-newsletter__msg { width: 100%; font-size: 13px; margin: 8px 0 0; color: var(--htg-teal); }

/* Trust */
.htg-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.htg-trust__card { background: var(--htg-paper); border: 1px solid var(--htg-line); border-radius: var(--htg-radius-lg); padding: 26px; display: grid; gap: 10px; }
.htg-trust__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--htg-grad-cta); color: #fff; display: grid; place-items: center; box-shadow: var(--htg-shadow-glow); }
.htg-trust__icon .htg-icon { width: 22px; height: 22px; }

/* Footer */
.htg-footer { background: var(--htg-navy); color: #cbd5e1; padding: 64px 0 32px; }
.htg-footer__top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.htg-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.htg-footer .htg-brand__name { color: #fff; }
.htg-footer__tagline { color: #94a3b8; margin: 12px 0; max-width: 320px; }
.htg-footer__disclosure { color: #64748b; font-size: 12px; max-width: 340px; }
.htg-footer-widget__title, .htg-footer-newsletter__lead { color: #fff; }
.htg-footer-menu, .htg-footer-widget ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.htg-footer-menu a, .htg-footer-widget a { color: #cbd5e1; font-size: 14px; }
.htg-footer-menu a:hover { color: var(--htg-aqua); }
.htg-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #64748b; }
.htg-footer__bottom p { margin: 0; }

/* 404 */
.htg-404-affiliate { background: var(--htg-paper); border: 1px solid var(--htg-line); border-radius: var(--htg-radius-lg); padding: 32px; margin-bottom: 36px; box-shadow: var(--htg-shadow-md); }
.htg-404-affiliate__title { margin: 6px 0 8px; }
.htg-404-affiliate__lead { color: var(--htg-ink-3); }
.htg-404-affiliate__cta { display: flex; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.htg-404-affiliate__disclosure { font-size: 12px; color: var(--htg-slate); margin: 0; }
.htg-404__header { text-align: center; margin: 36px 0 24px; }
.htg-404__search { max-width: 640px; margin: 0 auto 32px; position: relative; }
.htg-404__search input { width: 100%; padding: 16px 20px; border-radius: 14px; border: 1px solid var(--htg-line); font-size: 16px; background: var(--htg-paper); }
.htg-404__results { list-style: none; padding: 0; margin: 8px 0 0; background: var(--htg-paper); border: 1px solid var(--htg-line); border-radius: 12px; overflow: hidden; display: none; }
.htg-404__results:not(:empty) { display: block; }
.htg-404__results li a { display: block; padding: 12px 16px; color: var(--htg-ink-2); border-top: 1px solid var(--htg-line); }
.htg-404__results li:first-child a { border-top: 0; }
.htg-archetype-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.htg-archetype-chips .htg-chip { background: #eef2ff; border-color: var(--htg-line); color: var(--htg-navy); }
.htg-archetype-chips .htg-chip .htg-icon { color: var(--htg-blue); }
.htg-404__tool-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.htg-404__guides { margin: 40px 0; }

/* Mobile sticky CTA */
.htg-mobile-sticky-cta {
	position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
	display: none; z-index: 70;
	background: var(--htg-grad-cta); color: #fff;
	padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px;
	box-shadow: var(--htg-shadow-lg);
	align-items: center; gap: 8px;
}
.htg-mobile-sticky-cta .htg-icon { color: #fff; width: 16px; height: 16px; }

/* Post grid */
.htg-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.htg-post-card { background: var(--htg-paper); border: 1px solid var(--htg-line); border-radius: var(--htg-radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease; }
.htg-post-card:hover { transform: translateY(-3px); box-shadow: var(--htg-shadow-md); }
.htg-post-card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #eef2ff, #e0f2fe); }
.htg-post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--htg-blue); }
.htg-post-card__placeholder .htg-icon { width: 48px; height: 48px; }
.htg-post-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.htg-post-card:hover img { transform: scale(1.05); }
.htg-post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.htg-post-card__title { margin: 0; font-size: 1.05rem; }
.htg-post-card__title a { color: var(--htg-navy); }
.htg-post-card__meta { color: var(--htg-slate); font-size: 12px; margin: 0; }
.htg-post-card__excerpt { color: var(--htg-ink-3); font-size: 14px; flex: 1; }

/* Single page */
.htg-page__title, .htg-single__title { font-size: clamp(2rem, 4vw, 2.8rem); }
.htg-page__media, .htg-single__media { margin: 24px 0; border-radius: var(--htg-radius-lg); overflow: hidden; }
.htg-page__content, .htg-single__content { font-size: 17px; }
.htg-page__content h2, .htg-single__content h2 { margin-top: 1.8em; }

.htg-breadcrumbs { font-size: 13px; color: var(--htg-slate); margin-bottom: 8px; }
.htg-breadcrumbs a { color: var(--htg-blue); }
.htg-single__meta { color: var(--htg-slate); font-size: 13px; }
.htg-single__footer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--htg-line); }

/* Pagination */
.htg-pagination { margin-top: 40px; display: flex; justify-content: center; }
.htg-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.htg-pagination .page-numbers { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--htg-line); color: var(--htg-ink-2); background: var(--htg-paper); }
.htg-pagination .current { background: var(--htg-grad-cta); color: #fff; border-color: transparent; }

/* Product box (shortcode + cards) */
.htg-product-box { background: var(--htg-paper); border: 1px solid var(--htg-line); border-radius: var(--htg-radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--htg-shadow-sm); position: relative; }
.htg-product-box--hero { border: 2px solid var(--htg-blue); box-shadow: var(--htg-shadow-md); }
.htg-product-box__badge { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; background: var(--htg-grad-cta); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.htg-product-box__title { margin: 0; }
.htg-product-box__lead { color: var(--htg-ink-3); margin: 0; }
.htg-product-box__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.htg-product-box__meta div { background: var(--htg-white); border-radius: 10px; padding: 10px 12px; border: 1px solid var(--htg-line); }
.htg-product-box__meta dt { font-size: 11px; color: var(--htg-slate); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.htg-product-box__meta dd { margin: 4px 0 0; font-size: 13px; color: var(--htg-ink-2); }
.htg-product-box__poco { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.htg-pros, .htg-cons { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 13px; }
.htg-pros li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; color: var(--htg-ink-2); }
.htg-pros .htg-icon { color: var(--htg-teal); }
.htg-cons li { color: var(--htg-slate); }
.htg-cons li::before { content: "—"; margin-right: 8px; color: var(--htg-slate); }
.htg-product-box__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.htg-product-box__disclosure { font-size: 12px; color: var(--htg-slate); margin: 0; }

/* Widgets */
.htg-widget { background: var(--htg-paper); border: 1px solid var(--htg-line); border-radius: var(--htg-radius); padding: 20px; margin-bottom: 20px; }
.htg-widget__title { margin: 0 0 12px; font-size: 1rem; }

/* Helpers */
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }

/* Print */
@media print {
	.htg-header, .htg-footer, .htg-mobile-sticky-cta, .htg-disclosure-strip, .htg-continue { display: none !important; }
	.htg-section { padding: 16px 0; }
	.htg-tool { box-shadow: none; border-color: #000; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; }
	html { scroll-behavior: auto; }
}

.htg-picks-footer, .htg-compare__footer { margin-top: 28px; text-align: center; color: var(--htg-ink-3); font-size: 14px; }
.htg-picks-footer__note, .htg-compare__note { margin: 0; }

/* Editors */
.htg-editors { margin-top: 56px; }
.htg-editors__title { text-align: center; margin-bottom: 28px; }
.htg-editors__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.htg-editor { background: var(--htg-paper); border: 1px solid var(--htg-line); border-radius: var(--htg-radius); padding: 20px; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; }
.htg-editor__avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--htg-grad-cta); color: #fff; display: grid; place-items: center; font-family: var(--htg-font-heading); font-weight: 700; font-size: 18px; box-shadow: var(--htg-shadow-glow); }
.htg-editor__name { margin: 0 0 2px; font-size: 1rem; }
.htg-editor__role { margin: 0 0 6px; color: var(--htg-blue); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.htg-editor__bio { margin: 0; color: var(--htg-ink-3); font-size: 13px; }

.htg-hero__illustration { width: 100%; max-width: 360px; margin: 0 auto 18px; display: block; }
