/* Skill Lab: marketing pages (home, tutors, tutor, teacher, teach, login, signup). Prefix s-.
   Builds on kit.css tokens and k- components; never restyles k- classes globally.
   Animations: .s-motion is set on <html> by home.php when motion is allowed; site.js plays the scenes in view. */

/* ------------------------------------------------------------------ shared */
.s-head { max-width: 760px; margin-bottom: 56px; }
.s-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head--center .k-lead { margin-left: auto; margin-right: auto; }
.s-caption { margin-top: 24px; color: var(--text-3); font-size: 14px; line-height: 1.5; }
.k-section--ink .s-caption { color: #8C8C84; }
.s-muted { color: var(--text-2); font-size: 16px; line-height: 1.55; }
.s-prose { color: var(--ink); max-width: 680px; }
#s-how, #s-apply { scroll-margin-top: calc(var(--top) + var(--header-h)); }
@media (max-width: 760px) {
	.s-head { margin-bottom: 36px; }
}

/* ==================================================================== HOME */

/* hero */
.s-hero { padding: 80px 0 128px; }
.s-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 72px; align-items: center; }
.s-hero__title { font-size: clamp(44px, 5.5vw, 82px); }
.s-hero .k-lead { margin-top: 28px; max-width: 520px; }
@media (max-width: 1000px) {
	.s-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
}
@media (max-width: 760px) {
	.s-hero { padding: 40px 0 64px; }
	.s-hero .k-lead { margin-top: 20px; }
	.s-hero .k-actions .k-btn { flex: 1; }
	.s-hero__grid { gap: 44px; }
}

/* classroom mock, built from kit parts */
.s-class { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-size: 15px; line-height: 1.45; text-align: left; }
.s-class__top { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.s-class__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.s-class__name { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-class__meta { color: var(--text-3); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-class__live { margin-left: auto; }
.s-class__feed { display: flex; flex-direction: column; justify-content: flex-end; height: 380px; padding: 8px 20px 16px; overflow: hidden; }
.s-class--wide .s-class__feed { height: 420px; padding-left: 28px; padding-right: 28px; }
.s-class--wide .s-bubble { max-width: min(84%, 600px); }

.s-msg { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .7s var(--ease), opacity .5s ease; }
.s-msg__in { display: flex; align-items: flex-end; gap: 10px; min-height: 0; overflow: hidden; padding-top: 12px; }
.s-msg--me .s-msg__in { justify-content: flex-end; }
.s-bubble { max-width: 84%; padding: 11px 15px; border-radius: 18px; }
.s-msg--me .s-bubble { background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.s-msg--ai .s-bubble { background: var(--canvas); border-bottom-left-radius: 6px; }
.s-bubble__tag { display: flex; width: fit-content; margin-bottom: 8px; }
.s-line { display: inline; }
.s-msg--typing { grid-template-rows: 0fr; opacity: 0; }
.s-msg--typing.is-on { grid-template-rows: 1fr; opacity: 1; }
.s-motion .s-class .s-msg[data-s-step]:not(.is-on) { grid-template-rows: 0fr; opacity: 0; }
.s-bubble.s-typing { display: inline-flex; align-items: center; gap: 5px; padding: 16px 16px; }
.s-typing i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--text-3); animation: s-blink 1.2s ease-in-out infinite; }
.s-typing i:nth-child(2) { animation-delay: .15s; }
.s-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes s-blink { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }

.s-class__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 20px 0; }
.s-class--wide .s-class__actions { padding-left: 28px; padding-right: 28px; }
.s-class__actions .k-chip { cursor: default; transition: background-color .3s, border-color .3s, color .3s, transform .25s var(--ease); }
.s-class__actions .k-chip.is-press { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: scale(.96); }
.s-class__composer { display: flex; gap: 8px; padding: 12px 20px 20px; }
.s-class--wide .s-class__composer { padding-left: 28px; padding-right: 28px; }
.s-class__field { display: flex; align-items: center; flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 14px; font-size: 15px; overflow: hidden; }
.s-class__typed { color: var(--ink); white-space: nowrap; }
.s-class__typed:empty { display: none; }
.s-class__typed:not(:empty)::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 1px; vertical-align: -0.18em; background: var(--ink); animation: s-caret 1s steps(1) infinite; }
.s-class__typed:not(:empty) + .s-class__ph { display: none; }
.s-class__ph { color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-class__send { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--ink); color: var(--lime); transition: transform .25s var(--ease); }
.s-class__send .k-icon { width: 18px; height: 18px; }
.s-class__send.is-press { transform: scale(.9); }
@keyframes s-caret { 50% { opacity: 0; } }
@media (max-width: 760px) {
	.s-class__top { padding: 0 16px; }
	.s-class__feed, .s-class--wide .s-class__feed { height: 360px; padding: 8px 16px 14px; }
	.s-class__actions, .s-class--wide .s-class__actions { padding: 4px 16px 0; }
	.s-class__actions .k-chip { height: 36px; padding: 0 12px; font-size: 13px; }
	.s-class__composer, .s-class--wide .s-class__composer { padding: 12px 16px 16px; }
	.s-bubble { max-width: 88%; font-size: 15px; }
	.s-class--wide .s-bubble { max-width: 88%; }
}

/* catalog facts under the hero */
.s-facts { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 0; margin-top: 72px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 16px; }
.s-facts__item { display: inline-flex; align-items: baseline; gap: 6px; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.s-facts__item:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.s-facts__n { color: var(--ink); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
@media (max-width: 760px) {
	.s-facts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; margin-top: 48px; padding-top: 20px; font-size: 15px; }
	.s-facts__item { flex-direction: column; gap: 2px; padding-right: 0; margin-right: 0; border-right: 0; }
	.s-facts__n { font-size: 26px; }
}

/* pick a tutor: topic groups */
.s-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-bottom: 96px; }
.s-group { min-width: 0; padding: 28px 0 32px; border-top: 1px solid var(--line-strong); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.s-motion .s-groups:not(.is-on) > .s-group { opacity: 0; transform: translateY(20px); }
.s-groups > .s-group:nth-child(2) { transition-delay: .06s; }
.s-groups > .s-group:nth-child(3) { transition-delay: .12s; }
.s-groups > .s-group:nth-child(4) { transition-delay: .18s; }
.s-groups > .s-group:nth-child(5) { transition-delay: .24s; }
.s-groups > .s-group:nth-child(6) { transition-delay: .3s; }
.s-group__name { font-size: 24px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.15; }
.s-group__name a { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.s-group__name a:hover > span:first-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.s-group__count { margin-top: 4px; color: var(--text-3); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.s-group__chev { display: none; }
.s-group__topics { margin-top: 18px; }
.s-group__topic { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .15s; }
.s-group__topic:hover { color: var(--ink); }
.s-group__topic:hover > span:first-child { text-decoration: underline; text-underline-offset: 3px; }
.s-group__n { flex: none; min-width: 28px; color: var(--text-3); font-size: 13px; font-weight: 600; text-align: right; }

/* pick a tutor: rows of tutors */
.s-shelf { margin-top: 72px; }
.s-groups + .s-shelf { margin-top: 0; }
.s-shelf__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.s-shelf__title { font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.s-shelf__note { margin-top: 6px; color: var(--text-2); font-size: 15px; }
.s-shelf__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.s-shelf__all { margin-right: 12px; font-size: 15px; font-weight: 600; }
.s-shelf__arrow { background: var(--paper); }
.s-shelf__arrow[hidden] { display: none; }
.s-shelf__track { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0; scrollbar-width: none; padding: 4px; margin: -4px; }
.s-shelf__track::-webkit-scrollbar { display: none; }
.s-shelf__track > .k-tcard { scroll-snap-align: start; }
.s-shelf__track .k-tcard__meta .k-sample { margin-left: auto; }
.s-shelf__list, .s-shelf__more { display: none; }
.s-pick__more { display: flex; justify-content: center; margin-top: 72px; }
@media (max-width: 1000px) {
	.s-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.s-shelf__track { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (max-width: 760px) {
	.s-groups { grid-template-columns: minmax(0, 1fr); margin-bottom: 56px; }
	.s-group { padding: 0; border-top: 1px solid var(--line); }
	.s-group:first-child { border-top-color: var(--line-strong); }
	.s-group:last-child { border-bottom: 1px solid var(--line); }
	.s-group__name { font-size: 20px; }
	.s-group__name a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 12px; min-height: 64px; }
	.s-group__count { margin-top: 0; font-size: 14px; }
	.s-group__chev { display: block; width: 16px; height: 16px; color: var(--text-3); }
	.s-group__topics { display: none; }
	.s-shelf { margin-top: 48px; }
	.s-shelf__head { margin-bottom: 8px; }
	.s-shelf__title { font-size: 24px; }
	.s-shelf__tools, .s-shelf__track { display: none; }
	.s-shelf__list { display: block; border-top: 1px solid var(--line); }
	.s-shelf__more { display: flex; margin-top: 16px; }
	.s-pick__more { margin-top: 48px; }
	.s-pick__more .k-btn { width: 100%; }
}

/* phone tutor row */
.s-trow { display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.s-trow .k-cover { flex: none; }
.s-trow__main { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.s-trow__name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.s-trow__sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--text-2); font-size: 14px; line-height: 1.4; }
.s-trow__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 4px; }
.s-trow__chev { flex: none; width: 16px; height: 16px; color: var(--text-3); }
.s-trow:active { background: var(--fill-soft); }

/* teacher strip, under the plan */
.s-crew { margin-top: 112px; }
.s-crew__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 8px; }
.s-crew__title { font-size: 24px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.2; }
.s-crew__all { font-size: 15px; font-weight: 600; }
.s-crew__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.s-crew__list > li { border-top: 1px solid var(--line); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.s-motion .s-crew__list:not(.is-on) > li { opacity: 0; transform: translateY(16px); }
.s-crew__list > li:nth-child(3n+2) { transition-delay: .08s; }
.s-crew__list > li:nth-child(3n) { transition-delay: .16s; }
.s-crew__item { display: flex; align-items: flex-start; gap: 16px; height: 100%; padding: 24px 0; color: var(--ink); text-decoration: none; }
.s-crew__main { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.s-crew__name { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.s-crew__item:hover .s-crew__name { text-decoration: underline; text-underline-offset: 3px; }
.s-crew__headline { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.s-crew__count { margin-top: 6px; color: var(--text-3); font-size: 13px; font-weight: 600; }
.s-crew__chev { display: none; flex: none; align-self: center; width: 16px; height: 16px; color: var(--text-3); }
@media (max-width: 1000px) {
	.s-crew__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.s-crew { margin-top: 64px; }
	.s-crew__title { font-size: 21px; }
	.s-crew__list { grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
	.s-crew__item { align-items: center; padding: 16px 0; }
	.s-crew__chev { display: block; }
}

/* sample exchange switcher */
.s-lesson__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); max-width: 960px; margin: 0 auto 24px; border: 1px solid var(--line-strong); border-radius: 16px; overflow: hidden; background: var(--paper); }
.s-lesson__tab { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 72px; padding: 12px 16px; border: 0; border-left: 1px solid var(--line); background: var(--paper); color: var(--text-2); font: inherit; text-align: left; transition: background-color .15s, color .15s; }
.s-lesson__tab:first-child { border-left: 0; }
.s-lesson__tab:hover { background: var(--fill-soft); color: var(--ink); }
.s-lesson__tab:focus-visible { outline-offset: -3px; }
.s-lesson__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.s-lesson__tab .k-cover { flex: none; }
.s-lesson__tabtext { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.s-lesson__tabname { overflow: hidden; font-size: 15px; font-weight: 700; letter-spacing: -0.015em; text-overflow: ellipsis; white-space: nowrap; }
.s-lesson__tabgroup { font-size: 13px; opacity: .72; }
.s-lesson__panel { max-width: 960px; margin: 0 auto; }
.s-class__feed--auto { height: auto; min-height: 0; justify-content: flex-start; padding-top: 12px; padding-bottom: 24px; }
.s-class--sample .s-bubble { max-width: min(84%, 680px); }
.s-class--sample .s-bubble p + p { margin-top: 10px; }
.s-class--sample .s-bubble code { padding: 1px 5px; border-radius: 4px; background: var(--paper); font: 14px/1.4 var(--mono); }
.s-class--sample .s-msg--me .s-bubble code { background: #262624; }
.s-class__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.s-class__foot-meta { display: flex; align-items: center; gap: 16px; }
.s-lesson__panel:not([hidden]) .s-msg { animation: s-rise .55s var(--ease) both; }
.s-lesson__panel:not([hidden]) .s-msg--ai { animation-delay: .18s; }
@keyframes s-rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.s-lesson__panel:not([hidden]) .s-msg { animation: none; }
}
@media (max-width: 760px) {
	.s-lesson__tabs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-bottom: 16px; }
	.s-lesson__tab { min-height: 64px; padding: 10px 12px; gap: 10px; border-left: 0; border-top: 1px solid var(--line); }
	.s-lesson__tab:nth-child(-n+2) { border-top: 0; }
	.s-lesson__tab:nth-child(2n) { border-left: 1px solid var(--line); }
	.s-lesson__tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.s-lesson__tabname { font-size: 14px; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
	.s-lesson__tabgroup { font-size: 12px; }
	.s-class--sample .s-bubble { max-width: 92%; }
	.s-class__foot { padding: 14px 16px 16px; }
	.s-class__foot .k-btn { width: 100%; }
}

/* ask anything */
.s-ask__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.s-ask__head .k-lead { margin-top: 0; }
@media (max-width: 760px) {
	.s-ask__head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; }
}

/* lesson plan */
.s-plan__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 88px; align-items: center; }
.s-plan__text { order: 2; }
.s-plansheet { order: 1; padding: 28px 32px 12px; border: 1px solid var(--line); border-radius: var(--r-card); }
.s-plansheet__head { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.s-plansheet__who { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.s-plansheet__name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.s-plansheet__role { color: var(--text-3); font-size: 14px; }
.s-plansheet__row { display: flex; align-items: center; gap: 16px; min-height: 62px; border-bottom: 1px solid var(--line); color: var(--text-3); transition: color .5s; }
.s-plansheet__row:last-child { border-bottom: 0; }
.s-plansheet__tick { position: relative; display: grid; place-items: center; flex: none; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--text-2); font-size: 13px; font-weight: 700; transition: background-color .5s, border-color .5s, color .5s; }
.s-plansheet__tick .k-icon { position: absolute; opacity: 0; transform: scale(.5); transition: opacity .35s, transform .5s var(--ease); }
.s-plansheet__num { transition: opacity .25s; }
.s-plansheet__title { font-size: 17px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.s-plansheet__row.is-now { color: var(--ink); }
.s-plansheet__row.is-now .s-plansheet__tick { border-color: var(--ink); color: var(--ink); }
.s-plansheet__row.is-done { color: var(--ink); }
.s-plansheet__row.is-done .s-plansheet__tick { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.s-plansheet__row.is-done .s-plansheet__tick .k-icon { opacity: 1; transform: none; }
.s-plansheet__row.is-done .s-plansheet__num { opacity: 0; }
@media (max-width: 1000px) {
	.s-plan__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.s-plan__text, .s-plansheet { order: 0; }
}
@media (max-width: 760px) {
	.s-plansheet { padding: 20px 20px 6px; }
	.s-plansheet__title { font-size: 16px; }
}

/* price */
.s-price__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--line-strong); }
.s-price__pair--one { grid-template-columns: minmax(0, 1fr); }
.s-price__side { min-width: 0; padding: 56px 0 8px; }
.s-price__side--paid { padding-left: 64px; border-left: 1px solid var(--line-strong); transition: opacity .7s ease; }
.s-price__pair--one .s-price__side--paid { padding-left: 0; border-left: 0; }
.s-price__big { font-size: clamp(88px, 11vw, 160px); font-weight: 800; letter-spacing: -0.06em; line-height: .88; }
.s-price__label { margin-top: 18px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.s-pips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.s-pip { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 14px; color: var(--text-3); transition: background-color .45s, border-color .45s, color .45s; }
.s-pip .k-icon { width: 20px; height: 20px; }
.s-pip.is-on { background: var(--ink); border-color: var(--ink); color: var(--lime); }
.s-price__cta { margin-top: 32px; pointer-events: none; transition: opacity .5s ease .25s, transform .5s var(--ease) .25s; }
.s-motion .s-price__side--paid:not(.is-on) { opacity: .28; }
.s-motion .s-price__side--paid:not(.is-on) .s-price__cta { opacity: 0; transform: translateY(8px); }
.s-price__note { margin-top: 40px; }
@media (max-width: 760px) {
	.s-price__pair { grid-template-columns: minmax(0, 1fr); }
	.s-price__side { padding: 36px 0 4px; }
	.s-price__side--paid { margin-top: 36px; padding-left: 0; border-left: 0; border-top: 1px solid var(--line-strong); }
	.s-pip { width: 44px; height: 44px; }
	.s-price__cta { max-width: 100%; white-space: normal; text-align: center; }
	.s-price__note { margin-top: 28px; }
}

/* price: the real range across the catalog */
.s-range { margin-top: 72px; }
.s-range__lead { color: var(--text-2); font-size: 17px; }
.s-range__cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.s-range__cell { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; min-width: 0; padding: 28px 0 28px 32px; border-left: 1px solid var(--line); }
.s-range__cell:first-child { padding-left: 0; border-left: 0; }
.s-range__cell dt { color: var(--text-2); font-size: 15px; font-weight: 500; }
.s-range__cell dd { margin: 0; font-size: clamp(36px, 4vw, 56px); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.s-range__note { margin-top: 20px; }
@media (max-width: 760px) {
	.s-range { margin-top: 48px; }
	.s-range__lead { font-size: 16px; }
	.s-range__cells { grid-template-columns: minmax(0, 1fr); }
	.s-range__cell { flex-direction: row-reverse; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
	.s-range__cell:first-child { border-top: 0; }
	.s-range__cell dd { font-size: 34px; }
}

/* sample reviews */
.s-quotes__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 56px; }
.s-quotes__head .k-lead { margin-top: 0; }
.s-quotes__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.s-quote { display: flex; flex-direction: column; min-width: 0; padding-top: 24px; border-top: 2px solid var(--ink); }
.s-quote__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s-quote__stars { display: inline-flex; gap: 2px; color: var(--line-strong); }
.s-quote__stars .is-on { color: var(--ink); }
.s-quote__stars .k-icon { width: 16px; height: 16px; }
.s-quote__body { flex: 1; margin: 20px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.45; }
.s-quote__who { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; font-size: 15px; }
.s-quote__name { font-weight: 700; }
.s-quote__on { color: var(--text-2); }
@media (max-width: 1000px) {
	.s-quotes__list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 760px) {
	.s-quotes__head { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; }
	.s-quote__body { font-size: 17px; }
}

/* teach: one day of lessons */
.s-teach__head { margin-bottom: 40px; }
.s-day { overflow-x: clip; }
.s-day__axis { position: relative; height: 1px; margin: 104px 0 64px; background: #3A3A36; }
.s-day__event { position: absolute; left: var(--at); top: 0; width: 0; height: 0; }
.s-day__dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); }
.s-day__amount { position: absolute; left: 0; bottom: 22px; translate: -50% 0; color: var(--lime); font-size: clamp(22px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-day__tick { position: absolute; left: var(--at); top: 20px; translate: -50% 0; color: #8C8C84; font-size: 13px; white-space: nowrap; }
.s-day__tick--start { translate: 0 0; }
.s-day__tick--end { translate: -100% 0; }
.s-day__now { position: absolute; left: 0; top: -22px; width: 2px; height: 44px; margin-left: -1px; border-radius: 1px; background: var(--paper); opacity: 0; }
.s-motion .s-day:not(.is-play) .s-day__dot,
.s-motion .s-day:not(.is-play) .s-day__amount { opacity: 0; }
.s-day.is-play .s-day__now { animation: s-sweep 9s linear forwards; }
.s-day.is-play .s-day__dot,
.s-day.is-play .s-day__amount { animation: s-pop .6s var(--ease) both; animation-delay: var(--d); }
@keyframes s-sweep { 0% { left: 0; opacity: 1; } 96% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes s-pop { from { opacity: 0; transform: translateY(10px) scale(.6); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
	.s-day__axis { margin: 80px 0 56px; }
	.s-day__tick { font-size: 12px; }
	.s-day__amount { bottom: 18px; font-size: 18px; letter-spacing: -0.02em; }
}

/* closing band */
.s-close { padding: 144px 0; }
.s-close__in { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; }
.s-close .k-h1 { max-width: 880px; }
@media (max-width: 760px) {
	.s-close { padding: 80px 0; }
	.s-close__in { gap: 28px; }
	.s-close .k-btn { width: 100%; }
}

/* ================================================================== TUTORS */
.s-browse { padding: 56px 0 120px; }
.s-browse__title { margin-bottom: 32px; }
.s-browse__form { display: grid; grid-template-columns: minmax(0, 1fr) 200px 220px; grid-template-areas: "search level sort" "topics topics topics"; gap: 16px 12px; align-items: start; }
.s-search { grid-area: search; position: relative; min-width: 0; }
.s-search__input { height: 52px; padding: 0 56px 0 18px; border-radius: 14px; font-size: 16px; }
.s-search__input::-webkit-search-cancel-button { display: none; }
.s-search__go { position: absolute; right: 4px; top: 4px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); }
.s-search__go:hover { background: var(--fill); color: var(--ink); }
.s-search__go .k-icon { width: 18px; height: 18px; }
.s-browse__open { display: none; }
.s-browse__badge { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.s-filters__level { grid-area: level; }
.s-filters__sort { grid-area: sort; }
.s-filters__topics { grid-area: topics; }
.s-browse__status { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 24px; margin: 40px 0 20px; }
.s-browse__count { color: var(--text-2); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.s-browse__clear { font-size: 15px; }
.s-browse__results { transition: opacity .2s; }
.s-browse__results.is-loading { opacity: .45; }
.s-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 56px; }
.s-pager__at { color: var(--text-2); font-size: 14px; }
@media (min-width: 761px) {
	.s-filters, .s-filters__body { display: contents; }
	.s-filters__top, .s-filters__foot, .s-filters__scrim { display: none; }
	.s-filters__label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 760px) {
	.s-browse { padding: 32px 0 64px; }
	.s-browse__title { margin-bottom: 20px; }
	.s-browse__form { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "search open"; gap: 8px; }
	.s-search__input { height: 52px; }
	.s-browse__open { display: inline-flex; grid-area: open; height: 52px; border-radius: 14px; }
	.s-filters { position: fixed; left: 0; right: 0; bottom: 0; z-index: 130; display: flex; flex-direction: column; max-height: 88dvh; background: var(--paper); border-top: 1px solid var(--line); border-radius: 20px 20px 0 0; transform: translateY(100%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s linear .3s; }
	.s-filters:target, .s-filters.is-open { transform: none; visibility: visible; transition: transform .3s var(--ease); }
	.s-filters__top { display: flex; align-items: center; justify-content: space-between; flex: none; height: 60px; padding: 0 10px 0 20px; border-bottom: 1px solid var(--line); }
	.s-filters__title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
	.s-filters__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; color: var(--ink); }
	.s-filters__x:hover { background: var(--fill); }
	.s-filters__x .k-icon { width: 20px; height: 20px; }
	.s-filters__body { display: flex; flex-direction: column; gap: 24px; padding: 20px; overflow-y: auto; overscroll-behavior: contain; }
	.s-filters__topics .k-label { display: block; margin-bottom: 10px; font-size: 14px; }
	.s-filters__foot { flex: none; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
	.s-filters__scrim { position: fixed; inset: 0; z-index: 129; background: rgba(10, 10, 10, .45); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
	.s-filters:target ~ .s-filters__scrim, .s-filters.is-open ~ .s-filters__scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
	.s-browse__status { margin: 24px 0 16px; }
	.s-pager { gap: 8px; margin-top: 36px; }
	.s-pager .k-btn span { display: none; }
	.s-pager .k-btn { width: 44px; padding: 0; }
}

/* =================================================================== TUTOR */
.s-tutor { padding: 24px 0 120px; }
.s-tutor__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; grid-template-rows: auto auto 1fr; grid-template-areas: "back side" "head side" "main side"; column-gap: 88px; align-items: start; }
.s-tutor__back { grid-area: back; display: inline-flex; align-items: center; gap: 4px; width: fit-content; height: 44px; margin-left: -4px; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; }
.s-tutor__back:hover { color: var(--ink); }
.s-tutor__head { grid-area: head; min-width: 0; padding: 20px 0 48px; border-bottom: 1px solid var(--line); }
.s-tutor__preview { margin-bottom: 24px; }
.s-tutor__name { font-size: clamp(40px, 5vw, 72px); }
.s-tutor__tagline { max-width: 620px; }
.s-tutor__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.s-tutor__teacher { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.s-tutor__teacher:hover > span:last-child { text-decoration: underline; text-underline-offset: 3px; }
.s-tutor__topic { color: var(--text-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.s-tutor__topic:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.s-tutor__next-inline { display: none; }
.s-tutor__side { grid-area: side; position: sticky; top: calc(var(--top) + var(--header-h) + 24px); display: flex; flex-direction: column; gap: 16px; padding-top: 44px; }
.s-tutor__cover { aspect-ratio: 5 / 4; }
.s-book { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); }
.s-book__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.s-book__next { margin-top: 16px; color: var(--text-2); font-size: 14px; line-height: 1.5; }
.s-book__msg { margin-top: 16px; }
.s-book__msg .k-alert { flex-wrap: wrap; }
.s-book__msg .k-btn { margin-top: 10px; }
.s-tutor__main { grid-area: main; min-width: 0; }

.s-block { padding: 56px 0; border-bottom: 1px solid var(--line); }
.s-block:last-child { border-bottom: 0; padding-bottom: 0; }
.s-block__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 24px; }
.s-block__title { font-size: 26px; letter-spacing: -0.03em; }
.s-block > .s-block__title { margin-bottom: 24px; }

.s-outcomes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 32px; }
.s-outcomes__item { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.45; }
.s-outcomes__item .k-icon { box-sizing: content-box; flex: none; width: 14px; height: 14px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--lime); color: var(--ink); }

.s-lessons { border-top: 1px solid var(--line); }
.s-lessons__row { display: flex; align-items: center; gap: 20px; width: 100%; min-height: 76px; margin: 0; padding: 16px 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: background-color .15s; }
.s-lessons__row:hover:not(:disabled) { background: var(--fill-soft); }
.s-lessons__row:focus-visible { outline-offset: -2px; }
.s-lessons__row:disabled { opacity: .5; cursor: not-allowed; }
.s-lessons__num { flex: none; width: 28px; color: var(--text-3); font-size: 15px; font-weight: 700; }
.s-lessons__text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.s-lessons__title { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }
.s-lessons__goal { color: var(--text-2); font-size: 15px; line-height: 1.45; }
.s-lessons__go { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--text-3); font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .15s, color .15s; }
.s-lessons__row:hover .s-lessons__go, .s-lessons__row:focus-visible .s-lessons__go { opacity: 1; color: var(--ink); }

.s-starters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.s-starters__item { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); font: 500 16px/1.4 var(--font); letter-spacing: -0.01em; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .15s; }
.s-starters__item:hover:not(:disabled) { border-color: var(--ink); }
.s-starters__item:disabled { opacity: .5; cursor: not-allowed; }
.s-starters__item .k-icon { color: var(--text-3); transition: color .15s, transform .2s var(--ease); }
.s-starters__item:hover .k-icon { color: var(--ink); transform: translateX(2px); }

.s-reviews__item { padding: 20px 0; border-top: 1px solid var(--line); }
.s-reviews__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.s-reviews__name { font-size: 15px; font-weight: 600; }
.s-reviews__stars { display: inline-flex; gap: 2px; color: var(--line-strong); }
.s-reviews__stars .is-on { color: var(--ink); }
.s-reviews__stars .k-icon { width: 14px; height: 14px; }
.s-reviews__when { margin-left: auto; }
.s-reviews__body { margin-top: 10px; font-size: 16px; line-height: 1.55; }

.s-teacherbox__row { display: flex; align-items: center; gap: 20px; }
.s-teacherbox__name { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; }
.s-teacherbox__headline { margin-top: 4px; color: var(--text-2); font-size: 16px; }
.s-teacherbox__bio { max-width: 640px; margin-top: 20px; font-size: 17px; line-height: 1.6; }
.s-teacherbox__link { margin-top: 24px; }

@media (hover: none) {
	.s-lessons__go { opacity: 1; }
	.s-lessons__go span { display: none; }
}
@media (max-width: 1000px) {
	.s-tutor { padding: 8px 0 72px; }
	.s-tutor__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "back" "cover" "head" "main"; }
	.s-tutor__side { display: contents; }
	.s-tutor__cover { grid-area: cover; aspect-ratio: 16 / 10; margin-top: 4px; }
	.s-tutor__head { padding: 28px 0 36px; }
	.s-tutor__next-inline { display: block; margin-top: 24px; color: var(--text-2); font-size: 15px; line-height: 1.5; }
	.s-book { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line); border-radius: 0; }
	.s-book__price { flex: none; }
	.s-book .k-price--lg { font-size: 24px; }
	.s-book .k-price--lg .k-price__unit { font-size: 13px; }
	.s-book__actions { flex: 1; min-width: 0; flex-direction: row; margin-top: 0; }
	.s-book__start { flex: 1; min-width: 0; }
	.s-book__start > span { overflow: hidden; text-overflow: ellipsis; }
	.s-book__edit { flex: none; width: auto; padding: 0 16px; }
	.s-book__next { display: none; }
	.s-book__msg { order: -1; flex-basis: 100%; margin-top: 0; }
	body:has(.s-book) .k-footer { padding-bottom: calc(28px + 84px + env(safe-area-inset-bottom)); }
}
@media (max-width: 760px) {
	.s-block { padding: 40px 0; }
	.s-block__title { font-size: 23px; }
	.s-outcomes, .s-starters { grid-template-columns: minmax(0, 1fr); }
	.s-outcomes { gap: 16px; }
	.s-outcomes__item { font-size: 16px; }
	.s-lessons__row { gap: 14px; padding: 14px 4px; min-height: 68px; }
	.s-lessons__num { width: 22px; }
	.s-lessons__title { font-size: 17px; }
	.s-tutor__meta { gap: 8px 20px; margin-top: 20px; }
	.s-teacherbox__row { gap: 16px; }
	.s-book__edit span { font-size: 15px; }
}

/* ================================================================= TEACHER */
.s-teacher { padding: 72px 0 96px; }
.s-teacher__head { display: flex; align-items: flex-start; gap: 36px; }
.s-teacher__head .k-avatar { --av: 120px; letter-spacing: -0.04em; }
.s-teacher__head .k-lead { margin-top: 16px; }
.s-teacher__role { margin-bottom: 12px; color: var(--text-3); font-size: 15px; font-weight: 600; }
.s-teacher__about { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 64px; margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.s-teacher__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.s-teacher__tags li { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.s-teacher__tutors-title { margin-bottom: 40px; }
@media (max-width: 760px) {
	.s-teacher { padding: 40px 0 56px; }
	.s-teacher__head { flex-direction: column; gap: 24px; }
	.s-teacher__head .k-avatar { --av: 88px; }
	.s-teacher__about { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 40px; padding-top: 32px; }
	.s-teacher__tutors-title { margin-bottom: 28px; }
}

/* =================================================================== TEACH */
.s-pagehero { padding: 104px 0 112px; }
.s-pagehero__title { max-width: 1000px; font-size: clamp(44px, 6.6vw, 98px); }
.s-pagehero .k-lead { margin-top: 28px; }
.s-steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; }
.s-steps__item { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.s-steps__num { margin-bottom: 20px; font-size: 72px; font-weight: 800; letter-spacing: -0.05em; line-height: .9; }
.s-steps__item .k-small { font-size: 17px; line-height: 1.55; }
.s-apply__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 88px; align-items: start; }
.s-apply__panel { max-width: 580px; min-width: 0; }
.s-state { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.s-state__title { font-size: 30px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.s-state__text { max-width: 480px; color: var(--text-2); font-size: 17px; line-height: 1.55; }
.s-state .k-badge { margin-bottom: 4px; }
.s-state .k-actions { margin-top: 16px; }
.s-form__submit { align-self: flex-start; margin-top: 8px; }
.s-form .k-textarea { min-height: 140px; }
@media (max-width: 1000px) {
	.s-apply__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 760px) {
	.s-pagehero { padding: 48px 0 64px; }
	.s-pagehero .k-actions .k-btn { width: 100%; }
	.s-steps__list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.s-steps__num { margin-bottom: 8px; font-size: 56px; }
	.s-form__submit { align-self: stretch; }
	.s-state__title { font-size: 26px; }
	.s-state .k-actions { width: 100%; }
	.s-state .k-actions .k-btn { flex: 1; }
}

/* ============================================================ HOW IT WORKS */
.s-howhero { padding-bottom: 72px; }
.s-how { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 88px; align-items: start; padding-bottom: 120px; }
.s-how__toc { position: sticky; top: calc(var(--top) + var(--header-h) + 32px); padding-top: 8px; }
.s-how__toc-title { margin-bottom: 12px; color: var(--text-3); font-size: 13px; font-weight: 600; }
.s-how__toc-list { border-left: 1px solid var(--line); }
.s-how__toc-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin-left: -1px; padding: 0 0 0 16px; border-left: 2px solid transparent; color: var(--text-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: color .15s, border-color .15s; }
.s-how__toc-link:hover { color: var(--ink); }
.s-how__toc-link.is-current { border-left-color: var(--ink); color: var(--ink); font-weight: 600; }
.s-how__toc-chev { display: none; }
.s-how__main { min-width: 0; max-width: 760px; }
.s-how__sec { padding: 56px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--top) + var(--header-h) + 16px); }
.s-how__sec:first-child { padding-top: 0; border-top: 0; }
.s-how__sec > .k-h2 { margin-bottom: 24px; }
.s-how__p { color: var(--text-2); font-size: 17px; line-height: 1.6; }
.s-how__p + .s-how__p { margin-top: 14px; }
.s-how__p--lg { color: var(--ink); font-size: 20px; line-height: 1.5; letter-spacing: -0.01em; }
.s-how__steps { counter-reset: none; }
.s-how__step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.s-how__step:first-child { border-top: 0; padding-top: 4px; }
.s-how__step .k-h3 { margin-bottom: 6px; }
.s-how__num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 17px; font-weight: 800; }
.s-how__steps--compact { margin-top: 28px; }
.s-how__note { display: flex; align-items: flex-start; gap: 14px; margin-top: 28px; padding: 20px 22px; border-radius: 16px; background: var(--lime); color: var(--ink); font-size: 17px; line-height: 1.5; }
.s-how__note .k-icon { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.s-how__facts { margin-top: 28px; border-top: 1px solid var(--line-strong); }
.s-how__fact { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.s-how__fact dt { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.s-how__fact dd { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.5; }
.s-how__list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.s-how__list li { position: relative; padding-left: 24px; color: var(--ink); font-size: 18px; line-height: 1.5; }
.s-how__list li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.s-faq { border-top: 1px solid var(--line-strong); }
.s-faq__item { border-bottom: 1px solid var(--line); }
.s-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; cursor: pointer; list-style: none; }
.s-faq__q::-webkit-details-marker { display: none; }
.s-faq__q:hover { color: var(--text-2); }
.s-faq__q:focus-visible { outline-offset: 4px; border-radius: 4px; }
.s-faq__icon { flex: none; width: 18px; height: 18px; color: var(--text-3); transition: transform .25s var(--ease); }
.s-faq__item[open] .s-faq__icon { transform: rotate(45deg); color: var(--ink); }
.s-faq__a { max-width: 680px; padding: 0 40px 22px 0; color: var(--text-2); font-size: 17px; line-height: 1.6; }
.s-close--line { border-top: 1px solid var(--line); }
.s-close__actions { justify-content: center; margin-top: 0; }
@media (max-width: 1000px) {
	.s-how { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.s-how__toc { position: static; padding-top: 0; }
	.s-how__toc-list { border-left: 0; border-top: 1px solid var(--line); }
	.s-how__toc-link { min-height: 52px; margin-left: 0; padding: 0; border-left: 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; }
	.s-how__toc-link.is-current { font-weight: 500; }
	.s-how__toc-chev { display: block; width: 16px; height: 16px; color: var(--text-3); }
}
@media (max-width: 760px) {
	.s-howhero { padding-bottom: 40px; }
	.s-how { padding-bottom: 64px; }
	.s-how__sec { padding: 40px 0; }
	.s-how__sec > .k-h2 { margin-bottom: 18px; }
	.s-how__p--lg { font-size: 18px; }
	.s-how__step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 20px 0; }
	.s-how__num { width: 36px; height: 36px; font-size: 15px; }
	.s-how__fact { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 0; }
	.s-how__list li { font-size: 16px; }
	.s-faq__q { font-size: 17px; }
	.s-faq__a { padding-right: 0; font-size: 16px; }
	.s-close__actions { width: 100%; }
	.s-close__actions .k-btn { flex: 1; }
}

/* ==================================================================== AUTH */
.s-auth { display: flex; justify-content: center; padding: 96px var(--gutter) 128px; }
.s-auth__box { width: 100%; max-width: 420px; }
.s-auth__title { font-size: clamp(36px, 4vw, 52px); }
.s-auth__sub { margin-top: 12px; color: var(--text-2); font-size: 17px; line-height: 1.5; }
.s-auth .k-form { margin-top: 36px; }
.s-auth .s-form__submit { align-self: stretch; margin-top: 6px; }
.s-auth__alt { margin-top: 28px; color: var(--text-2); font-size: 15px; }
.s-seg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px; min-inline-size: 0; margin: 0; padding: 4px; border: 0; border-radius: 14px; background: var(--canvas); }
.s-seg__opt { position: relative; display: flex; }
.s-seg__opt input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.s-seg__opt span { display: flex; align-items: center; justify-content: center; flex: 1; height: 44px; border: 1px solid transparent; border-radius: 10px; color: var(--text-2); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.s-seg__opt span:hover { color: var(--ink); }
.s-seg__opt input:checked + span { background: var(--paper); border-color: var(--line); color: var(--ink); }
.s-seg__opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.s-seg__opt input:disabled + span { opacity: .4; cursor: not-allowed; }
@media (max-width: 760px) {
	.s-auth { padding: 40px var(--gutter) 64px; }
	.s-auth .k-form { margin-top: 28px; }
}
