/*
 * StartLearn public-site skin
 * Calm, modern, light-first marketing design inspired by the approved mockups.
 */

.startlearn-site {
	--sl-purple: #6d4aff;
	--sl-purple-dark: #5434dc;
	--sl-purple-soft: #f2efff;
	--sl-blue-soft: #eef7ff;
	--sl-ink: #10183f;
	--sl-text: #5f6783;
	--sl-border: #e8e8f5;
	--sl-surface: rgba(255,255,255,.92);
	--sl-shadow: 0 24px 70px rgba(64, 52, 135, .10);
	--sl-shadow-soft: 0 14px 40px rgba(80, 72, 145, .08);
	background: #fff;
	color: var(--sl-ink);
}

.startlearn-site .site-main { overflow: hidden; }
.startlearn-site .container { width: min(1180px, calc(100% - 48px)); }
.startlearn-site .container--narrow { width: min(820px, 100%); }
.startlearn-site a { text-underline-offset: 3px; }
.startlearn-site h1,
.startlearn-site h2,
.startlearn-site h3,
.startlearn-site h4 { color: var(--sl-ink); letter-spacing: -0.035em; }

/* Header ----------------------------------------------------- */
.startlearn-site .site-header {
	background: rgba(255,255,255,.86);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(232,232,245,.72);
	box-shadow: none;
}
.startlearn-site .site-header__inner { min-height: 76px; gap: 26px; }
.startlearn-site .site-branding { min-width: 172px; gap: 10px; align-items: center; }
.startlearn-site .site-title { font-size: 1.36rem; font-weight: 760; letter-spacing: -.04em; margin: 0; }
.startlearn-site .site-title a { color: var(--sl-purple); text-decoration: none; }
.startlearn-site .site-title::before {
	content: "✦";
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	margin-inline-end: 9px;
	border-radius: 11px;
	color: #fff;
	font-size: 16px;
	background: linear-gradient(145deg, #7e61ff, #5c3de8);
	box-shadow: 0 8px 22px rgba(109,74,255,.22);
	vertical-align: middle;
}
.startlearn-site .site-branding:has(.custom-logo-link) .site-title::before { display: none; }
.startlearn-site .site-description { display: none; }
.startlearn-site .custom-logo { max-height: 42px; width: auto; }
.startlearn-site .primary-navigation a { color: #30364f; font-size: .92rem; font-weight: 540; }
.startlearn-site .primary-navigation a:hover,
.startlearn-site .primary-navigation .current-menu-item > a { color: var(--sl-purple); }
.startlearn-site .search-toggle,
.startlearn-site .theme-toggle,
.startlearn-site .mini-cart-toggle { display: none !important; }
.startlearn-site .header-account__login-btn {
	background: transparent;
	border: 0;
	box-shadow: none;
	color: #282d45;
	padding-inline: 10px;
	font-weight: 600;
}
.startlearn-site .header-account__login-btn svg { display: none; }
.startlearn-site .header-cta {
	border-radius: 14px;
	padding: 11px 18px;
	background: linear-gradient(135deg, #7655ff, #6746e8);
	box-shadow: 0 10px 24px rgba(109,74,255,.22);
}

/* Shared atoms ----------------------------------------------- */
.sl-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border-radius: 999px;
	background: var(--sl-purple-soft);
	color: var(--sl-purple-dark);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .01em;
}
.sl-kicker--light { background: rgba(255,255,255,.14); color: #fff; }
.sl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 50px;
	padding: 0 20px;
	border-radius: 15px;
	font-weight: 700;
	font-size: .94rem;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.sl-btn:hover { transform: translateY(-2px); }
.sl-btn--primary {
	color: #fff;
	background: linear-gradient(135deg, #7958ff, #6040df);
	box-shadow: 0 14px 34px rgba(109,74,255,.26);
}
.sl-btn--primary:hover { color: #fff; box-shadow: 0 18px 40px rgba(109,74,255,.32); }
.sl-btn--ghost { color: var(--sl-ink); background: rgba(255,255,255,.82); border: 1px solid var(--sl-border); }
.sl-btn--ghost:hover { color: var(--sl-purple); border-color: #cfc7ff; }
.sl-btn--white { color: var(--sl-purple-dark); background: #fff; box-shadow: 0 12px 32px rgba(18,16,55,.18); }
.sl-icon {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	display: inline-grid;
	place-items: center;
	border-radius: 16px;
	color: var(--sl-purple);
	background: linear-gradient(145deg, #f4f0ff, #f8fbff);
	box-shadow: inset 0 0 0 1px rgba(110,74,255,.06);
}
.sl-text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--sl-purple-dark);
	font-weight: 700;
	font-size: .9rem;
	text-decoration: none;
}
.sl-section { padding: 96px 0; }
.sl-section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.sl-section-head h2 { margin: 15px 0 12px; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.08; }
.sl-section-head p { color: var(--sl-text); margin: 0; font-size: 1.02rem; line-height: 1.85; }
.sl-section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 28px; text-align: left; }
.sl-section-head--row > div { max-width: 710px; }

/* Homepage hero ---------------------------------------------- */
.sl-hero {
	position: relative;
	min-height: 710px;
	padding: 78px 0 44px;
	background:
		radial-gradient(circle at 76% 32%, rgba(202,221,255,.72), transparent 30%),
		linear-gradient(180deg, #fff 0%, #fbfcff 70%, #fff 100%);
}
.sl-sky { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sl-sky span { position: absolute; border-radius: 999px; filter: blur(1px); opacity: .62; }
.sl-sky span:nth-child(1) { width: 420px; height: 420px; right: 7%; top: 5%; background: #eef6ff; }
.sl-sky span:nth-child(2) { width: 220px; height: 220px; right: 29%; top: 38%; background: #f2efff; }
.sl-sky span:nth-child(3) { width: 200px; height: 80px; left: 8%; top: 15%; background: rgba(255,255,255,.84); box-shadow: 170px 45px 0 12px rgba(245,249,255,.8); }
.sl-hero__grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 48px; }
.sl-hero__content { position: relative; z-index: 2; padding-block: 56px; }
.sl-hero__content h1 { font-size: clamp(3.1rem, 6.5vw, 5.45rem); line-height: .99; margin: 18px 0 26px; max-width: 700px; }
.sl-hero__content h1 span { color: var(--sl-purple); }
.sl-hero__lead { max-width: 610px; color: var(--sl-text); font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.85; }
.sl-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sl-hero__note { display: flex; align-items: center; gap: 7px; margin-top: 18px; color: #747b91; font-size: .86rem; }
.sl-hero__visual { position: relative; min-height: 570px; display: flex; align-items: end; justify-content: center; }
.sl-hero__visual img {
	position: relative;
	z-index: 2;
	width: min(100%, 560px);
	max-height: 620px;
	object-fit: cover;
	object-position: center;
	border-radius: 46% 46% 18% 18% / 32% 32% 12% 12%;
	box-shadow: 0 35px 80px rgba(83,79,137,.14);
}
.sl-hero__halo { position: absolute; width: 580px; height: 430px; right: 0; bottom: 35px; border-radius: 50%; background: radial-gradient(circle, rgba(220,232,255,.95), rgba(244,240,255,.54) 52%, transparent 70%); }

/* Feature row ------------------------------------------------ */
.sl-features { margin-top: -36px; position: relative; z-index: 5; }
.sl-feature-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: rgba(255,255,255,.95);
	border: 1px solid var(--sl-border);
	border-radius: 28px;
	box-shadow: var(--sl-shadow);
	overflow: hidden;
}
.sl-feature-card { display: flex; gap: 15px; padding: 26px 24px; min-width: 0; }
.sl-feature-card + .sl-feature-card { border-left: 1px solid var(--sl-border); }
.sl-feature-card .sl-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
.sl-feature-card h2 { margin: 1px 0 7px; font-size: 1rem; letter-spacing: -.02em; }
.sl-feature-card p { margin: 0; color: var(--sl-text); font-size: .82rem; line-height: 1.65; }

/* Stats ------------------------------------------------------ */
.sl-stats { padding: 86px 0 76px; }
.sl-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.sl-stat strong { display: block; color: var(--sl-purple); font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.05em; }
.sl-stat span { display: block; margin-top: 7px; color: #7b8196; font-size: .86rem; }

/* How it works ----------------------------------------------- */
.sl-how { background: linear-gradient(180deg, #fbfaff, #fff); border-block: 1px solid #f0eff9; }
.sl-how__grid { display: grid; grid-template-columns: 1fr .84fr; gap: 62px; align-items: center; }
.sl-how__steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sl-step-card { min-height: 170px; padding: 24px; border: 1px solid var(--sl-border); border-radius: 24px; background: #fff; box-shadow: var(--sl-shadow-soft); }
.sl-step-card h3 { margin: 16px 0 7px; font-size: 1rem; }
.sl-step-card p { margin: 0; color: var(--sl-text); line-height: 1.7; font-size: .87rem; }
.sl-how__visual { position: relative; min-height: 510px; border-radius: 36px; overflow: hidden; background: #eef7ff; box-shadow: var(--sl-shadow); }
.sl-how__visual::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(255,255,255,.7)); }
.sl-how__visual img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; object-position: 62% center; }

/* Blog cards ------------------------------------------------- */
.sl-articles { background: #fff; }
.sl-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sl-post-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--sl-border); border-radius: 23px; overflow: hidden; box-shadow: 0 12px 34px rgba(82,72,138,.06); transition: transform .2s ease, box-shadow .2s ease; }
.sl-post-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(82,72,138,.11); }
.sl-post-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(145deg, #f1edff, #eff8ff); }
.sl-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.sl-post-card:hover .sl-post-card__media img { transform: scale(1.03); }
.sl-post-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--sl-purple); }
.sl-post-card__body { padding: 22px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.sl-post-meta { display: flex; gap: 12px; color: #9297aa; font-size: .75rem; }
.sl-post-card h2,
.sl-post-card h3 { margin: 11px 0 10px; font-size: 1.16rem; line-height: 1.35; }
.sl-post-card h2 a,
.sl-post-card h3 a { color: var(--sl-ink); text-decoration: none; }
.sl-post-card p { color: var(--sl-text); font-size: .86rem; line-height: 1.72; margin: 0 0 18px; }
.sl-post-card .sl-text-link { margin-top: auto; }

/* Testimonial ------------------------------------------------ */
.sl-testimonial-section { padding-top: 28px; }
.sl-testimonial {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding: 34px 38px;
	border: 1px solid #ded8ff;
	border-radius: 26px;
	background: linear-gradient(135deg, #fbfaff, #f3f0ff 62%, #eef7ff);
}
.sl-quote-mark { color: var(--sl-purple); font: 700 4rem/1 Georgia, serif; opacity: .72; }
.sl-testimonial blockquote { margin: 0; color: #343a57; font-size: 1.03rem; line-height: 1.8; }
.sl-testimonial__person { display: flex; align-items: center; gap: 11px; min-width: 210px; }
.sl-testimonial__person img,
.sl-avatar-placeholder { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #fff; color: var(--sl-purple); border: 1px solid #ddd8f7; }
.sl-testimonial__person strong,
.sl-testimonial__person span { display: block; }
.sl-testimonial__person span { color: #858aa0; font-size: .8rem; margin-top: 3px; }

/* Closing CTA ------------------------------------------------ */
.sl-closing { padding-top: 36px; }
.sl-closing__card { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 42px 48px; border-radius: 28px; color: #fff; background: linear-gradient(125deg, #5935d7, #7451f2 52%, #74a8fa); box-shadow: 0 24px 60px rgba(86,55,213,.2); }
.sl-closing__card h2 { color: #fff; margin: 12px 0 7px; font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.sl-closing__card p { color: rgba(255,255,255,.84); margin: 0; }

/* Public page heroes ----------------------------------------- */
.sl-page-hero {
	position: relative;
	padding: 90px 0 76px;
	background:
		radial-gradient(circle at 80% 32%, rgba(214,229,255,.9), transparent 32%),
		linear-gradient(180deg, #fff, #fbfbff);
	border-bottom: 1px solid #f0eff8;
}
.sl-page-hero::after { content: ""; position: absolute; width: 260px; height: 130px; right: 8%; bottom: -35px; background: radial-gradient(ellipse, rgba(177,160,255,.19), transparent 68%); filter: blur(10px); }
.sl-page-hero__inner { max-width: 820px; text-align: center; }
.sl-page-hero__inner h1,
.sl-page-hero__split h1 { margin: 16px 0 15px; font-size: clamp(2.8rem, 5.5vw, 4.6rem); line-height: 1.02; }
.sl-page-hero__inner p,
.sl-page-hero__split p { color: var(--sl-text); font-size: 1.05rem; line-height: 1.85; max-width: 680px; }
.sl-page-hero__inner p { margin-inline: auto; }
.sl-page-hero__split { display: grid; grid-template-columns: 1fr .88fr; align-items: center; gap: 58px; }
.sl-page-visual { min-height: 420px; border-radius: 32px; overflow: hidden; box-shadow: var(--sl-shadow); background: #eef7ff; }
.sl-page-visual img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.sl-page-visual--contact img { object-position: 64% center; }
.sl-page-hero--compact { padding-block: 72px 64px; }
.sl-page-hero--compact .sl-page-visual { min-height: 300px; }
.sl-page-hero--compact .sl-page-visual img { min-height: 300px; }
.sl-page-hero--blog .sl-page-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; max-width: none; text-align: left; }
.sl-page-hero__decor { width: 170px; height: 170px; display: grid; place-items: center; border-radius: 44px; color: var(--sl-purple); background: linear-gradient(145deg, #f1edff, #eff8ff); box-shadow: var(--sl-shadow-soft); transform: rotate(3deg); }

/* About / generic prose -------------------------------------- */
.sl-prose { font-size: 1.03rem; line-height: 1.9; color: #4d5570; }
.sl-prose > :first-child { margin-top: 0; }
.sl-prose h2 { margin-top: 2.1em; font-size: 1.9rem; }
.sl-prose h3 { margin-top: 1.8em; font-size: 1.35rem; }
.sl-prose a { color: var(--sl-purple-dark); }
.sl-prose blockquote { border-left: 4px solid #9f8aff; background: #faf8ff; border-radius: 0 18px 18px 0; padding: 20px 24px; }
.sl-values { padding-top: 20px; }
.sl-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sl-value-card { padding: 28px; border: 1px solid var(--sl-border); border-radius: 24px; background: #fff; box-shadow: var(--sl-shadow-soft); }
.sl-value-card h3 { margin: 17px 0 8px; font-size: 1.06rem; }
.sl-value-card p { color: var(--sl-text); line-height: 1.75; margin: 0; font-size: .89rem; }

/* Contact ---------------------------------------------------- */
.sl-contact-grid { display: grid; grid-template-columns: .82fr 1.35fr; gap: 34px; align-items: start; }
.sl-contact-details { display: grid; gap: 13px; position: sticky; top: 108px; }
.sl-contact-card { display: flex; align-items: flex-start; gap: 14px; padding: 20px; border: 1px solid var(--sl-border); border-radius: 20px; background: #fff; box-shadow: 0 8px 28px rgba(77,70,130,.055); }
.sl-contact-card .sl-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 13px; }
.sl-contact-card div > span { color: #9297a8; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.sl-contact-card a,
.sl-contact-card p { display: block; color: var(--sl-ink); margin: 5px 0 0; text-decoration: none; font-weight: 620; line-height: 1.55; }
.sl-contact-content { padding: 30px; border: 1px solid var(--sl-border); border-radius: 26px; box-shadow: var(--sl-shadow-soft); background: #fff; }
.sl-form-shell { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--sl-border); }
.sl-form-shell input:not([type="checkbox"]):not([type="radio"]),
.sl-form-shell textarea,
.sl-form-shell select { width: 100%; border: 1px solid #dedfed; border-radius: 14px; background: #fbfbfe; padding: 13px 14px; }
.sl-form-shell input[type="submit"],
.sl-form-shell button[type="submit"] { border: 0; border-radius: 14px; color: #fff; background: linear-gradient(135deg,#7655ff,#6040df); padding: 13px 20px; font-weight: 700; }

/* Blog listing / pagination --------------------------------- */
.sl-blog-page .sl-section { padding-top: 72px; }
.sl-post-grid--blog { grid-template-columns: repeat(3,1fr); }
.startlearn-site .pagination { margin-top: 44px; }
.startlearn-site .pagination .page-numbers { border-radius: 12px; }

/* Single articles -------------------------------------------- */
.startlearn-site .single-post-view { background: #fff; }
.startlearn-site .single-post-header { padding: 70px 0 38px; background: linear-gradient(180deg,#fff,#fbfbff); }
.startlearn-site .single-post-title { font-size: clamp(2.5rem,5vw,4.3rem); line-height: 1.08; }
.startlearn-site .single-post-subtitle { color: var(--sl-text); font-size: 1.08rem; }
.startlearn-site .single-post-hero img { border-radius: 28px; box-shadow: var(--sl-shadow-soft); }
.startlearn-site .single-post-content { font-size: 1.02rem; line-height: 1.9; }
.startlearn-site .single-post-content h2,
.startlearn-site .single-post-content h3 { color: var(--sl-ink); }
.startlearn-site .author-box,
.startlearn-site .related-posts,
.startlearn-site .post-navigation { border-color: var(--sl-border); border-radius: 22px; }

/* Footer ----------------------------------------------------- */
.startlearn-site .site-footer {
	margin-top: 60px;
	padding-top: 58px;
	background: linear-gradient(180deg, #fbfbff, #f6f5fc);
	border-top: 1px solid #eceaf7;
	color: #60667e;
}
.startlearn-site .site-footer a { color: #555c75; }
.startlearn-site .site-footer a:hover { color: var(--sl-purple); }
.startlearn-site .footer-bottom { border-color: #e8e6f3; }
.startlearn-site .footer-social a { border-radius: 10px; background: #fff; border: 1px solid var(--sl-border); }

/* Dark mode remains usable but intentionally understated. */
html[data-theme="dark"] .startlearn-site {
	--sl-ink: #f4f3ff;
	--sl-text: #b5b4ca;
	--sl-border: #302e46;
	--sl-surface: #171626;
	background: #12111d;
}
html[data-theme="dark"] .startlearn-site .site-header { background: rgba(18,17,29,.88); border-color: #2b2940; }
html[data-theme="dark"] .startlearn-site .primary-navigation a,
html[data-theme="dark"] .startlearn-site .header-account__login-btn { color: #e8e6f5; }
html[data-theme="dark"] .startlearn-site .sl-hero,
html[data-theme="dark"] .startlearn-site .sl-page-hero { background: linear-gradient(180deg,#12111d,#171625); }
html[data-theme="dark"] .startlearn-site .sl-feature-grid,
html[data-theme="dark"] .startlearn-site .sl-feature-card,
html[data-theme="dark"] .startlearn-site .sl-step-card,
html[data-theme="dark"] .startlearn-site .sl-post-card,
html[data-theme="dark"] .startlearn-site .sl-value-card,
html[data-theme="dark"] .startlearn-site .sl-contact-card,
html[data-theme="dark"] .startlearn-site .sl-contact-content { background: #191827; }
html[data-theme="dark"] .startlearn-site .sl-how { background: #141320; }
html[data-theme="dark"] .startlearn-site .sl-post-card h2 a,
html[data-theme="dark"] .startlearn-site .sl-post-card h3 a { color: #f4f3ff; }

/* Responsive ------------------------------------------------- */
@media (max-width: 1080px) {
	.startlearn-site .container { width: min(100% - 36px, 1080px); }
	.sl-hero { min-height: auto; padding-top: 54px; }
	.sl-hero__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.sl-hero__visual { min-height: 500px; }
	.sl-feature-grid { grid-template-columns: 1fr 1fr; }
	.sl-feature-card + .sl-feature-card { border-left: 0; }
	.sl-feature-card:nth-child(even) { border-left: 1px solid var(--sl-border); }
	.sl-feature-card:nth-child(n+3) { border-top: 1px solid var(--sl-border); }
	.sl-how__grid { gap: 34px; }
	.sl-post-grid,
	.sl-post-grid--blog { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 820px) {
	.startlearn-site .container { width: min(100% - 28px, 780px); }
	.startlearn-site .site-header__inner { min-height: 68px; }
	.startlearn-site .site-title { font-size: 1.15rem; }
	.startlearn-site .header-account { display: none; }
	.sl-section { padding: 72px 0; }
	.sl-hero { padding-top: 26px; }
	.sl-hero__grid { grid-template-columns: 1fr; text-align: center; }
	.sl-hero__content { padding-block: 34px 10px; }
	.sl-hero__content h1 { margin-inline: auto; font-size: clamp(3rem, 12vw, 4.6rem); }
	.sl-hero__lead { margin-inline: auto; }
	.sl-actions { justify-content: center; }
	.sl-hero__note { justify-content: center; }
	.sl-hero__visual { min-height: 480px; }
	.sl-hero__visual img { max-width: 480px; max-height: 520px; }
	.sl-feature-grid { margin-top: 0; }
	.sl-stat-grid { grid-template-columns: 1fr 1fr; row-gap: 34px; }
	.sl-how__grid { grid-template-columns: 1fr; }
	.sl-how__visual { order: -1; min-height: 430px; }
	.sl-how__visual img { min-height: 430px; }
	.sl-section-head--row { align-items: flex-start; flex-direction: column; }
	.sl-testimonial { grid-template-columns: auto 1fr; }
	.sl-testimonial__person { grid-column: 2; }
	.sl-closing__card { align-items: flex-start; flex-direction: column; }
	.sl-page-hero__split { grid-template-columns: 1fr; }
	.sl-page-hero__split > div:first-child { text-align: center; }
	.sl-page-hero__split p { margin-inline: auto; }
	.sl-page-visual { max-width: 620px; width: 100%; margin: 0 auto; min-height: 360px; }
	.sl-page-visual img { min-height: 360px; }
	.sl-value-grid { grid-template-columns: 1fr; }
	.sl-contact-grid { grid-template-columns: 1fr; }
	.sl-contact-details { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
	.startlearn-site .container { width: min(100% - 22px, 540px); }
	.startlearn-site .site-branding { min-width: 0; }
	.startlearn-site .site-title::before { width: 30px; height: 30px; border-radius: 9px; }
	.startlearn-site .header-cta { display: none !important; }
	.sl-hero__content h1 { font-size: clamp(2.6rem, 14vw, 3.75rem); }
	.sl-hero__visual { min-height: 395px; }
	.sl-hero__visual img { max-height: 430px; border-radius: 36% 36% 16% 16%; }
	.sl-hero__halo { width: 440px; height: 330px; right: -130px; }
	.sl-actions { flex-direction: column; }
	.sl-btn { width: 100%; }
	.sl-feature-grid { grid-template-columns: 1fr; border-radius: 22px; }
	.sl-feature-card:nth-child(even) { border-left: 0; }
	.sl-feature-card:nth-child(n+2) { border-top: 1px solid var(--sl-border); }
	.sl-stat-grid { gap: 26px 12px; }
	.sl-stat strong { font-size: 1.85rem; }
	.sl-how__steps { grid-template-columns: 1fr; }
	.sl-how__visual { min-height: 350px; border-radius: 26px; }
	.sl-how__visual img { min-height: 350px; }
	.sl-post-grid,
	.sl-post-grid--blog { grid-template-columns: 1fr; }
	.sl-testimonial { grid-template-columns: 1fr; padding: 28px 24px; }
	.sl-testimonial__person { grid-column: auto; }
	.sl-quote-mark { font-size: 3rem; }
	.sl-closing__card { padding: 32px 24px; }
	.sl-page-hero { padding: 62px 0 54px; }
	.sl-page-hero__inner h1,
	.sl-page-hero__split h1 { font-size: clamp(2.5rem, 12vw, 3.55rem); }
	.sl-page-hero--blog .sl-page-hero__inner { display: block; text-align: center; }
	.sl-page-hero__decor { margin: 28px auto 0; width: 130px; height: 130px; }
	.sl-contact-details { grid-template-columns: 1fr; }
	.sl-contact-content { padding: 22px; }
}

/* -----------------------------------------------------------
   StartLearn homepage refinement (closer to approved mockup)
   ----------------------------------------------------------- */
.sl-section-head--compact { margin-bottom: 36px; }
.sl-section-head--compact h2 { margin: 0; }

.sl-theme-visual--dark { display: none; }
html[data-theme="dark"] .sl-theme-visual--light { display: none; }
html[data-theme="dark"] .sl-theme-visual--dark { display: block; }

.sl-hero {
	padding: 82px 0 34px;
	min-height: 660px;
	background:
		radial-gradient(circle at 78% 28%, rgba(208,224,255,.74), transparent 30%),
		linear-gradient(180deg, #fff 0%, #fcfdff 66%, #fff 100%);
}
.sl-hero__grid { gap: 34px; }
.sl-hero__content h1 { max-width: 640px; }
.sl-hero__visual {
	min-height: 560px;
	align-items: flex-end;
	justify-content: center;
}
.sl-hero__visual .sl-theme-visual { position: relative; z-index: 2; width: 100%; display: flex; justify-content: center; }
.sl-hero__visual picture,
.sl-hero__visual img { display: block; }
.sl-hero__visual img {
	width: min(100%, 640px);
	max-width: 100%;
	height: auto;
	max-height: 620px;
	object-fit: contain;
	object-position: center bottom;
	border-radius: 0;
	box-shadow: none;
}
.sl-hero__halo {
	width: 560px;
	height: 390px;
	right: 18px;
	bottom: 42px;
	background: radial-gradient(circle, rgba(231,238,255,.92), rgba(244,240,255,.56) 55%, transparent 72%);
}

.sl-features { margin-top: -18px; }
.sl-feature-grid {
	border-radius: 26px;
	box-shadow: 0 22px 56px rgba(86, 74, 150, .10);
}

.sl-how {
	padding-top: 20px;
	background: linear-gradient(180deg, #fff 0%, #fcfbff 100%);
	border: 0;
}
.sl-how__stage {
	position: relative;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	align-items: start;
	gap: 18px;
}
.sl-how-card {
	position: relative;
	min-height: 208px;
	padding: 28px 22px 24px;
	text-align: center;
	border: 1px solid var(--sl-border);
	border-radius: 24px;
	background: rgba(255,255,255,.96);
	box-shadow: 0 12px 34px rgba(82,72,138,.06);
}
.sl-how-card .sl-icon { margin: 0 auto; }
.sl-how-card h3 {
	margin: 18px 0 8px;
	font-size: 1.04rem;
	line-height: 1.35;
}
.sl-how-card p {
	margin: 0;
	color: var(--sl-text);
	font-size: .88rem;
	line-height: 1.7;
}
.sl-how-card--1::after,
.sl-how-card--2::after,
.sl-how__visual-center::after,
.sl-how-card--3::after {
	content: "→";
	position: absolute;
	top: 78px;
	right: -13px;
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	color: #9f8aff;
	background: rgba(255,255,255,.8);
	font-size: 18px;
	line-height: 1;
	box-shadow: 0 8px 20px rgba(86,74,150,.08);
	z-index: 3;
}
.sl-how__visual-center {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 250px;
	padding-top: 10px;
}
.sl-how__visual-center .sl-theme-visual { width: 100%; display: flex; justify-content: center; }
.sl-how__visual-center img {
	max-width: 100%;
	width: min(100%, 300px);
	height: auto;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 12px 24px rgba(86,74,150,.08));
}
.sl-how__visual-center::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 10px;
	width: 78%;
	height: 34px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse, rgba(195,184,255,.25), transparent 70%);
	filter: blur(6px);
}

html[data-theme="dark"] .sl-hero {
	background: radial-gradient(circle at 78% 28%, rgba(57,72,118,.46), transparent 32%), linear-gradient(180deg, #12111d 0%, #171625 75%, #12111d 100%);
}
html[data-theme="dark"] .sl-feature-grid,
html[data-theme="dark"] .sl-how-card { background: rgba(25,24,39,.96); }
html[data-theme="dark"] .sl-how { background: linear-gradient(180deg, #141320, #12111d); }
html[data-theme="dark"] .sl-how-card--1::after,
html[data-theme="dark"] .sl-how-card--2::after,
html[data-theme="dark"] .sl-how__visual-center::after,
html[data-theme="dark"] .sl-how-card--3::after { background: rgba(25,24,39,.96); color: #b4a8ff; }

@media (max-width: 1080px) {
	.sl-hero__visual img { width: min(100%, 560px); }
	.sl-how__stage { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sl-how__visual-center { grid-column: 2 / span 2; order: 2; }
	.sl-how-card--1 { order: 1; }
	.sl-how-card--2 { order: 3; }
	.sl-how-card--3 { order: 4; }
	.sl-how-card--4 { order: 5; }
}

@media (max-width: 820px) {
	.sl-hero {
		padding-top: 32px;
		min-height: auto;
	}
	.sl-hero__grid { gap: 8px; }
	.sl-hero__content { padding-block: 20px 8px; }
	.sl-hero__visual {
		min-height: 0;
		margin-top: 4px;
	}
	.sl-hero__visual img { width: min(100%, 460px); max-height: none; }
	.sl-features { margin-top: 22px; }
	.sl-how { padding-top: 10px; }
	.sl-how__stage {
		grid-template-columns: 1fr 1fr;
		gap: 14px;
	}
	.sl-how__visual-center {
		grid-column: 1 / -1;
		order: 1;
		min-height: 0;
		margin-bottom: 4px;
	}
	.sl-how__visual-center img { width: min(100%, 260px); }
	.sl-how-card { min-height: 0; padding: 24px 18px; }
	.sl-how-card--1 { order: 2; }
	.sl-how-card--2 { order: 3; }
	.sl-how-card--3 { order: 4; }
	.sl-how-card--4 { order: 5; }
	.sl-how-card--1::after,
	.sl-how-card--2::after,
	.sl-how__visual-center::after,
	.sl-how-card--3::after { display: none; }
}

@media (max-width: 580px) {
	.sl-hero__visual img { width: min(100%, 390px); }
	.sl-how__stage { grid-template-columns: 1fr; }
	.sl-how__visual-center { order: 1; }
	.sl-how-card--1 { order: 2; }
	.sl-how-card--2 { order: 3; }
	.sl-how-card--3 { order: 4; }
	.sl-how-card--4 { order: 5; }
}

/* -----------------------------------------------------------
   StartLearn approved artwork — v3.1.1
   Uses the two user-approved illustrations without UI chrome.
   ----------------------------------------------------------- */
.sl-home .sl-hero__halo { display: none; }
.sl-home .sl-hero__visual {
	min-height: 585px;
	align-self: stretch;
	align-items: center;
	overflow: visible;
}
.sl-home .sl-hero__visual .sl-theme-visual,
.sl-home .sl-hero__visual picture {
	width: 100%;
	height: 100%;
}
.sl-home .sl-hero__visual .sl-theme-visual { align-items: center; }
.sl-home .sl-hero__visual img {
	width: 100%;
	height: 585px;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: 64% center;
	border-radius: 0;
	box-shadow: none;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.72) 10%, #000 24%, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.72) 10%, #000 24%, #000 100%);
}

/* Keep the approved bright outdoor scene tasteful in dark mode rather than
   swapping it for an unrelated generated asset. */
html[data-theme="dark"] .startlearn-site .sl-home .sl-hero__visual img {
	filter: brightness(.78) saturate(.88);
	opacity: .92;
}

.sl-home .sl-how__visual-center {
	min-height: 245px;
	padding: 0;
	overflow: visible;
}
.sl-home .sl-how__visual-center .sl-theme-visual,
.sl-home .sl-how__visual-center picture {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}
.sl-home .sl-how__visual-center img {
	width: min(100%, 330px);
	height: 245px;
	max-width: none;
	object-fit: contain;
	object-position: center bottom;
	filter: drop-shadow(0 16px 25px rgba(86,74,150,.08));
}
html[data-theme="dark"] .startlearn-site .sl-home .sl-how__visual-center img {
	filter: drop-shadow(0 18px 28px rgba(0,0,0,.26));
}

@media (max-width: 1080px) {
	.sl-home .sl-hero__visual { min-height: 520px; }
	.sl-home .sl-hero__visual img { height: 520px; object-position: 63% center; }
}

@media (max-width: 820px) {
	.sl-home .sl-hero__visual {
		width: min(100%, 650px);
		min-height: 440px;
		margin-inline: auto;
	}
	.sl-home .sl-hero__visual img {
		height: 440px;
		object-position: 65% center;
		-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
	}
	.sl-home .sl-how__visual-center img { width: min(100%, 300px); height: 230px; }
}

@media (max-width: 580px) {
	.sl-home .sl-hero__visual { min-height: 345px; }
	.sl-home .sl-hero__visual img {
		height: 345px;
		object-position: 67% center;
	}
	.sl-home .sl-how__visual-center img { width: min(100%, 270px); height: 210px; }
}


/* -----------------------------------------------------------
   StartLearn fix — prevent duplicate light/dark artwork render
   ----------------------------------------------------------- */
.startlearn-site .sl-home .sl-hero__visual .sl-theme-visual--dark,
.startlearn-site .sl-home .sl-how__visual-center .sl-theme-visual--dark {
	display: none !important;
}
.startlearn-site .sl-home .sl-hero__visual .sl-theme-visual--light,
.startlearn-site .sl-home .sl-how__visual-center .sl-theme-visual--light {
	display: flex;
}
html[data-theme="dark"] .startlearn-site .sl-home .sl-hero__visual .sl-theme-visual--light,
html[data-theme="dark"] .startlearn-site .sl-home .sl-how__visual-center .sl-theme-visual--light {
	display: none !important;
}
html[data-theme="dark"] .startlearn-site .sl-home .sl-hero__visual .sl-theme-visual--dark,
html[data-theme="dark"] .startlearn-site .sl-home .sl-how__visual-center .sl-theme-visual--dark {
	display: flex !important;
}
