@import url("inter.css");

:root {
    --integra-red: #e4172b;
    --integra-red-bright: #ff3045;
    --integra-black: #050505;
    --integra-white: #f7f7f5;
    --integra-muted: rgba(255, 255, 255, .58);
    --integra-line: rgba(255, 255, 255, .16);
    --integra-glass: rgba(20, 20, 20, .72);
    --menu-width: 260px;
}

html {
    background: var(--integra-black);
}

body#academy,
body#course,
body.site {
    min-height: 100vh;
    color: var(--integra-white);
    background:
        url('/images/integra-academy/red-glow-bottom.svg') left -40px bottom -45px / 260px 295px no-repeat fixed,
        radial-gradient(circle at 86% 8%, rgba(228, 23, 43, .23), transparent 26rem),
        radial-gradient(circle at 8% 92%, rgba(228, 23, 43, .17), transparent 25rem),
        var(--integra-black);
    font-family: var(--integra-font-family);
    font-weight: 400;
}

body#academy::before,
body#course::before,
body.site::before {
    content: "";
    position: fixed;
    top: -150px;
    right: -130px;
    z-index: 0;
    width: 520px;
    height: 520px;
    pointer-events: none;
    background: url('/images/integra-academy/red-shape-top.svg') center / contain no-repeat;
    transform-origin: 58% 42%;
    will-change: transform;
    animation: integra-background-orb 13s cubic-bezier(.45, .05, .55, .95) infinite alternate;
}

@keyframes integra-background-orb {
    0% {
        transform: translate3d(0, 0, 0) scale(1) rotate(-2deg);
    }

    50% {
        transform: translate3d(-24px, 18px, 0) scale(1.045) rotate(2deg);
    }

    100% {
        transform: translate3d(-8px, 34px, 0) scale(1.075) rotate(5deg);
    }
}

@keyframes integra-login-bottom-orb {
    0% {
        background-position: left -40px bottom -45px, 0 0, 0 0;
        background-size: 260px 295px, auto, auto;
    }

    48% {
        background-position: left -16px bottom -24px, 0 0, 0 0;
        background-size: 270px 306px, auto, auto;
    }

    100% {
        background-position: left -54px bottom -8px, 0 0, 0 0;
        background-size: 264px 300px, auto, auto;
    }
}

body#academy::after,
body#course::after,
body.site::after {
    display: none;
}

body#academy a,
body#course a,
body.site a {
    color: inherit;
}

.integra-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none !important;
}

.integra-brand .integra-brand__mark {
    width: 48px;
    height: 45px;
    padding: 0;
    flex: 0 0 auto;
}

.integra-brand__wording {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
}

.integra-brand .integra-brand__name {
    width: 122px;
    height: auto;
    padding: 0;
}

.integra-brand .integra-brand__subtitle {
    width: 122px;
    height: auto;
    padding: 0;
}

.integra-brand__light {
    position: relative;
    display: none;
    width: 170px;
    height: 51px;
    flex: 0 0 170px;
}

.integra-brand__light > img {
    position: absolute;
    display: block;
    max-width: none;
    padding: 0 !important;
}

.integra-brand__light-mark {
    width: 18.66%;
    height: 62.36%;
    mix-blend-mode: multiply;
}

.integra-brand__light-mark--left {
    top: 35.43%;
    left: 0;
}

.integra-brand__light-mark--right {
    top: 35.43%;
    left: 12.82%;
}

.integra-brand__light-mark--top {
    top: 0;
    left: 6.67%;
}

.integra-brand__light-wordmark {
    top: 33.43%;
    left: 39.92%;
    width: 59.17%;
    height: 28.12%;
}

.integra-brand__light-subtitle {
    top: 71.43%;
    left: 39.92%;
    width: 59.37%;
    height: 13.43%;
}

/* Logged-in shell */
body#academy .menu_block,
body#course .menu_block {
    z-index: 100;
    width: var(--menu-width);
    padding: 24px 22px;
    color: var(--integra-white);
    background: rgba(7, 7, 7, .82);
    border-right: 1px solid var(--integra-line);
    box-shadow: 30px 0 80px rgba(0, 0, 0, .25);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

body#academy .menu_block .menu_logo,
body#course .menu_block .menu_logo {
    margin: 4px 0 26px;
}

body#academy .menu_block .menu_logo .integra-brand,
body#course .menu_block .menu_logo .integra-brand {
    gap: 10px;
}

body#academy .menu_block .menu_logo .integra-brand img,
body#course .menu_block .menu_logo .integra-brand img {
    padding: 0;
}

body#academy .menu_block .menu_logo .integra-brand__mark,
body#course .menu_block .menu_logo .integra-brand__mark {
    width: 42px;
    height: 40px;
}

body#academy .menu_block .menu_logo .integra-brand__name,
body#academy .menu_block .menu_logo .integra-brand__subtitle,
body#course .menu_block .menu_logo .integra-brand__name,
body#course .menu_block .menu_logo .integra-brand__subtitle {
    width: 118px;
}

body#academy .menu_block .top_menu,
body#course .menu_block .top_menu,
body#academy .menu_block .bottom_menu,
body#course .menu_block .bottom_menu {
    padding-left: 0;
}

body#academy .menu_block .top_menu,
body#course .menu_block .top_menu {
    margin: 0;
    max-height: calc(100vh - 204px);
    padding: 0 4px 12px 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
}

body#academy .menu_block .top_menu::-webkit-scrollbar,
body#course .menu_block .top_menu::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body#academy .menu_block .top_menu::after,
body#course .menu_block .top_menu::after,
body#academy .menu_block li::before,
body#course .menu_block li::before {
    display: none;
}

body#academy .menu_block ul,
body#course .menu_block ul {
    margin: 0;
    padding: 0;
}

body#academy .menu_block ul li,
body#course .menu_block ul li {
    padding: 0;
}

body#academy .menu_block ul li a,
body#course .menu_block ul li a {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 17px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .03em;
    text-decoration: none;
    background: rgba(228, 23, 43, .28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 14px 35px rgba(228, 23, 43, .13);
}

body#academy .menu_block li.academy-menu-section,
body#course .menu_block li.academy-menu-section {
    padding: 22px 10px 8px;
}

body#academy .menu_block .academy-menu-section > span,
body#course .menu_block .academy-menu-section > span {
    color: rgba(255, 255, 255, .42);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body#academy .menu_block li.academy-menu-section--lessons,
body#course .menu_block li.academy-menu-section--lessons {
    padding-top: 14px;
}

body#academy .menu_block li.academy-menu-lesson a,
body#course .menu_block li.academy-menu-lesson a {
    padding-left: 15px;
    color: rgba(255, 255, 255, .72);
    font-size: 10px;
}

body#academy .menu_block li.academy-menu-course + li.academy-menu-course,
body#course .menu_block li.academy-menu-course + li.academy-menu-course {
    margin-top: 3px;
}

body#academy .menu_block li.academy-menu-course a,
body#course .menu_block li.academy-menu-course a {
    gap: 9px;
    min-height: 44px;
    padding: 8px 9px;
    border-color: transparent;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
}

body#academy .menu_block .academy-menu-lesson__locked,
body#course .menu_block .academy-menu-lesson__locked {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 8px 9px 8px 15px;
    color: rgba(255, 255, 255, .34);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    cursor: not-allowed;
}

.academy-menu-lesson__locked .academy-menu-course__title {
    flex: 1 1 auto;
}

.academy-menu-lesson__lock {
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    fill: none;
    stroke: rgba(255, 255, 255, .45);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.35;
}

body#academy .menu_block li.academy-menu-lesson.is-active .academy-menu-lesson__locked,
body#course .menu_block li.academy-menu-lesson.is-active .academy-menu-lesson__locked {
    border-color: rgba(255, 255, 255, .12);
    background: rgba(228, 23, 43, .11);
}

body#academy .menu_block li.academy-menu-course a:hover,
body#academy .menu_block li.academy-menu-course a:focus-visible,
body#course .menu_block li.academy-menu-course a:hover,
body#course .menu_block li.academy-menu-course a:focus-visible,
body#academy .menu_block li.academy-menu-course.is-active a,
body#course .menu_block li.academy-menu-course.is-active a {
    border-color: rgba(255, 255, 255, .12);
    outline: none;
    background: rgba(228, 23, 43, .16);
}

.academy-menu-course__number {
    flex: 0 0 22px;
    color: rgba(255, 255, 255, .3);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
}

.academy-menu-course__title {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body#academy .menu_block li.academy-menu-course.is-active .academy-menu-course__number,
body#course .menu_block li.academy-menu-course.is-active .academy-menu-course__number {
    color: #ff6272;
}

body#academy .menu_block .bottom_menu,
body#course .menu_block .bottom_menu {
    right: 22px;
    bottom: 24px;
    left: 22px;
}

body#academy .menu_block .bottom_menu a,
body#course .menu_block .bottom_menu a {
    color: var(--integra-muted);
    background: rgba(255, 255, 255, .035);
    box-shadow: none;
}

body#academy .container.container--menu,
body#course .container.container--menu {
    position: relative;
    z-index: 1;
    width: calc(100% - var(--menu-width));
    min-height: 100vh;
    margin-left: var(--menu-width);
    padding: 28px;
    overflow: visible;
    background: transparent;
}

body#academy .container.container--menu .menu_header,
body#course .container.container--menu .menu_header {
    min-height: 66px;
    margin: 0;
    padding: 8px 18px;
    color: var(--integra-white);
    border: 1px solid var(--integra-line);
    border-radius: 22px;
    background: rgba(18, 18, 18, .62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

body#academy .container.container--menu .menu_header .user_data,
body#course .container.container--menu .menu_header .user_data {
    gap: 11px;
}

body#academy .container.container--menu .menu_header .user_data img,
body#course .container.container--menu .menu_header .user_data img {
    width: 38px;
    height: 38px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .24);
    box-shadow: 0 0 0 4px rgba(228, 23, 43, .14);
}

body#academy .container.container--menu .menu_header .user_data p,
body#course .container.container--menu .menu_header .user_data p {
    margin: 0;
    font-size: 14px;
}

body#academy .container.container--menu .content,
body#course .container.container--menu .content {
    position: relative;
    z-index: 1;
    display: block;
    min-height: calc(100vh - 142px);
    margin: 20px 0 0;
    padding: clamp(24px, 4vw, 60px);
    color: var(--integra-white);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: clamp(30px, 4vw, 62px);
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(228, 23, 43, .18), transparent 30rem),
        rgba(18, 18, 18, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 35px 90px rgba(0, 0, 0, .3);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
}

body#academy .container.container--menu .content::before,
body#course .container.container--menu .content::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 28px;
    width: 70px;
    height: 61px;
    opacity: .75;
    pointer-events: none;
    background: url('/images/integra-academy/dots-right.svg') center / contain no-repeat;
}

body#academy .container.container--menu .content::after,
body#course .container.container--menu .content::after {
    content: none;
}

.academy-intro {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 0 clamp(44px, 5vw, 72px);
}

.academy-intro__eyebrow,
.login-brand__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.academy-intro__eyebrow::before,
.login-brand__eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--integra-red-bright);
    box-shadow: 0 0 14px var(--integra-red);
}

.academy-intro h1 {
    max-width: 780px;
    margin: 22px 0 18px;
    color: white;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 400;
    line-height: .98;
    letter-spacing: -.055em;
}

.academy-intro p {
    max-width: 620px;
    margin: 0;
    color: var(--integra-muted);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.55;
}

.academy-catalog {
    position: relative;
    z-index: 1;
}

.course-section {
    margin-bottom: clamp(54px, 7vw, 96px);
}

.course-section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .28);
}

.course-section__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--integra-red-bright);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.course-section__header h2 {
    margin: 0;
    color: white;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.04em;
    text-transform: uppercase;
}

.course-section__count {
    padding-bottom: 4px;
    color: var(--integra-muted);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.course-list__item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto 34px;
    gap: 20px;
    align-items: center;
    min-height: 112px;
    padding: 22px 8px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    text-decoration: none !important;
    transition: padding .25s ease, background .25s ease, border-color .25s ease;
}

.course-list__item:hover,
.course-list__item:focus-visible {
    padding-right: 18px;
    padding-left: 18px;
    border-color: rgba(255, 255, 255, .28);
    outline: none;
    background: rgba(228, 23, 43, .1);
}

.course-list__number {
    color: rgba(255, 255, 255, .26);
    font-size: 30px;
    font-weight: 300;
    letter-spacing: -.05em;
}

.course-list__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.course-list__content strong {
    overflow-wrap: anywhere;
    color: white;
    font-size: clamp(19px, 2vw, 27px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.course-list__content small {
    color: var(--integra-muted);
    font-size: 13px;
    line-height: 1.4;
}

.course-list__status {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.course-list__status::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--integra-red-bright);
    box-shadow: 0 0 14px rgba(255, 48, 69, .75);
}

.course-list__arrow {
    color: white;
    font-size: 23px;
    transition: transform .25s ease;
}

.course-list__item:hover .course-list__arrow,
.course-list__item:focus-visible .course-list__arrow {
    transform: translate(3px, -3px);
}

body#academy .content > .container,
body#course .content > .container {
    max-width: none;
    margin: 0;
    padding: 0;
}

body#academy .header,
body#course .header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 24px;
    align-items: end;
    margin: 0 0 24px !important;
}

body#academy .header__title,
body#course .header__title {
    display: flex;
    min-width: 0;
    margin: 0;
    color: white;
    font-family: inherit;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -.04em;
}

body#academy .header__title span,
body#course .header__title span {
    color: var(--integra-red-bright);
}

body#academy .header__title-text,
body#course .header__title-text {
    min-width: 0;
    margin-left: 10px;
}

body#academy .header__text,
body#course .header__text {
    grid-column: 1;
    margin: 0;
    color: var(--integra-muted);
    font-size: 14px;
}

body#academy .header__digit,
body#course .header__digit {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    padding: 8px 13px;
    color: white;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(228, 23, 43, .5);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
}

body#academy .bricks,
body#course .bricks {
    position: relative;
    z-index: 1;
    margin: 0 0 54px;
}

body#academy .bricks-container,
body#course .bricks-container {
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
}

body#academy .bricks-row {
    display: grid;
    grid-template-columns: minmax(270px, .86fr) minmax(300px, 1.14fr);
    gap: 0;
    margin: 0 0 16px;
    overflow: hidden;
    border: 1px solid var(--integra-line);
    border-radius: 26px;
    background: rgba(255, 255, 255, .035);
    transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

body#academy .bricks-row:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .32);
    background: rgba(255, 255, 255, .055);
}

body#academy .bricks-row > .brick:empty,
body#course .bricks-row > .brick:empty {
    display: none;
}

body#academy .bricks-row > a {
    display: block;
    text-decoration: none;
}

body#academy .brick:not(:empty) {
    position: relative;
    display: flex;
    width: auto;
    min-height: 190px;
    height: 100%;
    margin: 0;
    padding: 28px;
    color: white;
    background: transparent;
}

body#academy .bricks-row > a > .brick,
body#academy .bricks-row > .brick:not(.brick_regular) {
    align-items: flex-end;
    border-right: 1px solid var(--integra-line);
    background:
        radial-gradient(circle at 0 100%, rgba(228, 23, 43, .34), transparent 65%),
        rgba(228, 23, 43, .08);
}

body#academy .bricks-row .brick_active {
    color: white;
    background:
        radial-gradient(circle at 0 100%, rgba(228, 23, 43, .48), transparent 68%),
        rgba(228, 23, 43, .14) !important;
}

body#academy .brick__number {
    margin-right: 22px;
    color: rgba(255, 255, 255, .28);
    font-size: 64px;
    font-weight: 300;
    font-style: normal;
    line-height: .8;
    letter-spacing: -.08em;
}

body#academy .brick__title {
    margin: 0 0 12px;
    color: white;
    font-size: clamp(20px, 2vw, 30px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.025em;
}

body#academy .brick__posttext,
body#academy .brick__text {
    color: var(--integra-muted);
    font-size: 14px;
    line-height: 1.55;
}

body#academy .brick_regular {
    align-items: center;
    flex-wrap: wrap;
    align-content: center;
    gap: 14px;
}

body#academy .brick__certificate {
    position: relative;
    padding-top: 72px;
    color: white;
    background: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body#academy .brick__certificate::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 58px;
    height: 58px;
    transform: translateX(-50%);
    filter: invert(1);
    background: url('/templates/academy/images/certificate.svg') center / contain no-repeat;
}

/* Course cards */
body#course .header__title {
    flex-wrap: wrap;
}

body#course .header__title a {
    width: 100%;
    margin-bottom: 12px;
    color: var(--integra-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
}

body#course .header__title a span {
    color: var(--integra-muted);
}

body#course .header__title-text {
    margin-left: 0;
}

body#course .bricks-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    gap: 18px;
    margin: 0;
}

body#course .bricks-container {
    display: block;
}

body#course .brick_course-item {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    color: white;
    border: 1px solid var(--integra-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, .045);
    transition: transform .25s ease, border-color .25s ease;
}

body#course .brick_course-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, .34);
}

body#course .course-item__image {
    height: clamp(230px, 24vw, 360px);
    border-radius: 0;
    background: #151515;
}

body#course .course-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .86;
    transition: transform .5s ease, opacity .3s ease;
}

body#course .brick_course-item:hover .course-item__image img {
    transform: scale(1.025);
    opacity: 1;
}

body#course #play rect {
    fill: #090909;
    fill-opacity: .82;
    stroke: rgba(255,255,255,.32);
}

body#course #play path {
    fill: var(--integra-red-bright);
}

body#course .course-item__caption {
    min-height: 190px;
    margin: 0;
    padding: 25px 26px 28px;
    color: white;
}

body#course .course-item__number {
    margin-right: 22px;
    color: rgba(255, 255, 255, .24);
    font-size: 54px;
    font-style: normal;
    line-height: .9;
}

body#course .course-item__info,
body#course .course-item__title {
    color: white;
}

body#course .course-item__title {
    font-size: 23px;
    font-weight: 500;
    line-height: 1.15;
}

body#course .course-item__description,
body#course .course-item__time,
body#course .course-item__status {
    color: var(--integra-muted);
    font-size: 13px;
    line-height: 1.5;
}

body#course .course-item__time {
    margin-top: 16px;
    font-style: normal;
}

body#course .course-item__overlay {
    z-index: 2;
    color: white;
    background-color: rgba(5, 5, 5, .78);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

body#course .getTest,
body#course .getResult {
    margin: 18px 0 0;
    padding: 10px 16px;
    color: white;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: var(--integra-red-bright);
    font-size: 12px;
    font-weight: 700;
}

/* Login */
body.site {
    display: grid;
    box-sizing: border-box;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    place-items: center;
    padding: 34px;
    overflow-x: hidden;
}

body.site *,
body.site *::before,
body.site *::after {
    box-sizing: border-box;
}

body.site::before {
    content: "";
    position: fixed;
    top: -100px;
    right: -80px;
    z-index: 0;
    width: min(46vw, 590px);
    aspect-ratio: 1;
    pointer-events: none;
    background: url('/images/integra-academy/red-glow-top.svg') center / contain no-repeat;
    opacity: .86;
}

body.site .Authorization_authorization__mEimF {
    position: relative;
    inset: auto;
    z-index: 1;
    display: grid;
    width: 100%;
    height: auto;
    min-height: 0;
    place-items: center;
    background: transparent;
}

body.site .mod-login {
    width: min(100%, 560px);
    margin: 0;
}

body.site .Authorization_authorization__forma__3cz2f {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    padding: clamp(34px, 5vw, 54px);
    align-items: stretch;
    color: white;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: clamp(34px, 5vw, 62px);
    background:
        radial-gradient(circle at 100% 0, rgba(228, 23, 43, .22), transparent 28rem),
        rgba(18, 18, 18, .74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 110px rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(30px);
    backdrop-filter: blur(30px);
    font-family: inherit;
}

.login-brand {
    width: 100%;
    margin: 0 auto 36px;
    text-align: center;
}

.login-brand > .integra-brand {
    justify-content: center;
    margin-bottom: 38px;
}

.login-brand .integra-brand__mark {
    width: 60px;
    height: 56px;
}

.login-brand .integra-brand__name,
.login-brand .integra-brand__subtitle {
    width: 148px;
}

.login-brand h1 {
    margin: 0 0 12px;
    color: white;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.05em;
}

.login-brand p {
    margin: 0;
    color: var(--integra-muted);
    font-size: 15px;
}

body.site .mod-login__userdata {
    display: grid;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    gap: 14px;
}

body.site .form-group,
body.site .input-group {
    width: 100%;
    margin: 0;
}

body.site .Authorization_authorization__forma__3cz2f .input-group {
    display: block;
    position: relative;
    flex-wrap: nowrap;
}

body.site input[type="text"],
body.site input[type="password"] {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 58px;
    margin: 0;
    padding: 0 52px 0 18px;
    color: white;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 17px;
    outline: 0;
    background: rgba(255, 255, 255, .055);
    font-family: inherit;
    font-size: 15px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

body.site input[type="text"]:focus,
body.site input[type="password"]:focus {
    border-color: rgba(255, 48, 69, .82);
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 0 0 4px rgba(228, 23, 43, .13);
}

body.site input::placeholder {
    color: rgba(255, 255, 255, .42);
}

body.site .Authorization_authorization__forma__3cz2f .input-group .input-password-toggle {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    display: grid;
    width: 58px;
    height: 58px;
    margin: 0;
    padding: 0;
    place-items: center;
    color: rgba(255, 255, 255, .58);
    border: 0;
    border-radius: 0 17px 17px 0;
    outline: 0;
    background: transparent !important;
    box-shadow: none;
}

body.site .Authorization_authorization__forma__3cz2f .input-group .input-password-toggle:hover,
body.site .Authorization_authorization__forma__3cz2f .input-group .input-password-toggle:focus-visible {
    color: white;
    background: rgba(255, 255, 255, .06) !important;
}

body.site .Authorization_authorization__forma__3cz2f .input-group .input-password-toggle:focus-visible {
    outline: 2px solid rgba(255, 48, 69, .8);
    outline-offset: -4px;
}

body.site .form-check-label {
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

body.site .form-check-input {
    accent-color: var(--integra-red);
}

body.site .Authorization_btn__Iaxjz {
    width: 100%;
    min-width: 0;
    height: 58px;
    margin-top: 8px;
    color: white;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 17px;
    background: var(--integra-red-bright);
    box-shadow: 0 16px 38px rgba(228, 23, 43, .24), inset 0 1px 0 rgba(255, 255, 255, .2);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    cursor: pointer;
}

body.site .cc-bar {
    color: white !important;
    border-top: 1px solid rgba(255, 255, 255, .16) !important;
    background: rgba(12, 12, 12, .9) !important;
    font-family: inherit !important;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

body.site .cc-btn {
    color: white !important;
    border-color: rgba(255, 255, 255, .22) !important;
    background: var(--integra-red) !important;
}

@media (min-width: 1025px) {
    body.site {
        animation: integra-login-bottom-orb 12s cubic-bezier(.45, .05, .55, .95) infinite alternate;
    }
}

@media (max-width: 1024px) {
    :root {
        --menu-width: 0px;
    }

    body#academy .menu_block,
    body#course .menu_block {
        width: min(320px, 86vw);
    }

    body#academy .container.container--menu,
    body#course .container.container--menu {
        width: 100%;
        margin-left: 0;
        padding: 12px;
    }

    body#academy .container.container--menu .menu_header,
    body#course .container.container--menu .menu_header {
        min-height: 64px;
        padding: 7px 10px;
        border-radius: 19px;
    }

    body#academy .container.container--menu .menu_header .mobile_menu_block,
    body#course .container.container--menu .menu_header .mobile_menu_block {
        align-items: center;
        min-width: 0;
        min-height: 48px;
        gap: 12px;
    }

    body#academy .container.container--menu .menu_header .mobile_menu_block .menu_logo,
    body#course .container.container--menu .menu_header .mobile_menu_block .menu_logo {
        min-width: 0;
        overflow: hidden;
    }

    body#academy .container.container--menu .menu_header .menu_logo img,
    body#course .container.container--menu .menu_header .menu_logo img {
        width: auto;
        padding: 0;
    }

    body#academy .container.container--menu .menu_header .integra-brand__mark,
    body#course .container.container--menu .menu_header .integra-brand__mark {
        width: 34px;
        height: 32px;
    }

    body#academy .container.container--menu .menu_header .integra-brand__name,
    body#academy .container.container--menu .menu_header .integra-brand__subtitle,
    body#course .container.container--menu .menu_header .integra-brand__name,
    body#course .container.container--menu .menu_header .integra-brand__subtitle {
        width: 100px;
    }

    body#academy .container.container--menu .menu_header .menu_burger,
    body#course .container.container--menu .menu_header .menu_burger {
        position: relative;
        top: auto;
        right: auto;
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 14px;
        outline: none;
        background: rgba(255, 255, 255, .035);
    }

    body#academy .container.container--menu .menu_header .menu_burger::before,
    body#course .container.container--menu .menu_header .menu_burger::before {
        inset: 7px;
        width: 34px;
        height: 34px;
        filter: invert(1);
    }

    body#academy .container.container--menu .menu_header .menu_burger:focus-visible,
    body#course .container.container--menu .menu_header .menu_burger:focus-visible {
        border-color: rgba(255, 48, 69, .78);
        box-shadow: 0 0 0 3px rgba(228, 23, 43, .18);
    }

    body#academy .bricks-row {
        grid-template-columns: 1fr;
    }

    body#academy .bricks-row > a > .brick,
    body#academy .bricks-row > .brick:not(.brick_regular) {
        border-right: 0;
        border-bottom: 1px solid var(--integra-line);
    }
}

@media (max-width: 720px) {
    body#academy,
    body#course,
    body.site {
        background-size: 390px 390px, 190px 215px, auto, auto, auto;
    }

    body#academy .container.container--menu .content,
    body#course .container.container--menu .content {
        min-height: calc(100vh - 112px);
        margin-top: 10px;
        padding: 28px 18px 72px;
        border-radius: 30px;
    }

    .academy-intro {
        margin-bottom: 64px;
    }

    .academy-intro h1 {
        font-size: clamp(26px, 3vw, 32px);
    }

    .course-section__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .course-list__item {
        grid-template-columns: 42px minmax(0, 1fr) 24px;
        gap: 12px;
        min-height: 104px;
        padding: 20px 2px;
    }

    .course-list__item:hover,
    .course-list__item:focus-visible {
        padding-right: 8px;
        padding-left: 8px;
    }

    .course-list__number {
        font-size: 22px;
    }

    .course-list__status {
        display: none;
    }

    .course-list__arrow {
        font-size: 20px;
    }

    body#academy .header,
    body#course .header {
        grid-template-columns: 1fr;
    }

    body#academy .header__digit,
    body#course .header__digit {
        grid-column: 1;
        grid-row: auto;
        justify-self: start;
    }

    body#academy .brick:not(:empty) {
        min-height: 160px;
        padding: 22px;
    }

    body#course .bricks-row {
        grid-template-columns: 1fr;
    }

    body#course .course-item__image {
        height: 250px;
    }

    body.site {
        padding: 12px;
    }

    body.site .Authorization_authorization__forma__3cz2f {
        padding: 30px 22px;
        border-radius: 32px;
    }

    body.site input[type="text"],
    body.site input[type="password"] {
        font-size: 16px;
    }

    .login-brand > .integra-brand {
        margin-bottom: 32px;
    }

    .login-brand h1 {
        font-size: clamp(26px, 3vw, 32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.site,
    body#academy::before,
    body#course::before,
    body.site::before {
        animation: none;
    }

    body#academy *,
    body#course *,
    body.site * {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Academy theme switch */
.academy-theme-toggle {
    display: inline-flex;
    min-height: 38px;
    padding: 4px 12px 4px 6px;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .72);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .045);
    font: inherit;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.academy-theme-toggle:hover,
.academy-theme-toggle:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, .28);
    outline: none;
    background: rgba(255, 255, 255, .1);
    transform: translateY(-1px);
}

.academy-theme-toggle__icon {
    position: relative;
    display: grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: rgba(228, 23, 43, .55);
}

.academy-theme-toggle svg {
    position: absolute;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    transition: opacity .2s ease, transform .25s ease;
}

.academy-theme-toggle__moon {
    opacity: 0;
    transform: rotate(-25deg) scale(.7);
}

.academy-theme-toggle--mobile {
    display: none;
}

body#academy .container.container--menu .menu_header .user_block,
body#course .container.container--menu .menu_header .user_block {
    gap: 14px;
}

html[data-academy-theme="light"] {
    color-scheme: light;
}

html[data-academy-theme="light"] body#academy,
html[data-academy-theme="light"] body#course {
    --integra-red: #cf3535;
    --integra-red-bright: #cf3535;
    --integra-white: #282828;
    --integra-muted: rgba(40, 40, 40, .58);
    --integra-line: rgba(40, 40, 40, .14);
    color: #282828;
    background: #f2f2f2;
}

html[data-academy-theme="light"] body#academy::before,
html[data-academy-theme="light"] body#course::before {
    top: auto;
    right: -5vw;
    bottom: -18vh;
    width: min(78vw, 1120px);
    height: min(76vh, 760px);
    opacity: .85;
    border-radius: 30px;
    background:
        linear-gradient(90deg, rgba(207, 53, 53, .12) 1px, transparent 1px),
        linear-gradient(rgba(207, 53, 53, .12) 1px, transparent 1px),
        linear-gradient(135deg, rgba(207, 53, 53, .42), rgba(255, 180, 180, .2) 54%, rgba(255, 255, 255, 0) 88%);
    background-size: 146px 146px, 146px 146px, 100% 100%;
    filter: blur(12px);
    animation: none;
    transform: rotate(-2deg);
}

html[data-academy-theme="light"] body#academy .menu_block,
html[data-academy-theme="light"] body#course .menu_block {
    color: #282828;
    border-color: #dedede;
    background: rgba(255, 255, 255, .96);
    box-shadow: none;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

html[data-academy-theme="light"] body#academy .integra-brand > :is(.integra-brand__mark, .integra-brand__wording),
html[data-academy-theme="light"] body#course .integra-brand > :is(.integra-brand__mark, .integra-brand__wording) {
    display: none;
}

html[data-academy-theme="light"] body#academy .integra-brand__light,
html[data-academy-theme="light"] body#course .integra-brand__light {
    display: block;
}

html[data-academy-theme="light"] body#academy .menu_block .academy-menu-section > span,
html[data-academy-theme="light"] body#course .menu_block .academy-menu-section > span {
    color: rgba(40, 40, 40, .42);
}

html[data-academy-theme="light"] body#academy .menu_block li.academy-menu-course a,
html[data-academy-theme="light"] body#course .menu_block li.academy-menu-course a {
    color: rgba(40, 40, 40, .78);
}

html[data-academy-theme="light"] body#academy .menu_block .academy-menu-lesson__locked,
html[data-academy-theme="light"] body#course .menu_block .academy-menu-lesson__locked {
    color: rgba(40, 40, 40, .34);
}

html[data-academy-theme="light"] .academy-menu-lesson__lock {
    stroke: rgba(40, 40, 40, .42);
}

html[data-academy-theme="light"] .academy-menu-course__number {
    color: rgba(40, 40, 40, .32);
}

html[data-academy-theme="light"] body#academy .menu_block li.academy-menu-course a:is(:hover, :focus-visible),
html[data-academy-theme="light"] body#academy .menu_block li.academy-menu-course.is-active a,
html[data-academy-theme="light"] body#course .menu_block li.academy-menu-course a:is(:hover, :focus-visible),
html[data-academy-theme="light"] body#course .menu_block li.academy-menu-course.is-active a,
html[data-academy-theme="light"] body#academy .menu_block li.academy-menu-lesson.is-active .academy-menu-lesson__locked,
html[data-academy-theme="light"] body#course .menu_block li.academy-menu-lesson.is-active .academy-menu-lesson__locked {
    border-color: rgba(207, 53, 53, .2);
    background: rgba(207, 53, 53, .09);
}

html[data-academy-theme="light"] body#academy .menu_block li.academy-menu-course.is-active .academy-menu-course__number,
html[data-academy-theme="light"] body#course .menu_block li.academy-menu-course.is-active .academy-menu-course__number {
    color: #cf3535;
}

html[data-academy-theme="light"] body#academy .menu_block .bottom_menu a,
html[data-academy-theme="light"] body#course .menu_block .bottom_menu a {
    color: #282828;
    border-color: #d9d9d9;
    background: #fff;
}

html[data-academy-theme="light"] body#academy .container.container--menu .menu_header,
html[data-academy-theme="light"] body#course .container.container--menu .menu_header {
    color: #282828;
    border-color: #dedede;
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: none;
}

html[data-academy-theme="light"] body#academy .container.container--menu .menu_header .user_data img,
html[data-academy-theme="light"] body#course .container.container--menu .menu_header .user_data img {
    border-color: rgba(207, 53, 53, .25);
    box-shadow: 0 0 0 4px rgba(207, 53, 53, .08);
}

html[data-academy-theme="light"] body#academy .container.container--menu .content,
html[data-academy-theme="light"] body#course .container.container--menu .content {
    --integra-white: #282828;
    --integra-muted: rgba(40, 40, 40, .58);
    --integra-line: rgba(40, 40, 40, .14);
    color: #282828;
    border-color: #e2e2e2;
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(207, 53, 53, .055) 1px, transparent 1px),
        linear-gradient(rgba(207, 53, 53, .055) 1px, transparent 1px),
        radial-gradient(circle at 100% 0, rgba(207, 53, 53, .13), transparent 32rem),
        rgba(255, 255, 255, .97);
    background-size: 146px 146px, 146px 146px, auto, auto;
    box-shadow: 0 20px 55px rgba(40, 40, 40, .08);
}

html[data-academy-theme="light"] body#academy .container.container--menu .content::before,
html[data-academy-theme="light"] body#academy .container.container--menu .content::after,
html[data-academy-theme="light"] body#course .container.container--menu .content::before,
html[data-academy-theme="light"] body#course .container.container--menu .content::after {
    filter: brightness(0) saturate(100%) invert(28%) sepia(37%) saturate(1899%) hue-rotate(327deg) brightness(90%) contrast(91%);
}

html[data-academy-theme="light"] .academy-theme-toggle {
    color: #282828;
    border-color: #dedede;
    background: #f7f7f7;
}

html[data-academy-theme="light"] .academy-theme-toggle:is(:hover, :focus-visible) {
    color: #282828;
    border-color: rgba(207, 53, 53, .35);
    background: #fff;
}

html[data-academy-theme="light"] .academy-theme-toggle__icon {
    background: #cf3535;
}

html[data-academy-theme="light"] .academy-theme-toggle__sun {
    opacity: 0;
    transform: rotate(25deg) scale(.7);
}

html[data-academy-theme="light"] .academy-theme-toggle__moon {
    opacity: 1;
    transform: rotate(0) scale(1);
}

html[data-academy-theme="light"] body#academy .container.container--menu .menu_header .menu_burger,
html[data-academy-theme="light"] body#course .container.container--menu .menu_header .menu_burger {
    border-color: #dedede;
    background: #f7f7f7;
}

html[data-academy-theme="light"] body#academy .container.container--menu .menu_header .menu_burger::before,
html[data-academy-theme="light"] body#course .container.container--menu .menu_header .menu_burger::before {
    filter: none;
}

@media (max-width: 1024px) {
    .academy-theme-toggle--mobile {
        display: inline-flex;
        margin-left: auto;
    }

    .integra-brand__light {
        width: 150px;
        height: 45px;
        flex-basis: 150px;
    }
}

@media (max-width: 560px) {
    .academy-theme-toggle--mobile {
        width: 42px;
        min-height: 42px;
        padding: 6px;
        justify-content: center;
    }

    .academy-theme-toggle--mobile .academy-theme-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }
}
