:root {
	--c-background: 247 100% 97%;
	--c-foreground: 246 55% 18%;
	--c-card: 0 0% 100%;
	--c-primary: 238 91% 64%;
	--c-primary-foreground: 0 0% 100%;
	--c-secondary: 250 62% 92%;
	--c-muted: 250 62% 94%;
	--c-muted-foreground: 244 22% 44%;
	--c-accent: 19 100% 63%;
	--c-destructive: 0 84.2% 60.2%;
	--c-border: 250 55% 90%;
	--c-warm: 19 100% 63%;
	--c-warm-soft: 34 100% 81%;
	--c-grid: 250 62% 92%;
	--c-success: 142 71% 45%;
	--c-warning: 38 92% 50%;

	--color-background: hsl(var(--c-background));
	--color-foreground: hsl(var(--c-foreground));
	--color-card: hsl(var(--c-card));
	--color-primary: hsl(var(--c-primary));
	--color-secondary: hsl(var(--c-secondary));
	--color-muted: hsl(var(--c-muted));
	--color-muted-foreground: hsl(var(--c-muted-foreground));
	--color-accent: hsl(var(--c-accent));
	--color-destructive: hsl(var(--c-destructive));
	--color-border: hsl(var(--c-border));
	--color-warm: hsl(var(--c-warm));
	--color-warm-soft: hsl(var(--c-warm-soft));
	--color-grid: hsl(var(--c-grid));
	--color-ink: #171449;

	--font-body: "Inter", system-ui, sans-serif;
	--font-head: "Rubik", system-ui, sans-serif;

	--radius-sm: 12px;
	--radius-md: 14px;
	--radius-lg: 16px;
	--radius-xl: 12px;
	--radius-2xl: 16px;
	--radius-3xl: 24px;
	--radius-4xl: 32px;

	--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
	--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
	--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
	--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
	--shadow-primary: 0 10px 15px -3px hsl(var(--c-primary) / 0.25), 0 4px 6px -4px hsl(var(--c-primary) / 0.25);
	--shadow-warm: 0 10px 15px -3px hsl(var(--c-warm) / 0.25), 0 4px 6px -4px hsl(var(--c-warm) / 0.25);

	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--container: 1400px;
	--gutter: 32px;
	--header-height: 72px;
}

html {
	line-height: 1.5;
	scroll-behavior: smooth;
}

body {
	min-height: 100vh;
	font-family: var(--font-body);
	color: var(--color-foreground);
	background-color: var(--color-background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.is-locked {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-head);
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: -0.02em;
}

b,
strong {
	font-weight: 700;
}

textarea {
	resize: vertical;
}

[hidden] {
	display: none !important;
}

[id] {
	scroll-margin-top: 80px;
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.container {
	width: 100%;
	margin-right: auto;
	margin-left: auto;
	padding-right: var(--gutter);
	padding-left: var(--gutter);
}

.page {
	min-height: 100vh;
	font-family: var(--font-body);
	background-color: var(--color-background);
}

.icon {
	display: block;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.icon--12 { width: 12px; height: 12px; }
.icon--14 { width: 14px; height: 14px; }
.icon--16 { width: 16px; height: 16px; }
.icon--18 { width: 18px; height: 18px; }
.icon--20 { width: 20px; height: 20px; }
.icon--22 { width: 22px; height: 22px; }
.icon--24 { width: 24px; height: 24px; }
.icon--26 { width: 26px; height: 26px; }
.icon--28 { width: 28px; height: 28px; }
.icon--32 { width: 32px; height: 32px; }
.icon--40 { width: 40px; height: 40px; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 40px;
	padding: 8px 16px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -0.02em;
	white-space: nowrap;
	border-radius: var(--radius-2xl);
	transition: color 0.15s var(--ease), background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.btn .icon {
	width: 16px;
	height: 16px;
	pointer-events: none;
}

.btn .btn__icon--start {
	margin-right: 8px;
}

.btn .btn__icon--start-sm {
	margin-right: 6px;
}

.btn .btn__icon--end {
	margin-left: 8px;
}

.btn .btn__icon--end-sm {
	margin-left: 6px;
}

.btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px hsl(var(--c-primary));
}

.btn:disabled,
.btn.is-disabled {
	pointer-events: none;
	opacity: 0.5;
}

.btn--body {
	font-family: var(--font-body);
	letter-spacing: normal;
}

.btn--primary {
	color: #fff;
	background-color: var(--color-primary);
}

.btn--primary:hover {
	background-color: hsl(var(--c-primary) / 0.9);
}

.btn--outline {
	color: var(--color-foreground);
	background-color: var(--color-background);
	border: 1px solid hsl(var(--c-primary) / 0.3);
}

.btn--outline:hover {
	color: #fff;
	background-color: var(--color-accent);
}

.btn--ghost {
	color: var(--color-foreground);
}

.btn--ghost:hover {
	color: var(--color-primary);
	background-color: var(--color-accent);
}

.btn--ghost-primary {
	color: var(--color-primary);
}

.btn--ghost-primary:hover {
	color: #fff;
	background-color: var(--color-accent);
}

.btn--white {
	color: var(--color-primary);
	background-color: #fff;
}

.btn--white:hover {
	background-color: rgb(255 255 255 / 0.9);
}

.btn--ghost-white {
	color: #fff;
}

.btn--ghost-white:hover {
	background-color: rgb(255 255 255 / 0.1);
}

.btn--destructive {
	color: #fff;
	background-color: var(--color-destructive);
}

.btn--destructive:hover {
	background-color: hsl(var(--c-destructive) / 0.9);
}

.btn--sm {
	height: 36px;
	padding: 0 12px;
	border-radius: var(--radius-xl);
}

.btn--lg {
	height: 44px;
	padding: 0 32px;
}

.btn--block {
	width: 100%;
}

.btn--wrap {
	height: auto;
	padding-top: 8px;
	padding-bottom: 8px;
	text-align: left;
	white-space: normal;
}

.link-btn {
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.link-btn:hover {
	text-decoration: none;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-primary);
}

.eyebrow::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 12px;
	background-color: var(--color-warm);
	border-radius: var(--radius-sm);
}

.eyebrow--light {
	color: inherit;
	opacity: 0.9;
}

.section-head {
	max-width: 672px;
	margin-bottom: 40px;
}

.section-head--wide {
	max-width: 768px;
}

.section-head__title {
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--color-foreground);
}

.section-head__text {
	margin-top: 16px;
	font-size: 18px;
	line-height: 28px;
	color: var(--color-muted-foreground);
}

.card {
	color: var(--color-foreground);
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-sm);
}

.note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.note__icon {
	width: 20px;
	height: 20px;
	margin-top: 2px;
	color: var(--color-primary);
}

.note__body {
	font-size: 14px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.note__body > * + * {
	margin-top: 12px;
}

.note__accent {
	font-weight: 600;
	color: var(--color-foreground);
}

.note__link {
	font-weight: 600;
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.note__link:hover {
	text-decoration: none;
}

.note--primary {
	background-color: hsl(var(--c-primary) / 0.05);
	border-color: hsl(var(--c-primary) / 0.2);
}

.note--primary .note__icon {
	width: 18px;
	height: 18px;
}

.note--primary .note__body {
	color: var(--color-foreground);
}

.note--warning {
	background-color: hsl(var(--c-warm) / 0.1);
	border-color: hsl(var(--c-warm) / 0.3);
}

.note--warning .note__icon {
	color: var(--color-warm);
}

.icon-box {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--color-primary);
	background-color: hsl(var(--c-primary) / 0.1);
	border-radius: var(--radius-xl);
}

.icon-box--40 {
	width: 40px;
	height: 40px;
}

.icon-box--48 {
	width: 48px;
	height: 48px;
	border-radius: var(--radius-2xl);
}

.icon-box--64 {
	width: 64px;
	height: 64px;
	border-radius: var(--radius-2xl);
}

.icon-box--round {
	border-radius: var(--radius-2xl);
}

.icon-box--circle {
	border-radius: 50%;
}

.icon-box--solid {
	color: #fff;
	background-color: var(--color-primary);
}

.icon-box--warm {
	color: var(--color-warm);
	background-color: hsl(var(--c-warm) / 0.15);
}

.icon-box--light {
	color: #fff;
	background-color: rgb(255 255 255 / 0.15);
}

.logo {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo__img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.logo__text {
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 800;
	line-height: 28px;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.logo--light .logo__text {
	color: #fff;
}

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: all 0.15s var(--ease);
}

.header.is-scrolled {
	background-color: hsl(var(--c-background) / 0.85);
	border-bottom: 1px solid var(--color-border);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-height);
}

.header__nav {
	display: none;
	align-items: center;
	gap: 32px;
}

.header__link {
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	color: var(--color-muted-foreground);
	transition: color 0.15s var(--ease);
}

.header__link:hover {
	color: var(--color-primary);
}

.header__actions {
	display: none;
	align-items: center;
	gap: 12px;
}

.header__burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: var(--color-foreground);
	border-radius: var(--radius-xl);
}

.header__burger-close {
	display: none;
}

.header.is-menu-open .header__burger-open {
	display: none;
}

.header.is-menu-open .header__burger-close {
	display: block;
}

.header__mobile {
	display: none;
	background-color: hsl(var(--c-background) / 0.95);
	border-top: 1px solid var(--color-border);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.header.is-menu-open .header__mobile {
	display: block;
}

.header__mobile-nav {
	display: flex;
	flex-direction: column;
	padding-top: 16px;
	padding-bottom: 16px;
}

.header__mobile-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--color-foreground);
	border-bottom: 1px solid hsl(var(--c-border) / 0.6);
}

.header__mobile-btn {
	margin-top: 16px;
}

.hero {
	position: relative;
	overflow: hidden;
}

.hero__deco {
	position: absolute;
	z-index: 0;
	font-family: var(--font-head);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	pointer-events: none;
	user-select: none;
}

.hero__deco--seven {
	top: 96px;
	right: 16px;
	font-size: 128px;
	color: var(--color-grid);
}

.hero__deco--eleven {
	bottom: 8px;
	left: 42%;
	font-size: 80px;
	color: hsl(var(--c-warm) / 0.2);
}

.hero__inner {
	position: relative;
	z-index: 10;
	display: grid;
	align-items: center;
	gap: 44px;
	padding-top: 56px;
	padding-bottom: 56px;
}

.hero__eyebrow {
	margin-bottom: 20px;
}

.hero__title {
	font-size: clamp(2.75rem, 7vw, 4.75rem);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -0.035em;
	color: var(--color-foreground);
}

.hero__mark {
	position: relative;
	display: inline-block;
	padding: 0 0.14em;
	color: #fff;
	background-color: var(--color-primary);
	border-radius: 12px;
	transform: rotate(-1.5deg);
}

.hero__text {
	max-width: 29ch;
	margin: 28px 0 32px;
	font-size: 18px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
}

.hero__cta {
	height: auto;
	padding: 0 28px;
	font-size: 16px;
	line-height: 24px;
}

.hero__demo {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
}

.hero__stages {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 12px;
	min-height: 420px;
}

.stage {
	display: flex;
	align-items: center;
	gap: 16px;
	animation: rise 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.stage:nth-child(1) { animation-delay: 0.05s; }
.stage:nth-child(2) { animation-delay: 0.15s; }
.stage:nth-child(3) { animation-delay: 0.25s; }
.stage:nth-child(4) { animation-delay: 0.35s; }

.stage__num {
	min-width: 44px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 800;
	line-height: 20px;
	letter-spacing: -0.02em;
	text-align: right;
	color: var(--color-muted-foreground);
}

.stage__bar {
	display: flex;
	flex: 1;
	align-items: center;
	padding-right: 20px;
	padding-left: 20px;
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	border-radius: var(--radius-2xl);
}

.stage__body {
	display: flex;
	flex-direction: column;
}

.stage__label {
	margin-top: 2px;
	font-family: var(--font-body);
	font-size: 0.8em;
	font-weight: 400;
	line-height: 1.375;
	letter-spacing: normal;
	opacity: 0.85;
}

.stage--primary .stage__bar {
	min-height: 44px;
	padding-top: 8px;
	padding-bottom: 8px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-ink);
	background-color: var(--color-warm-soft);
}

.stage--middle .stage__bar {
	min-height: 56px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 15px;
	color: #fff;
	background-color: var(--color-warm);
}

.stage--oge .stage__bar {
	min-height: 74px;
	padding-top: 12px;
	padding-bottom: 12px;
	font-size: 16px;
	line-height: 24px;
	color: var(--color-primary);
	background-color: hsl(238 91% 64% / 0.18);
}

.stage--ege .stage__bar {
	min-height: 104px;
	padding-top: 16px;
	padding-bottom: 16px;
	font-size: 18px;
	line-height: 28px;
	color: #fff;
	background-color: var(--color-primary);
}

@keyframes rise {
	0% {
		opacity: 0;
		transform: translateY(22px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

.audience {
	padding: 40px 0;
	background-color: var(--color-background);
}

.audience__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.audience__title {
	margin-bottom: 24px;
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	color: var(--color-foreground);
}

.audience__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	width: 100%;
}

.audience__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 20px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
	background-color: hsl(var(--c-secondary) / 0.6);
	border-radius: var(--radius-2xl);
	transition: all 0.15s var(--ease);
}

.audience__btn:hover {
	background-color: hsl(var(--c-primary) / 0.1);
}

.audience__btn.is-active {
	color: #fff;
	background-color: var(--color-warm);
	box-shadow: var(--shadow-warm);
}

.audience__hint {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 24px;
	margin-top: 16px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.audience__hint-icon {
	color: var(--color-primary);
}

.audience__reset {
	margin-top: 8px;
}

.switch-text {
	display: none;
}

.switch-text.is-active {
	display: inline;
}

.olympiads {
	padding: 64px 0;
	background-color: var(--color-card);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.olympiads__layout {
	display: grid;
	align-items: start;
	gap: 32px;
}

.olympiads__main {
	min-width: 0;
}

.olympiads__aside > * + * {
	margin-top: 16px;
}

.step {
	margin-bottom: 32px;
}

.step__title {
	margin-bottom: 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.step__num {
	margin-right: 8px;
	color: var(--color-warm);
}

.step__note {
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.step__note .link-btn {
	text-decoration: underline;
}

.grades {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.chip-btn {
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
	transition: all 0.15s var(--ease);
}

.chip-btn:hover {
	border-color: hsl(var(--c-primary) / 0.5);
}

.chip-btn.is-active {
	color: #fff;
	background-color: var(--color-primary);
	border-width: 0;
	box-shadow: var(--shadow-primary);
}

.grades__btn {
	height: 48px;
	min-width: 84px;
	padding: 0 16px;
}

.subjects {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.subjects__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	font-family: var(--font-body);
	font-weight: 500;
	letter-spacing: normal;
	text-align: left;
}

.subjects__name {
	line-height: 1.25;
}

.picked {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 20px;
}

.picked__label {
	color: var(--color-muted-foreground);
}

.picked__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-primary);
	background-color: hsl(var(--c-primary) / 0.1);
	border-radius: 9999px;
}

.hint-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 24px;
	background-color: hsl(var(--c-background) / 0.5);
	border: 2px dashed var(--color-border);
	border-radius: var(--radius-2xl);
	box-shadow: var(--shadow-sm);
}

.hint-card__icon {
	width: 22px;
	height: 22px;
	color: var(--color-primary);
}

.hint-card__text {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.olymp-list {
	display: grid;
	gap: 16px;
}

.olymp-card {
	display: flex;
	flex-direction: column;
	padding: 20px;
	border-radius: var(--radius-2xl);
}

.olymp-card__title {
	margin-bottom: 6px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-foreground);
}

.olymp-card__meta {
	margin-bottom: 12px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.olymp-card__text {
	display: -webkit-box;
	margin-bottom: 16px;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
}

.olymp-card__footer {
	margin-top: auto;
}

.olymp-card__price {
	margin-bottom: 12px;
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 800;
	line-height: 28px;
	letter-spacing: -0.02em;
	color: var(--color-primary);
}

.catalog__panel {
	display: none;
}

.catalog__panel.is-active {
	display: grid;
}

.howto {
	padding: 24px;
	background-color: hsl(var(--c-secondary) / 0.4);
}

.howto__title {
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.howto__list {
	margin-bottom: 20px;
}

.howto__list > * + * {
	margin-top: 12px;
}

.howto__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-foreground);
}

.howto__num {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	color: #fff;
	background-color: var(--color-primary);
	border-radius: 50%;
}

.howto__text {
	padding-top: 2px;
}

.teacher-box {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-2xl);
}

.teacher-box__text {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.courses {
	padding: 80px 0;
}

.courses__note,
.tutoring__note {
	max-width: 768px;
	margin-bottom: 32px;
}

.tabs-line {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 32px;
}

.tabs-line__btn {
	padding: 12px 20px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
	background-color: var(--color-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-2xl);
	transition: all 0.15s var(--ease);
}

.tabs-line__btn:hover {
	border-color: hsl(var(--c-primary) / 0.5);
}

.tabs-line__btn.is-active {
	color: #fff;
	background-color: var(--color-primary);
	border-width: 0;
	box-shadow: var(--shadow-primary);
}

.tabs-line__grades {
	margin-right: 8px;
	opacity: 0.7;
}

.tab-panel {
	display: none;
}

.tab-panel.is-active {
	display: block;
}

.course-card {
	padding: 24px;
}

.course-card__grid {
	display: grid;
	align-items: center;
	gap: 32px;
}

.course-card__grades {
	display: block;
	margin-bottom: 12px;
	font-family: var(--font-head);
	font-size: 48px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--color-warm);
}

.course-card__title {
	margin-bottom: 12px;
	font-size: 24px;
	font-weight: 700;
	line-height: 32px;
	color: var(--color-foreground);
}

.course-card__text {
	margin-bottom: 24px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.course-card__list {
	display: grid;
	gap: 16px;
}

.course-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.course-item__name {
	font-weight: 500;
	color: var(--color-foreground);
}

.promo {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 32px;
	padding: 24px;
	color: #fff;
	background-color: var(--color-primary);
	border-radius: var(--radius-3xl);
}

.promo__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	background-color: rgb(255 255 255 / 0.15);
	border-radius: var(--radius-2xl);
}

.promo__title {
	margin-bottom: 8px;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
}

.promo__text {
	line-height: 1.625;
	opacity: 0.9;
}

.promo__text + .promo__text {
	margin-top: 8px;
}

.courses__faq {
	margin-top: 64px;
}

.courses__faq-head {
	max-width: 672px;
	margin-bottom: 32px;
}

.courses__faq-title {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
	color: var(--color-foreground);
}

.accordion {
	width: 100%;
}

.accordion--narrow {
	max-width: 768px;
}

.accordion__item {
	border-bottom: 1px solid var(--color-border);
}

.accordion__title {
	display: flex;
}

.accordion__trigger {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	padding: 16px 0;
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: -0.02em;
	text-align: left;
	color: var(--color-foreground);
	transition: all 0.15s var(--ease);
}

.accordion__trigger:hover {
	color: var(--color-primary);
}

.accordion__chevron {
	width: 16px;
	height: 16px;
	transition: transform 0.2s var(--ease);
}

.accordion__item.is-open .accordion__chevron {
	transform: rotate(180deg);
}

.accordion__panel {
	display: grid;
	grid-template-rows: 0fr;
	overflow: hidden;
	transition: grid-template-rows 0.2s ease-out;
}

.accordion__item.is-open .accordion__panel {
	grid-template-rows: 1fr;
}

.accordion__content {
	min-height: 0;
	overflow: hidden;
}

.accordion__body {
	padding-bottom: 16px;
	font-size: 16px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.accordion__body p + p {
	margin-top: 1.625em;
}

.accordion--doc > * + * {
	margin-top: 12px;
}

.accordion--doc .accordion__item {
	padding: 0 20px;
	border: 1px solid var(--color-border);
	border-radius: var(--radius-2xl);
}

.accordion--doc .accordion__trigger {
	padding: 20px 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.accordion--doc .accordion__trigger:hover {
	color: var(--color-foreground);
}

.doc-hero {
	color: #fff;
	background-color: var(--color-primary);
}

.doc-hero__inner {
	padding-top: 40px;
	padding-bottom: 40px;
}

.doc-hero__back {
	margin-bottom: 24px;
	margin-left: -12px;
}

.doc-hero__title {
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
}

.doc-hero__text {
	max-width: 672px;
	margin-top: 16px;
	color: rgb(255 255 255 / 0.8);
}

.doc-hero__date {
	margin-top: 8px;
	font-size: 14px;
	line-height: 20px;
	color: rgb(255 255 255 / 0.7);
}

.doc-body {
	padding-top: 48px;
	padding-bottom: 48px;
}

.doc-card {
	max-width: 768px;
	margin-right: auto;
	margin-left: auto;
	padding: 24px;
}

.doc-items {
	padding-top: 4px;
	padding-bottom: 16px;
}

.doc-items > * + * {
	margin-top: 20px;
}

.doc-item__title {
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--color-primary);
}

.doc-item__text {
	font-size: 14px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.docs {
	display: grid;
	gap: 24px;
	max-width: 1152px;
	margin-right: auto;
	margin-left: auto;
}

.docs__card {
	display: flex;
	flex-direction: column;
	padding: 24px;
}

.docs__head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.docs__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.docs__text {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.docs__scan {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 64px 24px;
	text-align: center;
	background-color: hsl(var(--c-secondary) / 0.4);
	border: 2px dashed var(--color-border);
	border-radius: var(--radius-2xl);
}

.docs__scan-icon {
	width: 36px;
	height: 36px;
	color: hsl(var(--c-muted-foreground) / 0.5);
}

.docs__scan-text {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.not-found {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	background-color: #f3f4f6;
}

.not-found__inner {
	text-align: center;
}

.not-found__code {
	margin-bottom: 16px;
	font-size: 36px;
	font-weight: 700;
	line-height: 40px;
}

.not-found__text {
	margin-bottom: 16px;
	font-size: 20px;
	line-height: 28px;
	color: #4b5563;
}

.not-found__link {
	color: #3b82f6;
	text-decoration: underline;
}

.not-found__link:hover {
	color: #1d4ed8;
}

.topbar {
	background-color: var(--color-card);
	border-bottom: 1px solid var(--color-border);
}

.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 20px;
	padding-bottom: 20px;
}

.topbar__inner--sm {
	padding-top: 16px;
	padding-bottom: 16px;
}

.topbar__title {
	font-size: 18px;
	font-weight: 800;
	line-height: 28px;
	color: var(--color-foreground);
}

.order {
	--container: 672px;
	max-width: var(--container);
	padding-top: 32px;
	padding-bottom: 32px;
}

.order--narrow {
	--container: 576px;
}

.order__steps {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 32px;
	overflow-x: auto;
}

.order__step {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 6px;
}

.order__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	letter-spacing: -0.02em;
	color: var(--color-muted-foreground);
	background-color: var(--color-secondary);
	border-radius: 9999px;
}

.order__pill.is-active {
	color: #fff;
	background-color: var(--color-primary);
}

.order__arrow {
	color: hsl(var(--c-muted-foreground) / 0.5);
}

.order__card {
	padding: 24px;
}

.order__item {
	margin-bottom: 24px;
	padding: 20px;
	background-color: hsl(var(--c-secondary) / 0.5);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.order__kind {
	margin-bottom: 4px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.order__name {
	margin-bottom: 4px;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.order__lessons {
	font-family: var(--font-body);
	font-weight: 400;
	color: var(--color-muted-foreground);
}

.order__meta {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.order__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid hsl(var(--c-border) / 0.6);
}

.order__total--spaced {
	margin-bottom: 24px;
}

.order__total-label {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.order__total-value {
	font-family: var(--font-head);
	font-size: 30px;
	font-weight: 800;
	line-height: 36px;
	letter-spacing: -0.02em;
	color: var(--color-primary);
}

.order__title {
	margin-bottom: 8px;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.order__title--inline {
	margin-bottom: 0;
}

.order__text {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.order__back {
	margin-top: 12px;
	margin-left: -12px;
}

.order__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.order__badge {
	margin-bottom: 12px;
}

.order__note {
	margin-top: 12px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.order__loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 0;
	text-align: center;
}

.order__spinner {
	margin-bottom: 16px;
	color: var(--color-primary);
}

.order__loading-title {
	font-family: var(--font-head);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.order__loading-text {
	margin-top: 4px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.order__done {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.order__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #fff;
	background-color: var(--color-primary);
	border-radius: 50%;
}

.order__chosen {
	display: block;
}

.order__chosen-title {
	margin-bottom: 12px;
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.order__chosen-text {
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.auth-box {
	padding: 20px;
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.auth-box__head {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
}

.auth-box__icon {
	margin-top: 2px;
	color: var(--color-primary);
}

.auth-box__text {
	font-size: 14px;
	line-height: 1.625;
	color: var(--color-foreground);
}

.auth-box__accent {
	font-weight: 600;
}

.auth-box__muted {
	color: var(--color-muted-foreground);
}

.auth-box__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.auth-box__note {
	margin-top: 12px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	border: 1px solid transparent;
	border-radius: 9999px;
	transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.badge--primary {
	color: #fff;
	background-color: var(--color-primary);
}

.badge--secondary {
	color: var(--color-foreground);
	background-color: var(--color-secondary);
}

.badge--outline {
	color: var(--color-foreground);
	border-color: var(--color-border);
}

.badge--warm {
	color: var(--color-warm);
	background-color: hsl(var(--c-warm) / 0.15);
	border-color: hsl(var(--c-warm) / 0.3);
	border-radius: var(--radius-xl);
}

.spinner {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	100% {
		transform: rotate(360deg);
	}
}

.schedule {
	--container: 576px;
	max-width: var(--container);
	padding-top: 40px;
	padding-bottom: 40px;
	text-align: center;
}

.schedule__text {
	margin-bottom: 24px;
	color: var(--color-muted-foreground);
}

.topbar__brand {
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 800;
	line-height: 28px;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.survey {
	--container: 672px;
	max-width: var(--container);
	padding-top: 32px;
	padding-bottom: 32px;
	counter-reset: question;
}

.survey__step {
	height: 0;
	overflow: hidden;
	visibility: hidden;
}

.survey__step.is-active {
	height: auto;
	overflow: visible;
	visibility: visible;
}

.survey__intro {
	margin-bottom: 32px;
}

.survey__title {
	margin-bottom: 12px;
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	color: var(--color-foreground);
}

.survey__lead {
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.survey__progress {
	margin-bottom: 32px;
}

.survey__pre {
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.survey__meter {
	display: none;
}

.survey-root.has-grade .survey__pre {
	display: none;
}

.survey-root.has-grade .survey__meter {
	display: block;
}

.survey-root[data-total="3"] [data-total-show="4"],
.survey-root[data-total="4"] [data-total-show="3"] {
	display: none;
}

.survey__meter-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 20px;
}

.survey__meter-label {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.survey__meter-value {
	color: var(--color-muted-foreground);
}

.progress {
	position: relative;
	display: block;
	width: 100%;
	height: 8px;
	overflow: hidden;
	background-color: var(--color-secondary);
	border-radius: 9999px;
}

.progress__fill {
	display: block;
	width: 100%;
	height: 100%;
	background-color: var(--color-primary);
	transform: translateX(-100%);
	transition: all 0.15s var(--ease);
}

.progress__fill--25 { transform: translateX(-75%); }
.progress__fill--33 { transform: translateX(-67%); }
.progress__fill--50 { transform: translateX(-50%); }
.progress__fill--67 { transform: translateX(-33%); }
.progress__fill--75 { transform: translateX(-25%); }
.progress__fill--100 { transform: translateX(0); }

.survey-q {
	margin-bottom: 40px;
	counter-increment: question;
}

.survey-q__title {
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.survey-q__num {
	margin-right: 8px;
	color: var(--color-warm);
}

.survey-q__num::before {
	content: counter(question) ".";
}

.survey-q__hint {
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.survey-q__options,
.survey-q__body {
	margin-top: 12px;
}

.survey-q__options > * + *,
.survey-q__body > * + * {
	margin-top: 8px;
}

.survey-q__body > .survey-q__options {
	margin-top: 0;
}

.survey-q__options--grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.survey-q__options--grid > * + * {
	margin-top: 0;
}

.choice {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 56px;
	padding: 16px;
	text-align: left;
	color: var(--color-foreground);
	background-color: hsl(var(--c-secondary) / 0.4);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
	transition: all 0.15s var(--ease);
}

.choice:hover {
	border-color: hsl(var(--c-primary) / 0.4);
}

.choice.is-checked {
	background-color: hsl(var(--c-primary) / 0.1);
	border-color: var(--color-primary);
}

.choice:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.choice__box {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #fff;
	border: 2px solid var(--color-border);
}

.choice__box--radio {
	border-radius: 50%;
}

.choice__box--check {
	border-radius: var(--radius-md);
}

.choice.is-checked .choice__box {
	background-color: var(--color-primary);
	border-color: var(--color-primary);
}

.choice__check {
	display: none;
}

.choice.is-checked .choice__check {
	display: block;
}

.choice__label {
	font-size: 14px;
	line-height: 1.375;
}

.survey-q__counter {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.survey-q__count--max {
	font-weight: 600;
	color: var(--color-warm);
}

.survey-q__other {
	padding-top: 4px;
}

.survey-q__label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
}

.survey-q__tariffs {
	display: grid;
	gap: 12px;
	margin-bottom: 8px;
}

.tariff-box {
	padding: 16px;
	background-color: hsl(var(--c-secondary) / 0.5);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.tariff-box__title {
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.tariff-box__note {
	margin-bottom: 8px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.tariff-box__list {
	margin-top: 8px;
}

.tariff-box__list > * + * {
	margin-top: 6px;
}

.tariff-box__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	line-height: 20px;
}

.tariff-box__name {
	color: var(--color-foreground);
}

.tariff-box__per {
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.tariff-box__price {
	font-family: var(--font-head);
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
	color: var(--color-foreground);
}

.survey-contact {
	padding: 16px;
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.survey-q__options > .survey-contact {
	margin-top: 8px;
}

.survey-contact > * + * {
	margin-top: 12px;
}

.survey-contact__note {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.consent {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
}

.consent__input {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	margin-top: 4px;
	accent-color: var(--color-primary);
}

.consent__text {
	font-size: 14px;
	line-height: 1.375;
	color: var(--color-foreground);
}

.consent__link {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.survey__nav {
	position: sticky;
	bottom: 0;
	display: flex;
	gap: 12px;
	margin: 0 -16px;
	padding: 16px;
	background-color: hsl(var(--c-background) / 0.95);
	border-top: 1px solid var(--color-border);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.survey__nav-btn {
	flex: 1;
}

.survey__footnote {
	margin-top: 12px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.survey-done {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 48px 16px;
	font-family: var(--font-body);
}

.survey-done__card {
	width: 100%;
	max-width: 512px;
	padding: 32px;
	text-align: center;
}

.survey-done__icon {
	margin: 0 auto 24px;
}

.survey-done__title {
	margin-bottom: 12px;
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	color: var(--color-foreground);
}

.survey-done__progress {
	margin-bottom: 8px;
}

.survey-done__note {
	margin-bottom: 24px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.survey-done__note--sm {
	margin-bottom: 16px;
}

.survey-done__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.btn--neutral {
	border-color: var(--color-border);
}

.icon-box--56 {
	width: 56px;
	height: 56px;
	border-radius: var(--radius-2xl);
}

.topbar__inner--wrap {
	flex-wrap: wrap;
}

.topbar__inner--lg {
	padding-top: 24px;
	padding-bottom: 24px;
}

.topbar__sub {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.topbar__kicker {
	margin-bottom: 2px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.topbar__exit {
	flex-shrink: 0;
}

.topbar__progress {
	padding-bottom: 16px;
}

.topbar__progress--lg {
	padding-bottom: 20px;
}

.topbar__progress-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.progress__fill--8 { transform: translateX(-92%); }

.profile {
	display: flex;
	align-items: center;
	gap: 16px;
}

.profile__name {
	font-size: 20px;
	font-weight: 800;
	line-height: 28px;
	color: var(--color-foreground);
}

.profile__meta {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.profile__badge {
	display: none;
}

.badge--soft-primary {
	color: var(--color-primary);
	background-color: hsl(var(--c-primary) / 0.1);
	border-color: hsl(var(--c-primary) / 0.2);
	border-radius: var(--radius-xl);
}

.badge--danger {
	color: var(--color-destructive);
	background-color: hsl(var(--c-destructive) / 0.1);
	border-color: hsl(var(--c-destructive) / 0.2);
	border-radius: var(--radius-xl);
}

.badge--muted {
	color: var(--color-muted-foreground);
	background-color: var(--color-secondary);
	border-color: var(--color-border);
	border-radius: var(--radius-xl);
}

.badge--chip {
	padding: 6px 12px;
	font-family: var(--font-head);
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
	background-color: var(--color-secondary);
	border-color: var(--color-border);
	border-radius: var(--radius-xl);
}

.badge__icon {
	margin-right: 6px;
	color: var(--color-primary);
}

.lessons {
	padding-top: 40px;
	padding-bottom: 40px;
}

.lessons__list {
	max-width: 672px;
}

.lessons__list > * + * {
	margin-top: 12px;
}

.lessons__list > .lessons__item--link {
	margin-top: 0;
}

.lesson-row {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	border-radius: var(--radius-2xl);
	transition: all 0.15s var(--ease);
}

a.lesson-row:hover {
	box-shadow: 0 10px 15px -3px hsl(var(--c-primary) / 0.05), 0 4px 6px -4px hsl(var(--c-primary) / 0.05);
	transform: translateY(-2px);
}

.lesson-row--locked {
	opacity: 0.6;
}

.lesson-row__num {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--color-primary);
	background-color: hsl(var(--c-primary) / 0.1);
	border-radius: var(--radius-2xl);
}

.lesson-row__num--done {
	color: #fff;
	background-color: var(--color-primary);
}

.lesson-row__num--locked {
	color: var(--color-muted-foreground);
	background-color: var(--color-secondary);
}

.lesson-row__info {
	flex: 1;
	min-width: 0;
}

.lesson-row__title {
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--color-foreground);
}

.lesson-row__meta {
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.lesson-row .badge {
	flex-shrink: 0;
	white-space: nowrap;
}

.lesson-row__chevron {
	color: hsl(var(--c-muted-foreground) / 0.5);
}

.lesson {
	--container: 768px;
	max-width: var(--container);
	padding-top: 40px;
	padding-bottom: 40px;
}

.lesson__video {
	margin-bottom: 24px;
	overflow: hidden;
}

.lesson__player {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	aspect-ratio: 16 / 9;
	background-color: hsl(var(--c-secondary) / 0.6);
}

.lesson__play {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	color: #fff;
	background-color: var(--color-primary);
	border-radius: 50%;
}

.lesson__video-label {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.lesson__video-time {
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.lesson__block {
	margin-bottom: 32px;
}

.lesson__heading {
	margin-bottom: 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: var(--color-foreground);
}

.lesson__materials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.material {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-foreground);
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-xl);
}

.material__icon {
	color: var(--color-primary);
}

.lesson__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.homework {
	padding: 24px;
}

.homework--revision {
	border: 2px solid hsl(var(--c-destructive) / 0.3);
}

.homework--pending {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background-color: hsl(var(--c-secondary) / 0.4);
}

.homework__badge {
	margin-bottom: 12px;
}

.homework__badge--sm {
	margin-bottom: 8px;
}

.homework__comment {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 16px;
	padding: 16px;
	background-color: hsl(var(--c-destructive) / 0.05);
	border: 1px solid hsl(var(--c-destructive) / 0.2);
	border-radius: var(--radius-2xl);
}

.homework__comment-icon {
	margin-top: 2px;
	color: var(--color-destructive);
}

.homework__comment-text {
	font-size: 14px;
	line-height: 1.625;
	color: var(--color-foreground);
}

.homework__state-icon {
	margin-top: 2px;
	color: var(--color-primary);
}

.homework__state-icon--warm {
	color: var(--color-warm);
}

.homework__text {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-foreground);
}

.upload {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-bottom: 16px;
	padding: 24px;
	color: var(--color-muted-foreground);
	border: 2px dashed var(--color-border);
	border-radius: var(--radius-2xl);
	transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.upload:hover {
	color: var(--color-primary);
	border-color: hsl(var(--c-primary) / 0.5);
}

.upload__text {
	font-size: 14px;
	line-height: 20px;
}

.file-chip {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	padding: 16px;
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.file-chip__icon {
	color: var(--color-primary);
}

.file-chip__name {
	flex: 1;
	overflow: hidden;
	font-size: 14px;
	line-height: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--color-foreground);
}

.file-chip__remove {
	color: var(--color-muted-foreground);
}

.file-chip__remove:hover {
	color: var(--color-destructive);
}

.center-screen {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 48px 16px;
}

.center-card {
	width: 100%;
	max-width: 512px;
	padding: 32px;
}

.center-card--narrow {
	max-width: 448px;
}

.center-card--center {
	text-align: center;
}

.center-card__icon {
	margin-bottom: 24px;
}

.center-card--center .center-card__icon {
	display: flex;
	margin-right: auto;
	margin-left: auto;
}

.center-card__title {
	margin-bottom: 12px;
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	color: var(--color-foreground);
}

.center-card__title--sm {
	margin-bottom: 8px;
}

.center-card__subtitle {
	margin-bottom: 4px;
	color: var(--color-muted-foreground);
}

.center-card__meta {
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.center-card__meta--xs {
	font-size: 12px;
	line-height: 16px;
}

.center-card__text {
	margin-bottom: 32px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.center-card__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.center-card__grow {
	flex: 1;
}

.center-card__invite {
	margin-top: 32px;
	text-align: left;
}

.facts {
	margin-bottom: 24px;
	padding: 20px;
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.facts > * + * {
	margin-top: 12px;
}

.facts__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-foreground);
}

.facts__icon {
	margin-top: 2px;
	color: var(--color-primary);
}

.facts__accent {
	font-weight: 600;
}

.quiz {
	display: flex;
	justify-content: center;
	padding-top: 48px;
	padding-bottom: 48px;
}

.quiz__card {
	width: 100%;
	max-width: 672px;
	padding: 28px;
}

.quiz__question {
	display: none;
}

.quiz__question.is-active {
	display: block;
}

.quiz__title {
	margin-bottom: 28px;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.quiz__options {
	margin-bottom: 32px;
}

.quiz__options > * + * {
	margin-top: 12px;
}

.quiz__option {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 16px;
	font-weight: 500;
	text-align: left;
	color: var(--color-foreground);
	background-color: hsl(var(--c-secondary) / 0.5);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
	transition: all 0.15s var(--ease);
}

.quiz__option:hover {
	border-color: hsl(var(--c-primary) / 0.5);
}

.quiz__option.is-checked {
	color: #fff;
	background-color: var(--color-primary);
	border-color: var(--color-primary);
	box-shadow: var(--shadow-primary);
}

.quiz__letter {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	color: var(--color-muted-foreground);
	border: 1px solid var(--color-border);
	border-radius: 50%;
}

.quiz__option.is-checked .quiz__letter {
	color: #fff;
	border-color: rgb(255 255 255 / 0.6);
}

.quiz__footer {
	display: flex;
	justify-content: flex-end;
}

.quiz-result__box {
	margin-bottom: 24px;
	padding: 24px;
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.quiz-result__value {
	margin-bottom: 4px;
	font-family: var(--font-head);
	font-size: 36px;
	font-weight: 800;
	line-height: 40px;
	letter-spacing: -0.02em;
	color: var(--color-primary);
}

.quiz-result__count {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.quiz-result__count span {
	font-weight: 600;
	color: var(--color-foreground);
}

.quiz-result__text {
	margin-bottom: 32px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.toast--error .toast__icon {
	color: var(--color-destructive);
}

.cabinet-main {
	padding-top: 40px;
	padding-bottom: 40px;
}

.cabinet-head {
	margin-bottom: 32px;
}

.cabinet-head__eyebrow {
	margin-bottom: 12px;
}

.cabinet-head__title {
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	color: var(--color-foreground);
}

.olymp-grid {
	display: grid;
	gap: 20px;
}

.olymp-item {
	display: flex;
	flex-direction: column;
	padding: 24px;
	transition: all 0.15s var(--ease);
}

.olymp-item:hover {
	box-shadow: 0 20px 25px -5px hsl(var(--c-primary) / 0.05), 0 8px 10px -6px hsl(var(--c-primary) / 0.05);
	transform: translateY(-4px);
}

.olymp-item__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.olymp-item__title {
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-foreground);
}

.olymp-item__subject {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.olymp-item__badge {
	flex-shrink: 0;
	white-space: nowrap;
}

.olymp-item__score {
	flex-shrink: 0;
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	letter-spacing: -0.02em;
	color: var(--color-primary);
}

.olymp-item__btn {
	align-self: flex-start;
	margin-top: auto;
}

.demo-bar {
	color: #fff;
	background-color: var(--color-warm);
}

.demo-bar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 14px;
	line-height: 20px;
}

.demo-bar__text {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.demo-bar__btn {
	height: 32px;
	color: #fff;
}

.demo-bar__btn:hover {
	background-color: rgb(255 255 255 / 0.15);
}

.profile__initials {
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

.profile__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.tabs__list.tabs__list--cabinet {
	height: auto;
	margin-top: 0;
	margin-bottom: 40px;
	gap: 4px;
}

.tabs__list.tabs__list--inline {
	display: inline-flex;
	justify-content: center;
	width: auto;
	margin-bottom: 32px;
}

.tabs__list--inline ~ .tab-panel {
	margin-top: 8px;
}

.tabs__trigger.tabs__trigger--lg {
	padding-top: 10px;
	padding-bottom: 10px;
}

.stat-grid {
	display: grid;
	gap: 20px;
	margin-bottom: 48px;
}

.stat-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px;
}

.stat-card__value {
	margin-bottom: 4px;
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.stat-card__label {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.icon-box--muted {
	color: var(--color-muted-foreground);
	background-color: var(--color-secondary);
}

.action-grid {
	display: grid;
	gap: 20px;
}

.action-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
}

.action-card__icon {
	margin-bottom: 16px;
}

.action-card__title {
	margin-bottom: 4px;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: var(--color-foreground);
}

.action-card__text {
	margin-bottom: 4px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.action-card__text--last {
	margin-bottom: 20px;
}

.action-card__btn {
	align-self: flex-start;
	margin-top: auto;
}

.cabinet-invite {
	margin-top: 32px;
}

.cabinet-head--sm {
	margin-bottom: 24px;
}

.cabinet-subtitle {
	margin-bottom: 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.result-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	transition: all 0.15s var(--ease);
}

.result-card--hover:hover {
	box-shadow: 0 20px 25px -5px hsl(var(--c-primary) / 0.05), 0 8px 10px -6px hsl(var(--c-primary) / 0.05);
	transform: translateY(-4px);
}

.result-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.result-card__info {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.result-card__title {
	margin-bottom: 4px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--color-foreground);
}

.result-card__subject {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.result-card__badge {
	flex-shrink: 0;
	white-space: nowrap;
}

.result-card__score {
	flex-shrink: 0;
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	letter-spacing: -0.02em;
}

.result-card__score--high {
	color: var(--color-primary);
}

.result-card__score--mid {
	color: var(--color-warm);
}

.result-card__score--low {
	color: var(--color-muted-foreground);
}

.result-card__date {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.result-card__meter {
	margin-bottom: 8px;
}

.result-card__text {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.result-card__text span {
	font-weight: 600;
	color: var(--color-foreground);
}

.result-card__wait {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.result-card__wait-icon {
	color: var(--color-warm);
}

.result-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}

.result-card__btn {
	align-self: flex-start;
	margin-top: auto;
}

.material--sm {
	gap: 6px;
	padding: 6px 12px;
	font-size: 12px;
	line-height: 16px;
}

.material__icon--sm {
	width: 13px;
	height: 13px;
}

.meter {
	display: block;
	width: 100%;
	height: 10px;
	overflow: hidden;
	color: var(--color-primary);
	background-color: var(--color-secondary);
	border: 0;
	border-radius: 9999px;
	-webkit-appearance: none;
	appearance: none;
}

.meter::-webkit-progress-bar {
	background-color: var(--color-secondary);
	border-radius: 9999px;
}

.meter::-webkit-progress-value {
	background-color: var(--color-primary);
}

.meter::-moz-progress-bar {
	background-color: var(--color-primary);
}

.meter--sm {
	height: 8px;
}

.slot-grid {
	display: grid;
	gap: 16px;
}

.slot-grid--spaced {
	margin-bottom: 40px;
}

.slot.slot--lg {
	padding: 20px;
}

.slot__teacher.slot__teacher--lg {
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.slot__meta.slot__meta--md {
	font-size: 14px;
	line-height: 20px;
}

.slot__meta.slot__meta--gap {
	margin-top: 4px;
}

.slot__meta.slot__meta--md + .slot__meta.slot__meta--md {
	margin-top: 4px;
}

.booking {
	display: flex;
	flex-direction: column;
	padding: 20px;
	border-radius: var(--radius-2xl);
}

.booking__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.booking__subject {
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
	color: var(--color-foreground);
}

.booking__teacher {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.booking__badge {
	flex-shrink: 0;
	white-space: nowrap;
}

.booking__date {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 16px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.booking__btn {
	align-self: flex-start;
	margin-top: auto;
}

.past {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	border-radius: var(--radius-2xl);
	opacity: 0.8;
}

.past__icon {
	color: var(--color-muted-foreground);
	background-color: var(--color-secondary);
}

.past__info {
	flex: 1;
	min-width: 0;
}

.past__subject {
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--color-foreground);
}

.past__meta {
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.past__date {
	flex-shrink: 0;
	text-align: right;
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 24px;
}

.field__select.filters__select {
	width: 200px;
}

.field__select.filters__select--wide {
	width: 220px;
}

.empty-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	padding: 40px;
	text-align: center;
	color: var(--color-muted-foreground);
}

.empty-card--sm {
	padding: 32px;
}

.empty-card__icon {
	color: hsl(var(--c-muted-foreground) / 0.5);
}

.table-card {
	overflow: hidden;
}

.table-wrap {
	position: relative;
	width: 100%;
	overflow: auto;
}

.table {
	width: 100%;
	font-size: 14px;
	line-height: 20px;
	caption-side: bottom;
	border-collapse: collapse;
}

.table__row {
	border-bottom: 1px solid var(--color-border);
	transition: background-color 0.15s var(--ease);
}

.table__row:hover {
	background-color: hsl(var(--c-muted) / 0.5);
}

.table__row--head:hover {
	background-color: transparent;
}

tbody .table__row:last-child {
	border-bottom: 0;
}

.table__head {
	height: 48px;
	padding: 0 16px;
	font-weight: 500;
	text-align: left;
	vertical-align: middle;
	color: var(--color-muted-foreground);
}

.table__head--end {
	text-align: right;
}

.table__cell {
	padding: 16px;
	vertical-align: middle;
}

.table__cell--muted {
	color: var(--color-muted-foreground);
}

.table__cell--nowrap {
	white-space: nowrap;
}

.table__cell--strong {
	font-weight: 500;
	color: var(--color-foreground);
}

.table__cell--price {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	white-space: nowrap;
	color: var(--color-foreground);
}

.table__cell--end {
	text-align: right;
	white-space: nowrap;
}

.profile-form {
	max-width: 672px;
	padding: 24px;
}

.profile-form__grid {
	display: grid;
	gap: 20px;
}

.profile-form__submit {
	margin-top: 32px;
}

.modal__dialog.modal__dialog--sm {
	max-width: 440px;
}

.book__summary {
	margin-top: 8px;
}

.book__confirm {
	margin-top: 8px;
}

.book__done {
	margin-bottom: 8px;
}

.tabs__list.tabs__list--wide-gap {
	margin-bottom: 40px;
}

.btn--ghost-danger {
	color: var(--color-destructive);
}

.btn--ghost-danger:hover {
	color: var(--color-destructive);
	background-color: var(--color-accent);
}

.add-student {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 32px;
	padding: 20px;
}

.add-student__field {
	flex: 1;
}

.add-student__btn {
	height: 48px;
}

.info-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-top: 40px;
	padding: 24px;
	background-color: hsl(var(--c-secondary) / 0.4);
}

.info-card__body {
	flex: 1;
}

.info-card__title {
	margin-bottom: 4px;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: var(--color-foreground);
}

.info-card__text {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.table__action {
	margin-right: 8px;
}

.table__muted {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.table__note {
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.badge--neutral {
	color: var(--color-foreground);
	background-color: var(--color-secondary);
	border-color: var(--color-border);
	border-radius: var(--radius-xl);
}

.slot-row__cancelled {
	display: none;
}

.slot-row.is-cancelled .slot-row__free {
	display: none;
}

.slot-row.is-cancelled .slot-row__cancelled {
	display: inline-flex;
}

.members {
	margin-top: 8px;
}

.members > * + * {
	margin-top: 8px;
}

.members__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-xl);
}

.members__avatar {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 700;
	line-height: 16px;
	color: var(--color-primary);
	background-color: hsl(var(--c-primary) / 0.1);
	border-radius: 50%;
}

.members__name {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-foreground);
}

.members__note {
	margin-top: 12px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.slot-form {
	margin-bottom: 48px;
	padding: 24px;
}

.slot-form__formats {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 20px;
}

.slot-form__format {
	padding: 8px 16px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.02em;
	color: var(--color-muted-foreground);
	background-color: var(--color-secondary);
	border-radius: var(--radius-xl);
	transition: all 0.15s var(--ease);
}

.slot-form__format.is-active {
	color: #fff;
	background-color: var(--color-primary);
}

.slot-form__grid {
	display: grid;
	align-items: start;
	gap: 16px;
}

.slot-form__submit {
	margin-top: 24px;
}

.field__hint.field__hint--sm {
	line-height: 16px;
}

.modal__dialog.modal__dialog--tall {
	max-height: 85vh;
}

.pick-list {
	margin-top: 8px;
}

.pick-list > * + * {
	margin-top: 8px;
}

.pick {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 14px;
	text-align: left;
	color: var(--color-foreground);
	background-color: hsl(var(--c-secondary) / 0.4);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
	transition: all 0.15s var(--ease);
}

.pick:hover {
	border-color: hsl(var(--c-primary) / 0.4);
}

.pick.is-checked {
	background-color: hsl(var(--c-primary) / 0.1);
	border-color: var(--color-primary);
}

.pick__icon {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--color-primary);
	background-color: hsl(var(--c-primary) / 0.1);
	border-radius: var(--radius-xl);
}

.pick.is-checked .pick__icon {
	color: #fff;
	background-color: var(--color-primary);
}

.pick__info {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
}

.pick__title {
	overflow: hidden;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.02em;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.pick__subject {
	overflow: hidden;
	font-size: 12px;
	line-height: 16px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--color-muted-foreground);
}

.pick__check {
	display: none;
	color: var(--color-primary);
}

.pick.is-checked .pick__check {
	display: block;
}

.pick-save {
	margin-top: 16px;
}

.center-card__lead {
	margin-bottom: 32px;
	font-size: 14px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.center-card__note {
	margin-top: 24px;
}

.note__icon.note__icon--sm {
	width: 18px;
	height: 18px;
}

.note__body.note__body--xs {
	font-size: 12px;
}

.center-card__home {
	margin-top: 16px;
}

.tutoring {
	padding: 80px 0;
}

.switch {
	display: inline-flex;
	padding: 6px;
	background-color: var(--color-secondary);
	border-radius: var(--radius-2xl);
}

.switch__btn {
	padding: 10px 24px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	letter-spacing: -0.02em;
	color: var(--color-muted-foreground);
	border-radius: var(--radius-xl);
	transition: all 0.15s var(--ease);
}

.switch__btn.is-active {
	color: #fff;
	background-color: var(--color-primary);
	box-shadow: var(--shadow);
}

.switch--sm {
	padding: 4px;
}

.switch--sm .switch__btn {
	padding: 8px 16px;
}

.tutoring__switch {
	margin-bottom: 40px;
}

.tutoring__grid {
	display: grid;
	align-items: stretch;
	gap: 24px;
}

.tutoring__panel {
	display: none;
}

.tutoring__panel.is-active {
	display: block;
}

.tutoring__card {
	padding: 32px;
}

.tutoring__lead {
	margin-bottom: 32px;
	font-family: var(--font-head);
	font-size: 20px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.tutoring__features > * + * {
	margin-top: 16px;
}

.tutoring__feature {
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--color-foreground);
}

.offer {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 32px;
	color: #fff;
	background-color: var(--color-primary);
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-sm);
}

.offer__icon {
	margin-bottom: 24px;
	opacity: 0.9;
}

.offer__title {
	margin-bottom: 16px;
	font-size: 24px;
	font-weight: 800;
	line-height: 1.25;
}

.offer__text {
	line-height: 1.625;
	color: rgb(255 255 255 / 0.85);
}

.offer__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.invite-section {
	padding: 40px 0;
}

.invite {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	background-color: hsl(var(--c-secondary) / 0.5);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-3xl);
}

.invite--compact {
	padding: 16px;
}

.invite__body {
	flex: 1;
}

.invite__title {
	font-family: var(--font-head);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.invite__text {
	margin-top: 2px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.invite__btn {
	flex-shrink: 0;
	align-self: flex-start;
}

.pricing {
	padding: 64px 0;
}

.pricing__grid {
	display: grid;
	align-items: start;
	gap: 24px;
}

.pricing__grid.is-single {
	max-width: 576px;
}

.price-card {
	padding: 24px;
}

.price-card__title {
	margin-bottom: 16px;
	font-size: 20px;
	font-weight: 700;
	line-height: 28px;
	color: var(--color-foreground);
}

.price-card__highlight {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 12px;
	padding: 16px;
	background-color: hsl(var(--c-primary) / 0.05);
	border: 1px solid hsl(var(--c-primary) / 0.2);
	border-radius: var(--radius-2xl);
}

.price-card__name {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.price-card__sub {
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.price-card__value {
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 800;
	line-height: 32px;
	letter-spacing: -0.02em;
	white-space: nowrap;
	color: var(--color-primary);
}

.price-card__more {
	margin-bottom: 16px;
	margin-left: -8px;
}

.price-card__more .icon {
	margin-left: 6px;
}

.price-card__switch {
	width: 100%;
	margin-bottom: 16px;
}

.price-card__switch .switch__btn {
	flex: 0 0 0%;
}

.price-card__panel {
	display: none;
}

.price-card__panel.is-active {
	display: block;
}

.price-card__group-note {
	margin-bottom: 12px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-foreground);
}

.price-card__group-note span {
	color: var(--color-muted-foreground);
}

.price-list__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
}

.price-list__item + .price-list__item {
	border-top: 1px solid hsl(var(--c-border) / 0.6);
}

.price-list__info {
	min-width: 0;
}

.price-list__name {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.price-list__count {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	color: var(--color-muted-foreground);
}

.price-list__per {
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.price-list__side {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	gap: 12px;
}

.price-list__price {
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 800;
	line-height: 28px;
	letter-spacing: -0.02em;
	white-space: nowrap;
	color: var(--color-foreground);
}

.price-card__intro {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding: 12px;
	background-color: hsl(var(--c-secondary) / 0.6);
	border: 1px solid hsl(var(--c-border) / 0.6);
	border-radius: var(--radius-2xl);
}

.price-card__intro-text {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-foreground);
}

.price-card__intro .btn {
	flex-shrink: 0;
}

.faq {
	padding: 80px 0;
	background-color: var(--color-card);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.faq__inner {
	display: grid;
	gap: 48px;
}

.contacts {
	padding: 80px 0;
}

.contacts__card {
	display: grid;
	overflow: hidden;
	border-radius: var(--radius-4xl);
}

.contacts__info {
	display: flex;
	flex-direction: column;
	padding: 32px;
	color: #fff;
	background-color: var(--color-primary);
}

.contacts__title {
	margin-bottom: 16px;
	font-size: 30px;
	font-weight: 800;
	line-height: 1.25;
}

.contacts__text {
	margin-bottom: 32px;
	line-height: 1.625;
	color: rgb(255 255 255 / 0.85);
}

.contacts__list {
	margin-top: auto;
}

.contacts__list > * + * {
	margin-top: 20px;
}

.contacts__item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.contacts__label {
	font-size: 14px;
	line-height: 20px;
	color: rgb(255 255 255 / 0.7);
}

.contacts__value {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
}

.contacts__form {
	padding: 32px;
}

.form > * + * {
	margin-top: 20px;
}

.form--tight > * + * {
	margin-top: 16px;
}

.form__agree {
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.form__agree--center {
	text-align: center;
}

.field__label {
	display: block;
	margin-bottom: 8px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
}

.field__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}

.field__head .field__label {
	margin-bottom: 0;
}

.field__counter {
	font-family: var(--font-head);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
	color: var(--color-primary);
}

.field__input,
.field__select,
.field__textarea {
	display: flex;
	width: 100%;
	height: 48px;
	padding: 8px 12px;
	font-size: 16px;
	line-height: 24px;
	color: var(--color-foreground);
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-xl);
	outline: none;
	transition: box-shadow 0.15s var(--ease);
}

.field__input::placeholder,
.field__textarea::placeholder {
	color: var(--color-muted-foreground);
	opacity: 1;
}

.field__input:focus-visible,
.field__select:focus-visible,
.field__textarea:focus-visible {
	box-shadow: 0 0 0 2px var(--color-background), 0 0 0 4px var(--color-primary);
}

.field__select {
	padding-right: 36px;
	font-size: 14px;
	line-height: 20px;
	background-image: url("../img/icons/chevron-down.svg");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 16px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.field__select:invalid {
	color: var(--color-muted-foreground);
}

.field__select--sm {
	height: 44px;
}

.field__textarea {
	height: auto;
	min-height: 96px;
	font-size: 14px;
	line-height: 20px;
}

.field__textarea--roster {
	min-height: 120px;
}

.field__hint {
	margin-top: 6px;
	font-size: 12px;
	line-height: 1.625;
	color: var(--color-muted-foreground);
}

.field__error {
	display: none;
	margin-top: 6px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-destructive);
}

.field.is-invalid .field__error {
	display: block;
}

.stats {
	display: grid;
	gap: 24px;
	margin-bottom: 64px;
}

.stats__value {
	font-family: var(--font-head);
	font-size: 36px;
	font-weight: 800;
	line-height: 40px;
	letter-spacing: -0.02em;
	color: var(--color-primary);
}

.stats__label {
	margin-top: 8px;
	color: var(--color-muted-foreground);
}

.reviews {
	padding: 80px 0;
	background-color: var(--color-card);
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.reviews__list {
	display: grid;
	gap: 20px;
}

.review {
	padding: 24px;
}

.review__stars {
	display: flex;
	gap: 4px;
	margin-bottom: 16px;
	color: var(--color-warm);
}

.review__star {
	width: 18px;
	height: 18px;
	fill: var(--color-warm);
}

.review__text {
	margin-bottom: 24px;
	font-size: 18px;
	line-height: 1.625;
	color: var(--color-foreground);
}

.review__author {
	display: flex;
	align-items: center;
	gap: 12px;
}

.review__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--color-primary);
	background-color: hsl(var(--c-primary) / 0.1);
	border-radius: 50%;
}

.review__name {
	font-family: var(--font-head);
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--color-foreground);
}

.review__role {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.footer {
	color: rgb(255 255 255 / 0.7);
	background-color: var(--color-foreground);
}

.footer__inner {
	padding-top: 56px;
	padding-bottom: 56px;
}

.footer__grid {
	display: grid;
	gap: 40px;
}

.footer__logo {
	margin-bottom: 16px;
}

.footer__about {
	max-width: 320px;
	font-size: 14px;
	line-height: 1.625;
}

.footer__title {
	margin-bottom: 16px;
	font-weight: 600;
	color: #fff;
}

.footer__list > * + * {
	margin-top: 10px;
}

.footer__link {
	font-size: 14px;
	line-height: 20px;
	transition: color 0.15s var(--ease);
}

.footer__link:hover {
	color: #fff;
}

.footer__link--sm {
	font-size: 12px;
	line-height: 16px;
}

.footer__mail {
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer__socials {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #fff;
	background-color: rgb(255 255 255 / 0.1);
	border-radius: var(--radius-xl);
	transition: background-color 0.15s var(--ease);
}

.footer__social:hover {
	background-color: var(--color-primary);
}

.footer__bottom {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
	margin-top: 48px;
	padding-top: 24px;
	font-size: 12px;
	line-height: 16px;
	border-top: 1px solid rgb(255 255 255 / 0.1);
}

.footer__legal {
	display: flex;
	gap: 24px;
}

.modal {
	position: fixed;
	inset: 0;
	z-index: 50;
	display: none;
}

.modal.is-open {
	display: block;
}

.modal__overlay {
	position: fixed;
	inset: 0;
	background-color: rgb(0 0 0 / 0.8);
	animation: fade-in 0.2s ease both;
}

.modal__dialog {
	position: fixed;
	top: 50%;
	left: 50%;
	display: grid;
	gap: 16px;
	width: 100%;
	max-width: 512px;
	max-height: 92vh;
	padding: 24px;
	overflow-y: auto;
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-3xl);
	box-shadow: var(--shadow-lg);
	transform: translate(-50%, -50%);
	animation: modal-in 0.2s ease both;
}

.modal__dialog--md {
	max-width: 520px;
}

.modal__dialog--lg {
	max-width: 560px;
}

.modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	border-radius: var(--radius-sm);
	opacity: 0.7;
	transition: opacity 0.15s var(--ease);
}

.modal__close:hover {
	opacity: 1;
}

.modal__head {
	display: flex;
	flex-direction: column;
	text-align: center;
}

.modal__head > * + * {
	margin-top: 6px;
}

.modal__title {
	font-size: 24px;
	font-weight: 600;
	line-height: 32px;
	letter-spacing: -0.025em;
}

.modal__text {
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.modal__step {
	display: none;
	gap: 16px;
}

.modal__step.is-active {
	display: grid;
}

.modal [data-variant-show] {
	display: none;
}

.modal[data-variant="account"] [data-variant-show="account"],
.modal[data-variant="olympiad"] [data-variant-show="olympiad"],
.modal[data-variant="participant"] [data-variant-show="participant"] {
	display: flex;
}

@keyframes fade-in {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@keyframes modal-in {
	0% {
		opacity: 0;
		transform: translate(-50%, -48%) scale(0.95);
	}

	100% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1);
	}
}

.tabs__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	width: 100%;
	height: 48px;
	margin-top: 8px;
	padding: 6px;
	color: var(--color-muted-foreground);
	background-color: var(--color-muted);
	border-radius: var(--radius-2xl);
}

.tabs__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 6px 12px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: -0.02em;
	white-space: nowrap;
	border-radius: var(--radius-xl);
	transition: all 0.15s var(--ease);
}

.tabs__trigger.is-active {
	color: var(--color-foreground);
	background-color: var(--color-background);
	box-shadow: var(--shadow-sm);
}

.tabs__panel {
	display: none;
	margin-top: 20px;
}

.tabs__panel.is-active {
	display: block;
}

.tabs__note {
	margin-bottom: 20px;
}

.slot-list > * + * {
	margin-top: 12px;
}

.slot {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	border-radius: var(--radius-2xl);
}

.slot__info {
	flex: 1;
	min-width: 0;
}

.slot__teacher {
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	white-space: nowrap;
	text-overflow: ellipsis;
	color: var(--color-foreground);
}

.slot__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	line-height: 16px;
	color: var(--color-muted-foreground);
}

.slot__meta + .slot__meta {
	margin-top: 2px;
}

.slot .btn {
	flex-shrink: 0;
}

.summary {
	padding: 16px;
	background-color: hsl(var(--c-secondary) / 0.4);
	border-radius: var(--radius-2xl);
}

.summary--lg {
	padding: 20px;
}

.summary__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	font-size: 14px;
	line-height: 20px;
}

.summary__row + .summary__row {
	margin-top: 6px;
}

.summary--lg .summary__row + .summary__row {
	margin-top: 8px;
}

.summary__label {
	flex-shrink: 0;
	color: var(--color-muted-foreground);
}

.summary__value {
	font-weight: 500;
	text-align: right;
	color: var(--color-foreground);
}

.success {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 8px;
	text-align: center;
}

.success__icon {
	margin-bottom: 20px;
}

.success__title {
	margin-bottom: 4px;
	font-size: 20px;
	font-weight: 800;
	line-height: 28px;
	color: var(--color-foreground);
}

.success__text {
	margin-bottom: 24px;
	font-size: 14px;
	line-height: 20px;
	color: var(--color-muted-foreground);
}

.intro__filter {
	margin-top: 8px;
}

.intro__slots {
	margin-top: 12px;
}

.intro__help {
	justify-self: start;
	margin-top: 16px;
}

.intro__summary {
	margin: 4px 0 8px;
}

.intro__summary--lg {
	margin-top: 0;
}

.intro__done {
	margin-top: 8px;
}

.back-btn {
	justify-self: start;
	margin-left: -12px;
}

.toaster {
	position: fixed;
	right: 16px;
	bottom: 16px;
	left: 16px;
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: 8px;
	pointer-events: none;
}

.toast {
	display: none;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	padding: 16px;
	font-size: 13px;
	line-height: 1.4;
	color: var(--color-foreground);
	background-color: var(--color-background);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	box-shadow: var(--shadow-lg);
	pointer-events: auto;
	animation: toast-in 0.4s ease both;
}

.toast.is-open {
	display: flex;
}

.toast__icon {
	width: 20px;
	height: 20px;
	margin-right: 4px;
	color: var(--color-foreground);
}

.toast__title {
	font-weight: 500;
}

.toast__text {
	color: var(--color-muted-foreground);
}

@keyframes toast-in {
	0% {
		opacity: 0;
		transform: translateY(100%);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

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

	.stage,
	.modal__overlay,
	.modal__dialog,
	.toast {
		animation: none;
	}
}
