/* Styles specific to the main marketing page at / (templ page.Tutors).
   Base landing-page styles come from index_sections.css (.ix-*); this file
   only adds the tutor-page extras, prefixed .tx-. */

/* ---- Hero extras: faint grid overlay + glow CTA ---- */
.tx-hero { position: relative; }
.tx-hero-grid {
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(700px 520px at 68% 42%, rgba(0,0,0,0.9), transparent 75%);
	mask-image: radial-gradient(700px 520px at 68% 42%, rgba(0,0,0,0.9), transparent 75%);
}
.tx-hero .hero-text { padding: 130px 0 90px; }
.tx-btn-glow { position: relative; }
.tx-btn-glow::after {
	content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1;
	background: linear-gradient(90deg, #2196f3, #00e5ff, #69f0ae, #2196f3);
	background-size: 300% 100%; filter: blur(10px); opacity: 0.55;
	animation: txGlowShift 5s linear infinite;
}
@keyframes txGlowShift { 0% { background-position: 0% 0; } 100% { background-position: 300% 0; } }

/* ---- Hero product mockup: the live "Deliver" window ---- */
.tx-mock-wrap {
	position: relative;
	padding: 96px 0 70px 26px;
	perspective: 1400px;
}
.tx-mock-window {
	background: rgba(255,255,255,0.97);
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,0.55);
	box-shadow:
		0 40px 90px -30px rgba(2, 18, 41, 0.75),
		0 0 0 1px rgba(13,71,161,0.06),
		0 0 80px -20px rgba(0,229,255,0.35);
	overflow: hidden;
	transform: rotateY(-8deg) rotateX(2.5deg);
	transform-style: preserve-3d;
	transition: transform 0.5s ease;
	animation: txHoverBob 7s ease-in-out infinite;
}
.tx-mock-wrap:hover .tx-mock-window { transform: rotateY(-2deg) rotateX(0.5deg); }
@keyframes txHoverBob { 0%, 100% { margin-top: 0; } 50% { margin-top: -10px; } }

/* ---- Subject marquee strip ---- */
.tx-marquee {
	display: block;
	width: 100%;
	background: linear-gradient(180deg, #103154, #0d2946);
	border-top: 1px solid rgba(255,255,255,0.06);
	padding: 22px 0 78px;
	overflow: hidden;
	position: relative;
}
.tx-marquee::before, .tx-marquee::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.tx-marquee::before { left: 0; background: linear-gradient(90deg, #0f2f50, transparent); }
.tx-marquee::after { right: 0; background: linear-gradient(-90deg, #0f2f50, transparent); }
.tx-marquee-track {
	display: flex; align-items: center; gap: 14px;
	width: max-content;
	animation: txMarquee 36s linear infinite;
}
.tx-marquee:hover .tx-marquee-track { animation-play-state: paused; }
@keyframes txMarquee { to { transform: translateX(-50%); } }
.tx-mq-item {
	display: inline-flex; align-items: center; gap: 9px;
	color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 600;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 999px; padding: 9px 18px;
	white-space: nowrap; margin-right: 14px;
}
.tx-mq-item i { color: #4fc3f7; font-size: 13px; }

/* ---- Showcase: "see it in action" animated product mocks ---- */
.tx-showcase {
	padding: 90px 0 40px;
	background:
		radial-gradient(900px 520px at -10% 20%, rgba(0,188,212,0.07), transparent 60%),
		radial-gradient(900px 520px at 110% 70%, rgba(33,150,243,0.08), transparent 60%),
		#fff;
	overflow: hidden;
}
.tx-showcase h2 { font-weight: 800; color: #103154; letter-spacing: -0.5px; }
.tx-show-row { margin-top: 64px; }
.tx-show-row:first-of-type { margin-top: 30px; }
.tx-show-copy { padding: 20px 10px; }
.tx-show-icon {
	width: 58px; height: 58px; border-radius: 16px;
	display: flex; align-items: center; justify-content: center;
	font-size: 25px; color: #fff; margin-bottom: 20px;
	background: linear-gradient(135deg, #1e88e5, #00acc1);
	box-shadow: 0 12px 26px -8px rgba(30,136,229,0.55);
}
.tx-show-icon.alt { background: linear-gradient(135deg, #0e54a5, #e91e63); box-shadow: 0 12px 26px -8px rgba(233,30,99,0.5); }
.tx-show-icon.alt2 { background: linear-gradient(135deg, #f0a901, #f57c00); box-shadow: 0 12px 26px -8px rgba(245,124,0,0.5); }
.tx-show-copy h3 { font-size: 27px; font-weight: 800; color: #103154; letter-spacing: -0.5px; margin-bottom: 14px; }
.tx-show-copy p { color: #5b6b7c; font-size: 15.5px; line-height: 1.75; max-width: 480px; }
.tx-show-list { list-style: none; padding: 0; margin: 18px 0 0; }
.tx-show-list li { color: #33415a; font-size: 14.5px; font-weight: 600; margin-bottom: 10px; }
.tx-show-list li i { color: #1db954; margin-right: 10px; }

.tx-show-demo {
	position: relative;
	background: #fff;
	border: 1px solid rgba(33,150,243,0.13);
	border-radius: 20px;
	padding: 26px;
	box-shadow: 0 30px 70px -34px rgba(13,46,84,0.4);
}

/* Demo 1 - live delivery sync */
.tx-demo-deliver { display: flex; align-items: center; gap: 0; min-height: 300px; }
.tx-mini-bar {
	display: flex; align-items: center; gap: 5px;
	padding: 8px 10px;
	background: #eef5fc; border-bottom: 1px solid rgba(33,150,243,0.12);
	border-radius: 12px 12px 0 0;
}
.tx-mini-bar span { width: 8px; height: 8px; border-radius: 50%; background: #cfe0f1; display: inline-block; }
.tx-mini-bar em { font-style: normal; font-size: 10px; font-weight: 700; color: #62708a; margin-left: 6px; }
.tx-deliver-tutor {
	flex: 0 0 42%;
	border: 1px solid rgba(33,150,243,0.16);
	border-radius: 12px;
	box-shadow: 0 16px 36px -20px rgba(13,46,84,0.35);
	background: #fff; z-index: 2;
}
.tx-mini-body { padding: 14px 12px; }
.tx-mini-body .blk, .tx-mini-screen .blk {
	border-radius: 6px; margin-bottom: 8px;
	animation: txBlkCycle 5s ease-in-out infinite;
}
.blk.b1 { height: 34px; background: linear-gradient(90deg, rgba(33,150,243,0.25), rgba(0,188,212,0.25)); }
.blk.b2 { height: 12px; width: 85%; background: rgba(16,49,84,0.12); animation-delay: 0.25s; }
.blk.b3 { height: 12px; width: 60%; background: rgba(16,49,84,0.09); animation-delay: 0.5s; }
@keyframes txBlkCycle {
	0%, 8% { opacity: 0; transform: translateY(6px); }
	16%, 88% { opacity: 1; transform: none; }
	96%, 100% { opacity: 0; transform: translateY(6px); }
}
.tx-deliver-beam { flex: 1; position: relative; height: 3px; background: rgba(33,150,243,0.18); margin: 0 -1px; min-width: 46px; }
.tx-deliver-beam .pulse {
	position: absolute; top: 50%; left: 0;
	width: 10px; height: 10px; margin-top: -5px; border-radius: 50%;
	background: #00e5ff; box-shadow: 0 0 12px 2px rgba(0,229,255,0.7);
	animation: txBeam 1.8s linear infinite;
}
.tx-deliver-beam .pulse.pu2 { animation-delay: 0.6s; }
.tx-deliver-beam .pulse.pu3 { animation-delay: 1.2s; }
@keyframes txBeam { 0% { left: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 4px); opacity: 0; } }
.tx-deliver-students { flex: 0 0 40%; display: flex; flex-direction: column; gap: 10px; z-index: 2; }
.tx-mini-screen {
	position: relative;
	border: 1px solid rgba(33,150,243,0.16);
	border-radius: 10px; padding: 10px 10px 4px;
	background: #fff;
	box-shadow: 0 12px 26px -18px rgba(13,46,84,0.35);
}
.tx-mini-screen .blk { transform-origin: top; }
.tx-mini-screen .blk.b1 { height: 18px; }
.tx-mini-screen .blk.b2 { height: 8px; }
.tx-mini-screen .blk.b3 { height: 8px; margin-bottom: 6px; }
.tx-mini-screen.s1 .blk { animation-delay: 0.35s; }
.tx-mini-screen.s2 .blk { animation-delay: 0.5s; }
.tx-mini-screen.s3 .blk { animation-delay: 0.65s; }
.tx-mini-tag {
	position: absolute; top: -8px; right: 8px;
	background: linear-gradient(135deg, #1e88e5, #00acc1);
	color: #fff; font-size: 9px; font-weight: 800;
	border-radius: 999px; padding: 2px 9px;
	box-shadow: 0 4px 10px -3px rgba(30,136,229,0.6);
}

/* Demo 2 - whiteboard */
.tx-demo-board { min-height: 300px; background: repeating-linear-gradient(0deg, #fff, #fff 26px, rgba(33,150,243,0.05) 27px); }
.tx-board-tools {
	position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
	display: flex; gap: 8px; align-items: center;
	background: #fff; border: 1px solid rgba(33,150,243,0.16);
	border-radius: 999px; padding: 7px 12px;
	box-shadow: 0 10px 26px -14px rgba(13,46,84,0.4);
	z-index: 2;
}
.tx-board-tools .tool { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.tx-board-tools .tool.t1 { background: #2196f3; box-shadow: 0 0 0 3px rgba(33,150,243,0.25); }
.tx-board-tools .tool.t2 { background: #e91e63; }
.tx-board-tools .tool.t3 { background: #1db954; }
.tx-board-tools .tool.t4 { background: #f1f5fa; color: #62708a; font-size: 10px; }
.tx-demo-board svg { width: 100%; height: auto; display: block; margin-top: 26px; }
.tx-draw {
	fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round;
	stroke-dasharray: 1; stroke-dashoffset: 1;
}
.tx-draw.d1 { stroke: #2196f3; animation: txDrawLoop 9s ease-in-out infinite; }
.tx-draw.d2 { stroke: #e91e63; animation: txDrawLoop 9s ease-in-out 1.2s infinite; }
.tx-draw.d3 { stroke: #1db954; animation: txDrawLoop 9s ease-in-out 2.4s infinite; }
.tx-draw.d4 { stroke: #f57c00; animation: txDrawLoop 9s ease-in-out 3.4s infinite; }
@keyframes txDrawLoop {
	0% { stroke-dashoffset: 1; }
	22%, 82% { stroke-dashoffset: 0; }
	95%, 100% { stroke-dashoffset: 1; }
}
.tx-board-caption {
	position: absolute; bottom: 16px; right: 22px;
	font-size: 13px; font-weight: 800; color: #103154;
	background: rgba(105,240,174,0.2); border-radius: 8px; padding: 5px 12px;
}

/* Demo 3 - progress analytics */
.tx-demo-progress { min-height: 300px; }
.tx-prog-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.tx-prog-range { font-size: 12px; font-weight: 700; color: #62708a; background: #f1f6fc; border-radius: 999px; padding: 5px 14px; }
.tx-prog-grid { display: flex; gap: 20px; align-items: stretch; }
.tx-prog-chart { flex: 1.4; display: flex; flex-direction: column; justify-content: flex-end; }
.tx-prog-chart .bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; }
.tx-prog-chart .bar {
	flex: 1; border-radius: 8px 8px 4px 4px; height: 0;
	background: linear-gradient(180deg, #29b6f6, #1976d2);
	animation: txBarGrow 1.1s cubic-bezier(0.3, 0, 0.2, 1) forwards;
	transform-origin: bottom;
}
.tx-prog-chart .bar.h1 { --h: 45%; animation-delay: 0.1s; }
.tx-prog-chart .bar.h2 { --h: 62%; animation-delay: 0.2s; }
.tx-prog-chart .bar.h3 { --h: 38%; animation-delay: 0.3s; }
.tx-prog-chart .bar.h4 { --h: 74%; animation-delay: 0.4s; }
.tx-prog-chart .bar.h5 { --h: 58%; animation-delay: 0.5s; }
.tx-prog-chart .bar.h6 { --h: 86%; animation-delay: 0.6s; }
.tx-prog-chart .bar.h7 { --h: 100%; animation-delay: 0.7s; background: linear-gradient(180deg, #69f0ae, #00bfa5); }
@keyframes txBarGrow { to { height: var(--h, 50%); } }
.tx-prog-chart .labels { display: flex; gap: 10px; margin-top: 8px; }
.tx-prog-chart .labels span { flex: 1; text-align: center; font-size: 11px; font-weight: 700; color: #8a99a8; }
.tx-prog-stats { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.tx-prog-stat {
	flex: 1; display: flex; flex-direction: column; justify-content: center;
	background: #f7fafd; border: 1px solid rgba(33,150,243,0.1);
	border-radius: 14px; padding: 12px 18px;
}
.tx-prog-stat .v { font-size: 22px; font-weight: 800; color: #103154; line-height: 1.2; }
.tx-prog-stat .k { font-size: 11.5px; font-weight: 600; color: #8a99a8; }

/* ---- Audience cards ---- */
/* ---- Who it's for: dark band, horizontal rows ---- */
.tx-audience {
	padding: 96px 0;
	color: #fff;
	background:
		radial-gradient(700px 360px at 85% 0%, rgba(0, 229, 255, 0.16), transparent 60%),
		radial-gradient(600px 320px at 0% 100%, rgba(33, 150, 243, 0.22), transparent 60%),
		#0d2447;
}
.tx-audience .ix-kicker { color: #4fc3f7; }
.tx-audience-head h2 { color: #fff; font-size: 38px; font-weight: 800; margin-bottom: 0; line-height: 1.15; }
.tx-audience-head p { color: rgba(255, 255, 255, 0.72); font-size: 16px; margin: 0; line-height: 1.7; }
.tx-audience-list { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.tx-audience-row {
	display: grid;
	grid-template-columns: 72px 1.5fr 1fr;
	gap: 28px;
	align-items: center;
	padding: 28px 32px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.tx-audience-row:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(79, 195, 247, 0.45); transform: translateX(6px); }
.tx-audience-icon {
	width: 72px; height: 72px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 26px; color: #0d2447;
	background: linear-gradient(135deg, #69f0ae, #00e5ff);
	box-shadow: 0 12px 28px -10px rgba(0, 229, 255, 0.6);
}
.tx-audience-tag {
	display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
	color: #69f0ae; margin-bottom: 8px;
}
.tx-audience-body h3 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.tx-audience-body p { color: rgba(255, 255, 255, 0.72); font-size: 14.5px; margin: 0; line-height: 1.65; }
.tx-audience-fits {
	list-style: none; margin: 0; padding: 0 0 0 28px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	display: flex; flex-direction: column; gap: 10px;
}
.tx-audience-fits li { font-size: 14px; color: rgba(255, 255, 255, 0.88); display: flex; align-items: center; gap: 10px; }
.tx-audience-fits li i {
	width: 20px; height: 20px; border-radius: 50%; flex: 0 0 20px;
	display: flex; align-items: center; justify-content: center;
	font-size: 10px; color: #0d2447; background: #69f0ae;
}
@media (max-width: 991px) {
	.tx-audience { padding: 70px 0; }
	.tx-audience-head h2 { font-size: 30px; margin-bottom: 14px; }
	.tx-audience-row { grid-template-columns: 56px 1fr; gap: 18px 20px; padding: 24px; }
	.tx-audience-icon { width: 56px; height: 56px; font-size: 22px; }
	.tx-audience-fits { grid-column: 2; border-left: 0; padding-left: 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
	.tx-audience-row:hover { transform: none; }
}

/* ---- Final CTA band spacing (reuses .ix-tutor-cta visuals) ---- */
.tx-cta-section { padding: 0 0 100px; }

/* ==== Tutorio AI section (#ai) ==== */
.tx-ai {
	position: relative;
	padding: 100px 0 60px;
	background: linear-gradient(180deg, #0a1020 0%, #0d1830 55%, #0a1224 100%);
	overflow: hidden;
	color: #eef1f8;
}
.tx-ai-bg { position: absolute; inset: 0; pointer-events: none; }
.tx-ai-orb {
	position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5;
	animation: txAiOrb 14s ease-in-out infinite alternate;
}
.tx-ai-orb.a { width: 480px; height: 480px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(10,124,227,0.5), transparent 70%); }
.tx-ai-orb.b { width: 560px; height: 560px; bottom: -180px; right: -140px; background: radial-gradient(circle, rgba(0,229,255,0.35), transparent 70%); animation-delay: -7s; }
@keyframes txAiOrb { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
.tx-ai-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
	background-size: 46px 46px;
	-webkit-mask-image: radial-gradient(800px 600px at 50% 30%, rgba(0,0,0,0.9), transparent 75%);
	mask-image: radial-gradient(800px 600px at 50% 30%, rgba(0,0,0,0.9), transparent 75%);
}
.tx-ai .section-title h2 { color: #fff; font-weight: 800; letter-spacing: -0.5px; }
.tx-ai .section-title p { color: #9aa6c0; }
.tx-ai-grad {
	background: linear-gradient(90deg, #5fb5fc, #00e5ff, #69f0ae, #5fb5fc);
	background-size: 300% 100%;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	animation: txGlowShift 6s linear infinite;
}
.tx-ai-kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
	color: #99d1fe;
	background: rgba(10,124,227,0.16);
	border: 1px solid rgba(95,181,252,0.35);
	border-radius: 999px; padding: 7px 16px; margin-bottom: 16px;
	box-shadow: 0 0 30px -8px rgba(10,124,227,0.6);
}
.tx-ai-kicker i { color: #00e5ff; }
.tx-ai-row { margin-top: 60px; position: relative; z-index: 2; }
.tx-ai-copy h3 { color: #fff; }
.tx-ai-copy p { color: #9aa6c0; }
.tx-ai-copy .tx-show-list li { color: #c6cddd; }
.tx-show-icon.ai { background: linear-gradient(135deg, #0a7ce3, #00e5ff); box-shadow: 0 12px 30px -8px rgba(10,124,227,0.7); }
.tx-show-icon.ai2 { background: linear-gradient(135deg, #00bfa5, #69f0ae); box-shadow: 0 12px 30px -8px rgba(0,191,165,0.6); }

/* -- AI console: the real "Building Your Course" generation modal (12s loop) --
   Dark glass to match the #ai section; every element streams in with springy,
   staggered motion. */
.tx-ai-console {
	position: relative;
	background: linear-gradient(165deg, #172a35, #051924);
	border: 1px solid rgba(99,197,255,0.18);
	border-radius: 24px;
	padding: 20px;
	box-shadow:
		0 40px 90px -40px rgba(0,0,0,0.9),
		0 0 70px -18px rgba(10,124,227,0.45),
		inset 0 1px 0 rgba(255,255,255,0.07);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
	transform-style: preserve-3d;
}
.tx-ai-console:hover {
	transform: perspective(1100px) rotateX(var(--rx, 1.6deg)) rotateY(var(--ry, -2deg)) translateY(-6px);
	box-shadow:
		0 55px 110px -40px rgba(0,0,0,0.95),
		0 0 90px -14px rgba(10,124,227,0.6),
		inset 0 1px 0 rgba(255,255,255,0.09);
}
/* Animated conic border that chases around the card while it "thinks" */
.tx-ai-console::before {
	content: ""; position: absolute; inset: -2px; border-radius: 26px; z-index: -1;
	background: conic-gradient(from var(--tx-sweep, 0deg),
		rgba(10,124,227,0.0) 0deg, rgba(10,124,227,0.9) 60deg,
		rgba(0,229,255,0.8) 130deg, rgba(105,240,174,0.6) 200deg,
		rgba(10,124,227,0.0) 300deg);
	animation: txConicSweep 5s linear infinite;
	filter: blur(9px); opacity: 0.4;
}
/* Aurora sheen drifting across the glass */
.tx-ai-console::after {
	content: ""; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
	background: linear-gradient(115deg, transparent 34%, rgba(95,181,252,0.06) 46%, rgba(0,229,255,0.05) 54%, transparent 66%);
	background-size: 260% 100%;
	animation: txAurora 7s ease-in-out infinite;
}
@property --tx-sweep {
	syntax: "<angle>";
	initial-value: 0deg;
	inherits: false;
}
@keyframes txConicSweep { to { --tx-sweep: 360deg; } }
@keyframes txAurora {
	0%, 100% { background-position: 120% 0; }
	50% { background-position: -20% 0; }
}
.tx-ai-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tx-ai-logo {
	width: 36px; height: 36px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #0a97f3, #1d93f9);
	color: #fff; font-size: 15px;
	box-shadow: 0 8px 18px -6px rgba(10,151,243,0.8), 0 0 24px -4px rgba(29,147,249,0.7);
	animation: txLogoPulse 3s ease-in-out infinite;
}
@keyframes txLogoPulse {
	0%, 100% { box-shadow: 0 8px 18px -6px rgba(10,151,243,0.8), 0 0 18px -6px rgba(29,147,249,0.5); transform: scale(1); }
	50% { box-shadow: 0 8px 22px -6px rgba(10,151,243,0.9), 0 0 34px -2px rgba(29,147,249,0.9); transform: scale(1.06); }
}
.tx-ai-head .ttl b { display: block; font-size: 15px; font-weight: 800; color: #edf7fd; line-height: 1.2; }
.tx-ai-head .ttl small { font-size: 11px; color: #93a0bd; font-weight: 600; }
/* Hero course card - mirrors .gc-course-card in the content dashboard */
.tx-gc-card {
	border: 1px solid rgba(99,197,255,0.16); border-radius: 16px; overflow: hidden;
	background: rgba(255,255,255,0.045);
	animation: txAiCardIn 12s cubic-bezier(0.2, 0.9, 0.3, 1.25) infinite;
}
@keyframes txAiCardIn {
	0%, 4% { opacity: 0; transform: translateY(12px) scale(0.96); }
	9%, 97% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-card .banner {
	height: 44px; position: relative;
	background: linear-gradient(120deg, #0a97f3, #1d93f9, #ec4899, #1d93f9, #0a97f3);
	background-size: 300% 100%;
	animation: txGlowShift 7s linear infinite;
}
.tx-gc-card .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(5,25,36,0.55)); }
.tx-gc-card .body { display: flex; align-items: center; gap: 12px; padding: 0 14px 12px; }
.tx-gc-card .icon {
	flex: 0 0 46px; width: 46px; height: 46px; margin-top: -22px;
	border-radius: 14px; background: #0b2e42; border: 1px solid rgba(99,197,255,0.28);
	box-shadow: 0 8px 18px -8px rgba(0,0,0,0.6), 0 0 22px -6px rgba(29,147,249,0.55);
	display: flex; align-items: center; justify-content: center;
	color: #7fcffd; font-size: 18px;
	animation: txFloaty 5s ease-in-out infinite;
}
.tx-gc-card .meta { min-width: 0; }
.tx-gc-card .meta b { display: block; font-size: 14.5px; font-weight: 800; color: #edf7fd; }
.tx-gc-card .meta small { font-size: 11px; color: #93a0bd; font-weight: 600; }
.tx-gc-card .stats { margin-left: auto; display: flex; gap: 18px; }
.tx-gc-card .stat { text-align: center; }
.tx-gc-card .stat b {
	display: block; font-size: 17px; font-weight: 800; color: #fff;
	font-variant-numeric: tabular-nums; line-height: 1.1;
	text-shadow: 0 0 18px rgba(95,181,252,0.65);
	animation: txStatPop 12s cubic-bezier(0.2, 0.9, 0.3, 1.4) infinite;
}
@keyframes txStatPop {
	0%, 8% { opacity: 0; transform: scale(0.4); }
	12%, 97% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
.tx-gc-card .stat small { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; color: #7c89ab; font-weight: 700; }
/* Streaming curriculum - topics + subtopic pills, as in #gc-curriculum */
.tx-gc-curriculum { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.tx-gc-topic {
	position: relative; overflow: hidden;
	background: rgba(255,255,255,0.045); border: 1px solid rgba(99,197,255,0.14);
	border-radius: 14px; padding: 10px 12px;
	opacity: 0; transform: translateY(14px) scale(0.96);
	animation: txAiTopicIn 12s cubic-bezier(0.2, 0.9, 0.3, 1.3) infinite;
	transition: border-color 0.25s ease, background 0.25s ease;
}
.tx-gc-topic:hover { border-color: rgba(95,181,252,0.5); background: rgba(10,124,227,0.12); }
/* Materialisation flash that washes over each topic as it lands */
.tx-gc-topic::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 20%, rgba(95,181,252,0.28) 50%, transparent 80%);
	background-size: 250% 100%;
	background-position: 120% 0;
	animation: txTopicFlash 12s ease infinite;
}
@keyframes txTopicFlash {
	0%, 30% { background-position: 120% 0; opacity: 0; }
	33% { opacity: 1; }
	40%, 100% { background-position: -60% 0; opacity: 0; }
}
.tx-gc-topic.t2::after { animation-name: txTopicFlash2; }
@keyframes txTopicFlash2 {
	0%, 40% { background-position: 120% 0; opacity: 0; }
	43% { opacity: 1; }
	50%, 100% { background-position: -60% 0; opacity: 0; }
}
.tx-gc-topic.t3::after { animation-name: txTopicFlash3; }
@keyframes txTopicFlash3 {
	0%, 50% { background-position: 120% 0; opacity: 0; }
	53% { opacity: 1; }
	60%, 100% { background-position: -60% 0; opacity: 0; }
}
/* Per-card start offsets are baked into three keyframe variants because CSS
   can't parameterise keyframe percentages with custom properties. */
@keyframes txAiTopicIn {
	0%, 28% { opacity: 0; transform: translateY(14px) scale(0.96); }
	33%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-topic.t2 { animation-name: txAiTopicIn2; }
@keyframes txAiTopicIn2 {
	0%, 38% { opacity: 0; transform: translateY(14px) scale(0.96); }
	43%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-topic.t3 { animation-name: txAiTopicIn3; }
@keyframes txAiTopicIn3 {
	0%, 48% { opacity: 0; transform: translateY(14px) scale(0.96); }
	53%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-topic .head { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tx-gc-topic .head .ic {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, rgba(10,151,243,0.28), rgba(29,147,249,0.28));
	border: 1px solid rgba(99,197,255,0.25);
	color: #7fcffd; font-size: 12.5px;
}
.tx-gc-topic .head b { font-size: 12.5px; font-weight: 700; color: #e8f5fd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-gc-topic .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
/* Subtopic pills pop in one-by-one just after their topic card lands */
.tx-gc-topic .pill {
	display: inline-flex; align-items: center; gap: 5px;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(99,197,255,0.22);
	border-radius: 50rem;
	padding: 3px 10px; font-size: 10.5px; font-weight: 600; color: #c6cddd;
	opacity: 0; transform: scale(0.6);
	animation: txPillPop 12s cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
	transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.tx-gc-topic .pill:hover { border-color: rgba(95,181,252,0.7); color: #fff; transform: translateY(-1px); }
.tx-gc-topic .pill i { color: #5fb5fc; font-size: 9px; }
.tx-gc-topic .pill:nth-child(2) { animation-delay: 0.35s; }
@keyframes txPillPop {
	0%, 33% { opacity: 0; transform: scale(0.6); }
	37%, 96% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
.tx-gc-topic.t2 .pill { animation-name: txPillPop2; }
@keyframes txPillPop2 {
	0%, 43% { opacity: 0; transform: scale(0.6); }
	47%, 96% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
.tx-gc-topic.t3 .pill { animation-name: txPillPop3; }
@keyframes txPillPop3 {
	0%, 53% { opacity: 0; transform: scale(0.6); }
	57%, 96% { opacity: 1; transform: scale(1); }
	100% { opacity: 0; }
}
/* Dashed status strip: "Generating your curriculum…" with shimmering text */
.tx-gc-status {
	margin-top: 12px;
	display: flex; align-items: center; gap: 8px;
	border: 1px dashed rgba(95,181,252,0.4); background: rgba(10,124,227,0.09);
	border-radius: 12px;
	padding: 8px 12px; font-size: 11.5px; font-weight: 700;
	background-image: linear-gradient(90deg, #93a0bd 30%, #cbe5ff 50%, #93a0bd 70%);
	background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	opacity: 0;
	animation: txAiThink 12s ease infinite, txTextShimmer 2.2s linear infinite;
}
.tx-gc-status i { -webkit-text-fill-color: #5fb5fc; animation: txSpin 1.5s linear infinite; }
@keyframes txTextShimmer {
	from { background-position: 120% 0; }
	to { background-position: -80% 0; }
}
@keyframes txAiThink {
	0%, 18% { opacity: 0; }
	22%, 60% { opacity: 1; }
	66%, 100% { opacity: 0; }
}
@keyframes txAiDot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* Completion CTA: "Ready to generate content?" */
.tx-gc-cta {
	margin-top: 12px;
	display: flex; align-items: center; gap: 10px;
	background: linear-gradient(120deg, rgba(10,124,227,0.18), rgba(0,229,255,0.08));
	border: 1px solid rgba(95,181,252,0.35); border-radius: 12px; padding: 10px 12px;
	opacity: 0;
	animation: txAiFootIn 12s cubic-bezier(0.2, 0.9, 0.3, 1.3) infinite;
}
@keyframes txAiFootIn {
	0%, 60% { opacity: 0; transform: translateY(10px) scale(0.97); }
	66%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-gc-cta .txt { min-width: 0; }
.tx-gc-cta .txt b { display: block; font-size: 12px; font-weight: 800; color: #edf7fd; }
.tx-gc-cta .txt small { font-size: 10.5px; color: #93a0bd; font-weight: 600; }
.tx-gc-go {
	margin-left: auto; white-space: nowrap;
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 11px; font-weight: 800; color: #fff;
	background: linear-gradient(135deg, #106dc3, #0e80d0); border-radius: 999px; padding: 7px 13px;
	box-shadow: 0 8px 20px -8px rgba(14,128,208,0.9);
	animation: txGoPulse 2.4s ease-in-out infinite;
	transition: transform 0.2s ease;
}
.tx-gc-go:hover { transform: scale(1.06); }
@keyframes txGoPulse {
	0%, 100% { box-shadow: 0 8px 20px -8px rgba(14,128,208,0.9), 0 0 0 0 rgba(29,147,249,0.55); }
	50% { box-shadow: 0 8px 24px -8px rgba(14,128,208,1), 0 0 0 9px rgba(29,147,249,0); }
}
/* Sparks now shoot upward with a comet-like fade */
.tx-ai-spark {
	position: absolute; width: 5px; height: 5px; border-radius: 50%;
	background: #00e5ff; box-shadow: 0 0 12px 3px rgba(0,229,255,0.8);
	animation: txAiSpark 4s ease-in-out infinite;
	pointer-events: none;
}
.tx-ai-spark.s1 { top: -8px; right: 40px; }
.tx-ai-spark.s2 { bottom: 30px; left: -8px; background: #5fb5fc; box-shadow: 0 0 12px 3px rgba(95,181,252,0.8); animation-delay: -1.4s; }
.tx-ai-spark.s3 { top: 50%; right: -7px; background: #69f0ae; box-shadow: 0 0 12px 3px rgba(105,240,174,0.8); animation-delay: -2.8s; }
@keyframes txAiSpark {
	0%, 100% { opacity: 0; transform: scale(0.3) translate(0, 0); }
	45% { opacity: 1; transform: scale(1.15) translate(6px, -22px); }
	70% { opacity: 0.4; transform: scale(0.7) translate(10px, -34px); }
}

/* -- AI marking demo: the real "Tutorio AI Insight" card (9s loop) -- */
.tx-ai-markdemo {
	position: relative;
	background: linear-gradient(165deg, #141c32, #051722);
	border: 1px solid rgba(0,229,255,0.22);
	border-radius: 20px;
	padding: 18px;
	box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 70px -18px rgba(0,229,255,0.3), inset 0 1px 0 rgba(255,255,255,0.06);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.tx-ai-markdemo:hover {
	transform: perspective(1100px) rotateX(var(--rx, 1.6deg)) rotateY(var(--ry, 2deg)) translateY(-6px);
	box-shadow: 0 55px 110px -40px rgba(0,0,0,0.95), 0 0 90px -14px rgba(0,229,255,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
}
.tx-ai-q {
	position: relative; overflow: hidden;
	background: rgba(255,255,255,0.05); border: 1px solid rgba(99,197,255,0.16);
	border-radius: 13px; padding: 14px 16px;
}
.tx-ai-qchip {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 10.5px; font-weight: 800; color: #99d1fe;
	background: rgba(10,124,227,0.2); border: 1px solid rgba(95,181,252,0.3);
	border-radius: 999px; padding: 4px 11px;
	margin-bottom: 8px;
}
.tx-ai-q .qt { font-size: 13.5px; font-weight: 700; color: #e8f5fd; margin: 0 0 10px; }
.tx-ai-q .ans { display: flex; flex-direction: column; gap: 7px; }
/* Handwriting skeleton lines draw themselves in before the scan pass */
.tx-ai-q .ans .l {
	display: block; height: 9px; border-radius: 5px;
	background: linear-gradient(90deg, rgba(99,197,255,0.35), rgba(99,197,255,0.18));
	transform-origin: left; transform: scaleX(0);
	animation: txAnsWrite 9s ease-out infinite;
}
.tx-ai-q .ans .l1 { width: 92%; }
.tx-ai-q .ans .l2 { width: 84%; animation-name: txAnsWrite2; }
.tx-ai-q .ans .l3 { width: 55%; animation-name: txAnsWrite3; }
@keyframes txAnsWrite {
	0% { transform: scaleX(0); } 6% { transform: scaleX(1); } 100% { transform: scaleX(1); }
}
@keyframes txAnsWrite2 {
	0%, 4% { transform: scaleX(0); } 10% { transform: scaleX(1); } 100% { transform: scaleX(1); }
}
@keyframes txAnsWrite3 {
	0%, 8% { transform: scaleX(0); } 13% { transform: scaleX(1); } 100% { transform: scaleX(1); }
}
.tx-ai-scan {
	position: absolute; left: 0; right: 0; top: -40%; height: 46px;
	background: linear-gradient(180deg, transparent, rgba(0,229,255,0.4), rgba(10,124,227,0.4), transparent);
	box-shadow: 0 0 30px rgba(0,229,255,0.35);
	animation: txAiScan 9s ease-in-out infinite;
}
/* Crisp laser line at the centre of the scan band */
.tx-ai-scan::after {
	content: ""; position: absolute; left: 4%; right: 4%; top: 50%; height: 2px;
	background: linear-gradient(90deg, transparent, #00e5ff, #5fb5fc, transparent);
	box-shadow: 0 0 12px 2px rgba(0,229,255,0.9);
	border-radius: 2px;
}
@keyframes txAiScan {
	0%, 12% { top: -30%; opacity: 0; }
	15% { opacity: 1; }
	24% { top: 105%; }
	26% { top: 80%; }
	32% { top: 105%; opacity: 1; }
	36%, 100% { top: 105%; opacity: 0; }
}
/* Dark glass insight card with the practice page's gradient top bar */
.tx-insight {
	position: relative; overflow: hidden;
	margin-top: 12px;
	background: rgba(255,255,255,0.05); border: 1px solid rgba(99,197,255,0.18); border-radius: 18px;
	padding: 16px 16px 13px;
	opacity: 0;
	animation: txAiVerdictIn 9s cubic-bezier(0.2, 0.9, 0.3, 1.3) infinite;
}
@keyframes txAiVerdictIn {
	0%, 32% { opacity: 0; transform: translateY(14px) scale(0.96); }
	38%, 97% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-insight .ihead { display: flex; align-items: center; gap: 10px; }
.tx-insight .ihead .av {
	flex: 0 0 36px; width: 36px; height: 36px; border-radius: 12px;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #009cf4, #1d93f9);
	color: #fff; font-size: 14px;
	box-shadow: 0 0 22px -4px rgba(29,147,249,0.7);
}
.tx-insight .ihead .t b { display: block; font-size: 10.5px; letter-spacing: 0.6px; text-transform: uppercase; font-weight: 800; color: #dfe5f5; }
.tx-insight .ihead .t small { font-size: 10px; color: #8b98b8; font-weight: 600; }
.tx-insight .marks {
	margin-left: auto;
	background: #38a3f1; color: #fff; border-radius: 999px;
	padding: 5px 12px; font-size: 12.5px; font-weight: 800;
	box-shadow: 0 6px 16px -6px rgba(56,163,241,0.8), 0 0 24px -4px rgba(56,163,241,0.7);
	animation: txMarksPop 9s cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
}
@keyframes txMarksPop {
	0%, 40% { opacity: 0; transform: scale(0.3) rotate(-12deg); }
	46%, 97% { opacity: 1; transform: scale(1) rotate(0deg); }
	100% { opacity: 0; }
}
.tx-insight .itier { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.tx-insight .itier .emoji {
	flex: 0 0 40px; width: 40px; height: 40px; border-radius: 13px;
	background: rgba(56,163,241,0.16);
	display: flex; align-items: center; justify-content: center; font-size: 20px;
	animation: txFloaty 4s ease-in-out infinite;
}
.tx-insight .itier .t { min-width: 0; }
.tx-insight .itier .t b { display: block; font-size: 13px; font-weight: 800; color: #edf7fd; }
.tx-insight .itier .t small { font-size: 10.5px; color: #93a0bd; font-weight: 600; }
.tx-insight .itier .stars { margin-left: auto; display: flex; gap: 3px; font-size: 13px; color: rgba(255,255,255,0.16); }
.tx-insight .itier .stars .lit { color: #ffc93c; text-shadow: 0 0 14px rgba(255,201,60,0.8); }
/* Stars slam in one after another once the verdict lands */
.tx-insight .itier .stars .lit { animation: txStarPop 9s cubic-bezier(0.34, 1.8, 0.64, 1) infinite both; }
.tx-insight .itier .stars .lit:nth-child(2) { animation-delay: 0.25s; }
@keyframes txStarPop {
	0%, 44% { opacity: 0; transform: scale(0) rotate(-90deg); }
	50%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.tx-insight .ibar { margin-top: 11px; }
.tx-insight .ibar .lbl { display: flex; align-items: center; justify-content: space-between; }
.tx-insight .ibar .lbl span { font-size: 9.5px; text-transform: uppercase; letter-spacing: 1px; color: #8b98b8; font-weight: 700; }
.tx-insight .ibar .lbl b { font-size: 11px; color: #5bc0ff; font-weight: 800; }
.tx-insight .ibar .track { margin-top: 5px; height: 8px; border-radius: 999px; background: rgba(255,255,255,0.09); overflow: hidden; }
.tx-insight .ibar .fill {
	display: block; height: 100%; width: 75%; border-radius: 999px;
	background: linear-gradient(90deg, #38a3f1, #1d93f9);
	box-shadow: 0 0 14px rgba(56,163,241,0.8);
	transform-origin: left; transform: scaleX(0);
	animation: txInsightFill 9s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes txInsightFill {
	0%, 42% { transform: scaleX(0); }
	58% { transform: scaleX(1.02); }
	62%, 100% { transform: scaleX(1); }
}
.tx-insight .icoach { margin-top: 11px; background: rgba(255,255,255,0.05); border: 1px solid rgba(99,197,255,0.14); border-radius: 14px; padding: 10px 12px; }
.tx-insight .icoach b { display: block; font-size: 11px; color: #dfe5f5; margin-bottom: 4px; }
.tx-insight .icoach p { margin: 0; font-size: 11.5px; line-height: 1.55; color: #aab5cf; font-weight: 600; }
.tx-insight .icoach p em { font-style: normal; color: #69f0ae; font-weight: 800; }
.tx-insight .iunlock {
	margin-top: 10px;
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	font-size: 11px; font-weight: 800; color: #99d1fe;
	background: rgba(10,124,227,0.14); border: 1px dashed rgba(95,181,252,0.5);
	border-radius: 12px; padding: 8px 12px;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.tx-insight .iunlock:hover { background: rgba(10,124,227,0.24); border-color: rgba(95,181,252,0.8); }
.tx-insight .iunlock i { font-size: 10px; animation: txAiDot 2s ease-in-out infinite; }
.tx-ai-remedial {
	margin-top: 10px;
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 11.5px; font-weight: 700; color: #fbbf24;
	background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.25);
	border-radius: 999px; padding: 7px 14px;
	opacity: 0;
	animation: txAiRemedialIn 9s ease infinite;
}
.tx-ai-remedial i { animation: txSpin 3s linear infinite; }
@keyframes txAiRemedialIn {
	0%, 52% { opacity: 0; transform: translateY(6px); }
	58%, 97% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}

/* -- Rio chat demo: the real "Ask Rio" panel (10s loop) -- */
.tx-show-icon.ai3 { background: linear-gradient(135deg, #009cf4, #38bdf8); box-shadow: 0 12px 30px -8px rgba(0,156,244,0.6); }
.tx-ai-riodemo {
	position: relative;
	background: linear-gradient(165deg, #141c32, #051722);
	border: 1px solid rgba(0,156,244,0.28);
	border-radius: 26px;
	overflow: hidden;
	padding: 0 0 14px;
	box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 70px -18px rgba(56,189,248,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.tx-ai-riodemo:hover {
	transform: perspective(1100px) rotateX(var(--rx, 1.6deg)) rotateY(var(--ry, -2deg)) translateY(-6px);
	box-shadow: 0 55px 110px -40px rgba(0,0,0,0.95), 0 0 90px -14px rgba(56,189,248,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}
.tx-rio-head {
	display: flex; align-items: center; gap: 11px;
	padding: 15px 16px;
	background: linear-gradient(120deg, #009cf4 0%, #0792f8 55%, #38bdf8 120%);
	color: #fff;
}
.tx-rio-face {
	position: relative; overflow: hidden;
	flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px;
	display: flex; align-items: center; justify-content: center;
	font-size: 16px; color: #fff;
	background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.35);
	animation: txFloaty 5s ease-in-out infinite;
}
/* Sparkles sit behind the parrot as a fallback until the player registers */
.tx-rio-face i { position: absolute; opacity: 0.9; }
.tx-rio-face dotlottie-player {
	position: relative; flex: 0 0 auto; width: 58px; height: 58px;
	filter: hue-rotate(-15deg);
}
.tx-rio-face:has(dotlottie-player:defined) i { display: none; }
.tx-rio-head .meta b { display: block; font-size: 15px; font-weight: 800; line-height: 1.2; }
.tx-rio-head .meta small { font-size: 10.5px; color: rgba(255,255,255,0.75); font-weight: 600; }
.tx-rio-remaining {
	margin-left: auto;
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 11px; font-weight: 800;
	background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3);
	border-radius: 999px; padding: 4px 11px; white-space: nowrap;
}
.tx-rio-remaining small { font-size: 9.5px; font-weight: 600; opacity: 0.75; }
.tx-rio-close {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: 12px; background: rgba(255,255,255,0.14);
}
.tx-rio-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 0; }
.tx-rio-chips .chip {
	display: inline-flex; align-items: center; gap: 6px;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(99,197,255,0.22); border-radius: 999px;
	padding: 5px 12px; font-size: 10.5px; font-weight: 700; color: #c6cddd;
	transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.tx-rio-chips .chip:hover { border-color: rgba(0,156,244,0.7); color: #fff; background: rgba(0,156,244,0.16); transform: translateY(-1px); }
.tx-rio-chips .chip i { color: #42bcff; font-size: 10px; }
.tx-ai-riochat { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 150px; padding: 12px 16px 0; }
.tx-ai-riochat .bub {
	max-width: 85%;
	font-size: 12.5px; line-height: 1.55; font-weight: 600;
	border-radius: 18px; padding: 10px 14px;
	opacity: 0;
}
.tx-ai-riochat .bub.student {
	align-self: flex-end;
	color: #fff;
	background: linear-gradient(135deg, #009cf4, #0792f8);
	border-bottom-right-radius: 6px;
	box-shadow: 0 10px 24px -10px rgba(0,156,244,0.7);
	transform: translateY(8px);
	animation: txRioBub 10s ease infinite;
}
.tx-ai-riochat .bub.riotyping {
	position: absolute; top: 64px; left: 16px;
	display: inline-flex; gap: 4px; align-items: center;
	background: rgba(255,255,255,0.07); border: 1px solid rgba(99,197,255,0.2);
	border-bottom-left-radius: 6px;
	padding: 12px 14px;
	animation: txRioTyping 10s ease infinite;
}
.tx-ai-riochat .bub.riotyping span {
	width: 6px; height: 6px; border-radius: 50%;
	background: #9db0e0;
	animation: txAiDot 1s ease-in-out infinite;
}
.tx-ai-riochat .bub.riotyping span:nth-child(2) { animation-delay: 0.15s; }
.tx-ai-riochat .bub.riotyping span:nth-child(3) { animation-delay: 0.3s; }
.tx-ai-riochat .bub.rio {
	align-self: flex-start;
	display: flex; align-items: flex-end; gap: 8px;
	background: transparent; padding: 0; max-width: 92%;
	transform: translateY(8px);
	animation: txRioAnswer 10s ease infinite;
}
.tx-ai-riochat .bub.rio .av {
	flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #009cf4, #0792f8);
	color: #fff; font-size: 12px;
}
.tx-ai-riochat .bub.rio .tx {
	background: rgba(255,255,255,0.07); border: 1px solid rgba(99,197,255,0.2); color: #dfe5f5;
	border-radius: 18px; border-bottom-left-radius: 6px;
	padding: 10px 14px;
}
@keyframes txRioBub {
	0%, 6% { opacity: 0; transform: translateY(10px) scale(0.94); }
	12%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
@keyframes txRioTyping {
	0%, 16% { opacity: 0; }
	20%, 40% { opacity: 1; }
	44%, 100% { opacity: 0; }
}
@keyframes txRioAnswer {
	0%, 42% { opacity: 0; transform: translateY(8px); }
	48%, 96% { opacity: 1; transform: none; }
	100% { opacity: 0; }
}
.tx-rio-inputbar {
	margin: 12px 16px 0;
	display: flex; align-items: center; gap: 9px;
	background: rgba(255,255,255,0.06); border: 1px solid rgba(99,197,255,0.22); border-radius: 999px;
	padding: 6px 6px 6px 16px;
	box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
.tx-rio-inputbar .ph { font-size: 12px; color: #8b98b8; font-weight: 600; }
.tx-rio-inputbar .cnt { margin-left: auto; font-size: 10px; color: #5c6a8c; font-weight: 700; }
.tx-rio-inputbar .send {
	flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(135deg, #009cf4, #0792f8);
	color: #fff; font-size: 13px;
	box-shadow: 0 8px 18px -6px rgba(0,156,244,0.8);
	animation: txGoPulse 2.8s ease-in-out infinite;
}

/* -- AI capability grid -- */
.tx-ai-caps { margin-top: 56px; position: relative; z-index: 2; }
.tx-ai-cap {
	height: 100%;
	background: rgba(255,255,255,0.04);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: 16px;
	padding: 24px 20px;
	transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.tx-ai-cap:hover {
	transform: translateY(-6px);
	background: rgba(10,124,227,0.09);
	border-color: rgba(95,181,252,0.45);
	box-shadow: 0 24px 50px -24px rgba(10,124,227,0.6);
}
.tx-ai-cap .ic {
	width: 44px; height: 44px; border-radius: 13px;
	display: flex; align-items: center; justify-content: center;
	font-size: 18px; color: #fff; margin-bottom: 14px;
	background: linear-gradient(135deg, #0a7ce3, #00e5ff);
	box-shadow: 0 10px 22px -8px rgba(10,124,227,0.7);
	transition: transform 0.3s ease;
}
.tx-ai-cap:hover .ic { transform: rotate(-8deg) scale(1.1); }
.tx-ai-cap h4 { font-size: 15.5px; font-weight: 800; color: #fff; margin-bottom: 7px; }
.tx-ai-cap p { font-size: 12.5px; color: #9aa6c0; margin: 0; line-height: 1.6; }

/* ==== Extra polish across the page ==== */
/* Fourth hero float chip (AI marking) */
.tx-float.f4 { top: 148px; left: -14px; animation-delay: -2.2s; }
.tx-float.f4 i { color: #0a7ce3; }

/* Feature cards: hyper-card base (border glow, spotlight, shine, icon pop)
   comes from index_sections.css - keep #features rules out of here so the
   higher-specificity #id selectors don't override it. */

/* Steps: hover lift + numbered badge pop */
.ix-steps .ix-step { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ix-steps .ix-step:hover { transform: translateY(-6px); }
.ix-steps .ix-step .num { transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.5); }
.ix-steps .ix-step:hover .num { transform: scale(1.25); }

/* FAQ: subtle hover lift */

/* ---- Reduced motion: settle everything into its final state ---- */
@media (prefers-reduced-motion: reduce) {
	.tx-mock-window, .tx-float, .tx-cursor, .tx-marquee-track,
	.tx-sync i, .tx-btn-glow::after, .tx-deliver-beam .pulse { animation: none !important; }
	.tx-reserve-aurora span, .tx-live-dot, .tx-sparkles span, .tx-field-box.invalid { animation: none !important; }
	.tx-reserve-done, .tx-reserve-done.show .tx-ticket { transition: none; animation: none !important; transform: none; opacity: 1; }
	.tx-curve, .tx-draw { animation: none !important; stroke-dashoffset: 0; }
	.tx-point { animation: none !important; opacity: 1; }
	.tx-hud-bar .fill { animation: none !important; width: 50%; }
	.tx-token.in { animation: none !important; opacity: 1; transform: none; }
	.tx-prog-chart .bar { animation: none !important; height: var(--h, 50%); }
	.tx-hud-live .dot { animation: none !important; }
	.blk { animation: none !important; opacity: 1 !important; }
	.tx-ai-orb, .tx-ai-spark, .tx-ai-scan, .tx-rio-face,
	.tx-ai-console::before, .tx-ai-console::after, .tx-ai-grad, .tx-gc-status i,
	.tx-ai-logo, .tx-gc-card .banner, .tx-gc-card .icon, .tx-gc-topic::after,
	.tx-gc-go, .tx-rio-inputbar .send, .tx-insight::before, .tx-insight .itier .emoji,
	.tx-insight .iunlock i,
	.tx-ai-riochat .bub.riotyping span { animation: none !important; }
	.tx-gc-status, .tx-ai-riochat .bub.riotyping { display: none !important; }
	.tx-gc-topic, .tx-gc-cta, .tx-insight, .tx-ai-remedial, .tx-gc-card,
	.tx-gc-card .stat b, .tx-gc-topic .pill, .tx-insight .marks,
	.tx-insight .itier .stars .lit, .tx-ai-q .ans .l,
	.tx-ai-riochat .bub { animation: none !important; opacity: 1 !important; transform: none !important; }
	.tx-insight .ibar .fill { animation: none !important; transform: none; }
	.tx-ai-console, .tx-ai-markdemo, .tx-ai-riodemo { transition: none !important; }
}

@media (max-width: 991px) {
	.tx-hero .hero-text { padding: 110px 0 60px; }
	.tx-ai { padding: 70px 0 30px; }
	.tx-ai-row { margin-top: 34px; }
	.tx-ai-caps { margin-top: 30px; }
	.tx-show-copy { padding: 26px 6px 6px; }
	.tx-show-copy h3 { font-size: 23px; }
	.tx-demo-deliver { min-height: 0; }
	.tx-marquee { padding-bottom: 74px; }
}

/* ==== v3 polish: pointer spotlight, richer motion, mobile-perfect demos ==== */

/* Cursor-following spotlight. tutorsAIFx already streams --mx/--my into the
   AI cards on pointermove; the .tx-glow overlay turns them into a soft light
   that tracks the cursor across the glass. */
.tx-ai-console .tx-glow, .tx-ai-markdemo .tx-glow, .tx-ai-riodemo .tx-glow {
	position: absolute; inset: 0; border-radius: inherit;
	pointer-events: none; z-index: 4;
	opacity: 0; transition: opacity 0.4s ease;
	background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 50%),
		rgba(95,181,252,0.16), rgba(0,229,255,0.07) 45%, transparent 72%);
}
.tx-ai-console:hover .tx-glow,
.tx-ai-markdemo:hover .tx-glow,
.tx-ai-riodemo:hover .tx-glow { opacity: 1; }

/* The marking card gets the same chasing conic aura the console has, tuned
   to its cyan palette. (The Rio card clips overflow, so it breathes its
   box-shadow instead - see txRioBreathe below.) */
.tx-ai-markdemo::before {
	content: ""; position: absolute; inset: -2px; border-radius: 22px; z-index: -1;
	background: conic-gradient(from var(--tx-sweep, 0deg),
		rgba(0,229,255,0.0) 0deg, rgba(0,229,255,0.85) 70deg,
		rgba(29,147,249,0.7) 150deg, rgba(105,240,174,0.5) 220deg,
		rgba(0,229,255,0.0) 310deg);
	animation: txConicSweep 6s linear infinite;
	filter: blur(9px); opacity: 0.35;
}
.tx-ai-riodemo { animation: txRioBreathe 6s ease-in-out infinite; }
.tx-ai-riodemo:hover { animation-play-state: paused; }
@keyframes txRioBreathe {
	0%, 100% { box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 60px -18px rgba(56,189,248,0.3), inset 0 1px 0 rgba(255,255,255,0.06); }
	50% { box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 90px -14px rgba(0,156,244,0.55), inset 0 1px 0 rgba(255,255,255,0.06); }
}

/* Tactile press feedback - cards and interactive chips respond to taps */
.tx-ai-console:active, .tx-ai-markdemo:active, .tx-ai-riodemo:active,
.tx-show-demo:active { transform: scale(0.985); }
.tx-rio-chips .chip:active, .tx-gc-topic .pill:active { transform: scale(0.92); }
.tx-gc-go:active, .tx-rio-inputbar .send:active { transform: scale(0.9); }
.tx-insight .iunlock:active { transform: scale(0.98); }

/* Blinking caret in Rio's input bar so it reads as a live text field */
.tx-rio-inputbar .ph::after {
	content: ""; display: inline-block;
	width: 1.5px; height: 12px; margin-left: 3px; vertical-align: -2px;
	background: #9db0e0;
	animation: txCaret 1.1s steps(1) infinite;
}
@keyframes txCaret { 50% { opacity: 0; } }

/* Light showcase demos: lift, deepen and warm up on hover */
.tx-show-demo { transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease; }
.tx-show-demo:hover {
	transform: translateY(-6px);
	border-color: rgba(33,150,243,0.28);
	box-shadow: 0 42px 90px -36px rgba(13,46,84,0.5);
}

/* Touch devices can't hover-tilt, so the AI cards idle-float instead,
   offset so the three never bob in sync */
@media (hover: none) {
	.tx-ai-console, .tx-ai-markdemo { animation: txCardIdle 7s ease-in-out infinite; }
	.tx-ai-markdemo { animation-delay: -2.3s; }
	.tx-ai-riodemo { animation: txCardIdle 7s ease-in-out -4.6s infinite, txRioBreathe 6s ease-in-out infinite; }
}
@keyframes txCardIdle {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-7px); }
}

/* Small screens: tighten the demo cards so they fill the viewport neatly */
@media (max-width: 767px) {
	.tx-ai-console, .tx-ai-markdemo { margin-bottom: 10px; }
	.tx-ai-riodemo { margin-bottom: 10px; }
	.tx-show-demo { padding: 20px; margin-bottom: 8px; }
}
@media (max-width: 575px) {
	.tx-ai-console { padding: 14px; border-radius: 20px; }
	.tx-ai-console::before { border-radius: 22px; }
	.tx-ai-markdemo { padding: 14px; border-radius: 18px; }
	.tx-ai-markdemo::before { border-radius: 20px; }
	.tx-ai-riodemo { border-radius: 22px; }
	.tx-ai-q { padding: 12px 13px; }
	.tx-insight { padding: 13px 13px 11px; }
	.tx-gc-card .stats { gap: 12px; }
	.tx-rio-head { padding: 13px 14px; gap: 9px; }
	.tx-rio-chips { padding: 10px 14px 0; }
	.tx-ai-riochat { padding: 10px 14px 0; }
	.tx-rio-inputbar { margin: 10px 14px 0; }
	.tx-show-demo { padding: 16px; }
	.tx-toasts { right: 14px; bottom: 58px; }
}

/* Reduced motion: settle the v3 additions too */
@media (prefers-reduced-motion: reduce) {
	.tx-ai-markdemo::before, .tx-ai-riodemo, .tx-rio-inputbar .ph::after,
	.tx-ai-console, .tx-ai-markdemo { animation: none !important; }
	.tx-show-demo { transition: none !important; }
}

/* ---- "I'm a tutor" portal transition (js/pages/tutors_transition.js) ---- */
.tx-portal {
	position: fixed; inset: 0; z-index: 99990;
	pointer-events: none;
	overflow: hidden;
	will-change: clip-path;
}
html.tx-transit { cursor: progress; }
html.tx-transit .tx-portal { pointer-events: auto; }
.tx-portal-bg {
	position: absolute; inset: 0;
	background:
		radial-gradient(900px 600px at 50% 40%, rgba(0,188,212,0.30), transparent 65%),
		radial-gradient(700px 500px at 20% 90%, rgba(105,240,174,0.16), transparent 65%),
		linear-gradient(160deg, #061a33 0%, #0b2a4d 55%, #0d3560 100%);
}
.tx-portal-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.9), transparent 100%);
	mask-image: radial-gradient(60% 60% at 50% 50%, rgba(0,0,0,0.9), transparent 100%);
}
.tx-portal-glow {
	position: absolute; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0,229,255,0.55) 0%, rgba(0,229,255,0.18) 40%, transparent 70%);
	filter: blur(6px);
}
.tx-portal-core {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 22px; color: #fff;
}
.tx-portal-icon {
	width: 118px; height: 118px; border-radius: 32px;
	display: grid; place-items: center;
	font-size: 52px; color: #fff;
	background: linear-gradient(135deg, #2196f3, #00e5ff 55%, #69f0ae);
	box-shadow:
		0 30px 70px -20px rgba(0,229,255,0.7),
		0 0 0 1px rgba(255,255,255,0.25) inset,
		0 0 60px rgba(0,229,255,0.35);
	opacity: 0;
}
.tx-portal-label {
	font-family: 'Poppins', sans-serif;
	font-weight: 800; font-size: 34px; letter-spacing: -0.6px;
	display: flex;
}
.tx-portal-label span { display: inline-block; opacity: 0; }
@media (max-width: 767.98px) {
	.tx-portal-icon { width: 92px; height: 92px; border-radius: 26px; font-size: 40px; }
	.tx-portal-label { font-size: 26px; }
}

/* ==== v7: January 2027 launch page (hero loop picture, four-step loop,
   teaching / students rows, reservation form) ==== */
#how-it-works, #teaching, #why, #students, #event, #companies, #reserve { scroll-margin-top: 80px; }


/* -- Shared device frames: laptop, phone, printed paper -- */
.tx-laptop { position: relative; }
.tx-laptop-screen {
	background: #fff; border: 8px solid #101a2e; border-bottom-width: 10px;
	border-radius: 14px 14px 4px 4px; padding: 12px; overflow: hidden;
	box-shadow: 0 30px 70px -30px rgba(2,18,41,0.7);
}
.tx-laptop-base {
	height: 12px; margin: 0 -22px; border-radius: 2px 2px 14px 14px;
	background: linear-gradient(180deg, #d9e2ee, #a9b6c8);
	box-shadow: 0 14px 24px -12px rgba(2,18,41,0.6);
}
.tx-phone {
	width: 150px; padding: 7px; border-radius: 26px; background: #101a2e;
	box-shadow: 0 26px 50px -18px rgba(2,18,41,0.75), 0 0 0 1px rgba(255,255,255,0.12);
}
.tx-phone-screen {
	border-radius: 20px; background: #131a2b; color: #eef1f8; padding: 16px 10px 10px;
	display: flex; flex-direction: column; gap: 6px; min-height: 250px; overflow: hidden;
}
.tx-paper {
	width: 150px; background: #fff; border-radius: 4px; padding: 14px 13px 16px;
	display: flex; flex-direction: column; gap: 6px; color: #0f2038;
	box-shadow: 0 22px 40px -18px rgba(2,18,41,0.6), 0 0 0 1px rgba(13,46,84,0.08);
}
.tx-paper-brand { font-size: 9px; }
.tx-paper b { font-size: 10.5px; line-height: 1.3; padding-bottom: 6px; border-bottom: 1.5px solid #0f2038; }
.tx-paper .ln { height: 4px; border-radius: 2px; background: #d5dde8; }
.tx-paper .ln.w90 { width: 90%; } .tx-paper .ln.w80 { width: 80%; }
.tx-paper .ln.w70 { width: 70%; } .tx-paper .ln.w60 { width: 60%; }
.tx-paper .qn { font-size: 9px; font-weight: 800; margin-top: 4px; }
.tx-paper .box { height: 22px; border: 1px dashed #b4c0d0; border-radius: 3px; }







/* -- Reserve your place: closing CTA + form -- */
.tx-reserve { padding: 20px 0 60px; background: #f7fafe; }
.tx-reserve-card {
	position: relative; isolation: isolate; overflow: hidden;
	border-radius: 30px; padding: 56px 52px; color: #fff;
	background: #0b1f3f;
	box-shadow: 0 40px 80px -36px rgba(13,36,71,0.8), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
/* gradient hairline border */
.tx-reserve-card::before {
	content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
	background: linear-gradient(135deg, rgba(0,229,255,0.55), rgba(255,255,255,0.08) 35%, rgba(255,255,255,0.05) 65%, rgba(105,240,174,0.5));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
}
.tx-reserve-aurora { position: absolute; inset: -20%; z-index: -2; pointer-events: none; filter: blur(60px); opacity: 0.9; }
.tx-reserve-aurora span { position: absolute; border-radius: 50%; mix-blend-mode: screen; will-change: transform; }
.tx-reserve-aurora .a { width: 60%; height: 70%; left: -10%; top: -10%; background: radial-gradient(closest-side, rgba(0,229,255,0.55), transparent 70%); animation: txAuroraA 16s ease-in-out infinite alternate; }
.tx-reserve-aurora .b { width: 55%; height: 65%; right: -8%; bottom: -14%; background: radial-gradient(closest-side, rgba(33,150,243,0.75), transparent 70%); animation: txAuroraB 19s ease-in-out infinite alternate; }
.tx-reserve-aurora .c { width: 40%; height: 50%; left: 42%; top: 20%; background: radial-gradient(closest-side, rgba(15,148,253,0.45), transparent 70%); animation: txAuroraC 23s ease-in-out infinite alternate; }
@keyframes txAuroraA { to { transform: translate(18%, 14%) scale(1.15); } }
@keyframes txAuroraB { to { transform: translate(-16%, -12%) scale(1.1); } }
@keyframes txAuroraC { to { transform: translate(-22%, 18%) scale(0.9); } }
.tx-reserve-grid {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask-image: radial-gradient(700px 420px at 30% 40%, rgba(0,0,0,0.9), transparent 75%); mask-image: radial-gradient(700px 420px at 30% 40%, rgba(0,0,0,0.9), transparent 75%);
}
.tx-reserve-card h2 { color: #fff; font-weight: 800; letter-spacing: -0.8px; line-height: 1.1; font-size: 40px; }
.tx-reserve-card p { color: rgba(255,255,255,0.82); line-height: 1.75; }
.tx-reserve-pitch { padding-right: 36px; }
.tx-live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #69f0ae; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 0 rgba(105,240,174,0.6); animation: txLivePulse 2s ease-out infinite; }
@keyframes txLivePulse { 0% { box-shadow: 0 0 0 0 rgba(105,240,174,0.6); } 100% { box-shadow: 0 0 0 10px rgba(105,240,174,0); } }

/* countdown */
.tx-countdown { display: flex; align-items: center; gap: 8px; margin: 22px 0 26px; }
.tx-cd { min-width: 64px; padding: 10px 8px 8px; text-align: center; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tx-cd b { display: block; font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -0.5px; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #b3e5fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tx-cd small { display: block; margin-top: 5px; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.tx-cd-sep { font-size: 22px; font-weight: 800; color: rgba(255,255,255,0.35); margin-top: -12px; }

/* what happens next */
.tx-reserve-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.tx-reserve-steps li { display: flex; align-items: flex-start; gap: 12px; }
.tx-reserve-steps li i { flex: none; width: 36px; height: 36px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #0b1f3f; background: linear-gradient(135deg, #8fe3ff, #69f0ae); box-shadow: 0 8px 18px -8px rgba(0,229,255,0.7); }
.tx-reserve-steps li b { display: block; font-size: 14.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.tx-reserve-steps li span { display: block; font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.5; margin-top: 2px; }

/* glass form panel */
.tx-reserve-panel { position: relative; border-radius: 22px; padding: 30px 30px 26px; background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.8), 0 1px 0 rgba(255,255,255,0.08) inset; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: border-color 0.4s ease, background 0.4s ease; }
.tx-reserve-panel.is-done { border-color: rgba(105,240,174,0.35); background: rgba(105,240,174,0.04); }
.tx-field { margin-bottom: 16px; }
.tx-reserve-form label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.2px; color: rgba(255,255,255,0.9); margin: 0 0 7px; }
.tx-reserve-form label small { font-weight: 500; color: rgba(255,255,255,0.55); }
.tx-field-box { position: relative; display: flex; align-items: flex-start; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.14); background: rgba(8,22,46,0.55); transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease; }
.tx-field-box > i { flex: none; width: 44px; padding-top: 14px; text-align: center; font-size: 14px; color: rgba(255,255,255,0.4); transition: color 0.2s ease; }
.tx-field-box input, .tx-field-box textarea { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: #fff; padding: 12px 14px 12px 0; font-size: 15px; outline: none; resize: vertical; line-height: 1.4; }
.tx-field-box input::placeholder, .tx-field-box textarea::placeholder { color: rgba(255,255,255,0.35); }
.tx-field-box:focus-within { border-color: #4fc3f7; background: rgba(8,22,46,0.8); box-shadow: 0 0 0 4px rgba(79,195,247,0.18), 0 10px 30px -18px rgba(79,195,247,0.6); }
.tx-field-box:focus-within > i { color: #8fe3ff; }
.tx-field-box.invalid { border-color: #ff8a80 !important; box-shadow: 0 0 0 4px rgba(255,138,128,0.18); animation: txShake 0.35s ease; }
@keyframes txShake { 0%,100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.tx-reserve-form input:-webkit-autofill, .tx-reserve-form textarea:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #0f2a52 inset; transition: background-color 9999s ease-out; }
.tx-reserve-form .tx-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* pilot toggle card */
.tx-reserve-form .tx-reserve-check { position: relative; display: flex; align-items: center; gap: 14px; margin: 4px 0 0; padding: 13px 16px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03); cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; }
.tx-reserve-check:hover { border-color: rgba(255,255,255,0.25); }
.tx-reserve-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.tx-pilot-box { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; font-size: 12px; color: #0b1f3f; transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease; }
.tx-pilot-box i { opacity: 0; transform: scale(0.5); transition: opacity 0.15s ease, transform 0.2s cubic-bezier(.2,1.6,.4,1); }
.tx-reserve-check input:checked ~ .tx-pilot-box { background: linear-gradient(135deg, #8fe3ff, #69f0ae); border-color: transparent; transform: scale(1.05); }
.tx-reserve-check input:checked ~ .tx-pilot-box i { opacity: 1; transform: scale(1); }
.tx-reserve-check:has(input:checked) { border-color: rgba(105,240,174,0.5); background: rgba(105,240,174,0.07); }
.tx-reserve-check input:focus-visible ~ .tx-pilot-box { box-shadow: 0 0 0 4px rgba(79,195,247,0.3); }
.tx-pilot-copy b { display: block; font-size: 14px; font-weight: 700; color: #fff; }
.tx-pilot-copy b i { color: #ffd54f; margin-right: 4px; font-size: 12px; }
.tx-pilot-copy small { display: block; font-size: 12.5px; color: rgba(255,255,255,0.6); margin-top: 1px; }

.tx-reserve-card .tx-reserve-error { color: #ffccbc; font-size: 14px; font-weight: 600; margin: 14px 0 0; }
.tx-reserve-btn { position: relative; margin-top: 20px; display: inline-flex; align-items: center; gap: 10px; overflow: hidden; }
.tx-reserve-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(13,71,161,0.12) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s ease; }
.tx-reserve-btn:hover::before { transform: translateX(120%); }
.tx-reserve-btn .tx-btn-arrow { transition: transform 0.2s ease; }
.tx-reserve-btn:hover .tx-btn-arrow { transform: translateX(4px); }
.tx-reserve-btn .tx-btn-busy { display: none; }
.tx-reserve-form.busy .tx-reserve-btn .tx-btn-label, .tx-reserve-form.busy .tx-reserve-btn .tx-btn-arrow { display: none; }
.tx-reserve-form.busy .tx-reserve-btn .tx-btn-busy { display: inline-flex; align-items: center; gap: 8px; }
.tx-reserve-form button:disabled { opacity: 0.75; cursor: progress; transform: none; }
.tx-reserve-card .tx-reserve-note { font-size: 12.5px; color: rgba(255,255,255,0.6); margin: 14px 0 0; }
.tx-reserve-card .tx-reserve-note i { font-size: 10px; margin-right: 4px; color: #69f0ae; }

/* success: the ticket */
.tx-reserve-done { position: relative; text-align: center; padding: 14px 6px 10px; opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2,1.2,.3,1); }
.tx-reserve-done.show { opacity: 1; transform: none; }
.tx-reserve-done h3 { color: #fff; font-weight: 800; margin: 24px 0 8px; }
.tx-reserve-done p { margin: 0; }
.tx-ticket { position: relative; max-width: 380px; margin: 0 auto; padding: 22px 26px 18px; border-radius: 20px; color: #0f1f33; text-align: left; background: linear-gradient(160deg, #ffffff, #e9f5ff); box-shadow: 0 30px 60px -28px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.5) inset; transform: rotate(-1.5deg); }
.tx-reserve-done.show .tx-ticket { animation: txTicketIn 0.9s cubic-bezier(.2,1.4,.3,1) both; }
@keyframes txTicketIn { 0% { transform: rotate(-8deg) translateY(30px) scale(0.85); opacity: 0; } 100% { transform: rotate(-1.5deg); opacity: 1; } }
.tx-ticket-top { display: flex; justify-content: space-between; font-size: 10px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: #8a99a8; }
.tx-ticket-name { margin-top: 8px; font-size: 24px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; overflow-wrap: anywhere; }
.tx-ticket-sub { margin-top: 4px; font-size: 13px; font-weight: 700; color: #1565c0; }
.tx-ticket-sub i { color: #2e7d32; margin-right: 4px; }
.tx-ticket-tear { position: relative; height: 0; margin: 16px -26px 14px; border-top: 2px dashed #c9d6e8; }
.tx-ticket-tear::before, .tx-ticket-tear::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: #0b1f3f; }
.tx-ticket-tear::before { left: -11px; } .tx-ticket-tear::after { right: -11px; }
.tx-ticket-foot { font-size: 12.5px; font-weight: 600; color: #55657a; }
.tx-ticket-foot i { color: #1565c0; margin-right: 6px; }
.tx-sparkles { position: absolute; left: 50%; top: 40%; width: 0; height: 0; pointer-events: none; }
.tx-sparkles span { position: absolute; left: 0; top: 0; width: var(--size, 8px); height: var(--size, 8px); border-radius: 2px; background: var(--hue, #fff); opacity: 0; }
.tx-reserve-done.show .tx-sparkles span { animation: txSparkle 1.3s cubic-bezier(.1,.8,.3,1) var(--delay, 0ms) both; }
@keyframes txSparkle { 0% { opacity: 0; transform: translate(0,0) rotate(0) scale(0.4); } 10% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(260deg) scale(1); } }

.tx-reserve-form[hidden], .tx-reserve-done[hidden], .tx-reserve-error[hidden] { display: none !important; }
.tx-reserve-legal { text-align: center; font-size: 13px; color: var(--ix-muted, #8a99a8); line-height: 1.8; margin: 34px 0 0; }
.tx-reserve-legal a { color: inherit; text-decoration: underline; }


/* ==== v8: mockups redrawn as miniature replicas of the real Tutorio UI ====
   Palette comes straight from the app: Tutorio blue (#008cff / #4dabff) for
   the course page and practice, indigo (#6366f1) only in the nav chrome,
   light surfaces (#f8fafc) and deep navy (#0b1120) for the Live HUD. */
.tx-mock-window, .tx-laptop-screen, .tx-phone-screen { font-family: Poppins, system-ui, sans-serif; }

/* -- Hero laptop: the tutor's course page -- */
/* Real wordmark SVG at mock scale (see tutorsBrand in tutors.templ). */
.tx-brand { display: inline-flex; align-items: center; flex: none; line-height: 0; }
.tx-brand svg { height: 1em; width: auto; display: block; overflow: visible; }
.tx-logo { font-size: 13px; margin-right: 2px; }

/* -- Phone frames: student practice (hero) and student home (students row) -- */
.tx-phone-screen.tx-practice { background: #fff; color: #0f172a; padding: 12px 9px 10px; gap: 7px; }
.tx-pr-top { display: flex; align-items: center; gap: 4px; }
.tx-pr-top > i { color: #64748b; font-size: 10px; margin-right: auto; }
.tx-pr-pill { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 700; color: #0f172a; background: #fff; border: 1px solid #e7ebf3; border-radius: 999px; padding: 2px 7px; white-space: nowrap; }
.tx-pr-pill .fa-heart { color: #f50000; }
.tx-pr-pill .fa-fire { color: #f97316; }
.tx-pr-lvl { position: relative; width: 26px; height: 16px; border-radius: 999px; background: #fff; border: 1px solid #e7ebf3; flex: none; }
.tx-pr-lvl b { position: absolute; left: 1px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: #008cff; color: #fff; font-size: 7px; display: flex; align-items: center; justify-content: center; }
.tx-pr-lvl::after { content: ""; position: absolute; right: 1px; top: 1px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, #48a9f8, #008cff); }
.tx-pr-progress { display: flex; align-items: center; gap: 5px; background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(244,247,252,0.9)); border: 1px solid rgba(47,107,255,0.12); border-radius: 999px; padding: 3px 6px 3px 3px; box-shadow: 0 4px 14px rgba(26,32,37,0.06); }
.tx-pr-progress .count { font-size: 7.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #008cff, #6b9bff); border-radius: 999px; padding: 2px 6px; white-space: nowrap; }
.tx-pr-progress .track { flex: 1; height: 5px; border-radius: 999px; background: #e6ebf3; box-shadow: inset 0 1px 2px rgba(26,32,37,0.1); overflow: hidden; }
.tx-pr-progress .track span { display: block; width: 66%; height: 100%; background: linear-gradient(90deg, #008cff, #6b9bff); border-radius: 999px; box-shadow: 0 0 8px rgba(47,107,255,0.45); }
.tx-pr-progress .togo { font-size: 7.5px; font-weight: 800; color: #5b6575; white-space: nowrap; }
.tx-pr-card { background: #fff; border-radius: 8px; padding: 10px 9px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 8px 12px 0 rgba(0,0,0,0.05); border: 1px solid #eef2f7; }
.tx-ph-kicker { font-size: 8px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #008cff; }
.tx-ph-title { font-size: 11.5px; font-weight: 700; line-height: 1.3; }
.tx-practice .tx-ph-title { font-size: 11.5px; line-height: 1.3; color: #0f172a; margin-bottom: 2px; }
.tx-practice .tx-ph-opt { display: flex; align-items: center; gap: 6px; font-size: 9.5px; font-weight: 500; color: #0f172a; background: #fafafa; border: 2px solid #f0f0f0; border-radius: 12px; padding: 6px 8px; }
.tx-practice .tx-ph-opt .ind { width: 14px; height: 14px; border-radius: 5px; border: 1.5px solid #eee; background: #fff; color: #bbb; font-size: 7px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.tx-practice .tx-ph-opt.right { background: #e8f5e9; border-color: #4caf50; color: #2e7d32; font-weight: 600; box-shadow: 0 4px 12px rgba(76,175,80,0.2); }
.tx-practice .tx-ph-opt.right .ind { background: #4caf50; border-color: #4caf50; color: #fff; }
.tx-pr-continue { margin-top: auto; text-align: center; font-size: 10px; font-weight: 600; color: #008cff; background: rgba(0,140,255,0.1); border: 2px solid rgba(0,140,255,0.1); border-radius: 999px; padding: 7px; }

/* -- Image 2: the real Live HUD -- */
.tx-mock-window.tx-live {
	background: #0b1120; color: #e5e9f3; border-color: rgba(255,255,255,0.08);
	padding: 8px; display: flex; flex-direction: column; gap: 7px;
	box-shadow: 0 40px 90px -30px rgba(2,8,23,0.9), 0 0 60px -20px rgba(10,151,243,0.4);
}
.tx-hud { display: flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; }
.tx-hud-live { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 800; color: #fff; white-space: nowrap; margin-right: 2px; }
.tx-hud-live em { font-style: normal; font-weight: 600; color: #94a3b8; font-size: 9px; }
.tx-hud-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #ef4444; animation: txLivePulse 1.4s ease-in-out infinite; }
.tx-hud-group { display: inline-flex; align-items: center; gap: 4px; flex: none; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; padding: 3px 5px 3px 3px; min-width: 0; }
.tx-hud-step { font-size: 8px; font-weight: 800; color: #fff; background: #3b82f6; border-radius: 999px; padding: 2px 6px; white-space: nowrap; }
.tx-hud-bar { flex: none; width: 46px; height: 6px; border-radius: 999px; background: rgba(255,255,255,0.1); overflow: hidden; position: relative; }
.tx-hud-bar .fill { position: absolute; inset: 0 auto 0 0; width: 38%; border-radius: 999px; background: linear-gradient(90deg, #0a97f3, #2a91fa); animation: txHudFill 6s ease-in-out infinite; }
@keyframes txHudFill { 0%, 30% { width: 38%; } 60%, 100% { width: 50%; } }
.tx-hud-ic { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 700; color: #cbd5e1; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; padding: 3px 7px; white-space: nowrap; }
.tx-hud-group .tx-hud-ic { background: transparent; border: 0; padding: 0 3px; color: #94a3b8; }
.tx-hud-ic.round { width: 20px; height: 20px; padding: 0; justify-content: center; border-radius: 50%; flex: none; }
.tx-hud-ic.ok { color: #34d399; }
.tx-hud-ic.star { color: #fbbf24; }
.tx-hud-btn { display: inline-flex; align-items: center; gap: 4px; font-size: 8.5px; font-weight: 700; color: #e2e8f0; background: #111a2e; border: 1px solid rgba(255,255,255,0.1); border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.tx-hud-next { font-size: 9px; font-weight: 800; color: #fff; border-radius: 999px; padding: 4px 11px; white-space: nowrap; background: linear-gradient(90deg, #0a97f3, #2a91fa, #ec4899); box-shadow: 0 6px 14px -6px rgba(42,145,250,0.8); }
.tx-hud-right { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }
/* The mock window is only ~420px wide, so the HUD drops the Responses button, the back arrow and the chart/trophy icons that the real HUD carries, and the strip drops the Add Student card. */
.tx-hud-btn, .tx-hud > .tx-hud-ic.round, .tx-hud-right .tx-hud-ic.round, .tx-student.add { display: none; }
.tx-stage {
	position: relative; border-radius: 12px; padding: 12px 36px 16px 12px;
	background: #0f172a; border: 1.5px solid rgba(34,197,94,0.75);
	box-shadow: 0 0 0 1px rgba(34,197,94,0.15), inset 0 0 40px rgba(34,197,94,0.05);
}
.tx-points { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; background: #121c33; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 4px 8px; }
.tx-points > i { width: 18px; height: 18px; border-radius: 50%; background: #fbbf24; color: #fff; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.tx-points span { display: flex; flex-direction: column; line-height: 1.05; font-size: 8px; color: #94a3b8; white-space: nowrap; }
.tx-points small { display: block; font-size: 6.5px; letter-spacing: 1px; text-transform: uppercase; color: #94a3b8; }
.tx-points .v { flex-direction: row; align-items: baseline; gap: 2px; white-space: nowrap; }
.tx-points b { color: #fff; font-size: 10px; }
.tx-stage-tools { position: absolute; right: 36px; top: 10px; display: flex; gap: 3px; }
.tx-stage-tools i { width: 18px; height: 18px; border-radius: 6px; background: #121c33; border: 1px solid rgba(255,255,255,0.08); color: #94a3b8; font-size: 8px; display: flex; align-items: center; justify-content: center; }
.tx-stage-q { margin: 38px 0 8px; text-align: center; font-size: 11px; font-weight: 700; color: #fff; line-height: 1.35; }
.tx-tray { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; border: 1px dashed rgba(255,255,255,0.14); border-radius: 10px; padding: 6px; }
.tx-token { font-size: 8.5px; font-weight: 700; color: #fff; background: #2f80ff; border-radius: 999px; padding: 3px 8px; white-space: nowrap; box-shadow: 0 4px 10px -6px rgba(47,128,255,0.8); }
.tx-bins { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.tx-bin { min-height: 56px; border-radius: 10px; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); padding: 5px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.tx-bin .hd { align-self: stretch; text-align: center; font-size: 8px; font-weight: 700; color: #60a5fa; border: 1px solid rgba(96,165,250,0.35); border-radius: 999px; padding: 2px 6px; }
.tx-token.in { animation: txTokenIn 6s ease-in-out infinite; }
.tx-bin:nth-child(2) .tx-token.in { animation-delay: 1.4s; }
@keyframes txTokenIn { 0%, 20% { opacity: 0; transform: translateY(-14px) scale(0.9); } 35%, 100% { opacity: 1; transform: none; } }
.tx-draw { position: absolute; right: 7px; top: 50%; transform: translateY(-50%); width: 22px; display: flex; flex-direction: column; align-items: center; gap: 4px; background: #121c33; border: 1px solid rgba(255,255,255,0.08); border-radius: 999px; padding: 5px 0; }
.tx-draw .t { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #cbd5e1; font-size: 7.5px; }
.tx-draw .t.on { background: #3b82f6; color: #fff; }
.tx-draw .c { width: 8px; height: 8px; border-radius: 50%; }
.tx-draw .c1 { background: #fff; box-shadow: 0 0 0 1.5px #1d93f9; }
.tx-draw .c2 { background: #ef4444; }
.tx-draw .c3 { background: #22c55e; }
.tx-stage-line { position: absolute; left: 12px; right: 36px; bottom: 7px; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.tx-stage-line span { display: block; width: 92%; height: 100%; background: #3b82f6; border-radius: 999px; }
.tx-answering { display: flex; align-items: center; gap: 6px; font-size: 8.5px; color: #cbd5e1; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 5px 8px; white-space: nowrap; overflow: hidden; }
.tx-answering b { color: #fff; }
.tx-answering .tag { font-size: 7px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #fff; background: #1b86d7; border-radius: 999px; padding: 2px 7px; flex: none; }
.tx-answering .tag i { margin-right: 2px; font-size: 7px; }
.tx-reveal-row { display: flex; align-items: center; gap: 8px; padding: 0 2px; }
.tx-reveal { flex: 1; text-align: center; font-size: 11px; font-weight: 800; color: #fff; border-radius: 999px; padding: 8px; background: linear-gradient(90deg, #0a97f3, #2a91fa 55%, #ec4899); box-shadow: 0 10px 24px -10px rgba(42,145,250,0.9); border: 1px solid rgba(255,255,255,0.25); }
.tx-strip { display: flex; align-items: center; gap: 5px; padding: 2px 0 0; min-width: 0; }
.tx-student { display: flex; flex-direction: column; align-items: center; gap: 3px; background: #111a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 6px 7px 5px; min-width: 56px; }
.tx-student .name { font-size: 7.5px; font-weight: 700; color: #e2e8f0; white-space: nowrap; }
.tx-student.add { border-style: dashed; background: transparent; }
.tx-student.add .tx-avatar { background: #1e293b; color: #94a3b8; font-size: 9px; }
.tx-student.add .name { color: #94a3b8; }
.tx-avatar { position: relative; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-size: 8px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; }
.tx-avatar i { position: absolute; right: -3px; top: -3px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; color: #fff; font-size: 6px; display: flex; align-items: center; justify-content: center; border: 1.5px solid #111a2e; }
.tx-avatar.av1 { background: linear-gradient(135deg, #0a97f3, #1d93f9); }
.tx-avatar.av2 { background: linear-gradient(135deg, #0ea5e9, #0a97f3); }
.tx-avatar.av3 { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.tx-avatar.av4 { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.tx-strip-more { font-size: 8.5px; font-weight: 700; color: #94a3b8; white-space: nowrap; margin-left: 2px; }
.tx-strip-end { margin-left: auto; font-size: 8.5px; font-weight: 800; color: #fca5a5; background: rgba(239,68,68,0.14); border: 1px solid rgba(239,68,68,0.35); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.tx-strip-end i { margin-right: 2px; }
@media (max-width: 1199px) {
	.tx-strip .tx-student:nth-child(4) { display: none; }
}
@media (max-width: 575px) {
	.tx-hud-bar, .tx-hud-live em, .tx-hud-right .tx-hud-ic:not(.star), .tx-strip-more { display: none; }
	.tx-strip { overflow: hidden; }
	.tx-student { min-width: 52px; padding: 6px 5px 5px; }
	.tx-stage { padding-right: 12px; }
	.tx-draw, .tx-stage-tools { display: none; }
	.tx-stage-line { right: 12px; }
}

/* -- Image 3: the student home, phone in front of laptop -- */
.tx-dash-laptop .tx-laptop-screen { background: #f6f8fc; color: #0f172a; padding: 0 0 12px 0; min-height: 300px; }
.tx-dash-phone .tx-phone-screen { background: #f6f8fc; color: #0f172a; min-height: 340px; padding: 10px 8px 8px; gap: 7px; }
.tx-dv { display: flex; flex-direction: column; gap: 8px; }
.tx-dash-laptop .tx-dv { padding-left: 54px; }
.tx-dv-bar { display: flex; align-items: center; gap: 4px; padding: 0 0 2px; }
.tx-dash-laptop .tx-dv-bar { padding: 7px 12px; margin: 0 0 2px -54px; background: #fff; border-bottom: 1px solid #e7ebf3; }
.tx-dv-bar .menu { width: 20px; height: 20px; border-radius: 6px; background: #fff; border: 1px solid #e7ebf3; color: #0f172a; font-size: 9px; display: flex; align-items: center; justify-content: center; margin-right: auto; }
.tx-dv-hero {
	position: relative; margin: 0 10px 0 0; padding: 12px 12px 12px; border-radius: 16px; color: #fff; display: flex; flex-direction: column; gap: 3px;
	background: radial-gradient(160px 100px at 90% 10%, rgba(255,255,255,0.16), transparent 60%), radial-gradient(120px 90px at 0% 100%, rgba(255,255,255,0.12), transparent 60%), linear-gradient(130deg, #0e80d0 0%, #0a97f3 45%, #1d93f9 100%);
	box-shadow: 0 14px 30px -16px rgba(14,128,208,0.7);
}
.tx-dash-phone .tx-dv-hero { margin: 0; padding: 12px 10px; }
.tx-dv-hero .hi { font-size: 8.5px; font-weight: 600; opacity: 0.9; }
.tx-dv-hero .who { font-size: 17px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.1; }
.tx-dv-hero .sub { font-size: 8.5px; line-height: 1.35; opacity: 0.95; margin-top: 2px; padding-right: 54px; }
.tx-dash-phone .tx-dv-hero .sub { padding-right: 0; }
.tx-dv-hero .sub em { font-style: normal; font-weight: 700; color: #fde68a; }
.tx-dv-hero .acts { display: flex; gap: 5px; margin-top: 7px; }
.tx-dv-hero .acts span { font-size: 8.5px; font-weight: 800; border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.tx-dv-hero .acts .a1 { background: #fff; color: #0e80d0; }
.tx-dv-hero .acts .a2 { color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.tx-dv-hero .lvl { position: absolute; right: 12px; top: 14px; display: flex; flex-direction: column; align-items: center; }
.tx-dash-phone .tx-dv-hero .lvl { display: none; }
.tx-dv-hero .lvl .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #2a91fa, #ec4899); border: 3px solid rgba(255,255,255,0.55); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.tx-dv-hero .lvl small { margin-top: -6px; font-size: 6.5px; font-weight: 800; letter-spacing: 0.5px; background: #f59e0b; color: #fff; border-radius: 999px; padding: 2px 6px; }
.tx-dv-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-right: 10px; }
.tx-dash-phone .tx-dv-stats { grid-template-columns: 1fr 1fr; margin-right: 0; }
.tx-dv-stats .st { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 12px; padding: 7px 8px; box-shadow: 0 4px 14px -10px rgba(15,23,42,0.3); border: 1px solid #eef2f7; min-width: 0; }
.tx-dv-stats .ic { width: 22px; height: 22px; border-radius: 8px; font-size: 10px; display: flex; align-items: center; justify-content: center; flex: none; }
.tx-dv-stats .i1 { background: #fff1e6; color: #f97316; }
.tx-dv-stats .i2 { background: #e8f7ff; color: #0a97f3; }
.tx-dv-stats .i3 { background: #fef3c7; color: #d97706; }
.tx-dv-stats .i4 { background: #ffe4e6; color: #e11d48; }
.tx-dv-stats .st > span { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.tx-dv-stats .st b { font-size: 10px; color: #0f172a; white-space: nowrap; }
.tx-dv-stats .st small { font-size: 7px; color: #64748b; white-space: nowrap; }
.tx-dash-phone .tx-dv-hero .acts .a2 { display: none; }
.tx-dv-task { display: flex; margin-right: 10px; background: #fff; border-radius: 14px; overflow: hidden; border: 1px solid #eef2f7; box-shadow: 0 8px 22px -14px rgba(15,23,42,0.35); }
.tx-dash-phone .tx-dv-task { margin-right: 0; }
.tx-dv-task .art { position: relative; width: 64px; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #f43f5e 0%, #f97316 100%); color: #fff; }
.tx-dash-phone .tx-dv-task .art { width: 48px; }
.tx-dv-task .art > i { width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.tx-dv-task .due { position: absolute; left: 5px; top: 5px; font-size: 6px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; background: rgba(255,255,255,0.22); border-radius: 999px; padding: 2px 5px; white-space: nowrap; }
.tx-dv-task .body { flex: 1; min-width: 0; padding: 8px 9px; display: flex; flex-direction: column; gap: 3px; }
.tx-dv-task .k { font-size: 7px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #e11d48; }
.tx-dv-task b { font-size: 11px; font-weight: 800; color: #0f172a; letter-spacing: -0.2px; line-height: 1.2; }
.tx-dv-task .chip { align-self: flex-start; font-size: 6.5px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: #0e80d0; background: #e8f7ff; border-radius: 999px; padding: 2px 6px; }
.tx-dv-task .prog { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.tx-dv-task .track { flex: 1; height: 5px; border-radius: 999px; background: #e2e8f0; overflow: hidden; }
.tx-dv-task .track span { display: block; width: 33%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f43f5e, #f97316); }
.tx-dv-task .prog small { font-size: 7px; font-weight: 700; color: #e11d48; white-space: nowrap; }
.tx-dv-nav { margin: auto auto 0; display: flex; gap: 6px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 8px 20px -10px rgba(15,23,42,0.35); border: 1px solid #eef2f7; }
.tx-dash-laptop .tx-dv-nav { display: none; }
.tx-dv-nav span { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 9px; }
.tx-dv-nav span.on { background: #e0ecff; color: #3b82f6; }

/* ---- Fixed-nav clearance ---- */
/* style.css gives body padding-top (100px; 80px under 768px) to clear the
   fixed nav, which is only ~73px tall - against the dark hero the leftover
   shows as a blank band. Extend the hero up behind the frosted nav instead;
   the content keeps its position. */
.tx-hero { margin-top: -100px; padding-top: 100px; }
@media (max-width: 767.98px) {
	.tx-hero { margin-top: -80px; padding-top: 80px; }
}

/* ==== v9: the main page in the print poster's look ====
   Deep indigo page, the app gradient (#6366f1 -> #a855f7 -> #ec4899) for
   accents, white Poppins headings with a gradient second line, pill kickers
   and purple tick boxes. Everything here is scoped to .tx-page (the wrapper
   tutorsBody renders), so the old index document, /compliance, /help and
   /policies, which share the nav, footer and this stylesheet, are untouched. */
.tx-page {
	--tx-bg: #04121c;
	--tx-body: #bbd2e2;
	--tx-mute: #8ba6b8;
	--tx-ink: #071c2b;
	--tx-grad: linear-gradient(90deg, #0a97f3 0%, #2a91fa 55%, #ec4899 100%);
	--tx-grad-text: linear-gradient(90deg, #42b4fa 0%, #66b1fd 48%, #f472b6 100%);
	display: flow-root; position: relative;
	background: var(--tx-bg); color: var(--tx-body);
}
body:has(#page-root > .tx-page) { background: #04121c; }
.tx-page ::selection { background: rgba(42,145,250,0.4); color: #fff; }
.tx-page #faq { scroll-margin-top: 80px; }

/* -- Shared type: section headings, gradient text, kicker, head block -- */
.tx-page section h2 {
	font-size: clamp(29px, 3.3vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em;
	color: #fff; margin: 0; text-wrap: balance;
}
.tx-page .tx-grad {
	background: var(--tx-grad-text); -webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
	padding-bottom: 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.tx-page .tx-kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
	font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #99d1fe;
}
.tx-page .tx-kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--tx-grad); }
.tx-page .tx-head { text-align: center; max-width: 780px; margin: 0 auto 54px; }
.tx-page .tx-head p { color: var(--tx-body); font-size: 17.5px; line-height: 1.7; margin: 16px auto 0; max-width: 640px; }

/* -- Buttons -- */
.tx-page .tx-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	border: 0; border-radius: 999px; padding: 15px 30px; margin: 0;
	font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, filter 0.2s ease;
}
.tx-page .tx-btn i { font-size: 0.85em; transition: transform 0.2s ease; }
.tx-page .tx-btn:hover { transform: translateY(-2px); text-decoration: none; }
.tx-page .tx-btn:hover i { transform: translateX(3px); }
.tx-page .tx-btn:focus-visible { outline: 3px solid #99d1fe; outline-offset: 3px; }
.tx-page .tx-btn-primary {
	color: #fff; background: var(--tx-grad);
	box-shadow: 0 16px 36px -12px rgba(42,145,250,0.85), inset 0 1px 0 rgba(255,255,255,0.28);
}
.tx-page .tx-btn-primary:hover { color: #fff; filter: brightness(1.08); box-shadow: 0 22px 44px -12px rgba(42,145,250,0.95), inset 0 1px 0 rgba(255,255,255,0.28); }
.tx-page .tx-btn-ghost { color: #fff; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.24); }
.tx-page .tx-btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.14); }
.tx-page .tx-btn-light { color: #0c4c86; background: #fff; font-weight: 800; box-shadow: 0 16px 34px -14px rgba(2,19,31,0.8); }
.tx-page .tx-btn-light:hover { color: #0c4c86; }

/* -- Nav: dark glass on this page only -- */
.tx-page .ix-nav {
	background: rgba(4,18,28,0.9);
	border-bottom: 1px solid rgba(255,255,255,0.08);
	box-shadow: 0 14px 34px -24px rgba(0,0,0,0.9);
}
.tx-page .ix-brand-logo text { fill: #fff; }
.tx-page .ix-nav .navbar-nav .nav-link { color: #b8daf3; }
.tx-page .ix-nav .navbar-nav .nav-link:hover,
.tx-page .ix-nav .navbar-nav .nav-link.active { color: #fff; background: rgba(95,181,252,0.16); }
.tx-page .ix-nav .navbar-nav .nav-item.btn-download .nav-link,
.tx-page .ix-nav .navbar-nav .nav-item.btn-download .nav-link.active {
	color: #fff; background: var(--tx-grad); text-transform: none; letter-spacing: 0; font-size: 14.5px;
	box-shadow: 0 10px 24px -8px rgba(42,145,250,0.8), inset 0 1px 0 rgba(255,255,255,0.25);
}
.tx-page .ix-nav .navbar-nav .nav-item.btn-download .nav-link:hover { color: #fff; background: var(--tx-grad); filter: brightness(1.1); box-shadow: 0 14px 30px -8px rgba(42,145,250,0.9); }
.tx-page .ix-brand .tt-beta-chip { color: #fff; }
.tx-page .navbar-toggler.collapsed .navbar-toggler-icon,
.tx-page .navbar-toggler-icon::before,
.tx-page .navbar-toggler-icon::after { background: #fff; }

/* -- Hero -- */
.tx-page #home.tx-hero { background: none; overflow: hidden; isolation: isolate; padding-bottom: 84px; }
.tx-page .tx-hero-bg {
	position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
	background:
		radial-gradient(900px 640px at -8% 32%, rgba(37,99,235,0.36), transparent 62%),
		radial-gradient(940px 620px at 106% -6%, rgba(10,124,227,0.5), transparent 60%),
		radial-gradient(760px 520px at 96% 104%, rgba(236,72,153,0.16), transparent 62%),
		linear-gradient(180deg, #030e16 0%, #041521 58%, #04121c 100%);
}
.tx-page .tx-hero-bg .grid {
	position: absolute; inset: 0;
	background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(900px 560px at 62% 34%, rgba(0,0,0,0.9), transparent 76%);
	mask-image: radial-gradient(900px 560px at 62% 34%, rgba(0,0,0,0.9), transparent 76%);
}
.tx-page .tx-hero-bg .g1, .tx-page .tx-hero-bg .g2, .tx-page .tx-hero-bg .g3 { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform; }
.tx-page .tx-hero-bg .g1 { width: 420px; height: 420px; right: 8%; top: 12%; background: rgba(29,147,249,0.55); animation: txOrbA 18s ease-in-out infinite alternate; }
.tx-page .tx-hero-bg .g2 { width: 320px; height: 320px; left: 30%; bottom: 6%; background: rgba(10,151,243,0.4); animation: txOrbB 22s ease-in-out infinite alternate; }
.tx-page .tx-hero-bg .g3 { width: 260px; height: 260px; right: -60px; bottom: 18%; background: rgba(236,72,153,0.32); animation: txOrbA 26s ease-in-out infinite alternate-reverse; }
@keyframes txOrbA { to { transform: translate(-50px, 36px) scale(1.12); } }
@keyframes txOrbB { to { transform: translate(60px, -30px) scale(0.92); } }
.tx-page .tx-hero-inner { position: relative; padding-top: 76px; }
.tx-page .tx-hero-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 60px; align-items: center; }
.tx-page .tx-pill {
	display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
	padding: 9px 18px; border-radius: 999px;
	font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; line-height: 1.45; text-transform: uppercase; color: #fff;
	background: linear-gradient(90deg, rgba(14,128,208,0.92), rgba(42,145,250,0.92));
	border: 1px solid rgba(255,255,255,0.3);
	box-shadow: 0 0 36px -6px rgba(29,147,249,0.9), inset 0 1px 0 rgba(255,255,255,0.2);
}
.tx-page .tx-pill .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #fb7185; box-shadow: 0 0 0 0 rgba(251,113,133,0.7); animation: txPillPulse 2.2s ease-out infinite; }
@keyframes txPillPulse { to { box-shadow: 0 0 0 9px rgba(251,113,133,0); } }
.tx-page .tx-hero h1 {
	margin: 26px 0 22px; color: #fff; text-transform: none;
	font-size: clamp(35px, 4.05vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: -0.035em;
}
.tx-page .tx-hero h1 .l1, .tx-page .tx-hero h1 .tx-grad { display: block; text-wrap: balance; }
.tx-page .tx-hero-sub { margin: 0 0 24px; color: #fff; font-size: 21px; font-weight: 700; line-height: 1.38; letter-spacing: -0.01em; max-width: 520px; }
.tx-page .tx-hero-sub span { color: #99d1fe; }
.tx-page .tx-ticks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 13px; }
.tx-page .tx-ticks li { display: flex; align-items: flex-start; gap: 14px; color: #e3f3ff; font-size: 16.5px; font-weight: 600; line-height: 1.45; }
.tx-page .tx-ticks li i,
.tx-page .tx-check-list li i {
	flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
	font-size: 12px; color: #fff; background: linear-gradient(135deg, #0a97f3, #2a91fa);
	box-shadow: 0 8px 18px -8px rgba(29,147,249,0.9), inset 0 1px 0 rgba(255,255,255,0.3);
}
.tx-page .tx-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.tx-page .tx-hero-actions .tx-btn { margin: 0 !important; }
.tx-page .tx-hero-note { margin: 0; max-width: 520px; color: var(--tx-mute); font-size: 14px; line-height: 1.6; }
.tx-page .tx-hero-note i { color: #5fb5fc; margin-right: 6px; }

/* Hero art: the poster's "Build" collage, real captures */
.tx-page .tx-build { margin: 0 -26px 0 0; padding: 40px 0 84px; }
.tx-page .tx-build-stage { position: relative; }
.tx-page .tx-build-glow {
	position: absolute; left: 6%; right: 4%; top: 10%; bottom: -6%; z-index: 0; pointer-events: none;
	background: radial-gradient(60% 60% at 50% 50%, rgba(29,147,249,0.6), rgba(236,72,153,0.18) 58%, transparent 76%);
	filter: blur(34px);
}
.tx-page .tx-win {
	position: relative; z-index: 1; border-radius: 14px; overflow: hidden; background: #fff;
	box-shadow: 0 34px 70px -26px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.16);
}
.tx-page .tx-win img, .tx-page .tx-build-paper img { display: block; width: 100%; height: auto; }
.tx-page .tx-win.w2 { width: 82%; margin: -12px 0 0 auto; z-index: 2; }
.tx-page .tx-build-paper {
	position: absolute; left: -20px; bottom: -72px; width: 31%; z-index: 3;
	border-radius: 5px; overflow: hidden; background: #fff; transform: rotate(-6deg);
	box-shadow: 0 26px 50px -18px rgba(0,0,0,0.75), 0 0 0 1px rgba(0,0,0,0.12);
}
.tx-page .tx-tag {
	position: absolute; left: 14px; top: -26px; z-index: 5;
	display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
	font-size: 13px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
	background: var(--tx-grad); box-shadow: 0 10px 26px -6px rgba(29,147,249,0.85);
}
.tx-page .tx-chipx {
	position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	padding: 9px 15px; border-radius: 999px; font-size: 13.5px; font-weight: 800; line-height: 1.2;
	color: var(--tx-ink); background: #fff; box-shadow: 0 14px 32px -10px rgba(0,0,0,0.65);
}
.tx-page .tx-chipx i { color: #0a7ce3; }
.tx-page .tx-chipx .fa-file-pdf { color: #e11d48; }
.tx-page .tx-chipx.dark { color: #fff; background: var(--tx-grad); box-shadow: 0 14px 32px -10px rgba(29,147,249,0.9); }
.tx-page .tx-chipx.dark i { color: #fff; }
.tx-page .tx-build .c1 { left: 30%; top: -26px; }
.tx-page .tx-build .c2 { right: -8px; bottom: -17px; }
.tx-page .tx-build .c3 { left: 2%; bottom: -92px; }
.tx-page .tx-build .c4 { right: 3%; bottom: -70px; }
.tx-page .tx-build .tx-tag, .tx-page .tx-build .tx-chipx { animation: txChipBob 6s ease-in-out infinite; }
.tx-page .tx-build .c1 { animation-delay: -1.2s; }
.tx-page .tx-build .c2 { animation-delay: -2.6s; }
.tx-page .tx-build .c3 { animation-delay: -3.8s; }
.tx-page .tx-build .c4 { animation-delay: -4.7s; }
@keyframes txChipBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* The teaching line: a miniature of the journey map on the tutor home page */
.tx-page .tx-line {
	margin: 58px 0 0; border-radius: 22px; overflow: hidden; background: #fff;
	box-shadow: 0 36px 90px -34px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.14), 0 0 80px -30px rgba(29,147,249,0.7);
}
.tx-page .tx-line-track {
	display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); padding: 50px 14px 24px;
	background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}
.tx-page .tx-stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.tx-page .tx-stop .ic {
	position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; margin-bottom: 10px;
	display: grid; place-items: center; font-size: 21px; color: #aac4d7; background: #fff; box-shadow: inset 0 0 0 3px #c8e4f9;
}
.tx-page .tx-stop b { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: #889eae; }
.tx-page .tx-stop small { font-size: 12px; font-weight: 500; line-height: 1.4; color: #889eae; }
.tx-page .tx-stop.done .ic { color: #fff; background: linear-gradient(135deg, #34d399, #10b981); box-shadow: 0 12px 24px -10px rgba(16,185,129,0.8); }
.tx-page .tx-stop.done .ic em {
	position: absolute; right: -3px; top: -3px; width: 20px; height: 20px; border-radius: 50%;
	display: grid; place-items: center; font-size: 9px; font-style: normal; color: #fff; background: #059669; box-shadow: 0 0 0 2px #fff;
}
.tx-page .tx-stop.done b, .tx-page .tx-stop.now b { color: var(--tx-ink); }
.tx-page .tx-stop.done small { color: #059669; }
.tx-page .tx-stop.now .ic { color: #fff; background: linear-gradient(135deg, #0e80d0, #0a7ce3); box-shadow: 0 0 0 5px rgba(10,124,227,0.18), 0 14px 28px -10px rgba(10,151,243,0.85); }
.tx-page .tx-stop.now small { color: #0e80d0; }
.tx-page .tx-stop .flag {
	position: absolute; left: 50%; top: -33px; transform: translateX(-50%); white-space: nowrap;
	font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
	background: linear-gradient(90deg, #0e80d0, #0a7ce3); border-radius: 999px; padding: 4px 10px;
	box-shadow: 0 8px 18px -8px rgba(10,151,243,0.9);
}
.tx-page .tx-stop + .tx-stop::before {
	content: ""; position: absolute; top: 27px; right: calc(50% + 40px); width: calc(100% - 80px); height: 4px; border-radius: 4px;
	background: radial-gradient(circle, #b2d8f5 1.6px, transparent 2px) 0 50% / 10px 4px repeat-x;
}
.tx-page .tx-stop.done + .tx-stop.done::before,
.tx-page .tx-stop.done + .tx-stop.now::before { background: linear-gradient(90deg, #34d399, #10b981); }
.tx-page .tx-line-cap {
	display: flex; align-items: center; gap: 12px; margin: 0; padding: 15px 24px;
	background: linear-gradient(90deg, #072339, #0f1830); color: #cae5f9; font-size: 15.5px; font-weight: 500; line-height: 1.45;
}
.tx-page .tx-line-cap i { color: #5fb5fc; }
.tx-page .tx-line-cap b { color: #fff; font-weight: 800; }

/* -- How it works: five steps -- */
.tx-page .tx-how {
	padding: 104px 0 100px; position: relative;
	background: radial-gradient(820px 440px at 50% 0%, rgba(10,151,243,0.18), transparent 66%);
}
.tx-page .tx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.tx-page .tx-step {
	--sa: #0a97f3; --sb: #1d93f9;
	position: relative; overflow: hidden; border-radius: 22px; padding: 20px 20px 22px;
	background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.03));
	border: 1px solid rgba(95,181,252,0.2);
	transition: translate 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tx-page .tx-step::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--sa), var(--sb)); }
.tx-page .tx-step::after {
	content: ""; position: absolute; right: -70px; top: -70px; width: 190px; height: 190px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle, var(--sa), transparent 68%); opacity: 0.28;
}
.tx-page .tx-step:hover { translate: 0 -5px; border-color: rgba(153,209,254,0.55); box-shadow: 0 30px 56px -30px var(--sa); }
.tx-page .tx-step.s2 { --sa: #1d93f9; --sb: #2a91fa; }
.tx-page .tx-step.s3 { --sa: #2a91fa; --sb: #d946ef; }
.tx-page .tx-step.s4 { --sa: #d946ef; --sb: #ec4899; }
.tx-page .tx-step.s5 { --sa: #ec4899; --sb: #fb7185; }
.tx-page .tx-step-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.tx-page .tx-step-ic {
	flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 14px; color: #fff;
	background: linear-gradient(135deg, var(--sa), var(--sb)); box-shadow: 0 12px 24px -10px var(--sa), inset 0 1px 0 rgba(255,255,255,0.3);
}
.tx-page .tx-step-num { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: #d0eaff; white-space: nowrap; }
.tx-page .tx-step h3 { position: relative; z-index: 1; margin: 0 0 8px; text-transform: none; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; color: #fff; }
.tx-page .tx-step p { position: relative; z-index: 1; margin: 0; font-size: 14px; line-height: 1.55; color: var(--tx-body); }

/* Step visuals: small looping mock-ups, one per step. Everything animates on
   transform/opacity over the same 6s period so the row reads as one rhythm. */
.tx-page .tx-sv {
	position: relative; z-index: 1; height: 150px; margin: 0 0 18px; border-radius: 14px; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; user-select: none; pointer-events: none;
	background: linear-gradient(180deg, rgba(3,17,27,0.74), rgba(3,17,27,0.44));
	border: 1px solid rgba(255,255,255,0.08); box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.tx-page .tx-sv-in { position: relative; box-sizing: border-box; min-width: 0; width: 100%; max-width: 236px; padding: 0 12px; }
.tx-page .tx-sv span { display: block; box-sizing: border-box; }
.tx-page .tx-sv .it, .tx-page .tx-sv .next, .tx-page .tx-sv .up, .tx-page .tx-sv .tags span {
	animation: txSvPop 6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
}
.tx-page .tx-sv .r1 { animation-delay: 0.5s; }
.tx-page .tx-sv .r2 { animation-delay: 0.9s; }
.tx-page .tx-sv .r3 { animation-delay: 1.3s; }
.tx-page .tx-sv .sheet { position: relative; padding: 10px 10px 11px; border-radius: 12px; background: #fff; box-shadow: 0 14px 28px -14px rgba(0,0,0,0.7); }

/* 1 · Build: a file goes in, topics come out */
.tx-page .tx-sv-build .file {
	position: relative; overflow: hidden; display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; border-radius: 8px;
	border: 1px dashed rgba(153,209,254,0.5); color: #bde3ff; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.tx-page .tx-sv-build .file i { color: #5fb5fc; }
.tx-page .tx-sv-build .fn { overflow: hidden; text-overflow: ellipsis; }
.tx-page .tx-sv-build .scan {
	position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(153,209,254,0.4) 50%, transparent 70%);
	animation: txSvScan 6s ease-in-out infinite both;
}
.tx-page .tx-sv-build .it {
	display: flex; align-items: center; gap: 8px; height: 26px; margin-top: 6px; padding: 0 8px; border-radius: 8px;
	background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.08); color: #e5f4ff; font-size: 11.5px; font-weight: 600;
}
.tx-page .tx-sv-build .n {
	flex: none; width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--sa), var(--sb)); color: #fff; font-size: 9.5px; font-weight: 800;
}
.tx-page .tx-sv-build .it i { margin-left: auto; color: #4ade80; font-size: 10px; }

/* 2 · Teach: the laptop presents, the phone follows the same slide */
.tx-page .tx-sv-teach .tx-sv-in { height: 118px; padding: 0; margin: 0 12px; width: calc(100% - 24px); }
.tx-page .tx-sv-teach .lap {
	position: absolute; left: 0; top: 2px; width: 80%; height: 102px; border-radius: 9px;
	background: #0b1120; border: 1px solid rgba(255,255,255,0.16); box-shadow: 0 14px 28px -14px rgba(0,0,0,0.8);
}
.tx-page .tx-sv-teach .ph {
	position: absolute; right: 0; bottom: 0; width: 31%; height: 92px; border-radius: 11px;
	background: #f8fafc; border: 2px solid #0b2e46; box-shadow: 0 14px 26px -10px rgba(0,0,0,0.85);
}
.tx-page .tx-sv-teach .live {
	position: absolute; left: 9px; top: 7px; display: flex; align-items: center; gap: 4px;
	font-size: 8px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #fca5a5;
}
.tx-page .tx-sv-teach .dot { width: 5px; height: 5px; border-radius: 50%; background: #ef4444; animation: txSvPulse 1.2s ease-in-out infinite; }
.tx-page .tx-sv-teach .sl { position: absolute; inset: 24px 30% 10px 10px; display: flex; flex-direction: column; gap: 6px; animation: txSvSwap 6s ease-in-out infinite both; }
.tx-page .tx-sv-teach .ph .sl { inset: 12px 6px 8px; gap: 5px; }
.tx-page .tx-sv-teach .sl.b { animation-delay: -3s; }
.tx-page .tx-sv-teach .h { width: 52%; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--sa), var(--sb)); }
.tx-page .tx-sv-teach .l { height: 5px; border-radius: 3px; background: rgba(255,255,255,0.24); }
.tx-page .tx-sv-teach .ph .l { background: rgba(15,23,42,0.2); }
.tx-page .tx-sv-teach .ph .h { width: 70%; height: 6px; }
.tx-page .tx-sv-teach .w80 { width: 80%; }
.tx-page .tx-sv-teach .w70 { width: 70%; }
.tx-page .tx-sv-teach .w60 { width: 60%; }
.tx-page .tx-sv-teach .pic { flex: 1; border-radius: 6px; background: linear-gradient(135deg, rgba(29,147,249,0.5), rgba(236,72,153,0.4)); }
.tx-page .tx-sv-teach .opts { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tx-page .tx-sv-teach .opts span { border-radius: 5px; background: rgba(255,255,255,0.12); }
.tx-page .tx-sv-teach .ph .opts span { background: rgba(15,23,42,0.1); }
.tx-page .tx-sv-teach .opts .on, .tx-page .tx-sv-teach .ph .opts .on { background: linear-gradient(135deg, var(--sa), var(--sb)); }

/* 3 · Practise: tap the answer, it turns green, progress moves */
.tx-page .tx-sv-prac .top { display: flex; align-items: center; gap: 6px; }
.tx-page .tx-sv-prac .pill { flex: none; padding: 2px 6px; border-radius: 999px; font-size: 9.5px; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.tx-page .tx-sv-prac .heart { background: #fee2e2; color: #ef4444; }
.tx-page .tx-sv-prac .fire { background: #ffedd5; color: #ea580c; }
.tx-page .tx-sv-prac .bar { flex: 1; height: 6px; border-radius: 3px; background: #e2e8f0; overflow: hidden; }
.tx-page .tx-sv-prac .fill { height: 100%; border-radius: 3px; background: #3b82f6; transform-origin: left center; animation: txSvFill 6s ease-in-out infinite both; }
.tx-page .tx-sv-prac .q { margin: 9px 0 8px; text-align: center; font-size: 17px; font-weight: 800; line-height: 1.2; color: #0f172a; }
.tx-page .tx-sv-prac .opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tx-page .tx-sv-prac .opts > span {
	position: relative; height: 28px; display: grid; place-items: center; border-radius: 8px;
	border: 1.5px solid #e2e8f0; background: #fff; color: #0f172a; font-size: 12px; font-weight: 700;
}
.tx-page .tx-sv-prac .opts > .ok { animation: txSvPick 6s ease-in-out infinite both; }
.tx-page .tx-sv-prac .tap {
	position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%;
	background: rgba(59,130,246,0.4); animation: txSvTap 6s ease-out infinite both;
}
.tx-page .tx-sv-prac .xp { position: absolute; right: 12px; top: 30px; font-size: 11px; font-weight: 800; color: #16a34a; animation: txSvXp 6s ease-out infinite both; }

/* 4 · Review: score ring fills, topics sort into stuck / reinforce */
.tx-page .tx-sv-rev .tx-sv-in { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 8px 12px; align-items: center; }
.tx-page .tx-sv-rev .ring { position: relative; width: 54px; height: 54px; }
.tx-page .tx-sv-rev svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.tx-page .tx-sv-rev circle { fill: none; stroke-width: 5; }
.tx-page .tx-sv-rev .bg { stroke: rgba(255,255,255,0.13); }
.tx-page .tx-sv-rev .fg { stroke: var(--sb); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 25; animation: txSvRing 6s ease-in-out infinite both; }
.tx-page .tx-sv-rev .pc { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff; }
.tx-page .tx-sv-rev .rows { display: grid; gap: 5px; }
.tx-page .tx-sv-rev .it {
	display: flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 7px;
	background: rgba(255,255,255,0.07); border: 1px solid transparent; color: #e5f4ff; font-size: 11px; font-weight: 600; white-space: nowrap;
}
.tx-page .tx-sv-rev .it i { font-size: 9.5px; }
.tx-page .tx-sv-rev .ok i { color: #4ade80; }
.tx-page .tx-sv-rev .warn { border-color: rgba(251,191,36,0.45); }
.tx-page .tx-sv-rev .warn i { color: #fbbf24; }
.tx-page .tx-sv-rev .next {
	grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 24px; border-radius: 999px;
	background: linear-gradient(90deg, var(--sa), var(--sb)); color: #fff; font-size: 10.5px; font-weight: 700; white-space: nowrap;
	animation-delay: 2s;
}
.tx-page .tx-sv-rev .next i { font-size: 9px; }

/* 5 · Report: the trend line draws, topics get their status */
.tx-page .tx-sv-rep .sheet { padding: 9px 8px 10px; }
.tx-page .tx-sv-rep .hd { display: flex; align-items: center; gap: 6px; }
.tx-page .tx-sv-rep .av {
	flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center;
	background: linear-gradient(135deg, var(--sa), var(--sb)); color: #fff; font-size: 9px; font-weight: 800;
}
.tx-page .tx-sv-rep .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10.5px; font-weight: 700; color: #0f172a; }
.tx-page .tx-sv-rep .up { flex: none; font-size: 9.5px; font-weight: 800; color: #16a34a; white-space: nowrap; animation-delay: 2.2s; }
.tx-page .tx-sv-rep .ch { display: block; width: 100%; height: auto; margin: 5px 0 6px; overflow: visible; }
.tx-page .tx-sv-rep .ln { fill: none; stroke: var(--sa); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 0; animation: txSvDraw 6s ease-in-out infinite both; }
.tx-page .tx-sv-rep .ar { fill: var(--sa); opacity: 0.14; animation: txSvArea 6s ease-in-out infinite both; }
.tx-page .tx-sv-rep .tags { display: flex; justify-content: space-between; gap: 3px; }
.tx-page .tx-sv-rep .tags span { padding: 2px 4px; border-radius: 999px; font-size: 8px; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.tx-page .tx-sv-rep .tags .g { background: #dcfce7; color: #15803d; animation-delay: 1.5s; }
.tx-page .tx-sv-rep .tags .a { background: #fef3c7; color: #b45309; animation-delay: 1.8s; }
.tx-page .tx-sv-rep .tags .n { background: #e2e8f0; color: #475569; animation-delay: 2.1s; }

.tx-page .tx-steps.tx-off .tx-sv * { animation-play-state: paused; }

@keyframes txSvPop {
	0% { opacity: 0; transform: translateY(8px) scale(0.94); }
	7%, 82% { opacity: 1; transform: none; }
	90%, 100% { opacity: 0; transform: translateY(-4px) scale(0.98); }
}
@keyframes txSvScan { 0% { transform: translateX(-100%); } 28%, 100% { transform: translateX(100%); } }
@keyframes txSvPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes txSvSwap {
	0%, 42% { opacity: 1; transform: none; }
	50%, 92% { opacity: 0; transform: translateX(-8px); }
	100% { opacity: 1; transform: none; }
}
@keyframes txSvFill { 0%, 32% { transform: scaleX(0.4); } 44%, 90% { transform: scaleX(0.6); } 100% { transform: scaleX(0.4); } }
@keyframes txSvPick {
	0%, 30% { background: #fff; border-color: #e2e8f0; color: #0f172a; transform: none; }
	35% { background: #22c55e; border-color: #16a34a; color: #fff; transform: scale(1.08); }
	41%, 90% { background: #22c55e; border-color: #16a34a; color: #fff; transform: none; }
	100% { background: #fff; border-color: #e2e8f0; color: #0f172a; transform: none; }
}
@keyframes txSvTap {
	0%, 22% { opacity: 0; transform: scale(0.4); }
	29% { opacity: 1; transform: scale(1); }
	37%, 100% { opacity: 0; transform: scale(1.7); }
}
@keyframes txSvXp {
	0%, 35% { opacity: 0; transform: translateY(6px); }
	43% { opacity: 1; transform: none; }
	68%, 100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes txSvRing { 0%, 6% { stroke-dashoffset: 100; } 32%, 88% { stroke-dashoffset: 25; } 100% { stroke-dashoffset: 100; } }
@keyframes txSvDraw { 0%, 6% { stroke-dashoffset: 100; } 36%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
@keyframes txSvArea { 0%, 30% { opacity: 0; } 46%, 86% { opacity: 0.14; } 96%, 100% { opacity: 0; } }
.tx-page .tx-how-foot {
	display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; max-width: 100%;
	margin: 36px auto 0; padding: 14px 26px; border-radius: 999px; text-align: left;
	color: #e3f3ff; font-size: 15.5px; font-weight: 600; line-height: 1.5;
	background: rgba(255,255,255,0.05); border: 1px solid rgba(95,181,252,0.26);
}
.tx-page .tx-how-foot i { color: #66b1fd; }
@media (min-width: 768px) {
	.tx-page .tx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tx-page .tx-step.s5 { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 22px; align-items: center; }
	.tx-page .tx-step.s5 .tx-sv { grid-row: 1 / span 3; margin: 0; }
}
@media (min-width: 992px) {
	.tx-page .tx-steps { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.tx-page .tx-step { grid-column: span 2; }
	.tx-page .tx-step.s4, .tx-page .tx-step.s5 { grid-column: span 3; }
	.tx-page .tx-step.s5 { display: block; }
	.tx-page .tx-step.s5 .tx-sv { margin: 0 0 18px; }
}
@media (min-width: 1200px) {
	.tx-page .tx-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
	.tx-page .tx-step, .tx-page .tx-step.s4, .tx-page .tx-step.s5 { grid-column: auto; padding: 18px 18px 22px; }
	.tx-page .tx-step h3 { font-size: 17px; }
	.tx-page .tx-step p { font-size: 13.5px; }
}

/* -- Shared copy bits: tick list + chips -- */
.tx-page .tx-check-list { list-style: none; padding: 0; margin: 26px 0 0; }
.tx-page .tx-check-list li { position: relative; padding-left: 40px; margin-bottom: 13px; min-height: 26px; font-size: 15.5px; line-height: 1.6; color: #d3e9fa; }
.tx-page .tx-check-list li i { position: absolute; left: 0; top: 0; }
.tx-page .tx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tx-page .tx-chips span {
	display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; border-radius: 999px; padding: 7px 14px;
	color: #e3f3ff; background: rgba(255,255,255,0.07); border: 1px solid rgba(95,181,252,0.3);
}
.tx-page .tx-chips span i { color: #99d1fe; font-size: 12px; }

/* -- Teaching with it: the live HUD and a printed paper -- */
.tx-page .tx-teach {
	padding: 100px 0; overflow: hidden; position: relative;
	background:
		radial-gradient(760px 440px at 92% 8%, rgba(42,145,250,0.24), transparent 62%),
		radial-gradient(640px 400px at -4% 100%, rgba(37,99,235,0.22), transparent 62%),
		linear-gradient(180deg, #04121c 0%, #051b2b 50%, #04121c 100%);
	border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tx-page .tx-teach-lead, .tx-page .tx-students-lead { color: var(--tx-body); font-size: 17.5px; line-height: 1.7; margin: 18px 0 0; }
.tx-page .tx-mock-wrap.tx-teach-mock { padding: 20px 0 96px 118px; }
/* The legacy bob animates margin-top, which reflows the page every frame (and
   drags everything below it on mobile); bob with translate instead. */
.tx-page .tx-mock-window { animation-name: txMockBob; }
@keyframes txMockBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.tx-page .tx-teach-paper { position: absolute; left: 0; bottom: 0; width: 128px; transform: rotate(-6deg); z-index: 3; }

/* -- Why not just a chat window (light band) -- */
.tx-page .tx-why {
	padding: 100px 0;
	background: radial-gradient(760px 400px at 50% 0%, rgba(42,145,250,0.12), transparent 66%), #f0f9ff;
}
.tx-page .tx-why h2, .tx-page .tx-faq h2 { color: var(--tx-ink); }
.tx-page .tx-why .tx-grad { background-image: linear-gradient(90deg, #0e80d0, #2a91fa 55%, #ec4899); }
.tx-page .tx-why .tx-kicker, .tx-page .tx-faq .tx-kicker { color: #106dc3; }
.tx-page .tx-why .tx-head p { color: #4d6270; }
.tx-page .tx-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.tx-page .tx-why-item {
	position: relative; overflow: hidden; background: #fff; border-radius: 22px; padding: 30px 26px 28px;
	border: 1px solid #d5ebfc; box-shadow: 0 24px 50px -34px rgba(12,76,134,0.45);
	transition: translate 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tx-page .tx-why-item:hover { translate: 0 -5px; border-color: #a5d4fa; box-shadow: 0 34px 60px -34px rgba(12,76,134,0.6); }
.tx-page .tx-why-item .ic {
	width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
	font-size: 20px; color: #fff; background: linear-gradient(135deg, #0a97f3, #2a91fa); box-shadow: 0 14px 26px -12px rgba(10,124,227,0.9);
}
.tx-page .tx-why-item:nth-child(2) .ic { background: linear-gradient(135deg, #1d93f9, #d946ef); }
.tx-page .tx-why-item:nth-child(3) .ic { background: linear-gradient(135deg, #2a91fa, #ec4899); }
.tx-page .tx-why-item h3 { margin: 0 0 10px; text-transform: none; font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--tx-ink); }
.tx-page .tx-why-item p { margin: 0; font-size: 15px; line-height: 1.7; color: #4d6270; }

/* -- For your students: laptop, phone and paper -- */
.tx-page .tx-students {
	padding: 104px 0; overflow: hidden;
	background:
		radial-gradient(780px 460px at 6% 24%, rgba(10,124,227,0.3), transparent 62%),
		radial-gradient(620px 400px at 100% 100%, rgba(236,72,153,0.13), transparent 62%);
}
.tx-page .tx-students h2 .tx-grad { display: block; }
.tx-page .tx-dash { position: relative; padding: 30px 44px 84px 128px; max-width: 590px; margin: 0 auto; }
.tx-page .tx-dash-glow {
	position: absolute; left: 12%; right: 6%; top: 14%; bottom: 10%; pointer-events: none;
	background: radial-gradient(60% 60% at 50% 50%, rgba(29,147,249,0.55), rgba(10,151,243,0.2) 58%, transparent 76%); filter: blur(34px);
}
.tx-page .tx-dash-laptop { position: relative; z-index: 1; }
.tx-page .tx-dash-laptop .tx-laptop-screen { border-color: #0b283d; box-shadow: 0 30px 70px -30px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.16); }
.tx-page .tx-dash-phone { box-shadow: 0 26px 50px -18px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.2); }
.tx-page .tx-dash-phone { position: absolute; left: 6px; bottom: 0; width: 186px; z-index: 2; }
.tx-page .tx-dash-paper-wrap { position: absolute; right: 0; bottom: 14px; z-index: 3; transform: rotate(5deg); }
.tx-page .tx-dash-paper { width: 142px; }
.tx-page .tx-dash .d1 { left: 46%; top: 12px; }
.tx-page .tx-dash .d2 { left: 40px; bottom: -16px; }
.tx-page .tx-dash .d3 { right: 14px; bottom: -4px; }
.tx-page .tx-dash .tx-chipx { font-size: 12.5px; padding: 8px 13px; }

/* -- Tutoring companies -- */
.tx-page .tx-companies { padding: 10px 0 30px; }
.tx-page .tx-companies-panel {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 30px; align-items: center;
	padding: 36px 38px; border-radius: 26px;
	background: linear-gradient(120deg, rgba(10,151,243,0.2), rgba(42,145,250,0.1) 60%, rgba(236,72,153,0.1));
	border: 1px solid rgba(95,181,252,0.3);
}
.tx-page .tx-companies-ic {
	width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 25px; color: #fff;
	background: linear-gradient(135deg, #0a97f3, #2a91fa); box-shadow: 0 16px 30px -12px rgba(29,147,249,0.9), inset 0 1px 0 rgba(255,255,255,0.3);
}
.tx-page .tx-companies .tx-kicker { margin-bottom: 8px; }
.tx-page .tx-companies h2 { font-size: clamp(24px, 2.4vw, 30px); }
.tx-page .tx-companies p { color: var(--tx-body); font-size: 15.5px; line-height: 1.7; margin: 10px 0 0; max-width: 640px; }
.tx-page .tx-company-link { white-space: nowrap; }

/* -- Join the pilot: the glowing purple panel + reservation form -- */
.tx-page .tx-reserve { padding: 50px 0 80px; background: none; }
.tx-page .tx-reserve-card {
	background: linear-gradient(135deg, #1570b0 0%, #0a7ce3 50%, #c026d3 100%);
	box-shadow: 0 60px 130px -50px rgba(42,145,250,0.9), 0 0 90px -30px rgba(29,147,249,0.7), inset 0 0 0 1px rgba(255,255,255,0.16);
}
.tx-page .tx-reserve-card::before { background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.1) 35%, rgba(255,255,255,0.06) 65%, rgba(255,255,255,0.55)); }
.tx-page .tx-reserve-aurora { opacity: 0.8; }
.tx-page .tx-reserve-aurora .a { background: radial-gradient(closest-side, rgba(10,151,243,0.75), transparent 70%); }
.tx-page .tx-reserve-aurora .b { background: radial-gradient(closest-side, rgba(236,72,153,0.6), transparent 70%); }
.tx-page .tx-reserve-aurora .c { background: radial-gradient(closest-side, rgba(255,255,255,0.22), transparent 70%); }
.tx-page .tx-reserve .cta-kicker { display: block; margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: #fff; }
.tx-page .tx-reserve-card h2 { font-size: clamp(38px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.035em; color: #fff; }
.tx-page .tx-reserve-card p { color: rgba(255,255,255,0.9); line-height: 1.7; margin: 16px 0 0; }
.tx-page .tx-cd { background: rgba(4,21,33,0.34); border-color: rgba(255,255,255,0.2); }
.tx-page .tx-cd b { background: none; -webkit-text-fill-color: #fff; color: #fff; }
.tx-page .tx-cd small { color: rgba(255,255,255,0.75); }
.tx-page .tx-cd-sep { color: rgba(255,255,255,0.5); }
.tx-page .tx-reserve-steps li i { color: #106dc3; background: #fff; box-shadow: 0 10px 20px -10px rgba(4,21,33,0.7); }
.tx-page .tx-reserve-steps li span { color: rgba(255,255,255,0.82); }
.tx-page .tx-reserve-panel { background: rgba(4,21,33,0.62); border-color: rgba(255,255,255,0.2); }
.tx-page .tx-reserve-panel.is-done { background: rgba(4,21,33,0.62); border-color: rgba(199,230,254,0.65); }
.tx-page .tx-field-box { background: rgba(2,13,21,0.6); border-color: rgba(255,255,255,0.2); }
.tx-page .tx-field-box > i { color: rgba(255,255,255,0.55); }
.tx-page .tx-field-box input::placeholder, .tx-page .tx-field-box textarea::placeholder { color: rgba(255,255,255,0.45); }
.tx-page .tx-field-box:focus-within { border-color: #99d1fe; background: rgba(2,13,21,0.82); box-shadow: 0 0 0 4px rgba(153,209,254,0.25), 0 10px 30px -18px rgba(153,209,254,0.8); }
.tx-page .tx-field-box:focus-within > i { color: #c7e6fe; }
.tx-page .tx-reserve-form input:-webkit-autofill, .tx-page .tx-reserve-form textarea:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #082b45 inset; }
.tx-page .tx-reserve-form .tx-reserve-check { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); }
.tx-page .tx-reserve-check:hover { border-color: rgba(255,255,255,0.4); }
.tx-page .tx-pilot-box { color: #fff; border-color: rgba(255,255,255,0.5); }
.tx-page .tx-reserve-check input:checked ~ .tx-pilot-box { background: linear-gradient(135deg, #42b4fa, #e879f9); }
.tx-page .tx-reserve-check:has(input:checked) { border-color: rgba(199,230,254,0.8); background: rgba(95,181,252,0.2); }
.tx-page .tx-reserve-check input:focus-visible ~ .tx-pilot-box { box-shadow: 0 0 0 4px rgba(153,209,254,0.45); }
.tx-page .tx-pilot-copy small { color: rgba(255,255,255,0.75); }
.tx-page .tx-reserve-card .tx-reserve-error { color: #ffd9cf; margin: 14px 0 0; }
.tx-page .tx-reserve-btn { margin-top: 20px; }
.tx-page .tx-reserve-btn::before { background: linear-gradient(110deg, transparent 30%, rgba(10,124,227,0.16) 50%, transparent 70%); }
.tx-page .tx-reserve-card .tx-reserve-note { color: rgba(255,255,255,0.75); margin: 14px 0 0; }
.tx-page .tx-reserve-card .tx-reserve-note i { color: #c7e6fe; }
.tx-page .tx-reserve-done h3 { text-transform: none; }
.tx-page .tx-reserve-done p { margin: 0; }
.tx-page .tx-ticket { color: var(--tx-ink); background: linear-gradient(160deg, #ffffff, #e5f3ff); }
.tx-page .tx-ticket-top { color: #7e97a9; }
.tx-page .tx-ticket-sub { color: #106dc3; }
.tx-page .tx-ticket-sub i { color: #059669; }
.tx-page .tx-ticket-tear { border-top-color: #b6dbf9; }
.tx-page .tx-ticket-tear::before, .tx-page .tx-ticket-tear::after { background: #0a3b62; }
.tx-page .tx-ticket-foot { color: #4d6270; }
.tx-page .tx-ticket-foot i { color: #0a7ce3; }
.tx-page .tx-reserve-legal { color: var(--tx-mute); }

/* overflow:hidden boxes are still scroll containers: with the oversized aurora
   inside, a focus or scroll-into-view could scroll the card itself and leave
   the form clipped. clip is not scrollable. */
@supports (overflow: clip) {
	.tx-page .tx-reserve-card, .tx-page #home.tx-hero, .tx-page .tx-hero-bg,
	.tx-page .tx-teach, .tx-page .tx-students { overflow: clip; }
}

/* -- FAQ (light band): native details/summary, answers stay in the HTML -- */
.tx-page .tx-faq { padding: 96px 0 104px; background: radial-gradient(760px 400px at 50% 0%, rgba(42,145,250,0.1), transparent 66%), #f0f9ff; }
.tx-page .tx-faq-head { text-align: center; max-width: 640px; margin: 0 auto 38px; }
.tx-page .tx-faq-head p { color: #4d6270; font-size: 16.5px; line-height: 1.7; margin: 14px 0 0; }
.tx-page .tx-faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.tx-page .tx-faq-item { border-radius: 18px; background: #fff; border: 1px solid #d5ebfc; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.tx-page .tx-faq-item:hover { border-color: #a5d4fa; }
.tx-page .tx-faq-item[open] { border-color: rgba(10,124,227,0.45); box-shadow: 0 22px 46px -32px rgba(12,76,134,0.6); }
.tx-page .tx-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 18px; }
.tx-page .tx-faq-item summary::-webkit-details-marker { display: none; }
.tx-page .tx-faq-item summary:focus-visible { outline: 3px solid rgba(10,124,227,0.5); outline-offset: 2px; }
.tx-page .tx-faq-item summary h3 { flex: 1; margin: 0; font-size: 17.5px; font-weight: 700; line-height: 1.4; text-transform: none; letter-spacing: -0.2px; color: var(--tx-ink); }
.tx-page .tx-faq-toggle { flex: none; position: relative; width: 32px; height: 32px; border-radius: 50%; color: #0a7ce3; background: rgba(10,124,227,0.1); transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease; }
.tx-page .tx-faq-toggle::before, .tx-page .tx-faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.tx-page .tx-faq-toggle::after { transform: rotate(90deg); }
.tx-page .tx-faq-item[open] .tx-faq-toggle { transform: rotate(45deg); background: linear-gradient(135deg, #0a97f3, #2a91fa); color: #fff; }
.tx-page .tx-faq-item p { margin: 0; padding: 0 24px 22px; color: #415766; font-size: 16px; line-height: 1.75; max-width: 70ch; }
.tx-page .tx-faq-guides { max-width: 820px; margin: 34px auto 0; padding: 22px 24px; border-radius: 18px; background: #fff; border: 1px solid #d5ebfc; }
.tx-page .tx-faq-guides h3 { margin: 0 0 12px; font-size: 17.5px; font-weight: 700; line-height: 1.4; text-transform: none; letter-spacing: -0.2px; color: var(--tx-ink); }
.tx-page .tx-faq-guides ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.tx-page .tx-faq-guides a { color: #106dc3; font-weight: 600; font-size: 15.5px; margin: 0 !important; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .tx-page .tx-faq-guides ul { grid-template-columns: 1fr; } }
.tx-page .tx-faq-foot { text-align: center; margin: 30px 0 0; color: #4d6270; font-size: 15px; }
.tx-page .tx-faq-foot a { color: #106dc3; font-weight: 700; margin: 0 !important; text-decoration: underline; text-underline-offset: 3px; }

/* -- Footer + back-to-top in the page palette -- */
.tx-page .ix-footer {
	background: radial-gradient(760px 320px at 50% 0%, rgba(10,124,227,0.26), transparent 66%), linear-gradient(180deg, #041622, #030e16) !important;
	border-top: 1px solid rgba(255,255,255,0.06);
}
.tx-page .back-top a { background: linear-gradient(135deg, #0a97f3, #2a91fa); color: #fff; }

/* -- Responsive -- */
@media (max-width: 1199px) {
	.tx-page .tx-build { margin-right: 0; }
	.tx-page .tx-hero-cols { gap: 40px; }
	.tx-page .tx-stop .ic { width: 50px; height: 50px; font-size: 18px; }
	.tx-page .tx-stop + .tx-stop::before { top: 23px; right: calc(50% + 34px); width: calc(100% - 68px); }
	.tx-page .tx-stop b { font-size: 13px; }
	.tx-page .tx-stop small { font-size: 11px; }
}
@media (max-width: 991px) {
	.tx-page #home.tx-hero { padding-bottom: 64px; }
	.tx-page .tx-hero-inner { padding-top: 50px; }
	.tx-page .tx-hero-cols { grid-template-columns: minmax(0, 1fr); gap: 34px; }
	.tx-page .tx-hero h1, .tx-page .tx-hero-sub, .tx-page .tx-hero-note { max-width: 640px; }
	.tx-page .tx-build { max-width: 620px; margin: 0 auto; width: 100%; }
	.tx-page .tx-how, .tx-page .tx-teach, .tx-page .tx-why, .tx-page .tx-students { padding: 76px 0; }
	.tx-page .tx-head { margin-bottom: 40px; }
	.tx-page .tx-mock-wrap.tx-teach-mock { margin-top: 44px; }
	.tx-page .tx-dash { margin-top: 50px; }
	.tx-page .tx-companies-panel { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 30px 26px; }
	.tx-page .tx-company-link { justify-self: start; }
	.tx-page .tx-reserve { padding: 40px 0 60px; }
	.tx-page .tx-reserve-card { padding: 34px 22px; border-radius: 24px; }
	.tx-page .tx-reserve-pitch { padding-right: 0; }
	.tx-page .tx-reserve-panel { margin-top: 28px; padding: 22px 18px 20px; }
	.tx-page .tx-cd { min-width: 56px; }
	.tx-page .tx-cd b { font-size: 22px; }
	.tx-page .ix-nav .navbar-collapse { padding-top: 6px; }
}
@media (max-width: 767px) {
	.tx-page .tx-hero-sub { font-size: 19px; }
	.tx-page .tx-ticks li { font-size: 15.5px; }
	.tx-page .tx-line { margin-top: 44px; border-radius: 18px; }
	.tx-page .tx-line-track { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; padding: 46px 8px 20px; }
	.tx-page .tx-stop .ic { width: 44px; height: 44px; font-size: 16px; margin-bottom: 8px; }
	.tx-page .tx-stop b { font-size: 11.5px; }
	.tx-page .tx-stop small { font-size: 10px; }
	.tx-page .tx-stop + .tx-stop::before { top: 20px; right: calc(50% + 28px); width: calc(100% - 56px); }
	.tx-page .tx-stop:nth-child(5)::before { display: none; }
	.tx-page .tx-line-cap { align-items: flex-start; padding: 13px 16px; font-size: 14px; }
	.tx-page .tx-line-cap i { margin-top: 3px; }
	.tx-page .tx-why-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.tx-page .tx-how-foot { border-radius: 18px; align-items: flex-start; padding: 14px 18px; }
	.tx-page .tx-how-foot i { margin-top: 4px; }
	.tx-page .tx-countdown { gap: 6px; }
	.tx-page .tx-cd { min-width: 0; flex: 1; }
	.tx-page .tx-faq { padding: 64px 0 74px; }
	.tx-page .tx-faq-item summary { padding: 16px 18px; }
	.tx-page .tx-faq-item summary h3 { font-size: 16px; }
	.tx-page .tx-faq-item p { padding: 0 18px 18px; font-size: 15px; }
}
@media (max-width: 575px) {
	.tx-page .tx-pill { border-radius: 18px; font-size: 11px; padding: 9px 14px; align-items: flex-start; }
	.tx-page .tx-pill .dot { margin-top: 4px; }
	.tx-page .tx-hero-actions .tx-btn { width: 100%; }
	.tx-page .tx-build { padding: 26px 0 96px; }
	.tx-page .tx-build-paper { left: -4px; width: 34%; bottom: -84px; }
	.tx-page .tx-tag { left: 8px; top: -22px; font-size: 11.5px; padding: 6px 12px; }
	.tx-page .tx-build .c1 { top: -22px; }
	.tx-page .tx-chipx { font-size: 11.5px; padding: 7px 11px; gap: 6px; }
	.tx-page .tx-build .c1 { left: auto; right: 0; }
	.tx-page .tx-build .c2 { right: 0; }
	.tx-page .tx-build .c3 { left: 0; bottom: -106px; }
	.tx-page .tx-build .c4 { right: 0; bottom: -62px; }
	.tx-page .tx-mock-wrap.tx-teach-mock { padding: 20px 0 80px 86px; }
	.tx-page .tx-teach-paper { width: 104px; }
	.tx-page .tx-dash { padding: 28px 0 96px 84px; }
	.tx-page .tx-dash-phone { left: 0; width: 158px; }
	.tx-page .tx-dash-phone .tx-phone-screen { min-height: 280px; }
	.tx-page .tx-dash-paper-wrap { right: -4px; bottom: 26px; }
	.tx-page .tx-dash-paper { width: 112px; }
	.tx-page .tx-dash .d1 { left: auto; right: 8px; top: 10px; }
	.tx-page .tx-dash .d2 { left: 18px; }
	.tx-page .tx-dash .d3 { right: 0; bottom: 8px; }
	.tx-page .tx-companies-panel { padding: 26px 20px; }
	.tx-page .tx-company-link { white-space: normal; text-align: center; width: 100%; }
	.tx-page .tx-reserve-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.tx-page .tx-hero-bg .g1, .tx-page .tx-hero-bg .g2, .tx-page .tx-hero-bg .g3,
	.tx-page .tx-pill .dot, .tx-page .tx-build .tx-tag, .tx-page .tx-build .tx-chipx, .tx-page .tx-sv * { animation: none !important; }
	.tx-page .tx-btn, .tx-page .tx-btn i, .tx-page .tx-step, .tx-page .tx-why-item,
	.tx-page .tx-faq-item, .tx-page .tx-faq-toggle { transition: none !important; }
	.tx-page .tx-btn:hover, .tx-page .tx-btn:hover i { transform: none; }
	.tx-page .tx-step:hover, .tx-page .tx-why-item:hover { translate: none; }
}
