/*
 * Home page (front-page.php): navy hero, plan / account cards, contact line.
 * Loaded on the front page only.
 */

@font-face {
	font-family: "PP Editorial New";
	src: url("../fonts/PPEditorialNew-Regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* No white band above the footer on tall screens */
.home .site-main {
	background: #f2f5f8;
}

.mylaw-home {
	--home-navy: #004376;
	--home-orange: #f08200;
	--home-muted: #99b4c8;
	--home-subtle: #668ead;
	--home-line: #ccd9e4;
	--home-surface: #f2f5f8;

	background: var(--home-surface);
	color: var(--home-navy);
	font-family: "Inter", var(--font);
	letter-spacing: -0.02em;
}

.mylaw-home__hero {
	padding: 72px 0 112px;
	background: var(--home-navy);
	text-align: center;
}

.mylaw-home .mylaw-home__eyebrow {
	margin-bottom: 16px;
	color: var(--home-muted);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.mylaw-home__title {
	max-width: 820px;
	margin: 0 auto;
	color: var(--white);
	font-family: "PP Editorial New", Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 400;
	line-height: 1.06;
}

.mylaw-home .mylaw-home__lead {
	max-width: 600px;
	margin: 16px auto 32px;
	color: var(--home-muted);
	font-size: 17px;
	line-height: 1.55;
}

.mylaw-home__cta {
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--home-orange);
	color: var(--white);
	font-weight: 500;
}

.mylaw-home__cta:hover {
	background: #f39b33;
	color: var(--white);
}

/* Cards, overlapping the hero */

.mylaw-home__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin-top: -64px;
	padding-bottom: 48px;
}

.mylaw-home__card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
	border: 1px solid var(--home-line);
	background: var(--white);
	box-shadow: 0 22px 54px rgba(0, 40, 71, 0.12);
	color: var(--home-navy);
	text-decoration: none;
	transition: border-color 0.15s;
}

.mylaw-home__card:hover {
	border-color: var(--home-orange);
	color: var(--home-navy);
}

.mylaw-home__card-label {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.mylaw-home__card-price {
	font-family: "PP Editorial New", Georgia, serif;
	font-size: 38px;
	line-height: 1;
}

.mylaw-home__card-price small {
	margin-left: 6px;
	color: var(--home-subtle);
	font-family: "Inter", var(--font);
	font-size: 13px;
}

.mylaw-home__card-text {
	flex-grow: 1;
	color: var(--home-subtle);
	font-size: 15px;
	line-height: 1.45;
}

.mylaw-home__card-link {
	color: var(--home-orange);
	font-size: 14px;
	font-weight: 600;
}

.mylaw-home__contact {
	padding: 20px 0 28px;
	border-top: 1px solid var(--home-line);
	color: var(--home-subtle);
	font-size: 14px;
	text-align: center;
}

.mylaw-home__contact a {
	color: var(--home-navy);
	font-weight: 500;
}

@media (max-width: 900px) {
	.mylaw-home__cards {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.mylaw-home__hero {
		padding: 48px 0 96px;
	}
}
