/* ==========================================================================
   Ezeal — How It Works
   Styling for NATIVE WORDPRESS BLOCKS. The page content lives in the block
   editor, so every rule here targets a class applied to a standard block via
   its "Additional CSS class(es)" field. Nothing here creates layout that the
   editor cannot reproduce — you can restructure the page in Gutenberg or
   Elementor and these styles will follow.

   Loaded site-wide but every selector is namespaced .hiw-* so it cannot
   affect any other page.
   ========================================================================== */

:root {
	--hiw-navy: #071a3d;
	--hiw-deep: #04102a;
	--hiw-blue: #0b47d1;
	--hiw-gold: #f4b400;
	--hiw-ink: #0a1428;
	--hiw-body: #4a5670;
	--hiw-mist: #f4f6f9;
	--hiw-line: #e2e7ef;
	--hiw-line-dark: rgba(255, 255, 255, .14);
}

/* ---------- section shells ---------- */

.hiw-band { padding: clamp(4rem, 10vh, 7rem) 0; }
.hiw-band--navy { background: var(--hiw-navy); color: #fff; }
.hiw-band--mist { background: var(--hiw-mist); }
.hiw-band--deep { background: var(--hiw-deep); color: #fff; }

.hiw-band--navy h1,
.hiw-band--navy h2,
.hiw-band--navy h3,
.hiw-band--deep h1,
.hiw-band--deep h2,
.hiw-band--deep h3 { color: #fff; }

.hiw-band--navy p,
.hiw-band--deep p { color: rgba(255, 255, 255, .76); }

/* ---------- eyebrow label ---------- */

.hiw-lab {
	font-size: .72rem !important;
	font-weight: 800;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--hiw-blue) !important;
	display: flex;
	align-items: center;
	gap: .9rem;
	margin-bottom: 1.6rem !important;
}
.hiw-lab::before {
	content: "";
	width: 2rem;
	height: 2px;
	background: var(--hiw-gold);
	flex: none;
}
.hiw-band--navy .hiw-lab,
.hiw-band--deep .hiw-lab { color: var(--hiw-gold) !important; }

/* ---------- headings ---------- */

.hiw-h1 {
	font-size: clamp(2.4rem, 5.6vw, 4.6rem) !important;
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -.035em;
	margin: 0 0 1.4rem !important;
	max-width: 17ch;
}
.hiw-h2 {
	font-size: clamp(1.9rem, 4vw, 3.1rem) !important;
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -.033em;
	margin: 0 0 1.1rem !important;
	max-width: 24ch;
}
.hiw-h3 {
	font-size: clamp(1.25rem, 2.2vw, 1.7rem) !important;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.028em;
	margin: 0 0 .6rem !important;
}

.hiw-lead {
	font-size: clamp(1.02rem, 1.6vw, 1.25rem) !important;
	line-height: 1.62;
	color: var(--hiw-body);
	max-width: 48ch;
}
.hiw-band--navy .hiw-lead,
.hiw-band--deep .hiw-lead { color: rgba(255, 255, 255, .76); }
.hiw-lead strong { color: var(--hiw-ink); font-weight: 700; }
.hiw-band--navy .hiw-lead strong,
.hiw-band--deep .hiw-lead strong { color: #fff; }

/* ---------- pull quote ---------- */

.hiw-pull {
	border-left: 2px solid var(--hiw-gold);
	padding-left: clamp(1.1rem, 3vw, 1.9rem);
	font-size: clamp(1.15rem, 2.2vw, 1.6rem) !important;
	font-weight: 700;
	line-height: 1.42;
	letter-spacing: -.02em;
	color: var(--hiw-ink);
	max-width: 36ch;
	margin: clamp(2rem, 4vw, 3rem) 0 !important;
}
.hiw-band--navy .hiw-pull,
.hiw-band--deep .hiw-pull { color: #fff; }

/* ---------- audience columns ---------- */

.hiw-who { border-top: 1px solid var(--hiw-line); margin-top: 2.5rem; }
.hiw-who .wp-block-column {
	padding: 2rem 1.5rem 2rem 0;
	border-right: 1px solid var(--hiw-line);
}
.hiw-who .wp-block-column:last-child { border-right: 0; }

.hiw-when {
	font-size: .72rem !important;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--hiw-blue) !important;
	margin: 0 0 .9rem !important;
}
.hiw-q {
	font-size: 1rem !important;
	line-height: 1.55;
	color: var(--hiw-ink) !important;
	font-weight: 500;
	margin: 0 !important;
}

.hiw-foot {
	margin-top: 2.4rem !important;
	font-size: 1.12rem !important;
	font-weight: 700;
	color: var(--hiw-ink) !important;
	display: flex;
	align-items: center;
	gap: .8rem;
}
.hiw-foot::before {
	content: "";
	width: 2rem;
	height: 2px;
	background: var(--hiw-gold);
	flex: none;
}

/* ---------- tick row ---------- */

.hiw-ticks { border-top: 1px solid var(--hiw-line); margin-top: 2.5rem; }
.hiw-ticks .wp-block-column {
	padding: 1.4rem 1.1rem 1.4rem 0;
	border-right: 1px solid var(--hiw-line);
}
.hiw-ticks .wp-block-column:last-child { border-right: 0; }
.hiw-ticks p {
	margin: 0 !important;
	font-size: .93rem !important;
	font-weight: 700;
	color: var(--hiw-ink) !important;
	line-height: 1.4;
}
.hiw-ticks p em {
	display: block;
	font-style: normal;
	font-weight: 400;
	color: var(--hiw-body) !important;
	font-size: .87rem;
	margin-top: .3rem;
}

/* ---------- steps ---------- */

.hiw-step {
	border-top: 1px solid var(--hiw-line);
	padding-top: clamp(2rem, 4vw, 2.8rem);
	margin-bottom: clamp(2rem, 4vw, 2.8rem) !important;
}
.hiw-step:last-of-type {
	border-bottom: 1px solid var(--hiw-line);
	padding-bottom: clamp(2rem, 4vw, 2.8rem);
}
.hiw-num {
	font-size: clamp(2.2rem, 4.5vw, 3.4rem) !important;
	font-weight: 300;
	line-height: 1;
	color: var(--hiw-gold) !important;
	letter-spacing: -.04em;
	margin: 0 0 .8rem !important;
}
.hiw-key {
	font-size: .72rem !important;
	font-weight: 800;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--hiw-blue) !important;
	margin: 0 0 .6rem !important;
}
.hiw-step p:not(.hiw-key):not(.hiw-num) {
	color: var(--hiw-body);
	line-height: 1.65;
	max-width: 50ch;
}
.hiw-step .wp-block-image img { border-radius: 4px; }

/* ---------- after list ---------- */

.hiw-after { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.hiw-after li {
	position: relative;
	padding: 1.1rem 0 1.1rem 2.3rem;
	border-bottom: 1px solid var(--hiw-line-dark);
	font-size: clamp(.98rem, 1.6vw, 1.12rem);
	color: rgba(255, 255, 255, .84);
	line-height: 1.55;
}
.hiw-after li:first-child { border-top: 1px solid var(--hiw-line-dark); }
.hiw-after li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.6em;
	width: 1.1rem;
	height: 2px;
	background: var(--hiw-gold);
}
.hiw-after strong { color: #fff; font-weight: 700; }

/* ---------- faq ---------- */

.hiw-faq { border-top: 1px solid var(--hiw-line); }
.hiw-faq .wp-block-details {
	border-bottom: 1px solid var(--hiw-line);
	padding: 0;
	background: none;
}
.hiw-faq summary {
	cursor: pointer;
	padding: 1.35rem 3rem 1.35rem 0;
	position: relative;
	font-size: clamp(1rem, 1.7vw, 1.18rem);
	font-weight: 700;
	color: var(--hiw-ink);
	letter-spacing: -.015em;
	list-style: none;
}
.hiw-faq summary::-webkit-details-marker { display: none; }
.hiw-faq summary::after,
.hiw-faq summary::before {
	content: "";
	position: absolute;
	right: .3rem;
	top: 50%;
	width: .8rem;
	height: 2px;
	background: var(--hiw-blue);
}
.hiw-faq summary::before {
	transform: rotate(90deg);
	transition: transform .25s ease, opacity .25s ease;
}
.hiw-faq .wp-block-details[open] summary::before { transform: rotate(0); opacity: 0; }
.hiw-faq .wp-block-details p {
	padding: 0 0 1.4rem;
	margin: 0;
	color: var(--hiw-body);
	max-width: 56ch;
	line-height: 1.7;
}

/* ---------- imagery ---------- */

.hiw-figure img { display: block; width: 100%; height: auto; }
.hiw-banner { margin: 0 !important; }
.hiw-banner img { width: 100%; height: auto; display: block; }

/* ---------- buttons ---------- */

.hiw-btns { margin-top: 2rem !important; }
.hiw-btns .wp-block-button__link {
	border-radius: 999px;
	padding: 1rem 2.1rem;
	font-weight: 800;
	font-size: 1rem;
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	transition: transform .2s ease;
}
.hiw-btns .wp-block-button__link:hover { transform: translateY(-2px); }
.hiw-btns .is-style-outline .wp-block-button__link { border-width: 1.5px; }

/* ---------- responsive ---------- */

@media (max-width: 820px) {
	.hiw-who .wp-block-column,
	.hiw-ticks .wp-block-column {
		border-right: 0;
		border-bottom: 1px solid var(--hiw-line);
		padding-right: 0;
	}
	.hiw-who .wp-block-column:last-child,
	.hiw-ticks .wp-block-column:last-child { border-bottom: 0; }
}
