/*
Theme Name: The Hidden Bill — DFAA
Theme URI: https://defendforgottenamerica.example/
Author: Defend Forgotten America Action
Description: Campaign microsite block theme for "The Hidden Bill" — a one-page DFAA consumer campaign on legal system abuse. Native Gutenberg: theme.json design tokens, editable block patterns, and one custom scroll-driven Cost Machine block.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dfaa-hidden-bill
*/

/* =========================================================
   Design tokens (mirrors theme.json palette for plain CSS)
   ========================================================= */
:root {
	--hb-ink: #14151C;
	--hb-ink-deep: #101118;
	--hb-footer-navy: #1B1C3A;
	--hb-paper: #F6F3EB;
	--hb-statement: #FDFAF1;
	--hb-statement-border: #D9D2C0;
	--hb-rule-dotted: #C9C2AE;
	--hb-rule-solid: #D5CFBE;
	--hb-navy: #2B2D5E;
	--hb-navy-border: #3E4077;
	--hb-red: #B9252A;
	--hb-red-dark-hover: #A01F24;
	--hb-navy-hover: #232551;
	--hb-red-bright: #E04046;
	--hb-red-soft: #D8555A;
	--hb-red-highlight: #F4A6A9;
	--hb-cream: #F4F2EA;
	--hb-gray-body: #B9B8BE;
	--hb-gray-emph: #D8D7DC;
	--hb-gray-muted: #8D8E98;
	--hb-gray-faint: #6E6F79;
	--hb-ink-text: #1E2033;
	--hb-body-light: #43444E;
	--hb-tan-muted: #6B6455;
	--hb-statement-meta: #8A8574;
	--hb-key-light: #5A5B66;
	--hb-hairline: rgba(255, 255, 255, 0.12);
	--hb-hairline-strong: rgba(255, 255, 255, 0.16);
	--hb-dotted-dark: rgba(255, 255, 255, 0.25);
	--hb-font-display: 'Archivo Black', 'Archivo', sans-serif;
	--hb-font-ui: 'Archivo', -apple-system, 'Segoe UI', sans-serif;
	--hb-font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--hb-font-mono: 'IBM Plex Mono', Menlo, Consolas, monospace;
	--hb-pad-x: 56px;
}

@media (max-width: 1199px) {
	:root { --hb-pad-x: 40px; }
}

@media (max-width: 767px) {
	:root { --hb-pad-x: 24px; }
}

html {
	scroll-behavior: smooth;
}

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

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

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

.hb-container {
	max-width: 1440px;
	margin-inline: auto;
	padding-inline: var(--hb-pad-x);
	box-sizing: border-box;
}

/* Reset heading/paragraph gaps inside our composed sections; each
   layout class declares its own spacing. */
.hb-hero h1, .hb-hero p,
.hb-ledger h2, .hb-ledger p,
.hb-abuse h2, .hb-abuse h3, .hb-abuse p,
.hb-affect h2, .hb-affect h3, .hb-affect p,
.hb-money h2, .hb-money p,
.hb-action h2, .hb-action p,
.hb-footer p,
.hb-statement-wrap p {
	margin: 0;
}

/* ---------------------------------------------------------
   Links & buttons
   --------------------------------------------------------- */
a { transition: color 0.15s ease, background-color 0.15s ease; }

.hb-light a { color: var(--hb-ink-text); }
.hb-light a:hover { color: var(--hb-red); }

a:focus-visible,
button:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.wp-block-button .wp-block-button__link {
	border-radius: 0;
	font-family: var(--hb-font-ui);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	padding: 16px 28px;
	text-decoration: none;
}

.hb-btn-red .wp-block-button__link {
	background-color: var(--hb-red);
	color: #fff;
}
.hb-btn-red .wp-block-button__link:hover { background-color: var(--hb-red-dark-hover); color: #fff; }
.hb-btn-red .wp-block-button__link:focus-visible { outline-color: var(--hb-red); }

.hb-btn-navy .wp-block-button__link {
	background-color: var(--hb-navy);
	color: #fff;
	padding: 16px 30px;
}
.hb-btn-navy .wp-block-button__link:hover { background-color: var(--hb-navy-hover); color: #fff; }
.hb-btn-navy .wp-block-button__link:focus-visible { outline-color: var(--hb-navy); }

.hb-btn-outline-dark .wp-block-button__link {
	background: transparent;
	color: var(--hb-ink-text);
	border: 2px solid var(--hb-ink-text);
	padding: 14px 28px;
}
.hb-btn-outline-dark .wp-block-button__link:hover {
	background-color: var(--hb-ink-text);
	color: var(--hb-paper);
}

/* Underlined text-link CTA (hero secondary) */
.hb-link-underline .wp-block-button__link {
	background: transparent;
	color: #E8E6DF;
	border-bottom: 2px solid var(--hb-red-bright);
	padding: 0 0 2px;
}
.hb-link-underline .wp-block-button__link:hover { color: var(--hb-red-bright); }

@media (max-width: 767px) {
	.hb-stack-buttons .wp-block-buttons,
	.hb-stack-buttons.wp-block-buttons {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}
	.hb-stack-buttons .wp-block-button { width: 100%; }
	.hb-stack-buttons .wp-block-button__link {
		display: block;
		width: 100%;
		box-sizing: border-box;
		text-align: center;
		min-height: 44px;
	}
	.hb-link-underline .wp-block-button__link { border-bottom-width: 2px; }
}

/* Highlight marks */
mark.hb-mark-dark,
.hb-money-copy mark {
	background: rgba(224, 64, 70, 0.22);
	color: var(--hb-red-highlight);
	padding: 0 4px;
}
mark.hb-mark-light,
.hb-fragment mark {
	background: rgba(224, 64, 70, 0.25);
	color: var(--hb-red);
	font-weight: 600;
	padding: 0 3px;
}

/* =========================================================
   Header (sticky)
   ========================================================= */
.hb-header-wrap {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(20, 21, 28, 0.94);
	border-bottom: 1px solid var(--hb-hairline);
}
/* The blur lives on a pseudo-element: backdrop-filter on the header itself
   would make it the containing block for position:fixed descendants and
   trap the mobile navigation overlay inside the header bar. */
.hb-header-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.hb-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 14px var(--hb-pad-x);
	max-width: 1440px;
	margin-inline: auto;
	box-sizing: border-box;
}

.hb-header-logo { margin: 0; }
.hb-header-logo img { height: 38px; width: auto; display: block; }

.hb-header-right {
	display: flex;
	align-items: center;
	gap: 30px;
}

.hb-nav { font-family: var(--hb-font-ui); }
.hb-nav .wp-block-navigation-item__content {
	font-size: 13.5px;
	font-weight: 600;
	color: #E8E6DF;
	text-decoration: none;
	padding: 12px 0;
}
.hb-nav .wp-block-navigation-item__content:hover { color: var(--hb-red-bright); }
.hb-nav.wp-block-navigation { gap: 30px; }

.hb-btn-takeaction .wp-block-button__link {
	padding: 10px 20px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

/* Mobile nav: collapse below 768px (core collapses at 600px; extend). */
.hb-nav .wp-block-navigation__responsive-container-open {
	color: var(--hb-cream);
	min-width: 44px;
	min-height: 44px;
	justify-content: center;
}
@media (min-width: 768px) {
	.hb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; }
	.hb-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block;
		width: 100%;
		position: relative;
		z-index: auto;
		background-color: inherit;
	}
}
@media (min-width: 600px) and (max-width: 767px) {
	.hb-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.hb-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.hb-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--hb-ink);
	padding: 96px 24px 24px;
}
.hb-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: 20px;
	padding: 12px 0;
	min-height: 44px;
	display: flex;
	align-items: center;
}
.hb-nav .wp-block-navigation__responsive-container-close {
	color: var(--hb-cream);
	min-width: 44px;
	min-height: 44px;
}

/* =========================================================
   Hero — The Hidden Bill
   ========================================================= */
.hb-hero {
	position: relative;
	overflow: hidden;
	background: var(--hb-ink);
	color: var(--hb-cream);
}
.hb-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(1200px 700px at 70% 20%, rgba(43, 45, 94, 0.5), rgba(20, 21, 28, 0) 60%);
	pointer-events: none;
}
.hb-hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 72px;
	padding-block: 104px 112px;
	align-items: center;
}
.hb-hero-copy { display: flex; flex-direction: column; gap: 30px; }
.hb-hero-title {
	font-family: var(--hb-font-serif);
	font-weight: 600;
	font-size: 58px;
	line-height: 1.1;
	color: var(--hb-cream);
	text-wrap: pretty;
}
.hb-hero-lede {
	font-size: 18px;
	line-height: 1.65;
	color: var(--hb-gray-body);
	max-width: 580px;
	font-weight: 500;
}
.hb-hero-ctas { display: flex; gap: 16px; align-items: center; }

/* Annual-statement card */
.hb-statement-wrap {
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 520px;
}
.hb-statement {
	background-color: var(--hb-statement);
	background-image:
		repeating-linear-gradient(0deg, rgba(30, 32, 51, 0.03) 0, rgba(30, 32, 51, 0.03) 1px, transparent 1px, transparent 26px),
		linear-gradient(180deg, #FFFDF6, #F9F4E7);
	border: 1px solid var(--hb-statement-border);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
	transform: rotate(-1.2deg);
	padding: 36px 40px 44px;
	color: var(--hb-ink-text);
}
.hb-statement-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	border-bottom: 2px solid var(--hb-ink-text);
	padding-bottom: 14px;
}
.hb-statement-title {
	font-family: var(--hb-font-mono);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
}
.hb-statement-notice {
	font-family: var(--hb-font-mono);
	font-size: 12px;
	color: var(--hb-statement-meta);
}
.hb-statement-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 15px 0;
	border-bottom: 1px dotted var(--hb-rule-dotted);
}
.hb-statement-key {
	font-family: var(--hb-font-mono);
	font-size: 13px;
	color: var(--hb-key-light);
}
.hb-statement-val {
	font-family: var(--hb-font-mono);
	font-size: 13px;
	font-weight: 600;
	text-align: right;
}
.hb-statement-total {
	padding: 28px 0 6px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.hb-statement-amount-label {
	font-family: var(--hb-font-mono);
	font-size: 12.5px;
	letter-spacing: 0.1em;
	color: var(--hb-red);
	font-weight: 600;
}
.hb-statement-amount {
	font-family: var(--hb-font-display);
	font-size: 80px;
	line-height: 1;
	color: var(--hb-navy);
}
.hb-statement-amount sup {
	font-size: 28px;
	line-height: 1;
	color: var(--hb-red);
	top: -0.9em;
	position: relative;
	vertical-align: baseline;
}
.hb-statement-footnote {
	font-family: var(--hb-font-serif);
	font-size: 15.5px;
	color: var(--hb-body-light);
}
.hb-stamp {
	position: absolute;
	bottom: -20px;
	right: -16px;
	transform: rotate(7deg);
	border: 3px solid var(--hb-red-bright);
	color: var(--hb-red-bright);
	font-family: var(--hb-font-display);
	font-size: 20px;
	letter-spacing: 0.14em;
	padding: 8px 16px;
	background: rgba(20, 21, 28, 0.6);
}

@media (max-width: 1199px) {
	.hb-hero-grid { grid-template-columns: 1fr; gap: 64px; }
	.hb-hero-title { font-size: 48px; }
	.hb-statement-wrap { justify-self: start; }
}
@media (max-width: 767px) {
	.hb-hero-grid { padding-block: 64px 88px; gap: 48px; }
	.hb-hero-title { font-size: 38px; }
	.hb-hero-ctas { flex-direction: column; align-items: flex-start; }
	.hb-statement { transform: rotate(-0.6deg); padding: 28px 24px 32px; }
	.hb-statement-amount { font-size: 56px; }
	.hb-statement-amount sup { font-size: 20px; }
	.hb-stamp { right: 4px; bottom: -16px; font-size: 16px; padding: 6px 12px; }
}

/* =========================================================
   Impact Ledger
   ========================================================= */
.hb-ledger {
	background: var(--hb-paper);
	color: var(--hb-ink-text);
}
.hb-ledger-inner {
	padding-block: 96px 104px;
	display: flex;
	flex-direction: column;
	gap: 44px;
}
.hb-ledger-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 32px;
	border-bottom: 2px solid var(--hb-ink-text);
	padding-bottom: 16px;
}
.hb-ledger-title {
	font-family: var(--hb-font-serif);
	font-weight: 600;
	font-size: 44px;
	line-height: 1.15;
	color: var(--hb-ink-text);
}
.hb-ledger-sub {
	font-family: var(--hb-font-serif);
	font-style: italic;
	font-size: 17px;
	color: var(--hb-tan-muted);
}
.hb-ledger-rows { display: flex; flex-direction: column; }
.hb-ledger-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 32px;
	padding: 32px 0;
	border-bottom: 1px solid var(--hb-rule-solid);
}
.hb-ledger-row-final { border-bottom: 3px double var(--hb-ink-text); }
.hb-ledger-label {
	font-family: var(--hb-font-ui);
	font-weight: 700;
	font-size: 19px;
	letter-spacing: 0.02em;
	color: var(--hb-body-light);
}
.hb-ledger-row-final .hb-ledger-label { color: var(--hb-ink-text); }
.hb-ledger-figure {
	font-family: var(--hb-font-display);
	font-size: 58px;
	line-height: 1;
	color: var(--hb-navy);
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.hb-ledger-figure-red { color: var(--hb-red); }

@media (max-width: 1199px) {
	.hb-ledger-figure { font-size: 44px; }
	.hb-ledger-title { font-size: 38px; }
}
@media (max-width: 767px) {
	.hb-ledger-inner { padding-block: 72px 80px; }
	.hb-ledger-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.hb-ledger-title { font-size: 33px; }
	.hb-ledger-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding: 24px 0;
	}
	.hb-ledger-figure { font-size: 36px; text-align: left; }
}

/* =========================================================
   What Is Legal System Abuse?
   ========================================================= */
.hb-abuse {
	background: var(--hb-ink);
	color: var(--hb-cream);
}
.hb-abuse-inner {
	padding-block: 104px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}
.hb-abuse-intro {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 820px;
}
.hb-h2-black {
	font-family: var(--hb-font-display);
	font-size: 48px;
	line-height: 1.05;
	color: var(--hb-cream);
	font-weight: 400;
}
.hb-body-dark {
	font-size: 18px;
	line-height: 1.65;
	color: var(--hb-gray-body);
	font-weight: 500;
}
.hb-abuse-groups { display: flex; flex-direction: column; gap: 88px; }

.hb-abuse figure { margin: 0; }
.hb-abuse-photo img {
	width: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(0.6) contrast(1.08);
}

.hb-abuse-crash {
	display: grid;
	grid-template-columns: 1.4fr 0.6fr;
	gap: 56px;
	align-items: end;
}
.hb-abuse-crash .hb-abuse-photo img { height: 480px; }
.hb-abuse-caption {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-bottom: 8px;
}
.hb-abuse-h3 {
	font-family: var(--hb-font-ui);
	font-weight: 800;
	font-size: 24px;
	line-height: 1.25;
	color: var(--hb-cream);
}
.hb-abuse-copy {
	font-size: 16px;
	line-height: 1.65;
	color: var(--hb-gray-body);
}

.hb-abuse-billboard { display: flex; flex-direction: column; gap: 30px; }
.hb-abuse-billboard .hb-abuse-photo img {
	height: 430px;
	object-position: center 35%;
}
.hb-abuse-billboard-row {
	display: grid;
	grid-template-columns: 0.6fr 1.4fr;
	gap: 56px;
	align-items: start;
}
.hb-abuse-billboard-row .hb-abuse-copy {
	font-size: 16.5px;
	line-height: 1.7;
	max-width: 760px;
}

.hb-abuse-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}
.hb-abuse-pair-col { display: flex; flex-direction: column; gap: 22px; }
.hb-abuse-pair .hb-abuse-photo img { height: 320px; object-position: left top; }
.hb-abuse-pair .hb-abuse-caption { padding-bottom: 0; gap: 10px; }
.hb-abuse-pair .hb-abuse-h3 { font-size: 22px; }

/* Financing-agreement fragment */
.hb-fragment {
	background-color: var(--hb-statement);
	background-image: linear-gradient(180deg, #FFFDF6, #F9F4E7);
	padding: 40px 44px;
	transform: rotate(-0.8deg);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
	color: var(--hb-ink-text);
	min-height: 320px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hb-fragment-head {
	font-family: var(--hb-font-mono);
	font-size: 12px;
	color: var(--hb-statement-meta);
	border-bottom: 1px solid var(--hb-rule-solid);
	padding-bottom: 10px;
}
.hb-fragment-text {
	font-family: var(--hb-font-serif);
	font-size: 18px;
	line-height: 1.7;
	padding-top: 14px;
}

@media (max-width: 1199px) {
	.hb-abuse-crash, .hb-abuse-pair { grid-template-columns: 1fr; gap: 32px; }
	.hb-abuse-crash .hb-abuse-caption { padding-bottom: 0; }
	.hb-abuse-billboard-row { grid-template-columns: 1fr; gap: 16px; }
	.hb-abuse-groups { gap: 64px; }
	.hb-h2-black { font-size: 40px; }
}
@media (max-width: 767px) {
	.hb-abuse-inner { padding-block: 72px; }
	.hb-h2-black { font-size: 32px; }
	.hb-abuse-crash .hb-abuse-photo img { height: 320px; }
	.hb-abuse-billboard .hb-abuse-photo img { height: 260px; }
	.hb-fragment { padding: 28px 24px; min-height: 0; }
}

/* =========================================================
   How Does Legal System Abuse Affect You?
   ========================================================= */
.hb-affect {
	background: var(--hb-paper);
	color: var(--hb-ink-text);
}
.hb-affect-inner {
	padding-block: 104px;
	display: flex;
	flex-direction: column;
	gap: 64px;
}
.hb-affect-title {
	font-family: var(--hb-font-serif);
	font-weight: 600;
	font-size: 46px;
	line-height: 1.12;
	max-width: 760px;
	color: var(--hb-ink-text);
}
.hb-affect-row {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 64px;
	align-items: center;
}
.hb-affect-row.is-reversed { grid-template-columns: 1.1fr 0.9fr; }
.hb-affect-row.is-reversed .hb-affect-media { order: 2; }
.hb-affect-media { margin: 0; }
.hb-affect-media img {
	width: 100%;
	height: 380px;
	object-fit: cover;
	display: block;
}
.hb-affect-text { display: flex; flex-direction: column; gap: 12px; }
.hb-affect-h3 {
	font-family: var(--hb-font-serif);
	font-weight: 600;
	font-size: 30px;
	color: var(--hb-ink-text);
}
.hb-affect-copy {
	font-family: var(--hb-font-serif);
	font-size: 19px;
	line-height: 1.65;
	color: var(--hb-body-light);
}

@media (max-width: 1199px) {
	.hb-affect-row,
	.hb-affect-row.is-reversed { grid-template-columns: 1fr; gap: 24px; }
	.hb-affect-row.is-reversed .hb-affect-media { order: 0; }
	.hb-affect-inner { gap: 56px; }
	.hb-affect-title { font-size: 40px; }
}
@media (max-width: 767px) {
	.hb-affect-inner { padding-block: 72px; }
	.hb-affect-title { font-size: 33px; }
	.hb-affect-media img { height: 260px; }
	.hb-affect-h3 { font-size: 26px; }
}

/* =========================================================
   Follow the Money
   ========================================================= */
.hb-money {
	background: var(--hb-ink-deep);
	color: var(--hb-cream);
}
.hb-money-inner {
	padding-block: 104px;
	display: flex;
	flex-direction: column;
	gap: 52px;
}
.hb-money-head { display: flex; flex-direction: column; gap: 16px; }
.hb-money-title {
	font-family: var(--hb-font-display);
	font-size: 64px;
	line-height: 1;
	color: var(--hb-cream);
	font-weight: 400;
}
.hb-money-sub {
	font-family: var(--hb-font-serif);
	font-size: 26px;
	font-style: italic;
	color: var(--hb-gray-body);
}
.hb-money-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.hb-money-copy { display: flex; flex-direction: column; gap: 24px; }
.hb-money-copy p {
	font-size: 18px;
	line-height: 1.7;
	color: var(--hb-gray-emph);
	font-weight: 500;
}
.hb-flow { display: flex; flex-direction: column; padding: 8px 0; }
.hb-flow-row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px dotted var(--hb-dotted-dark);
}
.hb-flow-row-mid { border-top: 1px dotted var(--hb-dotted-dark); }
.hb-flow-row-final {
	border-top: 1px dotted var(--hb-dotted-dark);
	border-bottom: none;
}
.hb-flow-title {
	font-family: var(--hb-font-display);
	font-size: 22px;
	color: var(--hb-cream);
}
.hb-flow-row-final .hb-flow-title { color: var(--hb-red-bright); }
.hb-flow-note {
	font-size: 14px;
	color: var(--hb-gray-muted);
	font-weight: 600;
	text-align: right;
}
.hb-flow-arrow {
	display: flex;
	justify-content: center;
	padding: 12px 0;
	font-family: var(--hb-font-display);
	font-size: 24px;
	color: var(--hb-red-bright);
}

@media (max-width: 1199px) {
	.hb-money-grid { grid-template-columns: 1fr; gap: 48px; }
	.hb-money-title { font-size: 48px; }
}
@media (max-width: 767px) {
	.hb-money-inner { padding-block: 72px; }
	.hb-money-title { font-size: 36px; }
	.hb-money-sub { font-size: 21px; }
	.hb-flow-title { font-size: 18px; }
}

/* =========================================================
   Take Action
   ========================================================= */
.hb-action {
	background: var(--hb-paper);
	color: var(--hb-ink-text);
}
.hb-action-inner {
	max-width: 1100px;
	margin-inline: auto;
	padding-block: 112px;
	padding-inline: var(--hb-pad-x);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: center;
	text-align: center;
}
.hb-action-title {
	font-family: var(--hb-font-serif);
	font-weight: 600;
	font-size: 52px;
	line-height: 1.12;
	text-wrap: pretty;
	color: var(--hb-ink-text);
}
.hb-action-copy {
	font-family: var(--hb-font-serif);
	font-size: 20px;
	line-height: 1.65;
	color: var(--hb-body-light);
	max-width: 760px;
}
.hb-action-line {
	font-family: var(--hb-font-display);
	font-size: 22px;
	color: var(--hb-ink-text);
}
.hb-action-buttons { padding-top: 8px; }
.hb-action-buttons .wp-block-buttons { justify-content: center; gap: 16px; }

@media (max-width: 767px) {
	.hb-action-inner { padding-block: 80px; }
	.hb-action-title { font-size: 34px; }
	.hb-action-copy { font-size: 18px; }
}

/* =========================================================
   Footer
   ========================================================= */
.hb-footer-wrap {
	background: var(--hb-footer-navy);
	border-top: 4px solid var(--hb-red);
	color: #B9B8C8;
}
.hb-footer {
	max-width: 1440px;
	margin-inline: auto;
	padding: 64px var(--hb-pad-x) 40px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 40px;
}
.hb-footer-top {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 64px;
	align-items: start;
}
.hb-footer-brand { display: flex; flex-direction: column; gap: 20px; }
.hb-footer-brand figure { margin: 0; }
.hb-footer-brand img { height: 44px; width: auto; display: block; }
.hb-footer-mission {
	font-size: 15px;
	line-height: 1.65;
	color: #B9B8C8;
	max-width: 520px;
}
.hb-footer-cols {
	display: flex;
	gap: 64px;
	justify-content: flex-end;
}
.hb-footer-col { display: flex; flex-direction: column; gap: 12px; }
.hb-footer-colhead {
	font-family: var(--hb-font-ui);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: #8D8EA8;
}
.hb-footer-col .wp-block-navigation {
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}
.hb-footer-col .wp-block-navigation-item__content {
	font-size: 14px;
	color: #E8E6DF;
	text-decoration: none;
	padding: 0;
}
.hb-footer-col .wp-block-navigation-item__content:hover { color: var(--hb-red-bright); }
.hb-footer-legal {
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	padding-top: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}
.hb-footer-legal p {
	font-size: 13px;
	color: #8D8EA8;
}

@media (max-width: 1199px) {
	.hb-footer-top { grid-template-columns: 1fr; gap: 40px; }
	.hb-footer-cols { justify-content: flex-start; }
}
@media (max-width: 767px) {
	.hb-footer { padding-top: 48px; }
	.hb-footer-cols { flex-direction: column; gap: 32px; }
	.hb-footer-legal { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* =========================================================
   Standard pages (Privacy, Terms, Contact…)
   ========================================================= */
.hb-page {
	background: var(--hb-paper);
	color: var(--hb-ink-text);
}
.hb-page a { color: var(--hb-ink-text); text-decoration: underline; }
.hb-page a:hover { color: var(--hb-red); }
.hb-page-inner {
	padding-block: 80px;
	min-height: 40vh;
	max-width: 900px;
}
.hb-page-title {
	font-family: var(--hb-font-serif);
	font-weight: 600;
	font-size: 44px;
	line-height: 1.15;
	margin: 0 0 24px;
}
.hb-page-inner p {
	font-family: var(--hb-font-serif);
	font-size: 18px;
	line-height: 1.7;
	color: var(--hb-body-light);
}

/* =========================================================
   Utilities
   ========================================================= */
/* Keep the sticky header clear of the admin bar for logged-in staff. */
.admin-bar .hb-header-wrap {
	top: var(--wp-admin--admin-bar--height, 32px);
}

/* Skip link (core injects it for block themes) */
.skip-link.screen-reader-text:focus {
	background: var(--hb-red);
	color: #fff;
	padding: 12px 20px;
	z-index: 100;
}
