@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url("/local/templates/totalclass/assets/fonts/Onest-Regular.ttf") format("truetype"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url("/local/templates/totalclass/assets/fonts/Onest-Medium.ttf") format("truetype"); }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url("/local/templates/totalclass/assets/fonts/Onest-SemiBold.ttf") format("truetype"); }
.tc-homepage .main { padding-top: 0; }
.tc-hero { position: relative; isolation: isolate; padding: 158px 0 146px; background: #001827; color: #fff; font-family: "Onest", sans-serif; }
.tc-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 38% 52% at 79% 40%, rgba(0, 160, 255, .65), transparent 100%); }
.tc-hero__container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.tc-hero__layout { display: grid; grid-template-columns: minmax(0, 1.64fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "intro photo" "actions photo"; column-gap: 32px; row-gap: 46px; align-items: start; }
.tc-hero__intro { grid-area: intro; min-width: 0; }
.tc-hero__eyebrow { margin: 0 0 46px; color: #c5ccd0; font-size: 16px; font-weight: 500; line-height: 1.2; text-transform: uppercase; overflow-wrap: anywhere; }
.tc-hero__title { margin: 0; font-size: 72px; font-weight: 600; line-height: 1; letter-spacing: -.025em; overflow-wrap: anywhere; }
.tc-hero__description { max-width: 576px; margin: 12px 0 0; font-size: 20px; line-height: 1.2; color: #c5ccd0; overflow-wrap: anywhere; }
.tc-hero__photo { grid-area: photo; min-width: 0; width: 100%; position: relative; margin-top: 20px; }
.tc-hero__image { width: 100%; height: auto; aspect-ratio: 443 / 433; display: block; object-fit: cover; border-radius: 25% 12px 25% 12px; }
.tc-hero__cursor { position: absolute; pointer-events: none; width: 120px; height: auto; left: -96px; top: 49%; }
.tc-hero__cursor--mobile { display: none; }
.tc-hero__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; min-width: 0; position: relative; z-index: 1; }
.tc-hero__button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 18px 28px; min-height: 64px; max-width: 100%; border-radius: 40px; background: #00a3ff; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; transition: background-color .2s; }
.tc-hero__button span { min-width: 0; overflow-wrap: anywhere; }
.tc-hero__button svg { flex: 0 0 24px; }
.tc-hero__button:hover { background: #1688cf; }
.tc-hero__button:focus-visible { outline: 3px solid #fff; outline-offset: 5px; }
.tc-hero__details { display: grid; gap: 28px; margin-top: 28px; }
.tc-hero__teachers { display: flex; align-items: center; gap: 16px; }
.tc-hero__avatars { display: flex; flex: 0 0 96px; }
.tc-hero__avatars img { width: 42px; height: 42px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; display: block; }
.tc-hero__avatars img + img { margin-left: -15px; }
.tc-hero__teachers-copy { min-width: 0; }
.tc-hero__teachers-title { margin: 0 0 2px; font-size: 18px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.tc-hero__teachers-description { margin: 0; color: #c5ccd0; font-size: 16px; line-height: 1.2; overflow-wrap: anywhere; }
.tc-hero__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.08); }
.tc-hero__stat { display: flex; flex-direction: column; justify-content: flex-start; min-width: 0; min-height: 124px; padding: 28px 32px 22px; }
.tc-hero__stat + .tc-hero__stat { border-left: 1px solid rgba(255,255,255,.2); }
.tc-hero__stat dd { order: -1; margin: 0; font-size: 26px; font-weight: 600; line-height: 1.2; overflow-wrap: anywhere; }
.tc-hero__stat dt { margin-top: 2px; font-size: 18px; line-height: 1.2; color: #dce0e3; overflow-wrap: anywhere; }
@media (max-width: 1239px) {
    .tc-hero { padding-top: 100px; padding-bottom: 100px; }
    .tc-hero__title { font-size: clamp(42px, 5.8vw, 72px); }
    .tc-hero__layout { column-gap: 28px; }
    .tc-hero__stat { padding: 24px; }
    .tc-hero__cursor { width: 96px; left: -72px; }
}
@media (max-width: 999px) {
    .tc-hero { padding: 40px 0 84px; }
    .tc-hero::before { background: radial-gradient(ellipse 85% 40% at 78% 45%, rgba(0, 160, 255, .52), transparent 100%); }
    .tc-hero__container { max-width: 720px; padding: 0 16px; }
    .tc-hero__layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: "intro" "photo" "actions"; gap: 0; }
    .tc-hero__intro { position: relative; }
    .tc-hero__eyebrow { margin-bottom: 22px; font-size: 14px; }
    .tc-hero__heading { position: relative; display: flow-root; max-width: 580px; font-size: clamp(32px, 9.6vw, 40px); }
    /* Reserve space only beside the lower title lines, where the design places the cursor. */
    .tc-hero__heading::before { content: ""; float: right; width: 116px; height: 3em; shape-outside: inset(calc(1em + 1px) 0 0); }
    .tc-hero__title { max-width: calc(100% - 40px); font-size: inherit; }
    .tc-hero__description { margin-top: 16px; font-size: 18px; }
    .tc-hero__photo { width: 71%; max-width: 330px; justify-self: end; margin-top: 8px; }
    .tc-hero__cursor--desktop { display: none; }
    .tc-hero__cursor--mobile { display: block; width: 76px; left: auto; right: 32px; top: calc(1em - 8px); }
    .tc-hero__actions { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: -10px; }
    .tc-hero__button { min-height: 52px; padding: 12px 20px; gap: 8px; font-size: 14px; }
    .tc-hero__button svg { width: 20px; height: 20px; flex-basis: 20px; }
    .tc-hero__details { margin-top: 64px; gap: 24px; }
    .tc-hero__teachers { align-items: flex-start; }
    .tc-hero__teachers-title { font-size: 16px; }
    .tc-hero__teachers-description { font-size: 18px; }
    .tc-hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tc-hero__stat { padding: 28px 32px; }
    .tc-hero__stat + .tc-hero__stat { border-left: none; }
    .tc-hero__stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.2); }
    .tc-hero__stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
    .tc-hero__stat dd { font-size: 22px; }
}
@media (max-width: 479px) {
    .tc-hero { padding-top: 34px; }
    .tc-hero__stat { padding: 28px 24px; }
}
@media (max-width: 359px) {
    .tc-hero__title { max-width: 100%; }
    .tc-hero__heading::before { width: 88px; }
    .tc-hero__cursor--mobile { width: 64px; right: 16px; }
    .tc-hero__stat { padding: 24px 16px; }
    .tc-hero__stat dd { font-size: 20px; }
    .tc-hero__stat dt { font-size: 16px; }
}
