@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap");

/* Color palette — classroom.enaviya.ai */
:root {
	--en-ink: #24324a;
	--en-muted: #4f5f78;
	--en-navy: #15233f;
	--en-blue: #1a73e8;
	--en-blue-deep: #0b57d0;
	--en-subhead: #6b778c;
	--en-body-muted: #5f6b7c;
}

body.host_version.en-home-body {
	color: var(--en-ink) !important;
}

.em-home {
	--en-wash: #f7fbff;
	--en-line: #d7e3f4;
	--en-ink: #24324a;
	--en-muted: #4f5f78;
	--en-navy: #15233f;
	--en-blue: #1a73e8;
	padding-top: var(--en-header-h, 48px) !important;
	background: #ffffff !important;
	color: var(--en-ink) !important;
	font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
}

body.host_version.en-home-body .em-home,
body.en-home-body .em-home {
	font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
	font-size: 16px !important;
	line-height: 1.5 !important;
	color: var(--en-ink) !important;
}

/* Override legacy theme body/link colors on homepage */
body.host_version.en-home-body .em-home h1,
body.host_version.en-home-body .em-home h2,
body.host_version.en-home-body .em-home h3 {
	padding: 0 !important;
}

.em-home a:focus {
	outline: 2px solid #7ad3f3;
	outline-offset: 3px;
}

.em-pro-wrap {
	width: min(100%, 1080px);
	margin: 0 auto;
	padding: 0 28px;
	box-sizing: border-box;
}

.em-pro-hero {
	background: linear-gradient(180deg, #eef5ff 0%, #f7fbff 55%, #ffffff 100%);
	border-bottom: 1px solid #e2eaf5;
}

.em-pro-hero-grid {
	width: min(100%, 1080px);
	margin: 0 auto;
	padding: 48px 28px 52px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 48px;
	align-items: center;
}

.em-pro-hero-copy {
	text-align: left;
	justify-self: stretch;
	align-self: center;
	min-width: 0;
	max-width: 100%;
	overflow: hidden;
	padding-right: 12px;
	box-sizing: border-box;
	font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
	font-size: 16px;
	line-height: 1.5;
}

.em-pro-kicker {
	margin: 0 0 14px !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	color: var(--en-blue) !important;
	text-align: left !important;
}

.em-pro-hero h1 {
	margin: 0 0 8px !important;
	max-width: none;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(2.1rem, 4.2vw, 3.15rem) !important;
	font-weight: 700 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.02em !important;
	text-align: left !important;
}

.em-pro-hero h1,
.em-pro-hero h1 .em-pro-h1-line:not(.em-pro-accent) {
	color: var(--en-navy) !important;
}

.em-pro-h1-line {
	display: block;
}

.em-pro-accent {
	color: var(--en-blue) !important;
}

.em-home .em-pro-hero .em-pro-lead,
.em-home .em-pro-hero-copy .em-pro-lead,
.em-pro-hero .em-pro-lead {
	margin: 0 0 8px !important;
	max-width: 100%;
	font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
	font-size: 1.05rem !important;
	font-size: 16.8px !important;
	line-height: 1.65 !important;
	color: var(--en-muted) !important;
	font-weight: 400 !important;
	font-style: normal !important;
	text-align: left !important;
	letter-spacing: normal !important;
}

.em-pro-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 12px;
	margin-top: 0;
	align-items: center;
}

.em-pro-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border-radius: 999px;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
	text-decoration: none !important;
	line-height: 1.2;
	border: 1px solid transparent;
	transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease, box-shadow 0.12s ease;
}

.em-pro-btn-primary {
	background: #1a73e8 !important;
	border-color: #0b57d0 !important;
	color: #fff !important;
	box-shadow: 0 8px 18px rgba(26, 115, 232, 0.28);
}

.em-pro-btn-primary:hover {
	background: #0b57d0 !important;
	border-color: #0b57d0 !important;
	color: #fff !important;
}

.em-pro-btn-secondary {
	background: #fff !important;
	border-color: #d5dde8 !important;
	color: var(--en-navy) !important;
	box-shadow: none;
}

.em-pro-btn-secondary:hover {
	border-color: var(--en-blue) !important;
	color: var(--en-blue-deep) !important;
}

.em-pro-hero-figure {
	margin: 0;
	min-width: 0;
	align-self: center;
	justify-self: stretch;
	overflow: hidden;
	border-radius: 16px;
	background: #e8f1fc;
	border: 0;
	box-shadow: none;
}

.em-pro-hero-figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
	border: 0;
	box-shadow: none;
	background: transparent;
}

.em-do {
	padding: 28px 0 48px;
}

.em-do-head {
	text-align: left;
	margin: 0 0 28px;
	max-width: 40rem;
}

.em-do-head h2 {
	margin: 0 0 10px !important;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
	color: var(--en-navy) !important;
	line-height: 1.2 !important;
}

.em-do-head p {
	margin: 0 !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 1.02rem !important;
	font-weight: 400 !important;
	color: var(--en-subhead) !important;
	line-height: 1.5 !important;
}

.em-do-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.em-do-card {
	background: #fff;
	border: 1px solid #e4eaf2;
	border-radius: 12px;
	padding: 26px 24px 28px;
	box-shadow: 0 6px 18px rgba(21, 35, 63, 0.04);
	text-align: left;
}

.em-do-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: #fff;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.92rem !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	margin: 0 0 16px;
}

.em-do-num-1 { background: #ea4335; }
.em-do-num-2 { background: #1a73e8; }
.em-do-num-3 { background: #1e8e3e; }

.em-do-card h3 {
	margin: 0 0 8px !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 1.08rem !important;
	font-weight: 700 !important;
	color: var(--en-navy) !important;
	line-height: 1.3 !important;
}

.em-do-card p {
	margin: 0 !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.95rem !important;
	line-height: 1.55 !important;
	color: var(--en-body-muted) !important;
}

.em-features {
	padding: 12px 0 56px;
	background: #f7fbff;
	border-top: 1px solid #e8f0f6;
	border-bottom: 1px solid #e8f0f6;
}

.em-features-head {
	text-align: center;
	margin-bottom: 28px;
}

.em-features-head h2 {
	margin: 0 0 10px !important;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
	color: var(--en-navy) !important;
	line-height: 1.2 !important;
}

.em-features-head p {
	margin: 0 auto !important;
	max-width: 36rem;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-weight: 400 !important;
	color: var(--en-subhead) !important;
	font-size: 1.02rem !important;
	line-height: 1.5 !important;
}

.em-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.em-feature-card {
	background: #fff;
	border: 1px solid #dce8f6;
	border-radius: 12px;
	padding: 22px 18px;
	text-align: center;
	box-shadow: 0 4px 14px rgba(21, 35, 63, 0.04);
}

.em-feature-card img {
	width: 42px;
	height: 42px;
	object-fit: contain;
	margin-bottom: 12px;
}

.em-feature-card h3 {
	margin: 0 0 6px !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 1.08rem !important;
	font-weight: 700 !important;
	color: var(--en-navy) !important;
	line-height: 1.3 !important;
}

.em-feature-card p {
	margin: 0 !important;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.95rem !important;
	line-height: 1.55 !important;
	color: var(--en-body-muted) !important;
}

.em-cta {
	padding: 56px 0 72px;
	text-align: center;
}

.em-cta h2 {
	margin: 0 0 12px !important;
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em !important;
	color: var(--en-navy) !important;
	line-height: 1.2 !important;
}

.em-cta p {
	margin: 0 auto 24px !important;
	max-width: 32rem;
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-weight: 400 !important;
	color: var(--en-subhead) !important;
	font-size: 1.02rem !important;
	line-height: 1.5 !important;
}

@media (max-width: 900px) {
	.em-pro-hero-grid {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 36px 20px 40px;
		align-items: start;
	}

	.em-pro-hero-copy {
		padding-right: 0;
	}

	.em-pro-hero h1 {
		max-width: none;
	}

	.em-do-grid {
		grid-template-columns: 1fr;
	}

	.em-feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575px) {
	.em-pro-wrap,
	.em-pro-hero-grid {
		padding-left: 16px;
		padding-right: 16px;
	}

	.em-feature-grid {
		grid-template-columns: 1fr;
	}

	.em-pro-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.em-pro-btn {
		width: 100%;
	}
}

/* Hero lead — match classroom.enaviya.ai body text exactly */
body.host_version.en-home-body .em-home .em-pro-hero-copy p.em-pro-lead {
	font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
	font-size: 16.8px !important;
	line-height: 1.65 !important;
	color: var(--en-muted) !important;
	font-weight: 400 !important;
	font-style: normal !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	margin: 0 0 8px !important;
	max-width: 100% !important;
}

/* Typography lockdown — override style.css h1/h2/h3 defaults on index homepage */
body.host_version.en-home-body .em-home .em-pro-kicker {
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	color: var(--en-blue) !important;
}

body.host_version.en-home-body .em-home .em-pro-hero h1 {
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(2.1rem, 4.2vw, 3.15rem) !important;
	font-weight: 700 !important;
	line-height: 1.12 !important;
	letter-spacing: -0.02em !important;
	color: var(--en-navy) !important;
}

body.host_version.en-home-body .em-home .em-pro-hero h1 .em-pro-accent,
body.host_version.en-home-body .em-home .em-pro-accent {
	color: var(--en-blue) !important;
	font-weight: 700 !important;
}

body.host_version.en-home-body .em-home .em-do-head h2,
body.host_version.en-home-body .em-home .em-features-head h2,
body.host_version.en-home-body .em-home .em-cta h2 {
	font-family: "Source Serif 4", Georgia, "Times New Roman", serif !important;
	font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.02em !important;
	color: var(--en-navy) !important;
}

body.host_version.en-home-body .em-home .em-do-card h3,
body.host_version.en-home-body .em-home .em-feature-card h3 {
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 1.08rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
	color: var(--en-navy) !important;
}

body.host_version.en-home-body .em-home .em-do-card p,
body.host_version.en-home-body .em-home .em-feature-card p {
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 400 !important;
	line-height: 1.55 !important;
	color: var(--en-body-muted) !important;
}

body.host_version.en-home-body .em-home .em-do-head p,
body.host_version.en-home-body .em-home .em-features-head p,
body.host_version.en-home-body .em-home .em-cta p {
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 1.02rem !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
	color: var(--en-subhead) !important;
}

body.host_version.en-home-body .em-home a.em-pro-btn {
	font-family: "IBM Plex Sans", "Segoe UI", sans-serif !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
}
