/*
 * The Ecom Dude Apple Design Layer
 *
 * This file is intentionally an override layer. The course plugin remains the
 * source of markup and behaviour, while this companion can be deactivated to
 * restore the classic visual system immediately.
 */

:root {
	--ted-apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
	--ted-apple-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
	--ted-apple-bg: #000000;
	--ted-apple-bg-raised: #0a0a0b;
	--ted-apple-surface: #161617;
	--ted-apple-surface-raised: #1d1d1f;
	--ted-apple-material: rgba(29, 29, 31, 0.72);
	--ted-apple-material-strong: rgba(22, 22, 23, 0.9);
	--ted-apple-text: #f5f5f7;
	--ted-apple-secondary: #a1a1a6;
	--ted-apple-tertiary: #86868b;
	--ted-apple-border: rgba(255, 255, 255, 0.12);
	--ted-apple-border-strong: rgba(255, 255, 255, 0.2);
	--ted-apple-highlight: rgba(255, 255, 255, 0.08);
	--ted-apple-accent: #4f46e5;
	--ted-apple-accent-hover: #635bff;
	--ted-apple-accent-soft: rgba(79, 70, 229, 0.18);
	--ted-apple-success: #30d158;
	--ted-apple-danger: #ff6961;
	--ted-apple-radius-sm: 12px;
	--ted-apple-radius: 20px;
	--ted-apple-radius-lg: 28px;
	--ted-apple-radius-xl: 36px;
	--ted-apple-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.22), 0 8px 24px rgba(0, 0, 0, 0.12);
	--ted-apple-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
	--ted-apple-shadow-float: 0 32px 90px rgba(0, 0, 0, 0.44);
	--ted-apple-ease: cubic-bezier(0.16, 1, 0.3, 1);
	--ted-apple-ease-state: cubic-bezier(0.65, 0, 0.35, 1);
	--ted-apple-fast: 140ms;
	--ted-apple-base: 280ms;
	--ted-apple-slow: 480ms;
	--ted-apple-content: 1200px;
	--ted-apple-reading: 720px;
}

body.ted-apple-design,
body.login.ted-apple-design,
body.ted-apple-admin {
	font-family: var(--ted-apple-font) !important;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.ted-apple-design {
	background: var(--ted-apple-bg) !important;
	color: var(--ted-apple-text);
	overflow-x: clip;
}

/* Calm fallback treatment for any standard WordPress page outside CPC templates. */
body.ted-apple-design .wp-site-blocks {
	background: var(--ted-apple-bg);
	color: var(--ted-apple-text);
	min-height: 100svh;
}

body.ted-apple-design .wp-site-blocks > :where(header, footer) {
	background: var(--ted-apple-material-strong);
	border-color: var(--ted-apple-border);
}

body.ted-apple-design .wp-site-blocks > main {
	margin-inline: auto;
	max-width: var(--ted-apple-content);
	padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

body.ted-apple-design .wp-site-blocks :where(.wp-block-post-title, .wp-block-heading) {
	color: var(--ted-apple-text);
	font-family: var(--ted-apple-display) !important;
	font-weight: 600;
	letter-spacing: -0.04em;
}

body.ted-apple-design .wp-site-blocks :where(p, li) {
	color: var(--ted-apple-secondary);
	line-height: 1.62;
}

body.ted-apple-design .wp-site-blocks :where(.wp-element-button, .wp-block-button__link) {
	background: var(--ted-apple-accent);
	border-radius: 999px;
	color: #ffffff;
	font-family: var(--ted-apple-font) !important;
	font-weight: 600;
	min-height: 48px;
	padding: 12px 22px;
}

body.ted-apple-design .cpc-landing-root,
body.ted-apple-design .cpc-course-app-shell,
body.ted-apple-design .cpc-consultation-root,
body.ted-apple-design .cpc-program-root,
body.ted-apple-design .cpc-dashboard-root,
body.ted-apple-design .cpc-auth-shell,
body.ted-apple-design .cpc-access-gate,
body.login.ted-apple-design {
	--bg: var(--ted-apple-bg);
	--surface: var(--ted-apple-surface);
	--surface-subtle: var(--ted-apple-surface-raised);
	--border: var(--ted-apple-border);
	--border-strong: var(--ted-apple-border-strong);
	--text-primary: var(--ted-apple-text);
	--text-secondary: var(--ted-apple-secondary);
	--text: var(--ted-apple-text);
	--muted: var(--ted-apple-secondary);
	--muted-strong: #d2d2d7;
	--accent: var(--ted-apple-accent);
	--accent-dark: #4338ca;
	--accent-soft: var(--ted-apple-accent-soft);
	--success: var(--ted-apple-success);
	--success-soft: rgba(48, 209, 88, 0.14);
	--danger: var(--ted-apple-danger);
	--danger-soft: rgba(255, 105, 97, 0.14);
	--nav: rgba(10, 10, 11, 0.84);
	--nav-muted: var(--ted-apple-secondary);
	--topbar-bg: rgba(22, 22, 23, 0.78);
	--focus-ring: 0 0 0 4px rgba(79, 70, 229, 0.28);
	--shadow: var(--ted-apple-shadow);
	--shadow-sm: var(--ted-apple-shadow-sm);
	--shadow-card: var(--ted-apple-shadow-sm);
	--shadow-app: var(--ted-apple-shadow-float);
	--radius-sm: var(--ted-apple-radius-sm);
	--radius: var(--ted-apple-radius);
	--radius-lg: var(--ted-apple-radius-lg);
	--cpc-landing-bg: var(--ted-apple-bg);
	--cpc-landing-panel: var(--ted-apple-surface);
	--cpc-landing-panel-raised: var(--ted-apple-surface-raised);
	--cpc-landing-line: var(--ted-apple-border);
	--cpc-landing-line-strong: var(--ted-apple-border-strong);
	--cpc-landing-text: var(--ted-apple-text);
	--cpc-landing-muted: var(--ted-apple-secondary);
	--cpc-landing-accent: var(--ted-apple-accent);
	--cpc-landing-accent-dark: var(--ted-apple-accent-soft);
	--cpc-landing-accent-ink: #ffffff;
	--ease-out: var(--ted-apple-ease);
	--ease-in-out: var(--ted-apple-ease-state);
	--duration-fast: var(--ted-apple-fast);
	--duration-base: var(--ted-apple-base);
	--duration-slow: var(--ted-apple-slow);
	font-family: var(--ted-apple-font) !important;
}

body.ted-apple-design .cpc-landing-root {
	background: var(--ted-apple-bg) !important;
	background-image: none !important;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.58;
}

body.ted-apple-design :where(.cpc-landing-root, .cpc-app, .cpc-auth-shell, .cpc-access-gate, .cpc-consultation-root) :where(h1, h2, h3, h4),
body.login.ted-apple-design :where(h1, h2, h3),
body.ted-apple-admin :where(h1, h2, h3) {
	font-family: var(--ted-apple-display) !important;
	font-optical-sizing: auto;
	font-style: normal;
	text-wrap: balance;
}

body.ted-apple-design :where(.cpc-landing-root, .cpc-app, .cpc-auth-shell, .cpc-access-gate, .cpc-consultation-root) h1 {
	font-weight: 650;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

body.ted-apple-design :where(.cpc-landing-root, .cpc-app, .cpc-auth-shell, .cpc-access-gate, .cpc-consultation-root) :where(h2, h3, h4) {
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

body.ted-apple-design :where(.cpc-landing-root, .cpc-app, .cpc-auth-shell, .cpc-access-gate, .cpc-consultation-root) p {
	text-wrap: pretty;
}

/* Shared controls */
body.ted-apple-design :where(
	.cpc-button,
	.cpc-hero-cta,
	.cpc-path-button,
	.cpc-consultation-primary-button,
	.cpc-consultation-submit,
	.cpc-signup-submit,
	.cpc-ai-chat-send,
	.cpc-quiz-launch,
	.cpc-completion-toggle
) {
	align-items: center;
	border-radius: 999px !important;
	display: inline-flex;
	font-family: var(--ted-apple-font) !important;
	font-size: 15px;
	font-weight: 600;
	justify-content: center;
	letter-spacing: -0.01em;
	min-height: 48px;
	padding: 12px 22px;
	transition:
		background-color var(--ted-apple-base) var(--ted-apple-ease-state),
		border-color var(--ted-apple-base) var(--ted-apple-ease-state),
		box-shadow var(--ted-apple-base) var(--ted-apple-ease),
		color var(--ted-apple-base) var(--ted-apple-ease-state),
		opacity var(--ted-apple-fast) linear,
		transform var(--ted-apple-fast) var(--ted-apple-ease);
}

body.ted-apple-design :where(
	.cpc-button-primary,
	.cpc-hero-cta,
	.cpc-path-button-premium,
	.cpc-consultation-primary-button,
	.cpc-consultation-submit,
	.cpc-signup-submit,
	.cpc-ai-chat-send,
	.cpc-quiz-launch
) {
	background: var(--ted-apple-accent) !important;
	border: 1px solid transparent !important;
	box-shadow: 0 10px 26px rgba(79, 70, 229, 0.24);
	color: #ffffff !important;
}

body.ted-apple-design :where(button, a, summary, [role="button"]).ted-apple-pressed,
body.ted-apple-design :where(button, a, summary, [role="button"]):active,
body.login.ted-apple-design :where(button, a, input[type="submit"]):active {
	transform: scale(0.975) !important;
	transition-duration: 90ms !important;
}

body.ted-apple-design :where(a, button, input, select, textarea, summary):focus-visible,
body.login.ted-apple-design :where(a, button, input, select, textarea):focus-visible {
	box-shadow: var(--focus-ring, 0 0 0 4px rgba(79, 70, 229, 0.28)) !important;
	outline: none !important;
}

@media (hover: hover) and (pointer: fine) {
	body.ted-apple-design :where(
		.cpc-button-primary,
		.cpc-hero-cta,
		.cpc-path-button-premium,
		.cpc-consultation-primary-button,
		.cpc-consultation-submit,
		.cpc-signup-submit,
		.cpc-ai-chat-send,
		.cpc-quiz-launch
	):hover {
		background: var(--ted-apple-accent-hover) !important;
		box-shadow: 0 14px 34px rgba(79, 70, 229, 0.34);
		transform: translateY(-2px);
	}
}

/* Theme chrome and ordinary WordPress pages */
body.ted-apple-design .wp-site-blocks {
	background: var(--ted-apple-bg);
	color: var(--ted-apple-text);
}

body.ted-apple-design:not(.cpc-course-landing-page):not(.cpc-course-app-page) header.wp-block-template-part,
body.ted-apple-design:not(.cpc-course-landing-page):not(.cpc-course-app-page) footer.wp-block-template-part {
	background: var(--ted-apple-material-strong);
	backdrop-filter: blur(28px) saturate(160%);
	-webkit-backdrop-filter: blur(28px) saturate(160%);
	border-color: var(--ted-apple-border);
}

body.ted-apple-design .wp-block-button__link {
	background: var(--ted-apple-accent);
	border-radius: 999px;
	font-family: var(--ted-apple-font);
	font-weight: 600;
	min-height: 48px;
	padding: 12px 22px;
}

/* Floating navigation material */
body.ted-apple-design .cpc-landing-header,
body.ted-apple-design .cpc-course-app-header {
	align-items: center;
	backdrop-filter: blur(28px) saturate(170%);
	-webkit-backdrop-filter: blur(28px) saturate(170%);
	background: rgba(10, 10, 11, 0.72);
	border-bottom: 1px solid transparent;
	max-width: none;
	min-height: 68px;
	padding-left: max(24px, calc((100vw - var(--ted-apple-content)) / 2));
	padding-right: max(24px, calc((100vw - var(--ted-apple-content)) / 2));
	position: sticky;
	top: 0;
	transition:
		background-color var(--ted-apple-base) var(--ted-apple-ease-state),
		border-color var(--ted-apple-base) var(--ted-apple-ease-state),
		box-shadow var(--ted-apple-base) var(--ted-apple-ease);
	z-index: 80;
}

body.admin-bar.ted-apple-design .cpc-landing-header,
body.admin-bar.ted-apple-design .cpc-course-app-header {
	top: 32px;
}

body.ted-apple-design .cpc-landing-header[data-apple-scrolled="true"],
body.ted-apple-design .cpc-course-app-header[data-apple-scrolled="true"] {
	background: rgba(10, 10, 11, 0.9);
	border-bottom-color: var(--ted-apple-border);
	box-shadow: 0 10px 34px rgba(0, 0, 0, 0.18);
}

body.ted-apple-design .cpc-landing-logo {
	font-size: 15px;
	font-weight: 600;
	gap: 10px;
	letter-spacing: -0.025em;
}

body.ted-apple-design .cpc-landing-logo > span {
	background: var(--ted-apple-accent);
	border-radius: 11px;
	box-shadow: 0 8px 22px rgba(79, 70, 229, 0.26);
	font-family: var(--ted-apple-font);
	font-size: 11px;
	font-weight: 700;
	height: 34px;
	letter-spacing: -0.04em;
	transform: none;
	width: 34px;
}

body.ted-apple-design .cpc-landing-login,
body.ted-apple-design .cpc-public-nav a,
body.ted-apple-design .cpc-sign-out {
	border: 0;
	border-radius: 999px;
	color: var(--ted-apple-secondary);
	font-size: 14px;
	font-weight: 500;
	min-height: 44px;
	padding: 10px 15px;
	transition: background-color var(--ted-apple-fast) var(--ted-apple-ease-state), color var(--ted-apple-fast) var(--ted-apple-ease-state), transform var(--ted-apple-fast) var(--ted-apple-ease);
}

@media (hover: hover) and (pointer: fine) {
	body.ted-apple-design .cpc-landing-login:hover,
	body.ted-apple-design .cpc-public-nav a:hover,
	body.ted-apple-design .cpc-sign-out:hover {
		background: var(--ted-apple-highlight);
		color: var(--ted-apple-text);
	}
}

/* Homepage hero */
body.ted-apple-design .cpc-landing-hero {
	display: block;
	max-width: var(--ted-apple-content);
	min-height: 0;
	padding-bottom: 80px;
	padding-top: 110px;
}

body.ted-apple-design .cpc-hero-content {
	max-width: 1080px;
}

body.ted-apple-design .cpc-hero-tagline,
body.ted-apple-design .cpc-landing-kicker,
body.ted-apple-design .cpc-eyebrow {
	background: var(--ted-apple-highlight);
	border: 1px solid var(--ted-apple-border);
	border-radius: 999px;
	color: #d2d2d7;
	display: inline-flex;
	font-family: var(--ted-apple-font);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	padding: 9px 14px;
	text-transform: none;
}

body.ted-apple-design .cpc-hero-headline {
	font-size: clamp(3.4rem, 8.25vw, 7rem);
	letter-spacing: -0.065em;
	line-height: 0.94;
	margin: 30px 0 32px;
	max-width: 1100px;
}

body.ted-apple-design .cpc-hero-description {
	color: var(--ted-apple-secondary);
	font-size: clamp(1.1rem, 1.8vw, 1.35rem);
	letter-spacing: -0.012em;
	line-height: 1.48;
	margin-bottom: 34px;
	max-width: 760px;
}

body.ted-apple-design .cpc-hero-cta {
	min-height: 52px;
	padding-inline: 26px;
}

body.ted-apple-design .cpc-hero-marquee {
	bottom: auto;
	height: 320px;
	left: auto;
	margin-top: 74px;
	mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
	position: relative;
	width: 100%;
}

body.ted-apple-design .cpc-hero-marquee-card,
body.ted-apple-design .cpc-testimonial {
	background: var(--ted-apple-surface);
	border: 1px solid var(--ted-apple-border);
	border-radius: var(--ted-apple-radius-lg);
	box-shadow: var(--ted-apple-shadow-sm);
	overflow: hidden;
}

body.ted-apple-design .cpc-hero-marquee-card {
	transform: none;
}

body.ted-apple-design .cpc-hero-marquee-card img,
body.ted-apple-design .cpc-testimonial video,
body.ted-apple-design .cpc-testimonial img {
	border-radius: inherit;
}

/* Spacious homepage sections */
body.ted-apple-design :where(.cpc-landing-capture, .cpc-landing-social, .cpc-landing-modules, .cpc-landing-final) {
	max-width: var(--ted-apple-content);
	padding-bottom: 130px;
	padding-top: 130px;
}

body.ted-apple-design .cpc-landing-capture.cpc-landing-path-section,
body.ted-apple-design .cpc-landing-final.cpc-landing-final-paths {
	display: block;
}

body.ted-apple-design .cpc-landing-capture-copy,
body.ted-apple-design .cpc-landing-final-paths > div:first-child {
	margin-bottom: 54px;
	max-width: 820px;
}

body.ted-apple-design .cpc-landing-section-heading,
body.ted-apple-design .cpc-consultation-section-heading {
	margin-bottom: 54px;
	max-width: 820px;
}

body.ted-apple-design .cpc-landing-section-heading h2,
body.ted-apple-design .cpc-consultation-section-heading h2 {
	font-size: clamp(2.4rem, 5vw, 4.6rem);
	letter-spacing: -0.055em;
	line-height: 0.98;
	margin-bottom: 20px;
}

body.ted-apple-design .cpc-landing-section-heading p,
body.ted-apple-design .cpc-consultation-section-heading p {
	color: var(--ted-apple-secondary);
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	line-height: 1.5;
	max-width: 700px;
}

/* Offer ladder */
body.ted-apple-design .cpc-path-splitter {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

body.ted-apple-design .cpc-path-card {
	background: var(--ted-apple-surface);
	border: 1px solid var(--ted-apple-border);
	border-radius: var(--ted-apple-radius-lg);
	box-shadow: none;
	display: flex;
	flex-direction: column;
	grid-column: span 2;
	min-height: 510px;
	overflow: hidden;
	padding: 32px;
	position: relative;
	transition: border-color var(--ted-apple-base) var(--ted-apple-ease-state), box-shadow var(--ted-apple-base) var(--ted-apple-ease), transform var(--ted-apple-base) var(--ted-apple-ease);
}

body.ted-apple-design .cpc-path-card:nth-last-child(2) {
	grid-column: 2 / span 2;
}

body.ted-apple-design .cpc-path-card:last-child {
	grid-column: 4 / span 2;
}

body.ted-apple-design .cpc-path-card-featured,
body.ted-apple-design :where(.cpc-path-card-community, .cpc-path-card-onsite, .cpc-path-card-mentorship) {
	background: var(--ted-apple-surface-raised);
	border-color: rgba(99, 91, 255, 0.42);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.ted-apple-design .cpc-path-card::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
	content: "";
	height: 1px;
	left: 28px;
	opacity: 0.26;
	position: absolute;
	right: 28px;
	top: 0;
}

@media (hover: hover) and (pointer: fine) {
	body.ted-apple-design .cpc-path-card:hover {
		border-color: var(--ted-apple-border-strong);
		box-shadow: var(--ted-apple-shadow);
		transform: translateY(-6px);
	}
}

body.ted-apple-design .cpc-path-eyebrow {
	color: var(--ted-apple-tertiary);
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.08em;
}

body.ted-apple-design .cpc-path-card h3 {
	font-size: clamp(1.7rem, 2.2vw, 2.35rem);
	letter-spacing: -0.045em;
	line-height: 1.05;
	margin: 28px 0 18px;
}

body.ted-apple-design .cpc-path-card-heading {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0;
}

body.ted-apple-design .cpc-path-card-heading > span {
	color: var(--ted-apple-tertiary);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
}

body.ted-apple-design .cpc-path-card p {
	color: var(--ted-apple-secondary);
	font-size: 15px;
	line-height: 1.55;
}

body.ted-apple-design .cpc-path-price {
	align-items: baseline;
	color: var(--ted-apple-text);
	display: flex;
	font-size: clamp(2.1rem, 3.4vw, 3rem);
	font-weight: 650;
	gap: 8px;
	letter-spacing: -0.055em;
	line-height: 1;
	margin-top: auto;
	padding: 34px 0 22px;
}

body.ted-apple-design .cpc-path-price strong {
	color: var(--ted-apple-text);
	font-family: var(--ted-apple-display) !important;
	font-size: clamp(2.1rem, 3.4vw, 3rem);
	font-weight: 650;
	letter-spacing: -0.055em;
	line-height: 1;
}

body.ted-apple-design .cpc-path-price small,
body.ted-apple-design .cpc-path-price span {
	color: var(--ted-apple-tertiary);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

body.ted-apple-design .cpc-path-included-note {
	background: var(--ted-apple-highlight);
	border: 0;
	border-radius: var(--ted-apple-radius-sm);
	color: #d2d2d7;
	font-size: 13px;
	line-height: 1.45;
	padding: 13px 14px;
}

body.ted-apple-design .cpc-path-button {
	margin-top: 20px;
	width: 100%;
}

/* Testimonials and module overview */
body.ted-apple-design .cpc-testimonial-track {
	gap: 20px;
	scroll-padding-inline: 24px;
}

body.ted-apple-design .cpc-testimonial {
	transition: border-color var(--ted-apple-base) var(--ted-apple-ease-state), transform var(--ted-apple-base) var(--ted-apple-ease);
}

body.ted-apple-design .cpc-landing-module-list {
	background: var(--ted-apple-surface);
	border: 1px solid var(--ted-apple-border);
	border-radius: var(--ted-apple-radius-xl);
	box-shadow: var(--ted-apple-shadow-sm);
	overflow: hidden;
	padding: 12px 32px;
}

body.ted-apple-design .cpc-landing-module-list li {
	border-color: var(--ted-apple-border);
	font-size: clamp(1rem, 1.45vw, 1.18rem);
	line-height: 1.42;
	min-height: 76px;
	padding: 20px 0;
}

body.ted-apple-design .cpc-landing-module-list li::marker,
body.ted-apple-design .cpc-module-number {
	color: var(--ted-apple-accent);
}

body.ted-apple-design .cpc-landing-footer {
	border-top: 1px solid var(--ted-apple-border);
	color: var(--ted-apple-tertiary);
	max-width: var(--ted-apple-content);
	padding-bottom: 36px;
	padding-top: 36px;
}

/* Course page shell and authentication */
body.ted-apple-design .cpc-course-app-shell {
	background: var(--ted-apple-bg) !important;
	background-image: none !important;
}

body.ted-apple-design .cpc-course-app-main {
	max-width: 1440px;
	padding: 72px 32px 96px;
}

body.ted-apple-design .cpc-auth-shell,
body.ted-apple-design .cpc-access-gate {
	margin-inline: auto;
	max-width: 560px;
}

body.ted-apple-design .cpc-auth-panel,
body.ted-apple-design .cpc-access-gate,
body.ted-apple-design .cpc-verification-panel,
body.ted-apple-design .cpc-verification-success {
	backdrop-filter: blur(28px) saturate(150%);
	-webkit-backdrop-filter: blur(28px) saturate(150%);
	background: var(--ted-apple-material);
	border: 1px solid var(--ted-apple-border);
	border-radius: var(--ted-apple-radius-xl);
	box-shadow: var(--ted-apple-shadow-float);
	padding: 40px;
}

body.ted-apple-design .cpc-auth-mark,
body.ted-apple-design .cpc-access-icon,
body.ted-apple-design .cpc-verification-mark {
	background: var(--ted-apple-accent);
	border-radius: 15px;
	box-shadow: 0 12px 28px rgba(79, 70, 229, 0.3);
	height: 48px;
	width: 48px;
}

body.ted-apple-design .cpc-auth-panel h2,
body.ted-apple-design .cpc-access-gate h2,
body.ted-apple-design .cpc-verification-heading h1 {
	font-size: clamp(2.1rem, 5vw, 3.4rem);
	letter-spacing: -0.055em;
	line-height: 0.98;
	margin: 24px 0 14px;
}

body.ted-apple-design :where(.cpc-field input, .cpc-field select, .cpc-field textarea, .cpc-auth-form input, .cpc-auth-form select, .cpc-consultation-form input, .cpc-consultation-form select, .cpc-consultation-form textarea, .cpc-ai-chat-form textarea) {
	appearance: none;
	background: rgba(0, 0, 0, 0.34);
	border: 1px solid var(--ted-apple-border-strong);
	border-radius: 14px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
	color: var(--ted-apple-text);
	font-family: var(--ted-apple-font) !important;
	font-size: 16px;
	line-height: 1.4;
	min-height: 52px;
	padding: 13px 15px;
	transition: background-color var(--ted-apple-fast) var(--ted-apple-ease-state), border-color var(--ted-apple-fast) var(--ted-apple-ease-state), box-shadow var(--ted-apple-fast) var(--ted-apple-ease-state);
}

body.ted-apple-design :where(.cpc-field input, .cpc-field select, .cpc-field textarea, .cpc-auth-form input, .cpc-auth-form select, .cpc-consultation-form input, .cpc-consultation-form select, .cpc-consultation-form textarea, .cpc-ai-chat-form textarea):focus {
	background: rgba(0, 0, 0, 0.5);
	border-color: var(--ted-apple-accent);
	box-shadow: var(--focus-ring);
	outline: 0;
}

body.ted-apple-design .cpc-field label,
body.ted-apple-design .cpc-consultation-field label {
	color: #d2d2d7;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: -0.005em;
}

body.ted-apple-design .cpc-code-inputs input {
	background: rgba(0, 0, 0, 0.42);
	border: 1px solid var(--ted-apple-border-strong);
	border-radius: 16px;
	font-family: var(--ted-apple-display);
	font-size: 28px;
	font-weight: 600;
	height: 64px;
}

/* Dashboard application */
body.ted-apple-design .cpc-dashboard-root[data-theme="light"],
html[data-cpc-dashboard-theme="light"] body.ted-apple-design .cpc-dashboard-root {
	--bg: #f5f5f7;
	--surface: rgba(255, 255, 255, 0.78);
	--surface-subtle: #ffffff;
	--border: rgba(0, 0, 0, 0.1);
	--border-strong: rgba(0, 0, 0, 0.18);
	--text-primary: #1d1d1f;
	--text-secondary: #6e6e73;
	--text: #1d1d1f;
	--muted: #6e6e73;
	--muted-strong: #515154;
	--nav: rgba(255, 255, 255, 0.8);
	--nav-muted: #6e6e73;
	--topbar-bg: rgba(255, 255, 255, 0.76);
	--accent-soft: rgba(79, 70, 229, 0.1);
	--success-soft: rgba(36, 138, 61, 0.1);
	--shadow-app: 0 30px 80px rgba(0, 0, 0, 0.13);
	color-scheme: light;
}

body.ted-apple-design .cpc-dashboard-root[data-theme="dark"],
html[data-cpc-dashboard-theme="dark"] body.ted-apple-design .cpc-dashboard-root {
	--bg: #000000;
	--surface: rgba(22, 22, 23, 0.84);
	--surface-subtle: #1d1d1f;
	--border: var(--ted-apple-border);
	--border-strong: var(--ted-apple-border-strong);
	--text-primary: var(--ted-apple-text);
	--text-secondary: var(--ted-apple-secondary);
	--text: var(--ted-apple-text);
	--muted: var(--ted-apple-secondary);
	--nav: rgba(10, 10, 11, 0.88);
	--nav-muted: var(--ted-apple-secondary);
	--topbar-bg: rgba(22, 22, 23, 0.76);
	--accent-soft: var(--ted-apple-accent-soft);
	color-scheme: dark;
}

body.ted-apple-design .cpc-dashboard-root.cpc-app {
	backdrop-filter: blur(34px) saturate(150%);
	-webkit-backdrop-filter: blur(34px) saturate(150%);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 32px;
	box-shadow: var(--shadow-app);
	gap: 0;
	grid-template-columns: 268px minmax(0, 1fr);
	margin: 20px auto;
	max-width: 1380px;
	min-height: 840px;
	overflow: clip;
}

body.ted-apple-design .cpc-sidebar {
	backdrop-filter: blur(28px) saturate(150%);
	-webkit-backdrop-filter: blur(28px) saturate(150%);
	background: var(--nav);
	border-right: 1px solid var(--border);
	color: var(--text);
	padding: 24px 16px 28px;
}

body.ted-apple-design .cpc-brand {
	gap: 11px;
	padding: 4px 10px 26px;
}

body.ted-apple-design .cpc-brand-icon {
	border-radius: 13px;
	box-shadow: 0 10px 26px rgba(79, 70, 229, 0.28);
	height: 42px;
	width: 42px;
}

body.ted-apple-design .cpc-primary-nav {
	border-color: var(--border);
	gap: 5px;
}

body.ted-apple-design .cpc-primary-nav a,
body.ted-apple-design .cpc-module-nav a {
	border: 0;
	border-radius: 13px;
	color: var(--nav-muted);
	font-size: 14px;
	font-weight: 550;
	min-height: 46px;
	transition: background-color var(--ted-apple-fast) var(--ted-apple-ease-state), color var(--ted-apple-fast) var(--ted-apple-ease-state), transform var(--ted-apple-fast) var(--ted-apple-ease);
}

body.ted-apple-design .cpc-primary-nav a.is-active,
body.ted-apple-design .cpc-primary-nav a[aria-current="page"],
body.ted-apple-design .cpc-module-nav a.is-active {
	background: var(--accent-soft);
	box-shadow: inset 0 0 0 1px rgba(99, 91, 255, 0.24);
	color: var(--text);
}

body.ted-apple-design .cpc-topbar {
	backdrop-filter: blur(28px) saturate(160%);
	-webkit-backdrop-filter: blur(28px) saturate(160%);
	background: var(--topbar-bg);
	border-bottom: 1px solid var(--border);
	min-height: 76px;
	padding: 16px 28px;
	position: sticky;
	top: 0;
	z-index: 25;
}

body.ted-apple-design .cpc-student-menu,
body.ted-apple-design .cpc-theme-toggle {
	background: var(--surface-subtle);
	border: 1px solid var(--border);
	border-radius: 999px;
}

body.ted-apple-design .cpc-theme-toggle {
	height: 44px;
	width: 72px;
}

body.ted-apple-design .cpc-theme-toggle-thumb {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	transition: transform 360ms var(--ted-apple-ease), background-color var(--ted-apple-base) var(--ted-apple-ease-state);
}

body.ted-apple-design .cpc-main,
body.ted-apple-design .cpc-workspace {
	background: var(--bg);
}

body.ted-apple-design .cpc-main {
	padding: 34px;
}

body.ted-apple-design :where(.cpc-progress-card, .cpc-learning-panel, .cpc-module-detail, .cpc-certificate-section, .cpc-quiz-shell, .cpc-ai-chat) {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 24px;
	box-shadow: var(--shadow-card);
}

body.ted-apple-design .cpc-progress-card {
	padding: 26px 28px;
}

body.ted-apple-design .cpc-progress-track {
	background: var(--surface-subtle);
	border-radius: 999px;
	height: 8px;
	overflow: hidden;
}

body.ted-apple-design .cpc-progress-track > span {
	background: var(--ted-apple-accent);
	border-radius: inherit;
	box-shadow: 0 0 20px rgba(79, 70, 229, 0.42);
	transition: width 520ms var(--ted-apple-ease);
}

body.ted-apple-design .cpc-progress-percent {
	font-family: var(--ted-apple-display);
	font-size: 30px;
	font-weight: 650;
	letter-spacing: -0.04em;
}

body.ted-apple-design .cpc-video-frame,
body.ted-apple-design .cpc-video-placeholder {
	background: #000;
	border: 1px solid var(--border);
	border-radius: 22px;
	box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
	overflow: hidden;
}

body.ted-apple-design .cpc-video-frame iframe {
	border-radius: inherit;
}

body.ted-apple-design .cpc-video-support {
	background: var(--surface-subtle);
	border: 0;
	border-radius: 16px;
	padding: 14px 16px;
}

body.ted-apple-design .cpc-module-heading h2 {
	font-size: clamp(2rem, 4vw, 3.4rem);
	letter-spacing: -0.052em;
	line-height: 1;
}

body.ted-apple-design .cpc-module-actions,
body.ted-apple-design .cpc-action-row {
	gap: 12px;
}

body.ted-apple-design .cpc-completion-toggle {
	background: transparent;
	border: 1px solid var(--border-strong);
	color: var(--text);
}

body.ted-apple-design .cpc-completion-toggle.is-completed,
body.ted-apple-design .cpc-module-check.is-completed {
	background: var(--success-soft);
	border-color: rgba(48, 209, 88, 0.34);
	color: var(--success);
}

/* Quiz, AI assistant, and certificate chrome */
body.ted-apple-design .cpc-quiz-shell,
body.ted-apple-design .cpc-ai-chat,
body.ted-apple-design .cpc-certificate-section {
	overflow: hidden;
	padding: 24px;
}

body.ted-apple-design .cpc-quiz-option,
body.ted-apple-design .cpc-quiz-options button {
	background: var(--surface-subtle);
	border: 1px solid var(--border);
	border-radius: 16px;
	color: var(--text);
	font-family: var(--ted-apple-font);
	font-size: 15px;
	line-height: 1.45;
	min-height: 52px;
	padding: 14px 16px;
	text-align: left;
	transition: background-color var(--ted-apple-fast) var(--ted-apple-ease-state), border-color var(--ted-apple-fast) var(--ted-apple-ease-state), transform var(--ted-apple-fast) var(--ted-apple-ease);
}

body.ted-apple-design .cpc-quiz-options button[aria-pressed="true"],
body.ted-apple-design .cpc-quiz-options button.is-selected {
	background: var(--accent-soft);
	border-color: var(--ted-apple-accent);
}

body.ted-apple-design .cpc-ai-chat-toggle {
	border-radius: 18px;
	min-height: 64px;
	padding: 14px 16px;
}

body.ted-apple-design .cpc-ai-chat-messages {
	background: rgba(0, 0, 0, 0.18);
	border-radius: 18px;
	max-height: min(440px, 55svh);
	padding: 18px;
	scroll-padding-block: 18px;
}

body.ted-apple-design .cpc-ai-chat-message,
body.ted-apple-design .cpc-ai-message-bubble {
	border-radius: 18px;
	line-height: 1.52;
	max-width: min(88%, 720px);
	overflow-wrap: anywhere;
}

body.ted-apple-design .cpc-ai-chat-form {
	align-items: end;
	gap: 10px;
}

body.ted-apple-design .cpc-ai-chat-send {
	flex: 0 0 auto;
	height: 48px;
	min-width: 48px;
	padding: 0 18px;
}

body.ted-apple-design .cpc-canvas-wrap {
	background: #eee8dc;
	border: 0;
	border-radius: 18px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
	overflow: auto;
	padding: 14px;
}

body.ted-apple-design .cpc-canvas-wrap canvas {
	display: block;
	height: auto !important;
	max-width: 100%;
	width: 100% !important;
}

/* Consultation, mentorship, online, and on site pages */
body.ted-apple-design .cpc-consultation-hero,
body.ted-apple-design .cpc-consultation-section {
	max-width: calc(var(--ted-apple-content) + 48px);
	padding-left: 24px;
	padding-right: 24px;
}

body.ted-apple-design .cpc-consultation-hero {
	gap: 64px;
	grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
	min-height: min(820px, calc(100svh - 68px));
	padding-bottom: 110px;
	padding-top: 110px;
}

body.ted-apple-design .cpc-consultation-hero h1 {
	font-size: clamp(3.3rem, 7.4vw, 6.5rem);
	letter-spacing: -0.065em;
	line-height: 0.94;
	margin-bottom: 30px;
}

body.ted-apple-design .cpc-consultation-lede {
	font-size: clamp(1.08rem, 1.8vw, 1.3rem);
	line-height: 1.5;
	max-width: var(--ted-apple-reading);
}

body.ted-apple-design .cpc-consultation-price {
	border-color: var(--ted-apple-border);
	padding: 24px 0;
}

body.ted-apple-design .cpc-consultation-price strong {
	color: var(--ted-apple-text);
	font-family: var(--ted-apple-display);
	font-size: clamp(2.3rem, 5vw, 3.6rem);
	font-weight: 650;
	letter-spacing: -0.06em;
}

body.ted-apple-design .cpc-consultation-hero-panel,
body.ted-apple-design .cpc-consultation-form-panel {
	backdrop-filter: blur(28px) saturate(150%);
	-webkit-backdrop-filter: blur(28px) saturate(150%);
	background: var(--ted-apple-material);
	border: 1px solid var(--ted-apple-border);
	border-radius: var(--ted-apple-radius-xl);
	box-shadow: var(--ted-apple-shadow);
	padding: 36px;
}

body.ted-apple-design .cpc-consultation-hero-panel::before {
	display: none;
}

body.ted-apple-design .cpc-consultation-section {
	padding-bottom: 125px;
	padding-top: 125px;
}

body.ted-apple-design :where(
	.cpc-consultation-problem-grid > *,
	.cpc-consultation-fit-grid > *,
	.cpc-consultation-stack > *,
	.cpc-mentorship-proof-grid > *,
	.cpc-program-point-grid > *,
	.cpc-program-included-grid > *,
	.cpc-program-logistics-grid > *,
	.cpc-program-curriculum-list > *
) {
	background: var(--ted-apple-surface);
	border: 1px solid var(--ted-apple-border);
	border-radius: 22px;
	box-shadow: none;
	padding: 26px;
	transition: border-color var(--ted-apple-base) var(--ted-apple-ease-state), box-shadow var(--ted-apple-base) var(--ted-apple-ease), transform var(--ted-apple-base) var(--ted-apple-ease);
}

@media (hover: hover) and (pointer: fine) {
	body.ted-apple-design :where(
		.cpc-consultation-problem-grid > *,
		.cpc-consultation-fit-grid > *,
		.cpc-consultation-stack > *,
		.cpc-mentorship-proof-grid > *,
		.cpc-program-point-grid > *,
		.cpc-program-included-grid > *,
		.cpc-program-logistics-grid > *
	):hover {
		border-color: var(--ted-apple-border-strong);
		box-shadow: var(--ted-apple-shadow-sm);
		transform: translateY(-4px);
	}
}

body.ted-apple-design .cpc-program-curriculum-featured {
	background: var(--ted-apple-accent-soft) !important;
	border-color: rgba(99, 91, 255, 0.46) !important;
	box-shadow: 0 18px 48px rgba(79, 70, 229, 0.12) !important;
}

body.ted-apple-design .cpc-program-facts {
	background: var(--ted-apple-highlight);
	border: 1px solid var(--ted-apple-border);
	border-radius: 999px;
	gap: 4px;
	padding: 7px;
}

body.ted-apple-design .cpc-program-facts > * {
	border-radius: 999px;
	padding: 9px 13px;
}

body.ted-apple-design .cpc-consultation-faq-list {
	display: grid;
	gap: 12px;
}

body.ted-apple-design .cpc-consultation-faq details {
	background: var(--ted-apple-surface);
	border: 1px solid var(--ted-apple-border);
	border-radius: 20px;
	overflow: clip;
	padding: 0 22px;
	transition: background-color var(--ted-apple-base) var(--ted-apple-ease-state), border-color var(--ted-apple-base) var(--ted-apple-ease-state);
}

body.ted-apple-design .cpc-consultation-faq details[open] {
	background: var(--ted-apple-surface-raised);
	border-color: var(--ted-apple-border-strong);
}

body.ted-apple-design .cpc-consultation-faq summary {
	align-items: center;
	cursor: pointer;
	display: flex;
	font-size: 17px;
	font-weight: 600;
	justify-content: space-between;
	min-height: 72px;
	padding: 18px 0;
}

body.ted-apple-design .cpc-consultation-faq details > :not(summary) {
	color: var(--ted-apple-secondary);
	line-height: 1.58;
}

body.ted-apple-design .cpc-consultation-form {
	gap: 18px;
}

/* Branded not found screen */
body.ted-apple-design .cpc-not-found-main {
	align-items: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: calc(100svh - 136px);
	padding: 100px 24px;
	text-align: center;
}

body.ted-apple-design .cpc-not-found-main h1 {
	font-size: clamp(3rem, 8vw, 6rem);
	max-width: 900px;
}

/* WordPress authentication screens */
body.login.ted-apple-design {
	align-items: center;
	background: var(--ted-apple-bg) !important;
	background-image: none !important;
	color: var(--ted-apple-text);
	display: flex;
	justify-content: center;
	min-height: 100dvh;
	padding: 32px 18px;
}

body.login.ted-apple-design #login {
	margin: auto;
	max-width: 430px;
	padding: 0;
	width: 100%;
}

body.login.ted-apple-design #login h1 a {
	color: var(--ted-apple-text);
	font-family: var(--ted-apple-display) !important;
	font-size: 22px;
	font-weight: 650;
	letter-spacing: -0.035em;
}

body.login.ted-apple-design #login h1 a::before {
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba(79, 70, 229, 0.3);
}

body.login.ted-apple-design #login form {
	backdrop-filter: blur(28px) saturate(150%);
	-webkit-backdrop-filter: blur(28px) saturate(150%);
	background: var(--ted-apple-material);
	border: 1px solid var(--ted-apple-border);
	border-radius: 28px;
	box-shadow: var(--ted-apple-shadow-float);
	padding: 32px;
}

body.login.ted-apple-design #login :where(input[type="text"], input[type="email"], input[type="password"], .input) {
	background: rgba(0, 0, 0, 0.34);
	border: 1px solid var(--ted-apple-border-strong);
	border-radius: 14px;
	color: var(--ted-apple-text);
	font-family: var(--ted-apple-font);
	font-size: 16px;
	min-height: 52px;
	padding: 13px 15px;
}

body.login.ted-apple-design.wp-core-ui #login .button-primary,
body.login.ted-apple-design.wp-core-ui #login input.button-primary {
	background: var(--ted-apple-accent) !important;
	border: 0 !important;
	border-radius: 999px;
	box-shadow: 0 10px 26px rgba(79, 70, 229, 0.24);
	color: #ffffff !important;
	font-family: var(--ted-apple-font);
	font-size: 15px;
	font-weight: 600;
	min-height: 50px;
	text-shadow: none;
	width: 100%;
}

body.login.ted-apple-design #login :where(.message, #login_error, .success) {
	background: var(--ted-apple-surface);
	border: 1px solid var(--ted-apple-border);
	border-left: 4px solid var(--ted-apple-accent);
	border-radius: 16px;
	box-shadow: none;
	color: var(--ted-apple-secondary);
	padding: 15px 17px;
}

body.login.ted-apple-design #login #login_error {
	border-left-color: var(--ted-apple-danger);
}

body.login.ted-apple-design #nav,
body.login.ted-apple-design #backtoblog,
body.login.ted-apple-design .privacy-policy-page-link {
	color: var(--ted-apple-secondary);
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

body.login.ted-apple-design #nav a,
body.login.ted-apple-design #backtoblog a,
body.login.ted-apple-design .privacy-policy-page-link a {
	color: var(--ted-apple-secondary);
}

/* Course admin screens stay recognisably WordPress, with quieter materials. */
body.ted-apple-admin {
	--ted-admin-accent: #4f46e5;
	--ted-admin-bg: #f5f5f7;
	--ted-admin-surface: #ffffff;
	--ted-admin-text: #1d1d1f;
	--ted-admin-secondary: #6e6e73;
	--ted-admin-border: rgba(0, 0, 0, 0.1);
	background: var(--ted-admin-bg);
	color: var(--ted-admin-text);
}

body.ted-apple-admin #wpcontent,
body.ted-apple-admin #wpbody-content {
	background: var(--ted-admin-bg);
}

body.ted-apple-admin :where(.wrap, .cpc-analytics-wrap, .cpc-approvals-wrap, .cpc-ai-admin, .cpc-transcript-importer) {
	font-family: var(--ted-apple-font);
}

body.ted-apple-admin :where(.postbox, .cpc-stat-card, .cpc-chart-card, .cpc-transcript-import-box) {
	background: var(--ted-admin-surface);
	border: 1px solid var(--ted-admin-border);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

body.ted-apple-admin :where(.button, .button-primary, .button-secondary) {
	border-radius: 10px;
	font-family: var(--ted-apple-font);
	font-weight: 550;
	min-height: 38px;
	padding-inline: 14px;
}

body.ted-apple-admin :where(.button-primary, .page-title-action) {
	background: var(--ted-admin-accent) !important;
	border-color: var(--ted-admin-accent) !important;
	color: #ffffff !important;
}

body.ted-apple-admin :where(input[type="text"], input[type="email"], input[type="number"], input[type="search"], input[type="url"], input[type="password"], select, textarea) {
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 10px;
	box-shadow: none;
	font-family: var(--ted-apple-font);
	min-height: 40px;
}

body.ted-apple-admin :where(input, select, textarea):focus {
	border-color: var(--ted-admin-accent);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
	outline: 0;
}

body.ted-apple-admin .widefat {
	border: 1px solid var(--ted-admin-border);
	border-radius: 14px;
	overflow: hidden;
}

/* Scroll entrance, enabled by the companion script only after load. */
@media (prefers-reduced-motion: no-preference) {
	html.ted-apple-motion-ready body.ted-apple-design .ted-apple-reveal {
		opacity: 0;
		transform: translate3d(0, 18px, 0);
		transition: opacity var(--ted-apple-slow) var(--ted-apple-ease), transform var(--ted-apple-slow) var(--ted-apple-ease);
	}

	html.ted-apple-motion-ready body.ted-apple-design .ted-apple-reveal.is-visible {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}

/* Responsive layout */
@media (max-width: 1100px) {
	body.ted-apple-design .cpc-path-splitter {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.ted-apple-design .cpc-path-card,
	body.ted-apple-design .cpc-path-card:nth-last-child(2),
	body.ted-apple-design .cpc-path-card:last-child {
		grid-column: auto;
	}

	body.ted-apple-design .cpc-path-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		margin-inline: auto;
		max-width: calc(50% - 10px);
		width: 100%;
	}

	body.ted-apple-design .cpc-consultation-hero {
		gap: 40px;
		grid-template-columns: 1fr;
		min-height: 0;
	}

	body.ted-apple-design .cpc-consultation-hero-panel {
		max-width: 760px;
	}

	body.ted-apple-design .cpc-dashboard-root.cpc-app {
		border-radius: 26px;
		grid-template-columns: 240px minmax(0, 1fr);
	}

	body.ted-apple-design .cpc-main {
		padding: 26px;
	}
}

@media (max-width: 782px) {
	body.admin-bar.ted-apple-design .cpc-landing-header,
	body.admin-bar.ted-apple-design .cpc-course-app-header {
		top: 46px;
	}
}

@media (max-width: 767px) {
	body.ted-apple-design .cpc-landing-header,
	body.ted-apple-design .cpc-course-app-header {
		min-height: 62px;
		padding-left: 18px;
		padding-right: 18px;
	}

	body.ted-apple-design .cpc-landing-hero {
		min-height: auto;
		padding: 82px 20px 74px;
	}

	body.ted-apple-design .cpc-hero-headline {
		font-size: clamp(3rem, 15vw, 4.6rem);
		line-height: 0.95;
		margin: 24px 0 24px;
	}

	body.ted-apple-design .cpc-hero-description {
		font-size: 1.05rem;
		line-height: 1.5;
	}

	body.ted-apple-design :where(.cpc-landing-capture, .cpc-landing-social, .cpc-landing-modules, .cpc-landing-final, .cpc-consultation-section) {
		padding-bottom: 82px;
		padding-top: 82px;
	}

	body.ted-apple-design .cpc-path-splitter {
		grid-template-columns: 1fr;
	}

	body.ted-apple-design .cpc-path-card,
	body.ted-apple-design .cpc-path-card:last-child:nth-child(odd) {
		grid-column: auto;
		max-width: none;
		min-height: 0;
		padding: 28px;
	}

	body.ted-apple-design .cpc-landing-module-list {
		border-radius: 26px;
		padding: 8px 22px;
	}

	body.ted-apple-design .cpc-course-app-main {
		padding: 42px 16px 70px;
	}

	body.ted-apple-design .cpc-auth-panel,
	body.ted-apple-design .cpc-access-gate,
	body.ted-apple-design .cpc-verification-panel,
	body.ted-apple-design .cpc-verification-success {
		border-radius: 26px;
		padding: 28px 22px;
	}

	body.ted-apple-design .cpc-dashboard-root.cpc-app {
		border-left: 0;
		border-radius: 0;
		border-right: 0;
		box-shadow: none;
		display: block;
		margin: 0;
		min-height: 100dvh;
	}

	body.ted-apple-design .cpc-sidebar {
		border-bottom: 1px solid var(--border);
		border-right: 0;
		padding: 12px 16px;
	}

	body.ted-apple-design .cpc-primary-nav,
	body.ted-apple-design .cpc-module-nav {
		display: flex;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
	}

	body.ted-apple-design .cpc-primary-nav a,
	body.ted-apple-design .cpc-module-nav a {
		flex: 0 0 auto;
		min-height: 46px;
		scroll-snap-align: start;
	}

	body.ted-apple-design .cpc-topbar {
		min-height: 68px;
		padding: 12px 16px;
	}

	body.ted-apple-design .cpc-main {
		padding: 18px 16px 36px;
	}

	body.ted-apple-design .cpc-progress-card,
	body.ted-apple-design .cpc-learning-panel,
	body.ted-apple-design .cpc-module-detail,
	body.ted-apple-design .cpc-certificate-section,
	body.ted-apple-design .cpc-quiz-shell,
	body.ted-apple-design .cpc-ai-chat {
		border-radius: 20px;
	}

	body.ted-apple-design .cpc-module-actions,
	body.ted-apple-design .cpc-action-row {
		align-items: stretch;
		flex-direction: column;
	}

	body.ted-apple-design .cpc-module-actions > *,
	body.ted-apple-design .cpc-action-row > * {
		width: 100%;
	}

	body.ted-apple-design .cpc-consultation-hero {
		padding: 78px 20px 76px;
	}

	body.ted-apple-design .cpc-consultation-hero h1 {
		font-size: clamp(3rem, 14vw, 4.4rem);
	}

	body.ted-apple-design .cpc-consultation-hero-panel,
	body.ted-apple-design .cpc-consultation-form-panel {
		border-radius: 26px;
		padding: 28px 22px;
	}

	body.ted-apple-design .cpc-program-facts {
		align-items: stretch;
		border-radius: 20px;
		flex-direction: column;
	}
}

@media (max-width: 430px) {
	body.ted-apple-design .cpc-landing-header,
	body.ted-apple-design .cpc-course-app-header {
		padding-inline: 14px;
	}

	body.ted-apple-design .cpc-landing-logo strong {
		max-width: 145px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	body.ted-apple-design .cpc-hero-headline,
	body.ted-apple-design .cpc-consultation-hero h1 {
		font-size: clamp(2.75rem, 14vw, 3.7rem);
		letter-spacing: -0.058em;
	}

	body.ted-apple-design .cpc-path-card {
		border-radius: 24px;
		padding: 24px;
	}

	body.ted-apple-design .cpc-code-inputs {
		gap: 6px;
	}

	body.ted-apple-design .cpc-code-inputs input {
		border-radius: 12px;
		font-size: 22px;
		height: 54px;
		min-width: 0;
	}

	body.login.ted-apple-design {
		padding: 20px 14px;
	}

	body.login.ted-apple-design #login form {
		border-radius: 24px;
		padding: 26px 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.ted-apple-design *,
	body.ted-apple-design *::before,
	body.ted-apple-design *::after,
	body.login.ted-apple-design *,
	body.login.ted-apple-design *::before,
	body.login.ted-apple-design *::after {
		scroll-behavior: auto !important;
	}

	body.ted-apple-design *,
	body.ted-apple-design *::before,
	body.ted-apple-design *::after,
	body.login.ted-apple-design *,
	body.login.ted-apple-design *::before,
	body.login.ted-apple-design *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}

	html.ted-apple-motion-ready body.ted-apple-design .ted-apple-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}

@media (prefers-reduced-transparency: reduce) {
	body.ted-apple-design :where(.cpc-landing-header, .cpc-course-app-header, .cpc-auth-panel, .cpc-access-gate, .cpc-verification-panel, .cpc-consultation-hero-panel, .cpc-consultation-form-panel, .cpc-sidebar, .cpc-topbar),
	body.login.ted-apple-design #login form {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		background: var(--ted-apple-surface);
	}
}

@media (prefers-contrast: more) {
	body.ted-apple-design,
	body.login.ted-apple-design {
		--ted-apple-border: rgba(255, 255, 255, 0.34);
		--ted-apple-border-strong: rgba(255, 255, 255, 0.56);
		--ted-apple-secondary: #d2d2d7;
	}
}
