/* New homepage — no legacy image assets; scoped under .tm-landing */

.tm-landing-body {
	--tm-bg: #0f172a;
	--tm-surface: #ffffff;
	--tm-surface2: #f1f5f9;
	--tm-accent: #14b8a6;
	--tm-accent2: #f97316;
	--tm-text: #0f172a;
	--tm-muted: #64748b;
	--tm-border: #e2e8f0;
	--tm-radius: 12px;
	--tm-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.tm-landing {
	font-family: "DM Sans", system-ui, sans-serif;
}

.tm-landing-body .tm-landing {
	box-sizing: border-box;
	background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
	min-height: 42vh;
	padding-bottom: 2rem;
}

.tm-landing *,
.tm-landing *::before,
.tm-landing *::after {
	box-sizing: border-box;
}

.tm-hero {
	position: relative;
	overflow: hidden;
	background: radial-gradient(ellipse 120% 80% at 70% -20%, rgba(20, 184, 166, 0.35), transparent),
		linear-gradient(135deg, var(--tm-bg) 0%, #1e293b 55%, #0f172a 100%);
	color: #f8fafc;
	/* Match .tm-site-header__inner horizontal inset so content lines up with the main menu */
	padding: clamp(2.5rem, 1vw, 5rem) clamp(1rem, 3vw, 1.5rem) clamp(3rem, 7vw, 5.5rem);
}

.tm-hero__grid {
	max-width: 1120px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 900px) {
	.tm-hero__grid {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 3rem;
	}
}

.tm-hero__visual {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

@media (min-width: 900px) {
	.tm-hero__visual {
		justify-content: flex-end;
	}
}

.tm-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tm-hero-carousel {
	position: relative;
	width: min(100%, 420px);
	aspect-ratio: 4 / 5;
	max-height: min(420px, 70vh);
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid rgba(148, 163, 184, 0.28);
	box-shadow:
		0 0 0 1px rgba(20, 184, 166, 0.12),
		0 24px 48px rgba(0, 0, 0, 0.35);
	background: #0b1220;
	outline: none;
}

.tm-hero-carousel:focus-visible {
	box-shadow:
		0 0 0 2px rgba(20, 184, 166, 0.55),
		0 24px 48px rgba(0, 0, 0, 0.35);
}

.tm-hero-carousel__viewport {
	position: absolute;
	inset: 0;
}

.tm-hero-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.55s ease, visibility 0.55s ease;
	pointer-events: none;
}

.tm-hero-carousel__slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.tm-hero-carousel__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transform: scale(1.04);
	transition: transform 6s ease;
}

.tm-hero-carousel__slide.is-active .tm-hero-carousel__img {
	transform: scale(1);
}

.tm-hero-carousel__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(15, 23, 42, 0.15) 0%,
		rgba(15, 23, 42, 0.05) 38%,
		rgba(15, 23, 42, 0.55) 62%,
		rgba(11, 18, 32, 0.92) 100%
	);
	pointer-events: none;
	z-index: 1;
}

.tm-hero-carousel__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.4rem 0.75rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f8fafc;
	background: rgba(15, 23, 42, 0.55);
	border: 1px solid rgba(248, 250, 252, 0.18);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.tm-hero-carousel__badge-dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	flex-shrink: 0;
	background: #14b8a6;
	box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25);
}

.tm-hero-carousel__badge--teal .tm-hero-carousel__badge-dot {
	background: #14b8a6;
	box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25);
}

.tm-hero-carousel__badge--orange .tm-hero-carousel__badge-dot {
	background: #f97316;
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.28);
}

.tm-hero-carousel__badge--sky .tm-hero-carousel__badge-dot {
	background: #7dd3fc;
	box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.28);
}

.tm-hero-carousel__copy {
	position: absolute;
	left: 1.15rem;
	right: 1.15rem;
	bottom: 4.25rem;
	z-index: 2;
}

.tm-hero-carousel__headline {
	margin: 0 0 0.55rem;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.25rem, 2.4vw, 1.65rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #fff;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.tm-hero-carousel__meta {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	font-size: 0.88rem;
	font-weight: 500;
	color: rgba(248, 250, 252, 0.92);
}

.tm-hero-carousel__pin {
	flex-shrink: 0;
	color: #f97316;
}

.tm-hero-carousel__chrome {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.85rem 1.1rem 1.1rem;
}

.tm-hero-carousel__dots {
	display: flex;
	align-items: center;
	gap: 0.4rem;
}

.tm-hero-carousel__dot {
	width: 0.45rem;
	height: 0.45rem;
	padding: 0;
	border: none;
	border-radius: 999px;
	background: rgba(248, 250, 252, 0.35);
	cursor: pointer;
	transition: width 0.3s ease, background 0.3s ease;
}

.tm-hero-carousel__dot.is-active {
	width: 1.35rem;
	background: #14b8a6;
}

.tm-hero-carousel__dot:focus-visible {
	outline: 2px solid #14b8a6;
	outline-offset: 2px;
}

.tm-hero-carousel__nav {
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.tm-hero-carousel__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.15rem;
	height: 2.15rem;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(248, 250, 252, 0.45);
	background: rgba(15, 23, 42, 0.25);
	color: #f8fafc;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.tm-hero-carousel__btn:hover {
	background: rgba(15, 23, 42, 0.45);
	border-color: rgba(248, 250, 252, 0.7);
}

.tm-hero-carousel__btn:active {
	transform: scale(0.96);
}

.tm-hero-carousel__btn:focus-visible {
	outline: 2px solid #14b8a6;
	outline-offset: 2px;
}

@media (max-width: 899px) {
	.tm-hero-carousel {
		width: 100%;
		max-width: 440px;
		aspect-ratio: 5 / 4;
		max-height: none;
	}

	.tm-hero-carousel__copy {
		bottom: 3.85rem;
	}

	.tm-hero-carousel__headline {
		font-size: clamp(1.15rem, 4.5vw, 1.4rem);
	}
}

.tm-kicker {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(248, 250, 252, 0.72);
	margin-bottom: 0.75rem;
	border: 1px solid rgba(248, 250, 252, 0.18);
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
}

.tm-hero h1 {
	font-family: "Fraunces", Georgia, serif;
	font-weight: 700;
	font-size: clamp(2rem, 2.5vw, 2.8rem);
	line-height: 1.12;
	margin: 0 0 1rem;
	letter-spacing: -0.02em;
}

.tm-hero__lead {
	font-size: clamp(1rem, 1.0vw, 1.0rem);
	line-height: 1.55;
	color: rgba(248, 250, 252, 0.82);
	max-width: 38ch;
	margin: 0 0 1.75rem;
}

.tm-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.tm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1.35rem;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	border-radius: 999px;
	border: none;
	cursor: pointer;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.tm-btn:active {
	transform: scale(0.98);
}

.tm-btn--primary {
	background: linear-gradient(135deg, var(--tm-accent), #0d9488);
	color: #fff;
	box-shadow: 0 8px 28px rgba(20, 184, 166, 0.35);
}

.tm-btn--primary:hover {
	background: linear-gradient(135deg, var(--tm-accent), #0d9488);
	box-shadow: 0 10px 34px rgba(20, 184, 166, 0.45);
	color: #fff;
	text-decoration: none;
}

.tm-btn--ghost {
	background: transparent;
	color: #f8fafc;
	border: 1px solid rgba(248, 250, 252, 0.35);
}

.tm-btn--ghost:hover {
	background: rgba(248, 250, 252, 0.08);
	color: #fff;
	text-decoration: none;
}

.tm-btn--accent {
	background: linear-gradient(135deg, var(--tm-accent2), #ea580c);
	color: #fff;
	box-shadow: 0 8px 28px rgba(249, 115, 22, 0.35);
}

.tm-btn--accent:hover {
	background: linear-gradient(135deg, var(--tm-accent2), #ea580c);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 10px 34px rgba(249, 115, 22, 0.45);
}

.tm-shell {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2rem);
	position: relative;
	z-index: 1;
}

.tm-shell--overlap {
	margin-top: clamp(-2.75rem, -4.5vw, -1.75rem);
	margin-bottom: 1.5rem;
}

.tm-quick-search {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem 1rem;
	align-items: end;
	padding: 1.1rem 1.15rem 1.15rem;
	background: #fff;
	border: 1px solid var(--tm-border);
	border-radius: 18px;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.14);
}

@media (min-width: 720px) {
	.tm-quick-search {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
		padding: 1rem 1.15rem 1.1rem;
		gap: 1rem 1.15rem;
	}
}

.tm-quick-search__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.tm-quick-search__field label {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
}

.tm-quick-search select {
	width: 100%;
	min-height: 44px;
	padding: 0.55rem 0.75rem;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	background: #f8fafc;
	font-family: inherit;
	font-size: 0.92rem;
	color: #0f172a;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.85rem center;
	padding-right: 2rem;
}

.tm-quick-search select:focus {
	outline: none;
	border-color: rgba(20, 184, 166, 0.55);
	box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
	background-color: #fff;
}

.tm-quick-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.65rem 1.35rem;
	border: none;
	border-radius: 999px;
	background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
	color: #fff;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(249, 115, 22, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
	white-space: nowrap;
}

.tm-quick-search__submit:hover {
	filter: brightness(1.05);
	box-shadow: 0 12px 28px rgba(249, 115, 22, 0.42);
}

.tm-quick-search__submit:active {
	transform: scale(0.98);
}

.tm-quick-search__submit-icon {
	flex-shrink: 0;
}

@media (max-width: 719px) {
	.tm-quick-search__submit {
		width: 100%;
	}
}

.tm-recent-classes {
	padding: 0.5rem 0 0.25rem;
}

.tm-recent-classes__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2rem) 1.75rem;
}

.tm-recent-classes__header {
	margin: 0 0 1.15rem;
	max-width: 42rem;
}

.tm-recent-classes__kicker {
	margin: 0 0 0.4rem;
	font-size: 0.75rem;
	font-weight: 750;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f97316;
}

.tm-recent-classes__title {
	margin: 0;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.0rem, 0.75vw, 1.0rem);
	font-weight: 500;
	line-height: 1.45;
	color: #334155;
	letter-spacing: -0.01em;
}

.tm-recent-classes__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 640px) {
	.tm-recent-classes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.tm-recent-classes__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.15rem;
	}
}

.tm-recent-card {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1.15rem 1.2rem 1rem;
	background: #fff;
	border: 1px solid var(--tm-border);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	text-decoration: none !important;
	color: inherit;
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	min-width: 0;
}

.tm-recent-card:hover {
	transform: translateY(-2px);
	border-color: rgba(20, 184, 166, 0.35);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.tm-recent-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.45rem;
}

.tm-recent-card__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 10px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #fff;
	flex-shrink: 0;
}

.tm-recent-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 0.28rem;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	background: #fff7ed;
	font-size: 0.86rem;
	font-weight: 700;
	color: #0f172a;
}

.tm-recent-card__star {
	color: #f59e0b;
	flex-shrink: 0;
}

.tm-recent-card__name {
	margin: 0;
	font-size: 1.1rem;
	font-weight: 550;
	color: #0f172a;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.tm-recent-card__subject {
	margin: 0;
	font-size: 0.9rem;
	font-weight: 650;
	color: #0d9488;
	line-height: 1.35;
}

.tm-recent-card__meta {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0.15rem 0 0;
	font-size: 0.84rem;
	font-weight: 500;
	color: #64748b;
	line-height: 1.35;
}

.tm-recent-card__pin {
	flex-shrink: 0;
	color: #f97316;
}

.tm-recent-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px dotted #cbd5e1;
	font-size: 0.88rem;
	font-weight: 600;
	color: #0f172a;
}

.tm-recent-card__arrow {
	flex-shrink: 0;
	color: #f97316;
}

.tm-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 960px) {
	.tm-layout {
		grid-template-columns: minmax(0, 1.45fr) minmax(280px, 1fr);
		align-items: start;
		gap: 2rem;
	}
}

.tm-card {
	background: var(--tm-surface);
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	border: 1px solid var(--tm-border);
	overflow: hidden;
}

.tm-card__head {
	padding: 1.25rem 1.5rem;
	border-bottom: 1px solid var(--tm-border);
	background: linear-gradient(180deg, var(--tm-surface2), var(--tm-surface));
}

.tm-card__head h2 {
	margin: 0;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.35rem;
	font-weight: 650;
	color: var(--tm-text);
}

.tm-card__head p {
	margin: 0.35rem 0 0;
	font-size: 0.88rem;
	color: var(--tm-muted);
}

.tm-card__body {
	padding: 1.35rem 1.5rem 1.5rem;
}

.tm-field-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem 1.25rem;
}

@media (min-width: 540px) {
	.tm-field-grid {
		grid-template-columns: 1fr 1fr;
	}
}

.tm-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.tm-field label {
	font-size: 0.85rem;
	font-weight: 550;
	letter-spacing: 0.02em;
	color: #2781c0;
}

.tm-field--full {
	grid-column: 1 / -1;
}

.tm-landing select,
.tm-landing input[type="text"],
.tm-landing input[type="password"] {
	width: 100%;
	min-height: 32px;
	padding: 0.45rem 0.65rem;
	border: 1px solid var(--tm-border);
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.85rem;
	background: #fff;
	color: var(--tm-text);
	height: auto;
}

.tm-landing select:focus,
.tm-landing input:focus {
	outline: 2px solid rgba(20, 184, 166, 0.45);
	outline-offset: 1px;
	border-color: var(--tm-accent);
}

.tm-submit-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
	margin-top: 0.25rem;
	padding-top: 1rem;
	border-top: 1px dashed var(--tm-border);
}

.tm-landing .tm-submit-row .button,
.tm-landing .tm-submit-row input[type="submit"] {
	min-height: 44px;
	padding: 0 1.5rem;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	background: linear-gradient(135deg, var(--tm-accent), #0d9488) !important;
	border: none !important;
	color: #fff !important;
	cursor: pointer;
}

.tm-side-stack {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.tm-login-card .tm-card__body {
	padding-top: 1rem;
	min-height: 14.5rem;
}

.tm-login-card .tm-session-panel {
	min-height: 12.75rem;
}

.tm-help-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.tm-help-list li {
	border-bottom: 1px solid var(--tm-border);
}

.tm-help-list li:last-child {
	border-bottom: none;
}

.tm-help-list a {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.85rem 0;
	color: var(--tm-text);
	font-size: 0.92rem;
	line-height: 1.45;
	text-decoration: none;
	transition: color 0.15s ease, padding-left 0.15s ease;
}

.tm-help-list a::before {
	content: "";
	width: 6px;
	height: 6px;
	margin-top: 0.45rem;
	border-radius: 50%;
	background: var(--tm-accent);
	flex-shrink: 0;
}

.tm-help-list a:hover {
	color: var(--tm-accent);
	padding-left: 4px;
	text-decoration: none;
}

.tm-help-actions {
	padding-top: 1rem;
	margin-top: 0.5rem;
	border-top: 1px dashed var(--tm-border);
}

.tm-help-actions .eng,
.tm-help-actions .sin {
	display: block;
}

.tm-help-actions .button {
	width: 100%;
	min-height: 44px;
	border-radius: 999px !important;
	font-weight: 600;
	background: linear-gradient(135deg, var(--tm-accent2), #ea580c) !important;
	border: none !important;
	color: #fff !important;
}

.tm-pill-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.tm-pill {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: rgba(20, 184, 166, 0.12);
	color: #0f766e;
	border: 1px solid rgba(20, 184, 166, 0.22);
}

.tm-features {
	max-width: 1120px;
	margin: 3rem auto 0;
	padding: 0 clamp(1.25rem, 4vw, 2rem);
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 720px) {
	.tm-features {
		grid-template-columns: repeat(3, 1fr);
		gap: 1.25rem;
	}
}

.tm-feature {
	background: var(--tm-surface);
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	padding: 1.35rem 1.4rem;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.tm-feature h3 {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-family: "Fraunces", Georgia, serif;
	color: var(--tm-text);
}

.tm-feature p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--tm-muted);
}

.tm-feature__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), rgba(249, 115, 22, 0.15));
	margin-bottom: 0.85rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.85rem;
	color: #0f766e;
}

.tm-footnote {
	text-align: center;
	padding: 2.5rem 1rem 0;
	font-size: 0.82rem;
	color: var(--tm-muted);
	max-width: 36rem;
	margin: 0 auto;
	line-height: 1.5;
}

.tm-audience {
	max-width: 1120px;
	margin: 0.1rem auto 0;
	padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.tm-audience__inner {
	background: var(--tm-surface);
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	padding: 0;
	overflow: hidden;
}

.tm-audience__header {
	margin-bottom: 1.75rem;
	max-width: 40rem;
}

.tm-audience__header h2 {
	margin: 0 0 0.5rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 650;
	color: var(--tm-text);
	line-height: 1.25;
}

.tm-audience__header p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--tm-muted);
}

.tm-audience__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

@media (min-width: 800px) {
	.tm-audience__grid {
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}
}

.tm-audience__col {
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

/* Match heading-icon backgrounds: teachers mint, students peach (lighter wash) */
.tm-audience__col:first-child {
	background: linear-gradient(160deg, #f7fffb 0%, #ecfdf5 100%);
}

.tm-audience__col:last-child {
	background: linear-gradient(160deg, #fffbf7 0%, #fff7ed 100%);
}

@media (max-width: 799px) {
	.tm-audience__col:first-child {
		border-bottom: 1px solid rgba(20, 184, 166, 0.18);
	}
}

@media (min-width: 800px) {
	.tm-audience__col:first-child {
		border-right: 1px solid rgba(20, 184, 166, 0.16);
	}
}

.tm-audience__col h3 {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0.65rem;
	margin: 0 0 1rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.2rem;
	font-weight: 650;
	color: var(--tm-text);
	padding-bottom: 0.65rem;
	border-bottom: 2px solid rgba(20, 184, 166, 0.35);
}

.tm-audience__col:last-child h3 {
	border-bottom-color: rgba(249, 115, 22, 0.35);
}

.tm-audience__heading-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 12px;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.tm-audience__heading-icon--teachers {
	background: linear-gradient(145deg, #ecfdf5, #ccfbf1);
}

.tm-audience__heading-icon--students {
	background: linear-gradient(145deg, #fff7ed, #ffedd5);
}

.tm-audience__heading-icon svg {
	width: 1.55rem;
	height: 1.55rem;
}

.tm-audience__heading-label {
	min-width: 0;
}

.tm-audience__list {
	margin: 0 0 1.35rem;
	padding: 0;
	list-style: none;
}

.tm-audience__list li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0 0 1rem;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--tm-muted);
}

.tm-audience__list li:last-child {
	padding-bottom: 0;
}

.tm-audience__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin-top: 0.1rem;
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(249, 115, 22, 0.1));
	color: #0f766e;
}

.tm-audience__col:last-child .tm-audience__icon {
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(251, 146, 60, 0.12));
	color: #c2410c;
}

.tm-audience__icon svg {
	width: 1.05rem;
	height: 1.05rem;
}

.tm-audience__text {
	min-width: 0;
	flex: 1;
}

.tm-audience__list strong {
	color: var(--tm-text);
	font-weight: 650;
}

.tm-audience__cta {
	margin: 1.25rem 0 0;
}

.tm-audience__cta .tm-btn {
	color: #fff;
	background: linear-gradient(135deg, var(--tm-accent), #0d9488);
}

.tm-audience__col:last-child .tm-audience__cta .tm-btn {
	background: linear-gradient(135deg, #f97316, #ea580c);
}

.tm-audience__cta .tm-btn:hover,
.tm-audience__cta .tm-btn:focus {
	color: #fff;
	background: linear-gradient(135deg, var(--tm-accent), #0d9488);
	text-decoration: none;
}

.tm-audience__col:last-child .tm-audience__cta .tm-btn:hover,
.tm-audience__col:last-child .tm-audience__cta .tm-btn:focus {
	background: linear-gradient(135deg, #fb923c, #f97316);
}
