/* ============================================================
 *  Scola Editorial — Thank You page
 *  v1.15.1 — Dark mocha + cream + orange branding.
 *  Stack: Manrope + Libre Bodoni (italic) + Inter.
 * ============================================================ */

.scola-thanks {
	--bg:        #1A1410;
	--ink:       #F2F0EA;
	--cream:     #251A12;
	--muted:     #A89C8E;
	--orange:    #FD8E25;
	--orange-2:  #FFB066;
	--hairline:  rgba(242, 240, 234, 0.10);
	--hairline-strong: rgba(242, 240, 234, 0.18);

	--sans:      'Manrope', system-ui, -apple-system, sans-serif;
	--serif:     'Libre Bodoni', Georgia, 'Times New Roman', serif;
	--mono:      'Inter', ui-monospace, 'SF Mono', monospace;

	position: relative;
	min-height: 100vh;
	margin: 0;
	padding: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	overflow: hidden;
	isolation: isolate;
}

/* Soft warm orange glow at the top center — pure mocha vignette effect */
.scola-thanks::before {
	content: '';
	position: absolute;
	top: -200px;
	left: 50%;
	transform: translateX(-50%);
	width: 900px;
	height: 600px;
	background: radial-gradient(
		ellipse at center,
		rgba(253, 142, 37, 0.10) 0%,
		rgba(253, 142, 37, 0.04) 40%,
		transparent 70%
	);
	pointer-events: none;
	z-index: 0;
	filter: blur(40px);
}

/* Grid baseline overlay — subtle warm grid for editorial feel */
.scola-thanks::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(to right, var(--hairline) 1px, transparent 1px),
		linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
	background-size: 80px 80px;
	background-position: 0 0;
	opacity: 0.35;
	pointer-events: none;
	z-index: 0;
	mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
	-webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* ============================================================
 *  Sysbar — top mono caption with request number
 * ============================================================ */

.scola-thanks__sysbar {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 32px 48px;
	border-bottom: 1px solid var(--hairline);
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.scola-thanks__sysbar-left,
.scola-thanks__sysbar-right {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.scola-thanks__sysbar-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--orange);
	box-shadow: 0 0 12px rgba(253, 142, 37, 0.5);
	animation: scola-thanks-pulse 2.4s ease-in-out infinite;
}

@keyframes scola-thanks-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.55; transform: scale(0.85); }
}

.scola-thanks__sysbar-request {
	color: var(--ink);
	font-weight: 500;
}

/* ============================================================
 *  Main stage — vertical hero with editorial typography
 * ============================================================ */

.scola-thanks__stage {
	position: relative;
	z-index: 2;
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(72px, 12vh, 140px) 48px clamp(64px, 10vh, 120px);
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(40px, 6vh, 64px);
}

/* Top eyebrow — animated checkmark + status */
.scola-thanks__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--orange);
	animation: scola-thanks-fade 0.8s 0.05s both ease-out;
}

.scola-thanks__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(253, 142, 37, 0.12);
	border: 1px solid var(--orange);
	color: var(--orange);
	font-size: 14px;
	line-height: 1;
}

.scola-thanks__check svg {
	width: 14px;
	height: 14px;
	stroke-dasharray: 30;
	stroke-dashoffset: 30;
	animation: scola-thanks-draw 0.7s 0.5s forwards ease-out;
}

@keyframes scola-thanks-draw {
	to { stroke-dashoffset: 0; }
}

/* Editorial H1 — big serif + sans hybrid */
.scola-thanks__h1 {
	font-family: var(--sans);
	font-size: clamp(56px, 11vw, 168px);
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.035em;
	color: var(--ink);
	margin: 0;
	max-width: 18ch;
	animation: scola-thanks-rise 1s 0.15s both cubic-bezier(0.16, 1, 0.3, 1);
}

.scola-thanks__h1 em {
	font-family: var(--serif);
	font-style: italic;
	letter-spacing: -0.03em;
	font-weight: 400;
	color: var(--orange);
	letter-spacing: -0.01em;
}

/* Subhead — editorial italic */
.scola-thanks__sub {
	font-family: var(--serif);
	font-style: italic;
	letter-spacing: -0.03em;
	font-weight: 400;
	font-size: clamp(22px, 2.6vw, 34px);
	line-height: 1.3;
	color: var(--muted);
	margin: 0;
	max-width: 38ch;
	animation: scola-thanks-fade 0.9s 0.3s both ease-out;
}

/* Body paragraph */
.scola-thanks__body {
	font-family: var(--sans);
	font-size: clamp(15px, 1.4vw, 18px);
	font-weight: 400;
	line-height: 1.65;
	color: rgba(242, 240, 234, 0.86);
	margin: 0;
	max-width: 56ch;
	animation: scola-thanks-fade 0.9s 0.45s both ease-out;
}

.scola-thanks__body strong {
	color: var(--ink);
	font-weight: 600;
}

/* ============================================================
 *  Steps grid — 3 columns "what happens next"
 * ============================================================ */

.scola-thanks__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 8px;
	padding-top: 40px;
	border-top: 1px solid var(--hairline);
	animation: scola-thanks-fade 0.9s 0.6s both ease-out;
}

@media (max-width: 880px) {
	.scola-thanks__steps {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}

.scola-thanks__step {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 4px 0;
}

.scola-thanks__step-num {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.22em;
	color: var(--orange);
	text-transform: uppercase;
	font-weight: 500;
}

.scola-thanks__step-title {
	font-family: var(--sans);
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	margin: 0;
	letter-spacing: -0.01em;
}

.scola-thanks__step-body {
	font-family: var(--sans);
	font-size: 14px;
	line-height: 1.55;
	color: var(--muted);
	margin: 0;
}

/* ============================================================
 *  Footer — primary CTA + secondary actions
 * ============================================================ */

.scola-thanks__footer {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 32px;
	align-items: center;
	padding-top: 40px;
	border-top: 1px solid var(--hairline);
	animation: scola-thanks-fade 0.9s 0.8s both ease-out;
}

@media (max-width: 720px) {
	.scola-thanks__footer {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.scola-thanks__footer-left {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.scola-thanks__footer-label {
	font-family: var(--mono);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
}

.scola-thanks__footer-text {
	font-family: var(--sans);
	font-size: 14px;
	color: rgba(242, 240, 234, 0.78);
	line-height: 1.5;
	margin: 0;
}

.scola-thanks__footer-text a {
	color: var(--orange);
	text-decoration: none;
	border-bottom: 1px solid rgba(253, 142, 37, 0.35);
	padding-bottom: 1px;
	transition: border-color 0.3s ease;
}

.scola-thanks__footer-text a:hover {
	border-color: var(--orange);
}

/* Primary CTA — orange pill */
.scola-thanks__cta {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	background: var(--orange);
	color: #1A1410;
	padding: 18px 32px;
	border-radius: 999px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
	            background 0.3s ease,
	            box-shadow 0.4s ease;
	box-shadow: 0 8px 24px rgba(253, 142, 37, 0.18);
}

.scola-thanks__cta:hover {
	background: var(--orange-2);
	transform: translateY(-2px);
	box-shadow: 0 14px 32px rgba(253, 142, 37, 0.28);
}

.scola-thanks__cta-arrow {
	display: inline-block;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.scola-thanks__cta:hover .scola-thanks__cta-arrow {
	transform: translateX(6px);
}

/* ============================================================
 *  Animations
 * ============================================================ */

@keyframes scola-thanks-fade {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes scola-thanks-rise {
	from { opacity: 0; transform: translateY(28px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
 *  Responsive — mobile tweaks
 * ============================================================ */

@media (max-width: 720px) {
	.scola-thanks__sysbar {
		padding: 20px 24px;
		font-size: 10px;
		flex-wrap: wrap;
		gap: 10px;
	}

	.scola-thanks__stage {
		padding: 56px 24px 56px;
		gap: 36px;
	}

	.scola-thanks__h1 {
		font-size: clamp(44px, 12vw, 80px);
		max-width: 14ch;
	}
}

/* ============================================================
 *  Reduce motion preference
 * ============================================================ */

@media (prefers-reduced-motion: reduce) {
	.scola-thanks *,
	.scola-thanks *::before,
	.scola-thanks *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
