/**
 * HostingScale Platform — block styles.
 * Design tokens from the Master Blueprint (§6). Original design language;
 * not a clone of any competitor.
 */

:root {
	--hi-navy: #071B3D;
	--hi-blue: #0969DA;
	--hi-sky: #EAF4FF;
	--hi-green: #16A34A;
	--hi-amber: #F59E0B;
	--hi-red: #DC2626;
	--hi-text: #0F172A;
	--hi-muted: #64748B;
	--hi-border: #E2E8F0;
	--hi-bg: #F8FAFC;
	--hi-card: #FFFFFF;
	--hi-radius: 18px;
	--hi-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

/* ---------- Shared primitives ---------- */

.hip-card {
	background: var(--hi-card);
	border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius);
	box-shadow: var(--hi-shadow);
	padding: 20px;
	color: var(--hi-text);
	font-size: 16px;
	line-height: 1.5;
}

.hip-btn {
	display: inline-block;
	font-weight: 600;
	text-decoration: none;
	border: 0;
	border-radius: 999px;
	padding: 12px 22px;
	cursor: pointer;
	transition: transform .08s ease, opacity .15s ease;
	line-height: 1.1;
}

.hip-btn:hover { opacity: .92; }
.hip-btn:active { transform: translateY(1px); }

.hip-btn--primary { background: var(--hi-blue); color: #fff; }
.hip-btn--secondary { background: var(--hi-sky); color: var(--hi-navy); }
.hip-btn--sm { padding: 8px 14px; font-size: 14px; }

.hip-btn:focus-visible {
	outline: 3px solid var(--hi-amber);
	outline-offset: 2px;
}

.hip-score {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 32px;
	padding: 0 10px;
	background: var(--hi-navy);
	color: #fff;
	font-weight: 700;
	border-radius: 10px;
}
.hip-score--lg { min-width: 56px; height: 42px; font-size: 20px; }

.hip-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--hi-sky);
	color: var(--hi-navy);
}
.hip-badge--coupon { background: #ecfdf5; color: #065f46; }
.hip-badge--exclusive { background: var(--hi-amber); color: #422006; text-transform: uppercase; letter-spacing: .03em; }
.hip-badge__meta { color: var(--hi-muted); font-weight: 500; }

.hip-logo__img { max-height: 40px; width: auto; }
.hip-logo--text { font-weight: 700; font-size: 18px; color: var(--hi-navy); }

.hip-disclosure {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--hi-muted);
}

.hip-empty {
	border: 1px dashed var(--hi-border);
	border-radius: 12px;
	padding: 14px 16px;
	color: var(--hi-muted);
	background: var(--hi-bg);
	font-size: 14px;
}

.hip-renewal-warning {
	margin: 6px 0 0;
	color: var(--hi-red);
	font-size: 13px;
	font-weight: 600;
}

/* ---------- Provider card ---------- */

.hip-provider-card { display: flex; flex-direction: column; gap: 10px; }
.hip-card__head { display: flex; align-items: center; justify-content: space-between; }
.hip-card__bestfor { margin: 0; color: var(--hi-muted); }
.hip-card__price { margin: 0; display: flex; flex-direction: column; }
.hip-card__price-value { font-size: 24px; font-weight: 800; color: var(--hi-text); }
.hip-card__renewal { font-size: 13px; color: var(--hi-muted); }
.hip-card__cta { margin-top: 4px; }

/* ---------- Ranking list ---------- */

.hip-ranking-list { display: flex; flex-direction: column; gap: 16px; }
.hip-ranking-card {
	display: grid;
	grid-template-columns: 64px 1fr auto;
	gap: 16px;
	align-items: center;
}
.hip-rank-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px; height: 48px;
	border-radius: 12px;
	background: var(--hi-sky);
	color: var(--hi-navy);
	font-weight: 800;
	font-size: 18px;
}
.hip-ranking-card__reason { margin: 8px 0 0; color: var(--hi-muted); }
.hip-ranking-card__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hip-ranking-card__price { font-size: 20px; font-weight: 800; }

/* ---------- Plan table ---------- */

.hip-plan-table-wrap { overflow-x: auto; }
.hip-plan-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}
.hip-plan-table th,
.hip-plan-table td {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--hi-border);
	white-space: nowrap;
}
.hip-plan-table thead th {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--hi-muted);
}
.hip-plan-table__intro { font-weight: 800; color: var(--hi-text); }
.hip-plan-table__renewal { color: var(--hi-red); font-weight: 600; }

/* ---------- Coupon card ---------- */

.hip-coupon-card { display: flex; flex-direction: column; gap: 10px; }
.hip-coupon-card__head { display: flex; align-items: center; justify-content: space-between; }
.hip-coupon-card__discount { margin: 0; font-size: 20px; font-weight: 800; }
.hip-coupon-card__meta { margin: 0; padding: 0; list-style: none; display: flex; gap: 14px; flex-wrap: wrap; color: var(--hi-muted); font-size: 13px; }
.hip-coupon-card__terms { margin: 0; font-size: 13px; color: var(--hi-muted); }
.hip-coupon-card__code {
	display: inline-block;
	margin-left: 10px;
	padding: 8px 14px;
	border: 2px dashed var(--hi-blue);
	border-radius: 10px;
	font-weight: 800;
	letter-spacing: .05em;
	background: var(--hi-sky);
	color: var(--hi-navy);
}

/* ---------- Methodology box ---------- */

.hip-methodology {
	background: var(--hi-bg);
	border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius);
	padding: 20px 22px;
}
.hip-methodology__title { margin: 0 0 8px; font-size: 20px; }
.hip-methodology__body { color: var(--hi-text); }
.hip-methodology__meta { display: flex; flex-wrap: wrap; gap: 18px; margin: 14px 0 0; }
.hip-methodology__meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--hi-muted); }
.hip-methodology__meta dd { margin: 2px 0 0; font-weight: 600; }

/* ---------- AI Advisor ---------- */

.hip-advisor {
	background: var(--hi-card);
	border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius);
	box-shadow: var(--hi-shadow);
	padding: 24px;
}
.hip-advisor__title { margin: 0 0 16px; font-size: 24px; }
.hip-advisor__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 14px;
}
.hip-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.hip-field > span { font-weight: 600; color: var(--hi-navy); }
.hip-field input,
.hip-field select {
	padding: 10px 12px;
	border: 1px solid var(--hi-border);
	border-radius: 10px;
	font-size: 15px;
	background: #fff;
}
.hip-advisor__submit { margin-top: 16px; }
.hip-advisor__result { margin-top: 20px; }
.hip-advisor__loading { color: var(--hi-muted); }
.hip-advisor__notice {
	background: #fff7ed;
	border: 1px solid var(--hi-amber);
	color: #7c2d12;
	padding: 8px 12px;
	border-radius: 10px;
}
.hip-advisor__resulttitle { margin: 0 0 12px; font-size: 20px; }
.hip-advisor__conf { color: var(--hi-muted); font-weight: 500; font-size: 15px; }
.hip-advisor-pick {
	border: 1px solid var(--hi-border);
	border-radius: 14px;
	padding: 16px;
	margin-bottom: 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: flex-start;
}
.hip-advisor-pick--best { border-color: var(--hi-blue); background: var(--hi-sky); }
.hip-advisor-pick__price { font-size: 18px; font-weight: 800; }
.hip-advisor-pick__renewal { font-size: 13px; color: var(--hi-muted); font-weight: 500; }
.hip-advisor__reason { color: var(--hi-text); }
.hip-advisor__altstitle { margin: 16px 0 8px; }
.hip-advisor__alts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.hip-advisor__gaps { margin-top: 14px; color: var(--hi-muted); font-size: 13px; }

/* ---------- Comparison table ---------- */

.hip-compare {
	background: var(--hi-card);
	border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius);
	box-shadow: var(--hi-shadow);
	padding: 24px;
}
.hip-compare__head { margin-bottom: 16px; }
.hip-compare__title { margin: 0 0 6px; font-size: 24px; }
.hip-compare__winner {
	margin: 0;
	display: inline-block;
	background: var(--hi-green);
	color: #fff;
	font-weight: 700;
	padding: 6px 14px;
	border-radius: 999px;
}
.hip-compare__subtitle { margin: 22px 0 10px; font-size: 18px; }
.hip-compare__wrap { overflow-x: auto; }
.hip-compare__table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hip-compare__table th,
.hip-compare__table td {
	text-align: left;
	padding: 12px 14px;
	border-bottom: 1px solid var(--hi-border);
	white-space: nowrap;
}
.hip-compare__table thead th {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .03em;
	color: var(--hi-navy);
	background: var(--hi-sky);
}
.hip-compare__table tbody th { color: var(--hi-muted); font-weight: 600; }
.hip-compare__win { background: #ecfdf5; font-weight: 700; }
.hip-compare__badge {
	display: inline-block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .04em;
	background: var(--hi-green);
	color: #fff;
	padding: 1px 7px;
	border-radius: 999px;
	vertical-align: middle;
}
.hip-compare__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---------- Benchmark card ---------- */

.hip-benchmark-card__title { margin: 0 0 12px; font-size: 18px; }
.hip-benchmark-card__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hip-benchmark-card__table th,
.hip-benchmark-card__table td { padding: 8px 10px; border-bottom: 1px solid var(--hi-border); text-align: left; white-space: nowrap; }
.hip-benchmark-card__table thead th { font-size: 12px; text-transform: uppercase; color: var(--hi-muted); }

/* ---------- Score breakdown ---------- */

.hip-score-breakdown__title { margin: 0 0 14px; font-size: 18px; }
.hip-score-row { display: grid; grid-template-columns: 110px 1fr 44px; gap: 10px; align-items: center; margin-bottom: 10px; }
.hip-score-row__label { font-size: 14px; color: var(--hi-navy); font-weight: 600; }
.hip-score-row__track { height: 10px; background: var(--hi-border); border-radius: 999px; overflow: hidden; }
.hip-score-row__fill { display: block; height: 100%; background: var(--hi-blue); border-radius: 999px; }
.hip-score-row__value { font-weight: 800; text-align: right; }

/* ---------- Coupon modal ---------- */

.hip-coupon-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.hip-coupon-modal[hidden] { display: none; }
.hip-coupon-modal__overlay { position: absolute; inset: 0; background: rgba(7, 27, 61, .55); }
.hip-coupon-modal__dialog {
	position: relative;
	background: var(--hi-card);
	border-radius: var(--hi-radius);
	box-shadow: var(--hi-shadow);
	padding: 28px;
	max-width: 420px;
	width: calc(100% - 32px);
	text-align: center;
}
.hip-coupon-modal__close { position: absolute; top: 10px; right: 14px; background: none; border: 0; font-size: 26px; line-height: 1; cursor: pointer; color: var(--hi-muted); }
.hip-coupon-modal__discount { font-size: 24px; font-weight: 800; margin: 12px 0 6px; }
.hip-coupon-modal__expiry { color: var(--hi-muted); font-size: 13px; margin: 0 0 8px; }
.hip-coupon-modal__terms { color: var(--hi-muted); font-size: 13px; }

/* ---------- Provider search ---------- */

.hip-provider-search { position: relative; max-width: 480px; }
.hip-provider-search__input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--hi-border);
	border-radius: 999px;
	font-size: 16px;
}
.hip-provider-search__results {
	position: absolute;
	z-index: 20;
	left: 0; right: 0;
	margin: 6px 0 0;
	padding: 6px;
	list-style: none;
	background: var(--hi-card);
	border: 1px solid var(--hi-border);
	border-radius: 12px;
	box-shadow: var(--hi-shadow);
}
.hip-provider-search__results li { margin: 0; }
.hip-provider-search__results a { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--hi-text); }
.hip-provider-search__results a:hover { background: var(--hi-sky); }

/* ---------- Provider review (auto-composed) ---------- */

.hip-provider-review { display: flex; flex-direction: column; gap: 20px; }
.hip-provider-hero { display: flex; flex-direction: column; gap: 12px; }
.hip-provider-hero__main { display: flex; align-items: center; justify-content: space-between; }
.hip-provider-hero__price { font-size: 20px; font-weight: 800; margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 600px) {
	.hip-ranking-card {
		grid-template-columns: 48px 1fr;
	}
	.hip-ranking-card__aside {
		grid-column: 1 / -1;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

/* ============================================================
   Rich cards (v2) — ribbons, ratings, feature bullets
   ============================================================ */

.hip-rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 4px 0; }
.hip-rating__label {
	font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em;
	padding: 2px 8px; border-radius: 6px; color: #fff; background: var(--hi-green);
}
.hip-rating__label--exceptional { background: #15803d; }
.hip-rating__label--excellent  { background: #16a34a; }
.hip-rating__label--great      { background: #0969da; }
.hip-rating__label--good       { background: #0284c7; }
.hip-rating__label--fair       { background: #b45309; }
.hip-rating__score { font-weight: 800; color: var(--hi-navy); }
.hip-rating__reviews { font-size: 13px; color: var(--hi-blue); text-decoration: none; }
.hip-rating__reviews:hover { text-decoration: underline; }

.hip-stars { display: inline-flex; gap: 1px; }
.hip-star { color: #d7dce3; font-size: 15px; line-height: 1; }
.hip-star--full { color: #f5a623; }
.hip-star--half { position: relative; color: #d7dce3; }
.hip-star--half::before { content: "★"; position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: #f5a623; }

.hip-checklist { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hip-checklist li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--hi-text); line-height: 1.4; }
.hip-checklist li::before {
	content: "✓"; position: absolute; left: 0; top: 0;
	width: 18px; height: 18px; border-radius: 50%;
	background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 800;
	display: inline-flex; align-items: center; justify-content: center;
}

/* Ranked money-page card */
.hip-rank-card { padding: 0; overflow: hidden; position: relative; }
.hip-rank-card__ribbon {
	display: inline-flex; align-items: center; gap: 8px;
	background: linear-gradient(90deg, var(--hi-blue), #0b8cff);
	color: #fff; font-weight: 700; padding: 8px 18px 8px 16px;
	border-bottom-right-radius: 14px;
}
.hip-rank-card__num { font-size: 15px; font-weight: 800; }
.hip-rank-card__award { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.hip-rank-card__grid {
	display: grid; grid-template-columns: 1.1fr 1.5fr 0.9fr; gap: 20px;
	align-items: center; padding: 20px 22px 22px;
}
.hip-rank-card__brand { display: flex; flex-direction: column; gap: 8px; }
.hip-rank-card__features { border-left: 1px solid var(--hi-border); border-right: 1px solid var(--hi-border); padding: 0 20px; }
.hip-rank-card__buy { text-align: center; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.hip-rank-card__price { margin: 0; }
.hip-rank-card__amount { font-size: 26px; font-weight: 800; color: var(--hi-navy); }
.hip-rank-card__buy .hip-btn { width: 100%; }
.hip-rank-card__coupons { font-size: 12px; color: var(--hi-muted); }

/* Enriched provider card */
.hip-provider-card { gap: 8px; }
.hip-provider-card .hip-checklist { margin: 4px 0; }

@media (max-width: 782px) {
	.hip-rank-card__grid { grid-template-columns: 1fr; gap: 14px; }
	.hip-rank-card__features { border: 0; border-top: 1px solid var(--hi-border); border-bottom: 1px solid var(--hi-border); padding: 12px 0; }
}

/* ============================================================
   Home hero
   ============================================================ */

.hip-hero {
	background: radial-gradient(1200px 400px at 80% -10%, rgba(9,105,218,.35), transparent 60%), var(--hi-navy);
	color: #fff; border-radius: 22px; padding: 48px 40px; margin: 0 0 28px;
}
.hip-hero__eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; color: #8fc0ff; margin: 0 0 12px; }
.hip-hero__title { font-size: clamp(30px, 5vw, 46px); line-height: 1.08; font-weight: 800; margin: 0 0 14px; max-width: 760px; }
.hip-hero__subtitle { font-size: 18px; color: #c7d5ea; max-width: 620px; margin: 0 0 22px; }
.hip-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hip-hero__chip {
	display: inline-block; padding: 9px 16px; border-radius: 999px;
	background: rgba(255,255,255,.10); color: #fff; text-decoration: none;
	font-weight: 600; font-size: 14px; border: 1px solid rgba(255,255,255,.18);
	transition: background .15s ease;
}
.hip-hero__chip:hover { background: rgba(255,255,255,.20); }

/* Section heading used across hubs */
.hip-section-title { font-size: 26px; font-weight: 800; margin: 32px 0 16px; color: var(--hi-navy); }

/* Force hero heading colors over theme heading styles */
.hip-hero .hip-hero__title,
.hip-hero h1,
.hip-hero h2 { color: #fff !important; }
.hip-hero .hip-hero__subtitle { color: #c7d5ea !important; }
.hip-hero .hip-hero__eyebrow { color: #8fc0ff !important; }

/* ============================================================
   Provider grid + card polish (v3)
   ============================================================ */

.hip-provider-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	margin: 0 0 8px;
}
.hip-provider-grid--cols-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.hip-provider-grid--cols-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Compact, professional provider card */
.hip-provider-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px;
	transition: box-shadow .15s ease, transform .12s ease;
}
.hip-provider-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.hip-provider-card .hip-card__head { align-items: flex-start; }
.hip-provider-card .hip-logo--text { font-size: 20px; }

/* Best-for as a subtle pill */
.hip-card__bestfor {
	display: inline-block;
	align-self: flex-start;
	background: var(--hi-sky);
	color: var(--hi-navy);
	font-size: 12px;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 999px;
	margin: 0;
}

.hip-provider-card .hip-checklist { gap: 7px; margin: 2px 0; }
.hip-provider-card .hip-card__price { margin-top: auto; }
.hip-provider-card .hip-card__price-value { font-size: 26px; }
.hip-provider-card .hip-card__cta .hip-btn { display: block; text-align: center; }
.hip-provider-card .hip-badge--coupon { align-self: flex-start; }

/* Tighten rating row */
.hip-rating { margin: 0; }

/* ============================================================
   Review & ranking content sections (v4)
   ============================================================ */

.hip-provider-review { display: flex; flex-direction: column; gap: 26px; }
.hip-review-section > h2 {
	font-size: 24px; font-weight: 800; color: var(--hi-navy);
	margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--hi-border);
}
.hip-review-section > h2:first-child { margin-top: 0; }
.hip-prose { font-size: 16.5px; line-height: 1.7; color: var(--hi-text); margin: 0 0 8px; max-width: 780px; }

/* Verdict + pros/cons two-column layouts */
.hip-verdict, .hip-proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hip-verdict__col, .hip-proscons__col {
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 14px; padding: 18px 20px;
}
.hip-verdict__col--good, .hip-proscons__col:first-child { border-top: 3px solid var(--hi-green); }
.hip-verdict__col--bad, .hip-proscons__col:last-child { border-top: 3px solid var(--hi-red); }
.hip-verdict__col h3, .hip-proscons__col h3 { margin: 0 0 10px; font-size: 16px; color: var(--hi-navy); }

/* X list (negatives) mirrors the checklist */
.hip-xlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.hip-xlist li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--hi-text); line-height: 1.4; }
.hip-xlist li::before {
	content: "✕"; position: absolute; left: 0; top: 0;
	width: 18px; height: 18px; border-radius: 50%;
	background: #fee2e2; color: #b91c1c; font-size: 11px; font-weight: 800;
	display: inline-flex; align-items: center; justify-content: center;
}

/* FAQ accordion */
.hip-faq { display: flex; flex-direction: column; gap: 10px; }
.hip-faq__item {
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 12px; padding: 4px 18px;
}
.hip-faq__item summary {
	cursor: pointer; font-weight: 700; color: var(--hi-navy);
	padding: 12px 0; list-style: none; position: relative;
}
.hip-faq__item summary::-webkit-details-marker { display: none; }
.hip-faq__item summary::after { content: "+"; position: absolute; right: 0; font-size: 20px; color: var(--hi-muted); }
.hip-faq__item[open] summary::after { content: "–"; }
.hip-faq__item p { margin: 0 0 14px; color: var(--hi-text); line-height: 1.6; }

/* Buying guide */
.hip-guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.hip-guide__item { background: var(--hi-bg); border: 1px solid var(--hi-border); border-radius: 12px; padding: 18px; }
.hip-guide__item h3 { margin: 0 0 8px; font-size: 17px; color: var(--hi-navy); }
.hip-guide__item p { margin: 0; color: var(--hi-text); line-height: 1.6; font-size: 15px; }

/* Methodology weight bars */
.hip-weights { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.hip-weight { display: grid; grid-template-columns: 220px 1fr 44px; gap: 12px; align-items: center; }
.hip-weight__label { font-size: 14px; color: var(--hi-navy); font-weight: 600; }
.hip-weight__bar { height: 10px; background: var(--hi-border); border-radius: 999px; overflow: hidden; }
.hip-weight__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--hi-blue), #0b8cff); }
.hip-weight__pct { font-weight: 800; text-align: right; color: var(--hi-navy); }

@media (max-width: 640px) {
	.hip-verdict, .hip-proscons { grid-template-columns: 1fr; }
	.hip-weight { grid-template-columns: 130px 1fr 40px; }
}

/* ============================================================
   Comparison VS hero, use-cases, coupon deal pages (v5)
   ============================================================ */

.hip-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.hip-vs__col {
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius); box-shadow: var(--hi-shadow);
	padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
	position: relative;
}
.hip-vs__col--winner { border-color: var(--hi-green); border-width: 2px; }
.hip-vs__crown {
	position: absolute; top: -12px; left: 20px;
	background: var(--hi-green); color: #fff; font-size: 11px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .05em;
	padding: 3px 12px; border-radius: 999px;
}
.hip-vs__price { margin: 0; font-size: 22px; font-weight: 800; color: var(--hi-navy); }
.hip-vs__badge {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 52px; height: 52px; border-radius: 50%;
	background: var(--hi-navy); color: #fff; font-weight: 800; font-size: 17px;
	display: flex; align-items: center; justify-content: center;
	border: 4px solid var(--hi-bg); z-index: 2;
}

/* Use-case verdict rows */
.hip-usecases { display: flex; flex-direction: column; gap: 10px; max-width: 720px; }
.hip-usecase {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 12px; padding: 12px 18px;
}
.hip-usecase__label { font-size: 15px; color: var(--hi-text); }
.hip-usecase__winner {
	font-weight: 800; color: var(--hi-navy);
	background: var(--hi-sky); padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}

/* Coupon deal hero */
.hip-deal-hero {
	display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius); box-shadow: var(--hi-shadow); padding: 22px 24px;
}
.hip-deal-hero__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hip-deal-hero__verified { font-size: 13px; color: var(--hi-muted); }

/* Numbered redeem steps */
.hip-steps { list-style: none; margin: 0; padding: 0; counter-reset: hipstep; display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.hip-steps li {
	counter-increment: hipstep; position: relative; padding: 14px 18px 14px 58px;
	background: var(--hi-card); border: 1px solid var(--hi-border); border-radius: 12px;
	font-size: 15px; line-height: 1.5;
}
.hip-steps li::before {
	content: counter(hipstep); position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	width: 28px; height: 28px; border-radius: 50%;
	background: var(--hi-blue); color: #fff; font-weight: 800; font-size: 14px;
	display: flex; align-items: center; justify-content: center;
}

@media (max-width: 640px) {
	.hip-vs { grid-template-columns: 1fr; }
	.hip-vs__badge { display: none; }
}

/* ============================================================
   Brand avatars, coupon hub, trust section (v6)
   ============================================================ */

/* Monogram brand logo */
.hip-logo--brand { display: inline-flex; align-items: center; gap: 10px; }
.hip-logo__avatar {
	width: 42px; height: 42px; border-radius: 12px;
	color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .02em;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: inset 0 -8px 14px rgba(0,0,0,.18);
	flex: none;
}
.hip-logo__name { font-weight: 800; font-size: 19px; color: var(--hi-navy); line-height: 1.15; }

/* Coupon hub rows */
.hip-hub { display: flex; flex-direction: column; gap: 14px; }
.hip-hub-row {
	display: grid; grid-template-columns: 1.2fr 1.4fr auto; gap: 18px; align-items: center;
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius); box-shadow: var(--hi-shadow);
	padding: 18px 22px;
}
.hip-hub-row__brand { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hip-hub-row__discount { margin: 0; font-size: 18px; font-weight: 800; color: var(--hi-navy); }
.hip-hub-row__meta { margin: 4px 0 0; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--hi-muted); }
.hip-hub-row__actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; }

/* Trust section */
.hip-trust {
	background: var(--hi-bg); border: 1px solid var(--hi-border);
	border-radius: 22px; padding: 34px 32px;
}
.hip-trust__title { margin: 0 0 22px; font-size: 26px; font-weight: 800; color: var(--hi-navy); }
.hip-trust__stats {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px; margin-bottom: 24px;
}
.hip-trust__stat {
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 14px; padding: 16px; text-align: center;
	display: flex; flex-direction: column; gap: 4px;
}
.hip-trust__value { font-size: 30px; font-weight: 800; color: var(--hi-blue); line-height: 1; }
.hip-trust__label { font-size: 13px; color: var(--hi-muted); font-weight: 600; }
.hip-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.hip-trust__card {
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 14px; padding: 20px;
}
.hip-trust__icon { font-size: 24px; display: block; margin-bottom: 8px; }
.hip-trust__card h3 { margin: 0 0 8px; font-size: 16.5px; color: var(--hi-navy); }
.hip-trust__card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--hi-text); }

@media (max-width: 700px) {
	.hip-hub-row { grid-template-columns: 1fr; }
	.hip-hub-row__actions { flex-direction: row; }
}

/* ============================================================
   Articles, newsletter, footer, drawer, header polish (v7)
   ============================================================ */

/* Plan drawer inside ranked rows */
.hip-rank-card__drawer { border-top: 1px solid var(--hi-border); }
.hip-rank-card__drawer summary {
	cursor: pointer; list-style: none; text-align: center;
	padding: 12px; font-weight: 700; font-size: 14px; color: var(--hi-blue);
}
.hip-rank-card__drawer summary::-webkit-details-marker { display: none; }
.hip-rank-card__drawer summary::after { content: " ▾"; }
.hip-rank-card__drawer[open] summary::after { content: " ▴"; }
.hip-rank-card__drawerbody { padding: 0 22px 18px; }

/* Article / tools grid */
.hip-articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.hip-article {
	display: flex; flex-direction: column; text-decoration: none;
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius); box-shadow: var(--hi-shadow); overflow: hidden;
	transition: transform .12s ease, box-shadow .15s ease;
}
.hip-article:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15,23,42,.12); }
.hip-article__banner { height: 96px; display: flex; align-items: flex-end; padding: 12px; }
.hip-article__type {
	background: rgba(255,255,255,.92); color: var(--hi-navy);
	font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
	padding: 3px 10px; border-radius: 999px;
}
.hip-article__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; }
.hip-article__title { font-size: 17px; font-weight: 800; color: var(--hi-navy); line-height: 1.3; }
.hip-article__excerpt { font-size: 14px; color: var(--hi-muted); line-height: 1.5; }
.hip-article__date { font-size: 12px; color: var(--hi-muted); margin-top: auto; }

/* Newsletter band */
.hip-newsletter {
	background: radial-gradient(900px 300px at 85% -20%, rgba(9,105,218,.4), transparent 60%), var(--hi-navy);
	border-radius: 22px; padding: 36px 34px;
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center;
}
.hip-newsletter__title { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: #fff !important; }
.hip-newsletter__subtitle { margin: 0; color: #c7d5ea; font-size: 15px; }
.hip-newsletter__form { display: flex; gap: 10px; }
.hip-newsletter__form input[type="email"] {
	flex: 1; padding: 12px 16px; border-radius: 999px; border: 0; font-size: 15px;
}
.hip-newsletter__msg { grid-column: 1 / -1; margin: 0; font-weight: 600; }
.hip-newsletter__msg.is-ok { color: #86efac; }
.hip-newsletter__msg.is-err { color: #fca5a5; }

/* Site footer */
.hip-footer { background: var(--hi-navy); color: #c7d5ea; margin-top: 48px; }
.hip-footer__inner {
	max-width: 1140px; margin: 0 auto; padding: 44px 24px 28px;
	display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px;
}
.hip-footer__logo { margin: 0 0 10px; font-size: 20px; font-weight: 800; color: #fff; }
.hip-footer__blurb { margin: 0 0 12px; font-size: 14px; line-height: 1.6; }
.hip-footer__disclosure { margin: 0; font-size: 12px; color: #8ba3c7; }
.hip-footer__head { margin: 0 0 10px; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #8fc0ff; }
.hip-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hip-footer__col a { color: #c7d5ea; text-decoration: none; font-size: 14px; }
.hip-footer__col a:hover { color: #fff; text-decoration: underline; }
.hip-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	max-width: 1140px; margin: 0 auto; padding: 16px 24px;
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
	font-size: 12.5px; color: #8ba3c7;
}
.site-footer { display: none; } /* Replace the theme's minimal footer. */

/* Header polish (Kadence) */
.site-header .site-title {
	font-weight: 800 !important; color: var(--hi-navy) !important; letter-spacing: -0.02em;
}
.site-header .site-title::after { content: "."; color: var(--hi-blue); }
.site-header .main-navigation .menu > li > a { font-size: 14.5px; font-weight: 600; }

@media (max-width: 860px) {
	.hip-newsletter { grid-template-columns: 1fr; }
	.hip-footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Coupon deal rows + coupon-page sections (v8)
   ============================================================ */

.hip-deals { display: flex; flex-direction: column; gap: 12px; }
.hip-deal {
	display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center;
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 14px; box-shadow: var(--hi-shadow); padding: 16px 20px;
}
.hip-deal__badge {
	display: inline-flex; align-items: center; justify-content: center; text-align: center;
	min-height: 52px; padding: 6px 8px; border-radius: 10px;
	background: linear-gradient(135deg, #16a34a, #15803d); color: #fff;
	font-weight: 800; font-size: 15px; letter-spacing: .01em; line-height: 1.15;
}
.hip-deal:nth-child(3n+2) .hip-deal__badge { background: linear-gradient(135deg, var(--hi-blue), #0b8cff); }
.hip-deal:nth-child(3n) .hip-deal__badge { background: linear-gradient(135deg, #b45309, #d97706); }
.hip-deal__title { margin: 0 0 4px; font-size: 16.5px; font-weight: 800; color: var(--hi-navy); }
.hip-deal__meta { margin: 0; font-size: 12.5px; color: var(--hi-muted); }
.hip-deal__action { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 150px; text-align: center; }

/* Company pills row */
.hip-pillrow { display: flex; flex-wrap: wrap; gap: 10px; }
.hip-hero__chip--light {
	background: var(--hi-sky); color: var(--hi-navy); border: 1px solid var(--hi-border);
}
.hip-hero__chip--light:hover { background: #dbeafe; }

/* Mini review card */
.hip-minireview {
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: var(--hi-radius); box-shadow: var(--hi-shadow);
	padding: 22px; display: flex; flex-direction: column; gap: 12px;
}
.hip-minireview__brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hip-minireview__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Rundown table */
.hip-rundown th { width: 220px; color: var(--hi-muted); font-weight: 600; }
.hip-rundown td { font-weight: 700; color: var(--hi-navy); white-space: normal; }

/* Read-more banner */
.hip-readmore {
	display: flex; align-items: center; justify-content: space-between;
	background: linear-gradient(90deg, var(--hi-navy), #0d2f66);
	color: #fff !important; text-decoration: none; font-weight: 800; font-size: 17px;
	border-radius: 14px; padding: 18px 24px;
	transition: transform .12s ease;
}
.hip-readmore:hover { transform: translateY(-2px); }
.hip-readmore__arrow { font-size: 22px; }

@media (max-width: 640px) {
	.hip-deal { grid-template-columns: 72px 1fr; }
	.hip-deal__action { grid-column: 1 / -1; flex-direction: row; }
	.hip-deal__action .hip-btn { flex: 1; }
}

/* ============================================================
   Coupon page sidebar layout + filters (v9)
   ============================================================ */

.hip-coupon-layout {
	display: grid; grid-template-columns: 280px 1fr; gap: 26px; align-items: start;
}
.hip-coupon-side {
	position: sticky; top: 24px;
	display: flex; flex-direction: column; gap: 16px;
}
.hip-sidebox {
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 14px; box-shadow: var(--hi-shadow); padding: 16px 18px;
}
.hip-sidebox__title { margin: 0 0 12px; font-size: 15.5px; font-weight: 800; color: var(--hi-navy); line-height: 1.3; }
.hip-sidebox__head { margin: 0 0 10px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--hi-muted); }
.hip-sidebox__cta { display: block; text-align: center; }

.hip-sidefilters { display: flex; flex-direction: column; gap: 6px; }
.hip-sidefilter {
	text-align: left; background: var(--hi-bg); border: 1px solid var(--hi-border);
	border-radius: 10px; padding: 9px 12px; font-size: 13.5px; font-weight: 600;
	color: var(--hi-text); cursor: pointer; transition: background .12s ease;
}
.hip-sidefilter:hover { background: var(--hi-sky); }
.hip-sidefilter.is-active { background: var(--hi-blue); border-color: var(--hi-blue); color: #fff; }

.hip-sidestats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.hip-sidestats li { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--hi-muted); }
.hip-sidestats strong { color: var(--hi-navy); }

.hip-sidelinks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.hip-sidelinks a { color: var(--hi-blue); text-decoration: none; font-size: 13.5px; font-weight: 600; }
.hip-sidelinks a:hover { text-decoration: underline; }

@media (max-width: 900px) {
	.hip-coupon-layout { grid-template-columns: 1fr; }
	.hip-coupon-side { position: static; }
	.hip-sidefilters { flex-direction: row; flex-wrap: wrap; }
}

/* ============================================================
   v10 — Professional refinement layer.
   One accent color, flat surfaces, muted neutrals, semantic
   color only where it carries meaning. Overrides earlier rules.
   ============================================================ */

:root {
	--hi-navy: #0B1D3A;
	--hi-blue: #0B5CD8;
	--hi-sky: #EFF4FB;
	--hi-green: #157F3D;
	--hi-amber: #B45309;
	--hi-red: #B42318;
	--hi-text: #1A2433;
	--hi-muted: #5C6B7F;
	--hi-border: #E4E8EE;
	--hi-bg: #F7F9FC;
	--hi-card: #FFFFFF;
	--hi-radius: 12px;
	--hi-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 12px rgba(16, 24, 40, .06);
}

/* Buttons: rectangles, calm hover — no bubble pills */
.hip-btn { border-radius: 8px; font-weight: 600; }
.hip-btn--primary:hover { background: #0A50BC; opacity: 1; }
.hip-btn--secondary { border: 1px solid var(--hi-border); }

/* Badges: one flat, soft system */
.hip-badge { border-radius: 6px; background: #F1F4F8; color: #3A4A5E; font-weight: 600; }
.hip-badge--coupon { background: #EAF6EF; color: #116B3E; }
.hip-badge--exclusive {
	background: #FBF6EA; color: #8A6410; border: 1px solid #E7D8B0;
	text-transform: uppercase; letter-spacing: .04em;
}

/* Quality labels: colored text, no pill background */
.hip-rating__label,
.hip-rating__label--exceptional,
.hip-rating__label--excellent,
.hip-rating__label--great,
.hip-rating__label--good {
	background: none; padding: 0; border-radius: 0;
	color: var(--hi-green); font-size: 12.5px;
}
.hip-rating__label--fair { background: none; padding: 0; color: var(--hi-amber); }
.hip-star--full, .hip-star--half::before { color: #E8A33D; }

/* Score chip + rank ribbon: flat navy */
.hip-score { border-radius: 8px; background: var(--hi-navy); }
.hip-rank-card__ribbon { background: var(--hi-navy); border-bottom-right-radius: 10px; }
.hip-rank-card__award { letter-spacing: .06em; font-size: 12px; }

/* Deal badges: single flat tint (no rotating gradients) */
.hip-deal__badge,
.hip-deal:nth-child(3n+2) .hip-deal__badge,
.hip-deal:nth-child(3n) .hip-deal__badge {
	background: #EAF6EF; color: #0E6B39; border: 1px solid #CBE7D4;
	border-radius: 8px; font-size: 14px;
}

/* Dark bands: flat navy, no radial glows */
.hip-hero { background: var(--hi-navy); border-radius: 16px; }
.hip-newsletter { background: var(--hi-navy); border-radius: 16px; }
.hip-readmore { background: var(--hi-navy); }
.hip-readmore:hover { background: #12294D; transform: none; }

/* Brand avatars: crisp, no gloss */
.hip-logo__avatar { border-radius: 8px; box-shadow: none; font-size: 15px; }

/* Charts / meters: flat single accent */
.hip-weight__fill { background: var(--hi-blue); }
.hip-score-row__fill { background: var(--hi-blue); }
.hip-vs__badge { background: var(--hi-navy); }
.hip-vs__crown { background: var(--hi-green); }
.hip-compare__winner { background: var(--hi-green); }
.hip-compare__badge { background: var(--hi-green); }

/* Checklists: softer semantic tints */
.hip-checklist li::before { background: #EAF6EF; color: var(--hi-green); }
.hip-xlist li::before { background: #FBEAE9; color: var(--hi-red); }

/* Trust section: neutral, statistic values in navy */
.hip-trust { background: var(--hi-bg); border-radius: 16px; }
.hip-trust__value { color: var(--hi-navy); }
.hip-trust__icon { display: none; }

/* Article banners: shorter, flatter */
.hip-article__banner { height: 76px; }
.hip-article:hover { transform: translateY(-2px); }
.hip-provider-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16,24,40,.06), 0 10px 24px rgba(16,24,40,.08); }

/* Sidebar filters: navy active state */
.hip-sidefilter { border-radius: 8px; }
.hip-sidefilter.is-active { background: var(--hi-navy); border-color: var(--hi-navy); }

/* Misc coherence */
.hip-usecase__winner { background: #F1F4F8; border-radius: 8px; }
.hip-coupon-card__code { border-color: #B9CDEB; background: #F3F7FD; border-radius: 8px; }
.hip-rank-badge { border-radius: 10px; }
.hip-hero__chip { border-radius: 8px; }
.hip-hero__chip--light { border-radius: 8px; }
.hip-newsletter__form input[type="email"] { border-radius: 8px; }
.hip-provider-search__input { border-radius: 8px; }
.hip-field input, .hip-field select { border-radius: 8px; }
.hip-advisor-pick--best { border-color: var(--hi-blue); background: #F3F7FD; }

/* v11 — reveal button with masked code peek */
.hip-reveal { display: flex; align-items: stretch; padding: 0; overflow: hidden; }
.hip-reveal__label { padding: 12px 16px; }
.hip-reveal__peek {
	display: flex; align-items: center; padding: 0 12px;
	background: #FFFFFF; color: var(--hi-navy);
	font-weight: 800; letter-spacing: .06em; font-size: 13px;
	border-left: 2px dashed #B9CDEB;
}
.hip-coupon-reveal.is-revealed { background: var(--hi-green); }
.hip-deal .hip-coupon-card__code { margin: 8px 0 0 0; display: block; text-align: center; }

/* ============================================================
   v12 — sticky header, dropdown nav, badges, footer CTA
   ============================================================ */

/* Sticky compact header */
.site-header {
	position: sticky; top: 0; z-index: 500;
	background: #fff; border-bottom: 1px solid var(--hi-border);
	box-shadow: 0 1px 2px rgba(16,24,40,.04);
}
body.admin-bar .site-header { top: 32px; }

/* Nav: dropdown polish (Kadence submenu) */
.site-header .main-navigation .menu > li > a { padding-top: 14px; padding-bottom: 14px; }
.site-header .main-navigation .menu > li.menu-item-has-children > a::after {
	content: "▾"; font-size: 10px; margin-left: 5px; color: var(--hi-muted);
}
.site-header .main-navigation .sub-menu {
	background: #fff; border: 1px solid var(--hi-border); border-radius: 10px;
	box-shadow: 0 8px 24px rgba(16,24,40,.10); padding: 6px; min-width: 220px;
}
.site-header .main-navigation .sub-menu a {
	font-size: 14px; padding: 9px 12px; border-radius: 7px; color: var(--hi-text);
}
.site-header .main-navigation .sub-menu a:hover { background: var(--hi-sky); color: var(--hi-navy); }

/* Coupon count badge in nav */
.hip-nav-badge {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 22px; height: 18px; padding: 0 6px; margin-left: 4px;
	background: var(--hi-green); color: #fff;
	font-size: 11px; font-weight: 800; border-radius: 999px; line-height: 1;
	vertical-align: middle;
}

/* Get Coupons secondary button under Claim Deal */
.hip-rank-card__couponbtn { width: 100%; text-align: center; }

/* Footer provider CTA */
.hip-footer__cta {
	max-width: 1140px; margin: 0 auto; padding: 20px 24px;
	border-top: 1px solid rgba(255,255,255,.12);
	display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.hip-footer__ctahead { margin: 0 0 4px; font-size: 16px; font-weight: 800; color: #fff; }
.hip-footer__ctatext { margin: 0; font-size: 13.5px; color: #c7d5ea; max-width: 560px; }

/* Sticky header: beat Kadence's own positioning */
#masthead.site-header, .site-header {
	position: sticky !important; top: 0 !important; z-index: 500 !important;
}
body.admin-bar #masthead.site-header, body.admin-bar .site-header { top: 32px !important; }

/* ============================================================
   v13 — header nav cleanup (kill double caret, align row)
   ============================================================ */

/* Use Kadence's native toggle only — remove our ::after caret */
.site-header .main-navigation .menu > li.menu-item-has-children > a::after { content: none !important; }

/* Tame Kadence's oversized arrow SVG so nothing wraps below the row */
.site-header .main-navigation .nav-drop-title-wrap { display: inline-flex; align-items: center; white-space: nowrap; }
.site-header .main-navigation .dropdown-nav-toggle { display: inline-flex; align-items: center; margin-left: 5px; }
.site-header .main-navigation .dropdown-nav-toggle svg,
.site-header .main-navigation .kadence-svg-icon { width: 11px !important; height: 11px !important; color: var(--hi-muted); }

/* One tidy row: consistent height, spacing, hover */
.site-header .main-navigation .menu { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.site-header .main-navigation .menu > li { display: flex; align-items: center; }
.site-header .main-navigation .menu > li > a {
	display: inline-flex; align-items: center; white-space: nowrap;
	font-weight: 600; color: var(--hi-text);
	padding: 16px 12px !important; line-height: 1;
}
.site-header .main-navigation .menu > li > a:hover { color: var(--hi-blue); }
.site-header .main-navigation .menu > li.current-menu-item > a,
.site-header .main-navigation .menu > li.current-menu-ancestor > a { color: var(--hi-blue); }

/* Badge alignment inside the flex anchor */
.hip-nav-badge { margin-left: 6px; }

/* Equal-height nav anchors so the badge item doesn't sit higher */
.site-header .main-navigation .menu > li > a { height: 48px; padding-top: 0 !important; padding-bottom: 0 !important; }

/* ============================================================
   v14 — PREMIUM + conversion layer.
   Refined depth, typography, CTAs, hero social proof.
   ============================================================ */

:root {
	--hi-blue: #0A57D0;
	--hi-blue-ink: #0A2A6B;
	--hi-shadow-sm: 0 1px 2px rgba(16,24,40,.04);
	--hi-shadow: 0 1px 3px rgba(16,24,40,.06), 0 8px 24px -8px rgba(16,24,40,.14);
	--hi-shadow-lg: 0 2px 6px rgba(16,24,40,.06), 0 20px 40px -12px rgba(16,24,40,.22);
	--hi-ring: 0 0 0 4px rgba(10,87,208,.16);
}

/* Font smoothing + heading rhythm */
.hip-provider-review, .hip-hero, .hip-card, .hip-deal, .hip-trust, .hip-newsletter,
.hip-article, .hip-compare, .hip-advisor, .hip-hub-row, .hip-footer {
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.hip-section-title { font-size: 27px; letter-spacing: -0.02em; font-weight: 800; margin: 40px 0 18px; }
.hip-review-section > h2 { letter-spacing: -0.015em; }

/* Cards: hairline + layered shadow, smoother radius */
.hip-card {
	border-color: #EAEDF2;
	box-shadow: var(--hi-shadow);
	border-radius: 14px;
	transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

/* Buttons: premium weight, depth, arrow slide, focus ring */
.hip-btn {
	font-weight: 700; letter-spacing: .01em; border-radius: 9px;
	transition: transform .14s ease, box-shadow .18s ease, background .15s ease;
}
.hip-btn--primary {
	background: var(--hi-blue);
	box-shadow: 0 1px 2px rgba(10,42,107,.24), 0 6px 16px -6px rgba(10,87,208,.5);
}
.hip-btn--primary:hover { background: #0A50BC; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(10,42,107,.28), 0 12px 22px -8px rgba(10,87,208,.55); }
.hip-btn--primary:focus-visible { outline: none; box-shadow: var(--hi-ring), 0 6px 16px -6px rgba(10,87,208,.5); }
.hip-btn--lg { padding: 15px 26px; font-size: 16px; }
.hip-btn--ghost {
	background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.35);
}
.hip-btn--ghost:hover { background: rgba(255,255,255,.16); transform: translateY(-1px); }
.hip-btn__arrow { display: inline-block; margin-left: 8px; transition: transform .16s ease; }
.hip-btn:hover .hip-btn__arrow { transform: translateX(3px); }

/* Hero: constrained content, social-proof row, dual CTA */
.hip-hero { padding: 56px 48px; overflow: hidden; position: relative; }
.hip-hero::after {
	content: ""; position: absolute; right: -80px; top: -80px; width: 380px; height: 380px;
	background: radial-gradient(circle, rgba(56,132,255,.22), transparent 68%); pointer-events: none;
}
.hip-hero__inner { position: relative; max-width: 760px; }
.hip-hero__title { font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.025em; margin-bottom: 16px; }
.hip-hero__subtitle { font-size: 18px; line-height: 1.6; }
.hip-hero__trust { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 24px; color: #cdddf3; font-size: 14px; }
.hip-hero__trust .hip-stars { margin-right: 2px; }
.hip-hero__trust .hip-star { font-size: 16px; }
.hip-hero__trust-item strong { color: #fff; font-weight: 800; }
.hip-hero__trust-sep { color: rgba(255,255,255,.35); }
.hip-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }

/* Editor's Choice: elevate the #1 ranked row */
.hip-ranking-list > .hip-card:first-child {
	border: 2px solid var(--hi-blue);
	box-shadow: 0 4px 10px rgba(10,42,107,.10), 0 24px 48px -16px rgba(10,87,208,.34);
}
.hip-ranking-list > .hip-card:first-child .hip-rank-card__ribbon {
	background: linear-gradient(90deg, var(--hi-blue), #1E6BE6);
}

/* Star + rating refinement */
.hip-star--full, .hip-star--half::before { color: #F5A623; }
.hip-rating__label { font-weight: 800; letter-spacing: .01em; }

/* Deal badge: crisper */
.hip-deal__badge,
.hip-deal:nth-child(3n+2) .hip-deal__badge,
.hip-deal:nth-child(3n) .hip-deal__badge { border-radius: 9px; font-weight: 800; }

/* Newsletter / trust bands: refined radius + shadow */
.hip-newsletter, .hip-trust, .hip-hero { border-radius: 18px; box-shadow: var(--hi-shadow-lg); }
.hip-trust { box-shadow: var(--hi-shadow); }

/* Inputs: focus ring */
.hip-provider-search__input:focus, .hip-field input:focus, .hip-field select:focus,
.hip-newsletter__form input:focus { outline: none; border-color: var(--hi-blue); box-shadow: var(--hi-ring); }

@media (max-width: 600px) {
	.hip-hero { padding: 36px 22px; }
	.hip-hero__ctas .hip-btn { width: 100%; text-align: center; }
}

/* ============================================================
   v15 — reviews, sticky mobile CTA, header CTA button
   ============================================================ */

/* Header CTA */
.hip-nav-cta-item { display: flex; align-items: center; margin-left: 6px; }
.hip-nav-cta {
	display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
	background: var(--hi-blue); color: #fff !important; text-decoration: none;
	font-weight: 700; font-size: 14px; border-radius: 8px;
	box-shadow: 0 1px 2px rgba(10,42,107,.2), 0 6px 14px -6px rgba(10,87,208,.5);
	transition: transform .14s ease, background .15s ease;
}
.hip-nav-cta:hover { background: #0A50BC; transform: translateY(-1px); }

/* Reviews summary */
.hip-reviews { display: flex; flex-direction: column; gap: 20px; }
.hip-reviews__summary {
	display: grid; grid-template-columns: minmax(180px, 260px) 1fr; gap: 28px; align-items: center;
	background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 14px; box-shadow: var(--hi-shadow); padding: 22px 24px;
}
.hip-reviews__score { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.hip-reviews__big { font-size: 44px; font-weight: 800; color: var(--hi-navy); line-height: 1; letter-spacing: -0.02em; }
.hip-reviews__outof { font-size: 14px; color: var(--hi-muted); margin-top: -4px; }
.hip-reviews__count { font-size: 13px; color: var(--hi-muted); }
.hip-reviews__none { font-size: 15px; color: var(--hi-muted); font-weight: 600; }
.hip-reviews__hist { display: flex; flex-direction: column; gap: 6px; }
.hip-histrow { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; font-size: 12.5px; color: var(--hi-muted); }
.hip-histrow__track { height: 8px; background: #EEF1F5; border-radius: 999px; overflow: hidden; }
.hip-histrow__fill { display: block; height: 100%; background: #F5A623; }
.hip-histrow__n { text-align: right; }

/* Review items */
.hip-reviews__list { display: flex; flex-direction: column; gap: 14px; }
.hip-review { background: var(--hi-card); border: 1px solid var(--hi-border); border-radius: 14px; padding: 18px 20px; }
.hip-review__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 8px; }
.hip-review__who { display: flex; gap: 12px; align-items: center; }
.hip-review__avatar {
	width: 38px; height: 38px; border-radius: 50%; flex: none;
	background: var(--hi-sky); color: var(--hi-navy);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800;
}
.hip-review__author { font-weight: 800; color: var(--hi-navy); }
.hip-review__meta { display: block; font-size: 12.5px; color: var(--hi-muted); }
.hip-review__title { margin: 0 0 6px; font-size: 16px; color: var(--hi-navy); }
.hip-review__body { margin: 0; color: var(--hi-text); line-height: 1.6; }
.hip-review__reply {
	margin-top: 12px; padding: 12px 14px; background: var(--hi-bg);
	border-left: 3px solid var(--hi-blue); border-radius: 0 10px 10px 0;
}
.hip-review__replyhead { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--hi-blue); }
.hip-review__reply p { margin: 4px 0 0; font-size: 14.5px; color: var(--hi-text); }
.hip-reviews__empty { color: var(--hi-muted); }

/* Review form */
.hip-reviewform__toggle { display: inline-block; cursor: pointer; list-style: none; }
.hip-reviewform__toggle::-webkit-details-marker { display: none; }
.hip-reviewform__form {
	margin-top: 14px; background: var(--hi-card); border: 1px solid var(--hi-border);
	border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.hip-reviewform__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 12px; }
.hip-reviewform__stars { display: flex; gap: 4px; }
.hip-starpick {
	background: none; border: 0; cursor: pointer; font-size: 30px; line-height: 1;
	color: #D7DCE3; padding: 0; transition: color .12s ease, transform .12s ease;
}
.hip-starpick:hover, .hip-starpick.is-on { color: #F5A623; }
.hip-starpick:hover { transform: scale(1.1); }
.hip-reviewform__note { margin: 0; font-size: 12.5px; color: var(--hi-muted); }
.hip-reviewform__msg { margin: 0; font-weight: 700; }
.hip-reviewform__msg.is-ok { color: var(--hi-green); }
.hip-reviewform__msg.is-err { color: var(--hi-red); }
.hip-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Sticky mobile CTA (mobile only) */
.hip-stickycta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
	display: none; align-items: center; justify-content: space-between; gap: 12px;
	background: #fff; border-top: 1px solid var(--hi-border);
	box-shadow: 0 -6px 24px rgba(16,24,40,.14);
	padding: 10px 14px;
	transform: translateY(100%); transition: transform .22s ease;
}
.hip-stickycta.is-in { transform: translateY(0); }
.hip-stickycta__info { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hip-stickycta__info .hip-logo__avatar { width: 34px; height: 34px; font-size: 13px; }
.hip-stickycta__info .hip-logo__img { max-height: 30px; }
.hip-stickycta__info .hip-logo__name { font-size: 15px; }
.hip-stickycta__meta { display: flex; flex-direction: column; line-height: 1.2; }
.hip-stickycta__price { font-weight: 800; color: var(--hi-navy); font-size: 15px; }
.hip-stickycta__deals { font-size: 11.5px; color: var(--hi-muted); }
.hip-stickycta .hip-btn { white-space: nowrap; }

@media (max-width: 782px) {
	.hip-stickycta:not([hidden]) { display: flex; }
	body { padding-bottom: 68px; }
	.hip-reviews__summary { grid-template-columns: 1fr; gap: 18px; }
}

/* ============================================================
   v16 — mobile tap targets.
   Secondary/small buttons rendered 31-33px tall on phones, below
   the 44px minimum comfortable tap size. Enforce it on touch
   widths only, so desktop density is unchanged.
   ============================================================ */
@media (max-width: 782px) {
	.hip-btn,
	.hip-rank-card__coupons,
	.hip-plan-table .hip-btn,
	.hip-deal .hip-btn {
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	/* The sticky bar is a fixed 68px strip — let its CTA stay compact. */
	.hip-stickycta .hip-btn { min-height: 40px; }
}

/* Currency-conversion disclosure under the ranking weights. */
.hip-fxnote {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid var(--hi-border, #e3e6eb);
	font-size: 13px;
	color: var(--hi-muted, #5b6472);
}
