/* ==========================================================================
   LEARN WITH — ABOUT PAGE
   Follows the "Learn With – Website UI/UX Redesign" board: deep green,
   Bricolage Grotesque headings, pill buttons. Scoped to body.lw-about-page.
   ========================================================================== */

body.lw-about-page {
	--lw-lime: #c8f135;
	--lw-lime-hover: #d9ff5a;
	--lw-lime-glow: rgba(200, 241, 53, 0.28);
	--lw-on-lime: #0a0a0a;
	background: #011f01;
}

html:has(body.lw-about-page) {
	background: #011f01;
}

/* Header + footer pick up the page palette */
.lw-about-page .lw-header,
.lw-about-page .lw-header.is-scrolled {
	background: #011f01;
	border-bottom-color: #17301f;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.lw-about-page .lw-header__panel {
	background: #011f01;
}

.lw-about-page .lw-header .lw-btn,
.lw-about-page .lw-header__login {
	border-radius: 999px;
	background-image: none;
}

.lw-about-page .lw-header__login {
	border-color: #2e5440;
}

.lw-about-page .lw-footer {
	background: #011f01;
	border-top: 1px solid #17301f;
}

.lw-about-page .lw-footer::before {
	display: none;
}

.lw-about-page .lw-footer__bottom {
	border-top-color: #17301f;
}

/* Page ------------------------------------------------------------------ */
.lw-about {
	background: #011f01;
	color: #f2f1ec;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	line-height: 1.55;
}

.lw-about__w {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}

.lw-about__section {
	padding-block: 88px;
}

.lw-about__hero {
	padding-block: 72px 88px;
}

.lw-theme .lw-about h1,
.lw-theme .lw-about h2,
.lw-theme .lw-about h3 {
	font-family: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
	color: #f2f1ec;
	letter-spacing: -0.02em;
	line-height: 1.1;
	text-wrap: balance;
}

.lw-theme .lw-about h1 {
	margin: 0 0 20px;
	font-size: clamp(2.5rem, 1.3rem + 4.4vw, 3.75rem);
	font-weight: 700;
}

.lw-theme .lw-about h2 {
	margin: 0 0 40px;
	font-size: clamp(1.875rem, 1.2rem + 2.4vw, 2.625rem);
	font-weight: 700;
}

.lw-theme .lw-about h3 {
	margin: 0 0 8px;
	font-size: 1.375rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.lw-about__eyebrow {
	margin: 0 0 12px;
	color: var(--lw-lime);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.lw-about p {
	margin: 0;
}

.lw-about__lead {
	margin: 0 0 28px;
	color: #9db3a6;
	font-size: 1.125rem;
	line-height: 1.6;
	text-wrap: pretty;
}

.lw-about__lead--narrow {
	max-width: 600px;
}

/* Hero */
.lw-about__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.lw-about__hero-grid--solo {
	grid-template-columns: minmax(0, 1fr);
}

.lw-about__photo-wrap {
	width: 100%;
	max-width: 420px;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid #1f3a2d;
	border-radius: 28px;
	background: #0e2018;
}

.lw-about .lw-about__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* Buttons */
.lw-about__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.18s ease, transform 0.18s ease;
}

.lw-about a.lw-about__btn--primary {
	background: #c8f135;
	color: #0a0a0a;
}

.lw-about a.lw-about__btn--primary:hover,
.lw-about a.lw-about__btn--primary:focus-visible {
	background: #d9ff5a;
	color: #0a0a0a;
	transform: translateY(-2px);
}

/* Reason cards */
.lw-about__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lw-about__card {
	padding: 28px;
	border: 1px solid #7e9688;
	border-radius: 20px;
	background: #011f01;
	box-sizing: border-box;
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.lw-about__card:hover {
	border-color: var(--lw-lime);
	transform: translateY(-3px);
}

.lw-about__card p {
	color: #9db3a6;
}

/* Chips */
.lw-about__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lw-about__chips li {
	padding: 8px 16px;
	border: 1px solid #1f3a2d;
	border-radius: 999px;
	color: #d3e2d8;
	font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 900px) {
	.lw-about__section {
		padding-block: 64px;
	}

	.lw-about__hero {
		padding-block: 40px 64px;
	}

	.lw-about__hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.lw-about__photo-wrap {
		max-width: 340px;
	}
}

@media (max-width: 600px) {
	.lw-about__w {
		padding-inline: 16px;
	}

	.lw-about__section {
		padding-block: 52px;
	}

	.lw-theme .lw-about h2 {
		margin-bottom: 28px;
	}

	.lw-about__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.lw-about__card {
		padding: 22px;
	}

	.lw-about__btn {
		width: 100%;
		min-height: 52px;
	}
}

@media (hover: none) {
	.lw-about__card:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lw-about__card,
	.lw-about__btn {
		transition: none;
	}
}
