@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;1,300&family=Playfair+Display:ital,wght@0,700;1,400;1,700&display=swap');

/* ── Base Tokens ─────────────────────────────────────────────── */
:root {
	--s-bg:            #2d3630;
	--s-bg-end:        #3f4d44;
	--s-bg-page:       #ffffff;
	--s-ink-hero:      #f4f7f2;
	--s-ink-main:      #2a302c;
	--s-ink-muted:     #6e7a72;
	--s-ink-sub:       #cbd5ce;
	--s-accent:        #5d8aa8;
	--s-accent-light:  #a4b4a9;
	--s-primary:       #7c9082;
	--s-border:        #e6ede8;
	--s-card-bg:       #ffffff;
	--s-section-alt:   #f8fbf9;
	--s-btn-shadow:    rgba(93,138,168,0.30);
	--s-btn-shadow-h:  rgba(93,138,168,0.45);
	--font-main:       'Nunito Sans', sans-serif;
	--font-display:    'Playfair Display', serif;
	--container-width: 680px;
}

/* ── Variant: warm_sand ──────────────────────────────────────── */
[data-theme="warm_sand"] {
	--s-bg:           #4a3f35;
	--s-bg-end:       #5c4f42;
	--s-ink-hero:     #fdf6ee;
	--s-ink-sub:      #d4c4b0;
	--s-accent:       #c4845a;
	--s-accent-light: #d4a882;
	--s-primary:      #8e735b;
	--s-border:       #ede3d8;
	--s-section-alt:  #faf5ef;
	--s-btn-shadow:   rgba(196,132,90,0.30);
	--s-btn-shadow-h: rgba(196,132,90,0.48);
}

/* ── Variant: deep_night ─────────────────────────────────────── */
[data-theme="deep_night"] {
	--s-bg:           #12131e;
	--s-bg-end:       #1c1e30;
	--s-bg-page:      #0f1019;
	--s-ink-hero:     #e8eaf8;
	--s-ink-main:     #d0d4f0;
	--s-ink-muted:    #7880b0;
	--s-ink-sub:      #9099cc;
	--s-accent:       #b8a260;
	--s-accent-light: #d4c08a;
	--s-primary:      #6870b0;
	--s-border:       rgba(180,185,240,0.12);
	--s-card-bg:      #1a1c2e;
	--s-section-alt:  #151726;
	--s-btn-shadow:   rgba(184,162,96,0.28);
	--s-btn-shadow-h: rgba(184,162,96,0.48);
}

/* ── Variant: emerald ────────────────────────────────────────── */
[data-theme="emerald"] {
	--s-bg:           #0d2118;
	--s-bg-end:       #162e22;
	--s-bg-page:      #f2faf5;
	--s-ink-hero:     #e0f5ea;
	--s-ink-main:     #1a3325;
	--s-ink-muted:    #4a7060;
	--s-ink-sub:      #8dbfaa;
	--s-accent:       #3fba88;
	--s-accent-light: #72d4ac;
	--s-primary:      #2a8c6a;
	--s-border:       rgba(63,186,136,0.18);
	--s-card-bg:      #ffffff;
	--s-section-alt:  #edf8f2;
	--s-btn-shadow:   rgba(63,186,136,0.28);
	--s-btn-shadow-h: rgba(63,186,136,0.48);
}

/* ── Variant: cherry ─────────────────────────────────────────── */
[data-theme="cherry"] {
	--s-bg:           #22101a;
	--s-bg-end:       #301525;
	--s-bg-page:      #fdf5f8;
	--s-ink-hero:     #fce8f0;
	--s-ink-main:     #2e1220;
	--s-ink-muted:    #8a4060;
	--s-ink-sub:      #c490a8;
	--s-accent:       #e05c8a;
	--s-accent-light: #f090b2;
	--s-primary:      #b03868;
	--s-border:       rgba(224,92,138,0.16);
	--s-card-bg:      #ffffff;
	--s-section-alt:  #fdf0f5;
	--s-btn-shadow:   rgba(224,92,138,0.28);
	--s-btn-shadow-h: rgba(224,92,138,0.48);
}

/* ── Variant: clean_light ────────────────────────────────────── */
[data-theme="clean_light"] {
	--s-bg:           #1a1a2e;
	--s-bg-end:       #16213e;
	--s-bg-page:      #ffffff;
	--s-ink-hero:     #ffffff;
	--s-ink-main:     #0d0d0d;
	--s-ink-muted:    #3a3a3a;
	--s-ink-sub:      #c8cfe8;
	--s-accent:       #2563eb;
	--s-accent-light: #93b4f8;
	--s-primary:      #1d4ed8;
	--s-border:       #d1d5db;
	--s-card-bg:      #ffffff;
	--s-section-alt:  #f3f4f6;
	--s-btn-shadow:   rgba(37,99,235,0.28);
	--s-btn-shadow-h: rgba(37,99,235,0.48);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
	font-family: var(--font-main);
	background: var(--s-bg-page);
	color: var(--s-ink-main);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding-left: 28px;
	padding-right: 28px;
	width: 100%;
}
[data-section] { width: 100%; }

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
	background: linear-gradient(145deg, var(--s-bg) 0%, var(--s-bg-end) 100%);
	padding-top: 36px;
	position: relative;
	overflow: hidden;
	min-height: 360px;
}

/* Atmospheric glow behind photo mock */
.hero::before {
	content: '';
	position: absolute;
	bottom: 0;
	right: 0;
	width: 260px;
	height: 320px;
	background: radial-gradient(ellipse at 80% 100%, rgba(255,255,255,0.06) 0%, transparent 70%);
	pointer-events: none;
}

/* Subtle noise grain overlay */
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
	pointer-events: none;
	opacity: 0.6;
}

.hero .container {
	display: flex;
	flex-direction: column;
	min-height: inherit;
	position: relative;
	z-index: 1;
}

/* Top bar */
.hero-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 36px;
}

.hero-badge {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.18);
	color: var(--s-ink-hero);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 100px;
	backdrop-filter: blur(4px);
}

.hero-logo {
	display: flex;
	align-items: center;
	gap: 10px;
}
.hero-logo-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	border: 1.5px solid var(--s-accent-light);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--s-accent-light);
}
.hero-logo-img { height: 40px; width: auto; max-width: 120px; display: block; object-fit: contain; }
.hero-logo-text { text-align: right; line-height: 1.25; }
.hero-logo-name {
	font-size: 12px;
	font-weight: 700;
	color: var(--s-ink-hero);
	letter-spacing: 0.5px;
}
.hero-logo-sub {
	font-size: 9px;
	color: var(--s-accent-light);
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Body split */
.hero-body {
	display: flex;
	align-items: flex-end;
	gap: 40px;
	flex: 1;
}

.hero-left {
	flex: 1;
	padding-bottom: 52px;
}

.hero-headline {
	font-family: var(--font-display);
	font-size: 36px;
	font-weight: 700;
	line-height: 1.12;
	color: var(--s-ink-hero);
	margin-bottom: 22px;
	letter-spacing: -0.3px;
}
.hero-headline em {
	font-style: italic;
	font-weight: 400;
	color: var(--s-accent-light);
}

.hero-tagline {
	font-size: 15px;
	font-weight: 300;
	color: var(--s-ink-sub);
	line-height: 1.7;
	max-width: 380px;
}
.hero-tagline strong {
	color: var(--s-ink-hero);
	font-weight: 600;
}

/* Photo card */
.hero-right {
	width: 220px;
	min-width: 220px;
	align-self: flex-end;
	position: relative;
}
.hero-photo-mock {
	width: 100%;
	height: 276px;
	background: linear-gradient(
		170deg,
		rgba(255,255,255,0.04) 0%,
		rgba(255,255,255,0.10) 50%,
		rgba(255,255,255,0.18) 100%
	);
	border-radius: 20px 20px 0 0;
	border: 1px solid rgba(255,255,255,0.12);
	border-bottom: none;
	overflow: hidden;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
}

/* When a real photo is set, suppress the placeholder gradient */
.hero-photo-mock.has-photo {
	background-color: transparent;
}
/* Stronger scrim over photo so name/cred stay legible */
.hero-photo-mock.has-photo::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.65) 100%);
	pointer-events: none;
}

/* Inner shimmer stripe */
.hero-photo-mock::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
}

.photo-label {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 16px 20px;
	width: 100%;
}
.photo-label::before {
	content: '';
	position: absolute;
	inset: -40px 0 0 0;
	background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.35));
	pointer-events: none;
}
.photo-name {
	font-size: 13px;
	font-weight: 700;
	color: var(--s-ink-hero);
	position: relative;
}
.photo-cred {
	font-size: 10px;
	color: var(--s-accent-light);
	margin-top: 4px;
	letter-spacing: 0.3px;
	position: relative;
}

/* ── Lessons Section ─────────────────────────────────────────── */
.lessons-section {
	padding: 60px 0;
	background: var(--s-bg-page);
}

.kicker {
	font-family: var(--font-display);
	font-size: 17px;
	font-style: italic;
	font-weight: 400;
	color: var(--s-ink-muted);
	text-align: center;
	line-height: 1.65;
	margin-bottom: 16px;
}

.tg-link {
	display: block;
	text-align: center;
	font-size: 14px;
	color: var(--s-accent);
	font-weight: 600;
	text-decoration: none;
	margin-bottom: 36px;
	letter-spacing: 0.2px;
}
.tg-link:hover { text-decoration: underline; }

.btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	background: var(--s-accent);
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	padding: 20px 24px;
	border-radius: 14px;
	border: none;
	text-decoration: none;
	margin-bottom: 52px;
	box-shadow: 0 6px 20px var(--s-btn-shadow);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
}
.btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px var(--s-btn-shadow-h);
}

.section-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--s-primary);
	margin-bottom: 28px;
	display: block;
}

.lesson-list { list-style: none; position: relative; }

.lesson {
	display: flex;
	gap: 20px;
	margin-bottom: 44px;
	position: relative;
}
.lesson:not(:last-child)::after {
	content: '';
	position: absolute;
	left: 20px;
	top: 40px;
	bottom: -34px;
	width: 1px;
	background: var(--s-border);
}

.lesson-num-circle {
	width: 40px;
	height: 40px;
	min-width: 40px;
	border-radius: 50%;
	background: var(--s-section-alt);
	border: 1.5px solid var(--s-border);
	color: var(--s-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 700;
	z-index: 2;
	flex-shrink: 0;
}

.lesson-h {
	font-size: 18px;
	font-weight: 700;
	color: var(--s-ink-main);
	margin-bottom: 8px;
	line-height: 1.4;
}
.lesson-p {
	font-size: 14px;
	font-weight: 300;
	color: var(--s-ink-muted);
	line-height: 1.75;
}

/* ── Testimonials ────────────────────────────────────────────── */
.testimonials-section {
	padding: 68px 0;
	background: var(--s-section-alt);
}

.testimonials-grid { list-style: none; }

.testimonial-card {
	background: var(--s-card-bg);
	padding: 32px;
	border-radius: 18px;
	margin-bottom: 20px;
	border: 1px solid var(--s-border);
	box-shadow: 0 4px 16px rgba(0,0,0,0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.testi-quote {
	font-family: var(--font-display);
	font-size: 16px;
	font-style: italic;
	line-height: 1.85;
	color: var(--s-ink-main);
	margin-bottom: 22px;
	position: relative;
	padding-left: 20px;
}
.testi-quote::before {
	content: '"';
	font-size: 52px;
	line-height: 1;
	color: var(--s-accent);
	position: absolute;
	left: -8px;
	top: -6px;
	opacity: 0.2;
	font-style: normal;
}

.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--s-section-alt);
	border: 1px solid var(--s-border);
	overflow: hidden;
	flex-shrink: 0;
}
.testi-info-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--s-ink-main);
}
.testi-info-sub {
	font-size: 12px;
	color: var(--s-ink-muted);
	margin-top: 2px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.footer-section {
	background: var(--s-bg-page);
	border-top: 1px solid var(--s-border);
	padding: 52px 0 40px;
}

.micro {
	text-align: center;
	font-size: 13px;
	color: var(--s-ink-muted);
	line-height: 1.8;
}

.legal-notice {
	max-width: 520px;
	margin: 22px auto 0;
	text-align: center;
	font-size: 10px;
	color: var(--s-accent-light);
	line-height: 1.65;
	opacity: 0.7;
}

/* ── Utilities ───────────────────────────────────────────────── */
input, textarea { display: none; }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 600px) {
	.hero-body {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.hero-left { padding-bottom: 0; }
	.hero-tagline { max-width: 100%; }
	.hero-right {
		width: 100%;
		max-width: 280px;
	}
	.hero-headline { font-size: 28px; }
	.hero-logo { display: none; }
	.hero-top { justify-content: center; }
}
