/* Singapore (.sg) homepage — header: desktop brand | toolbar | sign up + log in; mobile two-row bar */

.akm-sg-header.akm-home-variant-shell__header {
	background: transparent;
	border-bottom: none;
}

.akm-sg-header__inner {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem 1.5rem;
	width: 100%;
	box-sizing: border-box;
}

.akm-sg-header__col--brand {
	grid-column: 1;
	justify-self: start;
	min-width: 0;
}

.akm-sg-header__toolbar {
	grid-column: 2;
	justify-self: end;
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem 0.75rem;
	min-width: 0;
}

.akm-sg-header__masterclass-btn {
	appearance: none;
	margin: 0;
	font: inherit;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
	border: 1px solid rgba(25, 56, 82, 0.35);
	color: #193852;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	background: transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.akm-sg-header__masterclass-btn:hover,
.akm-sg-header__masterclass-btn:focus-visible {
	background: rgba(25, 56, 82, 0.06);
	border-color: rgba(25, 56, 82, 0.55);
	outline: none;
}

.akm-sg-header__country {
	position: relative;
}

.akm-sg-header__country > summary {
	list-style: none;
	cursor: pointer;
}

.akm-sg-header__country > summary::-webkit-details-marker {
	display: none;
}

.akm-sg-header__country-summary {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.65rem;
	border-radius: 8px;
	border: 1px solid rgba(25, 56, 82, 0.35);
	color: #193852;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	user-select: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.akm-sg-header__country-summary:hover,
.akm-sg-header__country-summary:focus-visible {
	background: rgba(25, 56, 82, 0.06);
	border-color: rgba(25, 56, 82, 0.55);
	outline: none;
}

.akm-sg-header__country[open] .akm-sg-header__country-summary {
	background: rgba(25, 56, 82, 0.08);
	border-color: #193852;
}

.akm-sg-header__country-current {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.akm-sg-header__flag {
	display: block;
	width: 20px;
	height: auto;
	flex-shrink: 0;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.akm-sg-header__country-chevron {
	display: inline-block;
	width: 0;
	height: 0;
	margin-left: 0.15rem;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid rgba(25, 56, 82, 0.85);
	transition: transform 0.15s ease;
}

.akm-sg-header__country[open] .akm-sg-header__country-chevron {
	transform: rotate(180deg);
}

.akm-sg-header__country-panel {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 11.5rem;
	padding: 0.35rem;
	margin: 0;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	border: 1px solid rgba(25, 56, 82, 0.12);
	z-index: 100;
}

.akm-sg-header__country-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.55rem 0.65rem;
	border-radius: 8px;
	text-decoration: none;
	color: #193852;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	transition: background 0.12s ease;
}

.akm-sg-header__country-item:hover,
.akm-sg-header__country-item:focus-visible {
	background: rgba(25, 56, 82, 0.08);
	color: #193852;
	text-decoration: none;
	outline: none;
}

.akm-sg-header__country-item--active {
	background: rgba(25, 56, 82, 0.1);
}

.akm-sg-header__col--end {
	grid-column: 3;
	justify-self: end;
	min-width: 0;
}

.akm-sg-header__end-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem 0.65rem;
}

.akm-sg-header__mobile-menu {
	display: none;
}

.akm-sg-header__mobile-menu-details > summary {
	list-style: none;
	cursor: pointer;
}

.akm-sg-header__mobile-menu-details > summary::-webkit-details-marker {
	display: none;
}

.akm-sg-header__mobile-menu-summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: 0.35rem 0.45rem;
	border: 0;
	border-radius: 0;
	color: #fff;
	background: transparent;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	user-select: none;
	transition: background 0.15s ease;
	box-shadow: none;
}

.akm-sg-header__mobile-menu-summary:hover,
.akm-sg-header__mobile-menu-summary:focus-visible {
	background: rgba(255, 255, 255, 0.1);
	outline: none;
}

.akm-sg-header__mobile-menu-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.akm-sg-header__mobile-menu-icon {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.26rem;
	width: 1rem;
}

.akm-sg-header__mobile-menu-icon > span {
	display: block;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: #fff;
}

.akm-sg-header__mobile-menu-panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: min(18rem, 86vw);
	padding: 0.45rem;
	background: #fff;
	border-radius: 10px;
	border: 1px solid rgba(25, 56, 82, 0.12);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	z-index: 120;
}

.akm-sg-header__mobile-menu-item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.62rem 0.7rem;
	border-radius: 8px;
	border: 0;
	background: transparent;
	color: #193852;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
}

.akm-sg-header__mobile-menu-item:hover,
.akm-sg-header__mobile-menu-item:focus-visible {
	background: rgba(25, 56, 82, 0.08);
	color: #193852;
	outline: none;
	text-decoration: none;
}

.akm-sg-header__mobile-menu-item--button {
	font: inherit;
}

.akm-sg-header__mobile-menu-divider {
	height: 1px;
	margin: 0.3rem 0.35rem;
	background: rgba(25, 56, 82, 0.18);
}

.akm-sg-header__mobile-menu-item--country-active {
	background: rgba(25, 56, 82, 0.08);
}

.akm-sg-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: #193852;
	font-weight: 700;
	font-size: 1.2rem;
	letter-spacing: -0.02em;
	line-height: 1.2;
	max-width: 100%;
	min-width: 0;
}

.akm-sg-header__brand-text {
	display: block;
	line-height: 1.2;
}

.akm-sg-header__brand-mark {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.akm-sg-header__logo-img {
	display: block;
	max-height: 55px;
	width: auto;
	max-width: min(200px, 47.5vw);
	object-fit: contain;
	object-position: left center;
}

.akm-sg-header__brand:hover,
.akm-sg-header__brand:focus-visible {
	color: #0f2436;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.akm-sg-header__signup-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.15rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #fff;
	background: #f5a925;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid #f5a925;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.akm-sg-header__signup-btn:hover,
.akm-sg-header__signup-btn:focus-visible {
	background: #e09412;
	border-color: #e09412;
	color: #fff;
	text-decoration: none;
}

.akm-sg-header__login-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem 1.15rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #f8fafc;
	background: #193852;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid #152a3d;
	white-space: nowrap;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.akm-sg-header__login-btn:hover,
.akm-sg-header__login-btn:focus-visible {
	background: #0f2436;
	border-color: #0c1d2b;
	color: #f8fafc;
	text-decoration: none;
}

/* Desktop: 3 columns — brand | masterclass + country | sign up + log in; hide mobile drawer chrome. */
@media (min-width: 768px) {
	body.akm-home-variant--sg .akm-home-variant-shell__header.akm-sg-header {
		background: #fff;
		border-bottom: 1px solid #e8e8e8;
	}

	body.akm-home-variant--sg .akm-home-variant-shell__header-inner.akm-sg-header__inner {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		justify-content: start;
		justify-items: stretch;
		flex-wrap: unset;
		width: 100%;
		max-width: 1200px;
		margin-inline: auto;
		padding: 0.5rem 0.625rem;
		box-sizing: border-box;
		gap: 1rem 1.5rem;
	}

	body.akm-home-variant--sg .akm-sg-header__logo-img {
		max-height: calc(55px * 1.3);
		max-width: min(calc(200px * 1.3), 61.75vw);
	}

	body.akm-home-variant--sg .akm-sg-header__col--brand {
		grid-column: 1;
		justify-self: start;
	}

	body.akm-home-variant--sg .akm-sg-header__toolbar {
		display: inline-flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: flex-end;
		grid-column: 2;
		justify-self: end;
		min-width: 0;
	}

	body.akm-home-variant--sg .akm-sg-header__col--end {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		grid-column: 3;
		justify-self: end;
		gap: 0.65rem;
		min-width: 0;
		width: auto;
		position: static;
	}

	body.akm-home-variant--sg .akm-sg-header__mobile-menu {
		display: none !important;
	}

	body.akm-home-variant--sg .akm-sg-header__end-actions {
		display: flex !important;
	}
}

@media (max-width: 767px) {
	.akm-sg-header.akm-home-variant-shell__header {
		background: #193852;
	}

	.akm-sg-header__inner {
		position: relative;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto;
		justify-items: stretch;
		align-items: center;
		gap: 0.45rem 0.75rem;
		padding-top: max(0.45rem, env(safe-area-inset-top, 0px));
		padding-bottom: 0.45rem;
		padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
		padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
	}

	.akm-sg-header__col--brand {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		align-self: center;
	}

	.akm-sg-header__brand {
		color: #fff;
	}

	.akm-sg-header__brand:hover,
	.akm-sg-header__brand:focus-visible {
		color: #fff;
	}

	.akm-sg-header__brand-text {
		color: #fff;
	}

	.akm-sg-header__col--end {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
		position: static;
		width: auto;
		display: flex;
		justify-content: flex-end;
	}

	.akm-sg-header__toolbar,
	.akm-sg-header__end-actions {
		display: none;
	}

	.akm-sg-header__mobile-menu {
		display: block;
	}

	.akm-sg-header__mobile-menu-panel {
		/* Anchor to full-width .akm-sg-header__inner, not the narrow menu column */
		left: 50%;
		right: auto;
		transform: translateX(-50%);
		top: calc(100% + 0.55rem);
		width: 100vw;
		min-width: 100vw;
		max-width: 100vw;
		margin-left: 0;
		padding: 0.55rem max(1rem, env(safe-area-inset-left, 0px)) 0.55rem max(1rem, env(safe-area-inset-right, 0px));
		border-radius: 0;
		border: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.18);
		background: #193852;
		box-shadow: none;
		box-sizing: border-box;
	}

	.akm-sg-header__mobile-menu-item {
		color: #fff;
	}

	.akm-sg-header__mobile-menu-item:hover,
	.akm-sg-header__mobile-menu-item:focus-visible {
		background: rgba(255, 255, 255, 0.1);
		color: #fff;
	}

	.akm-sg-header__mobile-menu-divider {
		background: rgba(255, 255, 255, 0.22);
	}

	.akm-sg-header__mobile-menu-item--country-active {
		background: rgba(255, 255, 255, 0.12);
	}

	/* ~44px minimum touch targets */
	.akm-sg-header__mobile-menu-summary,
	.akm-sg-header__mobile-menu-item {
		min-height: 2.75rem;
		box-sizing: border-box;
	}

	.akm-sg-header__logo-img {
		max-height: 50px;
		max-width: min(187.5px, 65vw);
	}
}

/* Mobile (e.g. 360px): full-bleed header bar + keep hero title inside main padding (no horizontal spill). */
@media (max-width: 767px) {
	body.akm-home-variant--sg .akm-home-variant-shell {
		max-width: 100%;
		overflow-x: clip;
	}

	body.akm-home-variant--sg .akm-home-variant-shell__header {
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
		border-bottom: none;
		box-sizing: border-box;
	}

	body.akm-home-variant--sg .akm-home-variant-shell__header-inner.akm-sg-header__inner {
		max-width: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		box-sizing: border-box;
	}

	.akm-sg-main__hero-banner-grid {
		min-width: 0;
		max-width: 100%;
	}
}

/* Main: stack rows in .akm-home-variant-shell__main-inner (add siblings below .akm-sg-main__hero-split). */

.akm-home-variant-shell__main-inner {
	--akm-sg-section-gap: clamp(3.25rem, 6.5vw, 5.25rem);
}

/* Hero: one chapter at a time in viewport + sticky chapter nav */

.akm-sg-main__hero-banner {
	margin: 0 auto 1.4rem;
	width: 100%;
	max-width: none;
	display: flex;
	justify-content: center;
}

.akm-sg-main__hero-banner-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: min(56rem, 100%);
	margin-inline: auto;
}

.akm-sg-main__hero-banner-grid--text-only {
	max-width: min(42rem, 100%);
}

.akm-sg-main__hero-banner-media:not(.akm-sg-main__hero-banner-media--populated) {
	display: none;
}

.akm-sg-main__hero-banner-media.akm-sg-main__hero-banner-media--populated {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.akm-sg-main__hero-banner-media-frame {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}

.akm-sg-main__hero-banner-media-link {
	display: block;
	line-height: 0;
}

.akm-sg-main__hero-banner-media-link:focus-visible {
	outline: 2px solid #f59e0b;
	outline-offset: 3px;
	border-radius: 6px;
}

.akm-sg-main__hero-banner-media-img {
	display: block;
	max-width: 100%;
	width: auto;
	height: auto;
	max-height: clamp(6.5rem, 22vw, 13rem);
	object-fit: contain;
}

.akm-sg-main__hero-banner-main {
	min-width: 0;
	width: max-content;
	padding-inline: 0.4rem;
	text-align: left;
}

@media (max-width: 767px) {
	.akm-sg-main__hero-banner-main {
		order: 1;
	}

	.akm-sg-main__hero-banner-media--left {
		order: 2;
	}

	.akm-sg-main__hero-banner-media--left.akm-sg-main__hero-banner-media--populated {
		margin-top: clamp(0.9rem, 3.5vw, 1.35rem);
	}
}

@media (min-width: 768px) {
	.akm-sg-main__hero-banner-grid:not(.akm-sg-main__hero-banner-grid--text-only) {
		width: fit-content;
		max-width: min(56rem, 100%);
		grid-template-columns: auto max-content;
		justify-content: center;
		column-gap: clamp(0.5rem, 2vw, 1.25rem);
		row-gap: 0;
	}

	.akm-sg-main__hero-banner-media--left.akm-sg-main__hero-banner-media--populated {
		justify-content: flex-end;
	}

	.akm-sg-main__hero-banner-media-img {
		max-height: clamp(7rem, 14vw, 15rem);
	}
}

.akm-sg-main__hero-banner-eyebrow {
	margin: 0 0 0.5rem;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #f59e0b;
}

.akm-sg-main__hero-banner-title-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	width: max-content;
}

.akm-sg-main__hero-banner-title {
	margin: 0;
	font-size: clamp(2rem, 4.8vw, 3.6rem);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1.02;
	color: #193852;
}

.akm-sg-main__hero-banner-title--continuation {
	margin-top: 0.12em;
	width: 100%;
}

/* Must follow base `.hero-banner-main` / `.title-stack` rules so mobile width is not overwritten by `max-content`. */
@media (max-width: 767px) {
	body.akm-home-variant--sg .akm-sg-main__hero-banner-main {
		width: 100%;
		text-align: center;
	}

	body.akm-home-variant--sg .akm-sg-main__hero-banner-title-stack {
		width: 100%;
		align-items: center;
		box-sizing: border-box;
	}

	body.akm-home-variant--sg .akm-sg-main__hero-banner-title,
	body.akm-home-variant--sg .akm-sg-main__hero-banner-title--continuation {
		display: block;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
		white-space: normal;
		overflow-wrap: anywhere;
		word-break: break-word;
		hyphens: auto;
	}
}

.akm-sg-main__hero-banner-slogan {
	margin: 0.9rem 0 0;
	max-width: 100%;
	font-size: 1.2rem;
	line-height: 1.6;
	color: #0d8b49;
	font-weight: bold;
}

.akm-sg-main__hero-subject-picks {
	margin: 0 auto 0.85rem;
}

.akm-sg-main__hero-subject-picks-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.akm-sg-main__hero-subject-picks-widget {
	padding: 0.55rem 0.6rem;
}

.akm-sg-main__hero-subject-picks-details {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.akm-sg-main__hero-subject-picks-summary {
	list-style: none;
	cursor: pointer;
	width: 100%;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1rem;
	border: 1px solid rgba(25, 56, 82, 0.28);
	border-radius: 14px;
	background: #fff;
	color: #193852;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.25;
	user-select: none;
}

.akm-sg-main__hero-subject-picks-summary::-webkit-details-marker {
	display: none;
}

.akm-sg-main__hero-subject-picks-summary::after {
	content: "";
	width: 0.45em;
	height: 0.45em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	margin-top: -0.2em;
	transition: transform 0.2s ease, margin-top 0.2s ease;
	flex-shrink: 0;
}

.akm-sg-main__hero-subject-picks-details[open] .akm-sg-main__hero-subject-picks-summary::after {
	transform: rotate(225deg);
	margin-top: 0.12em;
}

.akm-sg-main__hero-subject-picks-summary:hover {
	background: rgba(25, 56, 82, 0.05);
}

.akm-sg-main__hero-subject-picks-summary:focus {
	outline: none;
}

.akm-sg-main__hero-subject-picks-summary:focus-visible {
	box-shadow: 0 0 0 3px rgba(25, 56, 82, 0.28);
}

.akm-sg-main__hero-subject-picks-row-heading {
	display: none;
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
	color: #193852;
	width: 100%;
	box-sizing: border-box;
}

.akm-sg-main__hero-subject-picks-row-heading-flag {
	display: block;
	width: 20px;
	height: auto;
	flex-shrink: 0;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.akm-sg-main__hero-subject-picks-row {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0.65rem;
	width: 100%;
	margin-top: 0.55rem;
	box-sizing: border-box;
}

.akm-sg-main__hero-subject-pick-btn {
	appearance: none;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	border: 1px solid rgba(25, 56, 82, 0.24);
	background: #fff;
	color: #193852;
	border-radius: 16px;
	padding: 0.65rem 0.95rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	cursor: default;
	width: 100%;
	max-width: none;
	min-width: 0;
	box-sizing: border-box;
}

a.akm-sg-main__hero-subject-pick-btn {
	text-decoration: none;
	cursor: pointer;
}

a.akm-sg-main__hero-subject-pick-btn:not(.akm-sg-main__hero-subject-pick-btn--school) {
	color: inherit;
}

.akm-sg-main__hero-subject-pick-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.12rem;
	width: 100%;
}

.akm-sg-main__hero-subject-pick-line {
	display: block;
	width: 100%;
}

.akm-sg-main__hero-subject-pick-line--title {
	font-size: 1.02rem;
	font-weight: 700;
	line-height: 1.2;
}

.akm-sg-main__hero-subject-pick-line--tier {
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.25;
	opacity: 0.96;
}

.akm-sg-main__hero-subject-pick-line--meta {
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.25;
	opacity: 0.9;
}

.akm-sg-main__hero-subject-pick-btn--school {
	background: #fff;
	color: #193852;
	font-weight: 700;
	border: 1px solid rgba(25, 56, 82, 0.14);
	border-right: 2px solid #b8c2cc;
	border-bottom: 2px solid #a8b3be;
	border-radius: 14px;
	box-shadow:
		0 4px 0 #d4dae1,
		0 6px 14px rgba(25, 56, 82, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 1);
}

a.akm-sg-main__hero-subject-pick-btn--school,
.akm-sg-main__hero-subject-pick-btn--school .akm-sg-main__hero-subject-pick-stack,
.akm-sg-main__hero-subject-pick-btn--school .akm-sg-main__hero-subject-pick-line {
	color: #193852;
}

a.akm-sg-main__hero-subject-pick-btn--school:hover {
	background: #f8fafc;
	color: #193852;
	text-decoration: none;
	border-color: rgba(25, 56, 82, 0.18);
	border-right-color: #aab5c0;
	border-bottom-color: #98a4b0;
	box-shadow:
		0 3px 0 #c9d1d9,
		0 7px 18px rgba(25, 56, 82, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 1);
	transform: translateY(1px);
}

a.akm-sg-main__hero-subject-pick-btn--school:focus-visible {
	background: #fff;
	color: #193852;
	text-decoration: none;
	outline: none;
	border-color: rgba(25, 56, 82, 0.14);
	border-right-color: #b8c2cc;
	border-bottom-color: #a8b3be;
	box-shadow:
		0 4px 0 #d4dae1,
		0 6px 14px rgba(25, 56, 82, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 1),
		0 0 0 3px rgba(245, 169, 37, 0.45);
}

.akm-sg-main__hero-subject-pick-btn--disabled.akm-sg-main__hero-subject-pick-btn--school,
.akm-sg-main__hero-subject-pick-btn--disabled.akm-sg-main__hero-subject-pick-btn--school:disabled {
	opacity: 0.72;
	filter: grayscale(0.08);
	cursor: not-allowed;
	background: #f8fafc;
	color: #193852;
	border: 1px solid rgba(25, 56, 82, 0.12);
	border-right: 2px solid #c5ccd4;
	border-bottom: 2px solid #b5bdc6;
	box-shadow:
		0 2px 0 #dde2e8,
		inset 0 1px 0 rgba(255, 255, 255, 0.6);
	transform: none;
}

@media (min-width: 768px) {
	.akm-sg-main__hero-subject-picks-summary {
		display: none !important;
	}

	.akm-sg-main__hero-subject-picks-row-heading {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		margin-bottom: 0.5rem;
	}

	.akm-sg-main__hero-subject-picks-row {
		margin-top: 0;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: stretch;
	}

	.akm-sg-main__hero-subject-pick-btn {
		width: auto;
		flex: 0 1 auto;
		min-width: 7.75rem;
		max-width: 12rem;
	}
}

.akm-sg-main__hero-split {
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
	margin-bottom: var(--akm-sg-section-gap);
}

.akm-sg-main__hero-chapters-main {
	min-width: 0;
	min-height: 0;
	order: 1;
	display: flex;
	flex-direction: column;
	align-self: stretch;
}

.akm-sg-main__hero-chapters-viewport {
	position: relative;
	overflow: hidden;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: min(52vh, 20rem);
	border-radius: 12px;
	border: 1px solid rgba(25, 56, 82, 0.1);
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
	box-shadow: 0 4px 24px rgba(25, 56, 82, 0.08);
}

.akm-sg-main__hero-chapters-viewport:focus-visible {
	outline: 2px solid #f5a925;
	outline-offset: 2px;
}

.akm-sg-main__hero-chapter {
	margin: 0;
	box-sizing: border-box;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 0;
	padding: 1.25rem 1.25rem 5.25rem;
}

.akm-sg-main__hero-chapter-disclosure {
	margin: 0;
	width: 100%;
	border: 0;
	padding: 0;
	box-sizing: border-box;
}

.akm-sg-main__hero-chapter-summary {
	list-style: none;
	cursor: pointer;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 1rem 1.15rem;
	text-align: left;
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid rgba(25, 56, 82, 0.1);
	user-select: none;
}

.akm-sg-main__hero-chapter-summary::-webkit-details-marker {
	display: none;
}

.akm-sg-main__hero-chapter-summary::after {
	content: "";
	width: 0.55em;
	height: 0.55em;
	border-right: 2px solid #193852;
	border-bottom: 2px solid #193852;
	transform: rotate(45deg);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.akm-sg-main__hero-chapter-disclosure[open] .akm-sg-main__hero-chapter-summary::after {
	transform: rotate(225deg);
}

.akm-sg-main__hero-chapter-summary:hover {
	background: #fff;
}

.akm-sg-main__hero-chapter-summary:focus {
	outline: none;
}

.akm-sg-main__hero-chapter-summary:focus-visible {
	box-shadow: inset 0 0 0 2px #f5a925;
}

.akm-sg-main__hero-chapter-summary-eyebrow {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #f59e0b;
	line-height: 1.2;
}

.akm-sg-main__hero-chapter-summary-title {
	display: block;
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.2;
	color: #193852;
	letter-spacing: -0.02em;
}

@media (max-width: 767px) {
	.akm-sg-main__hero-chapters-viewport {
		overflow: visible;
		min-height: 0 !important;
		gap: 0.65rem;
		padding-bottom: 0.35rem;
		border-radius: 0;
		border: 0;
		background: transparent;
		box-shadow: none;
	}

	.akm-sg-main__hero-chapter {
		flex: 0 0 auto;
		padding: 0;
		border-radius: 12px;
		border: 1px solid rgba(25, 56, 82, 0.1);
		background: #fff;
		overflow: hidden;
		box-shadow: 0 2px 12px rgba(25, 56, 82, 0.06);
	}

	.akm-sg-main__hero-chapter-disclosure[open] .akm-sg-main__hero-chapter-eyebrow,
	.akm-sg-main__hero-chapter-disclosure[open] .akm-sg-main__hero-chapter-title {
		position: absolute !important;
		width: 1px !important;
		height: 1px !important;
		padding: 0 !important;
		margin: -1px !important;
		overflow: hidden !important;
		clip: rect(0, 0, 0, 0) !important;
		white-space: nowrap !important;
		border: 0 !important;
	}

	.akm-sg-main__hero-chapter-inner {
		padding: 0 1.15rem 1.15rem;
	}

	.akm-sg-main__hero-chapters-progress {
		display: none !important;
	}

	.akm-sg-main__hero-chapter-summary {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-rows: auto auto;
		column-gap: 0.85rem;
		row-gap: 0.35rem;
		align-items: center;
		border-bottom-color: rgba(25, 56, 82, 0.08);
	}

	.akm-sg-main__hero-chapter-summary-eyebrow {
		grid-column: 1;
		grid-row: 1;
	}

	.akm-sg-main__hero-chapter-summary-title {
		grid-column: 1;
		grid-row: 2;
		min-width: 0;
	}

	.akm-sg-main__hero-chapter-summary::after {
		grid-column: 2;
		grid-row: 1 / span 2;
		justify-self: end;
		align-self: center;
	}
}

@media (min-width: 768px) {
	.akm-sg-main__hero-chapter-disclosure {
		display: flex;
		flex-direction: column;
		flex: 1 1 auto;
		min-height: 0;
		margin: 0;
		padding: 0;
		border: 0;
		background: transparent;
	}

	.akm-sg-main__hero-chapter-summary {
		display: none !important;
	}

	.akm-sg-main__hero-chapter-inner {
		flex: 1 1 auto;
		min-height: 0;
	}
}

.akm-sg-main__hero-chapter-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	align-items: stretch;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	overflow-wrap: break-word;
	word-break: break-word;
}

.akm-sg-main__hero-chapter-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.akm-sg-main__hero-chapter-eyebrow {
	margin: 0 0 0.6rem;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #f59e0b;
}

.akm-sg-main__hero-chapter-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.6rem, 2vw, 2.25rem);
	font-weight: 800;
	color: #193852;
	letter-spacing: -0.03em;
	line-height: 1.08;
}

.akm-sg-main__hero-chapter-subtitle {
	margin: 0;
	padding-top: 0.5rem;
	font-size: 1.2rem;
	line-height: 1.65;
	color: #475569;
}

.akm-sg-main__hero-chapter-points {
	list-style: none;
	margin: 1.2rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.akm-sg-main__hero-chapter-point {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 0.85rem;
	align-items: flex-start;
}

.akm-sg-main__hero-chapter-point-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 999px;
	background: rgba(245, 169, 37, 0.15);
	color: #c47d08;
	font-size: 0.95rem;
	line-height: 1;
	flex-shrink: 0;
}

.akm-sg-main__hero-chapter-point-icon > i {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	height: 100%;
	width: 100%;
	margin: 0;
}

.akm-sg-main__hero-chapter-point-copy {
	display: grid;
	gap: 0.18rem;
	min-width: 0;
}

.akm-sg-main__hero-chapter-point-title {
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.35;
	color: #193852;
}

.akm-sg-main__hero-chapter-point-body {
	font-size: 1rem;
	line-height: 1.55;
	color: #526273;
}

.akm-sg-main__hero-chapter-media {
	display: flex;
	align-items: stretch;
	min-width: 0;
}

.akm-sg-main__hero-chapter-media-frame {
	width: 100%;
	min-height: 0;
	border-radius: 16px;
	background:
		radial-gradient(circle at top left, rgba(245, 169, 37, 0.18), transparent 48%),
		linear-gradient(145deg, rgba(25, 56, 82, 0.08), rgba(25, 56, 82, 0.02));
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	overflow: hidden;
}

.akm-sg-main__hero-chapter-image {
	display: block;
	width: 100%;
	max-width: 26rem;
	height: auto;
	object-fit: contain;
}

.akm-sg-main__hero-chapters-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 0.9rem 1rem 1rem;
	background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 0.96) 34%, rgba(248, 250, 252, 0.99) 100%);
}

.akm-sg-main__hero-chapters-progress-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.55rem;
}

.akm-sg-main__hero-chapters-progress-item {
	min-width: 0;
}

.akm-sg-main__hero-chapter-btn {
	margin: 0;
	padding: 0.45rem 0.55rem 0.5rem;
	font: inherit;
	color: inherit;
	background: transparent;
	border: 0;
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
	transition: background 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.akm-sg-main__hero-chapter-btn {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.35rem;
	width: 100%;
}

.akm-sg-main__hero-chapter-btn-label {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	color: rgba(25, 56, 82, 0.72);
	transition: color 0.18s ease;
}

.akm-sg-main__hero-chapter-btn-track {
	position: relative;
	display: block;
	width: 100%;
	height: 0.3rem;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(25, 56, 82, 0.14);
	transition: background 0.18s ease;
}

.akm-sg-main__hero-chapter-btn-fill {
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(90deg, #4dc2e0 0%, #7ad8ee 100%);
	transform: scaleX(0);
	transform-origin: left center;
}

.akm-sg-main__hero-chapter-btn:hover {
	background: rgba(255, 255, 255, 0.45);
	opacity: 1;
}

.akm-sg-main__hero-chapter-btn:focus-visible {
	outline: 2px solid #f5a925;
	outline-offset: 2px;
}

.akm-sg-main__hero-chapter-btn[aria-current="true"] .akm-sg-main__hero-chapter-btn-label {
	color: #193852;
}

.akm-sg-main__hero-chapter-btn[aria-current="true"] {
	opacity: 1;
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 10px 24px rgba(25, 56, 82, 0.08);
}

.akm-sg-main__hero-chapter-btn[aria-current="true"] .akm-sg-main__hero-chapter-btn-track {
	background: rgba(77, 194, 224, 0.24);
}

/* Partner logos: title outside overflow; scroll strip below */

.akm-sg-main__partner-strip {
	--akm-sg-marquee-duration: 38s;
	--akm-sg-marquee-gap: 1.5rem;
	--akm-sg-logo-slot: 7.8rem;
	margin-bottom: var(--akm-sg-section-gap);
	padding: 1.25rem 1rem 1.05rem;
}

/* Theme resets sometimes hide bare h2 in main; keep title visible on SG home only */
body.akademi-main-home-sg .akm-sg-main__partner-strip .akm-sg-main__logo-marquee-heading,
body.akm-home-variant--sg .akm-sg-main__partner-strip .akm-sg-main__logo-marquee-heading {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	gap: 0.45rem;
	visibility: visible !important;
	opacity: 1 !important;
	position: relative;
	z-index: 2;
	margin: 0 0 1rem;
	padding: 0 0.25rem;
	font-weight: 700;
	color: #193852;
	letter-spacing: -0.02em;
	text-align: center;
}

body.akademi-main-home-sg .akm-sg-main__partner-strip .akm-sg-main__logo-marquee-heading-text,
body.akm-home-variant--sg .akm-sg-main__partner-strip .akm-sg-main__logo-marquee-heading-text {
	display: block;
	max-width: 100%;
	font-size: 1.6rem;
	line-height: 1.2;
}

body.akademi-main-home-sg .akm-sg-main__partner-strip .akm-sg-main__logo-marquee-heading-flags,
body.akm-home-variant--sg .akm-sg-main__partner-strip .akm-sg-main__logo-marquee-heading-flags {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	font-size: clamp(1.35rem, 4vw, 1.85rem);
	line-height: 1;
	letter-spacing: 0;
	font-weight: 400;
}

.akm-sg-main__logo-marquee {
	margin: 0;
	padding: 0;
	overflow: hidden;
	border-radius: 0;
	border: none;
	background: transparent;
}

.akm-sg-main__logo-marquee-viewport {
	overflow: hidden;
	mask-image: none;
	-webkit-mask-image: none;
}

.akm-sg-main__logo-marquee-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: 100%;
	align-items: center;
	justify-content: center;
	animation: none;
	will-change: transform;
}

.akm-sg-main__logo-marquee--scroll .akm-sg-main__logo-marquee-track {
	width: max-content;
	justify-content: flex-start;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	animation: akm-sg-logo-marquee var(--akm-sg-marquee-duration) linear infinite;
}

.akm-sg-main__logo-marquee-set {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--akm-sg-marquee-gap);
	padding-top: 0.5rem;
	padding-inline: calc(var(--akm-sg-marquee-gap) * 0.5);
	flex: 0 0 auto;
}

.akm-sg-main__logo-marquee-set--clone {
	display: none;
}

.akm-sg-main__logo-marquee--scroll .akm-sg-main__logo-marquee-set--clone {
	display: flex;
}

.akm-sg-main__logo-marquee-item {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--akm-sg-logo-slot);
	min-width: var(--akm-sg-logo-slot);
	height: var(--akm-sg-logo-slot);
	min-height: var(--akm-sg-logo-slot);
}

.akm-sg-main__logo-marquee-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	line-height: 0;
	opacity: 1;
	transition: opacity 0.2s ease;
}

.akm-sg-main__logo-marquee-link:focus-visible {
	outline: none;
}

.akm-sg-main__logo-marquee-item > .akm-sg-main__logo-marquee-img,
.akm-sg-main__logo-marquee-item > .akm-sg-main__logo-marquee-placeholder {
	opacity: 1;
	transition: filter 0.2s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.akm-sg-main__logo-marquee-item:hover > .akm-sg-main__logo-marquee-placeholder {
	opacity: 1;
	border-color: rgba(25, 56, 82, 0.5);
	color: #193852;
}

.akm-sg-main__logo-marquee-img {
	display: block;
	width: var(--akm-sg-logo-slot);
	height: var(--akm-sg-logo-slot);
	max-width: var(--akm-sg-logo-slot);
	max-height: var(--akm-sg-logo-slot);
	padding: 0.45rem;
	box-sizing: border-box;
	object-fit: contain;
	object-position: center;
	filter: none;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.akm-sg-main__logo-marquee-link .akm-sg-main__logo-marquee-img {
	opacity: 1;
}

/* Text placeholders (default demo strip before real logos are configured) */

.akm-sg-main__logo-marquee-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: var(--akm-sg-logo-slot);
	height: var(--akm-sg-logo-slot);
	aspect-ratio: 1;
	padding: 0.65rem;
	border-radius: 12px;
	border: 1px dashed rgba(25, 56, 82, 0.35);
	background: rgba(255, 255, 255, 0.85);
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
	letter-spacing: 0.02em;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
	hyphens: auto;
	overflow-wrap: anywhere;
}

.akm-sg-main__logo-marquee-link--text {
	text-decoration: none;
}

.akm-sg-main__logo-marquee-link--text .akm-sg-main__logo-marquee-placeholder {
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.akm-sg-main__logo-marquee-link--text:hover .akm-sg-main__logo-marquee-placeholder,
.akm-sg-main__logo-marquee-link--text:focus-visible .akm-sg-main__logo-marquee-placeholder {
	border-color: rgba(13, 110, 253, 0.45);
	background: #fff;
	color: #193852;
}

@keyframes akm-sg-logo-marquee {
	from {
		transform: translate3d(0, 0, 0);
	}

	to {
		transform: translate3d(-50%, 0, 0);
	}
}

/* Students subpage: testimonial marquee (same loop pattern as partner logos) */

.akm-sg-main__reviews-strip {
	--akm-sg-reviews-marquee-duration: 52s;
	--akm-sg-reviews-marquee-gap: 1.25rem;
	--akm-sg-reviews-card-min: 16.4rem;
	--akm-sg-reviews-avatar-size: 3.5rem;
	margin-top: 0;
	margin-bottom: var(--akm-sg-section-gap);
	padding: 0 1rem 0.25rem;
}

.akm-sg-main__reviews-strip-intro {
	margin: 0 auto 1.15rem;
	max-width: 36rem;
	padding: 0 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: #4b5563;
	text-align: center;
}

.akm-sg-main__reviews-marquee {
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.akm-sg-main__reviews-marquee-viewport {
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
	-webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.akm-sg-main__reviews-marquee-track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	width: max-content;
	align-items: stretch;
	animation: akm-sg-reviews-marquee var(--akm-sg-reviews-marquee-duration) linear infinite;
	will-change: transform;
}

.akm-sg-main__reviews-marquee-set {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: var(--akm-sg-reviews-marquee-gap);
	padding-block: 0.35rem;
	padding-inline: calc(var(--akm-sg-reviews-marquee-gap) * 0.5);
	flex: 0 0 auto;
}

.akm-sg-main__reviews-marquee-card {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	min-width: var(--akm-sg-reviews-card-min);
	max-width: 19.2rem;
	margin: 0;
	padding: 1.1rem 1.15rem 1rem;
	text-align: left;
	border-radius: 14px;
	border: 1px solid rgba(25, 56, 82, 0.12);
	background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
	box-shadow: 0 6px 20px rgba(25, 56, 82, 0.07);
}

.akm-sg-main__reviews-marquee-row--top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.45rem;
	min-width: 0;
}

.akm-sg-main__reviews-marquee-row--bottom {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.85rem;
	min-width: 0;
}

.akm-sg-main__reviews-marquee-media {
	flex: 0 0 auto;
	width: var(--akm-sg-reviews-avatar-size);
}

.akm-sg-main__reviews-marquee-avatar {
	display: block;
	width: var(--akm-sg-reviews-avatar-size);
	height: var(--akm-sg-reviews-avatar-size);
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(25, 56, 82, 0.1);
	background: #e8eef4;
}

.akm-sg-main__reviews-marquee-avatar--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.88);
	background: #193852;
	border: 2px solid rgba(25, 56, 82, 0.15);
}

.akm-sg-main__reviews-marquee-avatar--placeholder .akm-sg-main__reviews-marquee-avatar-silhouette {
	display: block;
	width: calc(var(--akm-sg-reviews-avatar-size) * 0.52);
	height: calc(var(--akm-sg-reviews-avatar-size) * 0.52);
	flex-shrink: 0;
}

.akm-sg-main__reviews-marquee-stars {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.2rem;
	font-size: 0.72rem;
	color: #f5a925;
	line-height: 1;
}

.akm-sg-main__reviews-marquee-quote {
	width: 100%;
	margin: 0;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.45;
	color: #374151;
	/* Uniform card height: always reserve 3 lines; clamp longer copy with ellipsis */
	min-height: calc(1.45em * 3);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.akm-sg-main__reviews-marquee-card .akm-sg-main__reviews-marquee-byline {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: 0;
	margin-top: 0;
	margin-block-start: 0;
	padding: 0;
	font-size: 0.8125rem;
	line-height: 1.3;
	color: #6b7280;
}

.akm-sg-main__reviews-marquee-author {
	margin: 0;
	font-style: normal;
	font-weight: 700;
	color: #193852;
}

.akm-sg-main__reviews-marquee-role {
	margin: 0;
	font-weight: 500;
}

@keyframes akm-sg-reviews-marquee {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

.akm-sg-main__reviews-marquee:hover .akm-sg-main__reviews-marquee-track {
	animation-play-state: paused;
}

.akm-sg-main__logo-marquee--scroll:hover .akm-sg-main__logo-marquee-track {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.akm-sg-main__logo-marquee-track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		row-gap: 1rem;
	}

	.akm-sg-main__logo-marquee-set--clone {
		display: none;
	}

	.akm-sg-main__logo-marquee-viewport {
		mask-image: none;
		-webkit-mask-image: none;
	}

	.akm-sg-main__logo-marquee-set {
		flex-wrap: wrap;
		justify-content: center;
		padding-inline: 0.5rem;
	}

	.akm-sg-main__reviews-marquee-track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		max-width: 100%;
		row-gap: 1rem;
	}

	.akm-sg-main__reviews-marquee-set[aria-hidden="true"] {
		display: none;
	}

	.akm-sg-main__reviews-marquee-viewport {
		mask-image: none;
		-webkit-mask-image: none;
	}

	.akm-sg-main__reviews-marquee-set {
		flex-wrap: wrap;
		justify-content: center;
		padding-inline: 0.5rem;
	}
}

.akm-sg-main__placeholder-label {
	font-weight: 700;
	font-size: 1rem;
	color: #193852;
	line-height: 1.25;
}

.akm-sg-main__placeholder-hint {
	font-size: 0.72rem;
	font-weight: 500;
	color: #5c6b7a;
	max-width: 16rem;
	line-height: 1.4;
}

.akm-sg-main__placeholder--panel {
	padding: 1.25rem 1.15rem;
	border: 2px dashed rgba(25, 56, 82, 0.22);
	border-radius: 12px;
	background: #f8fafc;
}

.akm-sg-main__placeholder--wide {
	min-height: 5rem;
}

.akm-sg-main__card-heading {
	margin: 0 0 0.5rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #193852;
	line-height: 1.25;
}

.akm-sg-main__card-copy {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #475569;
}

@media (min-width: 768px) {
	.akm-sg-main__hero-chapter {
		padding: 1.5rem 1.5rem 5.4rem;
	}

	.akm-sg-main__hero-chapter-inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		grid-template-rows: min-content;
		gap: 1.5rem;
		align-items: stretch;
	}

	.akm-sg-main__hero-chapter-media-frame {
		height: 100%;
	}

	.akm-sg-main__hero-chapter-image {
		width: auto;
		max-width: 100%;
		max-height: 100%;
	}

	.akm-sg-main__hero-split {
		grid-template-columns: minmax(0, 1fr);
		align-items: stretch;
		gap: 0;
	}

	.akm-sg-main__hero-chapters-progress {
		padding: 0.95rem 1.5rem 1.1rem;
	}

	.akm-sg-main__hero-chapters-progress-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.85rem;
	}
}


/* Audience selection + feature grid below hero */

.akm-sg-main__audience-section {
	margin-bottom: var(--akm-sg-section-gap);
}

.akm-sg-main__audience-copy {
	margin: 0 auto 1.25rem;
	max-width: 42rem;
	text-align: center;
}

.akm-sg-main__audience-heading {
	margin: 0 0 0.45rem;
	font-size: 1.6rem;
	font-weight: 700;
	color: #193852;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.akm-sg-main__audience-intro {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: #64748b;
}

.akm-sg-main__audience-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
	margin-bottom: 0;
}

.akm-sg-main__audience-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0;
	overflow: hidden;
	border: none;
	background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
	box-shadow: 0 12px 28px rgba(25, 56, 82, 0.08);
	color: inherit;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.akm-sg-main__audience-card:hover,
.akm-sg-main__audience-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 18px 36px rgba(25, 56, 82, 0.12);
	text-decoration: none;
	outline: none;
}

.akm-sg-main__audience-media {
	width: 100%;
}

.akm-sg-main__audience-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #eef5ff;
}

.akm-sg-main__audience-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 1.35rem 1.35rem 1.45rem;
	flex: 1 1 auto;
	text-align: center;
}

.akm-sg-main__audience-content .akm-sg-main__card-heading,
.akm-sg-main__audience-content .akm-sg-main__card-copy {
	width: 100%;
}

.akm-sg-main__audience-cta {
	margin-top: auto;
	padding-top: 0.35rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #0d6efd;
}

.akm-sg-main__audience-cta i {
	font-size: 0.8rem;
	transition: transform 0.18s ease;
}

.akm-sg-main__audience-card:hover .akm-sg-main__audience-cta i,
.akm-sg-main__audience-card:focus-visible .akm-sg-main__audience-cta i {
	transform: translateX(3px);
}

/* Two columns: About School | About Masterclass (below audience row) */

.akm-sg-main__product-lines {
	margin-bottom: var(--akm-sg-section-gap);
}

.akm-sg-main__product-lines-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
	align-items: stretch;
}

.akm-sg-main__product-line {
	min-width: 0;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(25, 56, 82, 0.12);
	background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
	box-shadow: 0 12px 28px rgba(25, 56, 82, 0.08);
}

.akm-sg-main__product-line--school {
	border-left: 4px solid #193852;
}

.akm-sg-main__product-line--masterclass {
	border-left: 4px solid #4338ca;
}

.akm-sg-main__product-line-inner {
	padding: 1.5rem 1.35rem 1.45rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.akm-sg-main__product-line-header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
}

.akm-sg-main__product-line-title-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	flex-shrink: 0;
	border-radius: 12px;
	font-size: 1.15rem;
	line-height: 1;
}

.akm-sg-main__product-line--school .akm-sg-main__product-line-title-icon {
	background: rgba(25, 56, 82, 0.12);
	color: #193852;
}

.akm-sg-main__product-line--masterclass .akm-sg-main__product-line-title-icon {
	background: rgba(67, 56, 202, 0.12);
	color: #4338ca;
}

.akm-sg-main__product-line-title {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: #193852;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.akm-sg-main__product-line-desc {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: #475569;
}

.akm-sg-main__product-line-subjects {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding-top: 0.25rem;
	border-top: 1px solid rgba(25, 56, 82, 0.08);
}

.akm-sg-main__product-line-subjects-heading {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
}

.akm-sg-main__product-line-subject-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.akm-sg-main__product-line-subject {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

.akm-sg-main__product-line-subject-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	flex-shrink: 0;
	border-radius: 8px;
	background: rgba(25, 56, 82, 0.08);
	color: #193852;
	font-size: 0.85rem;
	line-height: 1;
	margin-top: 0.05rem;
}

.akm-sg-main__product-line--masterclass .akm-sg-main__product-line-subject-icon {
	background: rgba(67, 56, 202, 0.1);
	color: #4338ca;
}

.akm-sg-main__product-line-subject-body {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
}

.akm-sg-main__product-line-subject-name {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #1e293b;
	line-height: 1.35;
}

.akm-sg-main__product-line-subject-hint {
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #64748b;
}

@media (min-width: 768px) {
	.akm-sg-main__product-lines-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Feature grid below hero: 4 cards in one row on wide screens */

.akm-sg-main__feature-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: minmax(0, 1fr);
	max-width: 90rem;
	width: 100%;
	margin-inline: auto;
	margin-bottom: var(--akm-sg-section-gap);
	box-sizing: border-box;
}

.akm-sg-main__feature-widget {
	min-width: 0;
	display: flex;
	flex-direction: column;
}

.akm-sg-main__feature-widget-card {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	padding: 1.5rem 1.35rem;
	border-style: solid;
	border-width: 1px;
	border-color: rgba(25, 56, 82, 0.1);
	background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 12px 28px rgba(25, 56, 82, 0.08);
}

.akm-sg-main__feature-grid .akm-sg-main__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 5.4375rem;
	height: 5.4375rem;
	border-radius: 999px;
	background: var(--akm-sg-feature-badge-bg, rgba(245, 169, 37, 0.18));
	color: var(--akm-sg-feature-badge-fg, #d97706);
	font-size: 1.75rem;
	line-height: 1;
	flex-shrink: 0;
	margin-inline: auto;
}

/* Per-widget icon badge colours (students feature grid) */
.akm-sg-main__feature-icon--ask-akami {
	--akm-sg-feature-badge-bg: rgba(37, 99, 235, 0.2);
	--akm-sg-feature-badge-fg: #1d4ed8;
}

.akm-sg-main__feature-icon--moe-aligned {
	--akm-sg-feature-badge-bg: rgba(13, 148, 136, 0.2);
	--akm-sg-feature-badge-fg: #0f766e;
}

.akm-sg-main__feature-icon--unlimited-practice {
	--akm-sg-feature-badge-bg: rgba(124, 58, 237, 0.18);
	--akm-sg-feature-badge-fg: #6d28d9;
}

.akm-sg-main__feature-icon--exam-ready {
	--akm-sg-feature-badge-bg: rgba(225, 29, 72, 0.16);
	--akm-sg-feature-badge-fg: #be123c;
}

.akm-sg-main__feature-icon--study-plan {
	--akm-sg-feature-badge-bg: rgba(234, 88, 12, 0.18);
	--akm-sg-feature-badge-fg: #c2410c;
}

.akm-sg-main__feature-icon--gradebook {
	--akm-sg-feature-badge-bg: rgba(5, 150, 105, 0.18);
	--akm-sg-feature-badge-fg: #047857;
}

.akm-sg-main__feature-icon--ai-notes {
	--akm-sg-feature-badge-bg: rgba(2, 132, 199, 0.18);
	--akm-sg-feature-badge-fg: #0369a1;
}

.akm-sg-main__feature-icon--anytime {
	--akm-sg-feature-badge-bg: rgba(79, 70, 229, 0.18);
	--akm-sg-feature-badge-fg: #4338ca;
}

/* Per-widget icon badge colours (teachers feature grid) */
.akm-sg-main__feature-icon--teacher-classroom {
	--akm-sg-feature-badge-bg: rgba(37, 99, 235, 0.2);
	--akm-sg-feature-badge-fg: #1d4ed8;
}

.akm-sg-main__feature-icon--teacher-assignments {
	--akm-sg-feature-badge-bg: rgba(13, 148, 136, 0.2);
	--akm-sg-feature-badge-fg: #0f766e;
}

.akm-sg-main__feature-icon--teacher-insights {
	--akm-sg-feature-badge-bg: rgba(124, 58, 237, 0.18);
	--akm-sg-feature-badge-fg: #6d28d9;
}

.akm-sg-main__feature-icon--teacher-resources {
	--akm-sg-feature-badge-bg: rgba(225, 29, 72, 0.16);
	--akm-sg-feature-badge-fg: #be123c;
}

.akm-sg-main__feature-icon--teacher-alignment {
	--akm-sg-feature-badge-bg: rgba(234, 88, 12, 0.18);
	--akm-sg-feature-badge-fg: #c2410c;
}

.akm-sg-main__feature-icon--teacher-feedback {
	--akm-sg-feature-badge-bg: rgba(5, 150, 105, 0.18);
	--akm-sg-feature-badge-fg: #047857;
}

.akm-sg-main__feature-icon--teacher-collab {
	--akm-sg-feature-badge-bg: rgba(2, 132, 199, 0.18);
	--akm-sg-feature-badge-fg: #0369a1;
}

.akm-sg-main__feature-icon--teacher-time {
	--akm-sg-feature-badge-bg: rgba(79, 70, 229, 0.18);
	--akm-sg-feature-badge-fg: #4338ca;
}

/* Match "Your learning loop" step scale (cycle badge + label + sublabel) */
.akm-sg-main__feature-grid .akm-sg-main__feature-widget-card {
	gap: 0.5625rem;
	padding: 1.875rem 1.6875rem;
}

.akm-sg-main__feature-grid .akm-sg-main__feature-widget-card .akm-sg-main__card-heading {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.25;
	color: #193852;
}

.akm-sg-main__feature-grid .akm-sg-main__feature-widget-card .akm-sg-main__card-copy {
	font-size: 0.9rem;
	line-height: 1.35;
	color: #64748b;
}

.akm-sg-main__audience-card .akm-sg-main__card-heading,
.akm-sg-main__feature-widget-card .akm-sg-main__card-heading {
	margin: 0;
}

.akm-sg-main__audience-card .akm-sg-main__card-copy,
.akm-sg-main__feature-widget-card .akm-sg-main__card-copy {
	margin: 0;
}

.akm-sg-main__feature-widget-card .akm-sg-main__card-heading,
.akm-sg-main__feature-widget-card .akm-sg-main__card-copy {
	text-align: center;
}

@media (min-width: 640px) {
	.akm-sg-main__audience-grid,
	.akm-sg-main__feature-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.akm-sg-main__audience-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.akm-sg-main__feature-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Packages → checkout (max 3 per row) */

.akm-sg-main__packages-section {
	margin-bottom: var(--akm-sg-section-gap);
}

.akm-sg-main__feature-heading,
.akm-sg-main__packages-heading {
	font-size: 2rem;
	font-weight: 700;
	color: #193852;
	letter-spacing: -0.02em;
	line-height: 1.2;
	text-align: center;
}

.akm-sg-main__feature-heading {
	margin: 0 0 1.25rem;
}

.akm-sg-main__packages-heading {
	margin: 0 0 0.9rem;
}

.akm-sg-main__packages-intro {
	margin: 0 auto 1.5rem;
	max-width: 40rem;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #475569;
	text-align: center;
}

.akm-sg-main__packages-empty {
	margin: 0;
	text-align: center;
	font-size: 0.9375rem;
	color: #64748b;
}

.akm-sg-main__packages-empty-link {
	margin-left: 0.35rem;
	color: #0d6efd;
	font-weight: 600;
	text-decoration: none;
}

.akm-sg-main__packages-empty-link:hover,
.akm-sg-main__packages-empty-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

.akm-sg-main__packages-grid {
	display: grid;
	align-items: stretch;
	gap: 1.25rem;
	grid-template-columns: minmax(0, 1fr);
}

.akm-sg-main__package-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.3rem;
	box-sizing: border-box;
	min-height: 0;
	height: 100%;
	padding: 1.35rem 1.25rem;
	color: inherit;
	border-radius: 14px;
	border: 1px solid rgba(25, 56, 82, 0.12);
	background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
	box-shadow: 0 8px 24px rgba(25, 56, 82, 0.08);
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease,
		border-color 0.15s ease,
		filter 0.15s ease;
	min-width: 0;
	text-align: center;
}

/* Flex items default to min-width: auto; long/clamped text can overflow the grid without this. */
.akm-sg-main__package-card > * {
	min-width: 0;
}

a.akm-sg-main__package-card {
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

a.akm-sg-main__package-card:visited {
	color: inherit;
}

.akm-sg-main__package-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(25, 56, 82, 0.12);
	border-color: rgba(13, 110, 253, 0.35);
}

a.akm-sg-main__package-card:active {
	transform: translateY(0);
	box-shadow: 0 10px 26px rgba(25, 56, 82, 0.1);
}

a.akm-sg-main__package-card:focus-visible {
	outline: none;
	transform: translateY(-2px);
	border-color: rgba(13, 110, 253, 0.45);
	box-shadow:
		0 0 0 3px #fff,
		0 0 0 6px rgba(13, 110, 253, 0.45),
		0 14px 32px rgba(25, 56, 82, 0.12);
}

.akm-sg-main__package-name {
	margin: 0;
	font-size: 2rem;
	font-weight: 700;
	color: #193852;
	letter-spacing: -0.02em;
	line-height: 1.2;
	width: 100%;
	overflow-wrap: break-word;
	hyphens: auto;
}

.akm-sg-main__package-description {
	margin: 0;
	flex: 1 1 auto;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	color: #4b5563;
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
	word-break: break-word;
	width: 100%;
	align-self: stretch;
	min-height: calc(3 * 1.45em);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}

.akm-sg-main__package-meta {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-shrink: 0;
	gap: 0.7rem;
	font-size: calc(0.8125rem + 1px);
	line-height: 1.4;
	color: #4b5563;
	width: 100%;
}

.akm-sg-main__package-meta-line {
	display: block;
	text-align: center;
}

.akm-sg-main__package-meta-label {
	font-weight: 600;
	color: #193852;
	margin-right: 0.35rem;
}

.akm-sg-main__package-meta-value {
	font-weight: 500;
}

.akm-sg-main__package-subjects {
	box-sizing: border-box;
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding-inline: clamp(0.75rem, 4vw, 1.35rem);
	text-align: left;
	font-size: 16px;
}

.akm-sg-main__package-subjects-heading {
	display: block;
	margin: 0 0 0.55rem;
	font-weight: 600;
	color: #193852;
	font-size: 0.9375rem;
	letter-spacing: 0.02em;
}

/* Fixed slot height: min 3 subject rows visible, max 5 then scroll (keeps package cards level). */
.akm-sg-main__package-subject-rows-scroll {
	--akm-pkg-subj-gap: 0.45rem;
	--akm-pkg-subj-slot: 2.5rem;
	box-sizing: border-box;
	width: 100%;
	min-height: calc(3 * var(--akm-pkg-subj-slot) + 2 * var(--akm-pkg-subj-gap));
	max-height: calc(5 * var(--akm-pkg-subj-slot) + 4 * var(--akm-pkg-subj-gap));
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

.akm-sg-main__package-subject-rows {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: var(--akm-pkg-subj-gap, 0.45rem);
}

.akm-sg-main__package-subject-pill {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--akm-pkg-subj-slot, 2.5rem);
	min-height: var(--akm-pkg-subj-slot, 2.5rem);
	flex-shrink: 0;
	margin: 0;
	padding: 0 1rem;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.25;
	color: #193852;
	text-align: center;
	background: linear-gradient(180deg, #ffffff 0%, #f0f5fb 100%);
	border: 1px solid rgba(25, 56, 82, 0.18);
	border-radius: 10px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.akm-sg-main__package-subject-pill--placeholder {
	background: rgba(244, 248, 252, 0.65);
	border-style: dashed;
	border-color: rgba(25, 56, 82, 0.12);
	box-shadow: none;
	color: transparent;
	pointer-events: none;
}

.akm-sg-main__packages-shared-meta {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	max-width: 64rem;
	margin: 0 auto 1rem;
	padding: 0 0.25rem;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #4b5563;
}

.akm-sg-main__packages-shared-meta .akm-sg-main__package-meta-line {
	display: block;
}

.akm-sg-main__package-actions {
	display: flex;
	justify-content: center;
	width: 100%;
	flex-shrink: 0;
	margin-top: auto;
	padding-top: 0.7rem;
}

.akm-sg-main__package-card .akm-sg-main__package-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.55rem 1.25rem;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.25;
	color: #fff;
	text-align: center;
	pointer-events: none;
	user-select: none;
	background: #f5a925;
	border-radius: 999px;
	border: 2px solid transparent;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease,
		filter 0.2s ease;
}

.akm-sg-main__package-card:hover .akm-sg-main__package-btn {
	background: #e09412;
	border-color: rgba(25, 56, 82, 0.12);
	transform: translateY(-1px);
	filter: brightness(1.03);
	color: #fff;
}

.akm-sg-main__package-card:active .akm-sg-main__package-btn {
	transform: translateY(0);
	filter: brightness(0.97);
	color: #fff;
}

a.akm-sg-main__package-card:focus-visible .akm-sg-main__package-btn {
	background: #e09412;
	border-color: rgba(25, 56, 82, 0.12);
	transform: translateY(-1px);
	filter: brightness(1.03);
	color: #fff;
}

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

@media (min-width: 992px) {
	.akm-sg-main__packages-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	/* Subpages (/students/, /teachers/): two columns on large screens for wider cards */
	.akm-sg-subpage__packages-grid.akm-sg-main__packages-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Footer: multi-section link columns (.sg) */

.akm-sg-footer__inner {
	padding-top: 2rem;
	padding-bottom: 1.5rem;
}

.akm-sg-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: 1.75rem 2.5rem;
	margin-bottom: 1.75rem;
}

.akm-sg-footer__section {
	min-width: 0;
}

.akm-sg-footer__heading {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #1a1a1a;
}

.akm-sg-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.akm-sg-footer__item {
	margin: 0 0 0.45rem;
}

.akm-sg-footer__item:last-child {
	margin-bottom: 0;
}

.akm-sg-footer__link {
	color: #555;
	text-decoration: none;
	font-size: 0.875rem;
	line-height: 1.45;
}

.akm-sg-footer__link:hover,
.akm-sg-footer__link:focus-visible {
	color: #0d6efd;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.akm-sg-footer__bottom {
	padding-top: 1.25rem;
	border-top: 1px solid #e8e8e8;
}

.akm-sg-footer__copy {
	margin: 0;
	font-size: 0.8125rem;
	color: #6b7280;
}

/* SG marketing subpages (/students/, /teachers/, etc.) */

.akm-sg-subpage .akm-home-variant-shell__main-inner {
	padding-top: 1.25rem;
	padding-bottom: 2rem;
}

.akm-sg-subpage__feature-heading {
	margin-top: 0;
}

/* Students subpage: reviews carousel above packages */
.akm-sg-subpage__reviews-strip {
	max-width: 100%;
}

/* Subpages: packages grid (no plan/pricing UI) */
.akm-sg-subpage__packages-section {
	margin-top: 0;
}

.akm-sg-subpage__packages-heading {
	margin-top: 0;
}

.akm-sg-subpage__packages-shared-meta {
	text-align: center;
}

.akm-sg-subpage__packages-grid.akm-sg-main__packages-grid {
	/* Inherit display: grid; 1 col <640px, 2 cols from 640px+ (including large screens). */
	max-width: 64rem;
	margin-left: auto;
	margin-right: auto;
}

.akm-sg-subpage__packages-grid .akm-sg-main__package-card:only-child {
	max-width: 22rem;
	width: 100%;
	justify-self: center;
}

.akm-sg-subpage__section.akm-sg-main__audience-section {
	margin-bottom: 0;
}

/*
 * Students subpage masthead: image left, copy right (two widget rows).
 * Desktop: copy is position:absolute so masthead height = visual only; copy
 * height matches the image column. Inner rows split space 50/50; overflow
 * scrolls inside a row if copy is long.
 */
.akm-sg-subpage__masthead {
	--akm-sg-masthead-gap: clamp(1.25rem, 2.5vw, 2rem);
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.akm-sg-subpage__masthead-visual {
	min-width: 0;
	align-self: stretch;
}

.akm-sg-subpage__masthead-figure {
	margin: 0;
	padding: 0;
	width: 100%;
	height: fit-content;
	line-height: 0;
	box-shadow: 0 12px 28px rgba(25, 56, 82, 0.1);
	overflow: visible;
}

.akm-sg-subpage__masthead-figure.akm-sg-subpage__masthead-chapter {
	border: none;
	border-radius: 14px;
	box-sizing: border-box;
	overflow: hidden;
}

.akm-sg-subpage__masthead-img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	max-height: none;
	object-fit: unset;
	border-radius: 14px;
}

/* Rotating masthead: visual + copy panels (JS); progress bar in actions widget footer. */
.akm-sg-subpage__masthead-visual .akm-sg-subpage__masthead-chapter-stack {
	position: relative;
	width: 100%;
}

.akm-sg-subpage__masthead-visual .akm-sg-subpage__masthead-chapter:not(.is-active) {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.akm-sg-subpage__masthead-visual .akm-sg-subpage__masthead-chapter.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.akm-sg-subpage__masthead-progress {
	width: 100%;
	min-width: 0;
}

.akm-sg-subpage__masthead-progress-track {
	position: relative;
	height: 4px;
	border-radius: 999px;
	background: #e2e8f0;
	overflow: hidden;
}

.akm-sg-subpage__masthead-progress-fill {
	height: 100%;
	width: 0%;
	border-radius: inherit;
	background: #4dc2e0;
	border: none;
	box-shadow: none;
	filter: none;
	will-change: width;
}

.akm-sg-subpage__masthead-progress-steps {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.65rem;
}

.akm-sg-subpage__masthead-progress-step {
	flex: 0 0 auto;
	margin: 0;
	min-width: 2.35rem;
	height: 2.35rem;
	padding: 0 0.5rem;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	background: #fff;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1;
	color: #475569;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Match .masthead-chapter-copy-badge / --theme-1 … --theme-4 accent per chapter index */
.akm-sg-subpage__masthead-progress-step[data-chapter-step='0'] {
	--akm-step-accent: #2563eb;
	--akm-step-soft: rgba(37, 99, 235, 0.12);
	--akm-step-glow: rgba(37, 99, 235, 0.35);
}

.akm-sg-subpage__masthead-progress-step[data-chapter-step='1'] {
	--akm-step-accent: #059669;
	--akm-step-soft: rgba(5, 150, 105, 0.12);
	--akm-step-glow: rgba(5, 150, 105, 0.35);
}

.akm-sg-subpage__masthead-progress-step[data-chapter-step='2'] {
	--akm-step-accent: #7c3aed;
	--akm-step-soft: rgba(124, 58, 237, 0.12);
	--akm-step-glow: rgba(124, 58, 237, 0.35);
}

.akm-sg-subpage__masthead-progress-step[data-chapter-step='3'] {
	--akm-step-accent: #ea580c;
	--akm-step-soft: rgba(234, 88, 12, 0.12);
	--akm-step-glow: rgba(234, 88, 12, 0.35);
}

.akm-sg-subpage__masthead-progress-step[data-chapter-step]:not(.is-active) {
	border-color: var(--akm-step-accent);
	color: var(--akm-step-accent);
	background: #fff;
}

.akm-sg-subpage__masthead-progress-step[data-chapter-step]:hover:not(.is-active) {
	border-color: var(--akm-step-accent);
	color: var(--akm-step-accent);
	background: var(--akm-step-soft);
}

.akm-sg-subpage__masthead-progress-step:focus {
	outline: none;
}

.akm-sg-subpage__masthead-progress-step[data-chapter-step]:focus-visible {
	outline: 2px solid var(--akm-step-accent);
	outline-offset: 2px;
}

.akm-sg-subpage__masthead-progress-step[data-chapter-step].is-active {
	border-color: var(--akm-step-accent);
	background: var(--akm-step-accent);
	color: #fff;
	box-shadow: 0 2px 8px var(--akm-step-glow);
}

.akm-sg-subpage__masthead-progress-step:hover:not([data-chapter-step]) {
	border-color: #94a3b8;
	background: #f8fafc;
}

.akm-sg-subpage__masthead-chapter-copy-stack {
	position: relative;
	width: 100%;
	min-width: 0;
}

.akm-sg-subpage__masthead-widget-main .akm-sg-subpage__masthead-chapter-copy {
	padding-left: clamp(0.75rem, 2vw, 1.25rem);
	padding-right: clamp(0.75rem, 2vw, 1.25rem);
}

.akm-sg-subpage__masthead-widget-main .akm-sg-subpage__masthead-chapter-copy:not(.is-active) {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.akm-sg-subpage__masthead-widget-main .akm-sg-subpage__masthead-chapter-copy.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.akm-sg-subpage__masthead-chapter-copy-heading {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0.65rem 0 0.65rem;
	min-width: 0;
	text-align: center;
}

.akm-sg-subpage__masthead-chapter-copy-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.15rem;
	height: 2.15rem;
	padding: 0 0.45rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--akm-chapter-accent, #193852);
	background: var(--akm-chapter-accent-soft, rgba(25, 56, 82, 0.1));
	box-shadow: inset 0 0 0 1px var(--akm-chapter-accent-ring, rgba(25, 56, 82, 0.12));
}

.akm-sg-subpage__masthead-chapter-copy--theme-1 {
	--akm-chapter-accent: #2563eb;
	--akm-chapter-accent-soft: rgba(37, 99, 235, 0.14);
	--akm-chapter-accent-ring: rgba(37, 99, 235, 0.22);
	--akm-chapter-body-muted: #334155;
}

.akm-sg-subpage__masthead-chapter-copy--theme-2 {
	--akm-chapter-accent: #059669;
	--akm-chapter-accent-soft: rgba(5, 150, 105, 0.14);
	--akm-chapter-accent-ring: rgba(5, 150, 105, 0.22);
	--akm-chapter-body-muted: #334155;
}

.akm-sg-subpage__masthead-chapter-copy--theme-3 {
	--akm-chapter-accent: #7c3aed;
	--akm-chapter-accent-soft: rgba(124, 58, 237, 0.14);
	--akm-chapter-accent-ring: rgba(124, 58, 237, 0.22);
	--akm-chapter-body-muted: #334155;
}

.akm-sg-subpage__masthead-chapter-copy--theme-4 {
	--akm-chapter-accent: #ea580c;
	--akm-chapter-accent-soft: rgba(234, 88, 12, 0.14);
	--akm-chapter-accent-ring: rgba(234, 88, 12, 0.22);
	--akm-chapter-body-muted: #334155;
}

.akm-sg-subpage__masthead-chapter-copy-title {
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	font-size: clamp(1.35rem, 2.8vw, 1.8rem);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: var(--akm-chapter-accent, #193852);
}

.akm-sg-subpage__masthead-chapter-copy-text {
	margin: 0.65rem 0 1rem;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.65;
	color: #475569;
}

.akm-sg-subpage__masthead-chapter-copy[class*='--theme-'] .akm-sg-subpage__masthead-chapter-copy-points {
	color: var(--akm-chapter-body-muted, #334155);
}

.akm-sg-subpage__masthead-chapter-copy-points {
	margin: 0;
	padding-left: 1.2rem;
	display: grid;
	gap: 0.55rem;
	color: #334155;
}

.akm-sg-subpage__masthead-chapter-copy-points li {
	font-size: clamp(0.95rem, 1.8vw, 1.05rem);
	line-height: 1.55;
}

.akm-sg-subpage__masthead-chapter-copy[class*='--theme-'] .akm-sg-subpage__masthead-chapter-copy-points li::marker {
	color: var(--akm-chapter-accent);
}

.akm-sg-subpage__masthead-widget-main {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0.75rem;
	min-width: 0;
	min-height: 0;
}

.akm-sg-subpage__masthead-widget-main-note {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.45;
	color: #64748b;
}

.akm-sg-subpage__masthead-widget-main-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.akm-sg-subpage__masthead-widget-footer {
	margin-top: auto;
	padding-top: 0.85rem;
	border-top: 1px solid #e2e8f0;
	flex: 0 0 auto;
}

.akm-sg-subpage__masthead-widget-footer .akm-sg-subpage__masthead-progress {
	margin: 0;
}

.akm-sg-subpage__btn--sm {
	padding: 0.45rem 1rem;
	font-size: 0.875rem;
}

.akm-sg-subpage__masthead-copy {
	min-width: 0;
}

.akm-sg-subpage__masthead-copy-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-height: 0;
}

.akm-sg-subpage__masthead-widget {
	min-width: 0;
	padding: 1rem 1.1rem;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	background: #f8fafc;
}

.akm-sg-subpage__masthead-widget--title {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(0.65rem, 1.4vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	background: #193852;
	text-align: center;
}

.akm-sg-subpage__masthead-title-inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 0.65rem;
	min-width: 0;
	width: 100%;
}

.akm-sg-subpage__masthead-title-badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: 999px;
	font-size: 1.2rem;
	line-height: 1;
	color: #f5a925;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.akm-sg-subpage__masthead-widget--title .akm-sg-main__audience-heading {
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
	font-size: clamp(2rem, 5vw, 2.8rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-align: left;
	color: #fff;
}

.akm-sg-subpage__masthead-widget--actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	min-height: 0;
	background: #fff;
}

@media (max-width: 767px) {
	/* Students & Teachers subpages mobile: H1 banner first, then hero image, then chapter copy. */
	.akm-sg-subpage__masthead[data-akm-masthead-chapters-root] .akm-sg-subpage__masthead-copy,
	.akm-sg-subpage__masthead[data-akm-masthead-chapters-root] .akm-sg-subpage__masthead-copy-inner {
		display: contents;
	}

	.akm-sg-subpage__masthead[data-akm-masthead-chapters-root] .akm-sg-subpage__masthead-widget--title {
		order: 1;
		width: 100%;
		box-sizing: border-box;
	}

	.akm-sg-subpage__masthead[data-akm-masthead-chapters-root] .akm-sg-subpage__masthead-visual {
		order: 2;
	}

	.akm-sg-subpage__masthead[data-akm-masthead-chapters-root] .akm-sg-subpage__masthead-widget--actions {
		order: 3;
		width: 100%;
		box-sizing: border-box;
	}
}

@media (min-width: 768px) {
	.akm-sg-subpage__masthead {
		display: block;
		position: relative;
		gap: 0;
	}

	.akm-sg-subpage__masthead-visual {
		width: 45%;
		max-width: 45%;
	}

	.akm-sg-subpage__masthead-copy {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: calc(45% + var(--akm-sg-masthead-gap));
		display: flex;
		flex-direction: column;
		min-height: 0;
	}

	.akm-sg-subpage__masthead-copy-inner {
		display: flex;
		flex-direction: column;
		flex: 1;
		height: 100%;
		min-height: 0;
		gap: calc(var(--akm-sg-masthead-gap) * 0.75);
	}

	/* Top intro widget ~20%, actions widget ~80% of column height (gap excluded). */
	.akm-sg-subpage__masthead-copy-inner > .akm-sg-subpage__masthead-widget:first-child {
		flex: 2 1 0;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Title banner: compact height, no scroll — actions column absorbs remaining space. */
	.akm-sg-subpage__masthead-copy-inner > .akm-sg-subpage__masthead-widget:first-child.akm-sg-subpage__masthead-widget--title {
		flex: 0 0 auto;
		overflow: visible;
		min-height: 0;
	}

	.akm-sg-subpage__masthead-copy-inner > .akm-sg-subpage__masthead-widget--actions {
		flex: 8 1 0;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	/* Students: title strip is heading-only — give the chapter widget all remaining height. */
	.akm-sg-subpage__masthead-copy-inner > .akm-sg-subpage__masthead-widget--title ~ .akm-sg-subpage__masthead-widget--actions {
		flex: 1 1 0;
	}

	.akm-sg-subpage__masthead-copy-inner:has(> .akm-sg-subpage__masthead-widget--title) {
		gap: 0.525rem;
	}
}

.akm-sg-subpage__masthead-copy .akm-sg-main__audience-heading {
	text-align: left;
	margin: 0 0 0.65rem;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
	color: #193852;
}

.akm-sg-subpage__masthead-copy .akm-sg-main__audience-intro,
.akm-sg-subpage__masthead-copy .akm-sg-subpage__body {
	text-align: left;
	margin: 0 0 1rem;
	max-width: 36rem;
	font-size: 1rem;
	line-height: 1.6;
	color: #475569;
}

.akm-sg-subpage__masthead-copy .akm-sg-subpage__masthead-widget--title .akm-sg-main__audience-heading {
	margin: 0;
	flex: 0 1 auto;
	min-width: 0;
	font-size: clamp(2rem, 5vw, 2.8rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-align: left;
	color: #fff;
}

.akm-sg-subpage__masthead-widget .akm-sg-subpage__body:last-of-type {
	margin-bottom: 0;
}

.akm-sg-subpage__body:last-of-type {
	margin-bottom: 1.35rem;
}

.akm-sg-subpage__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: center;
}

.akm-sg-subpage__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.65rem 1.25rem;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.akm-sg-subpage__btn--primary {
	background: #0d6efd;
	color: #fff;
	box-shadow: 0 4px 14px rgba(13, 110, 253, 0.35);
}

.akm-sg-subpage__btn--primary:hover,
.akm-sg-subpage__btn--primary:focus-visible {
	background: #0b5ed7;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(13, 110, 253, 0.4);
}

.akm-sg-subpage__btn--ghost {
	background: #fff;
	color: #193852;
	border: 1px solid rgba(25, 56, 82, 0.18);
}

.akm-sg-subpage__btn--ghost:hover,
.akm-sg-subpage__btn--ghost:focus-visible {
	border-color: rgba(13, 110, 253, 0.45);
	color: #0d6efd;
	text-decoration: none;
}

.akm-sg-schools__hero {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(1rem, 2.3vw, 1.75rem);
}

.akm-sg-schools__hero-panel {
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	padding: clamp(1rem, 2.6vw, 1.75rem);
}

.akm-sg-schools__hero-panel--content {
	display: grid;
	grid-template-rows: minmax(12rem, 30%) 1fr;
	padding: 0;
	overflow: hidden;
	background: linear-gradient(180deg, #f8fbff 0%, #f2f7ff 100%);
}

.akm-sg-schools__hero-panel--form {
	background: #fff;
}

.akm-sg-schools__form-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-height: 0;
}

.akm-sg-schools__form-scroll {
	min-height: 0;
}

.akm-sg-schools__media {
	position: relative;
	min-height: 12rem;
	width: 100%;
	border-bottom: 1px solid rgba(148, 163, 184, 0.24);
	background: #dbeafe;
}

.akm-sg-schools__media-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.akm-sg-schools__content-body {
	padding: clamp(1rem, 2.6vw, 1.5rem);
}

.akm-sg-schools__eyebrow {
	display: inline-block;
	margin: 0 0 0.5rem;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #1d4ed8;
}

.akm-sg-schools__points-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.75rem;
}

.akm-sg-schools__point {
	padding: 0.85rem 0.9rem;
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.akm-sg-schools__point-title {
	margin: 0 0 0.35rem;
	font-size: 0.98rem;
	line-height: 1.3;
	color: #193852;
}

.akm-sg-schools__point-copy {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #475569;
}

.akm-sg-schools__list {
	margin: 0;
	padding-left: 1.1rem;
	display: grid;
	gap: 0.65rem;
	color: #334155;
}

.akm-sg-schools__list li {
	font-size: 0.98rem;
	line-height: 1.55;
}

.akm-sg-schools__form-heading {
	margin: 0;
	font-size: clamp(1.3rem, 2.2vw, 1.6rem);
	line-height: 1.2;
	color: #193852;
}

.akm-sg-schools__form-intro {
	margin: 0.5rem 0 1rem;
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.5;
}

.akm-sg-schools__form-feedback {
	margin-bottom: 0.85rem;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	font-size: 0.88rem;
	line-height: 1.4;
}

.akm-sg-schools__form-feedback.is-success {
	background: #ecfdf5;
	border: 1px solid #86efac;
	color: #166534;
}

.akm-sg-schools__form-feedback.is-error {
	background: #fef2f2;
	border: 1px solid #fca5a5;
	color: #991b1b;
}

.akm-sg-schools__form {
	display: grid;
	gap: 0.45rem;
}

.akm-sg-schools__label {
	margin-top: 0.25rem;
	font-size: 0.84rem;
	font-weight: 600;
	color: #334155;
}

.akm-sg-schools__input,
.akm-sg-schools__textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 0.65rem 0.7rem;
	font-size: 0.95rem;
	line-height: 1.4;
	color: #0f172a;
	background: #fff;
}

.akm-sg-schools__input:focus,
.akm-sg-schools__textarea:focus {
	outline: 2px solid rgba(37, 99, 235, 0.25);
	outline-offset: 1px;
	border-color: #60a5fa;
}

.akm-sg-schools__textarea {
	resize: vertical;
	min-height: 7rem;
}

.akm-sg-schools__submit {
	margin-top: 0.6rem;
	width: 100%;
}

@media (min-width: 992px) {
	.akm-sg-schools__hero {
		grid-template-columns: 1.1fr 0.9fr;
		/* Sticky column must not stretch to row height */
		align-items: start;
	}

	.akm-sg-schools__point {
		padding: 0.9rem 0.95rem;
	}

	/* Full-viewport sticky contact panel while scrolling long left column */
	.akm-sg-schools__hero-panel--form {
		position: sticky;
		top: max(1rem, env(safe-area-inset-top, 0px));
		align-self: start;
		width: 100%;
		height: 100vh;
		height: 100dvh;
		max-height: 100vh;
		max-height: 100dvh;
		min-height: 100vh;
		min-height: 100dvh;
		padding: 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}

	.akm-sg-schools__form-inner {
		flex: 1 1 auto;
		min-height: 0;
		padding: clamp(1rem, 2.6vw, 1.75rem);
		overflow: hidden;
	}

	.akm-sg-schools__form-heading,
	.akm-sg-schools__form-intro,
	.akm-sg-schools__form-feedback {
		flex-shrink: 0;
	}

	.akm-sg-schools__form-scroll {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior: contain;
		scrollbar-gutter: stable;
	}
}

@media (min-width: 1200px) {
	.akm-sg-schools__points-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Learning cycle */

.akm-sg-cycle {
	margin-top: var(--akm-sg-section-gap);
	margin-bottom: var(--akm-sg-section-gap);
}

.akm-sg-cycle__heading {
	margin-bottom: 0.5rem;
}

.akm-sg-cycle__intro {
	text-align: center;
	color: #475569;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 auto 2rem;
	max-width: 36rem;
}

.akm-sg-cycle__wrap {
	max-width: 90rem;
	margin: 0 auto;
}

/* Steps list */
.akm-sg-cycle__track {
	display: flex;
	flex-direction: column;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.akm-sg-cycle__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(0.5625rem * 1.2);
	text-align: center;
}

/* Icon badge */
.akm-sg-cycle__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 5.4375rem;
	height: 5.4375rem;
	border-radius: 999px;
	font-size: 1.75rem;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.akm-sg-cycle__step:hover .akm-sg-cycle__badge {
	transform: scale(1.1);
}

/* Per-step badge colours */
.akm-sg-cycle__step--1 .akm-sg-cycle__badge {
	background: rgba(37, 99, 235, 0.14);
	color: #1d4ed8;
}

.akm-sg-cycle__step--2 .akm-sg-cycle__badge {
	background: rgba(124, 58, 237, 0.14);
	color: #6d28d9;
}

.akm-sg-cycle__step--3 .akm-sg-cycle__badge {
	background: rgba(234, 88, 12, 0.14);
	color: #c2410c;
}

.akm-sg-cycle__step--4 .akm-sg-cycle__badge {
	background: rgba(5, 150, 105, 0.14);
	color: #047857;
}

.akm-sg-cycle__step--5 .akm-sg-cycle__badge {
	background: rgba(6, 182, 212, 0.14);
	color: #0e7490;
}

.akm-sg-cycle__step--6 .akm-sg-cycle__badge {
	background: rgba(168, 85, 247, 0.16);
	color: #7e22ce;
}

/* Step labels */
.akm-sg-cycle__label {
	font-size: 1.2rem;
	font-weight: 700;
	color: #193852;
	line-height: 1.25;
	max-width: 100%;
}

.akm-sg-cycle__sublabel {
	font-size: 1rem;
	color: #64748b;
	line-height: 1.35;
	max-width: 100%;
}

/* Arrow connector between steps (one icon: down on mobile, right on desktop) */
.akm-sg-cycle__connector {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #f5a925;
}

.akm-sg-cycle__connector-arrow {
	display: block;
	padding: 0.4375rem 0;
	font-size: 2.71875rem;
	line-height: 1;
	transform: rotate(90deg);
}

/* Return arc (desktop only) */
.akm-sg-cycle__arc {
	display: none;
}

.akm-sg-cycle__repeat-mobile {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5625rem;
	margin: 0.3125rem 0 0;
	color: #94a3b8;
	font-size: 1rem;
	font-weight: 500;
}

/* Desktop layout */
@media (min-width: 768px) {
	.akm-sg-cycle__track {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
	}

	.akm-sg-cycle__step {
		flex: 0 0 12.1875rem;
		width: 12.1875rem;
		max-width: 13.75rem;
	}

	.akm-sg-cycle__connector {
		flex: 1 1 auto;
		padding-top: 2.71875rem;
		min-width: 1.25rem;
	}

	.akm-sg-cycle__connector-arrow {
		padding: 0;
		transform: none;
	}

	/* Return arc */
	.akm-sg-cycle__arc {
		display: block;
		position: relative;
		/* half of step column width — arc ends under badge centres */
		margin: 0.625rem 6.09375rem 0;
		height: 2.5rem;
		border: 5px dashed #f5a925;
		border-top: none;
		border-radius: 0 0 18px 18px;
	}

	.akm-sg-cycle__repeat-mobile {
		display: none;
	}
}

/* Teachers cycle has 6 steps; reduce icon/column footprint to prevent overflow. */
@media (min-width: 768px) {
	.akm-sg-cycle[aria-labelledby="akm-sg-teachers-cycle-heading"] .akm-sg-cycle__step {
		flex: 0 0 9.25rem;
		width: 9.25rem;
		max-width: 10rem;
	}

	.akm-sg-cycle[aria-labelledby="akm-sg-teachers-cycle-heading"] .akm-sg-cycle__badge {
		width: 4.25rem;
		height: 4.25rem;
		font-size: 1.45rem;
	}

	.akm-sg-cycle[aria-labelledby="akm-sg-teachers-cycle-heading"] .akm-sg-cycle__label {
		font-size: 1.2rem;
	}

	.akm-sg-cycle[aria-labelledby="akm-sg-teachers-cycle-heading"] .akm-sg-cycle__sublabel {
		font-size: 1rem;
	}

	.akm-sg-cycle[aria-labelledby="akm-sg-teachers-cycle-heading"] .akm-sg-cycle__connector {
		padding-top: 2.1rem;
	}

	.akm-sg-cycle[aria-labelledby="akm-sg-teachers-cycle-heading"] .akm-sg-cycle__connector-arrow {
		font-size: 2.1rem;
	}
}

/* SG marketing subpages: keep all in-main titles on brand navy (beats theme h1/h2 defaults) */
body.akademi-sg-subpage main#main .akm-sg-main__audience-heading:not(#akm-sg-students-heading):not(#akm-sg-teachers-heading),
body.akademi-sg-subpage main#main h2.akm-sg-main__feature-heading,
body.akademi-sg-subpage main#main h2.akm-sg-main__packages-heading,
body.akademi-sg-subpage main#main .akm-sg-main__feature-widget-card .akm-sg-main__card-heading,
body.akademi-sg-subpage main#main .akm-sg-cycle__label {
	color: #193852;
}

body.akademi-sg-subpage main#main .akm-sg-subpage__masthead-widget--title .akm-sg-main__audience-heading,
body.akademi-sg-subpage main#main #akm-sg-students-heading,
body.akademi-sg-subpage main#main #akm-sg-teachers-heading {
	color: #fff !important;
}
