/*
Theme Name: WPInsurance Classic Child
Description: A calm, focused final-expense education and quoting experience.
Author: Immediate Burial Insurance LLC
Version: 1.0.0
Text Domain: immediate-burial
WPVibe: yes
*/

:root {
	--navy: #102a43;
	--navy-deep: #0b1f33;
	--navy-soft: #173f61;
	--blue: #2d6f9f;
	--blue-light: #dbeaf4;
	--cream: #f8f6f1;
	--paper: #fffdf8;
	--ink: #16293a;
	--muted: #5b6b79;
	--line: #d8d6cf;
	--white: #ffffff;
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
	--sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
	--shadow: 0 24px 70px rgba(11, 31, 51, .14);
	--radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--ink);
	background: var(--cream);
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(800px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 9999;
	padding: 10px 16px;
	background: var(--white);
	color: var(--navy);
	transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(248, 246, 241, .96);
	border-bottom: 1px solid rgba(16, 42, 67, .12);
	backdrop-filter: blur(14px);
}
.header-inner {
	min-height: 86px;
	display: flex;
	align-items: center;
	gap: 28px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--navy-deep);
	text-decoration: none;
	white-space: nowrap;
}
.brand-mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--navy);
	border-radius: 50%;
	font-family: var(--serif);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .04em;
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 20px; }
.brand-copy small { margin-top: 5px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav a {
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	color: var(--ink);
}
.header-call {
	display: grid;
	padding: 10px 16px;
	border-left: 1px solid var(--line);
	text-decoration: none;
	line-height: 1.2;
}
.header-call span { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.header-call strong { margin-top: 4px; color: var(--navy); font-size: 16px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); font-weight: 700; }

.hero {
	position: relative;
	overflow: hidden;
	padding: 96px 0 84px;
	color: var(--white);
	background:
		radial-gradient(circle at 84% 25%, rgba(68, 137, 184, .28), transparent 27rem),
		linear-gradient(135deg, var(--navy-deep), var(--navy) 58%, #123653);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: .13;
	background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
	background-size: 52px 52px;
	mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 74px; align-items: center; }
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 24px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .7; }
.hero h1 {
	max-width: 760px;
	margin: 0;
	font-family: var(--serif);
	font-size: clamp(48px, 6vw, 78px);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.035em;
	text-wrap: balance;
}
.hero-lede { max-width: 670px; margin: 28px 0 0; color: #dfe9f1; font-size: 21px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 14px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-weight: 800;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--paper); color: var(--navy-deep); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.button-primary:hover { color: var(--navy-deep); background: var(--white); }
.button-ghost { border-color: rgba(255,255,255,.36); color: var(--white); }
.button-ghost:hover { color: var(--white); border-color: var(--white); }
.hero-note { margin-top: 20px; color: #bacddd; font-size: 14px; }
.brief-card {
	padding: 30px;
	border: 1px solid rgba(255,255,255,.18);
	border-radius: var(--radius);
	background: rgba(255,255,255,.08);
	box-shadow: 0 28px 70px rgba(0,0,0,.22);
	backdrop-filter: blur(12px);
}
.brief-label { margin: 0 0 20px; color: #b9d3e5; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.brief-card ul { list-style: none; padding: 0; margin: 0; }
.brief-card li { position: relative; padding: 16px 0 16px 34px; border-top: 1px solid rgba(255,255,255,.13); }
.brief-card li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 23px;
	width: 12px;
	height: 7px;
	border-left: 2px solid #8bc0e2;
	border-bottom: 2px solid #8bc0e2;
	transform: rotate(-45deg);
}
.brief-card small { display: block; margin-top: 18px; color: #b9cddd; line-height: 1.5; }

.section { padding: 96px 0; }
.section-kicker { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.section h2, .page-title {
	margin: 0;
	color: var(--navy-deep);
	font-family: var(--serif);
	font-size: clamp(38px, 5vw, 58px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -.025em;
	text-wrap: balance;
}
.section-intro { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 20px; }

.quote-section { background: var(--paper); }
.quote-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 66px; align-items: start; }
.quote-copy { position: sticky; top: 125px; }
.quote-copy ul { padding: 0; margin: 28px 0 0; list-style: none; }
.quote-copy li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.quote-copy strong { color: var(--navy); }
.quote-frame {
	min-height: 610px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 26px;
	background: var(--white);
	box-shadow: var(--shadow);
}
.quote-frame > p:first-child { margin-top: 0; }
.quote-disclaimer { margin: 18px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; border: 1px solid var(--line); background: var(--line); }
.step { padding: 36px; background: var(--cream); }
.step-number { display: block; margin-bottom: 30px; color: var(--blue); font-family: var(--serif); font-size: 42px; line-height: 1; }
.step h3, .coverage-card h3 { margin: 0 0 12px; color: var(--navy); font-family: var(--serif); font-size: 27px; font-weight: 600; }
.step p, .coverage-card p { margin: 0; color: var(--muted); }

.coverage-section { background: var(--navy-deep); color: var(--white); }
.coverage-section .section-kicker { color: #8fc0df; }
.coverage-section h2 { color: var(--white); }
.coverage-section .section-intro { color: #c7d5df; }
.coverage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.coverage-card { padding: 32px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(255,255,255,.05); }
.coverage-card h3 { color: var(--white); }
.coverage-card p { color: #c8d6e0; }
.coverage-card .tag { display: inline-block; margin-top: 22px; color: #9cc6df; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }

.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.family-panel { padding: 40px; border-left: 4px solid var(--blue); background: var(--blue-light); }
.family-panel h3 { margin: 0 0 12px; color: var(--navy); font-family: var(--serif); font-size: 30px; }
.family-panel p { margin: 0 0 20px; color: #38546a; }
.text-link { font-weight: 800; text-underline-offset: 4px; }

.faq-list { margin-top: 42px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 24px 44px 24px 0; color: var(--navy); font-family: var(--serif); font-size: 24px; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; margin-right: -38px; color: var(--blue); font-family: var(--sans); font-weight: 400; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { max-width: 760px; margin: -4px 0 24px; color: var(--muted); }

.disclosures { padding: 44px 0; background: #e9e6df; border-top: 1px solid var(--line); }
.disclosures p { margin: 0; color: #50606d; font-size: 14px; }

.site-footer { padding: 60px 0 30px; color: #d8e3eb; background: #071827; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr .8fr; gap: 46px; }
.site-footer .brand { color: var(--white); }
.site-footer h2 { margin: 0 0 14px; color: var(--white); font-family: var(--serif); font-size: 22px; }
.site-footer p { margin: 0 0 10px; color: #b6c5d0; font-size: 15px; }
.site-footer a { color: #e3edf4; }
.footer-links { display: grid; gap: 9px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); color: #91a5b4; font-size: 13px; }

.page-hero { padding: 72px 0 46px; background: var(--paper); border-bottom: 1px solid var(--line); }
.content-shell { width: min(820px, calc(100% - 40px)); margin-inline: auto; padding: 64px 0 96px; }
.entry-content h2, .entry-content h3 { color: var(--navy); font-family: var(--serif); line-height: 1.2; }
.entry-content a { text-underline-offset: 3px; }
.entry-content input, .entry-content select, .entry-content textarea { max-width: 100%; padding: 12px; border: 1px solid #a9b2b9; border-radius: 6px; background: var(--white); }
.entry-content img { border-radius: 12px; }

@media (max-width: 980px) {
	.header-call { margin-left: auto; }
	.menu-toggle { display: inline-flex; align-items: center; gap: 9px; }
	.site-nav {
		display: none;
		position: absolute;
		top: 86px;
		left: 0;
		right: 0;
		padding: 20px;
		background: var(--cream);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 14px 30px rgba(11,31,51,.12);
	}
	.site-nav.is-open { display: grid; gap: 16px; }
	.menu-lines { display: grid; gap: 5px; }
	.menu-lines i { display: block; width: 22px; height: 2px; background: currentColor; }
	.hero-grid, .quote-grid, .family-grid { grid-template-columns: 1fr; }
	.brief-card { max-width: 650px; }
	.quote-copy { position: static; }
	.steps, .coverage-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
	body { font-size: 17px; }
	.shell { width: min(100% - 28px, 1180px); }
	.header-inner { min-height: 74px; gap: 14px; }
	.brand-mark { width: 40px; height: 40px; }
	.brand-copy strong { font-size: 17px; }
	.header-call { display: none; }
	.site-nav { top: 74px; }
	.menu-toggle { margin-left: auto; }
	.hero { padding: 68px 0 58px; }
	.hero h1 { font-size: clamp(43px, 13vw, 60px); }
	.hero-lede { font-size: 19px; }
	.button { width: 100%; }
	.section { padding: 70px 0; }
	.quote-frame { padding: 10px; min-height: 560px; border-radius: 18px; }
	.step, .coverage-card { padding: 28px 24px; }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
