:root {
	--brand-primary: #3f5bf6;
	--brand-primary-dark: #2f46c7;
	--brand-accent: #12b886;
	--brand-ink: #152033;
	--brand-muted: #667085;
	--brand-surface: #f5f7fb;
	--brand-border: #e6e9f0;
	--brand-soft: #eef2ff;
}

html { scroll-behavior: smooth; }

:focus-visible {
	outline: 3px solid #0b57d0;
	outline-offset: 3px;
}

body {
	color: var(--brand-ink);
	background: #fff;
	font-family: system-ui, sans-serif;
}

code {
	padding: 3px 7px;
	border-radius: 5px;
	background: #eef2f6;
}

/* SITE FOOTER */
.site-footer { padding: 4rem 0 1.5rem; background: var(--brand-surface); }
.site-footer-grid {
	display: grid;
	grid-template-columns: minmax(14rem, 1.45fr) repeat(5, minmax(7rem, 1fr));
	gap: 2rem;
}
.site-footer-brand a { color: var(--brand-ink); }
.site-footer-brand p { max-width: 19rem; margin: 1rem 0 0; color: var(--brand-muted); font-size: .9rem; line-height: 1.6; }
.site-footer-heading { margin-bottom: 1rem; color: var(--brand-ink); font-size: .82rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.site-footer nav ul { display: grid; gap: .65rem; padding: 0; margin: 0; list-style: none; }
.site-footer nav a { color: var(--brand-muted); font-size: .9rem; text-decoration: none; }
.site-footer nav a:hover { color: var(--brand-primary); text-decoration: underline; text-underline-offset: .2rem; }
.site-footer-bottom { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--brand-border); }

.navbar {
	backdrop-filter: blur(12px);
	background: rgba(255,255,255,.9) !important;
}

.navbar .nav-learning-toggle { border: 0; background: transparent; }
.navbar .nav-learning-menu {
	min-width: 17rem;
	padding: .5rem;
	border-color: var(--brand-border);
	border-radius: .9rem;
	box-shadow: 0 1rem 2.5rem rgba(30, 41, 59, .12);
}
.navbar .nav-learning-menu .dropdown-item { display: grid; gap: .15rem; padding: .7rem .8rem; border-radius: .6rem; }
.navbar .nav-learning-menu .dropdown-item span { color: var(--brand-muted); font-size: .78rem; }
.navbar .nav-learning-menu .dropdown-item.active span { color: rgba(255,255,255,.78); }
.navbar .nav-teams-link {
	padding-inline: .8rem !important;
	color: var(--brand-primary);
	background: var(--brand-soft);
	border-radius: .6rem;
	font-weight: 700;
}
.navbar .nav-teams-link:hover,
.navbar .nav-teams-link.active { color: #fff; background: var(--brand-primary); }

.navbar-brand-mark {
	width: 2rem;
	height: 2rem;
	display: inline-grid;
	place-items: center;
	border-radius: .65rem;
	background: var(--brand-primary);
	color: #fff;
	font-weight: 800;
}

/* Keep standard page content clear of the fixed primary navigation. */
.fixed-nav-page {
	margin-top: 3.75rem;
}

.btn-brand {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--brand-primary);
	--bs-btn-border-color: var(--brand-primary);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--brand-primary-dark);
	--bs-btn-hover-border-color: var(--brand-primary-dark);
}

.section-pad { padding: 5.5rem 0; }

.section-kicker {
	color: var(--brand-primary);
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	font-size: .78rem;
}

.section-lead {
	color: var(--brand-muted);
	max-width: 48rem;
}

/* HERO */
.hero {
	padding: 7.5rem 0 4.5rem;
	background:
	radial-gradient(circle at 82% 22%, rgba(63, 91, 246, .16), transparent 28rem),
	linear-gradient(180deg, #fff 0%, var(--brand-surface) 100%);
	overflow: hidden;
	margin-top: 56px; /* Offset for fixed navbar */
}

.hero h1 {
	max-width: 10ch;
	letter-spacing: -.05em;
}

.hero-copy {
	max-width: 42rem;
	color: var(--brand-muted);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	border: 1px solid var(--brand-border);
	border-radius: 999px;
	padding: .42rem .8rem;
	background: rgba(255,255,255,.9);
	font-size: .85rem;
	font-weight: 700;
}

.hero-visual {
	position: relative;
	min-height: 520px;
}

.hero-main-image {
	width: 78%;
	height: 460px;
	object-fit: cover;
	border-radius: 1.6rem;
	display: block;
	margin-left: auto;
	box-shadow: 0 2rem 4rem rgba(30, 41, 59, .14);
}

.hero-secondary-image {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 42%;
	height: 220px;
	object-fit: cover;
	border-radius: 1.3rem;
	border: .45rem solid #fff;
	box-shadow: 0 1.25rem 3rem rgba(30, 41, 59, .14);
}

.hero-stat-card {
	position: absolute;
	right: 0;
	bottom: 1.5rem;
	width: 52%;
	border: 1px solid var(--brand-border);
	border-radius: 1.25rem;
	background: rgba(255,255,255,.95);
	box-shadow: 0 1rem 2.5rem rgba(30, 41, 59, .10);
}

.metric + .metric { border-left: 1px solid var(--brand-border); }

/* HOMEPAGE TEAMS */
.home-teams-section { padding-top: 0; }
.home-teams-panel {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(20rem, .92fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	padding: clamp(2rem, 5vw, 4.5rem);
	color: #fff;
	background: linear-gradient(135deg, #15245f 0%, var(--brand-primary-dark) 62%, #263ba9 100%);
	border-radius: 1.75rem;
	overflow: hidden;
}
.home-teams-content { position: relative; z-index: 1; }
.home-teams-content .section-kicker { color: #bfc9ff; }
.home-teams-content .lead { color: rgba(255,255,255,.82); max-width: 42rem; }
.home-teams-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; padding: 0; margin: 0; list-style: none; }
.home-teams-benefits li { padding: 1rem; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: .85rem; }
.home-teams-benefits strong,
.home-teams-benefits span { display: block; }
.home-teams-benefits span { margin-top: .3rem; color: rgba(255,255,255,.72); font-size: .86rem; line-height: 1.45; }
.home-teams-secondary-link { color: #fff; font-weight: 700; text-decoration: none; }
.home-teams-secondary-link:hover { color: #fff; text-decoration: underline; }
.home-teams-price { color: rgba(255,255,255,.7); }
.home-teams-visual { position: relative; }
.home-teams-visual img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: rgba(255,255,255,.08); border-radius: 1.25rem; }
.home-teams-proof { position: absolute; right: -.25rem; bottom: 1rem; display: grid; padding: .85rem 1rem; color: var(--brand-ink); background: rgba(255,255,255,.95); border-radius: .75rem; box-shadow: 0 1rem 2.5rem rgba(10,18,55,.24); }
.home-teams-proof span { color: var(--brand-muted); font-size: .75rem; }

/* SERVICES */
.services-shell {
	border: 1px solid var(--brand-border);
	border-radius: 1.75rem;
	overflow: hidden;
	background: #fff;
}

.service-card {
	height: 100%;
	padding: 2rem;
	border-right: 1px solid var(--brand-border);
	border-bottom: 1px solid var(--brand-border);
}

.service-icon {
	width: 3rem;
	height: 3rem;
	display: inline-grid;
	place-items: center;
	border-radius: .9rem;
	background: var(--brand-soft);
	color: var(--brand-primary);
	font-weight: 800;
}

.services-image {
	width: 100%;
	height: 100%;
	min-height: 420px;
	object-fit: cover;
}

/* EXAMS */
.exam-row {
	border: 1px solid var(--brand-border);
	border-radius: 1.5rem;
	overflow: hidden;
	background: #fff;
}

.exam-row + .exam-row { margin-top: 1.5rem; }

.exam-image {
	width: 100%;
	height: 100%;
	min-height: 330px;
	object-fit: cover;
}

.exam-content {
	padding: 2rem;
}

.exam-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}

.exam-pill {
	display: inline-flex;
	align-items: center;
	padding: .38rem .7rem;
	border-radius: 999px;
	background: var(--brand-surface);
	color: var(--brand-muted);
	font-size: .82rem;
	font-weight: 700;
}

/* FEATURED PAGES */
.feature-grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr 1fr;
	grid-template-rows: 260px 260px;
	gap: 1rem;
}

.feature-card {
	position: relative;
	overflow: hidden;
	border-radius: 1.4rem;
	min-height: 100%;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}

.feature-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	transition: transform .35s ease;
}

.feature-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%);
	z-index: -1;
}

.feature-card:hover img { transform: scale(1.035); }

.feature-card:focus-visible img { transform: scale(1.035); }

.feature-card-lg { grid-row: 1 / span 2; }

.feature-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.5rem;
}

.feature-card-lg .feature-content { padding: 2rem; }

/* CTA */
.cta-panel {
	border-radius: 1.6rem;
	background: var(--brand-ink);
	color: #fff;
}

footer { border-top: 1px solid var(--brand-border); }

/* ABOUT PAGE */
.about-page { margin-top: 3.5rem; }

.about-hero {
	padding: clamp(3.5rem, 7vw, 6rem) 0;
	background:
		radial-gradient(circle at 88% 10%, rgba(63, 91, 246, .13), transparent 25rem),
		linear-gradient(180deg, #fff 0%, var(--brand-surface) 100%);
	border-bottom: 1px solid var(--brand-border);
}

.about-hero-copy h1 {
	max-width: 12ch;
	letter-spacing: -.04em;
}

.about-hero-copy .lead {
	max-width: 38rem;
	color: var(--brand-muted);
}

.about-hero-visual {
	padding: .65rem;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 1.5rem;
	box-shadow: 0 1.5rem 3.5rem rgba(30, 41, 59, .12);
}

.about-hero-visual img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 1rem;
}

.about-story > p { max-width: 46rem; }

.about-principles {
	display: grid;
	gap: .75rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.about-principles li {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 1rem;
	align-items: baseline;
	padding: 1rem 1.15rem;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: .9rem;
}

.about-principles strong { color: var(--brand-primary); }
.about-principles span { color: var(--brand-muted); }

.about-offerings {
	background: var(--brand-surface);
	border-block: 1px solid var(--brand-border);
}

.about-section-heading { max-width: 48rem; }

.about-offering-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: clamp(1.5rem, 4vw, 2.5rem);
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 1.25rem;
	box-shadow: 0 .75rem 2rem rgba(30, 41, 59, .05);
}

.about-offering-number {
	display: inline-grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 1.5rem;
	color: var(--brand-primary);
	background: var(--brand-soft);
	border-radius: .85rem;
	font-weight: 800;
}

.about-service-list {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	padding: 0;
	margin: .25rem 0 1.5rem;
	list-style: none;
}

.about-service-list li {
	padding: .45rem .7rem;
	color: var(--brand-ink);
	background: var(--brand-surface);
	border: 1px solid var(--brand-border);
	border-radius: 999px;
	font-size: .85rem;
	font-weight: 600;
}

.about-founder-card {
	display: grid;
	grid-template-columns: minmax(16rem, 20rem) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 6vw, 5rem);
	max-width: 64rem;
	padding: clamp(1rem, 3vw, 1.5rem);
	margin-inline: auto;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 1.5rem;
	box-shadow: 0 1.25rem 3rem rgba(30, 41, 59, .09);
}

.about-founder-portrait {
	width: 100%;
	max-width: 20rem;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 1.1rem;
}

.about-founder-portrait img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 28%;
}

.about-founder-copy { padding-right: clamp(.5rem, 3vw, 2rem); }
.about-founder-copy > p { max-width: 35rem; }

.about-founder-role {
	margin-bottom: 1.25rem;
	color: var(--brand-primary);
	font-weight: 700;
}

/* Resource discovery */
.resource-breadcrumb {
	margin-bottom: 2rem;
	max-width: 100%;
	overflow: hidden;
}

.resource-breadcrumb .breadcrumb {
	flex-wrap: nowrap;
	overflow: hidden;
}

.resource-breadcrumb .breadcrumb-item {
	min-width: 0;
	white-space: nowrap;
}

.resource-breadcrumb .breadcrumb-item.active {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.resource-hero,
.resource-list-header {
	max-width: 58rem;
	margin-bottom: 3rem;
}

.resource-search {
	max-width: 52rem;
	margin-bottom: 4rem;
	padding: 1.5rem;
	border: 1px solid var(--brand-border);
	border-radius: 1.25rem;
	background: var(--brand-surface);
}

.resource-section {
	padding-top: 2rem;
	margin-top: 2rem;
}

.category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.category-card {
	display: flex;
	flex-direction: column;
	gap: .55rem;
	min-height: 10rem;
	padding: 1.35rem;
	border: 1px solid var(--brand-border);
	border-radius: 1.15rem;
	background: #fff;
	color: var(--brand-ink);
	text-decoration: none;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.category-card:hover,
.category-card:focus-visible {
	border-color: var(--brand-primary);
	box-shadow: 0 .8rem 2rem rgba(30, 41, 59, .10);
	transform: translateY(-2px);
}

.category-card strong {
	font-size: 1.05rem;
}

.category-card > span:not(.category-card-count) {
	color: var(--brand-muted);
	font-size: .9rem;
}

.category-card-count {
	color: var(--brand-primary-dark);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.category-grid-compact .category-card {
	min-height: 7.5rem;
}

.resource-card {
	overflow: hidden;
	border: 1px solid var(--brand-border);
	border-radius: 1.25rem;
	background: #fff;
	box-shadow: 0 .4rem 1.25rem rgba(30, 41, 59, .06);
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.resource-card:hover {
	border-color: rgba(63, 91, 246, .5);
	box-shadow: 0 1rem 2.5rem rgba(30, 41, 59, .11);
	transform: translateY(-2px);
}

.resource-card-visual {
	display: grid;
	place-items: center;
	height: 190px;
	padding: 1rem;
	overflow: hidden;
	background: var(--brand-surface);
}

.resource-card-visual svg,
.resource-card-visual img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.resource-card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 1.35rem;
}

.resource-card-category {
	position: relative;
	z-index: 1;
	margin-bottom: .7rem;
	color: var(--brand-primary-dark);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-decoration: none;
	text-transform: uppercase;
}

.resource-card h3 {
	font-size: 1.15rem;
	line-height: 1.35;
}

.resource-card h3 a {
	color: var(--brand-ink);
	text-decoration: none;
}

.resource-card h3 a:hover {
	color: var(--brand-primary-dark);
	text-decoration: underline;
	text-underline-offset: .18em;
}

.resource-card p {
	color: var(--brand-muted);
	font-size: .94rem;
}

.resource-card time {
	margin-top: auto;
	color: var(--brand-muted);
	font-size: .82rem;
}

.empty-state {
	padding: 2rem;
	border: 1px dashed var(--brand-border);
	border-radius: 1.25rem;
	background: var(--brand-surface);
}

.resource-byline {
	line-height: 1.7;
}

.markdown-body {
	font-size: 1.1rem;
	line-height: 1.8;
}

.article-toc {
	margin-bottom: 2.5rem;
	padding: 1.25rem 1.5rem;
	border-left: 4px solid var(--brand-primary);
	border-radius: 0 1rem 1rem 0;
	background: var(--brand-surface);
}

.article-toc ol {
	display: grid;
	gap: .45rem;
	margin: .75rem 0 0;
	padding-left: 1.25rem;
}

.article-toc a {
	text-underline-offset: .18em;
}

.resource-faq details {
	border-top: 1px solid var(--brand-border);
}

.resource-faq details:last-child {
	border-bottom: 1px solid var(--brand-border);
}

.resource-faq summary {
	min-height: 3rem;
	padding: 1rem .25rem;
	cursor: pointer;
	font-weight: 750;
}

.faq-answer {
	padding: 0 .25rem 1rem;
	color: var(--brand-muted);
}

.faq-answer p:last-child {
	margin-bottom: 0;
}

.related-resources {
	padding-top: 4rem;
}

.related-resources .resource-card-visual {
	height: 150px;
}

.continue-learning-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	margin-top: 4rem;
	padding: 2rem;
	border: 1px solid var(--brand-border);
	border-radius: 1.4rem;
	background: var(--brand-surface);
}

.page-link,
.resource-article-footer .badge {
	min-height: 2rem;
	display: inline-flex;
	align-items: center;
}

/* Extra Page Wrappers */
.page-wrapper {
	margin-top: 80px;
	padding-top: 2rem;
	padding-bottom: 2rem;
	min-height: 60vh;
}

/* Auth Forms */
.auth-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 1.25rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.btn-danger {
    background-color: #d9534f;
	color: white;
	border: none;
}

.btn-danger:hover {
    background-color: #c9302c;
	color: white;
}

.auth-link {
    margin-top: 1rem;
}

/* Profile */
.profile-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 1.25rem;
}

.profile-details {
    margin-bottom: 2rem;
}

.danger-zone {
    border-top: 1px solid #ccc;
    padding-top: 2rem;
    margin-top: 2rem;
}

.danger-zone h3 {
    color: #d9534f;
}

/* Navigation Utilities */
.inline-form {
    display: inline;
}

.btn-link {
    background: none;
    border: none;
    color: var(--brand-ink);
    cursor: pointer;
    font: inherit;
    padding: .5rem 1rem;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: none;
	color: var(--brand-primary);
}

/* Featured Image on Pages */
.featured-image-container {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 auto;
	width: 100%;
}

.featured-image-container svg,
.featured-image-container img {
	max-width: 100%;
	max-height: 400px;
	height: auto;
	width: auto;
	object-fit: contain;
}

/* SVG Rendering */
.svg-container svg, .section-gallery svg {
    width: 100%;
    height: auto;
    max-height: 550px;
    display: block;
    margin: 0 auto;
}

/* Card image constraints */
.card-img-top svg {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Markdown Tables */
.markdown-body table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
	width: 100%;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}

.markdown-body th,
.markdown-body td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid var(--brand-border);
}

.markdown-body thead th {
    vertical-align: bottom;
    border-bottom: 2px solid var(--brand-border);
    background-color: var(--brand-soft);
    font-weight: 600;
}

.markdown-body tbody + tbody {
    border-top: 2px solid var(--brand-border);
}

.markdown-body table tr:nth-child(2n) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Teams learning workspace */
.team-workspace-page { max-width: 86rem; }

.team-page-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(16rem, .65fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 5rem);
	padding: clamp(1.5rem, 4vw, 3.5rem);
	background: linear-gradient(135deg, var(--brand-soft), #fff);
	border: 1px solid var(--brand-border);
	border-radius: 1.5rem;
	overflow: hidden;
}

.team-page-hero img {
	width: 100%;
	max-height: 18rem;
	object-fit: contain;
}

.section-kicker {
	color: var(--brand-primary);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.learning-builder-grid,
.assignment-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(20rem, .55fr);
	gap: 2rem;
	align-items: start;
}

.learning-catalog,
.learning-selection-sticky,
.assignment-review {
	padding: clamp(1rem, 3vw, 1.5rem);
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: 1.25rem;
}

.learning-selection-sticky,
.assignment-review { position: sticky; top: 6.5rem; }

.catalog-results,
.assignment-choice-grid {
	display: grid;
	gap: .85rem;
}

.assignment-choice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.catalog-item,
.assignment-choice {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem;
	background: #fff;
	border: 1px solid var(--brand-border);
	border-radius: .9rem;
}

.assignment-choice { flex-direction: column; }
.assignment-choice > div { flex: 1; }
.assignment-choice.is-selected { border-color: var(--brand-primary); box-shadow: 0 0 0 3px rgba(33, 91, 77, .12); }
.catalog-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.catalog-meta { display: flex; flex-wrap: wrap; gap: .4rem .85rem; color: var(--bs-secondary-color); font-size: .8rem; }
.catalog-competencies { color: var(--brand-primary); margin-top: .65rem; }

.selected-learning-items { display: grid; gap: .75rem; }
.selected-learning-item { padding: .9rem; background: var(--brand-soft); border: 1px solid var(--brand-border); border-radius: .8rem; }
.selected-learning-item .btn-group { flex-wrap: wrap; justify-content: flex-end; }
.learning-summary { display: flex; flex-wrap: wrap; gap: .5rem; }
.learning-summary span { padding: .35rem .6rem; background: var(--brand-soft); border-radius: 999px; font-size: .8rem; }

.assignment-step {
	display: inline-grid;
	flex: 0 0 auto;
	place-items: center;
	width: 2rem;
	height: 2rem;
	background: var(--brand-primary);
	color: #fff;
	border-radius: 50%;
	font-weight: 700;
}

.recipient-list { display: grid; max-height: 22rem; overflow-y: auto; border: 1px solid var(--brand-border); border-radius: .75rem; }
.recipient-row { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem 1rem; cursor: pointer; }
.recipient-row + .recipient-row { border-top: 1px solid var(--brand-border); }
.recipient-row:hover { background: var(--brand-soft); }
.assignment-selected { min-height: 8rem; padding: 1rem; background: var(--brand-soft); border-radius: .85rem; }
.callout-card { padding: 1rem; background: var(--brand-soft); border-left: .25rem solid var(--brand-primary); border-radius: .5rem; }

.matrix-overview,
.gap-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.matrix-overview article,
.gap-card { padding: 1.25rem; background: #fff; border: 1px solid var(--brand-border); border-radius: 1rem; }
.matrix-overview span,
.matrix-overview small { display: block; color: var(--bs-secondary-color); }
.matrix-overview strong { display: block; margin: .25rem 0; color: var(--brand-ink); font-size: 2rem; }
.gap-card { display: flex; flex-direction: column; }
.gap-stat-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.gap-stat-row span { padding: .4rem .6rem; background: var(--brand-soft); border-radius: .5rem; font-size: .8rem; }
.gap-card .btn { align-self: flex-start; margin-top: auto !important; }
.matrix-empty { display: flex; align-items: center; justify-content: center; gap: 2rem; text-align: left; }
.matrix-empty img { width: min(15rem, 35%); max-height: 11rem; object-fit: contain; }
.matrix-table th { white-space: nowrap; }

/* ACHIEVEMENT CERTIFICATE */
.achievement-page { padding: 4.5rem 0 5.5rem; background: linear-gradient(180deg, var(--brand-surface), #fff 28rem); overflow: hidden; }
.achievement-celebration { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: 3rem; }
.achievement-celebration-copy { max-width: 45rem; }
.achievement-video-frame { position: relative; overflow: hidden; min-height: 15rem; background: #15245f; border-radius: 1.35rem; box-shadow: 0 1.5rem 3.5rem rgba(30, 41, 59, .16); }
.achievement-video-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.achievement-video-frame > span { position: absolute; left: 1rem; bottom: 1rem; padding: .5rem .75rem; color: #fff; background: rgba(21,32,51,.82); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.achievement-certificate { position: relative; max-width: 70rem; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.5rem); background: #fff; border: 1px solid #d8deeb; border-radius: 1.5rem; box-shadow: 0 2rem 5rem rgba(30,41,59,.12); isolation: isolate; }
.achievement-certificate::before { content: ""; position: absolute; inset: .65rem; z-index: -1; border: 1px solid #d7b15a; border-radius: 1.05rem; pointer-events: none; }
.achievement-certificate-brand { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--brand-border); }
.achievement-issuer-link { display: inline-flex; align-items: center; gap: .75rem; color: var(--brand-ink); text-decoration: none; }
.achievement-issuer-link span,
.achievement-issuer-link strong,
.achievement-issuer-link small { display: block; }
.achievement-issuer-link small { color: var(--brand-muted); }
.achievement-verified { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .75rem; color: #146c43; background: #eaf8f1; border-radius: 999px; font-size: .82rem; font-weight: 800; }
.achievement-verified > span { display: grid; place-items: center; width: 1.2rem; height: 1.2rem; color: #fff; background: #198754; border-radius: 50%; }
.achievement-certificate-body { max-width: 52rem; margin: 0 auto; padding: 3.25rem 0 2.75rem; text-align: center; }
.achievement-exam-mark { width: 8rem; height: 5.5rem; margin: 0 auto 1.25rem; overflow: hidden; }
.achievement-exam-mark svg { width: 100%; height: 100%; }
.achievement-certificate-label { margin-bottom: 1rem; color: #a7791e; font-family: Georgia, serif; font-size: clamp(1.7rem, 4vw, 2.7rem); font-weight: 700; letter-spacing: .03em; }
.achievement-certificate-body h2 { color: var(--brand-muted); font-size: .9rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.achievement-recipient { margin: .75rem 0 1.25rem; color: var(--brand-ink); font-family: Georgia, serif; font-size: clamp(2rem, 6vw, 3.6rem); font-weight: 700; line-height: 1.08; }
.achievement-statement { margin-bottom: .65rem; color: var(--brand-muted); }
.achievement-certificate-body h3 { max-width: 42rem; margin: 0 auto; font-size: clamp(1.35rem, 3vw, 2rem); }
.achievement-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2.5rem 0 0; padding: 1.25rem; background: var(--brand-surface); border-radius: 1rem; }
.achievement-details div { padding: .35rem 1rem; }
.achievement-details div + div { border-left: 1px solid var(--brand-border); }
.achievement-details dt { color: var(--brand-muted); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.achievement-details dd { margin: .3rem 0 0; color: var(--brand-ink); font-size: 1.05rem; font-weight: 800; }
.achievement-certificate-footer { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--brand-border); }
.achievement-certificate-footer > div:first-child span,
.achievement-certificate-footer > div:first-child strong { display: block; }
.achievement-certificate-footer > div:first-child span { color: var(--brand-muted); font-size: .75rem; text-transform: uppercase; }
.achievement-verification-note { display: flex; align-items: center; gap: .7rem; max-width: 23rem; }
.achievement-verification-note > span { display: grid; place-items: center; flex: 0 0 auto; width: 2rem; height: 2rem; color: #fff; background: var(--brand-primary); border-radius: 50%; font-weight: 800; }
.achievement-verification-note p,
.achievement-verification-note strong,
.achievement-verification-note p span { display: block; margin: 0; }
.achievement-verification-note p span { color: var(--brand-muted); font-size: .78rem; }
.achievement-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, 1fr); gap: clamp(2rem, 5vw, 5rem); max-width: 70rem; margin: 2rem auto 0; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--brand-soft); border: 1px solid var(--brand-border); border-radius: 1.25rem; }
.achievement-share-panel { display: grid; gap: 1rem; align-content: start; }
.achievement-share-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.share-link { display: flex; align-items: center; gap: .6rem; padding: .7rem .8rem; color: var(--brand-ink); background: #fff; border: 1px solid var(--brand-border); border-radius: .7rem; font-weight: 700; text-decoration: none; }
.share-link:hover { color: var(--brand-primary); border-color: var(--brand-primary); }
.share-link > span { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; color: #fff; background: var(--brand-ink); border-radius: .4rem; font-size: .75rem; font-weight: 800; }
.share-link-linkedin > span { background: #0a66c2; }
.share-link-facebook > span { background: #1877f2; }
.share-link-x > span { background: #000; }
.share-link-bluesky > span { background: #1689e8; }
.achievement-utility-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.achievement-action-status { min-height: 1.25rem; color: #146c43; font-weight: 700; }

/* Teams conversion and onboarding journey */
.teams-landing { overflow: hidden; }
.teams-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .95fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; min-height: min(50rem, 88vh); padding-top: 4rem; padding-bottom: 5rem; }
.teams-hero-visual { position: relative; }
.teams-hero-visual > img,
.teams-section-image { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.teams-proof-card { position: absolute; right: 0; bottom: 1rem; display: grid; gap: .2rem; padding: 1rem 1.25rem; background: #fff; border: 1px solid var(--brand-border); border-radius: 1rem; box-shadow: 0 1rem 3rem rgba(21, 39, 34, .14); }
.teams-proof-card span { color: var(--bs-secondary-color); font-size: .8rem; }
.teams-feature-icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; margin-bottom: 1.25rem; color: #fff; background: var(--brand-primary); border-radius: .7rem; font-weight: 700; }
.teams-steps { list-style: none; padding: 0; margin: 2rem 0 0; counter-reset: steps; }
.teams-steps li { position: relative; display: grid; gap: .2rem; padding: 0 0 1.5rem 3.5rem; counter-increment: steps; }
.teams-steps li::before { content: counter(steps); position: absolute; left: 0; display: grid; place-items: center; width: 2.35rem; height: 2.35rem; color: #fff; background: var(--brand-primary); border-radius: 50%; font-weight: 700; }
.teams-steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.15rem; top: 2.5rem; bottom: .15rem; border-left: 2px solid var(--brand-border); }
.teams-steps span { color: var(--bs-secondary-color); }
.teams-pricing-section { background: linear-gradient(135deg, var(--brand-soft), #fff); }
.teams-price-breakdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.teams-price-breakdown div { padding: 1rem; background: #fff; border: 1px solid var(--brand-border); border-radius: .8rem; }
.teams-price-breakdown span,
.teams-price-breakdown small { display: block; color: var(--bs-secondary-color); }
.teams-price-breakdown strong { display: block; margin: .25rem 0; font-size: 1.35rem; }
.teams-check-list { display: grid; gap: .65rem; padding: 0; list-style: none; }
.teams-check-list li { position: relative; padding-left: 1.7rem; }
.teams-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-primary); font-weight: 800; }
.teams-final-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: clamp(2rem, 5vw, 4rem); background: var(--brand-soft); border: 1px solid var(--brand-border); border-radius: 1.5rem; }
.team-link-card { transition: border-color .2s ease, transform .2s ease; }
.team-link-card:hover { border-color: var(--brand-primary); transform: translateY(-2px); }

/* Teams checkout */
.team-checkout-page { max-width: 74rem; }
.checkout-back a { display: inline-flex; align-items: center; gap: .65rem; color: var(--brand-ink); font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.checkout-back a span { font-size: 2rem; font-weight: 400; line-height: .75; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(20rem, .9fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.checkout-payment-panel { padding-top: 1rem; }
.checkout-seat-card { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin: 2rem 0 1.25rem; padding: 1.25rem; border: 1px solid var(--brand-border); border-radius: 1rem; background: #fff; }
.seat-stepper { display: grid; grid-template-columns: 2.75rem 5rem 2.75rem; align-items: stretch; }
.seat-stepper button { border: 1px solid var(--brand-border); background: var(--brand-soft); color: var(--brand-ink); font-size: 1.25rem; font-weight: 700; }
.seat-stepper button:first-child { border-radius: .65rem 0 0 .65rem; }
.seat-stepper button:last-child { border-radius: 0 .65rem .65rem 0; }
.seat-stepper input { border-radius: 0; text-align: center; border-inline: 0; }
.checkout-paypal-section { padding-top: 1.5rem; border-top: 1px solid var(--brand-border); }
.checkout-security-note { margin-top: 1rem; color: var(--bs-secondary-color); font-size: .78rem; }
.checkout-security-note span { color: var(--brand-primary); }
.team-list-billing { display: grid; gap: .2rem; padding: .9rem 1rem; border-radius: .75rem; background: var(--bs-light); }
.team-list-billing > span { color: var(--bs-secondary-color); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.team-list-billing > strong { font-size: 1.35rem; }
.team-list-billing > strong small { color: var(--bs-secondary-color); font-size: .75rem; font-weight: 500; }
.team-list-billing > small { color: var(--bs-secondary-color); }
.team-list-billing-pending { margin-top: .25rem; color: var(--bs-primary) !important; font-weight: 600; }
.team-list-billing-link { position: relative; z-index: 2; }
.checkout-summary { position: sticky; top: 6rem; }
.checkout-summary-card { padding: clamp(1.5rem, 4vw, 2rem); border: 1px solid var(--brand-border); border-radius: 1.5rem; background: #fff; box-shadow: 0 1.25rem 3.5rem rgba(21,39,34,.08); }
.checkout-feature-list { display: grid; gap: .75rem; padding: 0; list-style: none; }
.checkout-feature-list li { position: relative; padding-left: 1.6rem; }
.checkout-feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-primary); font-weight: 800; }
.checkout-totals { display: grid; gap: .65rem; margin: 0; }
.checkout-totals > div { display: flex; justify-content: space-between; gap: 1rem; }
.checkout-totals dt { font-weight: 400; color: var(--bs-secondary-color); }
.checkout-totals dd { margin: 0; white-space: nowrap; }
.checkout-totals .checkout-due { margin-top: .25rem; padding-top: .8rem; border-top: 1px solid var(--brand-border); font-size: 1.05rem; font-weight: 800; }
.checkout-totals .checkout-due dt { color: var(--brand-ink); font-weight: 800; }
.checkout-terms { padding: 1rem .75rem 0; font-size: .75rem; line-height: 1.45; }
.checkout-status:empty { display: none; }

.creation-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; }
.creation-progress span { display: flex; align-items: center; gap: .5rem; padding: .6rem; color: var(--bs-secondary-color); border-bottom: 3px solid var(--brand-border); font-size: .8rem; }
.creation-progress strong { display: grid; place-items: center; flex: 0 0 auto; width: 1.7rem; height: 1.7rem; border: 1px solid currentColor; border-radius: 50%; }
.creation-progress .active { color: var(--brand-primary); border-color: var(--brand-primary); font-weight: 700; }
.creation-progress .complete { color: #277143; border-color: #277143; }
.team-page-visual-card { overflow: hidden; background: #fff; border: 1px solid var(--brand-border); border-radius: 1.25rem; }
.team-page-visual-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--brand-soft); }
.team-page-visual-card > div { padding: 1.25rem; }

.team-workspace-nav { display: flex; gap: .2rem; overflow-x: auto; padding: .3rem; background: var(--brand-soft); border-radius: .75rem; }
.team-workspace-nav a { flex: 0 0 auto; padding: .55rem .8rem; color: var(--brand-ink); border-radius: .5rem; text-decoration: none; }
.team-workspace-nav a:hover,
.team-workspace-nav a.active { color: var(--brand-primary); background: #fff; }
.onboarding-panel { padding: clamp(1.25rem, 4vw, 2.25rem); background: linear-gradient(135deg, var(--brand-soft), #fff); border: 1px solid var(--brand-border); border-radius: 1.25rem; }
.onboarding-progress { text-align: right; }
.onboarding-progress strong,
.onboarding-progress span { display: block; }
.onboarding-progress span { color: var(--bs-secondary-color); font-size: .8rem; }
.onboarding-steps { display: grid; gap: .6rem; padding: 0; list-style: none; }
.onboarding-steps li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem; padding: .85rem 1rem; background: #fff; border: 1px solid var(--brand-border); border-radius: .75rem; }
.onboarding-steps p { margin: .15rem 0 0; color: var(--bs-secondary-color); font-size: .85rem; }
.onboarding-check { color: var(--brand-primary); font-size: 1.5rem; }
.onboarding-steps .complete strong { text-decoration: line-through; text-decoration-color: var(--brand-border); }
.quick-action-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.quick-action-grid a { display: grid; gap: .3rem; padding: 1.15rem; color: var(--brand-ink); border: 1px solid var(--brand-border); border-radius: .9rem; text-decoration: none; }
.quick-action-grid a:hover { border-color: var(--brand-primary); }
.quick-action-grid span { color: var(--bs-secondary-color); font-size: .88rem; }

.invitation-page { max-width: 74rem; }
.invitation-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(18rem, .6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.invitation-team-card { border-top: .3rem solid var(--brand-primary); }
.invitation-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.invitation-details div { padding: .85rem; background: var(--brand-soft); border-radius: .65rem; }
.invitation-details dt { color: var(--bs-secondary-color); font-size: .78rem; font-weight: 600; }
.invitation-details dd { margin: .2rem 0 0; font-weight: 600; overflow-wrap: anywhere; }
.invitation-aside { overflow: hidden; background: #fff; border: 1px solid var(--brand-border); border-radius: 1.25rem; }
.invitation-aside img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: var(--brand-soft); }
.invitation-aside > div { padding: 1.25rem; }

@media (max-width: 991.98px) {
	.navbar-collapse { padding: .75rem 0 1rem; }
	.navbar .nav-learning-menu { min-width: 0; margin: .25rem 0 .5rem; box-shadow: none; }
	.navbar .nav-teams-link { display: inline-block; margin-block: .2rem; }
	.site-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.site-footer-brand { grid-column: 1 / -1; }
	.achievement-celebration,
	.achievement-actions { grid-template-columns: 1fr; }
	.achievement-video-frame { max-width: 42rem; }

	.hero-visual { min-height: 470px; }
	.hero-main-image { width: 82%; height: 400px; }
	.hero-secondary-image { width: 45%; height: 190px; }
	.hero-stat-card { width: 54%; }

	.services-image { min-height: 320px; }

	.feature-grid {
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 320px 240px 240px;
	}

	.feature-card-lg {
	grid-column: 1 / span 2;
	grid-row: auto;
	}

	.category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.learning-builder-grid,
	.assignment-layout { grid-template-columns: 1fr; }
	.learning-selection-sticky,
	.assignment-review { position: static; }
	.matrix-overview,
	.gap-card-grid { grid-template-columns: 1fr; }
	.teams-hero { grid-template-columns: 1fr; min-height: auto; }
	.checkout-layout { grid-template-columns: 1fr; }
	.checkout-summary { position: static; }
	.home-teams-panel { grid-template-columns: 1fr; }
	.about-founder-card { grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr); }
	.invitation-layout { grid-template-columns: 1fr; }
	.invitation-aside { display: grid; grid-template-columns: minmax(10rem, .6fr) minmax(0, 1.4fr); }
	.invitation-aside img { height: 100%; }
	.teams-final-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
	.site-footer { padding-top: 3rem; }
	.site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
	.site-footer-brand { grid-column: 1 / -1; }
	.site-footer-bottom { display: grid; gap: .3rem; }
	.site-footer-bottom [aria-hidden="true"] { display: none; }
	.achievement-page { padding-top: 3rem; }
	.achievement-celebration { margin-bottom: 2rem; }
	.achievement-certificate-brand,
	.achievement-certificate-footer { align-items: flex-start; flex-direction: column; }
	.achievement-certificate-body { padding-block: 2.25rem; }
	.achievement-details { grid-template-columns: 1fr; }
	.achievement-details div { padding: .75rem; }
	.achievement-details div + div { border-top: 1px solid var(--brand-border); border-left: 0; }
	.achievement-actions { grid-template-columns: 1fr; }
	.achievement-share-links { grid-template-columns: 1fr; }
	.achievement-utility-actions .btn { width: 100%; }

	.section-pad { padding: 4rem 0; }
	.hero { padding-top: 6.5rem; }

	.hero-visual { min-height: auto; }
	.hero-main-image,
	.hero-secondary-image,
	.hero-stat-card {
	position: static;
	width: 100%;
	}

	.hero-main-image { height: 330px; margin: 0; }
	.hero-secondary-image { height: 210px; margin-top: 1rem; border: 0; }
	.hero-stat-card { margin-top: 1rem; }
	.home-teams-section { padding-top: 0; }
	.home-teams-panel { margin-inline: -.25rem; }
	.home-teams-benefits { grid-template-columns: 1fr; }
	.home-teams-proof { position: static; margin-top: .75rem; }
	.about-hero { padding-top: 3.5rem; }
	.about-founder-card { grid-template-columns: 1fr; }
	.about-founder-portrait { margin-inline: auto; }
	.about-founder-copy { padding: 0 .5rem 1rem; text-align: center; }
	.about-founder-copy > p { margin-inline: auto; }

	.feature-grid {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: none;
	}

	.feature-card,
	.feature-card-lg { min-height: 280px; grid-column: auto; grid-row: auto; }

	.category-grid { grid-template-columns: 1fr; }
	.team-page-hero { grid-template-columns: 1fr; }
	.team-page-hero img { max-height: 13rem; }
	.assignment-choice-grid { grid-template-columns: 1fr; }
	.catalog-item { flex-direction: column; }
	.catalog-item [data-catalog-add] { width: 100%; }
	.matrix-empty { flex-direction: column; text-align: center; }
	.matrix-empty img { width: min(100%, 14rem); }
	.matrix-table,
	.matrix-table tbody,
	.matrix-table tr,
	.matrix-table td { display: block; width: 100%; }
	.matrix-table thead { display: none; }
	.matrix-table tr { margin-bottom: 1rem; padding: .75rem; border: 1px solid var(--brand-border); border-radius: .75rem; }
	.matrix-table td { display: grid; grid-template-columns: minmax(7rem, .75fr) minmax(0, 1.25fr); gap: .75rem; padding: .45rem; border: 0; }
	.matrix-table td::before { color: var(--bs-secondary-color); font-size: .8rem; font-weight: 600; }
	.matrix-table td:nth-child(1)::before { content: "Team member"; }
	.matrix-table td:nth-child(2)::before { content: "Competency"; }
	.matrix-table td:nth-child(3)::before { content: "Score"; }
	.matrix-table td:nth-child(4)::before { content: "Target"; }
	.matrix-table td:nth-child(5)::before { content: "Status"; }
	.teams-price-breakdown,
	.quick-action-grid { grid-template-columns: 1fr; }
	.creation-progress { grid-template-columns: 1fr; }
	.creation-progress span { display: none; }
	.creation-progress .active { display: flex; }
	.onboarding-steps li { grid-template-columns: auto 1fr; }
	.onboarding-steps .btn,
	.onboarding-steps .badge { grid-column: 2; justify-self: start; }
	.invitation-details { grid-template-columns: 1fr; }
	.invitation-aside { display: block; }
	.continue-learning-panel { align-items: flex-start; flex-direction: column; }
	.resource-breadcrumb { margin-bottom: 1.5rem; overflow-x: auto; }
	.resource-breadcrumb .breadcrumb-item:last-child { display: none; }
}

/* COURSE CATALOGUE */
.courses-page { margin-top: 3.5rem; background: linear-gradient(180deg, var(--brand-surface) 0, #fff 30rem); }
.courses-hero { padding: 3rem 0 4rem; border-bottom: 1px solid var(--brand-border); }
.courses-breadcrumb { margin-bottom: 2.75rem; }
.courses-breadcrumb a { color: var(--brand-muted); }
.courses-hero-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(16rem, .45fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.courses-hero h1 { max-width: 16ch; letter-spacing: -.045em; }
.courses-hero-copy { max-width: 48rem; margin: 0; color: var(--brand-muted); font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.courses-hero-proof { padding: 1.4rem; background: #fff; border: 1px solid var(--brand-border); border-radius: 1rem; box-shadow: 0 1rem 2.5rem rgba(30,41,59,.08); }
.courses-hero-proof strong { display: block; color: var(--brand-primary); font-size: 2.4rem; line-height: 1; }
.courses-hero-proof span { display: block; margin-top: .35rem; font-weight: 750; }
.courses-hero-proof p { margin: .9rem 0 0; color: var(--brand-muted); font-size: .9rem; line-height: 1.55; }
.courses-main { padding-top: 4rem; padding-bottom: 4rem; }
.courses-section-heading { display: flex; justify-content: space-between; gap: 2rem; }
.learning-route-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.learning-route-card { display: flex; min-height: 15rem; padding: 1.25rem; color: var(--brand-ink); background: #fff; border: 1px solid var(--brand-border); border-radius: 1rem; flex-direction: column; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.learning-route-card:hover,
.learning-route-card.active { color: var(--brand-ink); border-color: var(--brand-primary); box-shadow: 0 1rem 2rem rgba(30,41,59,.09); transform: translateY(-3px); }
.learning-route-card > span { color: var(--brand-primary); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.learning-route-card strong { margin-top: .7rem; line-height: 1.3; }
.learning-route-card p { margin: .7rem 0; color: var(--brand-muted); font-size: .86rem; line-height: 1.5; }
.learning-route-card small { margin-top: auto; font-weight: 750; }
.course-filter-panel { padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border: 1px solid var(--brand-border); border-radius: 1.2rem; box-shadow: 0 1rem 3rem rgba(30,41,59,.08); }
.course-search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end; }
.course-search-field { min-width: 0; }
.course-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--brand-border); }
.course-filter-grid label { color: var(--brand-muted); font-size: .8rem; font-weight: 750; }
.course-active-filters { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; padding: .75rem 1rem; color: #344054; background: var(--brand-soft); border-radius: .65rem; font-size: .88rem; }
.course-active-filters a { font-weight: 750; }
.courses-results-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin: 3rem 0 1.5rem; }
.course-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.course-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--brand-border); border-radius: 1.1rem; box-shadow: 0 .5rem 1.5rem rgba(30,41,59,.06); transition: transform .18s ease, box-shadow .18s ease; }
.course-card:hover { box-shadow: 0 1rem 2.5rem rgba(30,41,59,.11); transform: translateY(-3px); }
.course-card-image { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--brand-soft); }
.course-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.course-card-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: var(--brand-primary); font-size: 2rem; font-weight: 850; letter-spacing: .12em; }
.course-card-body { display: flex; min-height: 25rem; padding: 1.35rem; flex-direction: column; }
.course-card-badges { display: flex; min-height: 1.7rem; margin-bottom: .9rem; gap: .45rem; flex-wrap: wrap; }
.course-card-badges span { padding: .3rem .55rem; color: #475467; background: var(--brand-surface); border-radius: 999px; font-size: .72rem; font-weight: 750; }
.course-card-badges .course-level-badge { color: #2943c5; background: var(--brand-soft); }
.course-card h3 { margin-bottom: .8rem; font-size: 1.2rem; line-height: 1.35; }
.course-card h3 a { color: var(--brand-ink); text-decoration: none; }
.course-card h3 a:hover { color: var(--brand-primary); text-decoration: underline; text-underline-offset: .18rem; }
.course-card-outcome { margin-bottom: .9rem; color: var(--brand-muted); font-size: .9rem; line-height: 1.55; }
.course-card-outcome strong { color: var(--brand-ink); }
.course-card-audience { margin-bottom: 1rem; color: var(--brand-muted); font-size: .82rem; line-height: 1.45; }
.course-card-audience span { margin-right: .3rem; color: var(--brand-ink); font-weight: 750; }
.course-card-meta { display: flex; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--brand-border); gap: .4rem .75rem; flex-wrap: wrap; }
.course-card-meta span { color: var(--brand-muted); font-size: .77rem; }
.course-card-meta span + span::before { margin-right: .75rem; color: #c5cad3; content: "•"; }
.course-card-cta { margin-top: 1rem; font-size: .87rem; font-weight: 800; text-decoration: none; }
.course-empty-state { padding: clamp(2.5rem, 8vw, 5rem); text-align: center; background: var(--brand-surface); border: 1px dashed #b8c0cf; border-radius: 1rem; }
.course-empty-state > span { display: block; margin-bottom: .75rem; color: var(--brand-primary); font-size: 2.5rem; }
.course-empty-state p { max-width: 32rem; margin: .75rem auto 1.5rem; color: var(--brand-muted); }
.course-pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.course-pagination ol { display: flex; padding: 0; margin: 0; gap: .4rem; list-style: none; }
.course-pagination ol a { display: grid; width: 2.5rem; height: 2.5rem; color: var(--brand-ink); border-radius: .55rem; place-items: center; text-decoration: none; }
.course-pagination ol a:hover,
.course-pagination ol a.active { color: #fff; background: var(--brand-primary); }
.course-quality-note { max-width: 58rem; margin: 4rem auto 0; }
.course-quality-note .alert { margin: 0 !important; color: var(--brand-muted); background: transparent; border-color: var(--brand-border); }
.related-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.related-course-grid article { display: flex; padding: 1.15rem; background: var(--brand-surface); border: 1px solid var(--brand-border); border-radius: .85rem; flex-direction: column; }
.related-course-grid span,
.related-course-grid small { color: var(--brand-muted); font-size: .75rem; }
.related-course-grid h3 { margin: .55rem 0; font-size: 1rem; line-height: 1.35; }
.related-course-grid h3 a { color: var(--brand-ink); text-decoration: none; }
.related-course-grid h3 a:hover { color: var(--brand-primary); text-decoration: underline; }
.related-course-grid p { color: var(--brand-muted); font-size: .82rem; line-height: 1.45; }
.related-course-grid small { margin-top: auto; }

/* EXAM CATALOGUE */
.exams-page { --exam-accent: #6d3bd1; --exam-soft: #f3efff; }
.exams-hero { background: radial-gradient(circle at 82% 28%, rgba(109,59,209,.13), transparent 23rem); }
.exams-page .section-kicker,
.exams-hero-proof strong { color: var(--exam-accent); }
.exam-route-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.exam-route-card { min-height: 13rem; }
.exam-route-card > span { color: var(--exam-accent); }
.exam-route-card:hover,
.exam-route-card.active { border-color: var(--exam-accent); }
.btn-exam {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--exam-accent, #6d3bd1);
	--bs-btn-border-color: var(--exam-accent, #6d3bd1);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: #572bb1;
	--bs-btn-hover-border-color: #572bb1;
	--bs-btn-focus-shadow-rgb: 109, 59, 209;
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: #4b249b;
	--bs-btn-active-border-color: #4b249b;
	--bs-btn-disabled-color: #fff;
	--bs-btn-disabled-bg: var(--exam-accent, #6d3bd1);
	--bs-btn-disabled-border-color: var(--exam-accent, #6d3bd1);
}
.btn-exam:hover,
.btn-exam:focus { color: #fff; background: #572bb1; border-color: #572bb1; }
.btn-outline-exam { color: var(--exam-accent); border-color: var(--exam-accent); }
.btn-outline-exam:hover { color: #fff; background: var(--exam-accent); border-color: var(--exam-accent); }
.exam-active-filters { background: var(--exam-soft); }
.exam-active-filters a { color: var(--exam-accent); }
.exam-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.exam-card { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--brand-border); border-radius: 1.1rem; box-shadow: 0 .5rem 1.5rem rgba(30,41,59,.06); transition: transform .18s ease, box-shadow .18s ease; }
.exam-card:hover { box-shadow: 0 1rem 2.5rem rgba(30,41,59,.11); transform: translateY(-3px); }
.exam-card-image { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--exam-soft); }
.exam-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.exam-card-image > span { display: grid; width: 100%; height: 100%; color: var(--exam-accent); place-items: center; font-size: 1.15rem; font-weight: 850; letter-spacing: .15em; }
.exam-card-body { display: flex; min-height: 24rem; padding: 1.35rem; flex-direction: column; }
.exam-card-badges { display: flex; min-height: 1.7rem; margin-bottom: .9rem; gap: .45rem; flex-wrap: wrap; }
.exam-card-badges span { padding: .3rem .55rem; color: #475467; background: var(--brand-surface); border-radius: 999px; font-size: .72rem; font-weight: 750; }
.exam-card-badges .exam-format-badge { color: #572bb1; background: var(--exam-soft); }
.exam-card h3 { margin-bottom: .8rem; font-size: 1.15rem; line-height: 1.35; }
.exam-card h3 a { color: var(--brand-ink); text-decoration: none; }
.exam-card h3 a:hover { color: var(--exam-accent); text-decoration: underline; text-underline-offset: .18rem; }
.exam-card-body > p { display: -webkit-box; overflow: hidden; margin-bottom: 1rem; color: var(--brand-muted); font-size: .88rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.exam-card-meta { display: flex; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--brand-border); gap: .4rem .75rem; flex-wrap: wrap; }
.exam-card-meta span { color: var(--brand-muted); font-size: .77rem; }
.exam-card-meta span + span::before { margin-right: .75rem; color: #c5cad3; content: "•"; }
.exam-card-cta { margin-top: 1rem; color: var(--exam-accent); font-size: .87rem; font-weight: 800; text-decoration: none; }
.exam-pagination ol a:hover,
.exam-pagination ol a.active { background: var(--exam-accent); }
.exam-empty-state > span { color: var(--exam-accent); }
.exam-answer { cursor: pointer; transition: background .18s ease, border-color .18s ease; }
.exam-answer:hover { background: var(--brand-soft); border-color: var(--brand-primary) !important; }
.exam-answer input[type="radio"]:checked + span { color: var(--brand-primary); font-weight: 750; }
.related-exam-grid h3 a:hover { color: var(--exam-accent); }

@media (max-width: 1199.98px) {
	.learning-route-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 991.98px) {
	.courses-hero-grid { grid-template-columns: 1fr; }
	.courses-hero-proof { max-width: 24rem; }
	.course-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.course-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.related-course-grid { grid-template-columns: 1fr; }
	.exam-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
	.courses-page { margin-top: 3.25rem; }
	.courses-hero { padding: 2rem 0 3rem; }
	.courses-breadcrumb { margin-bottom: 2rem; }
	.courses-main { padding-top: 3rem; }
	.learning-route-grid,
	.course-filter-grid,
	.course-card-grid { grid-template-columns: 1fr; }
	.learning-route-card { min-height: 0; }
	.course-search-row { grid-template-columns: 1fr; }
	.course-search-row .btn { width: 100%; }
	.course-active-filters,
	.courses-results-heading { align-items: flex-start; flex-direction: column; }
	.course-card-body { min-height: 0; }
	.exam-card-grid { grid-template-columns: 1fr; }
	.exam-card-body { min-height: 0; }
	.course-pagination { flex-wrap: wrap; }
}

@media print {
	@page { size: landscape; margin: 12mm; }
	body { background: #fff; }
	.navbar,
	.site-footer,
	.achievement-celebration,
	.achievement-actions { display: none !important; }
	.achievement-page { margin: 0; padding: 0; background: #fff; }
	.achievement-certificate { max-width: none; margin: 0; box-shadow: none; break-inside: avoid; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
	}
}

.til-toast-success { background: linear-gradient(to right, #00796b, #2e7d32); }
.til-toast-error { background: linear-gradient(to right, #b71c1c, #e65100); }
