/*
Theme Name:   EMB Academy
Theme URI:    https://embacademy.com/
Description:  A GeneratePress child theme for EMB Academy.
Author:       EMB Academy
Author URI:   https://embacademy.com/
Template:     generatepress
Version:      1.6.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  emb-academy
*/

/* =========================================================================
   Design tokens
   ========================================================================= */
:root {
	--emb-dark:        #1C1C1E;
	--emb-dark-2:      #2C2C2E;
	--emb-green:       #2D8E62;
	--emb-green-light: #4CAF82;
	--emb-bg:          #F5F5F3;
	--emb-white:       #FFFFFF;
	--emb-muted:       #6B6B6E;
	--emb-footer-text: #9CA3AF;

	--emb-maxw: 1180px;
	--emb-radius: 18px;
	--emb-radius-sm: 12px;
	--emb-shadow-sm: 0 4px 14px rgba(28, 28, 30, 0.06);
	--emb-shadow: 0 14px 34px rgba(28, 28, 30, 0.09);
	--emb-shadow-lg: 0 30px 65px rgba(28, 28, 30, 0.16);
	--emb-shadow-green: 0 14px 30px rgba(45, 142, 98, 0.32);
	--emb-transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================================================================
   Hide GeneratePress default header/footer on the front page.
   ========================================================================= */
.home .site-header,
.home .generate-back-to-top,
.home .site-footer {
	display: none;
}

/* =========================================================================
   Base
   ========================================================================= */
.emb-home {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--emb-dark-2);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	/* clip (not hidden) so horizontal overflow is contained WITHOUT creating a
	   scroll container — hidden would break the sticky navbar below. */
	overflow-x: clip;
}

.emb-home h1,
.emb-home h2,
.emb-home h3,
.emb-home h4 {
	color: var(--emb-dark);
	font-weight: 700;
	line-height: 1.12;
	margin: 0;
	letter-spacing: -0.025em;
}

/* Light text on dark/coloured backgrounds — needs to out-rank the base
   heading colour above (which targets the same elements). */
.emb-home .emb-section-title--light,
.emb-home .emb-cta__title,
.emb-home .emb-feature__title,
.emb-home .emb-footer__heading {
	color: var(--emb-white);
}

.emb-home p { margin: 0; }
.emb-home a { text-decoration: none; }

.emb-container {
	width: 100%;
	max-width: var(--emb-maxw);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Eyebrow label */
.emb-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--emb-green);
	background-color: rgba(45, 142, 98, 0.10);
	padding: 7px 15px;
	border-radius: 999px;
	margin-bottom: 20px;
}

.emb-label--light {
	background-color: rgba(76, 175, 130, 0.16);
	color: var(--emb-green-light);
}

.emb-section-head {
	max-width: 680px;
	margin: 0 auto 60px;
	text-align: center;
}

.emb-section-title {
	font-size: clamp(2rem, 3.8vw, 3rem);
}

.emb-section-title--light { color: var(--emb-white); }

.emb-section-sub {
	margin-top: 18px;
	color: var(--emb-muted);
	font-size: 1.0625rem;
}

.emb-underline {
	position: relative;
	white-space: nowrap;
	color: var(--emb-green);
}

.emb-underline::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0.02em;
	height: 0.30em;
	background-color: rgba(76, 175, 130, 0.28);
	border-radius: 4px;
	z-index: -1;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.emb-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 30px;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform var(--emb-transition), box-shadow var(--emb-transition), background-color var(--emb-transition), color var(--emb-transition);
}

.emb-btn--sm { padding: 10px 22px; font-size: 0.9375rem; }

.emb-btn--primary {
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	color: var(--emb-white);
	box-shadow: var(--emb-shadow-green);
}

.emb-btn--primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(45, 142, 98, 0.45);
	color: var(--emb-white);
}

.emb-btn--outline {
	background-color: var(--emb-white);
	color: var(--emb-dark-2);
	border-color: rgba(44, 44, 46, 0.14);
}

.emb-btn--outline:hover {
	border-color: var(--emb-dark-2);
	transform: translateY(-3px);
	box-shadow: var(--emb-shadow);
	color: var(--emb-dark-2);
}

.emb-btn__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px; height: 26px;
	border-radius: 50%;
	background-color: var(--emb-green);
	color: var(--emb-white);
}

.emb-btn__play svg { width: 12px; height: 12px; margin-left: 1px; }

.emb-btn--white { background-color: var(--emb-white); color: var(--emb-green); }
.emb-btn--white:hover { transform: translateY(-3px); box-shadow: var(--emb-shadow-lg); color: var(--emb-green); }

.emb-btn--ghost {
	background-color: transparent;
	color: var(--emb-white);
	border-color: rgba(255, 255, 255, 0.55);
}

.emb-btn--ghost:hover {
	background-color: rgba(255, 255, 255, 0.14);
	color: var(--emb-white);
	transform: translateY(-3px);
}

/* =========================================================================
   Navbar — floating pill
   ========================================================================= */
.emb-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: rgba(255, 255, 255, 0.55);
	backdrop-filter: saturate(180%) blur(18px);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	border-bottom: 1px solid rgba(28, 28, 30, 0.06);
	box-shadow: 0 6px 28px rgba(28, 28, 30, 0.05);
}

.emb-nav__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	box-shadow: none;
}

.emb-brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-weight: 700;
	color: var(--emb-dark);
	font-size: 1.1875rem;
	letter-spacing: -0.02em;
}

.emb-brand__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	border-radius: 11px;
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	color: var(--emb-white);
	box-shadow: var(--emb-shadow-green);
}

.emb-brand__mark svg { width: 20px; height: 20px; }

.emb-nav__menu { display: flex; align-items: center; gap: 34px; }

.emb-nav__links {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 28px;
}

.emb-nav__links a {
	color: var(--emb-dark-2);
	font-weight: 500;
	font-size: 0.9688rem;
	transition: color var(--emb-transition);
}

.emb-nav__links a:hover,
.emb-nav__links a.is-active { color: var(--emb-green); }

.emb-nav__actions { display: flex; align-items: center; gap: 16px; }

.emb-nav__signin {
	color: var(--emb-dark);
	font-weight: 600;
	font-size: 0.9688rem;
	transition: color var(--emb-transition);
}

.emb-nav__signin:hover { color: var(--emb-green); }

.emb-nav__checkbox,
.emb-nav__burger { display: none; }

.emb-nav__burger {
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px; height: 44px;
	cursor: pointer;
	border-radius: 50%;
}

.emb-nav__burger span {
	display: block;
	width: 20px; height: 2px;
	margin: 0 auto;
	background-color: var(--emb-dark);
	border-radius: 2px;
	transition: transform var(--emb-transition), opacity var(--emb-transition);
}

/* =========================================================================
   Section 1 — Hero (mesh gradient + dot grid + glass badges)
   ========================================================================= */
.emb-hero {
	position: relative;
	margin-top: -76px;
	padding: 178px 0 124px;
	overflow: hidden;
	background-color: var(--emb-bg);
	background-image:
		radial-gradient(48% 55% at 18% 18%, rgba(76, 175, 130, 0.22), transparent 60%),
		radial-gradient(42% 50% at 88% 8%, rgba(45, 142, 98, 0.16), transparent 55%),
		radial-gradient(45% 60% at 92% 88%, rgba(76, 175, 130, 0.18), transparent 55%),
		linear-gradient(135deg, #EEF5F1 0%, #F5F5F3 50%, #EAF1EC 100%);
}

.emb-hero__grid-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(28, 28, 30, 0.05) 1px, transparent 1px);
	background-size: 26px 26px;
	-webkit-mask-image: radial-gradient(75% 75% at 50% 40%, #000 40%, transparent 100%);
	mask-image: radial-gradient(75% 75% at 50% 40%, #000 40%, transparent 100%);
}

.emb-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.5;
	z-index: 0;
	pointer-events: none;
}

.emb-blob--1 {
	width: 440px; height: 440px;
	top: -120px; right: -90px;
	background: radial-gradient(circle, rgba(76, 175, 130, 0.40), transparent 70%);
}

.emb-blob--2 {
	width: 360px; height: 360px;
	bottom: -140px; left: -120px;
	background: radial-gradient(circle, rgba(45, 142, 98, 0.26), transparent 70%);
}

.emb-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.02fr 1fr;
	gap: 64px;
	align-items: center;
}

.emb-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(255, 255, 255, 0.75);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	color: var(--emb-green);
	font-size: 0.875rem;
	font-weight: 600;
	padding: 9px 18px;
	border-radius: 999px;
	margin-bottom: 26px;
	box-shadow: var(--emb-shadow-sm);
	border: 1px solid rgba(255, 255, 255, 0.7);
}

.emb-pill__spark { color: var(--emb-green-light); }

.emb-hero__title {
	font-size: clamp(2.5rem, 4.6vw, 3.6rem);
	line-height: 1.14;
	margin-bottom: 26px;
}

.emb-highlight {
	display: inline-block;
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	color: var(--emb-white);
	padding: 0.02em 0.24em;
	margin: 0.06em 0;
	border-radius: 12px;
	box-shadow: var(--emb-shadow-green);
}

.emb-hero__subtext {
	font-size: 1.1875rem;
	color: var(--emb-muted);
	max-width: 520px;
	margin-bottom: 48px;
}

.emb-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 34px;
}

.emb-hero__proof {
	display: flex;
	align-items: center;
	gap: 14px;
}

.emb-hero__proof-text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 0.9375rem;
	color: var(--emb-muted);
}

.emb-hero__proof-text strong { color: var(--emb-dark); font-weight: 700; }

.emb-avatars { display: inline-flex; flex-shrink: 0; }

.emb-avatars__a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border-radius: 50%;
	color: var(--emb-white);
	font-size: 0.8125rem;
	font-weight: 700;
	border: 3px solid var(--emb-bg);
	margin-left: -13px;
}

.emb-avatars__a:first-child { margin-left: 0; }
.emb-avatars__a[style*="--i:1"] { background-image: linear-gradient(135deg, #2D8E62, #4CAF82); }
.emb-avatars__a[style*="--i:2"] { background-image: linear-gradient(135deg, #3a7bd5, #4CAF82); }
.emb-avatars__a[style*="--i:3"] { background-image: linear-gradient(135deg, #1C1C1E, #2D8E62); }
.emb-avatars__a[style*="--i:4"] { background-image: linear-gradient(135deg, #4CAF82, #2D8E62); }

/* Hero media */
.emb-hero__media { position: relative; }

.emb-hero__ring {
	position: absolute;
	width: 180px; height: 180px;
	border-radius: 50%;
	border: 2px dashed rgba(45, 142, 98, 0.35);
	top: -34px; right: -30px;
	z-index: 0;
}

.emb-hero__accent {
	position: absolute;
	inset: 26px -26px -26px 26px;
	border-radius: 30px;
	background-image: linear-gradient(135deg, rgba(45, 142, 98, 0.60), rgba(76, 175, 130, 0.35));
	z-index: 0;
}

.emb-hero__frame {
	position: relative;
	z-index: 1;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--emb-shadow-lg);
	background-color: var(--emb-white);
	border: 7px solid var(--emb-white);
}

.emb-hero__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 17px;
}

.emb-stat {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	background-color: rgba(255, 255, 255, 0.82);
	backdrop-filter: saturate(180%) blur(12px);
	-webkit-backdrop-filter: saturate(180%) blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	padding: 13px 18px;
	border-radius: 16px;
	box-shadow: var(--emb-shadow-lg);
	white-space: nowrap;
}

.emb-stat__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	color: var(--emb-muted);
	font-size: 0.8125rem;
}

.emb-stat__text strong {
	color: var(--emb-dark);
	font-size: 1.0625rem;
	font-weight: 700;
}

.emb-stat__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	color: var(--emb-white);
	flex-shrink: 0;
}

.emb-stat__icon svg { width: 20px; height: 20px; }

.emb-stat__stars {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background-color: rgba(245, 179, 1, 0.15);
	color: #F5B301;
	flex-shrink: 0;
}

.emb-stat__stars svg { width: 22px; height: 22px; }

.emb-stat--top { top: 34px; right: -26px; }
.emb-stat--bottom { bottom: 34px; left: -26px; }

/* =========================================================================
   Marquee strip
   ========================================================================= */
.emb-marquee {
	background-color: var(--emb-dark);
	overflow: hidden;
	padding: 16px 0;
	position: relative;
	z-index: 3;
}

.emb-marquee__track {
	display: flex;
	width: max-content;
	animation: emb-scroll 30s linear infinite;
}

.emb-marquee__group { display: flex; align-items: center; flex-shrink: 0; }

.emb-marquee__group span {
	color: var(--emb-white);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 0 24px;
	white-space: nowrap;
}

.emb-marquee__sep { color: var(--emb-green-light) !important; font-size: 0.85rem !important; }

@keyframes emb-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.emb-marquee__track { animation: none; }
}

/* =========================================================================
   Section 2 — Stats band
   ========================================================================= */
.emb-stats {
	background-color: var(--emb-white);
	padding: 60px 0;
}

.emb-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.emb-stats__item {
	text-align: center;
	padding: 8px 12px;
	border-right: 1px solid rgba(28, 28, 30, 0.08);
}

.emb-stats__item:last-child { border-right: none; }

.emb-stats__num {
	display: block;
	font-size: clamp(2.1rem, 3.8vw, 2.9rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
	margin-bottom: 8px;
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.emb-stats__small { font-size: 0.5em; -webkit-text-fill-color: var(--emb-muted); color: var(--emb-muted); }

.emb-stats__label {
	font-size: 0.9375rem;
	color: var(--emb-muted);
	font-weight: 500;
}

/* =========================================================================
   Section 3 — Trust bar
   ========================================================================= */
.emb-trust {
	background-color: var(--emb-bg);
	padding: 40px 0;
}

.emb-trust__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 40px;
	text-align: center;
}

.emb-trust__label { color: var(--emb-muted); font-size: 0.9375rem; }

.emb-trust__list {
	list-style: none; margin: 0; padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 14px 38px;
}

.emb-trust__list li {
	font-weight: 700;
	color: var(--emb-dark);
	font-size: 1.0625rem;
	opacity: 0.8;
	transition: opacity var(--emb-transition);
}

.emb-trust__list li:hover { opacity: 1; }

/* =========================================================================
   Section 4 — How it works (3 steps with connector)
   ========================================================================= */
.emb-how {
	background-color: var(--emb-white);
	padding: 108px 0;
}

.emb-steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.emb-steps__line {
	position: absolute;
	top: 40px;
	left: 16%;
	right: 16%;
	height: 2px;
	background-image: linear-gradient(90deg, rgba(45, 142, 98, 0.35), rgba(76, 175, 130, 0.35));
	z-index: 0;
}

.emb-step {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 0 16px;
}

.emb-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background-color: var(--emb-dark);
	color: var(--emb-white);
	font-size: 0.9375rem;
	font-weight: 700;
	position: absolute;
	top: -6px; left: 50%;
	transform: translateX(28px);
	border: 3px solid var(--emb-white);
}

.emb-step__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 80px; height: 80px;
	border-radius: 24px;
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	color: var(--emb-white);
	margin-bottom: 24px;
	box-shadow: var(--emb-shadow-green);
	transition: transform var(--emb-transition);
}

.emb-step:hover .emb-step__icon { transform: translateY(-6px); }
.emb-step__icon svg { width: 34px; height: 34px; }

.emb-step__title { font-size: 1.375rem; margin-bottom: 10px; }
.emb-step__text { color: var(--emb-muted); max-width: 300px; margin: 0 auto; }

/* =========================================================================
   Section 5 — What you'll learn
   ========================================================================= */
.emb-learn {
	background-color: var(--emb-bg);
	padding: 108px 0;
}

.emb-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.emb-card {
	position: relative;
	display: block;
	background-image: linear-gradient(180deg, #ffffff 0%, #fbfdfc 100%);
	border: 1px solid rgba(28, 28, 30, 0.07);
	border-radius: var(--emb-radius);
	padding: 38px;
	overflow: hidden;
	transition: transform var(--emb-transition), box-shadow var(--emb-transition), border-color var(--emb-transition);
}

.emb-card::before {
	content: "";
	position: absolute;
	left: 0; top: 0;
	height: 4px; width: 100%;
	background-image: linear-gradient(90deg, var(--emb-green), var(--emb-green-light));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform var(--emb-transition);
}

.emb-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--emb-shadow-lg);
	border-color: rgba(45, 142, 98, 0.28);
}

.emb-card:hover::before { transform: scaleX(1); }

.emb-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px; height: 62px;
	border-radius: 18px;
	background-image: linear-gradient(135deg, rgba(45, 142, 98, 0.12), rgba(76, 175, 130, 0.18));
	color: var(--emb-green);
	margin-bottom: 24px;
	transition: transform var(--emb-transition);
}

.emb-card:hover .emb-card__icon { transform: scale(1.06) rotate(-4deg); }
.emb-card__icon svg { width: 29px; height: 29px; }

.emb-card__title { font-size: 1.375rem; margin-bottom: 10px; }
.emb-card__text { color: var(--emb-muted); margin-bottom: 20px; }

.emb-card__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--emb-green);
	font-weight: 600;
	font-size: 0.9375rem;
}

.emb-card__link span { transition: transform var(--emb-transition); }
.emb-card:hover .emb-card__link span { transform: translateX(5px); }

.emb-learn__more { text-align: center; margin-top: 52px; }

/* =========================================================================
   Section 6 — Why EMB Academy (editorial split, dark)
   ========================================================================= */
.emb-why {
	position: relative;
	background-image: linear-gradient(160deg, #1C1C1E 0%, #232326 100%);
	padding: 108px 0;
	overflow: hidden;
}

.emb-blob--3 {
	width: 480px; height: 480px;
	top: -160px; left: -140px;
	opacity: 0.32;
	background: radial-gradient(circle, rgba(45, 142, 98, 0.6), transparent 70%);
}

.emb-why__layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 64px;
	align-items: center;
}

.emb-why__intro .emb-section-title { margin-bottom: 22px; }

.emb-why__lead {
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.0625rem;
	margin-bottom: 30px;
	max-width: 460px;
}

.emb-why__ratingcard {
	display: flex;
	align-items: center;
	gap: 16px;
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: var(--emb-radius);
	padding: 18px 22px;
	margin-bottom: 34px;
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.emb-stars { display: inline-flex; gap: 3px; color: #F5B301; }
.emb-stars svg { width: 18px; height: 18px; }
.emb-stars--lg svg { width: 22px; height: 22px; }

.emb-why__ratingtext { color: rgba(255, 255, 255, 0.7); font-size: 0.9375rem; }
.emb-why__ratingtext strong { color: var(--emb-white); font-weight: 700; }

.emb-why__list { display: flex; flex-direction: column; gap: 14px; }

.emb-feature {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	background-color: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--emb-radius);
	padding: 24px 26px;
	transition: transform var(--emb-transition), border-color var(--emb-transition), background-color var(--emb-transition);
}

.emb-feature:hover {
	transform: translateX(6px);
	border-color: rgba(76, 175, 130, 0.5);
	background-color: rgba(255, 255, 255, 0.07);
}

.emb-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px; height: 52px;
	border-radius: 15px;
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	color: var(--emb-white);
	flex-shrink: 0;
	box-shadow: var(--emb-shadow-green);
}

.emb-feature__icon svg { width: 24px; height: 24px; }

.emb-feature__title { color: var(--emb-white); font-size: 1.1875rem; margin-bottom: 6px; }
.emb-feature__body p { color: rgba(255, 255, 255, 0.64); font-size: 0.9688rem; }

/* =========================================================================
   Section 7 — Testimonials
   ========================================================================= */
.emb-testimonials {
	background-color: var(--emb-bg);
	padding: 108px 0;
}

.emb-testimonials__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.emb-testimonial {
	position: relative;
	background-color: var(--emb-white);
	border-radius: var(--emb-radius);
	box-shadow: var(--emb-shadow);
	padding: 34px;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	overflow: hidden;
	transition: transform var(--emb-transition), box-shadow var(--emb-transition);
}

.emb-testimonial:hover { transform: translateY(-6px); box-shadow: var(--emb-shadow-lg); }

.emb-testimonial__mark {
	position: absolute;
	top: 10px; right: 26px;
	font-size: 6rem;
	line-height: 1;
	font-family: Georgia, 'Times New Roman', serif;
	color: rgba(45, 142, 98, 0.10);
	pointer-events: none;
}

.emb-testimonial__quote {
	position: relative;
	margin: 0;
	color: var(--emb-dark-2);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.emb-testimonial__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 6px;
}

.emb-testimonial__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	border-radius: 50%;
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	color: var(--emb-white);
	font-weight: 700;
	font-size: 1.0625rem;
	flex-shrink: 0;
}

.emb-testimonial__who { display: flex; flex-direction: column; gap: 2px; }
.emb-testimonial__name { font-weight: 700; color: var(--emb-dark); }
.emb-testimonial__role { color: var(--emb-green); font-size: 0.875rem; font-weight: 500; }

/* =========================================================================
   Section 8 — CTA banner
   ========================================================================= */
.emb-cta {
	position: relative;
	background-image: linear-gradient(135deg, #257a54 0%, var(--emb-green) 45%, var(--emb-green-light) 100%);
	padding: 120px 0;
	overflow: hidden;
}

.emb-cta__grid-overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
	background-size: 24px 24px;
	-webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
	mask-image: radial-gradient(70% 70% at 50% 50%, #000 30%, transparent 100%);
}

.emb-cta__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: 0.4;
	background: #ffffff;
	pointer-events: none;
}

.emb-cta__glow--1 { width: 320px; height: 320px; top: -120px; left: -60px; }
.emb-cta__glow--2 { width: 300px; height: 300px; bottom: -140px; right: -40px; }

.emb-cta__inner {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 720px;
}

.emb-cta__eyebrow {
	display: inline-block;
	color: var(--emb-white);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background-color: rgba(255, 255, 255, 0.18);
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 24px;
}

.emb-cta__title {
	color: var(--emb-white);
	font-size: clamp(2rem, 3.6vw, 2.9rem);
	line-height: 1.16;
	margin-bottom: 18px;
}

.emb-cta__subtext {
	color: rgba(255, 255, 255, 0.92);
	font-size: 1.1875rem;
	line-height: 1.6;
	margin-bottom: 38px;
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}

.emb-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

/* =========================================================================
   Section 9 — Footer
   ========================================================================= */
.emb-footer {
	background-color: var(--emb-dark);
	padding: 80px 0 0;
	color: var(--emb-footer-text);
}

.emb-footer__grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 56px;
}

.emb-footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--emb-green-light);
	margin-bottom: 18px;
}

.emb-brand__mark--footer { width: 34px; height: 34px; border-radius: 10px; }
.emb-brand__mark--footer svg { width: 18px; height: 18px; }

.emb-footer__desc { color: var(--emb-footer-text); max-width: 320px; margin-bottom: 22px; }

.emb-social { display: flex; gap: 12px; }

.emb-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.07);
	color: var(--emb-footer-text);
	transition: background-color var(--emb-transition), color var(--emb-transition), transform var(--emb-transition);
}

.emb-social__link:hover {
	background-image: linear-gradient(135deg, var(--emb-green) 0%, var(--emb-green-light) 100%);
	color: var(--emb-white);
	transform: translateY(-3px);
}

.emb-social__link svg { width: 18px; height: 18px; }

.emb-footer__heading { color: var(--emb-white); font-size: 1rem; margin-bottom: 18px; }

.emb-footer__links {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 12px;
}

.emb-footer__links a {
	color: var(--emb-footer-text);
	text-decoration: none;
	transition: color var(--emb-transition), padding-left var(--emb-transition);
}

.emb-footer__links a:hover { color: var(--emb-white); padding-left: 4px; }

.emb-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 24px 0;
	text-align: center;
	font-size: 0.9375rem;
}

.emb-footer__bottom p { color: var(--emb-footer-text); }

/* =========================================================================
   Responsive — Tablet
   ========================================================================= */
@media (max-width: 900px) {
	.emb-nav__burger { display: flex; }

	.emb-nav__menu {
		position: absolute;
		top: calc(100% + 10px); left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background-color: var(--emb-white);
		border: 1px solid rgba(28, 28, 30, 0.08);
		border-radius: 20px;
		box-shadow: var(--emb-shadow);
		padding: 12px 22px 22px;
		max-height: 0;
		overflow: hidden;
		opacity: 0;
		pointer-events: none;
		transition: max-height var(--emb-transition), opacity var(--emb-transition);
	}

	.emb-nav__checkbox:checked ~ .emb-nav__menu {
		max-height: 420px; opacity: 1; pointer-events: auto;
	}

	.emb-nav__checkbox:checked ~ .emb-nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.emb-nav__checkbox:checked ~ .emb-nav__burger span:nth-child(2) { opacity: 0; }
	.emb-nav__checkbox:checked ~ .emb-nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.emb-nav__menu { position: absolute; }
	.emb-nav__bar { position: relative; }
	.emb-nav__links { flex-direction: column; align-items: stretch; gap: 0; }
	.emb-nav__links li a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(28, 28, 30, 0.06); }
	.emb-nav__actions { margin-top: 16px; flex-direction: column; align-items: stretch; gap: 12px; }
	.emb-nav__actions .emb-btn { width: 100%; }
	.emb-nav__signin { text-align: center; padding: 10px 0; }

	.emb-hero { padding: 128px 0 92px; }

	.emb-hero__inner {
		grid-template-columns: 1fr;
		gap: 64px;
		text-align: center;
	}

	.emb-pill,
	.emb-hero__actions,
	.emb-hero__proof { justify-content: center; }

	.emb-hero__proof-text { align-items: flex-start; }
	.emb-hero__subtext { max-width: none; margin-left: auto; margin-right: auto; }

	.emb-steps { grid-template-columns: 1fr; gap: 44px; max-width: 440px; margin: 0 auto; }
	.emb-steps__line { display: none; }
	.emb-step__num { transform: translateX(52px); }

	.emb-why__layout { grid-template-columns: 1fr; gap: 44px; }
	.emb-why__lead { max-width: none; }

	.emb-testimonials__grid { grid-template-columns: 1fr; }

	.emb-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
	.emb-footer__col--brand { grid-column: 1 / -1; }
}

/* =========================================================================
   Responsive — Mobile
   ========================================================================= */
@media (max-width: 600px) {
	.emb-hero { padding-top: 116px; padding-bottom: 76px; }

	.emb-how,
	.emb-learn,
	.emb-why,
	.emb-testimonials,
	.emb-cta { padding-top: 76px; padding-bottom: 76px; }

	.emb-cards { grid-template-columns: 1fr; }

	.emb-hero__actions { flex-direction: column; align-items: stretch; }
	.emb-hero__actions .emb-btn { width: 100%; }

	.emb-hero__proof { flex-direction: column; text-align: center; gap: 12px; }
	.emb-hero__proof-text { align-items: center; }

	.emb-hero__accent { inset: 16px -14px -14px 14px; }
	.emb-hero__ring { display: none; }
	.emb-stat--top { top: 14px; right: 4px; }
	.emb-stat--bottom { bottom: 16px; left: 4px; }

	.emb-stats__grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
	.emb-stats__item:nth-child(2) { border-right: none; }
	.emb-stats__item:nth-child(1),
	.emb-stats__item:nth-child(2) { padding-bottom: 26px; border-bottom: 1px solid rgba(28,28,30,0.08); }

	.emb-cta__actions { flex-direction: column; }
	.emb-cta__actions .emb-btn { width: 100%; }

	.emb-footer__grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   TUTOR LMS — EMB Academy branding
   Gives the Tutor LMS course archive + single-course pages the charcoal +
   emerald brand feel. Scoped to .tutor-* selectors so nothing else on the
   site is affected. Fully responsive (only colours, type, radius & shadow
   are changed — Tutor's own responsive layout is preserved).
   ========================================================================= */

/* 1) Recolour Tutor's design tokens (Tutor 2.x uses CSS custom properties,
      so overriding these re-skins most of the UI in one shot). */
:root {
	--tutor-color-primary:        #2D8E62 !important;
	--tutor-color-primary-hover:  #257A54 !important;
	--tutor-color-primary-light:  rgba(45, 142, 98, 0.08) !important;
	--tutor-color-primary-rgb:    45, 142, 98 !important;
	--tutor-color-warning:        #F5B301 !important;
	--tutor-body-font-family:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	--tutor-heading-font-family:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* 2) Inter across Tutor surfaces */
.tutor-wrap,
.tutor-course-archive,
.tutor-single-course,
.tutor-dashboard,
.tutor-courses,
[class*="tutor-course-"] {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 3) Primary buttons → brand gradient pills */
.tutor-btn.tutor-btn-primary,
a.tutor-btn.tutor-btn-primary,
.tutor-btn-primary {
	background-image: linear-gradient(135deg, #2D8E62 0%, #4CAF82 100%) !important;
	border: none !important;
	border-radius: 999px !important;
	font-weight: 600 !important;
	box-shadow: 0 10px 24px rgba(45, 142, 98, 0.28) !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.tutor-btn.tutor-btn-primary:hover,
a.tutor-btn.tutor-btn-primary:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 16px 34px rgba(45, 142, 98, 0.40) !important;
	color: #fff !important;
}

.tutor-btn.tutor-btn-outline-primary,
a.tutor-btn.tutor-btn-outline-primary {
	border-radius: 999px !important;
	border-color: #2D8E62 !important;
	color: #2D8E62 !important;
	font-weight: 600 !important;
}

.tutor-btn.tutor-btn-outline-primary:hover {
	background-color: #2D8E62 !important;
	color: #fff !important;
}

/* 4) Course cards → rounded, soft shadow, hover lift */
.tutor-course-listing .tutor-course,
.tutor-courses .tutor-course,
.tutor-card {
	border-radius: 16px !important;
	overflow: hidden;
	border: 1px solid rgba(28, 28, 30, 0.08) !important;
	box-shadow: 0 12px 30px rgba(28, 28, 30, 0.06) !important;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease !important;
}

.tutor-course-listing .tutor-course:hover,
.tutor-courses .tutor-course:hover,
.tutor-card:hover {
	transform: translateY(-6px) !important;
	box-shadow: 0 24px 50px rgba(28, 28, 30, 0.14) !important;
}

/* 5) Titles */
.tutor-course-name a,
.tutor-course-name,
.tutor-card-title a {
	color: #1C1C1E !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
}

.tutor-course-name a:hover,
.tutor-card-title a:hover {
	color: #2D8E62 !important;
}

/* 6) Ratings, price, badges */
.tutor-ratings-stars i { color: #F5B301 !important; }

.tutor-course-price,
.tutor-course-price *,
.list-item-price {
	color: #2D8E62 !important;
	font-weight: 700 !important;
}

.tutor-badge-label.label-success,
.tutor-ribbon {
	background-image: linear-gradient(135deg, #2D8E62 0%, #4CAF82 100%) !important;
	color: #fff !important;
}

/* 7) Progress bars */
.tutor-progress-bar .tutor-progress-value,
.tutor-progress-bar span {
	background-color: #2D8E62 !important;
}

/* 8) Links inside Tutor content */
.tutor-wrap a:not(.tutor-btn),
.tutor-single-course a:not(.tutor-btn) {
	color: #2D8E62;
}
