/* Generated by tools/build-theme-css.py. Do not edit directly. */
.cb-course-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: livePulse 2s ease infinite;
}

/* Prototype-matched inner page sections */
.sub-hero {
  background: var(--navy-deep);
  padding: 72px 32px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(184, 41, 45, 0.06), transparent 50%);
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image:
    linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 40px 40px;
}

.sub-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.5vw, 50px);
  font-weight: 500;
  animation: hStag 0.6s var(--ease-out) 0.1s both;
}

.sub-hero h1 .ri {
  color: var(--red);
  font-style: italic;
  font-weight: 600;
}

.sub-hero > p {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.4);
  font-size: 15px;
  line-height: 1.7;
  animation: hStag 0.6s var(--ease-out) 0.2s both;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}

.c-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(27, 38, 85, 0.04);
  border-radius: var(--radius-xl);
  background: var(--white);
  transition: all 0.4s var(--ease-spring);
}

.c-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-strong);
}

.c-thumb {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.c-thumb.has-image {
  overflow: hidden;
  padding: 0;
  font-size: 0;
}

.c-thumb.has-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.c-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ct1 { background: linear-gradient(135deg, var(--navy-deep), var(--navy-mid)); }
.ct2 { background: linear-gradient(135deg, #1a3d35, #2d7a5e); }
.ct3 { background: linear-gradient(135deg, #5a1520, var(--red)); }

.c-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.c-body h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
}

.c-title-link {
  color: inherit;
  text-decoration: none;
}

.c-title-link:hover {
  color: var(--red);
}

.c-sub {
  margin-bottom: 10px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.c-body > p {
  margin: 0 0 14px;
  color: var(--stone);
  font-size: 13.5px;
  line-height: 1.6;
}

.c-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.c-tag {
  padding: 3px 9px;
  border-radius: 4px;
  background: var(--cream);
  color: var(--stone);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s;
}

.c-tag:hover {
  background: var(--red-glow);
  color: var(--red);
}

.c-details-link {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
}

.c-details-link:hover {
  color: var(--navy);
}

.c-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid rgba(27, 38, 85, 0.05);
}

.c-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 36px;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.3s var(--ease-spring);
}

.c-enroll:hover {
  background: var(--red);
  transform: scale(1.05);
}

.csp-page .btn-primary,
.csp-page .btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 14px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, color .25s ease, background .25s ease;
}

.csp-page .btn-primary {
	background: linear-gradient(135deg, var(--cb-red), #8d1117);
	color: #fff;
	box-shadow: 0 18px 40px rgba(184, 41, 45, .24);
}

.csp-page .btn-primary:hover,
.csp-page .btn-primary:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 24px 48px rgba(184, 41, 45, .3);
}

.csp-page .btn-ghost {
	border: 1.5px solid rgba(255, 255, 255, .16);
	color: rgba(255, 255, 255, .78);
	background: transparent;
}

.csp-page .btn-ghost:hover,
.csp-page .btn-ghost:focus-visible {
	border-color: rgba(255, 255, 255, .38);
	color: #fff;
}

.csp-hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 84px;
	background: linear-gradient(135deg, rgba(8, 29, 23, .98) 0%, rgba(16, 22, 52, .94) 58%, rgba(8, 29, 23, .98) 100%);
}

.csp-hero-grid,
.csp-hero-orb {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.csp-hero-grid {
	opacity: .03;
	background-image:
		linear-gradient(rgba(255, 255, 255, 1) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 1) 1px, transparent 1px);
	background-size: 54px 54px;
}

.csp-hero-orb {
	border-radius: 999px;
	filter: blur(4px);
}

.csp-hero-orb-a {
	inset: auto -120px -80px auto;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(184, 41, 45, .17), transparent 62%);
}

.csp-hero-orb-b {
	inset: -120px auto auto -140px;
	width: 460px;
	height: 460px;
	background: radial-gradient(circle, rgba(56, 201, 140, .12), transparent 60%);
}

.csp-badge {
	position: absolute;
	top: 24px;
	right: 34px;
	z-index: 1;
	padding: 9px 18px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--cb-red), #8d1117);
	color: #fff;
	font-family: "IBM Plex Mono", monospace;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	box-shadow: 0 18px 34px rgba(184, 41, 45, .24);
}

.csp-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 390px;
	gap: 48px;
	align-items: center;
}

.csp-breadcrumb,
.csp-hero-pill,
.csp-stat-label,
.csp-activity-frequency,
.csp-step-label,
.csp-promo-btn {
	font-family: "IBM Plex Mono", monospace;
}

.csp-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 11px;
	letter-spacing: 1.1px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .46);
}

.csp-breadcrumb a {
	color: rgba(255, 255, 255, .6);
	text-decoration: none;
}

.csp-breadcrumb a:hover {
	color: #fff;
}

.csp-hero-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding: 7px 16px 7px 10px;
	border: 1px solid rgba(184, 41, 45, .22);
	border-radius: 999px;
	background: rgba(184, 41, 45, .1);
	color: rgba(255, 255, 255, .7);
	font-size: 10.5px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.csp-pill-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--cb-red);
}

.csp-hero-title {
	margin: 0 0 18px;
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(48px, 6vw, 76px);
	line-height: .95;
	font-weight: 500;
	color: #fff;
}

.csp-hero-title span {
	font-style: italic;
	color: #ff5a60;
}

.csp-hero-title--zh-single {
	white-space: nowrap;
	font-size: clamp(42px, 5vw, 70px);
}

.csp-hero-title--zh-single span {
	font-style: normal;
}

.csp-hero-sub {
	max-width: 520px;
	margin: 0 0 30px;
	color: rgba(255, 255, 255, .66);
	font-size: 16px;
	line-height: 1.78;
}

.csp-stat-strip {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 32px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 18px;
	background: rgba(255, 255, 255, .05);
}

.csp-stat {
	padding: 18px 20px;
	text-align: center;
	border-right: 1px solid rgba(255, 255, 255, .08);
}

.csp-stat:last-child {
	border-right: 0;
}

.csp-stat-value {
	font-family: "Cormorant Garamond", serif;
	font-size: 30px;
	line-height: 1;
	font-weight: 600;
	color: #ff6a6f;
}

.csp-stat-label {
	margin-top: 5px;
	font-size: 10px;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .36);
}

.csp-hero-actions,
.csp-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.csp-activity-stack {
	display: grid;
	gap: 14px;
}

.csp-activity-card {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 20px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 20px;
	background: rgba(255, 255, 255, .06);
	backdrop-filter: blur(14px);
}

.csp-activity-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: rgba(184, 41, 45, .18);
	font-size: 20px;
	flex: 0 0 auto;
}

.csp-activity-card h4 {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}

.csp-activity-card p {
	margin: 0;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, .56);
}

.csp-activities-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
	margin-top: 34px;
}

.csp-activity-tile,
.csp-audience-card,
.csp-test-card {
	overflow: hidden;
	border: 1px solid rgba(16, 22, 52, .08);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 16px 36px rgba(16, 22, 52, .06);
	transition: transform .25s ease, box-shadow .25s ease;
}

.csp-activity-tile:hover,
.csp-audience-card:hover,
.csp-test-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 26px 48px rgba(16, 22, 52, .12);
}

.csp-activity-media {
	position: relative;
	height: 190px;
}

.csp-activity-media img,
.csp-no-exam-image img,
.csp-flow-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.csp-activity-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 18, 45, .68), rgba(10, 18, 45, .08));
}

.csp-activity-emoji,
.csp-activity-frequency {
	position: absolute;
	z-index: 1;
}

.csp-activity-emoji {
	left: 16px;
	bottom: 16px;
	font-size: 32px;
}

.csp-activity-frequency {
	top: 12px;
	right: 12px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(10, 18, 45, .55);
	color: #fff;
	font-size: 10px;
	letter-spacing: .8px;
}

.csp-activity-body {
	padding: 22px;
}

.csp-activity-body h4 {
	margin: 0 0 8px;
	font-family: "Cormorant Garamond", serif;
	font-size: 23px;
	font-weight: 600;
	color: var(--cb-navy);
}

.csp-activity-body p {
	margin: 0;
	color: var(--cb-muted);
	font-size: 14px;
	line-height: 1.7;
}

.csp-no-exam-block {
	display: grid;
	grid-template-columns: 320px minmax(0, .92fr) minmax(0, 1.08fr);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 28px;
	background: linear-gradient(135deg, rgba(10, 18, 45, 1), rgba(9, 38, 29, 1));
}

.csp-no-exam-copy,
.csp-no-exam-list {
	padding: 40px 34px;
}

.csp-no-exam-list {
	display: grid;
	gap: 14px;
}

.csp-no-exam-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, .08);
	border-radius: 18px;
	background: rgba(255, 255, 255, .04);
}

.csp-no-exam-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 9px;
	background: rgba(184, 41, 45, .16);
	color: #ff7075;
	font-weight: 700;
	flex: 0 0 auto;
}

.csp-no-exam-item h5 {
	margin: 0 0 4px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
}

.csp-no-exam-item p {
	margin: 0;
	color: rgba(255, 255, 255, .56);
	font-size: 13px;
	line-height: 1.65;
}

.csp-flow-media {
	margin: 30px 0;
	overflow: hidden;
	border-radius: 22px;
	height: 260px;
}

.csp-flow-wrap {
	overflow: hidden;
	border: 1px solid rgba(16, 22, 52, .08);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 18px 40px rgba(16, 22, 52, .07);
}

.csp-flow-header {
	padding: 24px 30px;
	background: linear-gradient(90deg, #101838, #192a5f);
}

.csp-flow-header h3 {
	margin: 0 0 6px;
	font-family: "Cormorant Garamond", serif;
	font-size: 24px;
	font-weight: 600;
	color: #fff;
}

.csp-flow-header p {
	margin: 0;
	font-size: 11px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .4);
}

.csp-flow-steps {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.csp-flow-step {
	padding: 28px 22px;
	border-right: 1px solid rgba(16, 22, 52, .07);
}

.csp-flow-step:last-child {
	border-right: 0;
}

.csp-step-label {
	margin-bottom: 10px;
	font-size: 10px;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	color: var(--cb-red);
}

.csp-step-icon {
	margin-bottom: 10px;
	font-size: 28px;
}

.csp-step-title {
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 700;
	color: var(--cb-navy);
}

.csp-step-note {
	font-size: 13px;
	line-height: 1.6;
	color: var(--cb-muted);
}

.csp-audience-grid,
.csp-test-grid {
	display: grid;
	gap: 22px;
	margin-top: 34px;
}

.csp-audience-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.csp-audience-card {
	padding: 24px;
}

.csp-audience-emoji {
	margin-bottom: 12px;
	font-size: 28px;
}

.csp-audience-card h4 {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--cb-navy);
}

.csp-audience-card p {
	margin: 0;
	color: var(--cb-muted);
	font-size: 14px;
	line-height: 1.68;
}

.csp-test-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.csp-test-card {
	padding: 26px;
}

.csp-test-stars {
	margin-bottom: 10px;
	letter-spacing: 3px;
	color: var(--cb-red);
}

.csp-test-card blockquote {
	margin: 0 0 18px;
	font-family: "Cormorant Garamond", serif;
	font-size: 17px;
	line-height: 1.6;
	font-style: italic;
	color: var(--cb-charcoal);
}

.csp-test-author {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid rgba(16, 22, 52, .08);
}

.csp-test-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(16, 22, 52, .06);
	font-size: 16px;
	flex: 0 0 auto;
}

.csp-test-name {
	font-size: 14px;
	font-weight: 700;
	color: var(--cb-navy);
}

.csp-test-detail {
	font-size: 12px;
	color: var(--cb-muted);
}

.csp-promo-strip,
.csp-cta {
	border-radius: 24px;
}

.csp-promo-strip {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 24px;
	padding: 28px 32px;
	background: linear-gradient(135deg, var(--cb-red), #8d1117);
	color: #fff;
}

.csp-promo-strip h3 {
	margin: 0 0 6px;
	font-family: "Cormorant Garamond", serif;
	font-size: 26px;
	font-weight: 600;
}

.csp-promo-strip p {
	max-width: 680px;
	margin: 0;
	color: rgba(255, 255, 255, .8);
	font-size: 14px;
	line-height: 1.65;
}

.csp-promo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 14px;
	background: #fff;
	color: var(--cb-navy);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	letter-spacing: .4px;
	text-transform: uppercase;
}

.csp-cta {
	padding: 54px 48px;
	background: linear-gradient(135deg, #101838, #0a2a20);
	text-align: center;
}

.csp-cta h2 {
	margin: 0 0 12px;
	font-family: "Cormorant Garamond", serif;
	font-size: clamp(34px, 5vw, 48px);
	line-height: 1.04;
	font-weight: 600;
	color: #fff;
}

.csp-cta p {
	max-width: 560px;
	margin: 0 auto 24px;
	color: rgba(255, 255, 255, .62);
	font-size: 15px;
	line-height: 1.75;
}

.csp-faq-wrap {
	max-width: 860px;
	margin: 0 auto;
}

.csp-faq-title {
	text-align: center;
}

@media (max-width: 640px) {
  .sub-hero {
    padding: 64px 24px 48px;
  }
}

@media (max-width: 1024px) {
	.csp-hero-inner,
	.csp-no-exam-block {
		grid-template-columns: 1fr;
	}

	.csp-activities-grid,
	.csp-audience-grid,
	.csp-test-grid {
		grid-template-columns: 1fr 1fr;
	}

	.csp-flow-steps {
		grid-template-columns: 1fr 1fr;
	}

	.csp-badge {
		position: static;
		display: inline-flex;
		margin: 0 0 20px;
	}

	.csp-no-exam-copy,
	.csp-no-exam-list,
	.csp-cta {
		padding: 28px;
	}
}

@media (max-width: 640px) {
	.csp-hero {
		padding: 74px 0 60px;
	}

	.csp-stat-strip,
	.csp-activities-grid,
	.csp-audience-grid,
	.csp-test-grid,
	.csp-flow-steps {
		grid-template-columns: 1fr;
	}

	.csp-promo-strip,
	.csp-cta {
		padding: 24px;
	}
}
