/* ==========================================================================
   Heat Pump Reviews Pro 2.0 — main.css
   Editorial magazine design system (navy / heat orange / efficiency teal)
   Legacy variable names (--hpr-blue, --hpr-gold, --hpr-green …) are kept so
   the interactive tools (tools.css) keep working with the new palette.
   ========================================================================== */
:root {
	--hpr-navy: #0b1f3a;
	--hpr-navy-2: #132c4f;
	--hpr-charcoal: #1f2933;
	--hpr-orange: #f26a1b;
	--hpr-orange-2: #d9550d;
	--hpr-amber: #f5a623;
	--hpr-teal: #0e9f8e;
	--hpr-teal-2: #0b7f72;
	--hpr-green: #22a06b;
	--hpr-red: #d64545;
	/* legacy aliases used by tools.css / tools.js */
	--hpr-blue: #0e9f8e;
	--hpr-gold: #f5a623;
	--hpr-slate: #6b7280;
	--hpr-white: #f7f8fa;
	--hpr-bg: #f7f8fa;
	--hpr-bg-soft: #eef1f5;
	--hpr-card: #ffffff;
	--hpr-line: #e5e7eb;
	--hpr-line-2: #d1d5db;
	--hpr-text: #111827;
	--hpr-text-2: #4b5563;
	--hpr-text-3: #6b7280;
	--hpr-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--hpr-font-head: 'Sora', 'Inter', system-ui, sans-serif;
	--hpr-radius: 12px;
	--hpr-radius-lg: 18px;
	--hpr-radius-sm: 8px;
	--hpr-shadow-sm: 0 1px 2px rgba(17,24,39,.05), 0 1px 3px rgba(17,24,39,.06);
	--hpr-shadow: 0 10px 30px rgba(17,24,39,.08), 0 2px 6px rgba(17,24,39,.05);
	--hpr-shadow-lg: 0 24px 60px rgba(11,31,58,.18);
	--hpr-glow: 0 0 0 3px rgba(14,159,142,.18);
	--hpr-gradient-cool: linear-gradient(135deg, var(--hpr-teal), var(--hpr-green));
	--hpr-gradient-warm: linear-gradient(135deg, var(--hpr-orange), var(--hpr-amber));
	--hpr-gradient-bg: linear-gradient(180deg, #0b1f3a 0%, #132c4f 100%);
	--hpr-container: 1240px;
	--hpr-step-1: clamp(.875rem, .85rem + .2vw, .95rem);
	--hpr-step-2: clamp(1rem, .96rem + .25vw, 1.0625rem);
	--hpr-step-3: clamp(1.2rem, 1.05rem + .7vw, 1.45rem);
	--hpr-step-4: clamp(1.6rem, 1.3rem + 1.4vw, 2.2rem);
	--hpr-step-5: clamp(2rem, 1.5rem + 2.4vw, 3.1rem);
	--hpr-step-6: clamp(2.4rem, 1.8rem + 3.4vw, 4rem);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--hpr-font-body); font-size: var(--hpr-step-2); line-height: 1.6; color: var(--hpr-text); background: var(--hpr-bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--hpr-teal-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--hpr-navy); }
h1, h2, h3, h4, h5 { font-family: var(--hpr-font-head); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--hpr-navy); }
h1 { font-size: var(--hpr-step-5); font-weight: 800; }
h2 { font-size: var(--hpr-step-4); font-weight: 700; }
h3 { font-size: var(--hpr-step-3); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
.hpr-container { max-width: var(--hpr-container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .hpr-container { padding: 0 32px; } }
.hpr-container--narrow { max-width: 860px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; padding: 10px 16px; background: var(--hpr-navy); color: #fff; z-index: 9999; border-radius: 8px; clip: auto; width: auto; height: auto; }
:focus-visible { outline: 3px solid rgba(14,159,142,.55); outline-offset: 2px; }

/* ============== Reading progress ============== */
.hpr-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--hpr-orange); z-index: 400; transition: width .1s linear; }

/* ============== Utility bar ============== */
.hpr-topbar { background: var(--hpr-navy); color: rgba(255,255,255,.78); font-size: .78rem; }
.hpr-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.hpr-topbar__tag { display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hpr-topbar__tag strong { color: #fff; font-weight: 600; }
.hpr-topbar__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--hpr-orange); flex-shrink: 0; }
.hpr-topbar__links { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.hpr-topbar__links a { color: rgba(255,255,255,.78); font-weight: 500; }
.hpr-topbar__links a:hover { color: #fff; }
@media (max-width: 767px) { .hpr-topbar__links { display: none; } }

/* ============== Header ============== */
.hpr-header { position: sticky; top: 0; z-index: 300; background: #fff; border-bottom: 1px solid var(--hpr-line); transition: box-shadow .2s ease; }
.hpr-header.is-stuck { box-shadow: 0 6px 24px rgba(11,31,58,.08); }
.hpr-header__inner { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.hpr-header__brand { display: flex; align-items: center; flex-shrink: 0; }
.hpr-header__logo img { max-height: 48px; width: auto; }
.hpr-header__title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--hpr-font-head); font-weight: 800; font-size: 1.2rem; color: var(--hpr-navy); letter-spacing: -.02em; white-space: nowrap; }
.hpr-header__title:hover { color: var(--hpr-navy); }
.hpr-header__mark { width: 38px; height: 38px; border-radius: 10px; background: var(--hpr-navy); color: #fff; display: inline-grid; place-items: center; flex-shrink: 0; }
.hpr-header__mark svg { width: 24px; height: 24px; }
.hpr-header__brandname em { font-style: normal; color: var(--hpr-orange); }
.hpr-header__brandsub { display: block; font-family: var(--hpr-font-body); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--hpr-text-3); margin-top: 1px; }
.hpr-nav { flex: 1; display: flex; justify-content: center; }
.hpr-nav__menu { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.hpr-nav__menu > li { position: relative; }
.hpr-nav__menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 8px; color: var(--hpr-charcoal); font-weight: 600; font-size: .9rem; white-space: nowrap; }
.hpr-nav__menu > li > a:hover, .hpr-nav__menu > li.current-menu-item > a, .hpr-nav__menu > li.current-menu-ancestor > a, .hpr-nav__menu > li.current_page_parent > a { color: var(--hpr-orange-2); background: rgba(242,106,27,.06); }
.hpr-nav__menu .menu-item-has-children > a::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .55; margin-left: 2px; }
.hpr-nav__menu .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; padding: 8px; margin: 0; list-style: none; background: #fff; border: 1px solid var(--hpr-line); border-radius: 12px; box-shadow: var(--hpr-shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 50; }
.hpr-nav__menu .sub-menu::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.hpr-nav__menu li:hover > .sub-menu, .hpr-nav__menu li:focus-within > .sub-menu, .hpr-nav__menu li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hpr-nav__menu .sub-menu li a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .9rem; font-weight: 500; color: var(--hpr-charcoal); }
.hpr-nav__menu .sub-menu li a:hover { background: var(--hpr-bg); color: var(--hpr-orange-2); }
.hpr-nav__menu .sub-menu .sub-menu { left: 100%; top: -8px; }
.hpr-nav__menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); float: right; margin-top: 8px; }
.hpr-nav__toggle { display: none; background: transparent; border: 1px solid var(--hpr-line); border-radius: 10px; width: 44px; height: 44px; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.hpr-nav__toggle .hpr-nav__bar { display: block; width: 20px; height: 2px; background: var(--hpr-navy); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.hpr-nav__toggle[aria-expanded="true"] .hpr-nav__bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hpr-nav__toggle[aria-expanded="true"] .hpr-nav__bar:nth-child(2) { opacity: 0; }
.hpr-nav__toggle[aria-expanded="true"] .hpr-nav__bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.hpr-header__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.hpr-iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--hpr-line); background: #fff; color: var(--hpr-navy); transition: all .15s ease; }
.hpr-iconbtn:hover { border-color: var(--hpr-navy); background: var(--hpr-bg); color: var(--hpr-navy); }
.hpr-iconbtn svg { width: 20px; height: 20px; }

/* Search overlay */
.hpr-searchbar { display: none; background: #fff; border-bottom: 1px solid var(--hpr-line); }
.hpr-searchbar.is-open { display: block; }
.hpr-searchbar__inner { padding: 16px 0; }
.hpr-searchbar .hpr-search { max-width: 720px; margin: 0 auto; }
.hpr-searchbar__hint { text-align: center; font-size: .82rem; color: var(--hpr-text-3); margin: 10px 0 0; }
.hpr-searchbar__hint a { margin: 0 6px; font-weight: 600; }

/* Mobile nav */
@media (max-width: 1023px) {
	.hpr-header__inner { gap: 10px; }
	.hpr-nav__toggle { display: inline-flex; order: -1; }
	.hpr-nav { position: fixed; inset: 0; top: 0; background: rgba(11,31,58,.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .2s ease; justify-content: flex-start; z-index: 350; }
	.hpr-nav.is-open { opacity: 1; visibility: visible; }
	.hpr-nav__menu { flex-direction: column; gap: 0; width: min(88vw, 360px); height: 100%; overflow-y: auto; background: #fff; padding: 84px 16px 32px; box-shadow: var(--hpr-shadow-lg); transform: translateX(-100%); transition: transform .25s ease; }
	.hpr-nav.is-open .hpr-nav__menu { transform: translateX(0); }
	.hpr-nav__menu > li { border-bottom: 1px solid var(--hpr-line); }
	.hpr-nav__menu > li > a { display: flex; justify-content: space-between; padding: 14px 8px; font-size: 1rem; border-radius: 0; }
	.hpr-nav__menu .menu-item-has-children > a::after { width: 8px; height: 8px; }
	.hpr-nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 8px 12px; display: none; background: transparent; }
	.hpr-nav__menu li.is-open > .sub-menu { display: block; }
	.hpr-nav__menu .sub-menu li a { padding: 10px 8px; color: var(--hpr-text-2); }
	.hpr-nav__close { position: absolute; top: 18px; left: calc(min(88vw, 360px) - 56px); z-index: 2; }
	.hpr-header .hpr-header__actions .hpr-header__cta { display: none; }
	.hpr-header__brandsub { display: none; }
	.hpr-header__title { font-size: 1.05rem; }
}
@media (min-width: 1024px) { .hpr-nav__close { display: none; } }
@media (max-width: 560px) {
	.hpr-header__inner { gap: 8px; min-height: 62px; }
	.hpr-header__title { font-size: .98rem; gap: 8px; }
	.hpr-header__mark { width: 32px; height: 32px; }
	.hpr-header__mark svg { width: 20px; height: 20px; }
	.hpr-iconbtn { width: 40px; height: 40px; }
	.hpr-nav__toggle { width: 40px; height: 40px; padding: 11px 10px; }
}
@media (max-width: 1180px) and (min-width: 1024px) { .hpr-nav__menu > li > a { padding: 10px 8px; font-size: .84rem; } .hpr-header__brandsub { display: none; } }
.hpr-hide-mobile { }
@media (max-width: 767px) { .hpr-hide-mobile { display: none !important; } }

/* ============== Buttons ============== */
.hpr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; transition: all .18s ease; cursor: pointer; line-height: 1.1; text-align: center; }
.hpr-btn--primary { background: var(--hpr-orange); color: #fff !important; box-shadow: 0 6px 18px rgba(242,106,27,.28); }
.hpr-btn--primary:hover { background: var(--hpr-orange-2); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(242,106,27,.34); }
.hpr-btn--navy { background: var(--hpr-navy); color: #fff !important; }
.hpr-btn--navy:hover { background: var(--hpr-navy-2); transform: translateY(-1px); }
.hpr-btn--teal { background: var(--hpr-teal); color: #fff !important; }
.hpr-btn--teal:hover { background: var(--hpr-teal-2); }
.hpr-btn--ghost { background: #fff; color: var(--hpr-navy) !important; border-color: var(--hpr-line-2); }
.hpr-btn--ghost:hover { border-color: var(--hpr-navy); background: var(--hpr-bg); }
.hpr-btn--outline { background: transparent; color: var(--hpr-orange-2) !important; border-color: var(--hpr-orange); }
.hpr-btn--outline:hover { background: var(--hpr-orange); color: #fff !important; }
.hpr-btn--light { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.25); }
.hpr-btn--light:hover { background: rgba(255,255,255,.2); }
.hpr-btn--lg { padding: 15px 26px; font-size: 1.02rem; border-radius: 12px; }
.hpr-btn--sm { padding: 8px 14px; font-size: .84rem; border-radius: 8px; }
.hpr-btn--block { width: 100%; }
.hpr-btn svg { width: 16px; height: 16px; }
.hpr-link { font-weight: 600; color: var(--hpr-orange-2); display: inline-flex; align-items: center; gap: 6px; }
.hpr-link:hover { color: var(--hpr-navy); }
.hpr-link::after { content: '→'; transition: transform .15s ease; }
.hpr-link:hover::after { transform: translateX(3px); }

/* ============== Section primitives ============== */
.hpr-section { padding: clamp(44px, 6vw, 80px) 0; position: relative; }
.hpr-section--tight { padding: clamp(28px, 4vw, 48px) 0; }
.hpr-section--white { background: #fff; }
.hpr-section--soft { background: var(--hpr-bg-soft); }
.hpr-section--navy { background: var(--hpr-navy); color: rgba(255,255,255,.85); }
.hpr-section--navy h2, .hpr-section--navy h3 { color: #fff; }
.hpr-section__header { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.hpr-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.hpr-section__head .hpr-section__title { margin: 0; }
.hpr-section__head .hpr-section__sub { margin: 6px 0 0; }
.hpr-section__eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--hpr-orange-2); margin-bottom: 8px; }
.hpr-section__eyebrow::before { content: ''; width: 18px; height: 3px; background: var(--hpr-orange); border-radius: 2px; }
.hpr-section--navy .hpr-section__eyebrow { color: var(--hpr-amber); }
.hpr-section__title { margin-bottom: 8px; }
.hpr-section__sub { color: var(--hpr-text-2); font-size: var(--hpr-step-2); max-width: 640px; }
.hpr-section--navy .hpr-section__sub { color: rgba(255,255,255,.72); }
.hpr-section__more { flex-shrink: 0; }

/* ============== Pills / labels / chips ============== */
.hpr-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(17,24,39,.06); font-size: .74rem; font-weight: 600; color: var(--hpr-text); line-height: 1.3; }
.hpr-pill--alt { background: rgba(14,159,142,.12); color: var(--hpr-teal-2); }
.hpr-pill--gold { background: rgba(245,166,35,.18); color: #92500a; }
.hpr-pill--green { background: rgba(34,160,107,.14); color: #146c47; }
.hpr-pill--orange { background: rgba(242,106,27,.12); color: var(--hpr-orange-2); }
.hpr-pill--navy { background: var(--hpr-navy); color: #fff; }
.hpr-label { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--hpr-orange-2); }
.hpr-label--teal { color: var(--hpr-teal-2); }
.hpr-label--navy { color: var(--hpr-navy); }
.hpr-label--onimage { background: var(--hpr-orange); color: #fff; padding: 5px 9px; border-radius: 6px; letter-spacing: .1em; }
.hpr-chip { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--hpr-line-2); color: var(--hpr-navy); font-weight: 500; cursor: pointer; transition: all .15s ease; font-size: .9rem; }
.hpr-chip:hover { border-color: var(--hpr-teal); color: var(--hpr-teal-2); }
.hpr-chip.is-active { background: var(--hpr-navy); color: #fff; border-color: transparent; }
.hpr-chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ============== Meta rows ============== */
.hpr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .8rem; color: var(--hpr-text-3); }
.hpr-meta strong { color: var(--hpr-text-2); font-weight: 600; }
.hpr-meta__sep::before { content: '·'; }
.hpr-meta time { white-space: nowrap; }

/* ============== Stats ============== */
.hpr-stat { padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); display: flex; flex-direction: column; gap: 4px; border: 1px solid rgba(255,255,255,.1); }
.hpr-stat__value { font-family: var(--hpr-font-head); font-weight: 700; font-size: 1.4rem; }
.hpr-stat__label { font-size: .72rem; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.hpr-stat--green .hpr-stat__value { color: var(--hpr-green); }
.hpr-stat--blue  .hpr-stat__value { color: var(--hpr-teal); }
.hpr-stat--gold  .hpr-stat__value { color: var(--hpr-amber); }
.hpr-section--white .hpr-stat, .hpr-tool .hpr-stat { background: var(--hpr-bg); border-color: var(--hpr-line); }

/* ============== Legacy hero (inner pages / tools) ============== */
.hpr-hero--inner { padding: clamp(40px, 6vw, 72px) 0; color: #fff; background: var(--hpr-gradient-bg); }
.hpr-hero--inner .hpr-hero__title { color: #fff; font-size: var(--hpr-step-5); margin-bottom: 8px; }
.hpr-hero--inner .hpr-hero__subtitle { color: rgba(255,255,255,.75); max-width: 640px; margin: 0; }

/* ============== Page head (archives, pages) ============== */
.hpr-pagehead { padding: clamp(32px, 5vw, 56px) 0 clamp(24px, 3vw, 36px); background: #fff; border-bottom: 1px solid var(--hpr-line); }
.hpr-pagehead__title { margin: 6px 0 8px; }
.hpr-pagehead__desc { color: var(--hpr-text-2); max-width: 720px; font-size: var(--hpr-step-2); margin: 0; }
.hpr-pagehead__chips { margin-top: 18px; }
.hpr-pagehead__chips a { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hpr-line-2); font-size: .84rem; font-weight: 600; color: var(--hpr-navy); background: #fff; }
.hpr-pagehead__chips a:hover, .hpr-pagehead__chips a.is-active { border-color: var(--hpr-orange); color: var(--hpr-orange-2); }

/* ============== Footer ============== */
.hpr-footer { background: var(--hpr-navy); color: rgba(255,255,255,.75); padding: 56px 0 28px; margin-top: 0; }
.hpr-footer a { color: rgba(255,255,255,.75); }
.hpr-footer a:hover { color: #fff; }
.hpr-footer__grid { display: grid; grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px) { .hpr-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .hpr-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; } }
.hpr-footer__brand .hpr-header__title { color: #fff; margin-bottom: 12px; }
.hpr-footer__brand .hpr-header__mark { background: var(--hpr-orange); }
.hpr-footer__tag { color: rgba(255,255,255,.65); max-width: 380px; font-size: .92rem; }
.hpr-footer__title { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; font-family: var(--hpr-font-body); font-weight: 700; }
.hpr-footer__list { list-style: none; padding: 0; margin: 0; }
.hpr-footer__list li { margin-bottom: 9px; font-size: .92rem; }
.hpr-fwidget ul { list-style: none; padding: 0; margin: 0; }
.hpr-fwidget li { margin-bottom: 8px; }
.hpr-footer__news { margin-top: 18px; }
.hpr-footer__news .hpr-newsform { max-width: 380px; }
.hpr-footer__disclaimer { padding: 22px 0 0; font-size: .82rem; color: rgba(255,255,255,.55); line-height: 1.6; }
.hpr-footer__disclaimer strong { color: rgba(255,255,255,.8); }
.hpr-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .78rem; color: rgba(255,255,255,.5); padding-top: 18px; }
.hpr-footer__menu { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin: 0; padding: 0; }
.hpr-footer__menu a { color: rgba(255,255,255,.6); font-size: .8rem; }

/* ============== Forms / fields ============== */
.hpr-field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 500; color: var(--hpr-text); }
.hpr-field > span { font-weight: 600; }
.hpr-field input[type=number], .hpr-field input[type=text], .hpr-field input[type=email], .hpr-field input[type=month], .hpr-field select, .hpr-input { width: 100%; padding: 11px 13px; border: 1px solid var(--hpr-line-2); border-radius: 10px; background: #fff; font: inherit; color: var(--hpr-text); }
.hpr-field input:focus, .hpr-field select:focus, .hpr-input:focus { outline: none; border-color: var(--hpr-teal); box-shadow: var(--hpr-glow); }
.hpr-field input[type=range] { width: 100%; accent-color: var(--hpr-orange); }
.hpr-field output { font-family: var(--hpr-font-head); font-weight: 700; color: var(--hpr-teal-2); }
.hpr-newsform { display: flex; gap: 8px; flex-wrap: wrap; }
.hpr-newsform input[type=email] { flex: 1; min-width: 200px; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--hpr-line-2); font: inherit; }
.hpr-newsform__msg { width: 100%; font-size: .85rem; margin: 6px 0 0; min-height: 1.2em; }
.hpr-newsform__msg.is-ok { color: var(--hpr-green); }
.hpr-newsform__msg.is-err { color: var(--hpr-red); }

/* ============== Search form ============== */
.hpr-search { display: flex; gap: 8px; max-width: 560px; }
.hpr-search input[type=search] { flex: 1; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--hpr-line-2); background: #fff; font: inherit; min-width: 0; }
.hpr-search input[type=search]:focus { outline: none; border-color: var(--hpr-teal); box-shadow: var(--hpr-glow); }

/* ============== Breadcrumbs ============== */
.hpr-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .8rem; color: var(--hpr-text-3); }
.hpr-breadcrumbs a { color: var(--hpr-text-2); font-weight: 500; }
.hpr-breadcrumbs a:hover { color: var(--hpr-orange-2); }
.hpr-breadcrumbs li + li::before { content: '/'; margin-right: 6px; opacity: .45; }
.hpr-breadcrumbs li[aria-current] { color: var(--hpr-text-3); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============== Cards ============== */
.hpr-grid { display: grid; gap: 24px; }
.hpr-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.hpr-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.hpr-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.hpr-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 24px; }
.hpr-card { background: var(--hpr-card); border: 1px solid var(--hpr-line); border-radius: var(--hpr-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; }
.hpr-card:hover { transform: translateY(-3px); box-shadow: var(--hpr-shadow); border-color: transparent; }
.hpr-card__media { position: relative; display: block; overflow: hidden; background: var(--hpr-bg-soft); aspect-ratio: 16 / 10; }
.hpr-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hpr-card:hover .hpr-card__media img { transform: scale(1.04); }
.hpr-card__media .hpr-label--onimage { position: absolute; top: 12px; left: 12px; z-index: 2; }
.hpr-card__rating { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(11,31,58,.9); color: #fff; padding: 5px 9px; border-radius: 8px; font-size: .78rem; font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.hpr-card__rating svg { width: 12px; height: 12px; fill: var(--hpr-amber); }
.hpr-card__body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hpr-card__title { font-size: 1.08rem; margin: 0; line-height: 1.3; }
.hpr-card__title a { color: var(--hpr-navy); }
.hpr-card__title a:hover { color: var(--hpr-orange-2); }
.hpr-card__title a::after { content: ''; position: absolute; inset: 0; }
.hpr-card__excerpt { color: var(--hpr-text-2); font-size: .9rem; margin: 0; line-height: 1.55; }
.hpr-card__foot { margin-top: auto; padding-top: 6px; }
.hpr-card--lg .hpr-card__title { font-size: 1.35rem; }
.hpr-card--lg .hpr-card__body { padding: 22px; }
/* horizontal mini card */
.hpr-minicard { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: start; position: relative; padding: 12px; border-radius: 10px; transition: background .15s ease; }
.hpr-minicard:hover { background: #fff; box-shadow: var(--hpr-shadow-sm); }
.hpr-minicard__media { aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--hpr-bg-soft); }
.hpr-minicard__media img { width: 100%; height: 100%; object-fit: cover; }
.hpr-minicard__title { font-size: .98rem; margin: 4px 0 4px; line-height: 1.3; }
.hpr-minicard__title a { color: var(--hpr-navy); }
.hpr-minicard__title a::after { content: ''; position: absolute; inset: 0; }
.hpr-minicard__title a:hover { color: var(--hpr-orange-2); }
.hpr-minicard--num { grid-template-columns: 36px 1fr; }
.hpr-minicard__num { font-family: var(--hpr-font-head); font-size: 1.6rem; font-weight: 800; color: var(--hpr-line-2); line-height: 1; padding-top: 4px; }
/* text-only list card */
.hpr-listcard { padding: 16px 0; border-bottom: 1px solid var(--hpr-line); position: relative; }
.hpr-listcard:last-child { border-bottom: 0; }
.hpr-listcard__title { font-size: 1rem; margin: 4px 0 4px; }
.hpr-listcard__title a { color: var(--hpr-navy); }
.hpr-listcard__title a::after { content: ''; position: absolute; inset: 0; }
.hpr-listcard__title a:hover { color: var(--hpr-orange-2); }
.hpr-listcard p { margin: 0; font-size: .88rem; color: var(--hpr-text-2); }

/* legacy postcard alias */
.hpr-postcard { background: #fff; border: 1px solid var(--hpr-line); border-radius: var(--hpr-radius); overflow: hidden; }
.hpr-postcard__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.hpr-postcard__body { padding: 18px; }
.hpr-postcard__title { font-size: 1.1rem; margin: 8px 0; }
.hpr-postcard__title a { color: var(--hpr-navy); }
.hpr-postcard__excerpt { color: var(--hpr-text-2); font-size: .9rem; margin: 0 0 10px; }

/* ============== Pagination ============== */
.hpr-pagination { margin-top: 40px; }
.hpr-pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hpr-pagination .page-numbers { padding: 9px 15px; border-radius: 10px; background: #fff; border: 1px solid var(--hpr-line); color: var(--hpr-text); font-weight: 600; font-size: .9rem; }
.hpr-pagination .page-numbers:hover { border-color: var(--hpr-navy); }
.hpr-pagination .page-numbers.current { background: var(--hpr-navy); color: #fff; border-color: transparent; }

/* ============== Archive layout ============== */
.hpr-archive { padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.hpr-archive__grid, .hpr-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 1024px) { .hpr-archive__grid, .hpr-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } }
.hpr-archive__side, .hpr-layout__side { min-width: 0; }
.hpr-empty { padding: 40px 24px; text-align: center; color: var(--hpr-text-2); background: #fff; border: 1px dashed var(--hpr-line-2); border-radius: 16px; }

/* ============== Sidebar ============== */
.hpr-sidebar { display: flex; flex-direction: column; gap: 24px; }
.hpr-sidebar__sticky { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 24px; }
.hpr-widget { background: #fff; border: 1px solid var(--hpr-line); border-radius: var(--hpr-radius); padding: 20px; }
.hpr-widget__title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--hpr-font-body); font-weight: 700; color: var(--hpr-navy); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--hpr-orange); display: inline-block; }
.hpr-widget ul { list-style: none; padding: 0; margin: 0; }
.hpr-widget li { margin-bottom: 10px; font-size: .92rem; }
.hpr-widget li a { color: var(--hpr-charcoal); font-weight: 500; }
.hpr-widget li a:hover { color: var(--hpr-orange-2); }
.hpr-widget--navy { background: var(--hpr-navy); color: rgba(255,255,255,.8); border-color: transparent; }
.hpr-widget--navy .hpr-widget__title { color: #fff; }
.hpr-widget--navy p { font-size: .9rem; }
.hpr-widget .hpr-minicard { padding: 8px 0; grid-template-columns: 84px 1fr; }
.hpr-widget .hpr-minicard:hover { background: transparent; box-shadow: none; }
.hpr-widget .hpr-minicard__title { font-size: .92rem; margin: 0 0 3px; }
.hpr-widget .hpr-search { max-width: none; }
.hpr-widget .hpr-search input[type=search] { padding: 10px 12px; }
.hpr-widget__cats li { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--hpr-line); margin: 0; }
.hpr-widget__cats li:last-child { border-bottom: 0; }
.hpr-widget__cats .count { font-size: .75rem; color: var(--hpr-text-3); background: var(--hpr-bg); padding: 2px 8px; border-radius: 999px; }
.hpr-widget__rank { counter-reset: rank; }
.hpr-widget__rank li { counter-increment: rank; display: grid; grid-template-columns: 28px 1fr; gap: 8px; align-items: start; padding: 8px 0; border-bottom: 1px solid var(--hpr-line); margin: 0; }
.hpr-widget__rank li:last-child { border-bottom: 0; }
.hpr-widget__rank li::before { content: counter(rank, decimal-leading-zero); font-family: var(--hpr-font-head); font-weight: 800; color: var(--hpr-orange); font-size: .95rem; line-height: 1.5; }

/* ============== Tables ============== */
.hpr-table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0; border: 1px solid var(--hpr-line); border-radius: 12px; background: #fff; }
.hpr-table-wrap.has-scroll::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 28px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9)); pointer-events: none; border-radius: 0 12px 12px 0; }
.hpr-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
.hpr-table th, .hpr-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hpr-line); }
.hpr-table thead th { background: var(--hpr-navy); color: #fff; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; white-space: nowrap; position: sticky; top: 0; }
.hpr-table tbody tr:last-child td { border-bottom: 0; }
.hpr-table tbody tr:nth-child(even) td { background: #fafbfc; }
.hpr-table tbody tr:hover td { background: #f1f7f6; }
.hpr-table td:first-child, .hpr-table th:first-child { position: sticky; left: 0; background: inherit; z-index: 1; }
.hpr-table tbody td:first-child { background: #fff; font-weight: 600; color: var(--hpr-navy); }
.hpr-table tbody tr:nth-child(even) td:first-child { background: #fafbfc; }
.hpr-table__row--best td { background: rgba(245,166,35,.08) !important; }
.hpr-table--sortable thead th { cursor: pointer; user-select: none; }
.hpr-table--sortable thead th::after { content: ' ↕'; opacity: .45; font-size: .8em; }
.hpr-table--sortable thead th.is-asc::after { content: ' ↑'; opacity: 1; }
.hpr-table--sortable thead th.is-desc::after { content: ' ↓'; opacity: 1; }
.hpr-table--compare th:first-child, .hpr-table--compare td:first-child { width: 32%; }
@media (max-width: 719px) {
	.hpr-table--stack { min-width: 0; }
	.hpr-table--stack thead { display: none; }
	.hpr-table--stack tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--hpr-line); }
	.hpr-table--stack tr:last-child { border-bottom: 0; }
	.hpr-table--stack td { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 6px 0; border: 0; background: transparent !important; position: static; }
	.hpr-table--stack td::before { content: attr(data-l); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--hpr-text-3); font-weight: 700; padding-top: 2px; }
	.hpr-table--stack td:first-child { font-size: 1rem; }
	.hpr-table--stack td:first-child::before { content: attr(data-l); }
}
.hpr-mini-bar { display: inline-block; width: 60px; height: 6px; border-radius: 999px; background: var(--hpr-bg-soft); vertical-align: middle; margin-right: 6px; overflow: hidden; }
.hpr-mini-bar span { display: block; height: 100%; background: var(--hpr-gradient-cool); }

/* ============== Prose ============== */
.hpr-prose { font-size: 1.06rem; line-height: 1.78; color: #1f2937; }
.hpr-prose > *:first-child { margin-top: 0; }
.hpr-prose h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.8rem); margin: 2em 0 .7em; padding-top: .2em; scroll-margin-top: 100px; }
.hpr-prose h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.3rem); margin: 1.6em 0 .6em; scroll-margin-top: 100px; }
.hpr-prose h4 { margin: 1.4em 0 .5em; }
.hpr-prose p { margin: 0 0 1.15em; }
.hpr-prose ul, .hpr-prose ol { margin: 0 0 1.3em 1.3em; padding: 0; }
.hpr-prose li { margin-bottom: .45em; }
.hpr-prose li::marker { color: var(--hpr-orange); font-weight: 700; }
.hpr-prose a { color: var(--hpr-teal-2); text-decoration: underline; text-decoration-color: rgba(14,159,142,.35); text-underline-offset: 3px; font-weight: 500; }
.hpr-prose a:hover { color: var(--hpr-orange-2); text-decoration-color: currentColor; }
.hpr-prose blockquote { border-left: 4px solid var(--hpr-orange); padding: 8px 20px; color: var(--hpr-text-2); margin: 1.6em 0; background: #fff; border-radius: 0 10px 10px 0; font-size: 1.05em; }
.hpr-prose img { border-radius: 12px; margin: 1.5em auto; }
.hpr-prose figure { margin: 1.6em 0; }
.hpr-prose figcaption { font-size: .82rem; color: var(--hpr-text-3); text-align: center; margin-top: 8px; }
.hpr-prose hr { border: 0; border-top: 1px solid var(--hpr-line); margin: 2.4em 0; }
.hpr-prose table { font-size: .92rem; }
.hpr-prose .hpr-table-wrap { margin: 1.4em 0 1.8em; }
.hpr-prose strong { color: var(--hpr-navy); }
.hpr-prose > p:first-of-type { font-size: 1.12rem; color: var(--hpr-charcoal); }

/* ============== Mobile sticky CTA (kept for tool pages, off by default) ============== */
.hpr-mobile-cta { display: none; }

/* ============== Misc ============== */
.hpr-disclosure { padding: 14px 18px; background: rgba(245,166,35,.1); border: 1px solid rgba(245,166,35,.3); border-radius: 10px; font-size: .86rem; color: #7c4a03; line-height: 1.55; }
.hpr-disclosure a { color: inherit; text-decoration: underline; }
.hpr-notice { padding: 14px 18px; border-radius: 10px; background: #fff; border: 1px solid var(--hpr-line); font-size: .9rem; color: var(--hpr-text-2); }
.hpr-quickstart { padding: 32px 0; background: #fff; border-bottom: 1px solid var(--hpr-line); }
.hpr-quickstart__head { text-align: center; margin-bottom: 20px; }
.hpr-quickstart__title { font-size: var(--hpr-step-3); }
.hpr-quickstart__chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hpr-energy-bg { display: none; }
.hpr-visually-hidden { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.hpr-text-center { text-align: center; }
.hpr-mt-0 { margin-top: 0 !important; }
.hpr-muted { color: var(--hpr-text-3); }
.hpr-small { font-size: .85rem; }
