/* ============================================================
   Charter Funnel — net-new sections.
   Loads AFTER page-funnel-tax.css and reuses its tokens
   (--ace-gold, --ace-cream, --ace-dark, etc.) + base .funnel-*
   layout. Only styles sections unique to the charter page.
============================================================ */

/* ---------- Hero: drop the tax funnel's oversized hero paragraph,
   fall back to the theme's default .hero-content p size (charter only).
   !important is needed to beat the tax mobile rule (2.4em !important). ---------- */
.charter-funnel .hero-content p {
	font-size: 2em !important;
}
/* Charter hero: 50% width on desktop (tax funnel uses 65%) — charter only,
   does not affect the tax page template. Mobile stays full width. */
@media (min-width: 880px) {
	.charter-funnel .hero-content {
		max-width: 50% !important;
	}
}

/* ---------- 25 Years: force a square image like the Prep Window (funnel-cta).
   Top-align the square so its top edge lines up with the section title when
   the content column is taller than the image. ---------- */
.tax-funnel .charter-years .funnel-media {
	aspect-ratio: 1 / 1;
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
	align-self: start;
}
.tax-funnel .charter-years .funnel-media > img,
.tax-funnel .charter-years .funnel-media > .funnel-img-placeholder {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	border-radius: 16px;
}

/* ---------- Intro: bold line under the body ---------- */
.tax-funnel .charter-intro-bold {
	font-weight: 700;
	font-size: 1.05em;
	color: var(--ace-ink);
	margin: 18px 0 0;
}
/* Intro image wrap height — charter template only */
.charter-funnel .funnel-intro-img-wrap {
	height: 224px;
}

/* ============================================================
   READINESS STATS (cream boxes on white)
============================================================ */
.tax-funnel .charter-ready.funnel-stats {
	background: #fff;
}
.tax-funnel .charter-ready-title {
	margin-bottom: 14px !important;
}
/* Underline brush, centered under the readiness title */
.tax-funnel .charter-ready-brush {
	margin-top: 6px !important;
	margin-bottom: 34px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
/* Underline brush, centered under the Scholar Stories title */
.tax-funnel .charter-testi-brush {
	margin-top: 6px !important;
	margin-bottom: 60px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.tax-funnel .charter-ready-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
}
.tax-funnel .charter-ready-box {
	background: var(--ace-cream);
	border-radius: 16px;
	padding: 40px 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}
.tax-funnel .charter-ready-value {
	color: var(--ace-gold-dark);
	font-size: 9.6em;
	line-height: 1;
	text-transform: uppercase;
	-webkit-text-stroke: 1px #000;
	text-stroke: 1px #000;
}
.tax-funnel .charter-ready-label {
	color: #000;
	font-size: 1.02em;
	line-height: 1.35;
	margin: 0;
}

/* ============================================================
   HOW IT WORKS — two dark cards
============================================================ */
.tax-funnel .charter-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 50px;
}
.tax-funnel .charter-card {
	background: #253338;
	color: #fff;
	border-radius: 16px;
	padding: 50px;
	display: flex;
	flex-direction: column;
}
.tax-funnel .charter-card-icon img {
	width: auto;
	height: 70px;
	margin-bottom: 18px;
}
.tax-funnel .charter-card-title.titles {
	color: #fff !important;
	margin: 0 0 18px !important;
}
.tax-funnel .charter-card-body,
.tax-funnel .charter-card-body p {
	color: #e8e8e8;
	line-height: 1.6;
}
/* Card paragraph + list use the site's normal paragraph size (2em on the 10px-base scale), desktop + mobile */
.tax-funnel .charter-card-body p,
.tax-funnel .charter-card-list li {
	font-size: 2em;
}
.tax-funnel .charter-card-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.tax-funnel .charter-card-list li {
	position: relative;
	padding: 0 0 0 30px;
	margin: 0 0 6px;
	color: #e8e8e8;
	line-height: 1.4;
}
.tax-funnel .charter-card-list li::before {
	content: "\2713"; /* ✓ */
	position: absolute;
	left: 0;
	top: 0;
	color: var(--ace-gold);
	font-weight: 700;
	line-height: 1.5;
}
.tax-funnel .charter-card .button {
	align-self: flex-start;
	margin-top: auto;
}
.tax-funnel .charter-hiw-foot {
	margin-top: 50px;
	text-align: center;
}
/* Center the CTA button under the tagline */
.tax-funnel .charter-hiw-foot .button {
	display: inline-block;
	float: none;
}
/* Brush underline beneath specific words — wrap them in <span class="brush"> in the field */
.charter-funnel .brush {
	background-image: url(../images/yellow_line_horizontal.webp);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% .8em;
	padding-bottom: .7em;
}
.tax-funnel .charter-hiw-tagline.titles {
	margin-bottom: 24px !important;
}

/* ============================================================
   WHAT SETS ACE APART — one dark card, icon grid
============================================================ */
.tax-funnel .charter-apart-card {
	background: #253338;
	border-radius: 16px;
	padding: 56px 10%; /* ~120px on the 1240px container, shrinks with the viewport */
}
.tax-funnel .charter-apart-title.titles {
	color: #fff !important;
	margin-bottom: 40px !important;
}
.tax-funnel .charter-apart-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px 50px;
}
.tax-funnel .charter-apart-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.tax-funnel .charter-apart-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
}
.tax-funnel .charter-apart-icon img {
	width: 30px;
	height: auto;
}
.tax-funnel .charter-apart-icon .funnel-img-placeholder {
	width: 28px;
	height: 28px;
	min-height: 0;
	border-radius: 6px;
}
.tax-funnel .charter-apart-text {
	color: #e8e8e8;
	line-height: 1.45;
	padding-top: 2px;
	font-size: 2em;
}

/* ============================================================
   BIG STATS BAND (cream, gold numbers) — overrides the gold band
============================================================ */
/* Stats edits are gated to .charter-funnel (this page only) — the same
   .funnel-stats markup also lives on the tax funnel page. */
.charter-funnel .charter-statsband.funnel-stats {
	background: var(--ace-cream);
	margin-bottom: 120px;
}
/* 3 columns (not the tax funnel's 4); no bottom border/padding */
.charter-funnel .funnel-stats-grid.charter-statsband-grid {
	grid-template-columns: repeat(3, 1fr);
	border-bottom: none;
	padding-bottom: 0;
}
.charter-funnel .charter-statsband .funnel-stat-number {
	color: var(--ace-gold-dark) !important;
	font-size: 9.6em;
	text-transform: uppercase;
	-webkit-text-stroke: 1px #000;
	text-stroke: 1px #000;
}
.charter-funnel .charter-statsband .funnel-stat-label {
	color: var(--ace-ink) !important;
}

/* ============================================================
   SCHOLAR STORIES — story paragraph above the quote
============================================================ */
.tax-funnel .charter-testi-story {
	margin-bottom: 18px;
}
.tax-funnel .charter-testi-quote {
	font-style: italic;
}
/* Center the CTA button under the stories */
.tax-funnel .charter-testi .button {
	display: inline-block;
	float: none;
}

/* This template: no top gap above the disclaimer footer */
.charter-funnel .funnel-disclaimer {
	margin-top: 0 !important;
}

/* ============================================================
   FINAL CTA — background image, dark overlay, white "ready" box
============================================================ */
.tax-funnel .charter-finalcta {
	background-size: cover;
	background-position: center;
	background-color: var(--ace-dark);
}
.tax-funnel .charter-finalcta-overlay {
	padding: 80px 0 90px;
}
.tax-funnel .charter-finalcta-title.titles {
	color: #fff !important;
	margin-bottom: 16px !important;
}
.tax-funnel .charter-finalcta-subtext {
	color: #f0f0f0;
	max-width: 720px;
	margin: 0 auto 40px;
	line-height: 1.5;
}
.tax-funnel .charter-finalcta-box {
	background: #fff;
	border-radius: 16px;
	margin: 0 auto;
	padding: 44px 40px;
}
.tax-funnel .charter-finalcta-box-title.titles {
	color: var(--ace-ink) !important;
	margin-bottom: 14px !important;
}
.tax-funnel .charter-finalcta-box-text {
	color: var(--ace-muted);
	margin: 0 auto 26px;
	max-width: 560px;
	line-height: 1.5;
}
.tax-funnel .charter-finalcta-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 879px) {
	.tax-funnel .charter-card-grid,
	.tax-funnel .charter-apart-grid {
		grid-template-columns: 1fr;
	}
	/* Stack the BIG STATS on mobile (matches specificity of the 3-col desktop rule) */
	.charter-funnel .funnel-stats-grid.charter-statsband-grid {
		grid-template-columns: 1fr;
	}
	.tax-funnel .charter-card {
		padding: 40px;
	}
	.tax-funnel .charter-apart-card {
		padding: 40px;
	}
}

@media (max-width: 600px) {
	.tax-funnel .charter-card-icon img {
		height: 48px;
	}
	.tax-funnel .charter-ready-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.tax-funnel .charter-card-grid {
		gap: 20px;
	}
	.tax-funnel .charter-card-list li {
		font-size: 1.6em;
	}
	.tax-funnel .charter-ready-value,
	.charter-funnel .charter-statsband .funnel-stat-number {
		font-size: 5.6em;
	}
	.charter-funnel .charter-statsband.funnel-stats {
		margin-bottom: 40px;
	}
	.tax-funnel .charter-finalcta-box {
		padding: 34px 24px;
	}
	.tax-funnel .charter-finalcta-buttons {
		flex-direction: column;
	}
	.tax-funnel .charter-finalcta-buttons .button {
		width: 100%;
	}
}

/* ============================================================
   Temporarily hidden sections (markup kept intact, just hidden):
   - TRUSTED NAME  (.charter-trusted)
   - SCHOLAR STORIES slider (.charter-testi)
   - Final CTA title + subtext (.charter-finalcta-title / -subtext)
   Remove these rules to bring the content back.
============================================================ */
.charter-funnel .charter-trusted,
.charter-funnel .charter-testi,
.charter-funnel .charter-finalcta-title,
.charter-funnel .charter-finalcta-subtext {
	display: none !important;
}
