@font-face {
    font-family: "Hero";
    src: url("/static/fonts/Hero.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Soyuz Grotesk";
    src: url("/static/fonts/SoyuzGroteskBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root {
    --orange: #ff5a18;
    --orange-light: #ff7a29;
    --mint: #19d6a4;
    --mint-pale: #c9fff0;
    --black: #252525;
    --gray: #f3f3f3;
    --line: #d1d1d1;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.home-page {
    margin: 0;
    min-width: 320px;
    color: #101010;
    background: #ececec;
    font-family: "Hero", Arial, sans-serif;
    overflow-x: hidden;
}

body.home-page a {
    color: inherit;
}

body.home-page img {
    display: block;
    max-width: 100%;
}

.site-shell {
    width: min(100%, 1440px);
    margin: 0 auto;
    background: var(--white);
    overflow: hidden;
}

.section-title {
    margin: 0;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: clamp(48px, 5.1vw, 74px);
    line-height: 0.96;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-align: center;
}


/* HERO */

.hero {
    position: relative;
    height: 900px;
    color: var(--white);
    overflow: hidden;
    border-radius: 0 0 44px 44px;
    background:
        linear-gradient(135deg, var(--orange-light) 0%, var(--orange) 52%, #ff4617 100%);
}

.hero-nav {
    position: absolute;
    z-index: 20;
    top: 38px;
    right: 74px;
    display: flex;
    gap: 44px;
    align-items: center;
    font-size: 25px;
}

.hero-nav a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.hero-nav a:hover {
    opacity: 0.8;
    border-color: currentColor;
}

.hero__left {
    position: relative;
    z-index: 8;
    width: 680px;
    padding: 72px 0 0 58px;
}

.hero__logo-word {
    margin: 0;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 154px;
    line-height: 0.78;
    letter-spacing: -0.06em;
    font-weight: 700;
}

.hero__subtitle {
    margin-top: 74px;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 69px;
    line-height: 0.95;
    letter-spacing: -0.025em;
}

.hero__description {
    margin: 24px 0 0;
    max-width: 520px;
    font-size: 26px;
    line-height: 1.28;
}

.hero__cta {
    position: absolute;
    left: 30px;
    top: 620px;
    z-index: 12;
    width: 560px;
    min-height: 118px;
    padding: 18px 28px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--orange);
    background: var(--white);
    border-radius: 22px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

.hero__cta:hover {
    transform: translateY(-4px);
}

.hero__cta span {
    font-size: 29px;
    line-height: 1.05;
}

.hero__cta strong {
    margin-top: 5px;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 40px;
    line-height: 0.9;
}

.hero__percent {
    position: absolute;
    z-index: 8;
    top: 90px;
    right: 58px;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 154px;
    line-height: 0.8;
    letter-spacing: -0.04em;
}

.hero__student {
    position: absolute;
    z-index: 6;
    left: 49%;
    bottom: -34px;
    width: 680px;
    transform: translateX(-50%);
}

.hero__shape {
    position: absolute;
    pointer-events: none;
}

.hero__shape--green {
    left: -55px;
    bottom: -165px;
    width: 760px;
    height: 340px;
    border-radius: 50%;
    background: rgba(149, 255, 226, 0.68);
}

.hero__shape--orange {
    right: -180px;
    bottom: -210px;
    width: 580px;
    height: 430px;
    border-radius: 50%;
    background: #ff8d20;
}


/* PROGRESS INTRO */

.progress-intro {
    position: relative;
    height: 390px;
    background: var(--white);
    overflow: hidden;
}

.progress-intro__paint {
    position: absolute;
    left: -135px;
    top: 0;
    width: 820px;
    height: 300px;
    border-radius: 0 180px 180px 0;
    background:
        radial-gradient(circle at 20% 35%, rgba(255,255,255,.75) 0 12%, transparent 13%),
        linear-gradient(135deg, #cafff1, #a3f3dc);
    transform: rotate(-3deg);
}

.progress-intro__text {
    position: absolute;
    z-index: 4;
    left: 60px;
    top: 70px;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 59px;
    line-height: 0.96;
    letter-spacing: -0.018em;
    text-decoration: none;
}

.progress-intro__text span {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.progress-intro__student {
    position: absolute;
    z-index: 5;
    right: 115px;
    top: -62px;
    width: 440px;
}


/* BENEFITS */

.benefits {
    padding: 44px 30px 70px;
    background: var(--gray);
    border-radius: 48px 48px 0 0;
}

.benefits-main {
    position: relative;
    height: 580px;
    margin-top: 46px;
    padding: 34px 70px;
    overflow: hidden;
    border: 7px solid var(--mint);
    border-radius: 38px;
    background: var(--white);
    text-align: center;
}

.benefits-main__eyebrow {
    margin: 0;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 48px;
    line-height: 1;
    text-transform: uppercase;
}

.benefits-main__topics {
    margin: 78px 0 0;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 56px;
    line-height: 1.03;
}

.benefits-main__bottom {
    margin: 72px 0 0;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 40px;
    line-height: 1;
    text-transform: uppercase;
}

.benefits-main__hand {
    position: absolute;
    right: -6px;
    bottom: -14px;
    width: 230px;
    transform: rotate(-13deg);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px;
    margin-top: 68px;
}

.benefit-card {
    position: relative;
    height: 435px;
    padding: 40px 34px 24px;
    overflow: hidden;
    border-radius: 32px;
    background: var(--white);
    text-align: center;
}

.benefit-card--black {
    color: var(--white);
    background: #050505;
}

.benefit-card h3 {
    position: relative;
    z-index: 4;
    margin: 0;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 29px;
    line-height: 1.05;
    text-transform: uppercase;
}

.benefit-card p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    margin: 0;
    font-size: 24px;
}

.benefit-card__folders {
    width: 280px;
    margin: 38px auto 0;
}

.benefit-card__money {
    width: 285px;
    margin: 35px auto 0;
}

.benefit-card__wifi {
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 310px;
    transform: translateX(-50%);
}

.benefit-card__earth {
    position: absolute;
    right: -5px;
    top: 55px;
    width: 100px;
    z-index: 3;
}

.progress-card {
    position: relative;
    min-height: 470px;
    margin-top: 44px;
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: center;
    border-radius: 34px;
    background: var(--white);
    overflow: hidden;
}

.progress-card__surf {
    width: 420px;
    align-self: end;
}

.progress-card__right {
    padding: 45px 38px 28px 10px;
    text-align: center;
}

.progress-card__right p {
    margin: 0 0 52px;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 33px;
    line-height: 1;
    text-transform: uppercase;
}

.progress-card__visual {
    width: 100%;
    display: flex;
    justify-content: center;
}

.progress-card__visual img {
    width: 770px;
}


/* ROADMAP */

.roadmap {
    padding: 72px 34px 70px;
    background: var(--white);
}

.roadmap__title {
    margin-bottom: 54px;
}

.roadmap-table {
    display: grid;
    grid-template-columns: 1.15fr 1fr 2.25fr 1.3fr;
    gap: 18px 20px;
    align-items: stretch;
}

.roadmap-table__head,
.roadmap-table__cell {
    border: 2px solid #c9c9c9;
    border-radius: 28px;
    text-align: center;
}

.roadmap-table__head {
    padding: 17px 16px 13px;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 21px;
    line-height: 1;
    text-transform: uppercase;
}

.roadmap-table__head--green,
.roadmap-table__cell--green {
    border-color: var(--mint);
}

.roadmap-table__cell {
    min-height: 136px;
    padding: 21px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 18px;
    line-height: 1.26;
}

.roadmap-table__cell strong {
    display: block;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
}

.roadmap-table__cell span {
    display: block;
    margin-top: 8px;
}


/* FAQ */

.faq {
    position: relative;
    min-height: 900px;
    padding: 62px 60px 58px;
    color: var(--white);
    background: var(--black);
    border-radius: 45px;
}

.faq__hand {
    position: absolute;
    z-index: 3;
    left: -22px;
    top: -84px;
    width: 210px;
}

.faq h2 {
    margin: 0 0 42px;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 61px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.faq__list {
    display: grid;
    gap: 29px;
}

.faq__list article {
    max-width: 1200px;
}

.faq__list h3 {
    margin: 0 0 8px;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 31px;
    line-height: 1;
}

.faq__list p {
    margin: 0;
    font-size: 24px;
    line-height: 1.28;
}


/* CATALOG */

.catalog {
    min-height: 2500px;
    padding: 110px 70px 105px;
    background: var(--white);
}

.catalog__intro {
    margin: 0;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 32px;
    line-height: 1.03;
    text-align: center;
    text-transform: uppercase;
}

.catalog__title {
    margin-top: 86px;
}

.catalog-part {
    margin-top: 42px;
}

.catalog-part--second {
    margin-top: 88px;
}

.catalog-part > h3 {
    margin: 0 0 34px;
    color: #ff3d16;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 49px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.course-grid {
    display: grid;
    justify-content: center;
}

.course-grid--first {
    grid-template-columns: repeat(4, 245px);
    gap: 42px 58px;
}

.course-grid--second {
    grid-template-columns: repeat(4, 245px);
    gap: 45px 58px;
}

.course-card {
    position: relative;
    display: block;
    text-decoration: none;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.course-card:hover {
    transform: translateY(-8px);
    filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.1));
}

.course-card > img:first-child {
    width: 100%;
}

.course-card__hand {
    position: absolute;
    right: -70px;
    bottom: -72px;
    width: 150px;
    transform: rotate(12deg);
    pointer-events: none;
}

.course-card__cursor {
    position: absolute;
    right: -85px;
    bottom: -60px;
    width: 140px;
    pointer-events: none;
}


/* CONTACTS */

.contacts {
    min-height: 410px;
    padding: 52px 88px 55px;
    color: var(--white);
    background: var(--black);
    border-radius: 45px 45px 0 0;
}

.contacts__heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 28px;
}

.contacts__heading span {
    height: 5px;
    background: var(--white);
}

.contacts__heading h2 {
    margin: 0;
    font-family: "Soyuz Grotesk", Arial, sans-serif;
    font-size: 51px;
    line-height: 1;
    text-transform: uppercase;
}

.contacts__list {
    width: 680px;
    margin-top: 50px;
    display: grid;
    gap: 19px;
}

.contact-link {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 24px;
    align-items: center;
    text-decoration: none;
}

.contact-link__network,
.contact-link__button {
    min-height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mint);
    border-radius: 30px;
    font-size: 21px;
}

.contact-link__button {
    justify-content: flex-start;
    padding: 0 34px;
}

.scroll-top {
    position: fixed;
    z-index: 50;
    right: 25px;
    bottom: 25px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white) !important;
    background: var(--black);
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* TABLET */

@media (max-width: 1100px) {
    .hero {
        height: 760px;
    }

    .hero__left {
        width: 54%;
        padding-left: 35px;
    }

    .hero__logo-word,
    .hero__percent {
        font-size: 112px;
    }

    .hero__subtitle {
        font-size: 54px;
    }

    .hero__description {
        font-size: 21px;
    }

    .hero__cta {
        top: 530px;
        width: 430px;
        min-height: 95px;
    }

    .hero__student {
        width: 560px;
    }

    .hero-nav {
        right: 35px;
        gap: 26px;
        font-size: 20px;
    }

    .progress-intro__text {
        font-size: 47px;
    }

    .progress-intro__student {
        right: 30px;
        width: 390px;
    }

    .benefits-main__topics {
        font-size: 45px;
    }

    .benefit-grid {
        gap: 20px;
    }

    .benefit-card {
        height: 380px;
    }

    .roadmap-table {
        grid-template-columns: 1fr 1fr;
    }

    .roadmap-table__head {
        display: none;
    }

    .course-grid--first,
    .course-grid--second {
        grid-template-columns: repeat(3, 220px);
    }
}


/* MOBILE */

@media (max-width: 720px) {
    body.home-page {
        background: var(--white);
    }

    .site-shell {
        width: 100%;
    }

    .section-title {
        font-size: 38px;
    }

    .hero {
        height: 700px;
        border-radius: 0 0 28px 28px;
    }

    .hero-nav {
        top: 18px;
        right: 18px;
        gap: 18px;
        font-size: 15px;
    }

    .hero__left {
        width: 100%;
        padding: 56px 18px 0;
    }

    .hero__logo-word {
        font-size: 76px;
    }

    .hero__percent {
        top: 80px;
        right: 16px;
        font-size: 67px;
    }

    .hero__subtitle {
        margin-top: 50px;
        font-size: 38px;
    }

    .hero__description {
        margin-top: 15px;
        font-size: 15px;
    }

    .hero__student {
        left: 58%;
        bottom: 3px;
        width: 390px;
    }

    .hero__cta {
        left: 10px;
        top: 520px;
        width: 280px;
        min-height: 80px;
        padding: 12px 16px;
        border-radius: 13px;
    }

    .hero__cta span {
        font-size: 17px;
    }

    .hero__cta strong {
        font-size: 25px;
    }

    .progress-intro {
        height: 280px;
    }

    .progress-intro__paint {
        left: -160px;
        width: 540px;
        height: 230px;
    }

    .progress-intro__text {
        left: 18px;
        top: 52px;
        font-size: 31px;
    }

    .progress-intro__student {
        right: -18px;
        top: 12px;
        width: 210px;
    }

    .benefits {
        padding: 30px 10px 40px;
        border-radius: 26px 26px 0 0;
    }

    .benefits-main {
        height: 420px;
        margin-top: 28px;
        padding: 24px 16px;
        border-width: 4px;
        border-radius: 19px;
    }

    .benefits-main__eyebrow {
        font-size: 24px;
    }

    .benefits-main__topics {
        margin-top: 56px;
        font-size: 31px;
    }

    .benefits-main__bottom {
        margin-top: 52px;
        font-size: 23px;
    }

    .benefits-main__hand {
        width: 130px;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 28px;
    }

    .benefit-card {
        height: 300px;
    }

    .progress-card {
        min-height: 450px;
        grid-template-columns: 1fr;
    }

    .progress-card__surf {
        width: 260px;
        margin: 0 auto;
    }

    .progress-card__right {
        padding: 16px;
    }

    .progress-card__right p {
        margin-bottom: 25px;
        font-size: 24px;
    }

    .roadmap {
        padding: 45px 10px;
    }

    .roadmap-table {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .roadmap-table__cell {
        min-height: auto;
    }

    .faq {
        min-height: 0;
        padding: 50px 20px 42px;
        border-radius: 26px;
    }

    .faq__hand {
        top: -50px;
        width: 125px;
    }

    .faq h2 {
        font-size: 36px;
    }

    .faq__list h3 {
        font-size: 24px;
    }

    .faq__list p {
        font-size: 17px;
    }

    .catalog {
        min-height: 0;
        padding: 70px 15px;
    }

    .catalog__intro {
        font-size: 20px;
    }

    .catalog-part > h3 {
        font-size: 36px;
    }

    .course-grid--first,
    .course-grid--second {
        grid-template-columns: repeat(2, minmax(0, 155px));
        gap: 25px 18px;
    }

    .course-card__hand,
    .course-card__cursor {
        display: none;
    }

    .contacts {
        min-height: 330px;
        padding: 38px 20px;
        border-radius: 28px 28px 0 0;
    }

    .contacts__heading {
        gap: 14px;
    }

    .contacts__heading h2 {
        font-size: 33px;
    }

    .contacts__heading span {
        height: 3px;
    }

    .contacts__list {
        width: 100%;
        margin-top: 35px;
    }

    .contact-link {
        grid-template-columns: 55px 1fr;
        gap: 12px;
    }

    .contact-link__network,
    .contact-link__button {
        min-height: 44px;
        font-size: 14px;
    }

    .contact-link__button {
        padding: 0 17px;
    }
}
