@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Lexend:wght@600;700;800;900&family=Sora:wght@400;600;700;800&family=Instrument+Serif:ital@0;1&family=Plus+Jakarta+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
	--bg: #f6f9ff;
	--surface: rgba(255, 255, 255, 0.78);
	--surface-strong: #ffffff;
	--text: #151c22;
	--muted: #425066;
	--muted-2: #727784;
	--line: #dce3ec;
	--primary: #003f87;
	--primary-dark: #0056b3;
	--primary-soft: #eef4fd;
	--accent: #2dd4bf;
	--gold: #f59e0b;
	--shadow: 0 1.5rem 3rem -0.75rem rgba(0, 0, 0, 0.22);
	--shadow-soft: 0 0.25rem 0.9rem rgba(16, 24, 40, 0.06);
	--radius-xl: 1.75rem;
	--radius-lg: 1.25rem;
	--radius-md: 1rem;
	--radius-sm: 0.75rem;
	--container: 74.75rem;

	--header-offset: 4rem;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	text-size-adjust: 100%;
	scrollbar-color: var(--primary) var(--primary-soft);
}

body {
	margin: 0;
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	color: var(--text);
	background: var(--bg);
	overflow-x: hidden;
}

body::before {
	content: none;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
}

.page {
	position: relative;
	z-index: 1;
}

.container {
	width: min(var(--container), calc(100% - clamp(1.25rem, 4vw, 5.25rem)));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.9);
	border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

/* Ensure in-page anchors land below the sticky header */
section,
.section,
.hero,
.report-section {
	scroll-margin-top: var(--header-offset);
}

@media (max-width: 51.25rem) {

	/* header is smaller on mobile; reduce offset */
	:root {
		--header-offset: 4.25rem;
	}
}

.site-header>.container:first-child {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 5rem;
	gap: 1.5rem;
}

.brand {
	display: inline-flex;
	align-items: center;
}

.brand img {
	width: clamp(5rem, 8vw, 6rem);
	height: auto;
	display: block;
}

.nav {
	display: flex;
	align-items: center;
	gap: 1.75rem;
	color: #475569;
	font-size: clamp(0.92rem, 0.88rem + 0.2vw, 0.98rem);
	font-family: Inter, sans-serif;
}

.nav a {
	position: relative;
	transition: color 0.2s ease;
}

.nav a:hover {
	color: var(--text);
}

.nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -0.5rem;
	width: 0;
	height: 0.125rem;
	border-radius: 999rem;
	background: var(--primary);
	transition: width 0.22s ease;
}

.nav a:hover::after {
	width: 100%;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.mobile-nav {
	display: none;
}

.menu-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(17, 24, 39, 0.1);
	border-radius: 0.875rem;
	background: #ffffff;
	color: var(--primary);
	box-shadow: none;
	cursor: pointer;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.625rem;
	min-height: 3rem;
	padding: 0 1.25rem;
	border-radius: 999rem;
	border: 1px solid transparent;
	font-weight: 700;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
	cursor: pointer;
	font-family: Inter, sans-serif;
}

.btn:hover {
	transform: translateY(-0.0625rem);
}

.btn-primary {
	color: #fff;
	background: #003f87;
	box-shadow: none;
}

.btn-primary:hover {
	box-shadow: none;
}

.btn-secondary {
	color: var(--primary);
	background: #f6f9ff;
	border-color: #c2c6d4;
	box-shadow: none;
}

.btn-ghost {
	min-height: 2.625rem;
	padding: 0 1rem;
	color: var(--primary);
	background: #ffffff;
	border-color: #c2c6d4;
}

.hero {
	padding: 5.75rem 0 4.875rem;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, clamp(22rem, 37.8vw, 37.787rem)) minmax(0, clamp(22rem, 37vw, 37rem));
	justify-content: space-between;
	align-items: start;
	gap: 0;
	min-height: 37.5rem;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.95rem;
	border-radius: 999rem;
	background: var(--primary-soft);
	border: 1px solid var(--line);
	color: var(--primary);
	font-size: 0.875rem;
	font-weight: 600;
	font-family: Inter, sans-serif;
}

.eyebrow::before {
	content: '';
	width: 0.8rem;
	height: 0.66rem;
	border-radius: 0;
	background: var(--primary);
}

.hero h1,
.section-intro h2,
.section-heading h2,
.message-copy h2,
.banner h2,
.cta-box h2,
.center-title h2 {
	margin: 0;
	letter-spacing: -0.055em;
	line-height: 0.96;
}

.hero h1 {
	margin-top: 2rem;
	max-width: 37.787rem;
	font-size: clamp(3.3rem, 6vw, 4.5rem);
	font-weight: 800;
	letter-spacing: -0.1125rem;
	line-height: 1;
	font-family: Lexend, Inter, sans-serif;
}

.hero h1 .blue {
	color: var(--primary);
}

.hero-lead {
	max-width: 32.97rem;
	margin: 2.125rem 0 0;
	color: var(--muted);
	font-size: 1.25rem;
	line-height: 1.75;
}

.hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	padding-top: 1rem;
}

.hero-actions .btn {
	font-size: 1.125rem;
	font-weight: 600;
	font-family: Lexend, Inter, sans-serif;
}

.hero-actions .btn-primary {
	width: 15.033rem;
	height: 3.75rem;
	padding: 1rem 2rem;
}

.hero-actions .btn-secondary {
	width: 11.481rem;
	height: 3.875rem;
	padding: 1rem 2rem;
}

.hero-visual {
	position: relative;
	width: clamp(22rem, 37vw, 37rem);
	height: 37.5rem;
	min-height: 37.5rem;
	display: flex;
	justify-content: flex-end;
}

.dashboard-stack {
	position: relative;
	width: 37rem;
	height: 37.5rem;
	margin-left: auto;
}

.card {
	position: absolute;
	background: #ffffff;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	box-shadow: none;
}

.stat-card,
.mini-note,
.teacher-chip,
.message-card,
.report-card,
.testimonial-card,
.panel-item,
.feature-stage,
.cta-box {
	will-change: transform;
}

.mini-note {
	top: -3.76rem;
	right: 0.75rem;
	width: 25rem;
	height: 15.625rem;
	padding: 1.25rem;
	transform: none;
	z-index: 2;
}

.mini-note .note-line {
	height: 0.4375rem;
	border-radius: 999rem;
	background: #e7edf6;
	margin-top: 0.5625rem;
}

.mini-note .note-line:nth-of-type(2) {
	width: 82%;
}

.mini-note .note-line:nth-of-type(3) {
	width: 58%;
}

.mini-note .note-head,
.report-top,
.report-row,
.message-head,
.testimonial-head,
.stat-header,
.panel-meta,
.feature-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 0.7rem;
	border-radius: 999rem;
	background: #eef4fd;
	color: var(--primary);
	font-size: 0.75rem;
	font-weight: 700;
}

.chip .dot {
	width: 0.4375rem;
	height: 0.4375rem;
	border-radius: 50%;
	background: var(--primary);
	box-shadow: none;
}

.mini-note h4,
.stat-card h4,
.info-card h4,
.report-card h4,
.testimonial-card h4,
.panel-item h4,
.feature-copy h4 {
	margin: 0;
	font-size: 1rem;
	line-height: 1.15;
	letter-spacing: -0.03em;
}

.mini-note p,
.stat-card p,
.info-card p,
.report-card p,
.testimonial-card p,
.panel-item p,
.feature-copy p,
.section-intro p,
.banner p,
.footer-note,
.feature-stage p,
.message-copy p {
	margin: 0;
	color: var(--muted);
	line-height: 1.7;
}

.mini-note p {
	font-size: 0.78rem;
	margin-top: 0.5rem;
}

.stat-card {
	left: 1.5rem;
	top: 7.5rem;
	width: 30rem;
	height: 22.5rem;
	padding: 1.5rem;
	z-index: 1;
}

.stat-card h4 {
	margin-bottom: 0.75rem;
	font-size: 1.05rem;
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.metric-box {
	padding: 0.875rem;
	border-radius: 1.125rem;
	background: #f8fbff;
	border: 1px solid rgba(22, 89, 183, 0.06);
}

.metric-box .label {
	color: #7a8597;
	font-size: 0.75rem;
	margin-bottom: 0.375rem;
}

.metric-box .value {
	color: var(--primary);
	font-size: clamp(1.1rem, 1vw + 0.5rem, 1.4rem);
	font-weight: 800;
	letter-spacing: -0.05em;
}

.activity-list {
	margin-top: 0.875rem;
	display: grid;
	gap: 0.625rem;
}

.activity-item {
	display: flex;
	gap: 0.625rem;
	align-items: flex-start;
	padding: 0.7rem 0.8rem;
	border-radius: 1rem;
	background: #f7faff;
	border: 1px solid rgba(17, 24, 39, 0.04);
	font-size: 0.8rem;
	color: #364154;
}

.activity-icon {
	flex: 0 0 auto;
	width: 1.5rem;
	height: 1.5rem;
	display: grid;
	place-items: center;
	border-radius: 0.5rem;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
}

.activity-icon.blue {
	background: #1d5cc0;
}

.activity-icon.red {
	background: #df4d67;
}

.teacher-chip {
	position: absolute;
	right: 0.125rem;
	bottom: 2.875rem;
	width: 17.5rem;
	height: 5.125rem;
	padding: 1rem;
	transform: none;
	display: flex;
	align-items: center;
	gap: 0.625rem;
	z-index: 3;
}

.avatar {
	width: 2.125rem;
	height: 2.125rem;
	border-radius: 50%;
	flex: 0 0 auto;
	background: #d98f4a;
	box-shadow: inset 0 0 0 0.0625rem rgba(255, 255, 255, 0.24);
}

.teacher-chip strong,
.user-meta strong,
.testimonial-footer strong,
.attachment-card strong {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 0.125rem;
}

.teacher-chip span,
.user-meta span,
.testimonial-footer span,
.attachment-card span {
	font-size: 0.75rem;
	color: var(--muted);
}

.illustration,
.hero-planet {
	display: none;
}

.section {
	padding: clamp(1.75rem, 3vw, 2.5rem) 0;
}

.section-intro {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 3vw, 2.25rem);
	padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.section-visual {
	min-height: clamp(20rem, 38vw, 25.5rem);
	border-radius: 2rem;
	background: #eef4fd;
	box-shadow: none;
	border: 1px solid rgba(17, 24, 39, 0.04);
}

.section-intro .section-copy {
	padding: 1rem 0.25rem 1rem 0.5rem;
}

.section-intro .eyebrow,
.section-heading .eyebrow,
.report-section .eyebrow,
.message-section .eyebrow {
	margin-bottom: 0.625rem;
}

.section-intro h2 {
	font-size: clamp(2.3rem, 4.1vw, 4.1rem);
	font-weight: 900;
	max-width: 35rem;
}

.section-intro p {
	max-width: 35rem;
	margin-top: 1rem;
	font-size: 1rem;
}

.stats {
	display: flex;
	gap: 2.5rem;
	margin-top: 1.25rem;
	flex-wrap: wrap;
}

.stats .stat strong {
	display: block;
	color: var(--primary);
	font-size: clamp(1.65rem, 2vw, 2rem);
	font-weight: 900;
	letter-spacing: -0.06em;
}

.stats .stat span {
	color: var(--muted);
	font-size: 0.88rem;
	font-weight: 500;
}

.banner {
	margin: 1.75rem 0 2.125rem;
	padding: clamp(3rem, 6vw, 3.75rem) 0;
	background: #1256b3;
	box-shadow: none;
	color: #fff;
	text-align: center;
	width: 100%;
	overflow: hidden;
}

.banner .container {
	position: relative;
	z-index: 1;
}

.banner h2 {
	font-size: clamp(1.95rem, 3.6vw, 2.75rem);
	font-weight: 800;
	margin-bottom: 0.625rem;
}

.banner p {
	color: rgba(255, 255, 255, 0.82);
	max-width: 49.375rem;
	margin: 0 auto;
	font-size: 0.97rem;
	line-height: 1.72;
}

.feature-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.5rem, 3vw, 2.25rem);
	align-items: center;
	padding: 0.75rem 0 1.5rem;
}

.panel-list {
	display: grid;
	gap: 0.75rem;
	margin-top: 1rem;
}

.panel-item {
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: 0.875rem;
	align-items: center;
	padding: 1.125rem 1.125rem 1.125rem 1rem;
	border-radius: 1.25rem;
	background: var(--surface-strong);
	border: 1px solid rgba(17, 24, 39, 0.06);
	box-shadow: 0 0.5rem 1.125rem rgba(17, 24, 39, 0.04);
	cursor: pointer;
	text-align: left;
	width: 100%;
	font: inherit;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.panel-item:hover {
	transform: translateY(-0.0625rem);
	box-shadow: 0 0.75rem 1.5rem rgba(17, 24, 39, 0.06);
}

.panel-item:focus-visible {
	outline: 0.125rem solid rgba(22, 89, 183, 0.35);
	outline-offset: 0.1875rem;
}

.panel-item.active {
	background: #edf4ff;
	border-color: rgba(22, 89, 183, 0.16);
	box-shadow: inset 0 0 0 0.0625rem rgba(22, 89, 183, 0.05), 0 0.5rem 1.125rem rgba(17, 24, 39, 0.04);
}

.panel-number {
	color: var(--primary);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.panel-item h4 {
	margin-bottom: 0.3rem;
	font-size: 0.98rem;
}

.feature-art {
	position: relative;
	min-height: clamp(18rem, 34vw, 22rem);
	border-radius: 1.625rem;
	overflow: hidden;
	background: #f3f7fd;
	box-shadow: none;
	border: 1px solid rgba(17, 24, 39, 0.04);
	display: grid;
	place-items: center;
	padding: 1.5rem;
}

.feature-art::before {
	content: '';
	position: absolute;
	inset: 0;
	background: #f8fbff;
	opacity: 1;
}

.device {
	position: absolute;
	left: 50%;
	bottom: 1.75rem;
	width: clamp(12rem, 20vw, 13.75rem);
	aspect-ratio: 1;
	height: auto;
	transform: translateX(-50%);
	border-radius: 1.25rem;
	background: #ffffff;
	box-shadow: none;
}

.device::before,
.device::after {
	content: '';
	position: absolute;
	inset: 2.25rem;
	border-radius: 50%;
	border: 0.25rem solid rgba(17, 24, 39, 0.12);
}

.device::after {
	inset: 1.25rem;
	border-width: 0.0625rem;
	opacity: 0.35;
}

.feature-stage {
	position: relative;
	width: min(100%, clamp(18rem, 32vw, 21.25rem));
	padding: 1.25rem;
	border-radius: 1.5rem;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(17, 24, 39, 0.05);
	box-shadow: none;
	z-index: 1;
}

.feature-stage::before {
	content: attr(data-feature-badge);
	display: inline-flex;
	align-items: center;
	padding: 0.375rem 0.625rem;
	border-radius: 999rem;
	background: #eef4fd;
	color: var(--primary);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.feature-stage h4 {
	margin: 1rem 0 0.5rem;
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.35rem);
	letter-spacing: -0.04em;
}

.feature-stage .stage-visual {
	margin-top: 1rem;
	aspect-ratio: 17 / 9;
	height: auto;
	border-radius: 1.125rem;
	position: relative;
	overflow: hidden;
	background: #dde8fb;
}

.feature-stage .stage-visual::before,
.feature-stage .stage-visual::after {
	content: '';
	position: absolute;
	border-radius: 999rem;
}

.feature-stage .stage-visual::before {
	width: 10.5rem;
	height: 10.5rem;
	left: -1.125rem;
	bottom: -2.625rem;
	background: #d7e2f3;
}

.feature-stage .stage-visual::after {
	width: 6.875rem;
	height: 6.875rem;
	right: -1.125rem;
	top: -1.25rem;
	background: #cfe8e4;
}

.feature-stage[data-active='parent-hub'] .stage-visual::after {
	background: #cfe8e4;
}

.feature-stage[data-active='teacher-portal'] .stage-visual::after {
	background: #f3e0b5;
}

.feature-stage[data-active='student-node'] .stage-visual::after {
	background: #d8dcf5;
}

.message-section {
	width: 100%;
	padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(3rem, 6vw, 4.5rem);
	background: #f7faff;
	border-top: 1px solid rgba(17, 24, 39, 0.03);
	border-bottom: 1px solid rgba(17, 24, 39, 0.03);
	position: relative;
}

.message-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.56fr) minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: center;
}

.message-card {
	position: relative;
	width: min(100%, clamp(16rem, 28vw, 18.75rem));
	padding: 1.125rem 1rem;
	border-radius: 1.25rem;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.03);
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.message-head {
	margin-bottom: 0.25rem;
	justify-content: flex-start;
	gap: 0.625rem;
}

.user-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.user-meta .avatar {
	width: 2.625rem;
	height: 2.625rem;
	box-shadow: 0 0.625rem 1.375rem rgba(17, 24, 39, 0.12);
}

.message-body {
	position: relative;
	display: grid;
	gap: 0.75rem;
	padding: 0.25rem 0 0;
}

.speech {
	width: fit-content;
	max-width: 84%;
	padding: 0.75rem 1rem;
	border-radius: 0.875rem;
	font-size: 0.92rem;
	line-height: 1.55;
	box-shadow: none;
}

.speech.light {
	background: #f5f8fc;
	color: #3b4858;
	border: 1px solid rgba(16, 24, 40, 0.03);
}

.speech.primary {
	margin-left: auto;
	background: #1659b7;
	color: #fff;
	border-radius: 1rem;
	box-shadow: none;
}

.compose-row {
	margin-top: 0.875rem;
	display: flex;
	gap: 0.625rem;
	align-items: center;
}

.compose-row .fake-input {
	flex: 1;
	min-height: 2.625rem;
	border-radius: 0.875rem;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.04);
	color: #8894a6;
	font-size: 0.88rem;
	display: flex;
	align-items: center;
	padding: 0 0.875rem;
}

.attachment-card {
	position: absolute;
	right: 0.75rem;
	bottom: -1rem;
	width: 10.5rem;
	padding: 0.75rem 0.875rem;
	border-radius: 0.875rem;
	background: #ffffff;
	border: 1px solid rgba(17, 24, 39, 0.03);
	box-shadow: none;
}

.message-copy h2 {
	max-width: 35rem;
	font-size: clamp(2.5rem, 4.8vw, 4.25rem);
	font-weight: 900;
	line-height: 0.98;
}

.message-copy h2 .accent {
	color: var(--primary);
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-weight: 700;
	letter-spacing: -0.04em;
}

.message-copy p {
	max-width: 33.75rem;
	margin-top: 1rem;
}

.check-list {
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.check-list li {
	position: relative;
	padding-left: 2rem;
	color: #445066;
	font-weight: 600;
}

.check-list li::before {
	content: '✓';
	position: absolute;
	left: 0;
	top: 0;
	width: 1.125rem;
	height: 1.125rem;
	border-radius: 50%;
	background: rgba(26, 172, 104, 0.12);
	color: #1aa76a;
	display: grid;
	place-items: center;
	font-size: 0.75rem;
	font-weight: 900;
}

.report-section {
	padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 2.75rem);
}

.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 1.125rem;
}

.section-heading h2 {
	font-size: clamp(2.1rem, 4vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.05em;
}

.reports-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	gap: 1.125rem;
}

.report-card {
	min-height: clamp(13rem, 20vw, 15rem);
	padding: 1.25rem;
	border-radius: 1.625rem;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(16, 24, 40, 0.05);
	box-shadow: none;
}

.report-card h4 {
	font-size: 1.1rem;
}

.report-card p {
	font-size: 0.9rem;
	margin-top: 0.375rem;
}

.attendance-ring {
	margin: 2rem auto 0;
	width: clamp(7rem, 12vw, 8rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #e8eef7;
	display: grid;
	place-items: center;
	box-shadow: inset 0 0 0 0.75rem rgba(255, 255, 255, 0.72);
}

.attendance-ring>div {
	width: clamp(4.5rem, 8vw, 5rem);
	aspect-ratio: 1;
	border-radius: 50%;
	background: #fff;
	display: grid;
	place-items: center;
	text-align: center;
	color: #1e293b;
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	box-shadow: none;
}

.attendance-ring strong {
	display: block;
	font-size: 1.35rem;
	color: var(--primary);
	margin-bottom: 0.1875rem;
}

.chart {
	margin-top: 1.5rem;
	height: clamp(7rem, 14vw, 8.25rem);
	display: flex;
	align-items: end;
	gap: 0.625rem;
	padding: 0.375rem 0 0;
}

.bar {
	flex: 1;
	border-radius: 1rem 1rem 0 0;
	background: rgba(22, 89, 183, 0.22);
	min-height: 2.625rem;
}

.bar:nth-child(1) {
	height: 34%;
}

.bar:nth-child(2) {
	height: 48%;
}

.bar:nth-child(3) {
	height: 55%;
}

.bar:nth-child(4) {
	height: 66%;
}

.bar:nth-child(5) {
	height: 76%;
}

.bar:nth-child(6) {
	height: 90%;
}

.bar:nth-child(7) {
	height: 68%;
}

.bar:nth-child(8) {
	height: 62%;
}

.bar:nth-child(9) {
	height: 56%;
}

.bar:nth-child(10) {
	height: 43%;
}

.bar:nth-child(11) {
	height: 52%;
}

.bar:nth-child(12) {
	height: 70%;
}

.testimonials {
	padding: clamp(2.5rem, 5vw, 3rem) 0 clamp(2rem, 4vw, 2.5rem);
}

.center-title {
	text-align: center;
	margin-bottom: 1.5rem;
}

.center-title h2 {
	font-size: clamp(2rem, 3.2vw, 3.1rem);
	font-weight: 700;
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.testimonial-card {
	padding: 1.25rem;
	border-radius: 1.375rem;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(16, 24, 40, 0.05);
	box-shadow: none;
	display: grid;
	gap: 0.875rem;
}

.stars {
	color: var(--gold);
	letter-spacing: 0.125rem;
	font-size: 0.95rem;
}

.testimonial-card blockquote {
	margin: 0;
	color: #445066;
	line-height: 1.7;
	font-size: 0.94rem;
}

.testimonial-footer {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.testimonial-footer .avatar {
	width: 2.5rem;
	height: 2.5rem;
	filter: saturate(0.8);
}

.cta {
	padding: clamp(1.75rem, 3vw, 2.5rem) 0 clamp(3.5rem, 6vw, 4rem);
}

.cta-box {
	padding: clamp(2.5rem, 4.5vw, 3.5rem) clamp(1.25rem, 4vw, 1.875rem);
	border-radius: 2rem;
	text-align: center;
	color: #fff;
	background: #1156b7;
	box-shadow: none;
}

.cta-box h2 {
	margin: 0 auto;
	max-width: 55rem;
	font-size: clamp(2.15rem, 4vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
}

.cta-box p {
	margin-top: 0.875rem;
	color: rgba(255, 255, 255, 0.78);
}

.cta-actions {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-top: 1.75rem;
}

.btn-light {
	color: var(--primary);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: none;
}

.btn-outline-light {
	color: rgba(255, 255, 255, 0.95);
	background: transparent;
	border-color: rgba(255, 255, 255, 0.22);
}

.site-footer {
	padding: 1.125rem 0 1.875rem;
	color: #8f97a9;
	font-size: 0.76rem;
}

.site-footer .container {
	display: flex;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	border-top: 1px solid rgba(17, 24, 39, 0.05);
	padding-top: 1rem;
}

.footer-links {
	display: flex;
	gap: 1.375rem;
	flex-wrap: wrap;
}

/* ==========================================
   PAGE INTRO CURTAIN
   ========================================== */
.page-curtain {
	position: fixed;
	inset: 0;
	z-index: 9000;
	background: var(--bg);
	pointer-events: none;
	animation: liftCurtain 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

@keyframes liftCurtain {
	to {
		opacity: 0;
		visibility: hidden;
	}
}

/* ==========================================
   SCROLL-REVEAL  (IntersectionObserver driven)
   ========================================== */
.fade-up {
	opacity: 0;
	transform: translateY(2rem);
	transition:
		opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.in-view {
	opacity: 1;
	transform: translateY(0);
}

.delay-1 {
	transition-delay: 0.1s;
}

.delay-2 {
	transition-delay: 0.2s;
}

.delay-3 {
	transition-delay: 0.3s;
}

.delay-4 {
	transition-delay: 0.4s;
}

.mobile-cta {
	width: 100%;
}

/* ==========================================
   HERO STAGGERED CASCADE
   ========================================== */
.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-lead,
.hero-copy .hero-actions {
	opacity: 0;
	transform: translateY(1.75rem);
}

.hero-copy.in-view .eyebrow {
	animation: heroCascade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-copy.in-view h1 {
	animation: heroCascade 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

.hero-copy.in-view .hero-lead {
	animation: heroCascade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-copy.in-view .hero-actions {
	animation: heroCascade 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.65s both;
}

/* Heading blue spans get a color sweep */
.hero-copy h1 .blue {
	background-size: 200% 100%;
	background-position: 100% 0;
	background-image: linear-gradient(90deg, var(--primary) 50%, var(--text) 50%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	transition: background-position 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-copy.in-view h1 .blue {
	background-position: 0 0;
}

@keyframes heroCascade {
	from {
		opacity: 0;
		transform: translateY(1.75rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================
   DASHBOARD CARDS – DIRECTIONAL ENTRANCES
   ========================================== */
.hero-visual .mini-note {
	opacity: 0;
	transform: translateX(3rem) translateY(-1.5rem) scale(0.92);
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-visual .stat-card {
	opacity: 0;
	transform: translateY(2.5rem) scale(0.92);
	transition:
		opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s,
		transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.hero-visual .teacher-chip {
	opacity: 0;
	transform: translateX(2rem) translateY(1rem) scale(0.92);
	transition:
		opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s,
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.hero-visual.in-view .mini-note,
.hero-visual.in-view .stat-card,
.hero-visual.in-view .teacher-chip {
	opacity: 1;
	transform: none;
}

/* Subtle idle float after cards land */
.hero-visual.in-view .mini-note {
	animation: subtleFloat 5s ease-in-out 1.2s infinite;
}

.hero-visual.in-view .teacher-chip {
	animation: subtleFloat 6s ease-in-out 1.6s infinite;
}

@keyframes subtleFloat {

	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-0.4rem);
	}
}

/* ==========================================
   HEADER BAR ENTRANCE
   ========================================== */
.site-header .brand,
.site-header .nav,
.site-header .header-actions {
	opacity: 0;
	transform: translateY(-0.75rem);
	animation: headerDrop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-header .brand {
	animation-delay: 0.05s;
}

.site-header .nav {
	animation-delay: 0.12s;
}

.site-header .header-actions {
	animation-delay: 0.2s;
}

@keyframes headerDrop {
	from {
		opacity: 0;
		transform: translateY(-0.75rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================
   BANNER / CTA SECTION SCALE-IN
   ========================================== */
.banner.fade-up,
.cta-box.fade-up {
	transform: translateY(2rem) scale(0.97);
}

.banner.fade-up.in-view,
.cta-box.fade-up.in-view {
	transform: translateY(0) scale(1);
}

/* Bar chart bars grow on reveal */
.chart .bar {
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.report-card.in-view .chart .bar,
.fade-up.in-view .chart .bar {
	transform: scaleY(1);
}

.chart .bar:nth-child(1) {
	transition-delay: 0.05s;
}

.chart .bar:nth-child(2) {
	transition-delay: 0.1s;
}

.chart .bar:nth-child(3) {
	transition-delay: 0.15s;
}

.chart .bar:nth-child(4) {
	transition-delay: 0.2s;
}

.chart .bar:nth-child(5) {
	transition-delay: 0.25s;
}

.chart .bar:nth-child(6) {
	transition-delay: 0.3s;
}

.chart .bar:nth-child(7) {
	transition-delay: 0.35s;
}

.chart .bar:nth-child(8) {
	transition-delay: 0.4s;
}

.chart .bar:nth-child(9) {
	transition-delay: 0.45s;
}

.chart .bar:nth-child(10) {
	transition-delay: 0.5s;
}

.chart .bar:nth-child(11) {
	transition-delay: 0.55s;
}

.chart .bar:nth-child(12) {
	transition-delay: 0.6s;
}

/* Attendance ring fill animation */
.attendance-ring {
	transform: scale(0.8);
	opacity: 0;
	transition:
		transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
		opacity 0.5s ease 0.2s;
}

.report-card.in-view .attendance-ring,
.fade-up.in-view .attendance-ring {
	transform: scale(1);
	opacity: 1;
}

/* Testimonial card stagger */
.testimonial-card.fade-up:nth-child(1) {
	transition-delay: 0s;
}

.testimonial-card.fade-up:nth-child(2) {
	transition-delay: 0.12s;
}

.testimonial-card.fade-up:nth-child(3) {
	transition-delay: 0.24s;
}

/* Legacy compat — keep the keyframe name alive for anything that still references it */
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translateY(1.375rem);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 67.5rem) {

	.hero-grid,
	.section-intro,
	.feature-grid,
	.message-inner,
	.reports-grid {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		width: 100%;
		min-height: 31rem;
		justify-content: center;
	}

	.dashboard-stack {
		width: min(100%, 34rem);
		height: auto;
		aspect-ratio: 592 / 600;
	}

	.section-intro .section-copy,
	.message-copy {
		padding: 0;
	}

	.message-copy h2,
	.section-intro h2 {
		max-width: 100%;
	}

	.testimonial-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 51.25rem) {
	.container {
		width: min(var(--container), calc(100% - 1.75rem));
	}

	.site-header .container {
		min-height: 4.5rem;
	}

	.nav,
	.header-actions .desktop-cta {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.mobile-nav {
		padding: 0 0 1.125rem;
	}

	.mobile-nav.open {
		display: grid;
		gap: 0.625rem;
	}

	.mobile-nav a {
		padding: 0.75rem 0.875rem;
		border-radius: 0.875rem;
		background: rgba(255, 255, 255, 0.72);
		border: 1px solid rgba(17, 24, 39, 0.06);
		color: #425066;
		font-weight: 600;
	}

	.hero {
		padding-top: 2rem;
	}

	.hero h1 {
		font-size: clamp(2.85rem, 13vw, 4.4rem);
	}

	.hero-lead {
		font-size: 0.98rem;
	}

	.promo-overlay {
		display: none !important;
	}

	.mobile-redirect-text {
		display: block !important;
	}

	@media (max-width: 35rem) {
		.hero h1 {
			font-size: clamp(1.95rem, 7vw, 2.6rem);
		}
	}

	.dashboard-stack {
		width: min(100%, clamp(22rem, 42vw, 34rem));
		aspect-ratio: 592 / 600;
		height: auto;
	}

	.stat-card {
		right: 0.625rem;
		left: auto;
		top: 5.25rem;
		width: 16.5rem;
	}

	.mini-note {
		right: 0.625rem;
	}

	.feature-art {
		min-height: 20rem;
	}

	.banner,
	.cta-box {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
	}

	.stats {
		gap: 1.25rem 2rem;
	}

	.site-footer .container {
		flex-direction: column;
	}
}

@media (max-width: 35rem) {
	.container {
		width: min(var(--container), calc(100% - 1.25rem));
	}

	.hero {
		padding-bottom: 2.75rem;
	}

	.hero-actions,
	.cta-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.btn,
	.btn-light,
	.btn-outline-light {
		width: 100%;
	}

	.hero-grid,
	.section-intro,
	.feature-grid,
	.message-inner {
		gap: 1.5rem;
	}

	.hero-visual {
		display: none;
	}

	.dashboard-stack {
		display: none;
	}

	.section,
	.section-intro,
	.banner,
	.feature-grid,
	.message-section,
	.report-section,
	.testimonials,
	.cta {
		padding-top: 1.5rem;
		padding-bottom: 1.5rem;
	}

	.section-intro h2,
	.message-copy h2 {
		font-size: clamp(2.1rem, 12vw, 3.4rem);
	}

	.section-intro p,
	.message-copy p,
	.banner p,
	.cta-box p {
		font-size: 0.95rem;
	}

	.banner,
	.cta-box {
		border-radius: 1.5rem;
	}

	.panel-item,
	.testimonial-card,
	.report-card,
	.message-card {
		border-radius: 1.25rem;
	}

	.panel-item {
		grid-template-columns: 2.25rem minmax(0, 1fr);
		gap: 0.75rem;
		padding: 1rem 0.875rem;
	}

	.reports-grid,
	.testimonial-grid,
	.stats {
		gap: 0.875rem;
	}

	.report-card {
		min-height: unset;
	}

	.chart {
		gap: 0.4375rem;
	}

	.cta-box h2 {
		font-size: clamp(2rem, 9vw, 3rem);
	}
}

/* Auth screens */
.auth-page {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 2rem;
	background:
		radial-gradient(circle at 10% 15%, rgba(255, 255, 255, 0.55), transparent 30%),
		radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.32), transparent 28%),
		linear-gradient(180deg, #d6d9e6 0%, #d9dde9 100%);
	overflow: hidden;
	font-family: Poppins, Inter, sans-serif;
}

/* Mobile-only redirect text (hidden by default, shown on small screens) */
.mobile-redirect-text {
	display: none;
	text-align: center;
	margin-bottom: 1rem;
	font-weight: 700;
	color: var(--muted);
}

/* Style for the action links inside mobile redirect text */
.mobile-redirect-text a {
	color: var(--primary);
	font-weight: 800;
	text-decoration: underline;
	margin-left: 0.25rem;
}

.mobile-redirect-text a:focus,
.mobile-redirect-text a:hover {
	color: var(--primary-dark);
	text-decoration: none;
}

.auth-shell {
	width: min(100%, 1000px);
}

.auth-card {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	min-height: 635px;
	border-radius: 34px;
	overflow: hidden;
	background: #ffffff;
	box-shadow: 0 22px 50px rgba(17, 24, 39, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.45);
	position: relative;
}

.auth-card.is-login {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
}

.auth-panel {
	position: relative;
	min-height: 100%;
	display: grid;
	place-items: center;
	padding: 2.25rem;
}

/* Overlay Styling */
.promo-overlay {
	position: absolute;
	top: 0;
	width: 48.8%;
	height: 100%;
	background: #6288f2;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	overflow: hidden;
}

.promo-content {
	position: absolute;
	width: 100%;
	display: flex;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-login-content {
	transform: translateX(-50px);
}

.promo-register-content {
	transform: translateX(50px);
}

.auth-card.is-login .promo-login-content,
.auth-card.is-register .promo-register-content {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.55s;
}

@keyframes stretchRight {
	0% {
		left: 0;
		width: 48.8%;
		border-radius: 34px 0 220px 34px;
	}

	50% {
		left: 0;
		width: 100%;
		border-radius: 34px;
	}

	100% {
		left: 51.2%;
		width: 48.8%;
		border-radius: 0 34px 34px 220px;
	}
}

@keyframes stretchLeft {
	0% {
		left: 51.2%;
		width: 48.8%;
		border-radius: 0 34px 34px 220px;
	}

	50% {
		left: 0;
		width: 100%;
		border-radius: 34px;
	}

	100% {
		left: 0;
		width: 48.8%;
		border-radius: 34px 0 220px 34px;
	}
}

.auth-panel-content {
	text-align: center;
	max-width: 18rem;
}

.auth-panel-content h1 {
	margin: 0;
	font-size: clamp(2.6rem, 4vw, 3.5rem);
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.06em;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.auth-panel-content p {
	margin: 0.85rem 0 0;
	font-size: 1rem;
	font-weight: 500;
	opacity: 0.92;
}

.auth-outline-button {
	background: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 185px;
	height: 54px;
	margin-top: 1.35rem;
	padding: 0 1.75rem;
	border-radius: 0.875rem;
	border: 2px solid rgba(255, 255, 255, 0.72);
	color: #ffffff;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
	cursor: pointer;
}

.auth-panel--form {
	background: #ffffff;
	color: var(--text);
	padding: 2rem 2.6rem;
}

.auth-form-wrap {
	width: min(100%, 400px);
	text-align: center;
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-form .auth-form-wrap {
	opacity: 0;
	transform: translateX(60px);
}

.register-form .auth-form-wrap {
	opacity: 0;
	transform: translateX(-60px);
}

.auth-card.is-login .login-form .auth-form-wrap {
	opacity: 1;
	transform: translateX(0);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s;
}

.auth-card.is-register .register-form .auth-form-wrap {
	opacity: 1;
	transform: translateX(0);
	transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.45s;
}

/* Initial Load state */
.auth-card.is-loading .login-form .auth-form-wrap {
	opacity: 0 !important;
	transform: translateX(60px) !important;
}

.auth-card.is-loading .register-form .auth-form-wrap {
	opacity: 0 !important;
	transform: translateX(-60px) !important;
}

.auth-card.is-loading .promo-login-content {
	opacity: 0 !important;
	transform: translateX(-50px) !important;
}

.auth-card.is-loading .promo-register-content {
	opacity: 0 !important;
	transform: translateX(50px) !important;
}

.auth-form-wrap h2 {
	margin: 0 0 1.25rem;
	font-size: clamp(2.1rem, 3vw, 2.9rem);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -0.07em;
	color: #24262b;
}

.auth-form {
	display: grid;
	gap: 1.15rem;
}

.auth-field {
	position: relative;
	display: block;
}

.auth-field input {
	width: 100%;
	height: 54px;
	border: 0;
	border-radius: 0.55rem;
	padding: 0 3.15rem 0 1.25rem;
	background: #ececec;
	color: #2c3037;
	font: inherit;
	font-size: 1rem;
	font-weight: 500;
	outline: none;
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.75), 0 1px 0 rgba(0, 0, 0, 0.02);
}

.auth-field input::placeholder {
	color: #7d828b;
	font-weight: 500;
}

.auth-field i {
	position: absolute;
	right: 1.1rem;
	top: 50%;
	transform: translateY(-50%);
	color: #2e3138;
	font-size: 1.1rem;
	pointer-events: none;
}

.auth-link {
	display: inline-flex;
	justify-content: flex-end;
	width: 100%;
	margin-top: -0.2rem;
	color: #4b4f57;
	font-size: 0.92rem;
	font-weight: 500;
	text-decoration: none;
}

.auth-primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 54px;
	margin-top: 0.35rem;
	border: 0;
	border-radius: 0.65rem;
	background: #6288f2;
	color: #ffffff;
	font: inherit;
	font-size: 1.05rem;
	font-weight: 700;
	cursor: pointer;
}

.auth-google-button {
	background: transparent;
	border: 2px solid #dce3ec;
	color: #151c22;
	box-shadow: none;
	gap: 0.7rem;
	transition: all 0.2s ease;
}

.auth-google-button:hover {
	border-color: #6288f2;
	color: #6288f2;
}

.auth-divider-text {
	margin: 1.15rem 0 0.95rem;
	color: #4b4f57;
	font-size: 0.95rem;
	font-weight: 500;
}

.auth-socials {
	display: flex;
	justify-content: center;
	gap: 0.95rem;
	flex-wrap: wrap;
}

.auth-socials a {
	width: 54px;
	height: 54px;
	display: grid;
	place-items: center;
	border-radius: 0.65rem;
	border: 1.5px solid #d1d1d1;
	background: #ffffff;
	color: #222328;
	font-size: 1.1rem;
	text-decoration: none;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.auth-socials .fa-facebook-f,
.auth-socials .fa-linkedin-in {
	font-size: 1rem;
}

.auth-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.auth-page a,
.auth-page button,
.auth-page input {
	font-family: inherit;
}

.auth-page a:hover {
	opacity: 0.95;
}

@media (max-width: 920px) {
	.auth-page {
		padding: 1rem;
	}

	.auth-card,
	.auth-card.is-login {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.promo-overlay {
		position: static !important;
		width: 100% !important;
		height: auto;
		min-height: 330px;
		border-radius: 34px 34px 0 0 !important;
		animation: none !important;
	}

	.promo-content {
		position: static;
	}

	.auth-card.is-register .login-form {
		display: none;
	}

	.auth-card.is-login .register-form {
		display: none;
	}

	.auth-card.is-register .promo-login-content {
		display: none;
	}

	.auth-card.is-login .promo-register-content {
		display: none;
	}

	.auth-card.is-register .promo-overlay {
		order: -1;
	}

	.auth-card.is-login .promo-overlay {
		order: 1;
	}

	.auth-panel--form {
		padding: 2rem 1.4rem 2.35rem;
	}

	.auth-panel--form .auth-form-wrap {
		opacity: 1 !important;
		transform: translateX(0) !important;
		transition: none !important;
	}
}

@media (max-width: 520px) {
	.auth-page {
		padding: 0.75rem;
	}

	.auth-card,
	.auth-card--login {
		border-radius: 24px;
	}

	.auth-card--signup .auth-panel--promo,
	.auth-card--login .auth-panel--promo {
		min-height: 255px;
		border-radius: 24px 24px 0 0;
	}

	.auth-panel {
		padding: 1.4rem;
	}

	.auth-panel-content h1 {
		font-size: clamp(2.1rem, 11vw, 2.9rem);
	}

	.auth-panel-content p {
		font-size: 0.95rem;
	}

	.auth-outline-button,
	.auth-primary-button,
	.auth-field input,
	.auth-socials a {
		height: 50px;
	}

	.auth-outline-button {
		min-width: 170px;
	}

	.auth-form-wrap h2 {
		font-size: clamp(1.9rem, 10vw, 2.45rem);
	}

	.auth-field input {
		padding-right: 2.7rem;
		font-size: 0.96rem;
	}

	.auth-field i {
		right: 0.95rem;
	}

	.auth-divider-text {
		font-size: 0.9rem;
	}

	.auth-socials {
		gap: 0.7rem;
	}

	.auth-socials a {
		width: 50px;
		font-size: 1rem;
	}
}

/* ============================================
   MODAL STYLES
   ============================================ */
.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(4px);
}

.modal-content {
	position: relative;
	background: white;
	border-radius: var(--radius-lg);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 28rem;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
	from {
		transform: scale(0.95) translateY(-20px);
		opacity: 0;
	}

	to {
		transform: scale(1) translateY(0);
		opacity: 1;
	}
}

.modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.75rem;
	border-bottom: 1px solid var(--line);
}

.modal-header h2 {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--text);
}

.modal-close {
	background: none;
	border: none;
	font-size: 1.25rem;
	cursor: pointer;
	color: var(--muted-2);
	transition: color 0.2s;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: var(--radius-md);
	margin: -0.5rem -0.5rem -0.5rem 0;
}

.modal-close:hover {
	background: var(--primary-soft);
	color: var(--primary);
}

.modal-body {
	padding: 2rem 1.75rem;
	text-align: center;
}

.logout-icon {
	width: 4rem;
	height: 4rem;
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f87171, #dc2626);
	color: white;
	border-radius: 50%;
	font-size: 1.75rem;
	animation: logoutIconBounce 0.6s ease-out;
}

@keyframes logoutIconBounce {
	0% {
		transform: scale(0);
	}

	50% {
		transform: scale(1.1);
	}

	100% {
		transform: scale(1);
	}
}

.modal-body p {
	margin: 0.75rem 0;
	font-size: 1rem;
	color: var(--text);
	line-height: 1.6;
}

.logout-hint {
	font-size: 0.875rem;
	color: var(--muted);
	margin-top: 1rem;
}

.modal-footer {
	display: flex;
	gap: 1rem;
	padding: 1.75rem;
	border-top: 1px solid var(--line);
	justify-content: flex-end;
}

.modal-btn {
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: var(--radius-sm);
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
	flex: 1;
}

.modal-btn--secondary {
	background: var(--line);
	color: var(--text);
}

.modal-btn--secondary:hover {
	background: #cdd5e0;
}

.modal-btn--danger {
	background: #ef4444;
	color: white;
}

.modal-btn--danger:hover {
	background: #dc2626;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

/* Responsive modal */
@media (max-width: 640px) {
	.modal-content {
		width: 95%;
		max-height: 100vh;
		border-radius: var(--radius-md);
	}

	.modal-header {
		padding: 1.25rem;
	}

	.modal-body {
		padding: 1.5rem 1.25rem;
	}

	.modal-footer {
		padding: 1.25rem;
		flex-direction: column-reverse;
	}

	.modal-btn {
		flex: 1;
	}
}