:root {
	--green: #15453a;
	--green-deep: #0c2f26;
	--green-mid: #1c5446;
	--green-light: #1e5c4e;
	--gold: #c9a24b;
	--gold-deep: #b6892f;
	--gold-soft: #e8ce86;
	--gold-pale: #f5edd0;
	--teal: #2c746e;
	--teal-deep: #235e59;
	--sun: #f2b53a;
	--sun-deep: #e39e1c;
	--emerald: #17785f;
	--leaf: #a6e3cb;
	--mint: #e8f6ef;
	--honey: #fff4dc;
	--ivory: #f7f3ea;
	--ivory-warm: #eee8d8;
	--paper: #fffdf8;
	--ink: #1b2a24;
	--muted: #4d5d56;
	--on-dark: #fffdf8;
	--on-dark-muted: rgba(255, 253, 248, 0.88);
	--line: rgba(21, 69, 58, 0.16);
	--line-dark: rgba(232, 206, 134, 0.22);
	--line-strong: rgba(27, 42, 36, 0.22);
	--shadow:
		0 1px 2px rgba(12, 47, 38, 0.04), 0 8px 28px rgba(12, 47, 38, 0.07);
	--shadow-lg:
		0 2px 6px rgba(12, 47, 38, 0.06), 0 24px 60px rgba(12, 47, 38, 0.14);
	--maxw: 1180px;
	--r: 14px;
	--r-lg: 24px;
	--hdr: 64px;
	--fr: "Fraunces", Georgia, "Times New Roman", serif;
	--body: "Commissioner", "Segoe UI", Tahoma, sans-serif;
	--amiri: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
	--naskh: "Noto Naskh Arabic", "Amiri", Tahoma, serif;
	--ben-d: "Noto Serif Bengali", "Hind Siliguri", serif;
	--ben-b: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
}
* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
}
body {
	margin: 0;
	font-family: var(--body);
	font-size: 17px;
	color: var(--ink);
	background: var(--paper);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* Sticky footer: on short pages (login, 404, thin content) the footer still
** ends on the viewport edge instead of leaving body background below it. */
.main-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100svh;
}
#arabiclabth-content {
	flex: 1 0 auto;
}
h1,
h2,
h3,
h4 {
	font-family: var(--fr);
	font-weight: 600;
	font-optical-sizing: auto;
	line-height: 1.12;
	margin: 0;
	letter-spacing: -0.01em;
	text-wrap: balance;
}
h1,
h2,
h3 {
	font-weight: 500;
}
/* per-locale fonts */
html[lang="ar"] body {
	font-family: var(--naskh);
	line-height: 1.85;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .disp {
	font-family: var(--amiri);
	letter-spacing: 0;
	line-height: 1.35;
}
html[lang="bn"] body {
	font-family: var(--ben-b);
	line-height: 1.75;
}
html[lang="bn"] h1,
html[lang="bn"] h2,
html[lang="bn"] h3,
html[lang="bn"] h4,
html[lang="bn"] .disp {
	font-family: var(--ben-d);
	letter-spacing: 0;
	line-height: 1.3;
}
[dir="rtl"] .flip {
	transform: scaleX(-1);
}
p {
	margin: 0;
}
a {
	color: inherit;
	text-decoration: none;
}
img {
	max-width: 100%;
	display: block;
}
.arabiclab-container, .content-area, .wrap {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}
.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 24px;
}
.eyebrow {
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--teal);
	margin: 0 0 14px;
}
section {
	padding: 84px 0;
}
.lede {
	font-size: 1.06rem;
	color: var(--muted);
	max-width: 62ch;
}
.ar-line {
	font-family: var(--amiri);
	direction: rtl;
}

/* girih + ambient */
.girih {
	position: relative;
	overflow: hidden;
}
.girih::before {
	content: none;
}
.blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	pointer-events: none;
	animation: pulseGlow 7s ease-in-out infinite;
}
@keyframes pulseGlow {
	0%,
	100% {
		opacity: 0.45;
		transform: scale(1);
	}
	50% {
		opacity: 0.85;
		transform: scale(1.08);
	}
}

/* logo */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}
.logo .lmark {
	flex: none;
	transition:
		transform 0.3s ease,
		filter 0.3s ease;
	filter: drop-shadow(0 3px 7px rgba(12, 47, 38, 0.25));
}
.logo:hover .lmark {
	transform: translateY(-1px) rotate(-4deg);
	filter: drop-shadow(0 6px 14px rgba(201, 162, 75, 0.42));
}
.logo .wm {
	font-family: var(--fr);
	font-weight: 600;
	font-size: 1.3rem;
	letter-spacing: -0.02em;
	line-height: 1;
}
.logo .wm b {
	color: var(--green);
	font-weight: 700;
}
.logo .wm i {
	color: var(--teal);
	font-style: normal;
	font-weight: 600;
}
html[lang="ar"] .logo .wm {
	font-family: var(--amiri);
	letter-spacing: 0;
}
html[lang="bn"] .logo .wm {
	font-family: var(--ben-d);
	letter-spacing: 0;
}

/* header */
.albar[hidden] header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(247, 243, 234, 0.82);
	border-bottom: 1px solid var(--line);
	padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
.site-header header .wrap {
	padding-inline: 0;
}
.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 70px;
	gap: 18px;
}
.nav-links {
	display: flex;
	gap: 28px;
	align-items: center;
}
.nav-links a {
	font-size: 0.92rem;
	font-weight: 500;
	color: var(--ink);
	opacity: 0.82;
	transition: opacity 0.2s;
}
.nav-links a:hover {
	opacity: 1;
	color: var(--green);
}
.nav-right {
	display: flex;
	align-items: center;
	gap: 14px;
}
.langwrap {
	position: relative;
}
.langbtn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: inherit;
	font-size: 0.86rem;
	font-weight: 600;
	color: var(--green);
	background: rgba(21, 69, 58, 0.06);
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	padding: 8px 13px;
	cursor: pointer;
}
.langbtn svg {
	width: 14px;
	height: 14px;
}
.langmenu {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-end: 0;
	min-width: 150px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
	z-index: 60;
}
.langmenu.hidden {
	display: none;
}
.langmenu :is(button, a) {
	display: block;
	width: 100%;
	text-align: start;
	font-family: inherit;
	font-size: 0.92rem;
	padding: 11px 16px;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--ink);
}
.langmenu :is(button, a):hover {
	background: var(--ivory);
}
.langmenu :is(button, a).on {
	background: rgba(201, 162, 75, 0.16);
	color: var(--green);
	font-weight: 600;
}
.foot-lang {
	display: inline-flex;
	gap: 6px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	padding: 5px;
}
.foot-lang button {
	font-family: inherit;
	font-size: 0.84rem;
	font-weight: 600;
	padding: 7px 14px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	background: transparent;
	color: rgba(247, 243, 234, 0.72);
	transition:
		background 0.2s,
		color 0.2s;
}
.foot-lang button:hover {
	color: var(--ivory);
	background: rgba(255, 255, 255, 0.08);
}
.foot-lang button.on {
	background: var(--gold);
	color: var(--green-deep);
}
html[lang="ar"] .foot-lang button,
html[lang="bn"] .foot-lang button {
	font-family: inherit;
}
.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--body);
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: 999px;
	padding: 12px 22px;
	cursor: pointer;
	border: 1.5px solid transparent;
	transition:
		transform 0.15s,
		box-shadow 0.2s,
		background 0.2s,
		color 0.2s;
	white-space: nowrap;
}
html[lang="ar"] .btn,
html[lang="bn"] .btn {
	font-family: inherit;
}
.btn:active {
	transform: scale(0.96);
}
.btn-gold {
	background: var(--gold);
	color: var(--green-deep);
	box-shadow: 0 6px 18px rgba(201, 162, 75, 0.32);
}
.btn-gold:hover {
	background: var(--gold-soft);
}
.btn-green {
	background: var(--green);
	color: var(--ivory);
}
.btn-green:hover {
	background: var(--green-mid);
}
.btn-ghost {
	background: transparent;
	color: var(--green);
	border-color: var(--line-strong);
}
.btn-ghost:hover {
	border-color: var(--green);
	background: var(--green);
	color: var(--ivory);
}
.menu-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}
.menu-toggle svg {
	width: 24px;
	height: 24px;
	stroke: var(--green);
}
.menu-toggle svg.hidden {
	display: none;
}
.mobile-menu {
	display: none;
}
@media (max-width: 1039px) {
	.mobile-menu {
		display: block;
		position: fixed;
		top: 70px;
		inset-inline: 0;
		z-index: 61;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		padding: 12px 24px 96px;
		transform: translateY(-12px);
		opacity: 0;
		pointer-events: none;
		transition:
			opacity 0.25s,
			transform 0.25s,
			visibility 0.25s;
		visibility: hidden;
		max-height: calc(100vh - 70px);
		overflow: auto;
	}
	.mobile-menu.open ~ .mobile-cta {
		display: none;
	}
	.mobile-menu.open {
		opacity: 1;
		transform: none;
		visibility: visible;
		pointer-events: auto;
	}
	.mobile-menu .mlink {
		display: block;
		padding: 14px 4px;
		font-size: 1.06rem;
		font-weight: 500;
		color: var(--ink);
		border-bottom: 1px solid var(--line);
	}
	.mobile-menu .mlink:hover {
		color: var(--green);
	}
	.mobile-menu .m-cta {
		width: 100%;
		justify-content: center;
		margin-top: 18px;
	}
}
html[lang="ar"] .mobile-menu,
html[lang="bn"] .mobile-menu {
	font-family: inherit;
}

/* hero */
.hero {
	position: relative;
	padding: 72px 0 84px;
	text-align: center;
}
.hero .wrap {
	position: relative;
	z-index: 2;
	max-width: 920px;
}
.pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--green);
	background: rgba(201, 162, 75, 0.14);
	border: 1px solid rgba(201, 162, 75, 0.5);
	border-radius: 999px;
	padding: 7px 15px;
	margin-bottom: 30px;
}
.pill .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold-deep);
	animation: pulseGlow 2.5s ease-in-out infinite;
}
.medallion {
	position: relative;
	width: clamp(210px, 52vw, 300px);
	height: clamp(210px, 52vw, 300px);
	margin: 0 auto 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.medallion .ring {
	position: absolute;
	inset: 0;
	animation: spin 50s linear infinite;
}
.medallion .ring svg {
	width: 100%;
	height: 100%;
	display: block;
}
.medallion .iqra {
	position: relative;
	z-index: 1;
	font-family: var(--amiri), "Noto Naskh Arabic", serif;
	font-weight: 700;
	color: var(--gold-deep);
	font-size: clamp(3.4rem, 11vw, 5.6rem);
	line-height: 1;
	direction: rtl;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.hero h1 {
	font-size: clamp(2.4rem, 5.4vw, 4rem);
	font-weight: 600;
	color: var(--green);
	max-width: 18ch;
	margin: 0 auto;
}
.hero .lede {
	margin: 22px auto 32px;
	font-size: 1.14rem;
	line-height: 1.6;
	max-width: 60ch;
	color: var(--muted);
}
.hero-cta {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}
.counter-card {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	margin-top: 40px;
	background: rgba(255, 253, 248, 0.8);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(201, 162, 75, 0.28);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	padding: 24px 34px;
}
.counter-card .big {
	font-family: var(--fr);
	font-size: clamp(2.4rem, 6vw, 3rem);
	font-weight: 600;
	color: var(--green);
	line-height: 1;
}
html[lang="ar"] .counter-card .big,
html[lang="bn"] .counter-card .big {
	font-family: inherit;
}
.counter-card .sub {
	font-size: 0.92rem;
	color: var(--muted);
}
.counter-card .sub b {
	color: var(--green);
	font-weight: 600;
}
.cbar {
	width: min(360px, 70vw);
	height: 7px;
	border-radius: 999px;
	background: rgba(21, 69, 58, 0.1);
	overflow: hidden;
	margin-top: 6px;
}
.cbar i {
	display: block;
	height: 100%;
	width: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--gold-deep), var(--gold));
	transition: width 1.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.spots {
	margin-top: 4px;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--gold-deep);
	background: rgba(201, 162, 75, 0.12);
	border-radius: 999px;
	padding: 5px 13px;
}
.chev {
	display: flex;
	justify-content: center;
	margin-top: 46px;
	color: rgba(21, 69, 58, 0.4);
	animation: bounceY 2s ease-in-out infinite;
}
@keyframes bounceY {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(8px);
	}
}

/* letter */
.letter {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	padding: 46px 48px;
	max-width: 760px;
	margin: 0 auto;
	position: relative;
}
.letter .q {
	font-family: var(--fr);
	font-size: 5rem;
	color: var(--gold-soft);
	line-height: 0.6;
	display: block;
	height: 34px;
}
.letter .dear {
	font-family: var(--fr);
	font-size: 1.5rem;
	color: var(--green);
	font-weight: 600;
	margin: 6px 0 18px;
}
html[lang="ar"] .letter .dear,
html[lang="bn"] .letter .dear {
	font-family: inherit;
}
.letter p {
	color: #33433c;
	margin-bottom: 14px;
	font-size: 1.04rem;
}
.letter .sign {
	font-family: var(--fr);
	font-weight: 600;
	color: var(--green);
	margin-top: 8px;
}

/* dark */
.dark {
	background: var(--green-deep);
	color: var(--ivory);
}
.dark .eyebrow {
	color: var(--gold-soft);
}
.dark .lede {
	color: rgba(247, 243, 234, 0.72);
}
.dark h2 {
	color: var(--ivory);
}
.sec-head {
	max-width: 680px;
	margin-bottom: 46px;
}
.sec-head.center {
	margin: 0 auto 46px;
	text-align: center;
}
.sec-head h2 {
	font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

/* awakenings */
.awake {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.awake .card {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(232, 206, 134, 0.18);
	border-radius: var(--r);
	padding: 30px 26px;
	transition:
		transform 0.25s,
		border-color 0.25s;
}
.awake .card:hover {
	transform: translateY(-4px);
	border-color: rgba(232, 206, 134, 0.4);
}
.awake .step {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin-bottom: 18px;
}
.awake .num {
	font-family: var(--fr);
	font-size: 2.9rem;
	font-weight: 600;
	color: var(--gold);
	line-height: 1;
	letter-spacing: -0.02em;
}
html[lang="ar"] .awake .num,
html[lang="bn"] .awake .num {
	font-family: var(--fr);
}
.awake .num span {
	font-size: 1.3rem;
	color: var(--gold-soft);
}
.awake h3 {
	font-size: 1.18rem;
	color: var(--ivory);
	margin: 14px 0 10px;
}
.awake p {
	color: rgba(247, 243, 234, 0.74);
	font-size: 0.95rem;
}

/* barrier */
.barrier {
	background: radial-gradient(120% 135% at 50% -10%, #1a5446 0%, #0c2f26 66%);
	color: var(--ivory);
	text-align: center;
}
.barrier h2 {
	font-size: clamp(1.8rem, 3.8vw, 2.7rem);
	color: var(--ivory);
	max-width: 20ch;
	margin: 0 auto 18px;
}
.barrier p {
	color: rgba(247, 243, 234, 0.8);
	max-width: 60ch;
	margin: 0 auto;
	font-size: 1.05rem;
}

/* method */
.faculties {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
.fac {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 26px 20px;
	transition:
		transform 0.25s,
		box-shadow 0.25s,
		border-color 0.25s;
}
.fac:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(201, 162, 75, 0.4);
}
.fac .n {
	font-family: var(--fr);
	font-size: 0.9rem;
	color: var(--gold);
	font-weight: 600;
	margin-bottom: 14px;
}
.fac .ic {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(21, 69, 58, 0.06);
	display: grid;
	place-items: center;
	margin-bottom: 14px;
	color: var(--green);
}
.fac .ar-line {
	font-size: 1.5rem;
	color: var(--gold-deep);
	margin-bottom: 8px;
}
.fac h3 {
	font-size: 1.04rem;
	margin-bottom: 8px;
}
.fac p {
	font-size: 0.86rem;
	color: var(--muted);
}
.method-note {
	margin: 38px auto 0;
	max-width: 780px;
	text-align: center;
	background: rgba(201, 162, 75, 0.1);
	border: 1px solid rgba(201, 162, 75, 0.26);
	border-radius: var(--r);
	padding: 24px 30px;
	color: #33433c;
	font-size: 1.02rem;
	line-height: 1.6;
}

/* quote */
.quote {
	background: var(--green-deep);
	color: var(--ivory);
	text-align: center;
	position: relative;
	overflow: hidden;
}
.quote .ar-line {
	font-family: var(--naskh);
	font-size: clamp(1.8rem, 4.4vw, 2.8rem);
	color: var(--gold-soft);
	margin-bottom: 22px;
	line-height: 1.7;
}
.quote .tr {
	font-family: var(--fr);
	font-style: italic;
	font-size: 1.3rem;
	max-width: 42ch;
	margin: 0 auto 12px;
	color: rgba(247, 243, 234, 0.92);
}
html[lang="ar"] .quote .tr,
html[lang="bn"] .quote .tr {
	font-family: inherit;
	font-style: normal;
}
.quote .by {
	color: rgba(247, 243, 234, 0.6);
	font-size: 0.92rem;
}

/* split / mother */
.split {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 54px;
	align-items: center;
}
.split h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.5rem);
	margin-bottom: 18px;
}
.ticks {
	list-style: none;
	padding: 0;
	margin: 24px 0 0;
	display: grid;
	gap: 13px;
}
.ticks li {
	display: flex;
	gap: 12px;
	font-size: 0.98rem;
	color: #33433c;
}
.ticks svg {
	flex: none;
	margin-top: 3px;
	color: var(--teal);
}
.dash {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.dash-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	border-bottom: 1px solid var(--line);
	background: linear-gradient(180deg, #fff, var(--paper));
}
.dash-top .who {
	display: flex;
	align-items: center;
	gap: 11px;
}
.dash-top .av {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--teal);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 0.9rem;
}
.dash-top small {
	color: var(--muted);
	font-size: 0.74rem;
	display: block;
}
.dash-top b {
	font-size: 0.92rem;
}
.dash-body {
	padding: 20px;
}
.dash-stat {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 6px;
}
.dash-stat span {
	font-size: 0.86rem;
	color: var(--muted);
}
.dash-stat b {
	font-family: var(--fr);
	color: var(--green);
}
.dbar {
	height: 7px;
	border-radius: 999px;
	background: rgba(21, 69, 58, 0.1);
	overflow: hidden;
	margin-bottom: 18px;
}
.dbar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--teal), var(--green));
}
.approve {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 13px 15px;
	border: 1px solid var(--line);
	border-radius: 14px;
	margin-top: 8px;
}
.approve small {
	font-size: 0.74rem;
	color: var(--muted);
	display: block;
}
.approve .t {
	font-size: 0.9rem;
	font-weight: 600;
}
.approve .ok {
	font-size: 0.8rem;
	font-weight: 700;
	color: #fff;
	background: var(--teal);
	border: 0;
	border-radius: 999px;
	padding: 7px 14px;
	cursor: pointer;
	font-family: inherit;
}

/* features */
.feat {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}
.feat .card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 24px 20px;
	transition:
		transform 0.2s,
		box-shadow 0.2s,
		border-color 0.2s;
}
.feat .card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(44, 116, 110, 0.35);
}
.feat .ic {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(44, 116, 110, 0.1);
	display: grid;
	place-items: center;
	margin-bottom: 14px;
	color: var(--teal);
}
.feat h3 {
	font-size: 1rem;
	margin-bottom: 7px;
}
.feat p {
	font-size: 0.86rem;
	color: var(--muted);
}
.values {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-top: 54px;
}
.val {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 20px 22px;
}
.val .h {
	display: flex;
	gap: 9px;
	align-items: center;
	font-weight: 600;
	color: var(--green);
	margin-bottom: 6px;
}
.val .h svg {
	flex: none;
	color: var(--gold-deep);
}
.val p {
	font-size: 0.86rem;
	color: var(--muted);
}

/* future */
.future {
	background: var(--green);
	color: var(--ivory);
}
.future .pull {
	font-family: var(--fr);
	font-style: italic;
	font-size: clamp(1.8rem, 3.8vw, 2.7rem);
	max-width: 20ch;
	color: var(--gold-soft);
	margin-bottom: 14px;
	line-height: 1.25;
}
html[lang="ar"] .future .pull,
html[lang="bn"] .future .pull {
	font-family: var(--amiri);
	font-style: normal;
}
.future h2 {
	color: var(--ivory);
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	margin: 40px 0 14px;
}
.future .lede {
	color: rgba(247, 243, 234, 0.78);
}
.skills {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 24px 0 0;
}
.skills span {
	font-size: 0.86rem;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(232, 206, 134, 0.2);
	border-radius: 999px;
	padding: 8px 15px;
}
.paths {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 38px;
}
.path {
	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(232, 206, 134, 0.18);
	border-radius: var(--r);
	padding: 28px;
}
.path .tag {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin-bottom: 12px;
}
.path h3 {
	color: var(--ivory);
	font-size: 1.25rem;
	margin-bottom: 10px;
}
.path p {
	color: rgba(247, 243, 234, 0.74);
	font-size: 0.95rem;
}

/* roadmap */
.road {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 18px;
}
.road .card {
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 28px 26px;
	background: var(--paper);
}
.road .yr {
	font-family: var(--fr);
	font-size: 0.92rem;
	color: var(--gold-deep);
	font-weight: 600;
	margin-bottom: 10px;
}
html[lang="ar"] .road .yr,
html[lang="bn"] .road .yr {
	font-family: inherit;
}
.road h3 {
	font-size: 1.18rem;
	margin-bottom: 8px;
}
.road p {
	font-size: 0.92rem;
	color: var(--muted);
}
details.campus {
	margin-top: 8px;
	border: 1px solid var(--line);
	border-radius: var(--r);
	background: var(--paper);
	overflow: hidden;
}
details.campus summary {
	cursor: pointer;
	list-style: none;
	padding: 18px 24px;
	font-weight: 600;
	color: var(--green);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
}
details.campus summary::-webkit-details-marker {
	display: none;
}
details.campus summary .pm {
	color: var(--gold-deep);
	font-size: 1.3rem;
	transition: transform 0.2s;
}
details.campus[open] summary .pm {
	transform: rotate(45deg);
}
details.campus .inner {
	padding: 0 24px 22px;
}
details.campus .inner ul {
	margin: 0;
	padding-inline-start: 20px;
	columns: 2;
	gap: 30px;
	color: #33433c;
	font-size: 0.95rem;
}
details.campus .inner li {
	margin-bottom: 6px;
}

/* pricing */
.price-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	max-width: 840px;
	margin: 0 auto;
}
.plan {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: 34px 32px;
	position: relative;
}
.plan.founding {
	border: 1.5px solid var(--gold);
	box-shadow: 0 18px 44px rgba(201, 162, 75, 0.16);
}
.plan .tag {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border-radius: 999px;
	padding: 6px 13px;
	margin-bottom: 18px;
}
.plan.founding .tag {
	background: var(--gold);
	color: var(--green-deep);
}
.plan.regular .tag {
	background: rgba(21, 69, 58, 0.08);
	color: var(--green);
}
.plan .amt {
	font-family: var(--fr);
	font-size: 3.1rem;
	font-weight: 600;
	color: var(--green);
	line-height: 1;
}
html[lang="ar"] .plan .amt,
html[lang="bn"] .plan .amt {
	font-family: var(--fr);
}
.plan.regular .amt {
	color: var(--muted);
}
.plan .per {
	font-size: 0.92rem;
	color: var(--muted);
	margin: 6px 0 2px;
}
.plan .note {
	font-size: 0.84rem;
	color: var(--gold-deep);
	font-weight: 600;
}
.plan .btn {
	margin-top: 22px;
	width: 100%;
	justify-content: center;
}
.price-extra {
	max-width: 840px;
	margin: 22px auto 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}
.price-extra .box {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 22px 24px;
}
.price-extra .box h4 {
	margin: 0 0 12px;
	font-family: var(--body);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--teal);
}
.tier {
	display: flex;
	justify-content: space-between;
	font-size: 0.94rem;
	padding: 6px 0;
	border-bottom: 1px dashed var(--line);
}
.tier:last-child {
	border-bottom: 0;
}
.tier b {
	color: var(--green);
	font-family: var(--fr);
}
.sibling {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	color: #33433c;
	font-size: 0.96rem;
}
.sibling svg {
	flex: none;
	margin-top: 2px;
	color: var(--gold-deep);
}

/* endorsement */
.endorse {
	text-align: center;
}
.endorse .card {
	max-width: 680px;
	margin: 0 auto;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	padding: 42px 40px;
}
.endorse .seal {
	width: 46px;
	height: 46px;
	margin: 0 auto 18px;
	color: var(--gold-deep);
}
.endorse h3 {
	font-size: 1.3rem;
	margin-bottom: 6px;
}
.endorse .role {
	color: var(--muted);
	font-size: 0.94rem;
	margin-bottom: 14px;
}
.endorse .say {
	font-family: var(--fr);
	font-style: italic;
	font-size: 1.12rem;
	color: var(--green);
	max-width: 48ch;
	margin: 0 auto 14px;
}
html[lang="ar"] .endorse .say,
html[lang="bn"] .endorse .say {
	font-family: inherit;
	font-style: normal;
}
.endorse .card a {
	color: var(--gold-deep);
	font-weight: 600;
	font-size: 0.9rem;
	border-bottom: 1px solid rgba(182, 137, 47, 0.4);
}

/* invites + reserve */
.invites {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}
.invite {
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 26px 24px;
	background: var(--paper);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
}
.invite:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.invite .who {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--teal);
	margin-bottom: 10px;
}
.invite h3 {
	font-size: 1.1rem;
	margin-bottom: 8px;
}
.invite p {
	font-size: 0.9rem;
	color: var(--muted);
	margin-bottom: 14px;
}
.invite .lk {
	font-weight: 600;
	color: var(--green);
	font-size: 0.92rem;
	display: inline-flex;
	gap: 6px;
	align-items: center;
}
.invite:hover .lk svg {
	transform: translateX(3px);
}
.invite .lk svg {
	transition: transform 0.2s;
}
.reserve-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 46px;
	align-items: start;
	margin-top: 64px;
}
.reserve-grid h2 {
	font-size: clamp(1.9rem, 3.4vw, 2.4rem);
	margin-bottom: 14px;
}
.form {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	padding: 34px;
}
.field {
	margin-bottom: 16px;
}
.field label {
	display: block;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--green);
	margin-bottom: 6px;
}
.field input,
.field select {
	width: 100%;
	font-family: inherit;
	font-size: 0.95rem;
	padding: 12px 14px;
	border: 1px solid var(--line-strong);
	border-radius: 11px;
	background: #fff;
	color: var(--ink);
}
.field input:focus,
.field select:focus {
	outline: 2px solid var(--teal);
	outline-offset: 1px;
	border-color: transparent;
}
.two {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}
.ages {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ages label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-weight: 500;
	font-size: 0.88rem;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	padding: 8px 13px;
	cursor: pointer;
	margin: 0;
	color: var(--ink);
}
.ages input {
	width: auto;
}
.hp {
	position: absolute;
	left: -9999px;
}
.form .btn {
	width: 100%;
	justify-content: center;
	margin-top: 8px;
}
.form .ok-msg {
	display: none;
	margin-top: 14px;
	padding: 13px 16px;
	border-radius: 12px;
	background: rgba(44, 116, 110, 0.1);
	color: var(--teal-deep);
	font-size: 0.92rem;
	font-weight: 500;
}
.form.done .ok-msg {
	display: block;
}
.mini-counter {
	margin-top: 26px;
}
.mini-counter .row {
	display: flex;
	justify-content: space-between;
	font-size: 0.86rem;
	color: var(--muted);
	margin-bottom: 8px;
}
.mini-counter .row b {
	font-family: var(--fr);
	color: var(--green);
}

/* investor */
.invest {
	background: var(--green-deep);
	color: var(--ivory);
	border-radius: var(--r-lg);
	padding: 42px 44px;
	margin-top: 46px;
	position: relative;
	overflow: hidden;
}
.invest-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	align-items: center;
	position: relative;
	z-index: 1;
}
.invest .eyebrow {
	color: var(--gold-soft);
}
.invest h3 {
	color: var(--ivory);
	font-size: 1.5rem;
	margin-bottom: 18px;
}
.kpis {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 34px;
	margin-bottom: 22px;
}
.kpi b {
	font-family: var(--fr);
	font-size: 1.7rem;
	color: var(--gold);
	display: block;
	line-height: 1;
}
html[lang="ar"] .kpi b,
html[lang="bn"] .kpi b {
	font-family: var(--fr);
}
.kpi span {
	font-size: 0.82rem;
	color: rgba(247, 243, 234, 0.65);
}
.fund {
	display: grid;
	gap: 11px;
}
.fund .lab {
	display: flex;
	justify-content: space-between;
	font-size: 0.86rem;
	color: rgba(247, 243, 234, 0.85);
	margin-bottom: 5px;
}
.fund .fbar {
	height: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	overflow: hidden;
}
.fund .fbar i {
	display: block;
	height: 100%;
	background: var(--gold);
	border-radius: 999px;
}
.invest .ind {
	font-size: 0.78rem;
	color: rgba(247, 243, 234, 0.5);
	margin-top: 14px;
}

/* faq */
.faq {
	max-width: 760px;
	margin: 0 auto;
}
details.q {
	border-bottom: 1px solid var(--line);
}
details.q summary {
	cursor: pointer;
	list-style: none;
	padding: 20px 4px;
	font-family: var(--fr);
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--green);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
html[lang="ar"] details.q summary,
html[lang="bn"] details.q summary {
	font-family: inherit;
}
details.q summary::-webkit-details-marker {
	display: none;
}
details.q summary .pm {
	color: var(--gold-deep);
	font-size: 1.4rem;
	flex: none;
	transition: transform 0.2s;
}
details.q[open] summary .pm {
	transform: rotate(45deg);
}
details.q .a {
	padding: 0 4px 22px;
	color: #33433c;
	font-size: 0.98rem;
	max-width: 64ch;
}

/* final */
.final {
	background: var(--green-deep);
	color: var(--ivory);
	text-align: center;
	padding: 96px 0;
}
.final .med {
	font-family: var(--amiri), "Noto Naskh Arabic", serif;
	font-weight: 700;
	color: var(--gold);
	font-size: clamp(3.4rem, 9vw, 5.6rem);
	direction: rtl;
	line-height: 1;
	margin-bottom: 24px;
}
.final h2 {
	font-size: clamp(2rem, 4.4vw, 3rem);
	color: var(--ivory);
	max-width: 20ch;
	margin: 0 auto 14px;
}
.final p {
	color: var(--gold-soft);
	margin-bottom: 30px;
}

/* footer */
footer {
	background: #0a271f;
	color: rgba(247, 243, 234, 0.72);
	padding: 64px 0 30px;
}
.foot-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 36px;
	padding-bottom: 42px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
footer .logo .wm b,
footer .logo .wm i {
	color: var(--ivory);
}
footer .mission {
	margin: 16px 0 0;
	font-size: 0.92rem;
	max-width: 34ch;
	color: rgba(247, 243, 234, 0.6);
}
footer h4 {
	font-family: var(--body);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin: 0 0 16px;
}
html[lang="ar"] footer h4,
html[lang="bn"] footer h4 {
	font-family: inherit;
}
footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}
footer ul a {
	font-size: 0.92rem;
	color: rgba(247, 243, 234, 0.72);
}
footer ul a:hover {
	color: var(--ivory);
}
.foot-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 26px;
}
.foot-bottom .left {
	font-size: 0.84rem;
	color: rgba(247, 243, 234, 0.5);
}
.initiative {
	display: flex;
	align-items: center;
	gap: 13px;
}
.initiative .by {
	font-size: 0.74rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(247, 243, 234, 0.55);
	font-weight: 600;
}
.initiative img {
	width: 42px;
	height: 42px;
	border-radius: 11px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.initiative b {
	color: var(--ivory);
	font-weight: 600;
}

/* mobile sticky */
.mobile-cta {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	padding: 12px 16px;
	background: rgba(247, 243, 234, 0.92);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--line);
}
.mobile-cta .btn {
	width: 100%;
	justify-content: center;
}

/* reveal */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.7s ease,
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
	opacity: 1;
	transform: none;
}

/* scroll-to-top (bottom-left) */
.totop {
	position: fixed;
	z-index: 47;
	bottom: calc(20px + env(safe-area-inset-bottom, 0px));
	inset-inline-start: max(16px, env(safe-area-inset-left, 0px));
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 0;
	background: var(--green);
	color: #ffffff;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow:
		0 0 0 1.5px rgba(201, 162, 75, 0.55),
		0 12px 26px -10px rgba(12, 47, 38, 0.6);
	transition:
		opacity 0.3s,
		transform 0.3s;
}
.totop:not(.show) {
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	visibility: hidden;
}
.totop svg {
	width: 20px;
	height: 20px;
}
/* The 84px offset existed to clear the removed .mobile-cta bar. The button now
** sits at the same 20px offset at every width, inside the footer's reserved band. */

@media (max-width: 1039px) {
	.nav-links {
		display: none;
	}
	.menu-toggle {
		display: block;
	}
	.nav-right .btn-green {
		display: none;
	}
}
@media (max-width: 980px) {
	.split,
	.invest-grid,
	.reserve-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.feat,
	.faculties {
		grid-template-columns: repeat(3, 1fr);
	}
	.awake,
	.invites,
	.values {
		grid-template-columns: 1fr 1fr;
	}
	.paths,
	.price-grid,
	.price-extra,
	.road {
		grid-template-columns: 1fr;
	}
	.foot-grid {
		grid-template-columns: 1fr 1fr;
	}
	.mobile-cta {
		display: block;
	}
}
@media (max-width: 560px) {
	section {
		padding: 60px 0;
	}
	.feat,
	.faculties,
	.awake,
	.invites,
	.values,
	.foot-grid,
	.kpis {
		grid-template-columns: 1fr;
	}
	.two {
		grid-template-columns: 1fr;
	}
	.letter {
		padding: 34px 26px;
	}
	.invest {
		padding: 30px 24px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.medallion .ring,
	.blob,
	.pill .dot,
	.chev {
		animation: none;
	}
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	html {
		scroll-behavior: auto;
	}
	.cbar i,
	.dbar i {
		transition: none;
	}
}

/* ===== charm layer — light, gold, calligraphy, flourish (no geometry) ===== */
.hero {
	background: radial-gradient(
		125% 82% at 50% -12%,
		#fffef6 0%,
		#fbf5e7 44%,
		var(--ivory) 76%
	);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background: radial-gradient(
		38% 42% at 50% 33%,
		rgba(201, 162, 75, 0.12),
		transparent 70%
	);
}
.medallion {
	animation: floatY 6.5s ease-in-out infinite;
}
.medallion::before {
	content: "";
	position: absolute;
	inset: -12%;
	border-radius: 50%;
	z-index: 0;
	filter: blur(10px);
	background: radial-gradient(
		circle,
		rgba(201, 162, 75, 0.42) 0%,
		rgba(201, 162, 75, 0.14) 46%,
		transparent 70%
	);
	animation: halo 5s ease-in-out infinite;
}
.medallion::after {
	content: "";
	position: absolute;
	inset: 6%;
	border-radius: 50%;
	z-index: 1;
	background: radial-gradient(circle at 50% 36%, #15463a 0%, #06241b 80%);
	box-shadow:
		inset 0 0 0 2px rgba(201, 162, 75, 0.5),
		inset 0 0 24px rgba(0, 0, 0, 0.38),
		0 0 0 5px rgba(201, 162, 75, 0.14),
		0 22px 52px rgba(12, 47, 38, 0.42);
}
.medallion .iqra {
	position: relative;
	z-index: 2;
	background: linear-gradient(
		135deg,
		#efd89a 0%,
		#d9b65e 44%,
		#f5e6b6 68%,
		#c9a24b 100%
	);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-stroke: 0.9px #d9b65e;
	text-stroke: 0.9px #d9b65e;
	filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}
@keyframes halo {
	0%,
	100% {
		transform: scale(0.95);
		opacity: 0.62;
	}
	50% {
		transform: scale(1.05);
		opacity: 1;
	}
}
@keyframes floatY {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-9px);
	}
}
.flourish {
	display: block;
	margin: 30px auto 0;
	color: var(--gold-deep);
}
.final .flourish,
.dark .flourish {
	color: var(--gold-soft);
}
.sec-head.center h2::after,
.price-head h2::after {
	content: "";
	display: block;
	width: 78px;
	height: 10px;
	margin: 16px auto 0;
	background:
		radial-gradient(
			circle 3.5px at 50% 50%,
			var(--gold) 0 3px,
			transparent 4px
		),
		linear-gradient(
			90deg,
			transparent,
			rgba(201, 162, 75, 0.7) 28%,
			rgba(201, 162, 75, 0.7) 72%,
			transparent
		);
}
.dark .sec-head.center h2::after {
	background:
		radial-gradient(
			circle 3.5px at 50% 50%,
			var(--gold-soft) 0 3px,
			transparent 4px
		),
		linear-gradient(
			90deg,
			transparent,
			rgba(232, 206, 134, 0.62) 28%,
			rgba(232, 206, 134, 0.62) 72%,
			transparent
		);
}
.dark {
	position: relative;
	overflow: hidden;
	background: radial-gradient(
		125% 135% at 50% -12%,
		#16463a 0%,
		var(--green-deep) 62%
	);
}
.future {
	position: relative;
	overflow: hidden;
	background: radial-gradient(
		120% 130% at 50% -10%,
		#1a5446 0%,
		var(--green) 64%
	);
}
.quote {
	background: radial-gradient(
		120% 135% at 50% 0%,
		#123a31,
		var(--green-deep)
	);
}
.final {
	background: radial-gradient(
		115% 125% at 50% 0%,
		#123a31,
		var(--green-deep)
	);
}
.watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--amiri), serif;
	font-weight: 700;
	color: rgba(232, 206, 134, 0.05);
	font-size: clamp(9rem, 24vw, 20rem);
	line-height: 1;
	direction: rtl;
	pointer-events: none;
	z-index: 0;
	white-space: nowrap;
}
.dark .wrap,
.future .wrap {
	position: relative;
	z-index: 1;
}
html[lang="en"] .letter p:nth-of-type(2)::first-letter {
	font-family: var(--fr);
	font-weight: 600;
	font-size: 3.4rem;
	line-height: 0.72;
	float: left;
	margin: 8px 12px 0 0;
	color: var(--gold-deep);
}
.barrier h2,
.final h2 {
	background: linear-gradient(120deg, #f0dca0, #c9a24b 58%, #e8ce86);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.feat .card,
.fac,
.invite,
.road .card,
.awake .card {
	position: relative;
}
.feat .card::before,
.fac::before,
.invite::before,
.road .card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 18px;
	right: 18px;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
	opacity: 0;
	transition: opacity 0.25s;
}
.feat .card:hover::before,
.fac:hover::before,
.invite:hover::before,
.road .card:hover::before {
	opacity: 0.9;
}
.plan.founding {
	background: linear-gradient(180deg, #fffdf6, #fff7e6);
}
.pill {
	position: relative;
	overflow: hidden;
}
.pill::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 46%;
	height: 100%;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(255, 255, 255, 0.55),
		transparent
	);
	transform: skewX(-18deg);
	animation: shimmer 5s ease-in-out infinite;
}
@keyframes shimmer {
	0% {
		left: -60%;
	}
	38%,
	100% {
		left: 150%;
	}
}
.btn-gold {
	background: linear-gradient(135deg, #d9b65e, #c9a24b);
}
.btn-gold:hover {
	background: linear-gradient(135deg, #e8ce86, #d9b65e);
}
.endorse .card,
.letter {
	background: linear-gradient(180deg, #fffdf8, #fffbf0);
}
@media (prefers-reduced-motion: reduce) {
	.medallion,
	.medallion::before,
	.pill::after {
		animation: none;
	}
}

/* ===== emerald-and-gold hero + heading underline draw-in + hero watermark ===== */
.hero {
	background: radial-gradient(
		120% 92% at 50% -12%,
		#1c5446 0%,
		#114035 46%,
		#0c2f26 100%
	);
}
.hero::after {
	background: radial-gradient(
		44% 48% at 50% 30%,
		rgba(201, 162, 75, 0.2),
		transparent 72%
	);
}
.hero h1 {
	color: var(--ivory);
}
.hero .lede {
	color: rgba(247, 243, 234, 0.82);
}
.hero .pill {
	color: var(--gold-soft);
	background: rgba(201, 162, 75, 0.12);
	border-color: rgba(201, 162, 75, 0.45);
}
.hero .pill .dot {
	background: var(--gold-soft);
}
.hero .pill::after {
	background: linear-gradient(
		90deg,
		transparent,
		rgba(245, 230, 182, 0.45),
		transparent
	);
}
.hero .flourish {
	color: var(--gold-soft);
}
.hero .counter-card {
	background: rgba(255, 253, 248, 0.05);
	border-color: rgba(201, 162, 75, 0.32);
	backdrop-filter: blur(8px);
}
.hero .counter-card .big {
	color: var(--ivory);
}
.hero .counter-card .big > span {
	color: rgba(247, 243, 234, 0.5) !important;
}
.hero .counter-card .sub {
	color: rgba(247, 243, 234, 0.72);
}
.hero .counter-card .sub b {
	color: var(--gold-soft);
}
.hero .cbar {
	background: rgba(255, 255, 255, 0.12);
}
.hero .spots {
	color: var(--gold-soft);
	background: rgba(201, 162, 75, 0.16);
}
.hero .chev {
	color: rgba(247, 243, 234, 0.42);
}
.hero .btn-ghost {
	color: var(--ivory);
	border-color: rgba(247, 243, 234, 0.38);
}
.hero .btn-ghost:hover {
	color: var(--green-deep);
	background: var(--ivory);
	border-color: var(--ivory);
}
.hero .watermark {
	color: rgba(232, 206, 134, 0.05);
}
/* heading underline draws itself in on reveal */
.sec-head.center h2::after,
.price-head h2::after {
	width: 0;
	transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.sec-head.center.in h2::after,
.price-head.in h2::after {
	width: 78px;
}
@media (prefers-reduced-motion: reduce) {
	.sec-head.center h2::after,
	.price-head h2::after {
		width: 78px;
		transition: none;
	}
}

/* ===== emerald accent band (cards stay light & pop) ===== */
.band-emerald {
	position: relative;
	overflow: hidden;
	background: radial-gradient(120% 130% at 50% -10%, #184e40 0%, #0c2f26 66%);
}
.band-emerald > .wrap {
	position: relative;
	z-index: 1;
}
.band-emerald > .wrap > .price-head h2 {
	color: var(--ivory);
}
.band-emerald > .wrap > .price-head .lede {
	color: rgba(247, 243, 234, 0.78);
}
.band-emerald > .wrap > .price-head .eyebrow,
.band-emerald > .wrap > .eyebrow,
.band-emerald > .wrap > .sec-head .eyebrow {
	color: var(--gold-soft);
}
.band-emerald > .wrap > .sec-head h2 {
	color: var(--ivory);
}
.band-emerald > .wrap > .sec-head .lede {
	color: rgba(247, 243, 234, 0.78);
}
.band-emerald > .wrap > .price-head h2::after,
.band-emerald > .wrap > .sec-head.center h2::after {
	background:
		radial-gradient(
			circle 3.5px at 50% 50%,
			var(--gold-soft) 0 3px,
			transparent 4px
		),
		linear-gradient(
			90deg,
			transparent,
			rgba(232, 206, 134, 0.6) 28%,
			rgba(232, 206, 134, 0.6) 72%,
			transparent
		);
}
.band-emerald .watermark {
	color: rgba(232, 206, 134, 0.05);
}

/* ===== charming reservation form ===== */
.form {
	background: linear-gradient(180deg, #fffdf8, #fffbee);
	border: 1px solid rgba(201, 162, 75, 0.34);
	border-radius: 20px;
	box-shadow:
		0 24px 60px rgba(12, 47, 38, 0.14),
		inset 0 0 0 1px rgba(201, 162, 75, 0.1);
	padding: 30px 30px 32px;
	position: relative;
	overflow: hidden;
}
.form::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #c9a24b, #f0dca0, #c9a24b);
}
.form-top {
	text-align: center;
	margin-bottom: 22px;
	color: var(--gold-deep);
}
.form-top .flourish {
	margin: 0 auto 7px;
	display: block;
}
.form-cap {
	display: block;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--gold-deep);
}
.field label {
	letter-spacing: 0.02em;
}
.field input,
.field select {
	background: #fffcf4;
	border: 1px solid rgba(201, 162, 75, 0.32);
	border-radius: 12px;
	transition:
		border-color 0.2s,
		box-shadow 0.2s,
		background 0.2s;
}
.field input:hover,
.field select:hover {
	border-color: rgba(201, 162, 75, 0.6);
}
.field input:focus,
.field select:focus {
	outline: none;
	border-color: var(--gold);
	box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.22);
	background: #fff;
}
.ages label {
	background: #fffcf4;
	border: 1px solid rgba(201, 162, 75, 0.32);
	transition:
		background 0.18s,
		border-color 0.18s,
		color 0.18s,
		box-shadow 0.18s;
}
.ages label:hover {
	border-color: var(--gold);
	color: var(--green);
}
.ages input {
	accent-color: var(--gold-deep);
}
.ages label:has(input:checked) {
	background: linear-gradient(135deg, #15463a, #0c2f26);
	color: var(--ivory);
	border-color: var(--gold-deep);
	box-shadow: 0 5px 14px rgba(12, 47, 38, 0.26);
}
.ages label:has(input:checked) input {
	accent-color: #e8ce86;
}
.form .btn-gold {
	margin-top: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
}
.form .btn-gold svg {
	transition: transform 0.25s;
}
.form .btn-gold:hover svg {
	transform: translateX(4px);
}
html[dir="rtl"] .form .btn-gold svg {
	transform: scaleX(-1);
}
html[dir="rtl"] .form .btn-gold:hover svg {
	transform: scaleX(-1) translateX(4px);
}
.mini-counter .row b {
	color: var(--gold-deep);
}
.mini-counter .cbar {
	height: 9px;
	border-radius: 999px;
	background: rgba(21, 69, 58, 0.1);
	overflow: hidden;
}
.mini-counter .cbar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, #b6892f, #c9a24b 55%, #e8ce86);
}
.form .ok-msg {
	display: none;
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: 13px;
	background: linear-gradient(135deg, #15463a, #0c2f26);
	color: var(--ivory);
	border: 1px solid rgba(201, 162, 75, 0.4);
	font-size: 0.92rem;
	font-weight: 500;
	align-items: flex-start;
	gap: 11px;
}
.form.done .ok-msg {
	display: flex;
}
.form .ok-msg::before {
	content: "";
	flex: none;
	margin-top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--gold)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C2F26' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
		center/13px no-repeat;
}

/* ===== charming hamburger + mobile menu ===== */
.menu-toggle {
	display: none;
	border: 0;
	cursor: pointer;
	padding: 0;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: radial-gradient(circle at 38% 30%, #1f5e50, #0c2f26);
	box-shadow:
		0 3px 10px rgba(12, 47, 38, 0.3),
		inset 0 0 0 1.5px rgba(201, 162, 75, 0.6);
	align-items: center;
	justify-content: center;
	transition:
		transform 0.2s,
		box-shadow 0.25s;
}
.menu-toggle svg {
	width: 21px;
	height: 21px;
	stroke: #e8ce86;
}
.menu-toggle:active {
	transform: scale(0.93);
}
.menu-toggle[aria-expanded="true"] {
	box-shadow:
		0 4px 16px rgba(201, 162, 75, 0.45),
		inset 0 0 0 1.6px rgba(232, 206, 134, 0.9);
}
@media (max-width: 1039px) {
	.menu-toggle {
		display: inline-flex;
	}
	.mobile-menu {
		background: linear-gradient(180deg, #fffdf7, #fbf5e8);
		border-bottom: 1px solid rgba(201, 162, 75, 0.3);
		box-shadow: 0 26px 54px rgba(12, 47, 38, 0.2);
	}
	.mobile-menu::before {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		height: 3px;
		background: linear-gradient(90deg, #c9a24b, #f0dca0, #c9a24b);
	}
	.mobile-menu .mlink {
		border-bottom: 1px solid rgba(201, 162, 75, 0.18);
		position: relative;
		transition:
			color 0.2s,
			padding 0.2s;
	}
	.mobile-menu .mlink::before {
		content: "";
		position: absolute;
		inset-inline-start: -2px;
		top: 50%;
		transform: translateY(-50%) scale(0);
		width: 6px;
		height: 6px;
		border-radius: 50%;
		background: var(--gold);
		transition: transform 0.2s;
	}
	.mobile-menu .mlink:hover {
		color: var(--green);
		padding-inline-start: 16px;
	}
	.mobile-menu .mlink:hover::before {
		transform: translateY(-50%) scale(1);
	}
	.mobile-menu.open > * {
		animation: menuIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
	}
	.mobile-menu.open > *:nth-child(1) {
		animation-delay: 0.03s;
	}
	.mobile-menu.open > *:nth-child(2) {
		animation-delay: 0.07s;
	}
	.mobile-menu.open > *:nth-child(3) {
		animation-delay: 0.11s;
	}
	.mobile-menu.open > *:nth-child(4) {
		animation-delay: 0.15s;
	}
	.mobile-menu.open > *:nth-child(5) {
		animation-delay: 0.19s;
	}
	.mobile-menu.open > *:nth-child(6) {
		animation-delay: 0.23s;
	}
	.mobile-menu.open > *:nth-child(7) {
		animation-delay: 0.27s;
	}
	.mobile-menu.open > *:nth-child(8) {
		animation-delay: 0.31s;
	}
}
@keyframes menuIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@media (prefers-reduced-motion: reduce) {
	.mobile-menu.open > * {
		animation: none;
	}
	.form .btn-gold:hover svg {
		transform: none;
	}
}
/* Open-drawer state guards. The sticky <header> owns a stacking context at
** z-index 50, so the drawer (z-index 61) cannot climb above page-level
** furniture painted outside it — theme floating buttons, scroll-top — and
** those would sit on top of the open menu. Lifting the header above them
** while open keeps the drawer the topmost surface. Scroll lock stops the
** background from scrolling under the panel. */
body.nav-open {
	overflow: hidden;
}
body.nav-open header {
	z-index: 70;
}

/* ===== smarter light sections (crisp / editorial) ===== */
/* eyebrow as a structured tag with a leading gold rule */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}
.eyebrow::before {
	content: "";
	width: 24px;
	height: 2px;
	border-radius: 2px;
	background: var(--gold);
	flex: none;
}
.dark .eyebrow::before,
.band-emerald .eyebrow::before,
.future .eyebrow::before,
.invest .eyebrow::before,
.barrier .eyebrow::before {
	background: var(--gold-soft);
}

/* refined card surfaces (light sections only) */
.fac,
.feat .card,
.invite,
.road .card {
	background: linear-gradient(180deg, #ffffff, #fffcf5);
	border: 1px solid rgba(27, 42, 36, 0.08);
	box-shadow:
		0 1px 2px rgba(12, 47, 38, 0.04),
		inset 0 1px 0 rgba(255, 255, 255, 0.7);
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		border-color 0.22s ease;
}
.fac:hover,
.feat .card:hover,
.invite:hover,
.road .card:hover {
	transform: translateY(-5px);
	box-shadow:
		0 2px 4px rgba(12, 47, 38, 0.05),
		0 22px 44px rgba(12, 47, 38, 0.13);
	border-color: rgba(201, 162, 75, 0.4);
}

/* smarter icon tiles: gold-ringed, subtle gradient */
.fac .ic,
.feat .ic {
	background: linear-gradient(
		135deg,
		rgba(21, 69, 58, 0.07),
		rgba(201, 162, 75, 0.13)
	);
	box-shadow: inset 0 0 0 1px rgba(201, 162, 75, 0.3);
	border-radius: 13px;
}
.feat .ic {
	color: var(--teal-deep);
}
.fac .ic {
	color: var(--green);
}
.fac .n {
	letter-spacing: 0.06em;
}

/* crisper display headings */
.sec-head h2,
.price-head h2 {
	letter-spacing: -0.01em;
}

/* smarter FAQ — refined card accordion */
.faq details.q {
	border: 1px solid rgba(27, 42, 36, 0.1);
	border-radius: 14px;
	margin-bottom: 10px;
	background: linear-gradient(180deg, #ffffff, #fffcf6);
	transition:
		border-color 0.2s,
		box-shadow 0.2s;
	overflow: hidden;
}
.faq details.q summary {
	padding: 18px 20px;
}
.faq details.q summary:hover {
	color: var(--green);
}
.faq details.q[open] {
	border-color: rgba(201, 162, 75, 0.45);
	box-shadow: 0 10px 30px rgba(12, 47, 38, 0.08);
}
.faq details.q .a {
	padding: 0 20px 20px;
}

/* dashboard mockup — crisper product UI */
.dash {
	box-shadow:
		0 2px 6px rgba(12, 47, 38, 0.06),
		0 28px 64px rgba(12, 47, 38, 0.16);
	border-color: rgba(27, 42, 36, 0.1);
}
.dash-top {
	position: relative;
}
.dash-top::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(201, 162, 75, 0.5),
		transparent
	);
}

/* letter — subtle lift */
.letter {
	box-shadow:
		0 2px 6px rgba(12, 47, 38, 0.05),
		0 24px 60px rgba(12, 47, 38, 0.12);
}

/* "Why Lab?" brand callout */
.lab-why {
	max-width: 660px;
	margin: 30px auto 44px;
	text-align: center;
	padding: 26px 30px;
	border: 1px solid rgba(201, 162, 75, 0.32);
	border-radius: 16px;
	background: linear-gradient(180deg, #ffffff, #fffcf3);
	box-shadow:
		0 1px 2px rgba(12, 47, 38, 0.04),
		inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.lab-why .lab-q {
	display: block;
	font-family: var(--fr);
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--gold-deep);
	margin-bottom: 9px;
}
.lab-why p {
	font-family: var(--fr);
	font-size: 1.16rem;
	line-height: 1.5;
	color: var(--green);
	margin: 0;
}
html[lang="ar"] .lab-why .lab-q,
html[lang="ar"] .lab-why p,
html[lang="bn"] .lab-why .lab-q,
html[lang="bn"] .lab-why p {
	font-family: inherit;
}

/* special nav wordmark "Lab" — gold, echoing the hero calligraphy */
header .logo .wm i {
	background: linear-gradient(135deg, #c9a24b 0%, #a8791f 48%, #d9b65e 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	-webkit-text-stroke: 0.35px rgba(168, 121, 31, 0.5);
	font-weight: 700;
	filter: drop-shadow(0 1px 1px rgba(168, 121, 31, 0.22));
}

/* nav "Arabic" rebalanced to an emerald partner for the gilded "Lab" */
header .logo .wm b {
	background: linear-gradient(135deg, #15453a 0%, #0c2f26 55%, #1c5446 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-weight: 700;
}
/* carry the gilded "Lab" into the footer (brighter golds on the dark footer) */
footer .logo .wm i {
	background: linear-gradient(135deg, #f3dea4 0%, #d9b65e 50%, #f5e6b6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-weight: 700;
	-webkit-text-stroke: 0.3px rgba(201, 162, 75, 0.4);
}

/* ===== Father's Letter — engaging & conversion-led ===== */
.letter-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 4px;
	padding-bottom: 20px;
	border-bottom: 1px solid rgba(201, 162, 75, 0.28);
}
.letter-head .fseal {
	width: 50px;
	height: 50px;
	flex: none;
	border-radius: 50%;
	background: radial-gradient(circle at 38% 30%, #1f5e50, #0c2f26);
	box-shadow:
		inset 0 0 0 2px rgba(201, 162, 75, 0.55),
		0 4px 12px rgba(12, 47, 38, 0.22);
	display: grid;
	place-items: center;
	font-family: var(--fr);
	font-weight: 600;
	font-size: 1.55rem;
	color: #ead79a;
}
.letter-head .who b {
	display: block;
	font-size: 1.04rem;
	color: var(--green);
	font-family: var(--fr);
}
.letter-head .who span {
	font-size: 0.82rem;
	color: var(--muted);
}
.letter-head .readtime {
	margin-inline-start: auto;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gold-deep);
	white-space: nowrap;
}
.letter p.lead {
	font-size: 1.18rem;
	color: var(--ink);
	line-height: 1.56;
}
.letter .pull {
	margin: 28px 0;
	padding: 4px 0 4px 22px;
	border-inline-start: 3px solid var(--gold);
	font-family: var(--fr);
	font-size: clamp(1.45rem, 2.8vw, 2rem);
	line-height: 1.3;
	color: var(--green);
	font-weight: 600;
}
.letter-cta {
	margin-top: 30px;
	display: inline-flex;
	align-items: center;
	gap: 9px;
}
.letter-cta svg {
	transition: transform 0.25s;
}
.letter-cta:hover svg {
	transform: translateX(4px);
}
html[dir="rtl"] .letter-cta svg {
	transform: scaleX(-1);
}
html[dir="rtl"] .letter-cta:hover svg {
	transform: scaleX(-1) translateX(4px);
}
html[lang="ar"] .letter .who b,
html[lang="bn"] .letter .who b,
html[lang="ar"] .letter .pull,
html[lang="bn"] .letter .pull {
	font-family: inherit;
}

/* ===== contextual section CTAs (conversion) ===== */
.sec-cta {
	text-align: center;
	margin-top: 46px;
}
.sec-cta p {
	font-family: var(--fr);
	font-size: clamp(1.2rem, 2.5vw, 1.55rem);
	font-weight: 600;
	color: var(--green);
	margin: 0 auto 18px;
	max-width: 32ch;
	line-height: 1.35;
}
.dark .sec-cta p,
.band-emerald .sec-cta p,
.future .sec-cta p {
	color: var(--ivory);
}
.sec-cta .btn {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}
.sec-cta .btn svg {
	transition: transform 0.25s;
}
.sec-cta .btn:hover svg {
	transform: translateX(4px);
}
html[dir="rtl"] .sec-cta .btn svg {
	transform: scaleX(-1);
}
html[dir="rtl"] .sec-cta .btn:hover svg {
	transform: scaleX(-1) translateX(4px);
}
html[lang="ar"] .sec-cta p,
html[lang="bn"] .sec-cta p {
	font-family: inherit;
}

/* ===== trust ribbon (social proof, high on page) ===== */
.trust-ribbon {
	background: linear-gradient(180deg, #fffdf7, #fbf6ea);
	border-bottom: 1px solid rgba(201, 162, 75, 0.28);
	box-shadow: inset 0 2px 0 rgba(201, 162, 75, 0.22);
}
.trust-ribbon .wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px 26px;
	padding: 15px 24px;
}
.trust-ribbon .ti {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 0.92rem;
	color: var(--ink);
}
.trust-ribbon .ti svg {
	width: 20px;
	height: 20px;
	color: var(--gold-deep);
	flex: none;
}
.trust-ribbon .ti b {
	font-family: var(--fr);
	color: var(--green);
	font-size: 1.08rem;
}
.trust-ribbon .sep {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba(201, 162, 75, 0.55);
	flex: none;
}
@media (max-width: 600px) {
	.trust-ribbon .sep {
		display: none;
	}
	.trust-ribbon .wrap {
		gap: 10px 18px;
	}
}
/* ===== pricing reassurance ===== */
.price-reassure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	max-width: 560px;
	margin: 2px auto 34px;
	padding: 12px 22px;
	border: 1px solid rgba(232, 206, 134, 0.42);
	border-radius: 999px;
	background: rgba(232, 206, 134, 0.08);
	color: var(--ivory);
	font-size: 0.96rem;
	text-align: center;
}
.price-reassure svg {
	width: 20px;
	height: 20px;
	flex: none;
	color: var(--gold-soft);
}

/* hero tadabbur gloss */
.hero-gloss {
	margin: 14px auto 0;
	max-width: 540px;
	font-size: 0.92rem;
	color: rgba(247, 243, 234, 0.62);
	line-height: 1.45;
}
.hero-gloss .term {
	color: var(--gold-soft);
	font-weight: 700;
	font-style: italic;
}
html[lang="ar"] .hero-gloss .term,
html[lang="bn"] .hero-gloss .term {
	font-style: normal;
}

/* === responsive / spacing fixes === */
/* hero: tidy spacing between subhead, tadabbur gloss, and CTAs */
.hero .lede {
	margin: 22px auto 10px;
}
.hero-gloss {
	margin: 0 auto;
}
.hero-cta {
	margin-top: 30px;
}
/* long CTAs must wrap, never overflow their container */
.letter-cta,
.sec-cta .btn {
	white-space: normal;
	text-align: center;
	max-width: 100%;
}
.form .btn,
.mobile-cta .btn,
.plan .btn {
	white-space: normal;
}
.letter-cta span,
.sec-cta .btn span {
	min-width: 0;
}
@media (max-width: 560px) {
	.letter-cta {
		width: 100%;
		justify-content: center;
	}
}

/* faculty cards: use the empty space — anchor the large Arabic calligraphy as a footer,
   move the step number to a corner badge, and let the description fill the middle */
.fac {
	display: flex;
	flex-direction: column;
}
.fac .n {
	position: absolute;
	top: 20px;
	inset-inline-end: 20px;
	margin: 0;
	font-size: 0.82rem;
}
.fac .ic {
	order: 2;
	margin-bottom: 14px;
}
.fac h3 {
	order: 3;
	margin-bottom: 8px;
}
.fac p {
	order: 4;
	margin: 0;
}
.fac .ar-line {
	order: 5;
	margin: 0;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid rgba(201, 162, 75, 0.22);
	font-size: 1.95rem;
	line-height: 1.1;
	color: var(--gold-deep);
}
@media (max-width: 980px) {
	.fac .ar-line {
		font-size: 2.1rem;
	}
}

.form .err-msg {
	display: none;
	margin-top: 12px;
	padding: 12px 15px;
	border-radius: 11px;
	background: rgba(179, 74, 58, 0.08);
	color: #9a3526;
	font-size: 0.9rem;
	font-weight: 500;
	border: 1px solid rgba(179, 74, 58, 0.28);
}

/* searchable country combobox */
.combo {
	position: relative;
}
.combo > input {
	width: 100%;
}
.combo-list {
	position: absolute;
	top: calc(100% + 5px);
	inset-inline: 0;
	z-index: 40;
	max-height: 232px;
	overflow-y: auto;
	margin: 0;
	padding: 5px;
	list-style: none;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: 13px;
	box-shadow: 0 18px 44px rgba(12, 47, 38, 0.18);
}
.combo-list[hidden] {
	display: none;
}
.combo-list li {
	padding: 9px 12px;
	border-radius: 9px;
	cursor: pointer;
	font-size: 0.93rem;
	color: var(--ink);
	display: flex;
	align-items: center;
	gap: 9px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.combo-list li.active,
.combo-list li:hover {
	background: rgba(21, 69, 58, 0.09);
}
.combo-list li .flag {
	font-size: 1.05rem;
	line-height: 1;
	flex: none;
}
.combo-list li.none {
	color: var(--muted);
	cursor: default;
}
.combo-list li.none:hover {
	background: none;
}
/* age chips: constant box model => no layout jump on first selection */
.ages label {
	display: inline-flex;
	align-items: center;
	font-weight: 500;
	font-size: 0.88rem;
	border: 1.5px solid rgba(201, 162, 75, 0.4);
	border-radius: 999px;
	padding: 8px 15px;
	margin: 0;
	cursor: pointer;
	color: var(--ink);
	background: #fffcf4;
	transition:
		background 0.18s,
		border-color 0.18s,
		color 0.18s,
		box-shadow 0.18s;
	user-select: none;
}
.ages input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
	margin: 0;
}
.ages label:hover {
	border-color: var(--gold);
	color: var(--green);
}
.ages label:has(input:checked) {
	background: linear-gradient(135deg, #15463a, #0c2f26);
	color: var(--ivory);
	border-color: var(--gold-deep);
	box-shadow: 0 5px 14px rgba(12, 47, 38, 0.26);
}
.ages label:has(input:focus-visible) {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

.share-toast {
	display: inline-block;
	margin-inline-start: 10px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--green);
	background: rgba(201, 162, 75, 0.16);
	border: 1px solid rgba(201, 162, 75, 0.42);
	padding: 3px 11px;
	border-radius: 999px;
	opacity: 0;
	transform: translateY(4px);
	transition:
		opacity 0.25s,
		transform 0.25s;
	vertical-align: middle;
	white-space: nowrap;
}
.share-toast.show {
	opacity: 1;
	transform: translateY(0);
}

/* cookie consent banner */
.albar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	padding: 14px 18px;
	background: linear-gradient(
		180deg,
		rgba(12, 47, 38, 0.97),
		rgba(9, 36, 27, 0.99)
	);
	color: var(--ivory);
	box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.22);
	border-top: 2px solid var(--gold);
}
.albar[hidden] {
	display: none;
}
.albar-row {
	max-width: 1080px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	justify-content: space-between;
}
.albar-text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: rgba(247, 243, 234, 0.9);
	flex: 1;
	min-width: 240px;
}
.albar-act {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.albar-act button {
	font: inherit;
	font-size: 0.86rem;
	font-weight: 600;
	cursor: pointer;
	border-radius: 999px;
	padding: 9px 22px;
	border: 1px solid transparent;
	transition:
		transform 0.15s,
		background 0.2s,
		border-color 0.2s;
}
.albar-act button:hover {
	transform: translateY(-1px);
}
#alAccept {
	background: linear-gradient(135deg, #d9b65e, #c9a24b);
	color: #0c2f26;
	border-color: var(--gold-deep);
}
#alDecline {
	background: transparent;
	color: rgba(247, 243, 234, 0.85);
	border-color: rgba(247, 243, 234, 0.32);
}
#alDecline:hover {
	border-color: rgba(247, 243, 234, 0.6);
}
.albar-link {
	color: inherit;
	opacity: 0.72;
	text-decoration: underline;
	text-underline-offset: 2px;
	cursor: pointer;
}
.albar-link:hover {
	opacity: 1;
}
@media (max-width: 560px) {
	.albar-row {
		flex-direction: column;
		align-items: stretch;
	}
	.albar-act {
		justify-content: flex-end;
	}
}

/* ===== AI assistant + WhatsApp widget ===== */
.ask-launcher {
	position: fixed;
	bottom: 22px;
	inset-inline-end: 22px;
	z-index: 190;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 13px 18px 13px 15px;
	border-radius: 999px;
	cursor: pointer;
	background: linear-gradient(135deg, #15463a, #0c2f26);
	color: var(--ivory);
	box-shadow: 0 10px 30px rgba(12, 47, 38, 0.34);
	border: 1.5px solid var(--gold);
	font: inherit;
	font-weight: 600;
	font-size: 0.92rem;
	transition:
		transform 0.18s,
		box-shadow 0.18s;
}
.ask-launcher[hidden] {
	display: none;
}
.ask-launcher:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(12, 47, 38, 0.42);
}
.ask-launcher svg {
	width: 20px;
	height: 20px;
	color: var(--gold-soft);
}
.ask-panel {
	position: fixed;
	bottom: 92px;
	inset-inline-end: 22px;
	z-index: 191;
	width: 372px;
	max-width: calc(100vw - 32px);
	height: 548px;
	max-height: calc(100vh - 130px);
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border: 1px solid var(--line-strong);
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(12, 47, 38, 0.3);
	overflow: hidden;
}
.ask-panel[hidden] {
	display: none;
}
.ask-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 12px 14px;
	background: linear-gradient(135deg, #15463a, #0c2f26);
	color: var(--ivory);
}
.ask-head-id {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}
.ask-head-id b {
	font-size: 0.95rem;
	display: block;
	line-height: 1.15;
}
.ask-head-id small {
	font-size: 0.72rem;
	color: rgba(247, 243, 234, 0.7);
}
.ask-seal {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at 50% 38%, #15463a, #06231b);
	border: 1.5px solid var(--gold);
	flex: none;
}
.ask-seal svg {
	width: 18px;
	height: 18px;
	color: var(--gold-soft);
}
.ask-head-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}
.ask-wa,
.ask-close {
	background: rgba(247, 243, 234, 0.12);
	border: none;
	color: var(--ivory);
	width: 32px;
	height: 32px;
	border-radius: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	text-decoration: none;
	flex: none;
}
.ask-wa[hidden] {
	display: none;
}
.ask-wa svg {
	width: 17px;
	height: 17px;
}
.ask-wa:hover,
.ask-close:hover {
	background: rgba(247, 243, 234, 0.22);
}
.ask-close {
	font-size: 1.3rem;
	line-height: 1;
}
.ask-body {
	flex: 1;
	overflow-y: auto;
	padding: 16px 14px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: linear-gradient(180deg, #fbf7ee, #f7f3ea);
}
.ask-msg {
	max-width: 85%;
	padding: 10px 13px;
	border-radius: 14px;
	font-size: 0.9rem;
	line-height: 1.5;
	white-space: pre-wrap;
	word-wrap: break-word;
	overflow-wrap: anywhere;
}
.ask-msg.bot {
	align-self: flex-start;
	background: #fff;
	border: 1px solid var(--line);
	color: var(--ink);
	border-bottom-left-radius: 5px;
}
.ask-msg.user {
	align-self: flex-end;
	background: linear-gradient(135deg, #15463a, #0c2f26);
	color: var(--ivory);
	border-bottom-right-radius: 5px;
}
[dir="rtl"] .ask-msg.bot {
	border-bottom-left-radius: 14px;
	border-bottom-right-radius: 5px;
}
[dir="rtl"] .ask-msg.user {
	border-bottom-right-radius: 14px;
	border-bottom-left-radius: 5px;
}
.ask-typing {
	display: flex;
	gap: 4px;
	align-items: center;
}
.ask-typing span {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--gold-deep);
	opacity: 0.5;
	animation: askblink 1s infinite;
}
.ask-typing span:nth-child(2) {
	animation-delay: 0.2s;
}
.ask-typing span:nth-child(3) {
	animation-delay: 0.4s;
}
@keyframes askblink {
	0%,
	60%,
	100% {
		opacity: 0.25;
		transform: translateY(0);
	}
	30% {
		opacity: 1;
		transform: translateY(-3px);
	}
}
.ask-wa-inline {
	align-self: flex-start;
	font-size: 0.82rem;
	font-weight: 600;
	color: #0c2f26;
	background: var(--gold-soft);
	padding: 6px 13px;
	border-radius: 999px;
	text-decoration: none;
}
.ask-suggest {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 0 14px 10px;
	background: var(--paper);
}
.ask-chip2 {
	font: inherit;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--green);
	background: #fff;
	border: 1px solid var(--line-strong);
	border-radius: 999px;
	padding: 6px 12px;
	cursor: pointer;
	transition:
		background 0.15s,
		border-color 0.15s;
}
.ask-chip2:hover {
	background: rgba(21, 69, 58, 0.06);
	border-color: var(--gold);
}
.ask-foot {
	display: flex;
	gap: 8px;
	align-items: flex-end;
	padding: 10px 12px;
	border-top: 1px solid var(--line);
	background: var(--paper);
}
.ask-foot textarea {
	flex: 1;
	resize: none;
	border: 1px solid var(--line-strong);
	border-radius: 12px;
	padding: 10px 12px;
	font: inherit;
	font-size: 0.9rem;
	max-height: 110px;
	background: #fff;
	color: var(--ink);
	line-height: 1.4;
}
.ask-foot textarea:focus {
	outline: none;
	border-color: var(--gold);
}
.ask-send {
	flex: none;
	width: 42px;
	height: 42px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, #d9b65e, #c9a24b);
	color: #0c2f26;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ask-send:hover {
	filter: brightness(1.06);
}
.ask-send svg {
	width: 19px;
	height: 19px;
}
.ask-note {
	font-size: 0.68rem;
	color: var(--muted);
	text-align: center;
	padding: 0 12px 9px;
	background: var(--paper);
}
@media (max-width: 480px) {
	.ask-panel {
		bottom: 80px;
		inset-inline-end: 8px;
		height: calc(100vh - 104px);
	}
	.ask-launcher {
		bottom: 14px;
		inset-inline-end: 14px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ask-typing span {
		animation: none;
	}
	.ask-launcher {
		transition: none;
	}
}

/* mobile: keep floating buttons above the Reserve bar (.mobile-cta, ~72px) */
@media (max-width: 980px) {
	.ask-launcher {
		bottom: 84px;
		inset-inline-end: 16px;
	}
	.ask-panel {
		bottom: 84px;
		inset-inline-end: 8px;
		height: calc(100vh - 104px);
	}
}

/* ==========================================================================
   Arabic Lab v17 frontpage design — final layer
   (white illuminated header, gradient CTA pills, compact footer)
   Source of truth: "Arabic Lab-v17/index.html" — v2/v3/v4 CSS layers.
   ========================================================================== */

/* ---------- header: white bar with an illuminated top strip ---------- */
header {
	background: #ffffff;
	border-bottom: 0;
	box-shadow:
		0 1px 0 rgba(21, 69, 58, 0.1),
		0 10px 30px -22px rgba(12, 47, 38, 0.45);
}
.nav {
	height: var(--hdr);
	gap: 14px;
}
.nav-links {
	gap: 4px;
	margin-inline-start: 16px;
}
.nav-links a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--green);
	opacity: 1;
	transition:
		background 0.18s,
		color 0.18s;
}
.nav-links a:hover {
	background: var(--mint);
	color: var(--green);
	opacity: 1;
}
.nav-links a.current-menu-item,
.nav-links a[aria-current="page"] {
	background: var(--mint);
	color: var(--green);
	font-weight: 600;
	box-shadow: none;
	opacity: 1;
}
.nav-right {
	gap: 6px;
	margin-inline-start: auto;
}

/* compact language switcher pill */
.langbtn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 12px;
	font-family: inherit;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--green);
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: 999px;
	cursor: pointer;
	transition:
		background 0.18s,
		border-color 0.18s;
}
.langbtn:hover {
	background: var(--mint);
	border-color: rgba(21, 69, 58, 0.3);
}
.langbtn svg {
	width: 16px;
	height: 16px;
}
.langmenu {
	min-width: 200px;
	padding: 6px;
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid var(--line);
	box-shadow: 0 20px 44px -16px rgba(12, 47, 38, 0.35);
}
.langmenu :is(button, a) {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	padding: 0 12px;
	border-radius: 9px;
	background: none;
	border: 0;
	cursor: pointer;
	color: var(--ink);
}
.langmenu :is(button, a)::after {
	content: attr(data-l);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	color: var(--muted);
}
.langmenu :is(button, a):hover {
	background: var(--mint);
}
.langmenu :is(button, a).on {
	background: var(--mint);
	color: var(--ink);
	font-weight: 600;
}

/* ---------- buttons: gradient pills with arrow chips + sheen ---------- */
.btn {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	gap: 12px;
	font-weight: 700;
	letter-spacing: 0.005em;
}
.btn::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(
		110deg,
		transparent 35%,
		rgba(255, 255, 255, 0.5) 50%,
		transparent 65%
	);
	transform: translateX(-130%);
	transition: transform 0.8s ease;
	pointer-events: none;
}
.btn:hover::after {
	transform: translateX(130%);
}
.btn .arr {
	box-sizing: content-box;
	width: 16px;
	height: 16px;
	padding: 10px;
	border-radius: 50%;
	flex: none;
	transition: transform 0.18s;
}
.btn:hover .arr {
	transform: translateX(3px);
}
html[dir="rtl"] .btn:hover .arr {
	transform: scaleX(-1) translateX(3px);
}
.btn-gold,
.btn-gold:hover {
	background: linear-gradient(135deg, #ffd873 0%, #f7b93e 45%, #ee9d19 100%);
	color: #0c2f26;
	border: 0;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 14px 30px -12px rgba(238, 157, 25, 0.85);
}
.btn-gold:hover {
	background: linear-gradient(135deg, #ffe08c 0%, #f9c24f 45%, #f2a624 100%);
	transform: translateY(-2px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.65),
		0 18px 36px -12px rgba(238, 157, 25, 0.95);
}
.btn-gold .arr {
	background: #0c2f26;
	color: #ffd873;
}
.btn-green,
.btn-green:hover {
	background: linear-gradient(135deg, #1a5546 0%, #15453a 50%, #0e3a30 100%);
	color: #ffffff;
	border: 0;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.15),
		0 14px 30px -14px rgba(12, 47, 38, 0.9);
}
.btn-green:hover {
	transform: translateY(-2px);
}
.btn-green .arr {
	background: var(--sun);
	color: #0c2f26;
}
.btn-ghost {
	border: 2px solid var(--green);
	color: var(--green);
	background: rgba(255, 255, 255, 0.7);
}
.btn-ghost:hover {
	background: var(--green);
	color: #ffffff;
	border-color: var(--green);
}
.btn-ghost .arr {
	background: var(--green);
	color: #ffffff;
}
.btn-ghost:hover .arr {
	background: var(--sun);
	color: #0c2f26;
}

/* ---------- menu button + mobile drawer (the .sheet pattern) ---------- */
.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 10px;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--green);
	box-shadow: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition:
		background 0.18s,
		border-color 0.18s;
}
.menu-toggle:hover {
	background: var(--mint);
}
.menu-toggle svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
}
.menu-toggle:active {
	transform: scale(0.93);
}
.menu-toggle[aria-expanded="true"] {
	background: var(--mint);
	box-shadow: none;
}
@media (max-width: 1039px) {
	.menu-toggle {
		display: inline-flex;
	}
	.mobile-menu {
		top: calc(var(--hdr) + 3px);
		bottom: 0;
		max-height: calc(100vh - var(--hdr) - 3px);
		padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
		background: var(--paper);
		color: var(--ink);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 26px 54px rgba(12, 47, 38, 0.2);
	}
	.mobile-menu::before {
		background: linear-gradient(
			90deg,
			#15453a 0%,
			#1e8c74 35%,
			#f2b53a 70%,
			#c9a24b 100%
		);
	}
	.mobile-menu .mlink {
		color: var(--ink);
		border-bottom-color: var(--line);
	}
	.mobile-menu .mlink:hover {
		color: var(--green);
	}
}

/* Support item (renamed from Feedback) — the external arrow, as a mask so it
** follows the link colour and survives the language switcher's textContent
** swap, which would wipe an inline SVG child of the anchor. */
.nav-links a.menu-item-support::after,
.mlink.menu-item-support::after {
	content: "";
	display: inline-block;
	width: 11px;
	height: 11px;
	margin-inline-start: 5px;
	vertical-align: -1px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><path d='M7 17L17 7M9 7h8v8'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'><path d='M7 17L17 7M9 7h8v8'/></svg>") center / contain no-repeat;
}

/* ---------- footer: compact forest-deep band ---------- */
footer {
	background: var(--green-deep);
	color: var(--on-dark-muted);
	font-family: var(--body);
	padding-block: 34px 18px;
	padding-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
}
footer .arabiclab-container {
	padding-inline: 0;
}
html[lang="ar"] footer {
	font-family: var(--naskh);
}
html[lang="bn"] footer {
	font-family: var(--ben-b);
}
/* Reserve room for the fixed #totop button on phone and tablet widths, as the
** design does. On desktop the footer keeps the design's 18px bottom padding. */
@media (max-width: 1039px) {
	footer {
		padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
	}
}
.foot-grid {
	grid-template-columns: 1fr;
	gap: 22px;
	align-items: start;
	padding-bottom: 0;
	border-bottom: 0;
}
@media (min-width: 1000px) {
	.foot-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
		gap: 48px;
	}
}
.fbrand {
	display: grid;
	gap: 8px;
	align-content: start;
}
footer .mission {
	margin: 0;
	font-size: 0.9rem;
	max-width: 36ch;
	color: var(--on-dark-muted);
}
/* Five link groups: 2 columns from phone width, 3 from 640px, all 5 from 1000px. */
.fcols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}
@media (min-width: 640px) {
	.fcols {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (min-width: 1000px) {
	.fcols {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 24px;
	}
}
.fcols h4 {
	margin-bottom: 4px;
}
.fcols ul {
	display: grid;
	/* 0, as in the design: the rows breathe through the anchor's padding-block. */
	gap: 0;
}
.fcols li a {
	line-height: 1.3;
	padding-block: 5px;
}
footer h4 {
	font-family: var(--body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gold-soft);
	margin: 0 0 10px;
}
html[lang="ar"] footer h4,
html[lang="bn"] footer h4 {
	letter-spacing: 0;
	text-transform: none;
	font-size: 0.95rem;
}
footer ul {
	gap: 0;
}
footer ul li,
footer ul a {
	list-style: none;
}
footer ul a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 34px;
	font-size: 0.92rem;
	color: var(--on-dark-muted);
	transition: color 0.18s;
}
footer ul a:hover {
	color: var(--on-dark);
}
/* Socials sit under the Hijri chip in the brand column. */
.ffollow {
	margin-top: 14px;
}
.ffollow h4 {
	margin-bottom: 8px;
}
/* social circles */
.fsoc {
	display: flex;
	gap: 8px;
}
.fsoc a {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	border: 1px solid var(--line-dark);
	color: var(--on-dark);
	transition:
		background 0.2s,
		color 0.2s,
		border-color 0.2s;
}
.fsoc a:hover {
	background: var(--sun);
	color: #0c2f26;
	border-color: var(--sun);
}
.fsoc svg {
	width: 18px;
	height: 18px;
}
.foot-lang {
	background: transparent;
	border-color: var(--line-dark);
}
.foot-lang button {
	color: var(--on-dark-muted);
}
.foot-lang button:hover {
	color: var(--on-dark);
	background: rgba(255, 255, 255, 0.08);
}
.foot-lang button.on {
	background: var(--gold);
	color: var(--green-deep);
}
footer .privacy {
	font-size: 0.82rem;
	max-width: 30ch;
	color: rgba(255, 253, 248, 0.6);
	margin: 0;
}

/* ---------- bottom bar — the .fbottom grid (v5 layout) ---------- */
.foot-bottom {
	margin: 0;
	padding: 0;
	border: 0;
}
.foot-bottom .fbottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px 24px;
	margin: 22px auto 0;
	padding-top: 14px;
	border-top: 1px solid var(--line-dark);
	font-size: 0.85rem;
	color: var(--on-dark-muted);
}
.fco {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line-dark);
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--on-dark-muted);
	margin: 0;
}
.fco .tech {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--leaf);
	text-decoration: none;
}
.fco .tech:hover {
	text-decoration: underline;
}
.fco .tech .arr {
	width: 14px;
	height: 14px;
	padding: 0;
}
.flegal {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}
.flegal a {
	gap: 6px;
	color: var(--on-dark);
	text-decoration: none;
	min-height: 32px;
	display: inline-flex;
	align-items: center;
}
.flegal a:hover {
	text-decoration: underline;
}
.fend {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-self: end;
}
@media (max-width: 699px) {
	.foot-bottom .fbottom {
		grid-template-columns: 1fr;
	}
	.fend {
		justify-self: start;
	}
	.langwrap--footer .langmenu {
		inset-inline-start: 0;
		inset-inline-end: auto;
	}
}

/* footer language picker — same compact pill, dark, panel opens upward */
.langwrap--footer .langbtn {
	background: transparent;
	color: var(--ivory);
	border-color: var(--line-dark);
}
.langwrap--footer .langbtn:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--line-dark);
}
.langwrap--footer .langmenu {
	top: auto;
	bottom: calc(100% + 8px);
}

/* Hijri date chip */
.fhijri {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 14px;
	padding: 8px 14px 8px 10px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid var(--line-dark);
	color: var(--on-dark);
	text-decoration: none;
	transition: border-color 0.2s;
}
.fhijri:hover {
	border-color: var(--gold);
}
.fhijri svg {
	width: 22px;
	height: 22px;
	color: #ffd873;
	flex: none;
}
.fhijri span {
	display: grid;
	line-height: 1.25;
}
.fhijri b {
	font-weight: 600;
	font-size: 0.95rem;
}
.fhijri small {
	font-size: 0.75rem;
	color: var(--on-dark-muted);
}

/* footer external-link arrows */
footer .arr {
	width: 18px;
	height: 18px;
}

@media (prefers-reduced-motion: reduce) {
	.btn::after,
	.btn .arr,
	.btn-gold:hover,
	.btn-green:hover {
		transform: none;
		transition: none;
	}
	.btn::after {
		display: none;
	}
}

/* ============================================================
   Dashboard chrome (feature/family-dashboard-ux)
   The family plugin answers the dashboard-state filter on its
   pages; without that answer none of this markup renders. The
   body class `alfr-dashboard-page` comes from the same filter
   answer, so the header rules below are inert everywhere else
   too (revision 6: the glass header, demo nav links, avatar and
   dropdown match the demo's measured values).
   ============================================================ */

/* --- header box: the demo's glass on the dashboard only -------------------- */
/* The theme owns #arabiclabth-head; these rules key off the plugin's body
   class, so an absent answer keeps the theme's own header. */
body.alfr-dashboard-page #arabiclabth-head {
	/* The global `header` positioning lives under `.albar[hidden]` on main
	   (76e9682); no `.albar` element exists, so the header had no z-index and
	   the glass row — which is its own stacking context through
	   backdrop-filter — painted under the page content, with the avatar menu
	   inside it. The dashboard header carries its own positioning. */
	position: sticky;
	top: 0;
	z-index: 50;
	height: 65px;
	padding: 0;
	background: rgba(255, 253, 248, 0.3);
	border-bottom: 1px solid rgba(21, 69, 58, 0.1);
	box-shadow:
		0 10px 32px -20px rgba(12, 47, 38, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.7),
		inset 0 -1px 0 rgba(255, 255, 255, 0.35);
	-webkit-backdrop-filter: blur(20px) saturate(170%) brightness(1.03);
	backdrop-filter: blur(20px) saturate(170%) brightness(1.03);
}

/* --- inner row: the demo's hdr__in ----------------------------------------- */
body.alfr-dashboard-page .wrap.nav--dash {
	height: 65px;
	padding: 0 12px;
	gap: 14px;
}

/* --- dashboard nav links: the demo's hdr__nav ------------------------------ */
/* the nav is a flex row on desktop and hidden at phone widths, where the
   sheet carries the links */
@media (min-width: 1040px) {
	body.alfr-dashboard-page .nav-links--dash {
		display: flex;
		align-items: center;
		gap: 2px;
	}
}

@media (max-width: 1039px) {
	body.alfr-dashboard-page .nav-links--dash {
		display: none;
	}
}

/* --- phone: avatar stays, the language pill lives in the sheet ------------ */
@media (max-width: 1039px) {
	.nav--dash .langwrap {
		display: none;
	}

	.m-lang {
		display: flex;
		gap: 8px;
		padding: 12px 0 4px;
		border-top: 1px solid var(--line);
	}

	.m-lang :is(button, a) {
		flex: 1 1 auto;
		min-height: 44px;
		padding: 10px 12px;
		border: 1px solid var(--line);
		border-radius: 999px;
		background: transparent;
		color: var(--ink);
		font: inherit;
		font-size: 0.92rem;
		cursor: pointer;
	}

	.m-lang :is(button, a).on {
		border-color: var(--green);
		color: var(--green);
		font-weight: 600;
	}
}

/* --- dashboard nav links: the demo's hdr__nav ------------------------------ */
/* the demo's links: 44px text rows, no fill, gold underline on the current */
.nav-links--dash a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: var(--muted);
	font-size: 0.95rem;
	font-weight: 500;
	text-decoration: none;
}

body.alfr-dashboard-page .nav-links--dash a {
	background: transparent;
}

body.alfr-dashboard-page .nav-links--dash a:hover {
	color: var(--green);
	background: var(--ivory);
}

body.alfr-dashboard-page .nav-links--dash a.is-current {
	color: var(--green);
	background: transparent;
	font-weight: 600;
	box-shadow: inset 0 -2px 0 #C9A24B;
}

/* --- language pill: the demo's 44px pill with a chevron --------------------- */
/* The demo's order is language pill, then avatar, then burger. */
body.alfr-dashboard-page .nav-right {
	display: flex;
	align-items: center;
}

body.alfr-dashboard-page .nav-right .langwrap {
	order: 1;
}

body.alfr-dashboard-page .nav-right .dash-avatarwrap {
	order: 2;
}

body.alfr-dashboard-page .nav-right .menu-toggle {
	order: 3;
}

body.alfr-dashboard-page .langwrap .langbtn {
	min-height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--green);
}

body.alfr-dashboard-page .langwrap .langbtn .dash-chevron {
	color: var(--green);
}

/* --- points chip: the learner's live total, a gold pill linking to rewards -- */
.dash-points {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid rgba(201, 162, 75, 0.55);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	color: var(--green);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	text-decoration: none;
	white-space: nowrap;
}

.dash-points svg {
	width: 17px;
	height: 17px;
	color: #B08A2E;
	flex: none;
}

body.alfr-dashboard-page .dash-points {
	transition: border-color 200ms cubic-bezier(.2,.7,.2,1), background 200ms cubic-bezier(.2,.7,.2,1), transform 200ms cubic-bezier(.2,.7,.2,1);
}

body.alfr-dashboard-page .dash-points:hover {
	border-color: #C9A24B;
	background: #FFFCF3;
	transform: translateY(-1px);
}

body.alfr-dashboard-page .dash-points:focus-visible {
	outline: 2px solid var(--green);
	outline-offset: 2px;
}

/* Under 430 the bar needs the room for the avatar and the burger. */
@media (max-width: 429px) {
	body.alfr-dashboard-page .dash-points {
		display: none;
	}
}

/* --- avatar: the demo's 34px mint disc inside a 44px row button ------------ */
.dash-avatarwrap {
	position: relative;
	margin-inline-start: 6px;
}

.dash-avatar {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 8px 0 4px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--green);
	cursor: pointer;
}

body.alfr-dashboard-page .dash-avatar {
	transition: background 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms cubic-bezier(.2,.7,.2,1);
}

body.alfr-dashboard-page .dash-avatar:hover {
	background: var(--mint);
	box-shadow: inset 0 0 0 1px rgba(21, 69, 58, 0.14);
}

.dash-avatar .dash-avatar__disc {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	/* A mint disc disappears into the glass header (1.05:1 against it), so
	   the fallback is the forest disc the brand mark uses. A user with a
	   photo gets the photo instead. */
	background: var(--green);
	color: #F6F2E7;
	font-weight: 700;
	font-size: 0.84rem;
	box-shadow: 0 1px 3px rgba(21, 69, 58, 0.22), inset 0 0 0 1px rgba(255, 253, 248, 0.16);
}

.dash-avatar .dash-avatar__disc--img {
	background-color: var(--mint);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.dash-avatar .dash-chevron {
	color: var(--green);
}

/* --- avatar dropdown: the demo's forest menu ------------------------------- */
.dash-avatar-menu {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 70;
	min-width: 220px;
	border: 1px solid var(--line-dark);
	border-radius: 12px;
	background: linear-gradient(135deg, #1A5546, #15453A 50%, #0E3A30);
	color: #F6F2E7;
	box-shadow: var(--shadow-lg);
	padding: 6px;
}

.dash-avatar-menu.hidden {
	display: none;
}

.dash-avatar-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	padding: 0 10px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #F6F2E7;
	text-align: start;
	text-decoration: none;
	font-size: 0.94rem;
}

body.alfr-dashboard-page .dash-avatar-menu a:hover {
	background: rgba(255, 253, 248, 0.08);
}

.dash-avatar-menu .dash-ico {
	color: #E8CE86;
	flex: none;
}

.dash-avatar-menu__label {
	display: block;
	font-weight: 700;
}

.dash-avatar-menu__sub {
	display: block;
	font-size: 0.78rem;
	color: rgba(246, 242, 231, 0.7);
}

body.alfr-dashboard-page .dash-avatar-menu a:hover .dash-avatar-menu__sub {
	color: rgba(246, 242, 231, 0.85);
}

.dash-avatar-menu__sep {
	height: 1px;
	background: rgba(255, 253, 248, 0.16);
	margin: 4px 6px;
}

/* --- sheet group labels ----------------------------------------------------- */
.sheet-label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #17757A;
	margin: 0 0 4px;
}


/* ---------- breadcrumb band -------------------------------------------------
   The band that carries a page's h1 and the trail under it. Its gradient is
   the home page's hero light, reused: warm gold in the top-right corner, mint
   in the bottom-left, paper through the middle. Both accents sit at 55% alpha
   over --paper, so no text ever lands on gold, and the title keeps its forest
   ink.

   Centred, because the band is the page's opening statement rather than a
   utility strip: the title is the design system's section h2 scale, and the
   trail sits under it, centred, at 0.92rem.
   ------------------------------------------------------------------------- */
.arabiclab-default-breadcrumb {
	position: relative;
	padding-block: 64px 56px;
	background-color: var(--paper);
	background-image:
		radial-gradient(42% 88% at 100% 0%, color-mix(in srgb, var(--gold-soft) 62%, transparent) 0%, transparent 66%),
		radial-gradient(34% 82% at 0% 100%, var(--mint) 0%, transparent 66%);
	text-align: center;
}

.arabiclab-breadcrumb__title {
	margin: 0;
	font-family: var(--f-display);
	font-size: clamp(1.75rem, 4.6vw, 2.7rem);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--forest);
	text-wrap: balance;
}

.arabiclab-breadcrumb {
	margin-block-start: 6px;
}

.arabiclab-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 4px 10px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.92rem;
	line-height: 1.3;
	color: var(--muted);
}

.arabiclab-breadcrumb__item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

/* The separator is a gold chevron drawn with two 1.5px borders, the same device
   as the FAQ row and the language menu. One element, no extra markup. */
.arabiclab-breadcrumb__item + .arabiclab-breadcrumb__item::before {
	content: "";
	width: 6px;
	height: 6px;
	border-inline-end: 1.5px solid var(--gold);
	border-block-start: 1.5px solid var(--gold);
	transform: rotate(45deg);
}

[dir="rtl"] .arabiclab-breadcrumb__item + .arabiclab-breadcrumb__item::before {
	transform: rotate(-135deg);
}

.arabiclab-breadcrumb__item a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--forest);
	text-decoration: none;
}

.arabiclab-breadcrumb__item a:hover {
	color: var(--emerald);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.arabiclab-breadcrumb__item [aria-current="page"] {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--ink);
	font-weight: 600;
}

@media (max-width: 640px) {
	.arabiclab-default-breadcrumb {
		padding-block: 40px 32px;
	}
}

/* Language options are links to the Polylang translations where Polylang
   runs (arabiclab_language_options()), buttons elsewhere. */
.langmenu a,
.m-lang a {
	text-decoration: none;
}

.m-lang a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
