/* ==========================================================================
   Учебен свят - „Заяви курс“ (tpl-signup.php), 08.11
   A short space hero with a constellation of the six steps (canvas in signup.js), then the form rises
   out of the clouds: six steps, a progress line of stars, and a holographic card with the live summary.
   The effects stay around the form, never in it: the fields themselves are calm, big and clear.
   Without JS every step is visible and the form is one normal page.
   ========================================================================== */

/* hero ------------------------------------------------------------------------ */
.su-hero {
	--accent: #ffc845;
	min-height: 0;
	background:
		radial-gradient(640px 420px at 76% 40%, rgba(255, 236, 190, .1) 0%, rgba(255, 220, 150, .05) 36%, rgba(255, 220, 150, 0) 66%),
		radial-gradient(520px 300px at 30% 8%, rgba(235, 240, 255, .08) 0%, rgba(235, 240, 255, 0) 70%),
		radial-gradient(1100px 700px at 74% 46%, #3d2c9e 0%, rgba(61, 44, 158, 0) 64%),
		radial-gradient(900px 700px at 0% 100%, #5b2c92 0%, rgba(91, 44, 146, 0) 62%),
		radial-gradient(1000px 640px at 8% 0%, #20409f 0%, rgba(32, 64, 159, 0) 62%),
		linear-gradient(180deg, #131d63 0%, #1c1868 50%, #2b1b7a 100%);
}

.su-hero .usv-hero__aurora--a {
	background: color-mix(in srgb, var(--accent) 34%, #2b1a70);
	opacity: .42;
}

.su-hero__sky {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.su-hero__inner {
	grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
	min-height: 0;
	padding-top: calc(var(--header-h) + 22px);
	padding-bottom: 190px; /* the form card overlaps the last 150 px */
}

.su-hero .usv-hero__copy {
	max-width: 640px;
}

.su-hero .usv-slide__title {
	font-size: clamp(34px, 3.9vw, 56px);
}

/* the names of the stars, placed by signup.js on the constellation */
.su-hero__stage {
	position: relative;
	align-self: stretch;
	min-height: 340px;
}

.su-star {
	position: absolute;
	left: 0;
	top: 0;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 5px 11px 5px 5px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;
	background: rgba(20, 16, 70, .55);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: rgba(255, 255, 255, .62);
	font: 700 13px/1 var(--font-body);
	white-space: nowrap;
	opacity: 0;
	transform: translate(var(--lx, -50%), var(--ly, 16px));
	transition: opacity .6s, color .4s, border-color .4s, background .4s;
}

.su-hero.is-placed .su-star {
	opacity: 1;
}

.su-star b {
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font: 800 11px/1 var(--font-display);
}

.su-star b .usv-ic {
	width: 13px;
	height: 13px;
}

.su-star.is-cur {
	border-color: rgba(255, 255, 255, .4);
	color: #fff;
}

.su-star.is-done {
	border-color: rgba(255, 200, 69, .5);
	background: rgba(60, 40, 110, .6);
	color: #ffe7a6;
}

.su-star.is-done b {
	background: var(--gold);
	color: #2a1450;
}

.su-star--goal {
	color: #ffe7a6;
}

.su-star--goal b {
	background: linear-gradient(135deg, #ffe07a, var(--gold-2));
	color: #2a1450;
}

/* the form section: rises out of the clouds ------------------------------------- */
.su-sec {
	--lift: 150px;
	position: relative;
	z-index: 5;
	margin-top: calc(var(--lift) * -1);
	padding-bottom: clamp(60px, 7vw, 100px);
	scroll-margin-top: 90px; /* #form (also after ?sent= without JS): the header stays over the dark sky */
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) var(--lift), var(--paper) var(--lift));
	color: var(--ink);
}

.su-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(330px, 400px);
	grid-template-areas: "main side" "after side";
	gap: 28px 36px;
	align-items: start;
}

.su-main {
	grid-area: main;
	min-width: 0;
}

.su-side {
	grid-area: side;
	position: sticky;
	top: calc(var(--header-h) + 14px);
	display: grid;
	gap: 14px;
}

.su-after {
	grid-area: after;
}

.su-layout.is-sent {
	grid-template-columns: minmax(0, 820px);
	grid-template-areas: "main";
	justify-content: center;
}

.su-layout.is-sent .su-side {
	display: none;
}

/* the sheet that holds the form */
.su-sheet {
	position: relative;
	padding: 30px clamp(20px, 3vw, 40px) 34px;
	border: 1px solid rgba(29, 18, 69, .06);
	border-radius: 32px;
	background: #fff;
	box-shadow: 0 60px 100px -60px rgba(43, 27, 122, .55), 0 18px 40px -26px rgba(43, 27, 122, .35), 0 2px 6px rgba(29, 18, 69, .05);
}

.su-form {
	margin: 0;
}

/* progress: six stars on a line ---------------------------------------------- */
.su-top {
	position: relative;
	margin: -4px 0 28px;
}

.su-top[hidden] {
	display: none;
}

.su-rail {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.su-rail__btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	min-height: 44px;
	padding: 0 2px;
	border: 0;
	background: none;
	color: var(--ink-2);
	cursor: pointer;
}

.su-rail__btn:disabled {
	cursor: default;
	color: #a7a1c4;
}

.su-rail__dot {
	position: relative;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 2px solid #e2ddf7;
	border-radius: 50%;
	background: #fff;
	font: 800 14px/1 var(--font-display);
	transition: border-color .35s, background .35s, color .35s, transform .5s var(--ease-spring), box-shadow .35s;
}

.su-rail__dot svg {
	position: absolute;
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-dasharray: 22;
	stroke-dashoffset: 22;
	transition: stroke-dashoffset .45s ease .1s;
}

.su-rail__name {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
}

.su-rail__btn:not(:disabled):hover .su-rail__dot {
	transform: translateY(-2px);
	border-color: #b9aef5;
}

.su-rail__btn[aria-current="step"] {
	color: var(--ink);
}

.su-rail__btn[aria-current="step"] .su-rail__dot {
	border-color: #4545da;
	color: #4545da;
	box-shadow: 0 0 0 5px rgba(69, 69, 218, .13);
}

.su-rail__btn.is-done .su-rail__dot {
	border-color: transparent;
	background: linear-gradient(135deg, #ffe07a, var(--gold-2));
	color: #2a1450;
	box-shadow: 0 8px 18px -8px rgba(255, 178, 31, .9);
}

.su-rail__btn.is-done .su-rail__dot i {
	opacity: 0;
}

.su-rail__btn.is-done .su-rail__dot svg {
	stroke-dashoffset: 0;
}

.su-rail__btn.is-done[aria-current="step"] .su-rail__dot {
	box-shadow: 0 0 0 5px rgba(255, 178, 31, .22), 0 8px 18px -8px rgba(255, 178, 31, .9);
}

.su-rail__dot i {
	font-style: normal;
	transition: opacity .2s;
}

/* the line behind the stars: grey, then gold up to the furthest finished step */
.su-meter {
	position: absolute;
	top: 17px;
	left: calc(100% / 12);
	right: calc(100% / 12);
	height: 3px;
	border-radius: 3px;
	background: #ece8fb;
}

.su-meter i {
	position: absolute;
	inset: 0 auto 0 0;
	width: calc(var(--p, 0) * 100%);
	border-radius: inherit;
	background: linear-gradient(90deg, #ffe07a, var(--gold-2));
	box-shadow: 0 0 12px rgba(255, 178, 31, .6);
	transition: width .7s var(--ease-out);
}

/* the live summary on phones: small pills under the progress line */
.su-chips {
	display: none;
}

/* the steps ------------------------------------------------------------------ */
.su-step {
	margin: 0 0 40px;
}

.su-form.is-steps .su-step {
	display: none;
	margin: 0;
}

.su-form.is-steps .su-step.is-cur {
	display: block;
	animation: su-in .55s var(--ease-out) both;
}

.su-form.is-steps .su-step.is-cur.is-back {
	animation-name: su-in-back;
}

@keyframes su-in {
	from { opacity: 0; transform: translateX(26px); }
	to { opacity: 1; transform: none; }
}

@keyframes su-in-back {
	from { opacity: 0; transform: translateX(-26px); }
	to { opacity: 1; transform: none; }
}

.su-step__no {
	margin: 0 0 6px;
	color: #6b62a3;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.su-step__no span {
	color: #4545da;
}

.su-step__q {
	margin: 0 0 8px;
	font: 700 clamp(25px, 2.4vw, 34px)/1.15 var(--font-display);
	letter-spacing: -.01em;
	text-wrap: balance;
}

.su-step__q:focus {
	outline: none;
}

.su-step__q:focus-visible {
	outline: 2px solid #4545da;
	outline-offset: 4px;
	border-radius: 6px;
}

.su-step__hint {
	max-width: 620px;
	margin: 0 0 22px;
	color: var(--ink-2);
	font-size: 16px;
	text-wrap: pretty;
}

.su-step__for {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: -10px 0 18px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f3f1ff;
	color: #3d3580;
	font-size: 14px;
	font-weight: 800;
}

.su-step__for[hidden] {
	display: none;
}

.su-group {
	position: relative;
	min-width: 0;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
}

.su-legend {
	margin: 0 0 10px;
	padding: 0;
	color: var(--ink);
	font: 700 14px/1.2 var(--font-display);
	letter-spacing: .1em;
	text-transform: uppercase;
}

/* the real input stays in the label (keyboard + screen readers), only the box is drawn */
.su-cl input,
.su-subj input,
.su-row input,
.su-place input,
.su-fmt input,
.su-time input,
.su-check input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.su-tick {
	position: absolute;
	right: 12px;
	top: 12px;
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--c, #4545da);
	color: #fff;
	opacity: 0;
	transform: scale(.4);
	transition: opacity .25s, transform .45s var(--ease-spring);
}

.su-tick svg,
.su-row__box svg,
.su-check__box svg,
.su-time__cb svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

input:checked + * .su-tick,
input:checked + .su-subj__box .su-tick {
	opacity: 1;
	transform: none;
}

/* 1. classes */
.su-classes {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 10px;
}

.su-cl {
	position: relative;
	display: block;
	cursor: pointer;
}

.su-cl--word {
	grid-column: span 2;
}

.su-cl__box {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 3px;
	height: 72px;
	padding: 6px;
	border: 1.5px solid #e6e1fb;
	border-radius: 18px;
	background: #faf9ff;
	text-align: center;
	transition: border-color .25s, background .25s, box-shadow .35s, transform .45s var(--ease-spring);
}

.su-cl__box b {
	font: 700 26px/1 var(--font-display);
}

.su-cl--word .su-cl__box b {
	font-size: 17px;
	line-height: 1.15;
}

.su-cl__box small {
	color: var(--ink-2);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
}

.su-cl:hover .su-cl__box {
	border-color: #c7bdf8;
	background: #fff;
	transform: translateY(-2px);
}

.su-cl input:checked + .su-cl__box {
	border-color: transparent;
	background: linear-gradient(135deg, #ffe07a, var(--gold-2));
	box-shadow: 0 14px 26px -14px rgba(255, 160, 20, .95), inset 0 -3px 0 rgba(120, 60, 0, .14);
	color: #2a1450;
	transform: translateY(-2px);
}

.su-cl input:checked + .su-cl__box small {
	color: #5a3a10;
}

/* 2. subjects */
.su-subjects {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.su-subj {
	position: relative;
	display: block;
	cursor: pointer;
}

.su-subj__box {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	min-height: 150px;
	padding: 14px 14px 16px;
	border: 1.5px solid color-mix(in srgb, var(--c) 28%, #fff);
	border-radius: 22px;
	background: color-mix(in srgb, var(--c) 9%, #fff);
	transition: border-color .25s, background .25s, box-shadow .35s, transform .45s var(--ease-spring), opacity .3s, filter .3s;
}

.su-subj__img {
	width: 54px;
	height: 54px;
	margin-bottom: 6px;
	filter: drop-shadow(0 10px 10px color-mix(in srgb, var(--c) 40%, rgba(40, 20, 90, .2)));
	transition: transform .5s var(--ease-spring);
}

.su-subj__name {
	padding-right: 18px;
	font: 700 16px/1.2 var(--font-display);
}

.su-subj__range,
.su-subj__off {
	margin-top: auto;
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 700;
}

.su-subj__off {
	display: none;
	color: #8a83ad;
}

.su-subj:hover .su-subj__box {
	border-color: color-mix(in srgb, var(--c) 60%, #fff);
	transform: translateY(-3px);
}

.su-subj:hover .su-subj__img {
	transform: rotate(-8deg) scale(1.08);
}

.su-subj input:checked + .su-subj__box {
	border-color: color-mix(in srgb, var(--c) 85%, #1d1245);
	background: color-mix(in srgb, var(--c) 22%, #fff);
	box-shadow: 0 22px 36px -22px color-mix(in srgb, var(--c) 90%, #1d1245), inset 0 0 0 1px color-mix(in srgb, var(--c) 85%, #1d1245);
	transform: translateY(-3px);
}

.su-subj input:disabled + .su-subj__box {
	opacity: .5;
	filter: grayscale(.85);
	cursor: not-allowed;
	transform: none;
}

.su-subj input:disabled + .su-subj__box .su-subj__range {
	display: none;
}

.su-subj input:disabled + .su-subj__box .su-subj__off {
	display: block;
}

.su-subj:has(input:disabled) {
	cursor: not-allowed;
}

/* 3. courses */
.su-courses {
	display: grid;
	gap: 18px;
}

.su-cgroup {
	display: grid;
	gap: 8px;
}

.su-cgroup[hidden],
.su-row[hidden] {
	display: none;
}

.su-cgroup__t {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 2px;
	font: 700 15px/1.2 var(--font-display);
}

.su-cgroup__t .usv-3d {
	width: 30px;
	height: 30px;
}

.su-row {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	padding: 12px 16px;
	border: 1.5px solid #e6e1fb;
	border-radius: 18px;
	background: #fff;
	cursor: pointer;
	transition: border-color .25s, background .25s, box-shadow .35s, transform .45s var(--ease-spring);
}

.su-row:hover {
	border-color: color-mix(in srgb, var(--c, #4545da) 55%, #fff);
	transform: translateX(3px);
}

.su-row__box {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 2px solid #cfc8ef;
	border-radius: 9px;
	background: #fff;
	color: transparent;
	transition: background .25s, border-color .25s, color .25s, transform .45s var(--ease-spring);
}

.su-row__text {
	display: grid;
	gap: 2px;
}

.su-row__text b {
	font-size: 16px;
	line-height: 1.3;
}

.su-row__text small {
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 700;
}

.su-row input:checked ~ .su-row__box {
	border-color: transparent;
	background: color-mix(in srgb, var(--c, #4545da) 85%, #1d1245);
	color: #fff;
	transform: scale(1.08);
}

.su-row:has(input:checked) {
	border-color: color-mix(in srgb, var(--c, #4545da) 70%, #fff);
	background: color-mix(in srgb, var(--c, #4545da) 10%, #fff);
	box-shadow: 0 16px 30px -22px color-mix(in srgb, var(--c, #4545da) 90%, #1d1245);
}

.su-cgroup--advice {
	--c: #4545da;
	padding-top: 6px;
	border-top: 1.5px dashed #e6e1fb;
}

.su-row--advice {
	background: #faf9ff;
}

.su-empty {
	margin: 0;
	padding: 14px 16px;
	border-radius: 16px;
	background: #fff6dd;
	color: #5a3a10;
	font-weight: 700;
}

/* 4. places and formats */
.su-places,
.su-formats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.su-place,
.su-fmt {
	position: relative;
	display: block;
	cursor: pointer;
}

.su-place__box,
.su-fmt__box {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 16px 16px 18px;
	border: 1.5px solid #e6e1fb;
	border-radius: 22px;
	background: #fff;
	transition: border-color .25s, background .25s, box-shadow .35s, transform .45s var(--ease-spring), opacity .3s;
}

.su-place {
	--c: #4545da;
}

.su-place__ic {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 8px;
	border-radius: 14px;
	background: #f1eeff;
	color: #4545da;
	transition: transform .5s var(--ease-spring);
}

.su-place__box b,
.su-fmt__box b {
	padding-right: 26px;
	font: 700 16px/1.25 var(--font-display);
}

.su-place__box b em {
	margin-left: 4px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #3fd99a;
	color: #0c3a26;
	font: 800 10px/1.4 var(--font-body);
	font-style: normal;
	letter-spacing: .08em;
	text-transform: uppercase;
	vertical-align: 2px;
}

.su-place__box small,
.su-fmt__box small {
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.su-place__note {
	color: var(--ink-2);
	font-size: 13.5px;
	line-height: 1.45;
}

.su-place:hover .su-place__box,
.su-fmt:hover .su-fmt__box {
	border-color: #c7bdf8;
	transform: translateY(-3px);
}

.su-place:hover .su-place__ic {
	transform: translateY(-3px) rotate(-6deg);
}

.su-place input:checked + .su-place__box,
.su-fmt input:checked + .su-fmt__box {
	border-color: #4545da;
	background: #f6f4ff;
	box-shadow: 0 20px 34px -22px rgba(69, 69, 218, .8), inset 0 0 0 1px #4545da;
	transform: translateY(-3px);
}

.su-place input:checked + .su-place__box .su-place__ic {
	background: #4545da;
	color: #fff;
}

.su-place input:disabled + .su-place__box {
	opacity: .45;
	cursor: not-allowed;
	transform: none;
}

.su-place:has(input:disabled) {
	cursor: not-allowed;
}

/* format: one dot, a small group, or a question mark */
.su-fmt {
	--c: #4545da;
}

.su-fmt__art {
	position: relative;
	display: flex;
	align-items: center;
	gap: 5px;
	height: 42px;
	margin-bottom: 8px;
}

.su-fmt__art i {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, #8f7bff, #4545da);
	box-shadow: 0 6px 10px -4px rgba(69, 69, 218, .6);
	transition: transform .5s var(--ease-spring);
	transition-delay: calc(var(--d) * 50ms);
}

.su-fmt:first-child .su-fmt__art i {
	width: 30px;
	height: 30px;
	background: linear-gradient(135deg, #ffe07a, var(--gold-2));
	box-shadow: 0 8px 14px -6px rgba(255, 160, 20, .8);
}

/* padding 0: the title rule (.su-fmt__box b) must not push the "?" off the centre of its circle */
.su-fmt__art b {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 50%;
	background: #f1eeff;
	color: #4545da;
	font: 800 18px/1 var(--font-display);
}

.su-fmt:hover .su-fmt__art i,
.su-fmt input:checked + .su-fmt__box .su-fmt__art i {
	transform: translateY(-5px);
}

.su-fmt__box small {
	color: var(--ink-2);
	font-weight: 700;
}

.su-note {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: 14px;
	background: #fff6dd;
	color: #5a3a10;
	font-size: 14.5px;
	font-weight: 700;
}

.su-note[hidden] {
	display: none;
}

.su-note .usv-ic {
	width: 18px;
	height: 18px;
	color: #c47a00;
}

/* 5. time */
.su-times {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.su-time {
	position: relative;
	display: block;
	cursor: pointer;
}

.su-time__box {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 60px;
	padding: 10px 16px;
	border: 1.5px solid #e6e1fb;
	border-radius: 18px;
	background: #fff;
	transition: border-color .25s, background .25s, box-shadow .35s, transform .45s var(--ease-spring);
}

.su-time__box b {
	font-size: 16px;
	line-height: 1.2;
}

.su-time--part .su-time__box {
	flex-wrap: wrap;
	align-content: center;
	row-gap: 0;
	padding-left: 66px;
}

.su-time--part .su-time__box b {
	flex: 1 1 100%;
}

.su-time--part .su-time__box small {
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 700;
}

.su-time__cb {
	display: grid;
	flex: none;
	place-items: center;
	width: 26px;
	height: 26px;
	border: 2px solid #cfc8ef;
	border-radius: 8px;
	color: transparent;
	transition: background .25s, border-color .25s, color .25s;
}

/* a little sun on an arc: low in the morning, high at noon, low again in the evening */
.su-time__sun {
	position: absolute;
	left: 14px;
	top: 50%;
	width: 40px;
	height: 22px;
	margin-top: -11px;
	border: 2px solid #ece8fb;
	border-bottom: 0;
	border-radius: 40px 40px 0 0;
}

.su-time__sun::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 12px;
	margin: -6px 0 0 -6px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ffe07a, #ff9f1c);
	box-shadow: 0 0 10px rgba(255, 170, 30, .8);
	left: calc(15% + var(--k) * 35%);
	top: calc(70% - (1 - (var(--k) - 1) * (var(--k) - 1)) * 60%);
	transition: transform .5s var(--ease-spring);
}

.su-time:hover .su-time__box {
	border-color: #c7bdf8;
	transform: translateY(-2px);
}

.su-time:hover .su-time__sun::after {
	transform: scale(1.25);
}

.su-time input:checked + .su-time__box {
	border-color: #4545da;
	background: #f6f4ff;
	box-shadow: inset 0 0 0 1px #4545da;
}

.su-time input:checked + .su-time__box .su-time__cb {
	border-color: transparent;
	background: #4545da;
	color: #fff;
}

.su-time--part input:checked + .su-time__box .su-time__sun {
	border-color: #ffd36b;
}

/* 6. contact fields */
.su-review {
	margin: 0 0 22px;
	border-radius: 20px;
	background: #f6f4ff;
}

.su-review[hidden] {
	display: none;
}

.su-review summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 52px;
	padding: 12px 18px;
	list-style: none;
	cursor: pointer;
}

.su-review summary::-webkit-details-marker {
	display: none;
}

.su-review__t {
	font: 700 13px/1.2 var(--font-display);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #4545da;
}

.su-review__more {
	display: grid;
	place-items: center;
	color: #4545da;
	transition: transform .35s var(--ease-spring);
}

.su-review[open] .su-review__more {
	transform: rotate(180deg);
}

.su-review__list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0 18px 16px;
	list-style: none;
}

.su-review__list > li {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 8px;
	font-size: 14.5px;
}

.su-review__k {
	color: var(--ink-2);
	font-weight: 700;
}

.su-review__v {
	font-weight: 800;
	overflow-wrap: anywhere;
}

.su-review__v.is-empty {
	color: #8a83ad;
	font-weight: 700;
}

.su-review__edit {
	padding: 4px 2px;
	border: 0;
	background: none;
	color: #4545da;
	font-size: 13.5px;
	font-weight: 800;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.su-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px 18px;
	margin-bottom: 18px;
}

.su-field {
	display: grid;
	align-content: start;
	gap: 7px;
}

.su-field--wide {
	grid-column: 1 / -1;
}

.su-field label {
	font-weight: 800;
	font-size: 15px;
}

.su-field label span {
	margin-left: 4px;
	color: #8a83ad;
	font-size: 13px;
	font-weight: 700;
}

.su-field input,
.su-field textarea {
	width: 100%;
	min-height: 56px;
	padding: 14px 16px;
	border: 1.5px solid #ddd7f5;
	border-radius: 16px;
	background: #fcfbff;
	color: var(--ink);
	font: 600 17px/1.4 var(--font-body);
	transition: border-color .2s, box-shadow .2s, background .2s;
}

.su-field textarea {
	min-height: 96px;
	resize: vertical;
}

.su-field input:hover,
.su-field textarea:hover {
	border-color: #c4baf3;
}

.su-field input:focus,
.su-field textarea:focus {
	outline: none;
	border-color: #4545da;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(69, 69, 218, .14);
}

.su-field__hint {
	color: var(--ink-2);
	font-size: 13px;
}

/* the consent checkbox */
.su-consent {
	margin: 0 0 22px;
}

.su-check {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	font-size: 15px;
	line-height: 1.5;
}

.su-check__box {
	display: grid;
	flex: none;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-top: -2px;
	border: 2px solid #cfc8ef;
	border-radius: 9px;
	background: #fff;
	color: transparent;
	transition: background .25s, border-color .25s, color .25s, transform .4s var(--ease-spring);
}

.su-check input:checked + .su-check__box {
	border-color: transparent;
	background: #4545da;
	color: #fff;
	transform: scale(1.06);
}

.su-check a {
	color: #4545da;
	font-weight: 800;
	text-underline-offset: 3px;
}

/* focus rings for the drawn boxes */
.su-cl input:focus-visible + .su-cl__box,
.su-subj input:focus-visible + .su-subj__box,
.su-place input:focus-visible + .su-place__box,
.su-fmt input:focus-visible + .su-fmt__box,
.su-time input:focus-visible + .su-time__box,
.su-row:has(input:focus-visible),
.su-check input:focus-visible + .su-check__box {
	outline: 3px solid #4545da;
	outline-offset: 3px;
}

/* errors: the same look for the step checks (signup.js) and the server (forms.js) */
.su-form .is-invalid .su-cl__box,
.su-form .is-invalid .su-subj__box,
.su-form .is-invalid .su-row,
.su-form .is-invalid .su-place__box,
.su-form .is-invalid .su-fmt__box,
.su-form .is-invalid .su-check__box,
.su-form .is-invalid input[type="text"],
.su-form .is-invalid input[type="tel"],
.su-form .is-invalid input[type="email"] {
	border-color: #e5384f;
}

.su-form .is-invalid input[type="text"],
.su-form .is-invalid input[type="tel"],
.su-form .is-invalid input[type="email"] {
	background: #fff7f8;
}

.su-form .usv-field-err {
	display: flex;
	align-items: center;
	gap: 7px;
	margin-top: 8px;
	color: #c8243b;
	font-size: 14px;
	font-weight: 800;
	animation: su-shake .4s ease;
}

.su-form .usv-field-err::before {
	content: "!";
	display: grid;
	flex: none;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #e5384f;
	color: #fff;
	font-size: 12px;
	line-height: 1;
}

.su-field .usv-field-err {
	margin-top: 0;
}

@keyframes su-shake {
	0%, 100% { transform: none; }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}

/* navigation and sending */
.su-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 26px;
}

.su-nav[hidden] {
	display: none;
}

.su-nav .su-fwd {
	margin-left: auto;
	min-height: 52px;
	padding: 14px 26px;
	font-size: 16px;
}

.su-back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 10px 16px 10px 10px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--ink-2);
	font-weight: 800;
	cursor: pointer;
	transition: background .25s, color .25s;
}

.su-back .usv-ic {
	transform: rotate(180deg);
	transition: transform .35s var(--ease-spring);
}

.su-back:hover {
	background: #f3f1ff;
	color: var(--ink);
}

.su-back:hover .usv-ic {
	transform: rotate(180deg) translateX(4px);
}

.su-send {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.su-send .su-nav {
	margin: 0;
}

.su-submit {
	margin-left: auto;
	min-width: 240px;
}

.su-submit__w {
	display: none;
}

.su-form.is-sending .su-submit__t {
	display: none;
}

.su-form.is-sending .su-submit__w {
	display: inline;
}

.su-form.is-sending .su-submit {
	cursor: progress;
	opacity: .85;
}

.su-form.is-sending .su-submit .usv-ic {
	animation: su-send 1s var(--ease-out) infinite;
}

@keyframes su-send {
	from { transform: translateX(-6px); opacity: .2; }
	to { transform: translateX(8px); opacity: 1; }
}

.su-call {
	margin: 18px 0 0;
	color: var(--ink-2);
	font-size: 15px;
}

.su-call a {
	color: #4545da;
	font-weight: 800;
	white-space: nowrap;
}

.su-msg {
	margin: 0;
	color: #c8243b;
	font-weight: 800;
}

.su-msg:not(:empty) {
	margin-top: 16px;
}

.su-alert {
	margin: 0 0 22px;
	padding: 14px 18px;
	border-radius: 16px;
	background: #fff0f2;
	color: #a11b31;
	font-weight: 700;
}

.su-alert a {
	color: inherit;
	font-weight: 800;
}

/* the thank-you state ---------------------------------------------------------- */
.su-done {
	display: none;
	text-align: center;
	padding: 12px 0 6px;
}

.su-done.is-on,
.su-form.is-sent .su-done {
	display: block;
}

.su-form.is-sent .su-step,
.su-form.is-sent .su-step.is-cur,
.su-form.is-sent .su-top,
.su-form.is-sent .su-alert {
	display: none;
}

.su-form.is-sent .su-msg {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.su-done__icon {
	display: inline-grid;
	place-items: center;
	width: 96px;
	height: 96px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff3c4, #ffd25a 55%, #ffae1f);
	box-shadow: 0 24px 40px -18px rgba(255, 160, 20, .9), 0 0 0 10px rgba(255, 200, 69, .18);
	animation: su-pop .7s var(--ease-spring) both;
}

.su-done__icon svg {
	width: 60px;
	height: 60px;
	fill: none;
	stroke: #2a1450;
	stroke-width: 4.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.su-done__icon circle {
	stroke: rgba(42, 20, 80, .25);
	stroke-width: 3;
	stroke-dasharray: 176;
	stroke-dashoffset: 176;
	animation: su-draw .9s ease .25s forwards;
}

.su-done__icon path {
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: su-draw .5s ease .75s forwards;
}

@keyframes su-pop {
	from { transform: scale(.3); opacity: 0; }
	to { transform: none; opacity: 1; }
}

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

.su-done__t {
	margin: 0 0 10px;
	font: 700 clamp(26px, 2.8vw, 38px)/1.15 var(--font-display);
	text-wrap: balance;
}

.su-done__t:focus {
	outline: none;
}

.su-done__lead {
	max-width: 520px;
	margin: 0 auto 26px;
	color: var(--ink-2);
	font-size: 17px;
}

.su-done__lead:empty {
	display: none;
}

.su-nw {
	white-space: nowrap;
}

.su-done__sub {
	margin: 0 0 12px;
	color: #4545da;
	font: 700 13px/1.2 var(--font-display);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.su-done__steps {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	text-align: left;
}

.su-done__steps li {
	display: flex;
	gap: 12px;
	padding: 16px;
	border-radius: 20px;
	background: #f6f4ff;
	animation: su-rise .6s var(--ease-out) both;
	animation-delay: calc(.9s + var(--k) * .15s);
}

@keyframes su-rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

.su-done__no {
	display: grid;
	flex: none;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #4545da;
	color: #fff;
	font: 800 14px/1 var(--font-display);
}

.su-done__steps b {
	display: block;
	margin-bottom: 2px;
	font: 700 16px/1.25 var(--font-display);
}

.su-done__steps p {
	margin: 0;
	color: var(--ink-2);
	font-size: 14.5px;
	line-height: 1.45;
}

.su-done__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.su-done__actions .usv-ghost {
	padding: 12px 22px;
}

/* the holographic card: the live summary ----------------------------------------- */
.su-card {
	--rx: 0deg;
	--ry: 0deg;
	position: relative;
	overflow: hidden;
	padding: 24px 24px 22px;
	border-radius: 28px;
	background:
		radial-gradient(120% 80% at 100% 0%, rgba(255, 200, 69, .22), transparent 55%),
		radial-gradient(90% 70% at 0% 100%, rgba(111, 155, 255, .28), transparent 60%),
		linear-gradient(150deg, #2c1f86 0%, #3a1f8f 45%, #1d2f86 100%);
	color: #fff;
	box-shadow: 0 50px 80px -46px rgba(43, 27, 122, .9), 0 18px 34px -24px rgba(43, 27, 122, .6), inset 0 1px 0 rgba(255, 255, 255, .18);
	transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .5s var(--ease-out), box-shadow .5s;
	isolation: isolate;
}

html:not(.usv-js) .su-card {
	display: none;
}

/* the foil: a rainbow sheen that moves with the pointer (or slowly by itself) */
.su-card__holo {
	position: absolute;
	inset: -1px;
	z-index: -1;
	pointer-events: none;
	background:
		repeating-linear-gradient(115deg, rgba(255, 120, 200, .0) 0%, rgba(255, 120, 200, .55) 7%, rgba(255, 230, 120, .55) 14%, rgba(120, 255, 210, .5) 21%, rgba(120, 170, 255, .55) 28%, rgba(255, 120, 200, 0) 35%);
	background-size: 260% 260%;
	background-position: var(--hx) var(--hy);
	mix-blend-mode: color-dodge;
	opacity: .24;
	transition: opacity .5s;
}

.su-card.is-live .su-card__holo {
	animation: su-holo 9s ease-in-out infinite alternate;
}

.su-card.is-hover .su-card__holo {
	animation: none;
	opacity: .42;
}

@keyframes su-holo {
	from { --hx: 0%; --hy: 20%; }
	to { --hx: 100%; --hy: 80%; }
}

.su-card__glare {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: radial-gradient(circle 220px at var(--gx, 50%) var(--gy, -40%), rgba(255, 255, 255, .22), transparent 70%);
	transition: opacity .4s;
}

/* a sweep of light whenever something new is written on the card */
.su-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .28) 50%, transparent 62%);
	transform: translateX(-120%);
}

.su-card.is-flash::after {
	animation: su-sweep .9s var(--ease-out);
}

@keyframes su-sweep {
	to { transform: translateX(120%); }
}

.su-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 18px;
}

.su-card__logo {
	width: 128px;
	height: auto;
	filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25));
}

.su-card__gift {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 11px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ffe07a, var(--gold-2));
	color: #2a1450;
	font-size: 12px;
	font-weight: 800;
	white-space: nowrap;
	box-shadow: 0 8px 18px -8px rgba(255, 178, 31, .9);
}

.su-card__gift .usv-ic {
	width: 14px;
	height: 14px;
}

.su-card__kicker {
	margin: 0 0 12px;
	color: rgba(255, 255, 255, .62);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .16em;
	text-transform: uppercase;
}

/* six small stars: the same progress as the line in the form */
.su-card__stars {
	position: relative;
	display: flex;
	justify-content: space-between;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.su-card__stars::before {
	content: "";
	position: absolute;
	left: 6px;
	right: 6px;
	top: 50%;
	height: 1px;
	background: rgba(255, 255, 255, .16);
}

.su-card__stars li {
	position: relative;
	display: grid;
	place-items: center;
	width: 14px;
	height: 14px;
}

.su-card__stars i {
	width: 8px;
	height: 8px;
	background: rgba(255, 255, 255, .3);
	clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
	transition: transform .5s var(--ease-spring), background .4s;
}

.su-card__stars li.is-done i {
	background: #ffd86b;
	transform: scale(2);
	filter: drop-shadow(0 0 4px rgba(255, 210, 90, .9));
}

.su-card__stars li.is-cur i {
	background: #fff;
	transform: scale(1.6);
	animation: su-twinkle 1.6s ease-in-out infinite;
}

@keyframes su-twinkle {
	50% { transform: scale(2.1) rotate(45deg); }
}

.su-card:not(.is-live) .su-card__stars i {
	animation-play-state: paused;
}

.su-card__list {
	display: grid;
	gap: 0;
	margin: 0;
}

.su-card__list > div {
	display: grid;
	grid-template-columns: 116px minmax(0, 1fr);
	gap: 10px;
	padding: 9px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
}

.su-card__list dt {
	color: rgba(255, 255, 255, .55);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1.6;
	text-transform: uppercase;
}

.su-card__list dd {
	margin: 0;
	color: rgba(255, 255, 255, .38);
	font: 700 15px/1.4 var(--font-display);
	overflow-wrap: anywhere;
}

.su-card__list .is-filled dd {
	color: #fff;
}

.su-card__list .is-new dd {
	animation: su-type .6s var(--ease-out);
}

@keyframes su-type {
	from { clip-path: inset(0 100% 0 0); opacity: .3; }
	to { clip-path: inset(0 0 0 0); opacity: 1; }
}

.su-card__list dd i {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 6px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: 0 0 8px var(--c);
	vertical-align: 1px;
}

.su-card__list dd span {
	display: block;
}

.su-card__stamp {
	position: absolute;
	right: 18px;
	bottom: 20px;
	display: grid;
	gap: 2px;
	padding: 8px 14px;
	border: 3px double rgba(255, 216, 107, .95);
	border-radius: 12px;
	color: #ffd86b;
	text-align: center;
	text-transform: uppercase;
	rotate: -10deg;
	opacity: 0;
	pointer-events: none;
}

.su-card__stamp b {
	font: 800 16px/1 var(--font-display);
	letter-spacing: .08em;
}

.su-card__stamp small {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
}

.su-card.is-sent .su-card__stamp {
	animation: su-stamp .5s cubic-bezier(.3, 1.6, .5, 1) .5s both;
}

@keyframes su-stamp {
	from { opacity: 0; scale: 2.2; }
	to { opacity: 1; scale: 1; }
}

.su-card.is-sent {
	padding-bottom: 92px;
}

.su-card__call {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	border: 1px solid #ebe6fb;
	border-radius: 20px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 18px 30px -24px rgba(43, 27, 122, .5);
	transition: transform .45s var(--ease-spring), border-color .25s;
}

.su-card__call:hover {
	border-color: #c7bdf8;
	transform: translateY(-2px);
}

.su-card__call > .usv-ic {
	display: grid;
	width: 44px;
	height: 44px;
	padding: 12px;
	border-radius: 50%;
	background: #f1eeff;
	color: #4545da;
}

.su-card__call small {
	display: block;
	color: var(--ink-2);
	font-size: 13px;
	font-weight: 700;
}

.su-card__call b {
	font: 700 19px/1.2 var(--font-display);
}

/* what happens next (under the form on wide screens) */
.su-after {
	padding: 4px 6px 0;
}

.su-after__t {
	margin: 0 0 14px;
	color: #4545da;
	font: 700 13px/1.2 var(--font-display);
	letter-spacing: .14em;
	text-transform: uppercase;
}

.su-after__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.su-after__list li {
	display: flex;
	gap: 12px;
}

.su-after__list li > span {
	display: grid;
	flex: none;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1.5px solid #dcd6ff;
	border-radius: 50%;
	color: #4545da;
	font: 800 14px/1 var(--font-display);
}

.su-after__list b {
	display: block;
	margin-bottom: 2px;
	font: 700 15.5px/1.25 var(--font-display);
}

.su-after__list p {
	margin: 0;
	color: var(--ink-2);
	font-size: 14.5px;
	line-height: 1.45;
}

.su-layout.is-done .su-after {
	display: none;
}

/* FAQ ---------------------------------------------------------------------------- */
.su-faq {
	padding-top: clamp(40px, 5vw, 70px);
}

/* responsive --------------------------------------------------------------------- */
@media (min-width: 1100px) {
	.su-review {
		display: none !important;
	}

	.su-step--last .su-call {
		display: none;
	}
}

@media (max-width: 1279px) and (min-width: 1100px) {
	.su-layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 24px 26px;
	}

	.su-subjects {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

	.su-cl__box b {
		font-size: 23px;
	}

	.su-cl--word .su-cl__box b {
		font-size: 15px;
	}

	.su-card__list > div {
		grid-template-columns: 108px minmax(0, 1fr);
	}

	.su-card__list dt {
		font-size: 11px;
	}

	.su-card__logo {
		width: 100px;
	}

	.su-card__gift {
		padding: 6px 9px;
		font-size: 11px;
	}

	.su-star {
		font-size: 12px;
	}
}

@media (max-width: 1099px) {
	.su-hero__stage {
		display: none;
	}

	.su-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		padding-top: calc(var(--header-h) + 24px);
		padding-bottom: 170px;
	}

	.su-hero .usv-hero__copy {
		margin-top: 0;
	}

	.su-sec {
		--lift: 110px;
	}

	.su-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "main" "side" "after";
		max-width: 760px;
		margin-inline: auto;
	}

	.su-side {
		position: static;
	}

	.su-after__list {
		grid-template-columns: 1fr;
	}

	/* the live summary as pills under the progress line */
	.su-chips {
		display: flex;
		gap: 6px;
		min-height: 0;
		margin: 16px -4px 0;
		padding: 0 4px 2px;
		overflow-x: auto;
		scrollbar-width: none;
		-webkit-mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
		mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
	}

	.su-chips::-webkit-scrollbar {
		display: none;
	}

	.su-chips:empty {
		display: none;
	}

	.su-chips span {
		flex: none;
		display: inline-flex;
		align-items: center;
		gap: 6px;
		max-width: 230px;
		padding: 6px 11px;
		overflow: hidden;
		border-radius: 999px;
		background: #f3f1ff;
		color: #3d3580;
		font-size: 13px;
		font-weight: 800;
		text-overflow: ellipsis;
		white-space: nowrap;
		animation: su-rise .4s var(--ease-out) both;
	}

	.su-chips span i {
		flex: none;
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background: var(--c, #4545da);
	}
}

@media (max-width: 640px) {
	/* phones: the form comes first; the free first lesson is said in the text above */
	.su-hero .usv-facts {
		display: none;
	}

	.su-hero__inner {
		padding-top: calc(var(--header-h) + 14px);
		padding-bottom: 150px;
	}

	.su-hero .usv-slide__title {
		margin: 14px 0 10px;
	}

	.su-sec {
		--lift: 96px;
	}
}

@media (max-width: 760px) {
	.su-sheet {
		padding: 22px 16px 24px;
		border-radius: 26px;
	}

	.su-top {
		margin-bottom: 22px;
	}

	/* only the current step is named under the line of stars */
	.su-rail__name {
		font-size: 12px;
		white-space: nowrap;
		opacity: 0;
		transition: opacity .3s;
	}

	.su-rail__btn[aria-current="step"] .su-rail__name {
		opacity: 1;
	}

	.su-rail__dot {
		width: 32px;
		height: 32px;
		font-size: 13px;
	}

	.su-meter {
		top: 15px;
	}

	.su-step__hint {
		margin-bottom: 18px;
		font-size: 15px;
	}

	.su-classes {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 8px;
	}

	.su-cl__box {
		height: 64px;
		border-radius: 16px;
	}

	.su-cl__box b {
		font-size: 23px;
	}

	.su-cl--word .su-cl__box b {
		font-size: 15px;
	}

	.su-cl__box small {
		font-size: 11px;
	}

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

	.su-subj__box {
		min-height: 138px;
		padding: 12px 12px 14px;
		border-radius: 20px;
	}

	.su-subj__img {
		width: 46px;
		height: 46px;
	}

	.su-subj__name {
		font-size: 15px;
	}

	.su-tick {
		right: 9px;
		top: 9px;
		width: 24px;
		height: 24px;
	}

	.su-places,
	.su-formats {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.su-place__box,
	.su-fmt__box {
		display: grid;
		grid-template-columns: 46px minmax(0, 1fr);
		column-gap: 14px;
		row-gap: 2px;
		padding: 14px 14px 15px;
		border-radius: 20px;
	}

	.su-place__ic,
	.su-fmt__art {
		grid-row: 1 / span 3;
		margin: 0;
	}

	.su-fmt__art {
		justify-content: center;
		flex-wrap: wrap;
		gap: 3px;
		width: 46px;
		height: 46px;
	}

	.su-fmt__art i {
		width: 15px;
		height: 15px;
	}

	.su-fmt:first-child .su-fmt__art i {
		width: 28px;
		height: 28px;
	}

	.su-times {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.su-times--days {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.su-times--days .su-time__box {
		flex-direction: column;
		justify-content: center;
		gap: 6px;
		padding: 10px 6px;
		text-align: center;
	}

	.su-times--days .su-time__box b {
		font-size: 14.5px;
	}

	.su-fields {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.su-review__list > li {
		grid-template-columns: 84px minmax(0, 1fr) auto;
		font-size: 14px;
	}

	.su-nav .su-fwd {
		flex: 1 1 auto;
		max-width: 260px;
	}

	.su-send {
		flex-direction: column-reverse;
		align-items: stretch;
	}

	.su-send .su-nav {
		justify-content: flex-start;
	}

	.su-submit {
		width: 100%;
		min-width: 0;
		margin: 0;
	}

	.su-done__steps {
		grid-template-columns: 1fr;
	}

	.su-done__actions > * {
		flex: 1 1 100%;
		justify-content: center;
	}

	.su-card {
		padding: 20px 18px 18px;
		border-radius: 24px;
	}

	.su-card__logo {
		width: 110px;
	}

	.su-card__list > div {
		grid-template-columns: 92px minmax(0, 1fr);
	}
}

@media (max-width: 380px) {
	.su-rail__name {
		font-size: 10px;
	}

	.su-card__gift {
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.su-card {
		transform: none !important;
	}

	.su-card.is-live .su-card__holo {
		animation: none;
	}
}
