/*
 * Trust Academy — public landing page (templates/landing.php).
 * Brand palette taken from the academy's Facebook identity:
 * royal-blue gradient, navy badge, sunny-yellow accents.
 */

:root {
	--lp-navy: #0b2a63;
	--lp-blue-800: #123c8c;
	--lp-blue-700: #1546a8;
	--lp-blue-600: #1f5fd1;
	--lp-blue-500: #2f7de1;
	--lp-sky-100: #e6f1ff;
	--lp-sky-50: #f3f8ff;
	--lp-yellow: #f8c11c;
	--lp-yellow-600: #e3a800;
	--lp-ink: #0f1d3a;
	--lp-muted: #56658a;
	--lp-white: #ffffff;
	--lp-radius: 20px;
	--lp-shadow: 0 18px 40px -18px rgba(11, 42, 99, 0.35);
	--lp-font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 84px;
}

body.lp {
	margin: 0;
	font-family: var(--lp-font);
	color: var(--lp-ink);
	background: var(--lp-white);
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.lp img {
	max-width: 100%;
	display: block;
}

.lp a {
	color: inherit;
	text-decoration: none;
}

.lp h1,
.lp h2,
.lp h3 {
	line-height: 1.3;
	margin: 0;
}

.lp p {
	margin: 0;
}

.lp-container {
	width: min(1180px, 100% - 32px);
	margin-inline: auto;
}

.lp-icon {
	width: 1.25em;
	height: 1.25em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	flex-shrink: 0;
}

/* Buttons */
.lp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 15px;
	transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.lp-btn:hover {
	transform: translateY(-2px);
}

.lp-btn:focus-visible,
.lp-nav a:focus-visible,
.lp-menu-toggle:focus-visible {
	outline: 3px solid var(--lp-yellow);
	outline-offset: 3px;
}

.lp-btn-lg {
	padding: 14px 30px;
	font-size: 17px;
}

.lp-btn-yellow {
	background: var(--lp-yellow);
	color: var(--lp-navy) !important;
	box-shadow: 0 10px 24px -10px rgba(248, 193, 28, 0.9);
}

.lp-btn-yellow:hover {
	background: #ffcd33;
}

.lp-btn-ghost {
	color: var(--lp-white) !important;
	border: 2px solid rgba(255, 255, 255, 0.55);
}

.lp-btn-ghost:hover {
	background: rgba(255, 255, 255, 0.12);
}

.lp-btn-blue {
	background: var(--lp-blue-600);
	color: var(--lp-white) !important;
}

.lp-btn-blue:hover {
	background: var(--lp-blue-700);
}

/* Header */
.lp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(11, 42, 99, 0.08);
}

.lp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

.lp-brand {
	display: flex;
	align-items: center;
	gap: 10px;
}

.lp-brand img {
	width: auto;
	height: 54px;
}

.lp-brand span {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.lp-brand strong {
	font-size: 18px;
	font-weight: 700;
	color: var(--lp-navy);
}

.lp-brand small {
	font-size: 12px;
	color: var(--lp-muted);
	letter-spacing: 0.04em;
}

.lp-nav {
	display: flex;
	align-items: center;
	gap: 28px;
	font-weight: 600;
	font-size: 15px;
}

.lp-nav a:not(.lp-btn) {
	color: var(--lp-ink);
	position: relative;
}

.lp-nav a:not(.lp-btn):hover {
	color: var(--lp-blue-600);
}

.lp-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 12px;
	background: var(--lp-sky-100);
	cursor: pointer;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
}

.lp-menu-toggle span {
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--lp-navy);
}

/* Hero */
.lp-hero {
	position: relative;
	overflow: hidden;
	color: var(--lp-white);
	background:
		radial-gradient(circle at 15% 20%, rgba(47, 125, 225, 0.55), transparent 45%),
		linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-blue-700) 55%, var(--lp-blue-500) 100%);
	padding: 72px 0 96px;
}

.lp-hero-deco {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 92% 80%, rgba(248, 193, 28, 0.35) 0 90px, transparent 91px),
		radial-gradient(circle at 4% 92%, rgba(255, 255, 255, 0.08) 0 140px, transparent 141px);
}

.lp-hero::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: 60px;
	background: var(--lp-white);
	clip-path: ellipse(75% 100% at 50% 100%);
}

.lp-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	align-items: center;
	gap: 48px;
}

.lp-eyebrow {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	color: var(--lp-blue-600);
	background: var(--lp-sky-100);
	padding: 4px 14px;
	border-radius: 999px;
	margin-bottom: 14px;
}

.lp-hero .lp-eyebrow {
	color: var(--lp-navy);
	background: var(--lp-yellow);
}

.lp-hero h1 {
	font-size: clamp(40px, 6vw, 68px);
	font-weight: 700;
	white-space: nowrap;
	color: var(--lp-yellow);
	text-shadow: 0 4px 0 rgba(11, 42, 99, 0.45);
	margin-bottom: 14px;
}

.lp-lead {
	font-size: 19px;
	color: rgba(255, 255, 255, 0.9);
	max-width: 520px;
}

.lp-chips {
	list-style: none;
	padding: 0;
	margin: 22px 0 30px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lp-chips li {
	background: var(--lp-white);
	color: var(--lp-navy);
	font-weight: 700;
	padding: 6px 22px;
	border-radius: 10px;
	box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.4);
}

.lp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.lp-hero-media {
	position: relative;
	margin: 0;
}

.lp-hero-media img {
	width: 100%;
	height: auto;
	border-radius: 28px;
	border: 6px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
	transform: rotate(-1.5deg);
}

.lp-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--lp-white);
	color: var(--lp-ink);
	font-size: 14px;
	font-weight: 600;
	padding: 10px 16px;
	border-radius: 14px;
	box-shadow: var(--lp-shadow);
}

.lp-float strong {
	color: var(--lp-blue-600);
	font-size: 18px;
	font-weight: 700;
}

.lp-float-a {
	bottom: -20px;
	inset-inline-end: 24px;
}

.lp-float-b {
	top: -16px;
	inset-inline-start: 24px;
}

/* Shared section chrome */
.lp-section {
	padding: 104px 0;
}

.lp-head {
	text-align: center;
	max-width: 660px;
	margin: 0 auto 56px;
}

.lp-head-start {
	text-align: start;
	margin-inline: 0;
	margin-bottom: 32px;
}

.lp-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	color: var(--lp-blue-600);
	margin-bottom: 10px;
}

.lp-kicker::before,
.lp-kicker::after {
	content: "";
	width: 22px;
	height: 3px;
	border-radius: 3px;
	background: var(--lp-yellow);
}

.lp-head-start .lp-kicker::after {
	display: none;
}

.lp-head h2 {
	text-wrap: balance;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 700;
	color: var(--lp-navy);
}

.lp-head p {
	color: var(--lp-muted);
	margin-top: 14px;
	font-size: 17px;
}

/* Tracks — medallion cards echoing the logo's silver ring + ribbon */
.lp-tracks {
	background:
		radial-gradient(rgba(31, 95, 209, 0.09) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
		var(--lp-sky-50);
}

.lp-medals {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 64px;
	padding-inline: 32px;
}

.lp-medal {
	position: relative;
	isolation: isolate;
	text-align: center;
	background: var(--lp-white);
	border-radius: 28px;
	padding: 34px 28px 32px;
	box-shadow: 0 24px 50px -30px rgba(11, 42, 99, 0.45);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lp-medal:hover {
	transform: translateY(-6px);
	box-shadow: 0 34px 60px -30px rgba(11, 42, 99, 0.55);
}

.lp-medal-badge {
	display: flex;
	justify-content: center;
}

.lp-medal-ring {
	display: grid;
	place-items: center;
	width: 138px;
	height: 138px;
	padding: 11px;
	border-radius: 50%;
	border: 3px solid #121a2e;
	background: linear-gradient(165deg, #f4f5f7 0%, #c4c8ce 44%, #8d939c 52%, #d5d8dd 100%);
	box-shadow: 0 14px 24px -12px rgba(11, 42, 99, 0.6);
	transition: transform 0.4s ease;
}

.lp-medal:hover .lp-medal-ring {
	transform: rotate(-8deg) scale(1.04);
}

.lp-medal-core {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 38%, #1c86dc 0%, #0e4fa6 52%, #082f6c 100%);
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55), inset 0 -10px 18px rgba(0, 0, 0, 0.25);
	color: var(--lp-white);
	font-size: 46px;
	font-weight: 700;
	line-height: 1;
	text-shadow: 0 3px 6px rgba(0, 0, 0, 0.35);
}

.lp-medal .lp-ribbon {
	position: relative;
	margin: -26px -40px 0;
	padding: 12px 16px;
	background: linear-gradient(180deg, #2a6fd0 0%, #1550ad 55%, #0d3e8f 100%);
	border: 2px solid #121a2e;
	color: var(--lp-white);
	font-size: 21px;
	font-weight: 700;
	box-shadow: 0 10px 16px -10px rgba(11, 42, 99, 0.8);
}

.lp-ribbon::before,
.lp-ribbon::after {
	content: "";
	position: absolute;
	top: 12px;
	width: 34px;
	height: 100%;
	background: #0a2f6e;
	z-index: -1;
}

.lp-ribbon::before {
	left: -20px;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%);
}

.lp-ribbon::after {
	right: -20px;
	clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%);
}

.lp-medal p {
	color: var(--lp-muted);
	margin-top: 22px;
	font-size: 16px;
}

/* Study modes — ticket cards */
.lp-tickets {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.lp-ticket {
	--stub: 190px;
	display: grid;
	grid-template-columns: var(--stub) 1fr;
	border-radius: 24px;
	overflow: hidden;
	-webkit-mask:
		radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 15px, #000 16px) top / 100% 51% no-repeat,
		radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 15px, #000 16px) bottom / 100% 51% no-repeat;
	mask:
		radial-gradient(circle at calc(100% - var(--stub)) 0, transparent 15px, #000 16px) top / 100% 51% no-repeat,
		radial-gradient(circle at calc(100% - var(--stub)) 100%, transparent 15px, #000 16px) bottom / 100% 51% no-repeat;
}

.lp-ticket-stub {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 6px;
	padding: 30px 26px;
}

.lp-ticket-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 16px;
	font-size: 28px;
	margin-bottom: 8px;
}

.lp-ticket h3 {
	font-size: 28px;
	font-weight: 700;
}

.lp-ticket-place {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
}

.lp-ticket-body {
	padding: 30px 28px;
	border-inline-start: 2px dashed currentColor;
}

.lp-ticket-body > p {
	font-size: 16px;
	margin-bottom: 18px;
}

.lp-phones {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.lp-phones a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 12px;
	font-weight: 700;
	font-size: 16px;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.lp-phones a:hover {
	transform: translateY(-2px);
}

.lp-ticket-navy {
	background: linear-gradient(135deg, var(--lp-blue-700), var(--lp-navy));
	color: var(--lp-white);
}

.lp-ticket-navy .lp-ticket-stub {
	background: rgba(0, 0, 0, 0.18);
}

.lp-ticket-navy .lp-ticket-body {
	border-inline-start-color: rgba(255, 255, 255, 0.35);
}

.lp-ticket-navy .lp-ticket-body > p {
	color: rgba(255, 255, 255, 0.85);
}

.lp-ticket-navy .lp-ticket-icon {
	background: var(--lp-yellow);
	color: var(--lp-navy);
}

.lp-ticket-navy .lp-ticket-place {
	color: var(--lp-yellow);
}

.lp-ticket-navy .lp-phones a {
	background: rgba(255, 255, 255, 0.12);
}

.lp-ticket-navy .lp-phones a:hover {
	background: rgba(255, 255, 255, 0.22);
}

.lp-ticket-yellow {
	background: var(--lp-yellow);
	color: var(--lp-navy);
}

.lp-ticket-yellow .lp-ticket-stub {
	background: #efb40a;
}

.lp-ticket-yellow .lp-ticket-body {
	border-inline-start-color: rgba(11, 42, 99, 0.35);
}

.lp-ticket-yellow .lp-ticket-icon {
	background: var(--lp-navy);
	color: var(--lp-yellow);
}

.lp-ticket-yellow .lp-phones a {
	background: rgba(11, 42, 99, 0.1);
}

.lp-ticket-yellow .lp-phones a:hover {
	background: rgba(11, 42, 99, 0.18);
}

/* Platform — phone mockup + feature list */
.lp-platform {
	overflow: hidden;
}

.lp-platform-grid {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	align-items: center;
	gap: 64px;
}

.lp-feature-list {
	list-style: none;
	padding: 0;
	margin: 0 0 36px;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px 22px;
}

.lp-feature-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px;
	border-radius: 16px;
	border: 1px solid rgba(11, 42, 99, 0.08);
	color: var(--lp-muted);
	font-size: 14px;
	line-height: 1.6;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.lp-feature-list li:hover {
	border-color: rgba(31, 95, 209, 0.35);
	background: var(--lp-sky-50);
}

.lp-feature-list strong {
	display: block;
	color: var(--lp-navy);
	font-size: 16px;
	font-weight: 700;
}

.lp-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--lp-sky-100);
	color: var(--lp-blue-600);
	font-size: 22px;
	flex-shrink: 0;
}

.lp-phone {
	position: relative;
	isolation: isolate;
	justify-self: center;
	width: min(310px, 100%);
}

.lp-phone::before {
	content: "";
	position: absolute;
	inset: 10% -22% 4% -22%;
	z-index: -1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(248, 193, 28, 0.55), rgba(248, 193, 28, 0) 68%);
}

.lp-phone-screen {
	display: grid;
	gap: 12px;
	padding: 18px 16px 24px;
	border: 12px solid var(--lp-navy);
	border-radius: 46px;
	background: linear-gradient(180deg, #eaf3ff, #f7faff);
	box-shadow: 0 40px 70px -30px rgba(11, 42, 99, 0.7);
	transform: rotate(-3deg);
}

.lp-app-top {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-bottom: 6px;
	color: var(--lp-navy);
	font-weight: 700;
	font-size: 14px;
}

.lp-app-top img {
	width: 44px;
	height: auto;
}

.lp-app-top span {
	flex: 1;
}

.lp-app-card {
	display: grid;
	gap: 2px;
	background: var(--lp-white);
	border-radius: 16px;
	padding: 12px 14px;
	box-shadow: 0 6px 14px -10px rgba(11, 42, 99, 0.5);
	font-size: 13px;
	color: var(--lp-muted);
}

.lp-app-card small {
	font-size: 12px;
	font-weight: 600;
}

.lp-app-card strong {
	color: var(--lp-navy);
	font-size: 16px;
	font-weight: 700;
}

.lp-app-card.lp-app-next {
	background: linear-gradient(135deg, var(--lp-blue-600), var(--lp-blue-700));
	color: rgba(255, 255, 255, 0.85);
}

.lp-app-next strong {
	color: var(--lp-white);
	font-size: 20px;
}

.lp-app-week {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}

.lp-app-week i {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.12);
}

.lp-app-week i.late {
	background: var(--lp-yellow);
}

.lp-app-card.lp-app-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.lp-app-row > span {
	display: grid;
}

.lp-app-chip {
	font-style: normal;
	font-weight: 700;
	font-size: 12px;
	color: #15803d;
	background: #dcfce7;
	padding: 4px 10px;
	border-radius: 999px;
}

.lp-app-score {
	font-style: normal;
	font-weight: 700;
	font-size: 24px;
	color: var(--lp-blue-600);
}

.lp-app-score small {
	font-size: 13px;
	color: var(--lp-muted);
}

.lp-phone-note {
	position: absolute;
	bottom: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--lp-navy);
	color: var(--lp-white);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 999px;
	white-space: nowrap;
}

/* Joining steps — an actual sequence */
.lp-join {
	background: var(--lp-sky-50);
}

.lp-steps {
	position: relative;
	list-style: none;
	counter-reset: step;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.lp-steps::before {
	content: "";
	position: absolute;
	top: 30px;
	inset-inline: 12.5%;
	border-top: 3px dashed rgba(31, 95, 209, 0.35);
}

.lp-steps li {
	position: relative;
	counter-increment: step;
	text-align: center;
	padding-top: 82px;
}

.lp-steps li::before {
	content: counter(step);
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	background: var(--lp-yellow);
	border: 5px solid var(--lp-sky-50);
	box-shadow: 0 0 0 3px var(--lp-yellow);
	color: var(--lp-navy);
	font-size: 24px;
	font-weight: 700;
}

.lp-steps h3 {
	font-size: 19px;
	font-weight: 700;
	color: var(--lp-navy);
	margin-bottom: 6px;
}

.lp-steps p {
	color: var(--lp-muted);
	font-size: 15px;
	max-width: 240px;
	margin-inline: auto;
}

/* Final call to action */
.lp-final {
	padding: 72px 0;
	color: var(--lp-white);
	background:
		radial-gradient(circle at 8% 50%, rgba(248, 193, 28, 0.22), transparent 30%),
		linear-gradient(135deg, var(--lp-blue-700), var(--lp-navy));
}

.lp-final-inner {
	display: flex;
	align-items: center;
	gap: 32px;
}

.lp-final-logo {
	width: 150px;
	height: auto;
	padding: 14px;
	background: var(--lp-white);
	border-radius: 24px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.6);
	transform: rotate(-4deg);
	flex-shrink: 0;
}

.lp-final-copy {
	flex: 1;
}

.lp-final h2 {
	font-size: clamp(26px, 3.6vw, 38px);
	font-weight: 700;
	color: var(--lp-yellow);
}

.lp-final p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 17px;
	margin-top: 6px;
}

.lp-final-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Footer */
.lp-footer {
	background: #071d47;
	color: rgba(255, 255, 255, 0.7);
	padding: 22px 0;
	font-size: 14px;
}

.lp-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.lp .lp-footer-fb {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--lp-white);
}

.lp .lp-footer-fb:hover {
	color: var(--lp-yellow);
}

/* Responsive */
@media (max-width: 1080px) {
	.lp-final-inner {
		flex-wrap: wrap;
		justify-content: center;
		text-align: center;
	}

	.lp-final-copy {
		flex-basis: 100%;
	}

	.lp-final-actions {
		justify-content: center;
	}
}

@media (max-width: 960px) {
	.lp-hero-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.lp-hero {
		text-align: center;
		padding-top: 48px;
	}

	.lp-lead {
		margin-inline: auto;
	}

	.lp-chips,
	.lp-actions {
		justify-content: center;
	}

	.lp-medals {
		grid-template-columns: 1fr;
		max-width: 440px;
		margin-inline: auto;
		gap: 44px;
	}

	.lp-tickets,
	.lp-platform-grid {
		grid-template-columns: 1fr;
	}

	.lp-platform-grid {
		gap: 72px;
	}

	.lp-steps {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 44px;
	}

	.lp-steps::before {
		display: none;
	}
}

@media (max-width: 860px) {
	.lp-menu-toggle {
		display: inline-flex;
	}

	.lp-nav {
		position: absolute;
		top: 100%;
		inset-inline: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 16px 16px;
		background: var(--lp-white);
		box-shadow: 0 20px 30px -20px rgba(11, 42, 99, 0.4);
		display: none;
	}

	.lp-nav.is-open {
		display: flex;
	}

	.lp-nav a:not(.lp-btn) {
		padding: 12px 4px;
		border-bottom: 1px solid rgba(11, 42, 99, 0.08);
	}

	.lp-nav-cta {
		margin-top: 12px;
	}
}

@media (max-width: 640px) {
	.lp-section {
		padding: 72px 0;
	}

	.lp-head {
		margin-bottom: 40px;
	}

	.lp-brand img {
		height: 44px;
	}

	.lp-brand small {
		display: none;
	}

	.lp-lead {
		font-size: 17px;
	}

	.lp-float {
		font-size: 12px;
		padding: 8px 12px;
	}

	.lp-float strong {
		font-size: 15px;
	}

	.lp-medal .lp-ribbon {
		margin-inline: -36px;
		font-size: 19px;
	}

	.lp-ticket {
		grid-template-columns: 1fr;
		-webkit-mask: none;
		mask: none;
	}

	.lp-ticket-stub {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		column-gap: 14px;
		padding: 22px 22px 18px;
	}

	.lp-ticket-icon {
		margin-bottom: 0;
	}

	.lp-ticket-place {
		flex-basis: 100%;
	}

	.lp-ticket .lp-ticket-body {
		border-inline-start: 0;
		border-top: 2px dashed;
		padding: 22px;
	}

	.lp-ticket-navy .lp-ticket-body {
		border-top-color: rgba(255, 255, 255, 0.35);
	}

	.lp-ticket-yellow .lp-ticket-body {
		border-top-color: rgba(11, 42, 99, 0.35);
	}

	.lp-feature-list,
	.lp-steps {
		grid-template-columns: 1fr;
	}

	.lp-final-logo {
		width: 120px;
	}

	.lp-final-actions .lp-btn {
		flex: 1 1 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.lp-btn,
	.lp-medal,
	.lp-medal-ring,
	.lp-phones a {
		transition: none;
	}
}

/* ==========================================================================
   Login screen (templates/login.php) — same identity as the landing page
   ========================================================================== */
.lp-auth {
	display: grid;
	grid-template-columns: minmax(420px, 1fr) 1.1fr;
	min-height: 100vh;
	min-height: 100dvh;
}

.lp-auth-main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 18px;
	padding: 40px 24px;
	background:
		radial-gradient(rgba(31, 95, 209, 0.08) 1.5px, transparent 1.6px) 0 0 / 22px 22px,
		var(--lp-sky-50);
}

.lp .lp-auth-back {
	align-self: center;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	width: min(440px, 100%);
	font-size: 14px;
	font-weight: 600;
	color: var(--lp-muted);
}

.lp .lp-auth-back:hover {
	color: var(--lp-blue-600);
}

.lp-auth-card {
	width: min(440px, 100%);
	background: var(--lp-white);
	border-radius: 28px;
	padding: 36px 34px 30px;
	box-shadow: 0 30px 60px -34px rgba(11, 42, 99, 0.5);
	border-top: 6px solid var(--lp-yellow);
}

.lp .lp-auth-logo {
	display: none;
	width: 120px;
	height: auto;
	margin: 0 auto 14px;
}

.lp-auth-card h1 {
	font-size: 30px;
	font-weight: 700;
	color: var(--lp-navy);
}

.lp-auth-sub {
	color: var(--lp-muted);
	font-size: 15px;
	margin-top: 4px !important;
}

.lp-auth-alert {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 20px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	font-size: 14px;
	line-height: 1.6;
}

.lp-auth-alert .lp-icon {
	margin-top: 2px;
}

.lp-auth-alert-success {
	background: #f0fdf4;
	border-color: #bbf7d0;
	color: #15803d;
}

a.lp-auth-submit {
	display: flex;
	justify-content: center;
	margin-top: 22px;
	text-decoration: none;
}

.lp-auth-form {
	display: grid;
	gap: 18px;
	margin-top: 26px;
}

.lp-field label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--lp-ink);
	margin-bottom: 8px;
}

.lp-input-wrap {
	position: relative;
}

.lp-input-wrap input {
	width: 100%;
	height: 52px;
	padding-inline: 46px 16px;
	border: 1.5px solid #d6e0f0;
	border-radius: 14px;
	background: var(--lp-sky-50);
	font-family: inherit;
	font-size: 16px;
	color: var(--lp-ink);
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.lp-input-wrap input#ta-password {
	padding-inline-end: 50px;
}

.lp-input-wrap input:focus {
	outline: none;
	border-color: var(--lp-blue-600);
	background: var(--lp-white);
	box-shadow: 0 0 0 4px rgba(31, 95, 209, 0.15);
}

.lp-input-icon {
	position: absolute;
	top: 50%;
	inset-inline-start: 15px;
	transform: translateY(-50%);
	color: #8a97b4;
	pointer-events: none;
}

.lp-input-wrap:focus-within .lp-input-icon {
	color: var(--lp-blue-600);
}

.lp-password-toggle {
	position: absolute;
	top: 50%;
	inset-inline-end: 6px;
	transform: translateY(-50%);
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: #8a97b4;
	cursor: pointer;
}

.lp-password-toggle:hover {
	color: var(--lp-blue-600);
	background: var(--lp-sky-100);
}

.lp-password-toggle:focus-visible {
	outline: 3px solid var(--lp-yellow);
	outline-offset: 1px;
}

.lp-password-toggle .lp-eye-hide,
.lp-password-toggle.is-visible .lp-eye-show {
	display: none;
}

.lp-password-toggle.is-visible .lp-eye-hide {
	display: block;
}

.lp-auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 14px;
}

.lp-check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-weight: 600;
}

.lp-check input {
	width: 18px;
	height: 18px;
	accent-color: var(--lp-blue-600);
}

.lp .lp-auth-link {
	color: var(--lp-blue-600);
	font-weight: 700;
}

.lp .lp-auth-link:hover {
	text-decoration: underline;
}

.lp-auth-submit {
	width: 100%;
	margin-top: 4px;
	border: 0;
	cursor: pointer;
	font-family: inherit;
	box-shadow: 0 14px 26px -14px rgba(31, 95, 209, 0.9);
}

.lp-auth-foot {
	text-align: center;
	margin-top: 22px !important;
	padding-top: 18px;
	border-top: 1px solid rgba(11, 42, 99, 0.08);
	color: var(--lp-muted);
	font-size: 14px;
}

/* Brand side — mirrors the landing hero */
.lp-auth-side {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	padding: 56px;
	color: var(--lp-white);
	background:
		radial-gradient(circle at 15% 20%, rgba(47, 125, 225, 0.55), transparent 45%),
		linear-gradient(135deg, var(--lp-navy) 0%, var(--lp-blue-700) 55%, var(--lp-blue-500) 100%);
}

.lp-auth-side-inner {
	position: relative;
	z-index: 1;
	max-width: 520px;
}

.lp-auth-side .lp-eyebrow {
	color: var(--lp-navy);
	background: var(--lp-yellow);
}

.lp-auth-title {
	font-size: clamp(44px, 5vw, 64px);
	font-weight: 700;
	line-height: 1.2;
	color: var(--lp-yellow);
	text-shadow: 0 4px 0 rgba(11, 42, 99, 0.45);
}

.lp-auth-lead {
	font-size: 19px;
	color: rgba(255, 255, 255, 0.9);
	margin-top: 8px !important;
}

.lp-auth-points {
	list-style: none;
	padding: 0;
	margin: 26px 0 0;
	display: grid;
	gap: 12px;
}

.lp-auth-points li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	font-size: 16px;
}

.lp-auth-points .lp-icon {
	color: var(--lp-yellow);
	font-size: 22px;
}

.lp-auth-badge {
	display: inline-block;
	margin-top: 40px;
	padding: 18px 22px;
	background: var(--lp-white);
	border-radius: 28px;
	box-shadow: 0 30px 50px -24px rgba(0, 0, 0, 0.55);
	transform: rotate(-4deg);
}

.lp-auth-badge img {
	width: 200px;
	height: auto;
}

/* --- Login V2: refined card + security cues (templates/login.php) --- */

/* Honeypot: off-screen for people and screen readers, still "there" for bots. */
.lp-hp {
	position: absolute !important;
	inset-inline-start: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lp-auth-card {
	position: relative;
	animation: lp-auth-rise 0.45s ease-out both;
}

@keyframes lp-auth-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

.lp-auth-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	padding: 5px 12px 5px 10px;
	border-radius: 999px;
	background: #ecfdf3;
	color: #15803d;
	font-size: 13px;
	font-weight: 700;
}

.lp-auth-kicker .lp-icon {
	font-size: 16px;
}

.lp-auth-alert strong {
	display: block;
	font-weight: 700;
}

.lp-auth-alert-warn {
	background: #fffbeb;
	border-color: #fde68a;
	color: #92400e;
}

.lp-field-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 8px;
}

.lp-field-head label {
	margin-bottom: 0;
}

.lp .lp-auth-link-sm {
	font-size: 13px;
}

.lp-input-wrap input[aria-invalid="true"] {
	border-color: #f3a6a6;
}

.lp-input-wrap input[aria-invalid="true"]:focus {
	border-color: var(--lp-blue-600);
}

.lp-input-wrap input#ta-password {
	text-align: right;
	letter-spacing: 0.04em;
}

.lp-field-hint {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px !important;
	font-size: 13px;
	font-weight: 600;
	color: #92400e;
}

.lp-field-hint[hidden] {
	display: none;
}

.lp-auth-form .lp-check {
	font-size: 14px;
	justify-self: start;
}

.lp-auth-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.lp-auth-submit:active {
	transform: translateY(1px);
}

.lp-auth-submit-arrow {
	transition: transform 0.15s ease;
}

.lp-auth-submit:hover .lp-auth-submit-arrow {
	transform: translateX(-3px);
}

.lp-spinner {
	display: none;
	width: 18px;
	height: 18px;
	border: 2.5px solid rgba(255, 255, 255, 0.35);
	border-top-color: var(--lp-white);
	border-radius: 50%;
	animation: lp-spin 0.7s linear infinite;
}

@keyframes lp-spin {
	to {
		transform: rotate(360deg);
	}
}

.is-busy .lp-auth-submit {
	cursor: progress;
	opacity: 0.85;
}

.is-busy .lp-spinner {
	display: inline-block;
}

.is-busy .lp-auth-submit-arrow {
	display: none;
}

.lp-auth-secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin-top: -4px !important;
	font-size: 12.5px;
	color: var(--lp-muted);
	text-align: center;
}

.lp-auth-secure .lp-icon {
	flex: none;
	color: #15803d;
}

.lp-auth-copy {
	font-size: 13px;
	color: var(--lp-muted);
}

/* Brand side V2 */
.lp-auth-side {
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 32px;
}

.lp-auth-art {
	position: relative;
	z-index: 1;
	align-self: center;
	width: min(100%, 440px);
}

.lp-auth-art img {
	width: 100%;
	height: auto;
	max-height: 30vh;
	object-fit: contain;
}

.lp-auth-features {
	list-style: none;
	padding: 0;
	margin: 30px 0 0;
	display: grid;
	gap: 12px;
}

.lp-auth-features li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(6px);
	font-size: 14px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.6;
}

.lp-auth-features strong,
.lp-auth-trust strong {
	display: block;
	font-size: 16px;
	color: var(--lp-white);
}

.lp-auth-feature-icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 14px;
	background: var(--lp-yellow);
	color: var(--lp-navy);
	font-size: 22px;
}

.lp-auth-trust {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 22px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.78);
	line-height: 1.6;
}

.lp-auth-trust > .lp-icon {
	flex: none;
	font-size: 30px;
	color: #6ee7a8;
}

.lp-auth-side > .lp-auth-badge {
	position: relative;
	z-index: 1;
	align-self: flex-end;
	margin-top: 0;
}

.lp-auth-side > .lp-auth-badge img {
	width: 150px;
}

@media (max-width: 960px) {
	.lp-auth-kicker {
		display: flex;
		width: fit-content;
		margin-inline: auto;
	}
}

@media (max-height: 760px) {
	.lp-auth-side > .lp-auth-badge {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lp-auth-card,
	.lp-spinner {
		animation: none;
	}
}

@media (max-width: 960px) {
	.lp-auth {
		grid-template-columns: 1fr;
	}

	.lp-auth-side {
		display: none;
	}

	.lp-auth-main {
		justify-content: flex-start;
		padding-top: 28px;
		background:
			linear-gradient(160deg, var(--lp-navy) 0%, var(--lp-blue-700) 100%) top / 100% 230px no-repeat,
			var(--lp-sky-50);
	}

	.lp .lp-auth-back {
		color: rgba(255, 255, 255, 0.85);
	}

	.lp .lp-auth-back:hover {
		color: var(--lp-yellow);
	}

	.lp .lp-auth-logo {
		display: block;
	}

	.lp-auth-card h1,
	.lp-auth-sub {
		text-align: center;
	}
}

@media (max-width: 480px) {
	.lp-auth-card {
		padding: 28px 20px 24px;
		border-radius: 24px;
	}

	.lp-auth-card h1 {
		font-size: 26px;
	}
}


/* =====================================================================
 * Login V3 — the auth screens join the public site's identity (El
 * Messiri + Readex Pro, no dot pattern) and the login form gains an
 * account-type switch: student / parent / staff.
 * ===================================================================== */

body.lp-auth-page {
	--lp-font: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
	font-family: var(--lp-font);
}

.lp-auth-page h1,
.lp-auth-page .lp-auth-title {
	font-family: "El Messiri", "Readex Pro", sans-serif;
}

.lp-auth-main {
	background:
		radial-gradient(60% 45% at 85% 0%, rgba(31, 95, 209, 0.09), transparent 70%),
		radial-gradient(50% 40% at 0% 100%, rgba(248, 193, 28, 0.12), transparent 70%),
		var(--lp-sky-50);
}

.lp-auth-card {
	width: min(460px, 100%);
	padding: 34px 32px 28px;
	border-top: 0;
	border: 1px solid #e3eaf7;
	box-shadow: 0 30px 70px -38px rgba(11, 42, 99, 0.55);
}

.lp .lp-auth-back {
	width: min(460px, 100%);
}

.lp-auth-card h1 {
	font-size: 34px;
	line-height: 1.3;
}

.lp-auth-sub {
	min-height: 2.9em;
	font-size: 15px;
	line-height: 1.75;
}

.lp-field-note {
	margin: 6px 2px 0 !important;
	font-size: 12.5px;
	line-height: 1.7;
	color: var(--lp-muted);
}

.lp-auth-page .lp-auth-title {
	font-size: clamp(32px, 3.2vw, 44px);
	line-height: 1.3;
}

@media (max-width: 420px) {
	.lp-auth-card {
		padding: 26px 18px 22px;
	}
}

/* Login V3.1 — the side panel is pictures only: the academy's logo and
   one illustration. */
.lp-auth-side {
	align-items: center;
	justify-content: center;
	gap: 36px;
}

.lp-auth-side-logo {
	position: relative;
	z-index: 1;
	width: 132px;
	height: auto;
	padding: 12px 16px;
	border-radius: 26px;
	background: var(--lp-white);
	box-shadow: 0 24px 44px -24px rgba(0, 0, 0, 0.55);
}

.lp-auth-scenes {
	position: relative;
	z-index: 1;
	display: grid;
	width: min(100%, 580px);
}

.lp-auth-scene {
	grid-area: 1 / 1;
	width: 100%;
	height: auto;
	max-height: 60vh;
	object-fit: contain;
	opacity: 0;
	transform: translateY(16px) scale(0.97);
	transition: opacity 0.45s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lp-auth-scene.is-only {
	opacity: 1;
	transform: none;
}

.lp-auth-card h1 {
	margin-bottom: 18px;
}

@media (prefers-reduced-motion: reduce) {
	.lp-auth-scene {
		transition: none;
	}
}
