/**
 * Estate Check report styles.
 *
 * This styles the REPORT only (the confirmation screen after submit) — not
 * the intake form itself. The form fields are built in Gravity Forms and get
 * their look from the site's existing master form design system
 * (.hivelaw-exposure__form-wrap / dark panel, gold radio cards) — do not
 * duplicate that here.
 *
 * The report uses the same brand tokens as the rest of the site (Estate
 * Black / Hive Gold / Parchment / Charcoal, Outfit + Poppins) but sized up
 * for an 80-year-old reader: 20px minimum body text, 1.6 line height, no
 * light font weights, no animation.
 */

.hec-report-wrap {
	--hec-black: #1A1A20;
	--hec-gold: #C9A84C;
	--hec-parchment: #F8F6F2;
	--hec-charcoal: #2C2C34;
	--hec-white: #FFFFFF;

	max-width: 720px;
	margin: 0 auto;
	padding: 48px 24px 96px;
	background: var(--hec-white);
	font-family: 'Poppins', sans-serif;
	font-weight: 400;
	color: var(--hec-charcoal);
}

.hec-report-wrap h1,
.hec-report-wrap h2,
.hec-report-wrap h3 {
	font-family: 'Outfit', sans-serif;
	font-weight: 700;
	color: var(--hec-black);
	line-height: 1.3;
}

.hec-report-wrap h1 {
	font-size: 36px;
	margin: 0 0 16px;
}

.hec-report-wrap h2 {
	font-size: 28px;
	margin: 48px 0 16px;
}

.hec-module > h2:first-child {
	margin-top: 0;
}

.hec-report-wrap h3 {
	font-size: 22px;
	margin: 28px 0 12px;
}

.hec-report-wrap p,
.hec-report-wrap li {
	font-size: 20px;
	line-height: 1.6;
	margin: 0 0 18px;
}

.hec-report-wrap ul {
	list-style: disc;
	padding-left: 28px;
	margin: 0 0 18px;
}

.hec-report-wrap strong {
	color: var(--hec-black);
	font-weight: 600;
}

/* Gold used only as an accent — never as body text, never as a large fill. */
.hec-summary {
	border-top: 4px solid var(--hec-gold);
	padding-top: 32px;
}

.hec-summary__bullets {
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
}

.hec-summary__bullets li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 14px;
}

.hec-summary__bullets li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--hec-gold);
}

.hec-module {
	border-top: 1px solid rgba(26, 26, 32, 0.12);
	margin-top: 32px;
	padding-top: 32px;
}

.hec-module__sub {
	background: var(--hec-parchment);
	border-left: 4px solid var(--hec-gold);
	padding: 24px;
	margin: 24px 0;
}

/* --- CTA --- */

.hec-cta {
	background: var(--hec-parchment);
	border-top: 4px solid var(--hec-gold);
	padding: 40px 24px;
	margin-top: 56px;
}

.hec-cta__button-wrap {
	margin: 32px 0;
}

.hec-cta__button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 60px;
	box-sizing: border-box;
	padding: 12px 20px;
	background: var(--hec-gold);
	color: var(--hec-black);
	text-decoration: none;
	font-family: 'Outfit', sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.3;
	text-align: center;
	border-radius: 8px;
}

.hec-cta__button:hover,
.hec-cta__button:focus {
	background: #DAB95E;
	color: var(--hec-black);
}

.hec-disclaimer {
	font-size: 15px;
	line-height: 1.5;
	color: rgba(44, 44, 52, 0.75);
	margin-top: 28px;
}

/* Secondary CTA — the paid Design Meeting link. Deliberately understated
   text, not a second button, so it never competes with the primary call. */
.hec-cta__secondary {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(44, 44, 52, 0.85);
	margin-top: 24px;
}

.hec-cta__secondary a {
	color: var(--hec-black);
	text-decoration: underline;
}

/* No animation anywhere in this file — deliberate per elderly-user constraint. */

/* Sitewide dark mode sets body { color: #D1CFCB !important; } — this cascades
   into every component. Without an explicit override the report renders
   near-white text on this card's white background and becomes unreadable.
   Follows the same dark-card pattern used elsewhere on the site (dark bg,
   light headings, muted body text). */
@media (prefers-color-scheme: dark) {
	.hec-report-wrap {
		background: #1A1A20 !important;
		color: #D1CFCB !important;
	}
	.hec-report-wrap h1,
	.hec-report-wrap h2,
	.hec-report-wrap h3,
	.hec-report-wrap strong {
		color: #F1EEE8 !important;
	}
	.hec-report-wrap p,
	.hec-report-wrap li {
		color: #D1CFCB !important;
	}
	.hec-module {
		border-top-color: rgba(255, 255, 255, 0.12) !important;
	}
	.hec-module__sub {
		background: #2C2C34 !important;
	}
	.hec-summary,
	.hec-cta {
		background: #1A1A20 !important;
	}
	.hec-cta__button {
		background: var(--hec-gold) !important;
		color: #1A1A20 !important;
	}
	.hec-cta__button:hover,
	.hec-cta__button:focus {
		background: #DAB95E !important;
		color: #1A1A20 !important;
	}
	.hec-disclaimer {
		color: rgba(209, 207, 203, 0.75) !important;
	}
	.hec-cta__secondary {
		color: rgba(209, 207, 203, 0.85) !important;
	}
	.hec-cta__secondary a {
		color: #F1EEE8 !important;
	}
}

@media (max-width: 600px) {
	.hec-report-wrap {
		padding: 32px 16px 72px;
	}
	.hec-report-wrap h1 {
		font-size: 30px;
	}
	.hec-report-wrap h2 {
		font-size: 24px;
	}
}

/* --- Print --- */

@media print {
	.hec-report-wrap {
		max-width: 100%;
		padding: 0;
		background: #FFFFFF;
		color: #000000;
	}
	.hec-report-wrap h1,
	.hec-report-wrap h2,
	.hec-report-wrap h3,
	.hec-report-wrap strong {
		color: #000000;
	}
	.hec-summary,
	.hec-cta {
		border-top-color: #000000;
		background: #FFFFFF;
	}
	.hec-module__sub {
		background: #FFFFFF;
		border-left-color: #000000;
	}
	.hec-summary__bullets li::before {
		background: #000000;
	}
	.hec-cta__button {
		background: #FFFFFF;
		color: #000000;
		border: 2px solid #000000;
	}
	.hec-cta__secondary a {
		color: #000000;
	}
	.hec-module {
		page-break-inside: avoid;
	}
}
