@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

:root {
	--ft-navy: #082a36;
	--ft-navy-strong: #061d27;
	--ft-green: #22a06b;
	--ft-green-strong: #16855a;
	--ft-lime: #81d44d;
	--ft-ink: #102f3b;
	--ft-muted: #61777f;
	--ft-canvas: #f7faf9;
	--ft-surface: #ffffff;
	--ft-soft: #edf7f3;
	--ft-line: rgba(16, 47, 59, 0.13);
	--ft-shadow: 0 18px 50px rgba(8, 42, 54, 0.08);
	--ft-radius: 22px;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--ft-canvas);
}

body > .navbar,
body > footer,
.web-footer,
.page-header,
.page-breadcrumbs,
.page-content-wrapper > .container > .page-header {
	display: none !important;
}

.page-content-wrapper,
.page_content,
main.container,
main .container {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

.ft-public-site,
.ft-public-site * {
	box-sizing: border-box;
}

.ft-public-site {
	min-height: 100vh;
	background:
		radial-gradient(circle at 50% 4%, rgba(34, 160, 107, 0.07), transparent 28rem),
		var(--ft-canvas);
	color: var(--ft-ink);
	font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.7;
}

.ft-public-site h1,
.ft-public-site h2,
.ft-public-site h3,
.ft-public-site h4,
.ft-public-site p {
	margin-top: 0;
}

.ft-public-site h1,
.ft-public-site h2,
.ft-public-site h3,
.ft-public-site .ft-brand,
.ft-public-site .ft-kicker,
.ft-public-site .ft-button {
	font-family: Alexandria, 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

.ft-public-site a {
	color: inherit;
	text-decoration: none;
}

.ft-container {
	width: min(1180px, calc(100% - 40px));
	margin-inline: auto;
}

.ft-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid rgba(16, 47, 59, 0.08);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(18px);
}

.ft-header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 28px;
	min-height: 74px;
}

.ft-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ft-navy);
	font-size: 1.1rem;
	font-weight: 700;
	white-space: nowrap;
}

.ft-brand-logo {
	width: 38px;
	height: 38px;
	object-fit: contain;
}

.ft-brand-mark {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(34, 160, 107, 0.28);
	border-radius: 12px;
	background: var(--ft-soft);
	color: var(--ft-green-strong);
	font-size: 0.76rem;
	font-weight: 800;
}

.ft-main-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	color: #36515c;
	font-weight: 600;
}

.ft-main-nav a {
	position: relative;
	padding-block: 25px 22px;
	transition: color 180ms ease;
}

.ft-main-nav a::after {
	content: '';
	position: absolute;
	inset-inline: 20%;
	bottom: 15px;
	height: 2px;
	border-radius: 10px;
	background: var(--ft-green);
	transform: scaleX(0);
	transition: transform 180ms ease;
}

.ft-main-nav a:hover {
	color: var(--ft-green-strong);
}

.ft-main-nav a:hover::after {
	transform: scaleX(1);
}

.ft-header-actions,
.ft-hero-actions,
.ft-course-actions,
.ft-lab-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.ft-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 11px;
	font-size: 0.92rem;
	font-weight: 650;
	line-height: 1.2;
	cursor: pointer;
	transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ft-button:hover {
	transform: translateY(-1px);
}

.ft-button-primary {
	background: linear-gradient(135deg, var(--ft-green), var(--ft-green-strong));
	color: white !important;
	box-shadow: 0 10px 24px rgba(34, 160, 107, 0.2);
}

.ft-button-primary:hover {
	box-shadow: 0 14px 28px rgba(34, 160, 107, 0.26);
}

.ft-button-secondary {
	border-color: rgba(22, 133, 90, 0.42);
	background: white;
	color: var(--ft-green-strong) !important;
}

.ft-button-secondary:hover {
	background: var(--ft-soft);
	border-color: var(--ft-green);
}

.ft-button-ghost {
	border-color: var(--ft-line);
	background: rgba(255, 255, 255, 0.06);
	color: #dcece6;
}

.ft-button-small {
	min-height: 40px;
	padding: 9px 15px;
}

.ft-button-large {
	min-width: 154px;
	min-height: 48px;
}

.ft-menu-button {
	display: none;
	width: 42px;
	height: 42px;
	padding: 10px;
	border: 1px solid var(--ft-line);
	border-radius: 10px;
	background: white;
}

.ft-menu-button span {
	display: block;
	height: 2px;
	margin: 5px 0;
	border-radius: 5px;
	background: var(--ft-navy);
}

.ft-hero {
	position: relative;
	overflow: hidden;
	padding: 54px 0 36px;
}

.ft-hero::before,
.ft-hero::after {
	content: '';
	position: absolute;
	inset-block: 60px;
	width: 170px;
	opacity: 0.22;
	background-image:
		linear-gradient(90deg, transparent 49%, var(--ft-green) 50%, transparent 51%),
		linear-gradient(0deg, transparent 49%, var(--ft-green) 50%, transparent 51%);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, transparent, black 28%, black 72%, transparent);
}

.ft-hero::before {
	right: -65px;
}

.ft-hero::after {
	left: -65px;
}

.ft-hero-grid {
	display: grid;
	grid-template-columns: minmax(210px, 0.85fr) minmax(360px, 1.3fr) minmax(210px, 0.85fr);
	align-items: center;
	gap: 34px;
}

.ft-hero-center {
	position: relative;
	z-index: 2;
	text-align: center;
}

.ft-hero-portrait-wrap {
	position: relative;
	display: grid;
	place-items: end center;
	width: min(100%, 440px);
	height: 360px;
	margin: 0 auto 12px;
}

.ft-circuit-orbit {
	position: absolute;
	inset: 4px 36px 0;
	border: 1px dashed rgba(34, 160, 107, 0.28);
	border-radius: 50%;
	background:
		radial-gradient(circle at center, rgba(34, 160, 107, 0.08), transparent 58%),
		repeating-radial-gradient(circle at center, transparent 0 38px, rgba(34, 160, 107, 0.08) 39px 40px);
	animation: ft-orbit-pulse 8s ease-in-out infinite;
}

.ft-circuit-orbit::before,
.ft-circuit-orbit::after {
	content: '';
	position: absolute;
	width: 9px;
	height: 9px;
	border: 2px solid var(--ft-green);
	border-radius: 50%;
	background: white;
}

.ft-circuit-orbit::before {
	top: 17%;
	left: 5%;
}

.ft-circuit-orbit::after {
	right: 7%;
	bottom: 23%;
}

.ft-hero-portrait {
	position: relative;
	z-index: 2;
	max-width: 100%;
	max-height: 360px;
	object-fit: contain;
	filter: drop-shadow(0 22px 34px rgba(8, 42, 54, 0.14));
}

.ft-hero-placeholder,
.ft-about-placeholder {
	display: grid;
	place-items: center;
	background: linear-gradient(145deg, var(--ft-navy), var(--ft-green-strong));
	color: white;
	font-family: Alexandria, sans-serif;
	font-size: 4rem;
	font-weight: 700;
}

.ft-hero-placeholder {
	position: relative;
	z-index: 2;
	width: 290px;
	height: 290px;
	border-radius: 50%;
}

.ft-hero-center h1 {
	max-width: 720px;
	margin: 0 auto 12px;
	color: var(--ft-navy);
	font-size: clamp(1.7rem, 3vw, 2.55rem);
	line-height: 1.45;
	letter-spacing: -0.025em;
}

.ft-hero-description {
	max-width: 650px;
	margin: 0 auto 22px;
	color: var(--ft-muted);
	font-size: 1.02rem;
}

.ft-hero-actions {
	justify-content: center;
}

.ft-hero-side {
	display: grid;
	gap: 16px;
	align-content: center;
}

.ft-hero-copy-card {
	padding: 8px 2px;
}

.ft-kicker {
	display: block;
	color: var(--ft-navy);
	font-size: clamp(1.55rem, 3vw, 2.45rem);
	font-weight: 700;
	line-height: 1.3;
}

.ft-hero-copy-card p {
	max-width: 230px;
	margin: 8px 0 0;
	color: var(--ft-muted);
	font-size: 0.95rem;
}

.ft-hero-side-left {
	text-align: left;
	direction: rtl;
}

.ft-hero-side-left .ft-hero-copy-card p {
	margin-inline-start: auto;
}

.ft-ui-card,
.ft-code-mini,
.ft-project-preview,
.ft-output-mini {
	border: 1px solid var(--ft-line);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 14px 35px rgba(8, 42, 54, 0.09);
}

.ft-ui-card {
	padding: 16px;
}

.ft-ui-card-head {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
	font-size: 0.82rem;
}

.ft-ui-card-head strong {
	color: var(--ft-green);
}

.ft-progress-track {
	height: 7px;
	margin-bottom: 8px;
	overflow: hidden;
	border-radius: 100px;
	background: #e5efeb;
}

.ft-progress-track span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(90deg, var(--ft-green), var(--ft-lime));
}

.ft-terminal-card {
	padding: 0;
	overflow: hidden;
	background: linear-gradient(160deg, #071b25, #0a3040);
	border-color: rgba(255, 255, 255, 0.08);
}

.ft-terminal-head {
	display: flex;
	gap: 6px;
	padding: 10px 12px;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ft-terminal-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #3a565f;
}

.ft-terminal-dot-red {
	background: #e2645a;
}

.ft-terminal-dot-yellow {
	background: #e3b341;
}

.ft-terminal-dot-green {
	background: #57c46e;
}

.ft-terminal-body {
	min-height: 108px;
	margin: 0;
	padding: 14px 16px 16px;
	color: #9be8b8;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.82rem;
	line-height: 1.75;
	white-space: pre-wrap;
	word-break: break-word;
}

.ft-terminal-body .ft-terminal-cursor {
	display: inline-block;
	width: 0.5em;
	margin-inline-start: 2px;
	background: currentColor;
	animation: ft-cursor-blink 1s step-end infinite;
}

@keyframes ft-cursor-blink {
	0%, 49% {
		opacity: 1;
	}
	50%, 100% {
		opacity: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ft-terminal-body .ft-terminal-cursor {
		animation: none;
	}
}

.ft-code-mini,
.ft-output-mini {
	padding: 16px;
	background: linear-gradient(145deg, #061d27, #0a3040);
	color: #dff6e9;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.79rem;
	line-height: 1.7;
}

.ft-code-mini span {
	color: #8ddd66;
}

.ft-project-preview {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 12px;
	text-align: right;
}

.ft-project-preview-screen {
	overflow: hidden;
	border-radius: 9px;
	background: linear-gradient(145deg, #eaf8f1, #f8fcfa);
}

.ft-project-preview-bar {
	display: flex;
	gap: 4px;
	padding: 7px 9px;
	background: rgba(34, 160, 107, 0.12);
}

.ft-project-preview-bar span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--ft-green);
	opacity: 0.55;
}

.ft-project-preview-bar span:first-child {
	opacity: 0.9;
}

.ft-project-preview-body {
	display: grid;
	gap: 6px;
	padding: 10px 9px;
}

.ft-project-preview-row {
	display: flex;
	align-items: center;
	gap: 6px;
}

.ft-project-preview-row i {
	width: 14px;
	height: 14px;
	border-radius: 5px;
	background: var(--ft-green);
	opacity: 0.75;
	flex-shrink: 0;
}

.ft-project-preview-row b {
	flex: 1;
	height: 7px;
	border-radius: 4px;
	background: rgba(9, 71, 51, 0.18);
}

.ft-project-preview-row:nth-child(2) b { max-width: 70%; }
.ft-project-preview-row:nth-child(3) b { max-width: 45%; }

.ft-project-preview strong,
.ft-project-preview small {
	display: block;
}

.ft-project-preview small {
	color: var(--ft-muted);
}

.ft-output-mini span {
	display: block;
	margin-bottom: 5px;
	color: #91b7c2;
	font-family: 'IBM Plex Sans Arabic', sans-serif;
}

.ft-section {
	padding: 44px 0;
}

.ft-section-heading {
	margin-bottom: 22px;
	text-align: center;
}

.ft-section-heading h2 {
	margin-bottom: 5px;
	color: var(--ft-navy);
	font-size: clamp(1.55rem, 2.6vw, 2.05rem);
}

.ft-section-heading p {
	margin: 0;
	color: var(--ft-muted);
}

.ft-about-name-accent {
	color: var(--ft-green-strong);
}

.ft-section-icon {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	height: 28px;
	margin-bottom: 4px;
	border-radius: 9px;
	background: var(--ft-soft);
	color: var(--ft-green-strong);
	font-family: ui-monospace, monospace;
	font-weight: 700;
}

.ft-course-catalogue,
.ft-public-lab,
.ft-about-card,
.ft-session-gallery-full,
.ft-faq-container {
	border: 1px solid var(--ft-line);
	border-radius: var(--ft-radius);
	background: rgba(255, 255, 255, 0.91);
	box-shadow: var(--ft-shadow);
}

.ft-course-catalogue {
	overflow: hidden;
}

.ft-course-tabs {
	display: flex;
	direction: rtl;
	border-bottom: 1px solid var(--ft-line);
	background: #fbfdfc;
}

.ft-course-tab {
	position: relative;
	flex: 1;
	min-height: 58px;
	padding: 12px 18px;
	border: 0;
	background: transparent;
	color: #49636c;
	font-family: Alexandria, sans-serif;
	font-weight: 600;
	cursor: pointer;
}

.ft-course-tab::after {
	content: '';
	position: absolute;
	inset-inline: 24%;
	bottom: 0;
	height: 3px;
	border-radius: 10px 10px 0 0;
	background: var(--ft-green);
	transform: scaleX(0);
	transition: transform 180ms ease;
}

.ft-course-tab.is-active {
	color: var(--ft-green-strong);
}

.ft-course-tab.is-active::after {
	transform: scaleX(1);
}

.ft-course-panel {
	display: none;
	min-height: 330px;
	padding: 24px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 220ms ease, transform 220ms ease;
}

.ft-course-panel.is-active {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.ft-course-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.ft-course-grid.has-single-card {
	grid-template-columns: minmax(260px, 340px);
	justify-content: center;
}

.ft-course-card {
	overflow: hidden;
	border: 1px solid var(--ft-line);
	border-radius: 16px;
	background: white;
	box-shadow: 0 10px 24px rgba(8, 42, 54, 0.055);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.ft-course-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 35px rgba(8, 42, 54, 0.1);
}

.ft-course-cover {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--ft-navy);
}

.ft-course-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.ft-course-card:hover .ft-course-cover img {
	transform: scale(1.025);
}

.ft-course-cover-fallback {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 12px;
	height: 100%;
	padding: 22px;
	background:
		radial-gradient(circle at 30% 20%, rgba(129, 212, 77, 0.2), transparent 35%),
		linear-gradient(145deg, #071f2b, #0c3b49);
	color: white;
	text-align: center;
}

.ft-course-cover-fallback span {
	color: var(--ft-lime);
	font-family: ui-monospace, monospace;
	font-size: 2.4rem;
}

.ft-course-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 5px 10px;
	border-radius: 100px;
	background: var(--ft-green);
	color: white;
	font-size: 0.76rem;
	font-weight: 700;
}

.ft-course-card--coming-soon .ft-course-cover img {
	filter: grayscale(0.35) brightness(0.6);
}

.ft-course-cover-overlay {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	gap: 8px;
	padding: 20px;
	text-align: center;
	background: linear-gradient(180deg, rgba(7, 31, 43, 0.35), rgba(7, 31, 43, 0.75));
	color: white;
}

.ft-course-cover-overlay-badge {
	padding: 6px 16px;
	border-radius: 100px;
	background: var(--ft-lime);
	color: var(--ft-navy);
	font-size: 0.85rem;
	font-weight: 800;
}

.ft-course-cover-overlay strong {
	font-family: Alexandria, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.ft-course-card-body {
	padding: 15px;
}

.ft-course-title {
	display: block;
	margin-bottom: 5px;
	color: var(--ft-navy);
	font-family: Alexandria, sans-serif;
	font-size: 1.05rem;
	font-weight: 700;
}

.ft-course-card-body p {
	min-height: 48px;
	margin-bottom: 10px;
	color: var(--ft-muted);
	font-size: 0.88rem;
}

.ft-course-price {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--ft-green-strong);
}

.ft-course-price del {
	color: #98a8ad;
	font-size: 0.82rem;
}

.ft-course-actions {
	align-items: stretch;
}

.ft-course-actions .ft-button {
	flex: 1;
	min-height: 40px;
	padding-inline: 10px;
	font-size: 0.79rem;
}

.ft-course-actions [aria-disabled='true'] {
	pointer-events: none;
	opacity: 0.55;
}

.ft-empty-state {
	display: grid;
	place-items: center;
	align-content: center;
	min-height: 280px;
	padding: 35px;
	text-align: center;
}

.ft-empty-icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	margin-bottom: 14px;
	border-radius: 18px;
	background: var(--ft-soft);
	color: var(--ft-green-strong);
	font-family: ui-monospace, monospace;
	font-size: 1.1rem;
	font-weight: 700;
}

.ft-empty-state h3 {
	margin-bottom: 5px;
	color: var(--ft-navy);
}

.ft-empty-state p {
	margin: 0;
	color: var(--ft-muted);
}

.ft-lab-section {
	padding-top: 26px;
}

.ft-public-lab {
	overflow: hidden;
	background: #081f2a;
	color: white;
}

.ft-lab-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	background: #0b2935;
}

.ft-language-tabs {
	display: inline-flex;
	padding: 4px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.055);
}

.ft-language-tabs button {
	padding: 8px 14px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #a8c0c8;
	font-family: ui-monospace, monospace;
	font-weight: 700;
	cursor: pointer;
}

.ft-language-tabs button.is-active {
	background: var(--ft-green);
	color: white;
}

.ft-lab-grid {
	display: grid;
	/* The editor and its output are inherently LTR content (code, program
	   output); keep this area LTR so the editor lands on the left and the
	   output on the right regardless of the page's RTL direction. The
	   toolbar above (Arabic labels) is a separate flex row and stays RTL.
	   !important: the framework's base RTL stylesheet re-asserts
	   direction: rtl on this element with higher priority otherwise. */
	direction: ltr !important;
	grid-template-columns: 1.4fr 0.8fr;
	min-height: 310px;
}

.ft-code-editor-shell {
	position: relative;
	display: grid;
	grid-template-columns: 42px 1fr;
	border-left: 1px solid rgba(255, 255, 255, 0.09);
	background: #071b25;
}

.ft-editor-lines {
	padding: 20px 12px;
	color: #52717b;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.88rem;
	line-height: 1.75;
	text-align: left;
	user-select: none;
}

.ft-code-editor-shell textarea {
	width: 100%;
	min-height: 310px;
	padding: 20px 18px;
	border: 0;
	outline: 0;
	resize: none;
	background: transparent;
	color: #dff6e9;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.92rem;
	line-height: 1.75;
	direction: ltr;
	text-align: left;
}

.ft-lab-output {
	padding: 18px;
	background: #0a2430;
	direction: ltr;
	text-align: left;
}

.ft-output-title {
	margin-bottom: 12px;
	color: #8fb0ba;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.ft-lab-output pre {
	margin: 0;
	white-space: pre-wrap;
	color: #e6f5ee;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 0.88rem;
	line-height: 1.7;
}

.ft-about-section {
	padding-top: 28px;
}

.ft-about-card {
	padding: 26px;
}

.ft-about-intro {
	display: grid;
	grid-template-columns: minmax(220px, 300px) 1fr;
	align-items: center;
	gap: 26px;
}

.ft-about-portrait-column,
.ft-about-copy {
	min-width: 0;
}

.ft-about-portrait-column {
	display: grid;
	place-items: center;
}

.ft-about-portrait-wrap {
	position: relative;
	display: grid;
	place-items: center;
	width: min(100%, 220px);
	height: 220px;
	margin-inline: auto;
}

.ft-about-portrait-wrap .ft-circuit-orbit {
	inset: -8px;
}

.ft-about-portrait {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	filter: drop-shadow(0 12px 20px rgba(8, 42, 54, 0.14));
}

.ft-about-placeholder {
	position: relative;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: var(--ft-soft);
	color: var(--ft-green-strong);
	font-weight: 700;
}

.ft-about-copy {
	padding: 12px 0;
	text-align: right;
}

.ft-about-copy h2 {
	margin: 4px 0 2px;
	color: var(--ft-navy);
	font-size: 1.85rem;
}

.ft-about-copy > strong {
	display: block;
	margin-bottom: 14px;
	color: var(--ft-green-strong);
}

.ft-rich-text {
	color: var(--ft-muted);
}

.ft-rich-text p:last-child {
	margin-bottom: 0;
}

.ft-session-gallery-full h3,
.ft-partners h3 {
	margin-bottom: 14px;
	color: var(--ft-navy);
	font-size: 1rem;
	text-align: center;
}

.ft-session-gallery {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.ft-session-gallery figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: 13px;
	background: #eaf1ee;
	aspect-ratio: 16 / 9;
}

.ft-session-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.ft-session-gallery figure:hover img {
	transform: scale(1.035);
}

.ft-session-gallery figcaption {
	position: absolute;
	inset-inline: 8px;
	bottom: 8px;
	padding: 4px 7px;
	border-radius: 8px;
	background: rgba(6, 29, 39, 0.72);
	color: white;
	font-size: 0.7rem;
	text-align: center;
}

.ft-gallery-placeholder {
	display: grid;
	place-items: center;
	min-height: 245px;
	border: 1px dashed rgba(22, 133, 90, 0.25);
	border-radius: 15px;
	background: var(--ft-soft);
	color: var(--ft-green-strong);
}

.ft-partners {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--ft-line);
}

.ft-session-gallery-full {
	margin-top: 16px;
	padding: 20px;
}

.ft-partner-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

.ft-partner-strip > a,
.ft-partner-strip > div {
	display: grid;
	place-items: center;
	width: 150px;
	height: 70px;
	padding: 10px 16px;
	border: 1px solid var(--ft-line);
	border-radius: 13px;
	background: white;
}

.ft-partner-strip img {
	max-width: 100%;
	max-height: 48px;
	object-fit: contain;
	filter: saturate(0.9);
}

.ft-faq-section {
	padding-top: 28px;
	padding-bottom: 64px;
}

.ft-faq-container {
	padding: 28px;
}

.ft-faq-list {
	display: grid;
	gap: 10px;
	max-width: 900px;
	margin-inline: auto;
}

.ft-faq-item {
	border: 1px solid var(--ft-line);
	border-radius: 13px;
	background: white;
}

.ft-faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 18px;
	color: var(--ft-navy);
	font-weight: 650;
	cursor: pointer;
	list-style: none;
}

.ft-faq-item summary::-webkit-details-marker {
	display: none;
}

.ft-faq-item summary span {
	color: var(--ft-green);
	font-size: 1.2rem;
	transition: transform 180ms ease;
}

.ft-faq-item[open] summary span {
	transform: rotate(45deg);
}

.ft-faq-answer {
	padding: 0 18px 16px;
	color: var(--ft-muted);
}

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

.ft-site-footer {
	position: relative;
	overflow: hidden;
	background: linear-gradient(145deg, #061b25, #092e3c);
	color: #d8e8e4;
}

.ft-site-footer::before,
.ft-site-footer::after {
	content: '';
	position: absolute;
	bottom: -55px;
	width: 230px;
	height: 230px;
	border: 1px solid rgba(129, 212, 77, 0.12);
	border-radius: 50%;
}

.ft-site-footer::before { right: -80px; }
.ft-site-footer::after { left: -80px; }

.ft-footer-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.45fr repeat(3, 1fr);
	gap: 34px;
	padding-block: 48px 36px;
}

.ft-brand-light {
	color: white;
}

.ft-footer-brand p {
	max-width: 350px;
	margin: 15px 0 0;
	color: #a9c0c6;
}

.ft-footer-grid h3 {
	margin-bottom: 14px;
	color: white;
	font-size: 0.95rem;
}

.ft-footer-grid > div > a:not(.ft-brand) {
	display: block;
	margin-bottom: 8px;
	color: #b7ccd1;
}

.ft-footer-grid a:hover {
	color: white;
}

.ft-social-links {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.ft-social-links a {
	display: grid !important;
	place-items: center;
	width: 34px;
	height: 34px;
	margin: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	color: white !important;
	font-size: 0.75rem;
	font-weight: 700;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.ft-social-links a:hover {
	transform: translateY(-2px);
	background: rgba(34, 160, 107, 0.28);
	border-color: rgba(34, 160, 107, 0.55);
}

.ft-footer-bottom {
	position: relative;
	z-index: 1;
	padding: 15px 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	color: #92adb4;
	font-size: 0.82rem;
	text-align: center;
}

/* Course details */
.ft-course-hero {
	padding: 54px 0 36px;
}

.ft-course-hero-grid {
	display: grid;
	grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);
	align-items: center;
	gap: 46px;
}

.ft-course-detail-cover {
	overflow: hidden;
	border: 1px solid var(--ft-line);
	border-radius: 24px;
	background: var(--ft-navy);
	box-shadow: var(--ft-shadow);
	aspect-ratio: 1 / 1;
}

.ft-course-detail-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ft-course-detail-copy .ft-kicker {
	font-size: 0.9rem;
	color: var(--ft-green-strong);
}

.ft-course-detail-copy h1 {
	margin: 7px 0 14px;
	color: var(--ft-navy);
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.25;
}

.ft-course-detail-copy > p {
	color: var(--ft-muted);
	font-size: 1.06rem;
}

.ft-course-detail-price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	margin: 20px 0;
	color: var(--ft-green-strong);
	font-size: 1.45rem;
}

.ft-course-detail-price del {
	color: #94a7ad;
	font-size: 0.9rem;
}

.ft-course-detail-sections {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	align-items: start;
	gap: 26px;
	padding-bottom: 70px;
}

.ft-course-content-stack {
	display: grid;
	gap: 18px;
}

.ft-detail-card,
.ft-course-cta-card {
	border: 1px solid var(--ft-line);
	border-radius: 18px;
	background: white;
	box-shadow: 0 12px 32px rgba(8, 42, 54, 0.055);
}

.ft-detail-card {
	padding: 24px;
}

.ft-detail-card h2 {
	margin-bottom: 12px;
	color: var(--ft-navy);
	font-size: 1.25rem;
}

.ft-detail-card .ft-rich-text ul,
.ft-detail-card .ft-rich-text ol {
	padding-right: 21px;
}

.ft-course-cta-card {
	position: sticky;
	top: 94px;
	padding: 22px;
}

.ft-course-cta-card h3 {
	margin-bottom: 6px;
	color: var(--ft-navy);
}

.ft-course-cta-card p {
	color: var(--ft-muted);
}

.ft-course-cta-card .ft-button {
	width: 100%;
}

@media (max-width: 1050px) {
	.ft-header-inner {
		grid-template-columns: auto auto 1fr;
	}

	.ft-main-nav {
		position: absolute;
		top: 74px;
		inset-inline: 20px;
		display: none;
		padding: 12px;
		border: 1px solid var(--ft-line);
		border-radius: 14px;
		background: white;
		box-shadow: var(--ft-shadow);
	}

	.ft-main-nav.is-open {
		display: grid;
	}

	.ft-main-nav a {
		padding: 10px 12px;
	}

	.ft-main-nav a::after {
		display: none;
	}

	.ft-menu-button {
		display: block;
		order: 2;
	}

	.ft-header-actions {
		justify-self: end;
	}

	.ft-hero-grid {
		grid-template-columns: 1fr minmax(350px, 1.35fr) 1fr;
		gap: 20px;
	}

}

@media (max-width: 820px) {
	.ft-container {
		width: min(100% - 28px, 680px);
	}

	.ft-header-actions .ft-button-secondary {
		display: none;
	}

	.ft-header-inner {
		gap: 12px;
	}

	.ft-hero {
		padding-top: 36px;
	}

	.ft-hero-grid {
		grid-template-columns: 1fr;
	}

	.ft-hero-center {
		grid-row: 1;
	}

	.ft-hero-side {
		grid-template-columns: repeat(2, 1fr);
	}

	.ft-hero-copy-card {
		grid-column: 1 / -1;
		text-align: center;
	}

	.ft-hero-copy-card p,
	.ft-hero-side-left .ft-hero-copy-card p {
		margin-inline: auto;
	}

	.ft-hero-side-left {
		text-align: right;
	}

	.ft-hero-portrait-wrap {
		height: 310px;
	}

	.ft-hero-portrait {
		max-height: 310px;
	}

	.ft-course-panel {
		padding: 16px;
	}

	.ft-lab-grid {
		grid-template-columns: 1fr;
	}

	.ft-code-editor-shell {
		border-left: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.09);
	}

	.ft-about-intro {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.ft-about-copy {
		text-align: center;
	}

	.ft-about-portrait {
		max-width: 290px;
	}

	.ft-session-gallery {
		grid-template-columns: repeat(2, 1fr);
	}

	.ft-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ft-course-hero-grid,
	.ft-course-detail-sections {
		grid-template-columns: 1fr;
	}

	.ft-course-detail-cover {
		max-width: 520px;
		margin-inline: auto;
	}

	.ft-course-cta-card {
		position: static;
	}
}

@media (max-width: 560px) {
	.ft-container {
		width: min(100% - 22px, 480px);
	}

	.ft-site-header .ft-brand span:last-child {
		display: none;
	}

	.ft-header-actions .ft-button {
		padding-inline: 12px;
	}

	.ft-hero-portrait-wrap {
		height: 270px;
	}

	.ft-hero-portrait {
		max-height: 270px;
	}

	.ft-hero-side {
		grid-template-columns: 1fr;
	}

	.ft-hero-actions {
		flex-direction: column;
	}

	.ft-hero-actions .ft-button {
		width: 100%;
	}

	.ft-course-tabs {
		overflow-x: auto;
	}

	.ft-course-tab {
		flex: 0 0 auto;
		min-width: 150px;
	}

	.ft-course-grid,
	.ft-course-grid.has-single-card {
		grid-template-columns: 1fr;
	}

	.ft-lab-toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.ft-lab-actions .ft-button {
		flex: 1;
	}

	.ft-session-gallery {
		grid-template-columns: 1fr;
	}

	.ft-partner-strip > a,
	.ft-partner-strip > div {
		width: calc(50% - 8px);
	}

	.ft-footer-grid {
		grid-template-columns: 1fr;
	}

	.ft-course-detail-copy h1 {
		font-size: 2rem;
	}
}

/* ==========================================================================
   Motion: circuit pulse, floating hero panels, scroll reveal, stagger.
   Kept restrained on purpose — slow, subtle, and fully disabled under
   prefers-reduced-motion (see the query at the end of this block).
   ========================================================================== */

@keyframes ft-orbit-pulse {
	0%,
	100% {
		opacity: 0.75;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.03);
	}
}

@keyframes ft-float {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-6px);
	}
}

.ft-hero-side .ft-ui-card,
.ft-hero-side .ft-code-mini,
.ft-hero-side .ft-project-preview,
.ft-hero-side .ft-output-mini {
	animation: ft-float 6.5s ease-in-out infinite;
}

.ft-hero-side-right .ft-code-mini {
	animation-delay: 0.4s;
}

.ft-hero-side-left .ft-project-preview {
	animation-delay: 0.2s;
}

.ft-hero-side-left .ft-output-mini {
	animation-delay: 0.7s;
}

/* Scroll reveal: JS (landing.js) adds .is-visible via IntersectionObserver
   the first time each [data-reveal] element enters the viewport. */
[data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 600ms ease, transform 600ms ease;
}

[data-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Staggered entrance for a group of children (gallery figures, partner
   logos) — JS toggles .is-visible on the container once it scrolls in. */
[data-reveal-stagger] > * {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal-stagger].is-visible > * {
	opacity: 1;
	transform: translateY(0);
}

[data-reveal-stagger] > *:nth-child(1) {
	transition-delay: 0ms;
}
[data-reveal-stagger] > *:nth-child(2) {
	transition-delay: 60ms;
}
[data-reveal-stagger] > *:nth-child(3) {
	transition-delay: 120ms;
}
[data-reveal-stagger] > *:nth-child(4) {
	transition-delay: 180ms;
}
[data-reveal-stagger] > *:nth-child(5) {
	transition-delay: 240ms;
}
[data-reveal-stagger] > *:nth-child(6) {
	transition-delay: 300ms;
}
[data-reveal-stagger] > *:nth-child(7) {
	transition-delay: 360ms;
}
[data-reveal-stagger] > *:nth-child(8) {
	transition-delay: 420ms;
}

@media (prefers-reduced-motion: reduce) {
	.ft-circuit-orbit,
	.ft-hero-side .ft-ui-card,
	.ft-hero-side .ft-code-mini,
	.ft-hero-side .ft-project-preview,
	.ft-hero-side .ft-output-mini,
	.ft-terminal-body .ft-terminal-cursor {
		animation: none !important;
	}

	[data-reveal],
	[data-reveal-stagger] > * {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}

	.ft-course-panel,
	.ft-button,
	.ft-course-card,
	.ft-course-cover img,
	.ft-social-links a {
		transition: none !important;
	}

	.ft-button:hover,
	.ft-course-card:hover,
	.ft-course-card:hover .ft-course-cover img,
	.ft-social-links a:hover {
		transform: none !important;
	}
}
