@import url("https://fonts.googleapis.com/css2?family=Newsreader:wght@400;500;600&family=Source+Sans+3:wght@400;500;600;700&display=swap");

:root {
	--igrfm-cream: #fdf5ed;
	--igrfm-white: #ffffff;
	--igrfm-charcoal: #373736;
	--igrfm-gold: #c9a25f;
	--igrfm-green: #2e7d5b;
	--igrfm-muted: #6e6c68;
	--igrfm-border: #e2dcd4;
	--igrfm-content-width: 760px;
	--igrfm-wide-width: 1200px;
	--igrfm-radius-pill: 999px;
	--igrfm-radius-soft: 24px;
	--igrfm-shadow-soft: 0 18px 50px rgba(55, 55, 54, 0.07);
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--igrfm-cream);
	color: var(--igrfm-charcoal);
	font-family: "Source Sans 3", system-ui, sans-serif;
	line-height: normal !important;
	letter-spacing: normal !important;
	-webkit-font-smoothing: antialiased;
}

.wp-site-blocks {
	padding-bottom: 0;
}

.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

p,
li {
	font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.125rem);
	font-family: "Source Sans 3", system-ui, sans-serif;
}

a {
	color: currentColor;
}

a:hover {
	color: var(--igrfm-green);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Newsreader", Georgia, "Times New Roman", serif;
	text-wrap: balance;
}

.wp-block-button__link {
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	background: var(--igrfm-green);
	color: var(--igrfm-cream);
	transform: translateY(-1px);
}

.is-style-outline > .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 1px solid var(--igrfm-border);
	color: var(--igrfm-charcoal);
}

.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.is-style-outline > .wp-block-button__link:focus-visible,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	border-color: var(--igrfm-charcoal);
	background: rgba(55, 55, 54, 0.04);
	color: var(--igrfm-charcoal);
}

.igrfm-editorial-header-shell {
	background: #ffffff;
	border-bottom: 1px solid #e9e3d9;
}

.igrfm-editorial-header-shell__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	min-height: 76px;
	padding-right: max(24px, calc((100vw - 1080px) / 2 + 40px));
	padding-left: max(24px, calc((100vw - 1080px) / 2 + 40px));
}

.igrfm-editorial-header-actions {
	display: flex;
	align-items: center;
	gap: 13px;
}

.igrfm-brand {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	margin-right: 0;
	text-decoration: none;
}

.igrfm-brand-logo {
	display: block;
	width: auto;
	height: 26px;
}

.igrfm-quiz-brand-logo {
	height: 26px !important;
}

.igrfm-site-nav {
	display: flex;
	align-items: center;
	gap: 13px;
}

.igrfm-site-nav a {
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: #5a5852;
	text-decoration: none;
	white-space: nowrap;
}

.igrfm-site-nav a:hover,
.igrfm-site-nav a:focus,
.igrfm-site-nav a:focus-visible,
.igrfm-mobile-nav-panel a:hover,
.igrfm-mobile-nav-panel a:focus,
.igrfm-mobile-nav-panel a:focus-visible {
	color: #5a5852;
}

body.page-id-10 .igrfm-site-nav a[href$="/how-it-works/"],
body.page-id-10 .igrfm-mobile-nav-panel a[href$="/how-it-works/"] {
	color: #b58f48;
	font-weight: 700;
}

body.page-id-16 .igrfm-site-nav a[href$="/how-we-vet-providers/"],
body.page-id-16 .igrfm-mobile-nav-panel a[href$="/how-we-vet-providers/"] {
	color: #b58f48;
	font-weight: 700;
}

body.page-id-15 .igrfm-site-nav a[href$="/how-we-make-money/"],
body.page-id-15 .igrfm-mobile-nav-panel a[href$="/how-we-make-money/"] {
	color: #b58f48;
	font-weight: 700;
}

body.page-id-19 .igrfm-site-nav a[href$="/education/"],
body.page-id-19 .igrfm-mobile-nav-panel a[href$="/education/"] {
	color: #b58f48;
	font-weight: 700;
}

body.page-id-18 .igrfm-site-nav a[href$="/about/"],
body.page-id-18 .igrfm-mobile-nav-panel a[href$="/about/"] {
	color: #b58f48;
	font-weight: 700;
}

body.page-id-21 .igrfm-site-nav a[href$="/contact/"],
body.page-id-21 .igrfm-mobile-nav-panel a[href$="/contact/"] {
	color: #b58f48;
	font-weight: 700;
}

.igrfm-editorial-header-shell a:focus:not(:focus-visible),
.igrfm-editorial-footer-shell a:focus:not(:focus-visible),
.home-path-row.is-active:focus:not(:focus-visible) {
	outline: none !important;
	box-shadow: none !important;
}

.igrfm-editorial-header-shell a:focus-visible,
.igrfm-editorial-footer-shell a:focus-visible,
.home-path-row.is-active:focus-visible {
	outline: 2px solid currentColor !important;
	outline-offset: 3px !important;
	box-shadow: none !important;
}

.igrfm-header-cta,
.igrfm-mobile-nav-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 18px;
	border-radius: 9px;
	background: #1e7a50;
	color: #fdf5ed;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.igrfm-header-cta:hover,
.igrfm-header-cta:focus-visible,
.igrfm-mobile-nav-cta:hover,
.igrfm-mobile-nav-cta:focus-visible {
	background: #17643f;
	color: #fdf5ed;
}

.igrfm-mobile-nav {
	display: none;
	position: relative;
}

.igrfm-mobile-nav summary {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	gap: 5px;
	list-style: none;
	cursor: pointer;
}

.igrfm-mobile-nav summary::-webkit-details-marker {
	display: none;
}

.igrfm-mobile-nav summary span {
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: #373736;
}

.igrfm-mobile-nav-panel {
	position: absolute;
	top: calc(100% + 1px);
	right: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	min-width: min(320px, calc(100vw - 40px));
	padding: 8px 20px 20px;
	border: 1px solid #e9e3d9;
	border-top: 0;
	background: #ffffff;
}

.igrfm-mobile-nav-panel a {
	padding: 15px 2px;
	border-bottom: 1px solid #f0ebe0;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: #5a5852;
	text-decoration: none;
}

.igrfm-mobile-nav-panel a:last-child {
	border-bottom: 0;
}

.igrfm-mobile-nav-panel a.igrfm-mobile-nav-cta {
	height: 60px;
	margin-top: 18px;
	padding: 0 24px;
	border-bottom: 0;
	color: #fdf5ed;
	font-size: 17px;
}

.igrfm-editorial-footer-shell {
	background: #ffffff;
	border-top: 1px solid #e9e3d9;
}

.igrfm-editorial-footer-shell__inner {
	box-sizing: content-box;
	max-width: 1000px;
	margin: 0 auto;
	padding: 40px 40px 36px;
}

.igrfm-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 11px 22px;
	margin-bottom: 22px;
}

.igrfm-footer-nav a,
.igrfm-footer-disclosure a {
	color: #1e7a50;
	text-decoration: underline;
	text-decoration-color: #aecdbb;
	text-underline-offset: 3px;
}

.igrfm-footer-nav a {
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
}

.igrfm-footer-disclosure {
	max-width: 860px;
	margin: 0 0 18px;
	color: #5f5d57;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 14.5px;
	line-height: 1.65;
}

.igrfm-footer-meta {
	padding-top: 16px;
	border-top: 1px solid #ede6db;
	color: #8b8880;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 13.5px;
	line-height: 1.6;
}

.igrm-contact-confirmation {
	box-sizing: border-box;
	padding: 34px 36px;
	border: 1px solid #c9ded1;
	border-left: 4px solid #1e7a50;
	border-radius: 14px;
	background: #ffffff;
}

.igrm-contact-confirmation__layout {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.igrm-contact-confirmation__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #e8f1eb;
}

.igrm-contact-confirmation__content {
	flex: 1;
	min-width: 0;
}

.igrm-contact-confirmation__content h2 {
	margin: 0 0 12px;
	color: #373736;
	font-family: "Newsreader", Georgia, "Times New Roman", serif;
	font-size: 27px;
	font-weight: 500;
	line-height: 1.25;
	text-wrap: balance;
}

.igrm-contact-confirmation__content p {
	margin: 0 0 12px;
	color: #4a4844;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 18px;
	line-height: 1.7;
	text-wrap: pretty;
}

.igrm-contact-confirmation__content p:last-of-type {
	margin-bottom: 20px;
}

.igrm-contact-confirmation__content a {
	color: #1e7a50;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: #aecdbb;
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.igrfm-surface {
	background: var(--igrfm-white);
	border: 1px solid rgba(226, 220, 212, 0.8);
	border-radius: var(--igrfm-radius-soft);
	box-shadow: var(--igrfm-shadow-soft);
}

.igrfm-main-shell {
	padding-top: clamp(32px, 5vw, 72px);
	padding-bottom: clamp(56px, 7vw, 96px);
}

.igrfm-front-page-shell {
	padding-top: clamp(20px, 4vw, 56px);
	padding-bottom: clamp(56px, 7vw, 96px);
}

.igrfm-funnel-shell {
	min-height: 100svh;
	padding-top: clamp(20px, 4vw, 48px);
	padding-bottom: clamp(32px, 5vw, 64px);
}

.igrfm-funnel-inner {
	width: min(100%, 760px);
	margin: 0 auto;
}

.igrfm-funnel-frame {
	background: rgba(255, 255, 255, 0.72);
	border: 1px solid rgba(226, 220, 212, 0.9);
	border-radius: 28px;
	box-shadow: var(--igrfm-shadow-soft);
	padding: clamp(20px, 4vw, 40px);
}

.igrfm-home-hero {
	background: linear-gradient(180deg, #fbf4e6 0%, #fbf6ee 100%);
	border: 1px solid rgba(224, 210, 175, 0.65);
	border-radius: 36px;
	box-shadow: 0 34px 80px -50px rgba(111, 91, 47, 0.45);
	padding: clamp(28px, 5vw, 64px);
}

.igrfm-home-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(260px, 320px);
	gap: clamp(28px, 4vw, 56px);
	align-items: center;
}

.igrfm-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.45rem 0.9rem;
	border-radius: 999px;
	border: 1px solid #e0d2af;
	background: #ede2c7;
	color: #8a6e31;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.igrfm-pill::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 999px;
	background: var(--igrfm-gold);
	flex-shrink: 0;
}

.igrfm-home-title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.5rem, 4vw, 4.25rem);
	line-height: 1.02;
}

.igrfm-home-title em {
	color: var(--igrfm-green);
	font-style: italic;
}

.igrfm-home-subhead {
	max-width: 34rem;
	font-size: clamp(1.125rem, 1rem + 0.45vw, 1.35rem);
	line-height: 1.6;
	color: #5a5852;
}

.igrfm-disclosure-box {
	margin-top: 1rem;
	padding: 1rem 1.1rem;
	border-left: 3px solid var(--igrfm-gold);
	background: rgba(255, 255, 255, 0.7);
	color: #5f5d57;
	font-size: 0.98rem;
	line-height: 1.6;
}

.igrfm-home-card {
	background: #ffffff;
	border: 1px solid #eae1ce;
	border-radius: 20px;
	box-shadow: 0 22px 44px -26px rgba(120, 96, 40, 0.4);
	padding: 1.55rem;
}

.igrfm-home-card-title {
	margin: 0.25rem 0 1rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.45rem;
	line-height: 1.2;
}

.igrfm-home-path {
	display: grid;
	gap: 0;
}

.igrfm-home-path-item {
	display: grid;
	grid-template-columns: 2.25rem 1fr;
	gap: 0.95rem;
	align-items: center;
	padding: 0.8rem 0;
	border-bottom: 1px solid #f0ebe0;
}

.igrfm-home-path-item:last-child {
	border-bottom: 0;
}

.igrfm-home-path-index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: #f1f7f2;
	border: 1px solid #d6e7dc;
	color: var(--igrfm-green);
	font-size: 1rem;
	font-weight: 700;
}

.igrfm-home-path-item:first-child .igrfm-home-path-index {
	background: var(--igrfm-green);
	border-color: var(--igrfm-green);
	color: #ffffff;
	box-shadow: 0 5px 14px -3px rgba(30, 122, 80, 0.55);
}

.igrfm-home-path-label {
	font-size: 1rem;
	font-weight: 600;
	color: var(--igrfm-charcoal);
}

.igrfm-reassurance-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 2vw, 24px);
	margin-top: clamp(22px, 3vw, 34px);
}

.igrfm-reassurance-item {
	padding: 1rem 1.1rem;
	border-radius: 18px;
	border: 1px solid rgba(226, 220, 212, 0.95);
	background: rgba(255, 255, 255, 0.72);
}

.igrfm-reassurance-item strong {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 1rem;
}

.igrfm-section-shell {
	padding-top: clamp(28px, 4vw, 52px);
}

.igrfm-section-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(18px, 2.5vw, 26px);
}

.igrfm-step-card,
.igrfm-statement-card {
	padding: clamp(20px, 3vw, 28px);
	border-radius: 24px;
	border: 1px solid rgba(226, 220, 212, 0.92);
	background: rgba(255, 255, 255, 0.92);
	box-shadow: var(--igrfm-shadow-soft);
}

.igrfm-step-kicker {
	display: inline-block;
	margin-bottom: 0.7rem;
	color: var(--igrfm-green);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.igrfm-step-card h3,
.igrfm-statement-card h3 {
	margin: 0 0 0.75rem;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.8rem);
	line-height: 1.18;
}

.igrfm-statement-panel {
	padding: clamp(24px, 4vw, 40px);
	border-radius: 30px;
	background: #f6eee3;
	border: 1px solid #eae1ce;
	box-shadow: 0 28px 70px -48px rgba(111, 91, 47, 0.42);
}

.igrfm-statement-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 22px);
	margin-top: clamp(18px, 2vw, 24px);
}

.igrfm-home-final-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	align-items: center;
	justify-content: space-between;
	padding: clamp(22px, 3vw, 30px);
	border-radius: 24px;
	background: var(--igrfm-charcoal);
	color: var(--igrfm-cream);
}

.igrfm-home-final-cta p {
	margin: 0;
	max-width: 38rem;
	color: rgba(253, 245, 237, 0.86);
}

.igrfm-home-final-cta .wp-block-button__link {
	background: var(--igrfm-green);
	color: #ffffff;
}

.igrfm-home-final-cta .wp-block-button__link:hover,
.igrfm-home-final-cta .wp-block-button__link:focus-visible {
	background: #17643f;
}

.igrfm-stack-lg > * + * {
	margin-top: clamp(1.25rem, 1rem + 1vw, 2.5rem);
}

.igrfm-lede {
	color: var(--igrfm-muted);
	font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
	line-height: 1.55;
}

.igrfm-eyebrow {
	color: var(--igrfm-green);
	font-size: 0.9rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.igrfm-section-rule {
	width: 72px;
	height: 1px;
	background: rgba(201, 162, 95, 0.7);
}

@media (max-width: 781px) {
	.igrfm-editorial-header-shell__inner {
		justify-content: space-between;
		gap: 0;
		padding-right: 20px;
		padding-left: 20px;
	}

	.igrfm-site-nav,
	.igrfm-editorial-header-actions {
		display: none;
	}

	.igrfm-mobile-nav {
		display: block;
	}

	.igrfm-mobile-nav-panel {
		position: fixed;
		top: 76px;
		right: 20px;
		left: 20px;
		min-width: 0;
	}

	.igrfm-brand-logo {
		height: 24px;
	}

	.igrfm-quiz-brand-logo {
		height: 24px !important;
	}

	.igrfm-editorial-footer-shell__inner {
		padding: 26px 20px 24px;
	}

	.igrfm-contact-confirmation {
		padding: 26px 22px;
	}

	.igrfm-contact-confirmation__content h2 {
		font-size: 23px;
	}

	.igrfm-contact-confirmation__content p {
		font-size: 17px;
	}

	.igrfm-funnel-frame {
		border-radius: 22px;
	}

	.igrfm-home-hero {
		border-radius: 28px;
	}

	.igrfm-home-hero-grid,
	.igrfm-reassurance-strip,
	.igrfm-section-grid,
	.igrfm-statement-grid {
		grid-template-columns: 1fr;
	}

	.igrfm-home-final-cta {
		align-items: flex-start;
	}

}
