body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    font-size: 16px;
    min-width: 1440px;
    background: #f7f9fd;
    color: #212121
}

a {
    color: inherit;
    text-decoration: none
}

button {
    font: inherit;
    cursor: pointer
}

.wrap {
    margin-right: auto;
    margin-left: auto;
    width: 1440px
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.top-ad {
    position: relative;
    overflow: hidden;
    background: #df3e40;
    color: #fff;
    display: block;
    cursor: pointer;
}

.top-ad-link {
    display: block;
    width: 100%;
    height: 100%
}

.top-ad-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center
}

.top-ad .wrap {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    height: 0;
    transform: translateX(-50%)
}

.top-ad strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0)
}

.top-ad-close {
    position: absolute;
    top: 10px;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    cursor: pointer;
    opacity: .85;
    transition: opacity .2s ease
}

.top-ad-close img {
    display: block;
    width: 100%;
    height: 100%
}

.top-ad-close:hover,
.top-ad-close:focus {
    opacity: 1;
    outline: none
}

.site-header {
    background: #fff
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100px
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 45px
}

.logo img {
    width: 242px;
    height: 50px;
}

.main-nav {
    display: flex;
    align-self: stretch;
    align-items: center;
    gap: 12px;
}

.main-nav a {
    position: relative;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 18px;
    line-height: 1.38
}

.main-nav a:hover {
    background: #f3f7ff
}

.main-nav a.active {
    color: #1d479c;
    font-weight: 600;
    font-size: 20px
}

.main-nav a.active:after {
    content: "";
    position: absolute;
    left: 50%;
    width: 20px;
    border-radius: 2px;
    background: #1d479c;
    transform: translateX(-50%);
    bottom: 0;
    height: 3px
}

.header-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 6px;
}

.header-actions p {
    display: flex;
    align-items: flex-end;
    flex-direction: column;
    margin: 0 10px 0 0;
    color: #919293;
    gap: 5px;
    margin-right: 14px;
    font-size: 14px;
    line-height: 1.38
}

.header-actions p a {
    color: #1d479c;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px
}

.phone-digits {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap
}

.phone-digits>span {
    display: inline-block;
    animation: phone-digit-wave 2s cubic-bezier(.45, 0, .55, 1) infinite;
    will-change: transform
}

.phone-digits>i { font-style: normal }

.phone-digits>span:nth-of-type(2) { animation-delay: .12s }
.phone-digits>span:nth-of-type(3) { animation-delay: .24s }
.phone-digits>span:nth-of-type(4) { animation-delay: .36s }
.phone-digits>span:nth-of-type(5) { animation-delay: .48s }
.phone-digits>span:nth-of-type(6) { animation-delay: .6s }
.phone-digits>span:nth-of-type(7) { animation-delay: .72s }
.phone-digits>span:nth-of-type(8) { animation-delay: .84s }
.phone-digits>span:nth-of-type(9) { animation-delay: .96s }
.phone-digits>span:nth-of-type(10) { animation-delay: 1.08s }
.phone-digits>span:nth-of-type(11) { animation-delay: 1.2s }

@keyframes phone-digit-wave {
    0% { transform: translateY(0) }
    11% { transform: translateY(-5px) }
    22% { transform: translateY(0) }
    29% { transform: translateY(1px) }
    36%, 100% { transform: translateY(0) }
}

.primary,
.outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1d479c;
    border-radius: 25px;
    font-weight: 600;
    height: 36px;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.38;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .25s ease, transform .25s ease
}

.primary {
    background: #1d479c;
    color: #fff
}

.outline {
    background: #fff;
    color: #1d479c;
    gap: 6px
}

.primary:hover {
    border-color: #123b89;
    background: #123b89;
    box-shadow: none;
    transform: translateY(-2px)
}

.outline:hover {
    border-color: #1d479c;
    background: #f1f5ff;
    box-shadow: none;
    transform: translateY(-2px)
}

.outline .app-phone-icon {
    transition: transform .25s ease
}

.outline:hover .app-phone-icon {
    transform: translateY(-1px) scale(1.08)
}

.branch-nav {
    position: relative;
    z-index: 30;
    overflow: visible;
    height: 57px;
    padding-top: 20px;
    background: #f7f9fd
}

.branch-nav .wrap {
    display: flex;
    align-items: center;
    overflow: visible;
    height: 100%
}

.branch-nav strong {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-right: 20px;
    color: #ff5456;
    font-size: 20px;
    line-height: 1.38
}

.branch-nav i {
    width: 1px;
    height: 20px;
    background: #bdc0c3
}

.branch-nav a {
    font-weight: 500;
    padding: 12px 24px;
    color: #6e6e6e;
    font-size: 16px;
    line-height: 1.38
}

.branch-nav>.wrap>a:hover,
.branch-nav>.wrap>a:focus {
    color: #1d479c;
    font-weight: 600
}

.branch-nav button {
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #6e6e6e;
    font-size: 16px
}

.branch-dropdown {
    position: relative;
    align-self: stretch;
    margin-left: auto
}

.branch-nav .branch-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #6e6e6e;
    font-size: 16px;
    font-weight: 500
}

.branch-nav .branch-dropdown-trigger:focus { outline: 0 }

.branch-dropdown-trigger span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    font-size: 0;
    line-height: 0;
    transform: rotate(45deg);
    transform-origin: center;
    transition: transform .22s ease
}

.branch-dropdown-trigger[aria-expanded="true"] {
    color: #1d479c
}

.branch-dropdown-trigger[aria-expanded="true"] span {
    margin-top: 4px;
    transform: rotate(225deg)
}

.branch-dropdown-panel {
    position: absolute;
    top: 100%;
    margin-top: 12px;
    right: 0;
    z-index: 50;
    width: 420px;
    padding: 24px 28px 28px;
    border: 1px solid #e8edf6;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(18, 53, 109, .16)
}

.branch-dropdown-panel.is-open {
    animation: branchDropdownIn .2s ease-out both
}

.branch-dropdown-panel h2 {
    margin: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f7;
    color: #919293;
    font-size: 16px;
    font-weight: 600
}

.branch-dropdown-grid {
    display: flex;
    flex-wrap: wrap;
    padding-top: 12px
}

.branch-nav .branch-dropdown-grid a {
    display: block;
    width: 173px;
    margin: 0 16px 7px 0;
    padding: 12px 14px;
    border-radius: 8px;
    color: #38445a;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.38
}

.branch-nav .branch-dropdown-grid a:nth-child(2n) {
    margin-right: 0
}

.branch-nav .branch-dropdown-grid a:hover,
.branch-nav .branch-dropdown-grid a:focus {
    background: #f3f7ff;
    color: #1d479c;
    font-weight: 600
}

@keyframes branchDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.98)
    }

    to {
        opacity: 1;
        transform: none
    }
}

main {
    overflow: hidden
}

.hero {
    display: flex;
    height: 618px;
    padding-top: 0;
    margin-top: 20px;
    background: #f7f9fd
}

.hero>.exam-menu,
.hero>.news-stack {
    margin-right: 24px
}

.hero>.exam-menu { width: 240px; flex: none }
.hero>.news-stack { width: 688px; flex: none }
.hero>.hero-promos { width: 464px; flex: none }

.exam-menu {
    height: 618px;
    overflow: visible;
    position: relative;
    z-index: 20;
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 2px 40px rgba(230, 236, 255, .25)
}

.exam-menu h2 {
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 20px;
    font-size: 18px;
    line-height: 1.38;
    border-radius: 16px 16px 0 0;
    background: #153b79 url("../images/exam-bg.png") top center / 240px 618px no-repeat
}

.exam-menu ul {
    height: 558px;
    margin: 0;
    padding: 12px;
    list-style: none;
    border-radius: 16px;
    background: #fff
}

.exam-menu li {
    position: relative;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.38;
    cursor: pointer
}

.exam-menu-link {
    display: block;
    padding: 15px 40px 15px 18px;
    border-radius: 8px;
    color: inherit
}

.exam-menu-link:focus {
    outline: none
}

.exam-menu li:after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 10px;
    color: #aab0b8;
    transform: translateY(-50%)
}

.exam-menu li:hover,
.exam-menu li:focus-within,
.exam-menu li.is-active {
    background: #f3f7ff;
    color: #1d479c
}

.exam-menu li:hover:after,
.exam-menu li:focus-within:after,
.exam-menu li.is-active:after {
    color: #1d479c
}

.news-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 618px
}

.news-card {
    height: 297px;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(59, 130, 246, .06);
    padding: 20px;
    background: #fff
}

.news-card header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 28px;
    margin-bottom: 8px
}

.news-card h2 {
    margin: 0;
    color: #1d479c;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    line-height: 1.38
}

.news-card header a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin-right: -10px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #1d479c;
    font-size: 14px;
    cursor: pointer;
    text-underline-offset: 4px;
    transition: color .22s ease
}

.news-card header a:hover,
.news-card header a:focus {
    color: #1746a2;
    text-decoration: underline;
    outline: none
}

.news-card ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.news-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding-left: 12px;
    font-size: 16px;
    line-height: 1.38
}

.news-card li:before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #1d479c;
    flex: none
}

.news-card li a {
    overflow: hidden;
    min-width: 0;
    flex: 0 1 auto;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s ease, font-weight .2s ease
}

.news-card li a:hover {
    color: #1d479c;
    font-weight: 600
}

.news-card time {
    margin-left: auto;
    color: #919293;
    min-width: 50px;
    font-size: 16px;
    text-align: right;
    white-space: nowrap;
    flex: none
}

.news-card em {
    position: relative;
    z-index: 0;
    flex: none;
    padding: 3px 5px;
    border-radius: 4px;
    background: linear-gradient(135deg, #ff746c 0%, #f45d66 100%);
    color: #fff;
    box-shadow: 0 1px 4px rgba(226, 76, 88, .24);
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    transform-origin: center bottom;
    animation: hotPulse .8s ease-in-out infinite alternate
}

.news-card em:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -4px;
    right: -3px;
    bottom: -4px;
    left: -3px;
    border-radius: 7px;
    background: radial-gradient(circle at 50% 80%, rgba(255, 176, 112, .28), rgba(244, 93, 102, .16) 48%, transparent 72%);
    filter: blur(2px);
    animation: hotGlow .65s ease-in-out infinite alternate
}

.news-card em:after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -5px;
    left: 50%;
    width: 7px;
    height: 8px;
    border-radius: 70% 12% 70% 70%;
    background: linear-gradient(145deg, #ffd09a 5%, #ff927d 52%, #f45d66 100%);
    opacity: .72;
    transform: translateX(-50%) rotate(-43deg) scale(.8);
    transform-origin: 50% 100%;
    animation: hotFlame .48s ease-in-out infinite alternate
}

@keyframes hotPulse {
    from { transform: translateY(0) scale(1) }
    to { transform: translateY(-1px) scale(1.025) }
}

@keyframes hotGlow {
    from { opacity: .2; transform: scale(.92) }
    to { opacity: .46; transform: scale(1.06) }
}

@keyframes hotFlame {
    from { transform: translateX(-50%) rotate(-46deg) scale(.78, .9) }
    to { transform: translateX(-46%) rotate(-36deg) scale(.94, 1.06) }
}

.material-news {
    background: linear-gradient(180deg, #fff9ef 0%, #fff 32%)
}

.material-news h2,
.material-news header a {
    color: #f28700
}

.material-news header a:hover,
.material-news header a:focus {
    color: #df7600
}

.hero-promos {
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.hero-promos .sail-card { height: 432px }
.hero-promos .training { height: 162px }

.sail-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    color: #fff
}

.sail-card>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.sail-card .sail-card-actions {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    right: 32px;
    bottom: 34px;
    left: 32px
}

.sail-card .sail-card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 48px;
    border-radius: 999px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transform: translateY(0) scale(1);
    transition: transform .24s ease, box-shadow .24s ease, background-color .24s ease, border-color .24s ease, filter .24s ease
}

.sail-card .hot {
    border: 0;
    background: linear-gradient(105deg, #ff9a3d 0%, #ff5b57 100%);
    box-shadow: 0 8px 18px rgba(238, 78, 69, .22)
}

.sail-card .glass {
    margin-left: 14px;
    border: 1.5px solid rgba(255, 255, 255, .92);
    background: rgba(18, 43, 102, .35);
    box-shadow: inset 0 0 18px rgba(255, 255, 255, .08);
    background: rgba(18, 43, 102, .55)
}

.sail-card .sail-card-actions a:hover,
.sail-card .sail-card-actions a:focus {
    transform: translateY(-3px) scale(1.025);
    outline: none
}

.sail-card .hot:hover,
.sail-card .hot:focus {
    filter: brightness(1.06) saturate(1.05);
    box-shadow: none
}

.sail-card .glass:hover,
.sail-card .glass:focus {
    border-color: #fff;
    background: rgba(255, 255, 255, .2);
    box-shadow: none
}

.sail-card .sail-card-actions a:active {
    transform: translateY(0) scale(.98);
    transition-duration: .08s
}

.training {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #ddecff
}

.training-track,
.training-slide {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0
}

.training-slide {
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease, visibility .55s ease
}

.training-slide.is-active {
    opacity: 1;
    visibility: visible
}

.training-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.training-slide-copy {
    display: flex;
    align-items: center;
    padding: 26px 38px;
    color: #fff;
    overflow: hidden
}

.training-slide-copy:after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -38px;
    top: -72px;
    border: 28px solid rgba(255, 255, 255, .16);
    border-radius: 50%
}

.training-slide-copy span { position: relative; z-index: 1 }
.training-slide-copy b { display: block; font-size: 25px; line-height: 1.25 }
.training-slide-copy small { display: block; margin-top: 10px; font-size: 14px; letter-spacing: 1px }
.training-slide-orange { background: linear-gradient(120deg, #ff8b36, #ff535c) }
.training-slide-blue { background: linear-gradient(120deg, #176bdc, #35b9ee) }
.training-slide-green { background: linear-gradient(120deg, #00a982, #58c977) }

.training-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 12px;
    display: flex;
    gap: 7px;
    transform: translateX(-50%)
}

.training-dots button {
    width: 18px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .72);
    cursor: pointer;
    transition: width .25s ease, background .25s ease
}

.training-dots button.is-active {
    width: 34px;
    background: #1688ef
}

.training-dots button:focus { outline: none }

.training-dots button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px
}

@media (prefers-reduced-motion: reduce) {
    .training-slide { transition: none }
}

.section {
    padding-top: 80px
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    margin-bottom: 24px
}

.section-head>div {
    display: flex;
    align-items: center;
    gap: 18px
}

.section-head h2 {
    position: relative;
    margin: 0;
    padding-left: 20px;
    color: #1d479c;
    font-size: 24px
}

.section-head h2:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 34px;
    border-radius: 999px;
    background: #1d479c;
    transform: translateY(-50%)
}

.section-head span {
    color: #6e6e6e
}

.section-head>a {
    color: #6e6e6e
}

.tabs nav {
    display: flex;
    align-items: center;
    gap: 4px
}

.tabs nav button {
    padding: 11px 18px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #6e6e6e
}

.tabs nav button:focus { outline: 0 }

.tabs nav button.active {
    background: #f3f7ff;
    color: #1d479c;
    font-weight: 600
}

.tabs nav a {
    margin-left: 18px;
    color: #6e6e6e
}

#courses .section-head {
    border-bottom: 1px solid #e8ebf1
}

#teachers .section-head { border-bottom: 1px solid #e8ebf1 }

#courses .tabs nav {
    align-self: stretch;
    margin-left: auto;
}

#courses .tabs nav button {
    position: relative;
    height: 100%;
    padding: 0 11px;
    border-radius: 0;
    color: #25282e;
    font-size: 16px;
    font-weight: 500
}

#courses .tabs nav button.active {
    background: transparent;
    color: #1d479c;
    font-weight: 700
}

#courses .tabs nav button.active:after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 4em;
    height: .4em;
    background: url("../images/line.png") center/100% 100% no-repeat;
    transform: translateX(-50%)
}

#courses .tabs nav button:hover {
    color: #1d479c
}

#courses .course-more {
    align-self: center;
    margin-left: 120px;
    color: #9298a2;
    font-size: 16px;
    font-weight: 400
}

#courses .section-head span {
    color: #777f8c;
    font-size: 16px
}

#teachers .teacher-tabs {
    align-self: stretch;
    margin-left: auto
}

#teachers .teacher-tabs button {
    position: relative;
    height: 100%;
    padding: 0 12px;
    border-radius: 0;
    color: #25282e;
    font-size: 16px;
    font-weight: 500
}

#teachers .teacher-tabs button.active {
    background: transparent;
    color: #1d479c;
    font-weight: 700
}

#teachers .teacher-tabs button.active:after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 4em;
    height: .4em;
    background: url("../images/line.png") center/100% 100% no-repeat;
    transform: translateX(-50%)
}

#teachers .teacher-tabs button:hover { color: #1d479c }

#teachers .teacher-more {
    align-self: center;
    margin-left: 100px;
    color: #9298a2;
    font-size: 16px
}

#teachers .section-head span {
    color: #777f8c;
    font-size: 16px
}

#course-list {
    transition: opacity .16s ease, transform .16s ease
}

#course-list.is-switching {
    opacity: .72;
    transform: translateY(3px)
}

.product-state {
    width: 100%;
    margin: 0;
    padding: 80px 0;
    color: #9298a2;
    text-align: center
}

.tools-grid {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 952px;
    height: 257px
}

.tool {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #eaf1ff;
    cursor: pointer;
    outline: none;
    transition: border-color .28s ease, transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease
}

.tools-grid>.tool {
    width: 220px;
    height: 116.5px;
    margin: 0 24px 24px 0;
    flex: none
}

.tools-grid>.tool:nth-of-type(4n) {
    margin-right: 0
}

.tool-default,
.tool-qr {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    transition: transform .42s cubic-bezier(.22, .75, .25, 1), opacity .32s ease
}

.tool-default {
    z-index: 1;
    transform: translateY(0);
    opacity: 1
}

.tool-qr {
    z-index: 2;
    border-radius: 14px;
    background: #fff;
    transform: translateY(102%);
    opacity: .7
}

.tool:hover .tool-default,
.tool:focus-within .tool-default,
.tool:focus .tool-default {
    transform: translateY(-102%);
    opacity: .25
}

.tool:hover .tool-qr,
.tool:focus-within .tool-qr,
.tool:focus .tool-qr {
    transform: translateY(0);
    opacity: 1
}

.tool:hover,
.tool:focus-within,
.tool:focus {
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #79adfa 0%, #c9ddff 48%, #edf5ff 100%) border-box
}

.tool-default img {
    width: 54px;
    height: 54px;
    object-fit: contain
}

.tool-qr img {
    width: 72px;
    height: 72px;
    flex: none;
    object-fit: contain
}

.tool h3 {
    margin: 0 0 5px;
    font-size: 17px
}

.tool p {
    margin: 0;
    color: #919293;
    font-size: 13px
}

.tool-qr h3 {
    margin-bottom: 4px
}

.tool-qr p {
    line-height: 1.45;
    width: 60px;
}

.tool-banner {
    position: absolute;
    top: 0;
    left: 976px;
    display: block;
    width: 464px;
    height: 257px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease
}

.tool-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease
}

.tool-banner:hover,
.tool-banner:focus {
    transform: translateY(-4px);
    box-shadow: none;
    outline: none
}

.tool-banner:hover img,
.tool-banner:focus img {
    transform: scale(1.025)
}

.course-grid {
    display: flex;
    flex-flow: column wrap;
    align-content: flex-start;
    height: 550px
}

.course-grid>.course:not(.featured) {
    width: 464px;
    height: 263px;
    margin: 0 0 24px 24px;
    flex: none
}

.course-grid>.course.featured {
    width: 464px;
    height: 550px;
    margin: 0;
    flex: none
}

.course-grid>.course:nth-child(3),
.course-grid>.course:nth-child(5) {
    margin-bottom: 0
}

.course {
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(59, 130, 246, .06);
    transition: border-color .28s ease, transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease
}

.course:hover,
.course:focus-within {
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #79adfa 0%, #c9ddff 48%, #edf5ff 100%) border-box
}

.course button:hover,
.course button:focus {
    background: linear-gradient(135deg, #3268ca 0%, #1d479c 100%);
    color: #fff;
    box-shadow: none;
    transform: none;
    outline: none
}

.course:not(.featured)>.course-cover {
    display: block;
    float: left;
    width: 242px;
    height: 140px;
    margin: 20px 0 0 20px;
    overflow: hidden;
    border-radius: 10px;
}

.course-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s cubic-bezier(.22, .75, .25, 1)
}

.course-title:hover,
.course-title:focus {
    color: #1d479c
}

.course>div {
    display: flex;
    flex-direction: column
}

.course:not(.featured)>div {
    height: 190px;
    padding: 20px 18px 0
}

.course h3 {
    margin: 0;
    color: #202329;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45
}

.course p {
    margin: 8px 0;
    color: #737d8d;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5
}

.course footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #edf0f5
}

.course:not(.featured) footer {
    position: absolute;
    right: 20px;
    bottom: 0;
    left: 20px;
    height: 70px
}

.course strong {
    color: #ff5257;
    font-size: 25px;
    font-weight: 600;
    line-height: 1
}

.course strong small {
    font-size: 12px;
    font-weight: 500
}

.book-grid button,
.teacher-grid button,
.about-copy button,
.section-head>button {
    height: 38px;
    padding: 0 28px;
    border: 0;
    border-radius: 22px;
    background: #e6ecff;
    color: #1d479c;
    font-weight: 600
}

.course button {
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 22px;
    background: #e6ecff;
    color: #1d479c;
    font-size: 16px;
    font-weight: 600;
    transition: color .22s ease, background-color .22s ease
}

.course:not(.featured) button {
    width: 145px;
}

.course.featured>.course-cover {
    display: block;
    float: none;
    width: 100%;
    height: 267px;
    margin: 0;
    overflow: hidden;
    border-radius: 0
}

.course:hover .course-cover img,
.course:focus-within .course-cover img {
    transform: scale(1.018)
}

.course.featured>div {
    height: 283px;
    padding: 20px
}

.course.featured footer {
    margin-top: auto;
    padding-top: 18px
}

.course.featured button {
    width: 220px
}

.teachers-mini {
    display: flex;
    gap: 18px;
    margin-top: 14px
}

.teachers-mini span {
    display: flex;
    align-items: center;
    flex-direction: column
}

.teachers-mini span img { margin-bottom: 4px }

.teachers-mini img {
    width: 36px;
    height: 36px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover
}

.teachers-mini i {
    color: #7f8792;
    font-size: 12px;
    font-weight: 400;
    font-style: normal
}

.course-price p {
    margin: 3px 0 0;
    color: #9298a2;
    font-size: 12px
}

.course-price p b {
    color: #1d479c;
    font-weight: 500
}

.resource-grid,
.book-grid,
.teacher-grid {
    display: flex
}

.resource-grid article,
.book-grid article,
.teacher-grid article {
    width: 342px;
    margin-right: 24px;
    flex: none
}

.resource-grid article:last-child,
.book-grid article:last-child,
.teacher-grid article:last-child {
    margin-right: 0
}

.resource-grid article {
    height: 275px;
    padding: 36px 30px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(59, 130, 246, .06);
    transition: box-shadow .2s ease
}

#materials .section-head {
    border-bottom: 1px solid #e8ebf1
}

#materials .material-tabs {
    align-self: stretch;
    margin-left: auto
}

#materials .material-tabs button {
    position: relative;
    height: 100%;
    padding: 0 14px;
    border-radius: 0;
    color: #25282e;
    font-size: 16px;
    font-weight: 500
}

#materials .material-tabs button.active {
    background: transparent;
    color: #1d479c;
    font-weight: 700
}

#materials .material-tabs button.active:after {
    content: "";
    position: absolute;
    bottom: -7px;
    left: 50%;
    width: 4em;
    height: .4em;
    background: url("../images/line.png") center/100% 100% no-repeat;
    transform: translateX(-50%)
}

#materials .material-tabs button:hover { color: #1d479c }

#materials .material-more {
    align-self: center;
    margin-left: 120px;
    color: #9298a2;
    font-size: 16px
}

.material-panel[hidden] { display: none }

.resource-grid article:hover,
.resource-grid article:focus-within {
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #79adfa 0%, #c9ddff 48%, #edf5ff 100%) border-box;
    box-shadow: none
}

.resource-icon {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain
}

.resource-grid h3 {
    margin: 24px 0 14px;
    color: #25282e;
    font-size: 17px;
    font-weight: 600
}

.resource-grid p {
    margin: 0;
    color: #a4a9b1;
    font-size: 14px
}

.resource-grid p b {
    color: #1d479c;
    font-size: 14px;
    font-weight: 500
}

.resource-grid button {
    width: 100%;
    height: 42px;
    margin-top: 34px;
    border: 0;
    border-radius: 24px;
    background: #e6ecff;
    color: #1d479c;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease
}

.resource-grid button:hover,
.resource-grid button:focus {
    background: #1d479c;
    color: #fff;
    box-shadow: none
}

.resource-grid button i {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid currentColor;
    border-radius: 2px;
    vertical-align: -3px
}

.resource-grid button i:before {
    content: "";
    position: absolute;
    top: 2px;
    left: 4px;
    width: 4px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg)
}

.resource-grid button i:after {
    content: "";
    position: absolute;
    right: 2px;
    bottom: 2px;
    left: 2px;
    border-bottom: 2px solid currentColor
}

.book-grid article {
    display: flex;
    flex-direction: column;
    height: 443px;
    padding: 16px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(59, 130, 246, .06)
}

.book-carousel {
    position: relative
}

.book-swiper {
    overflow: hidden;
    margin-top: -20px;
    margin-bottom: -36px;
    padding-top: 20px;
    padding-bottom: 36px
}

.book-grid article {
    margin-right: 0
}

.book-swiper.is-static .book-grid article:not(:last-child) {
    margin-right: 24px
}

.book-grid article>div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    height: 238px;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f5f9
}

.book-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.book-grid h3 {
    height: 50px;
    margin: 14px 0 20px;
    overflow: hidden;
    color: #25282e;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.55
}

.book-grid p {
    display: flex;
    align-items: center;
    margin: 0;
    color: #a4a9b1;
    font-size: 12px
}

.book-grid p i {
    width: 16px;
    height: 19px;
    margin-right: 7px;
    background: url("../images/fire.png") center/contain no-repeat;
    flex: none
}

.book-grid p em {
    color: #ff9d35;
    font-style: normal
}

.book-grid footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto
}

.book-grid footer>div {
    display: flex;
    align-items: baseline
}

.book-grid strong {
    color: #ff5456;
    font-size: 21px;
    font-weight: 600
}

.book-grid strong small {
    margin-right: 2px;
    font-size: 12px;
    font-weight: 500
}

.book-grid del {
    margin-left: 8px;
    color: #bdc1c7;
    font-size: 13px;
    font-weight: 400
}

.book-grid button {
    min-width: 118px;
    font-size: 15px;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease
}

.book-grid button:hover,
.book-grid button:focus {
    background: #1d479c;
    color: #fff;
    box-shadow: none
}

.book-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #d9dee8;
    border-radius: 50%;
    background: #fff;
    color: #1d479c;
    box-shadow: 0 3px 12px rgba(35, 56, 93, .12);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color .2s ease, border-color .2s ease, background-color .2s ease
}

.book-arrow:hover,
.book-arrow:focus {
    border-color: #1d479c;
    background: #1d479c;
    color: #fff
}

.book-arrow i {
    width: 9px;
    height: 9px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-right: 3px;
}

.book-prev { left: -19px }
.book-prev i { transform: rotate(-135deg);margin-left: 5px; }
.book-next { right: -19px }

.teacher-carousel {
    position: relative
}

.teacher-swiper {
    overflow: hidden;
    margin-top: -10px;
    margin-right: -14px;
    margin-bottom: -22px;
    margin-left: -14px;
    padding-top: 10px;
    padding-right: 14px;
    padding-bottom: 22px;
    padding-left: 14px
}

.teacher-panel.is-static .teacher-grid {
    gap: 24px
}

.teacher-grid article {
    overflow: hidden;
    height: 430px;
    margin-right: 0;
    padding: 18px;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(59, 130, 246, .06);
    text-align: center
}

.teacher-photo {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 302px;
    height: 196px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff
}

.teacher-photo:before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 36px;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 12px;
    background: #e9f1ff url("../images/teacher-bg.jpg") center/cover no-repeat
}

.teacher-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 62%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    flex: none
}

.teacher-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 46px
}

.teacher-grid h3 {
    margin: 0 10px 0 0;
    color: #25282e;
    font-size: 18px
}

.teacher-grid .experience {
    position: relative;
    padding: 4px 12px 4px 25px;
    background: #4d91ff;
    color: #fff;
    font-size: 12px
}

.teacher-grid .experience:after {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    border-top: 12px solid #4d91ff;
    border-right: 10px solid transparent;
    border-bottom: 12px solid #4d91ff
}

.teacher-tags {
    height: 29px
}

.teacher-tags span {
    display: inline-block;
    margin: 0 3px;
    padding: 4px 9px;
    border-radius: 4px;
    background: #fff3df;
    color: #f28b00;
    font-size: 12px
}

.teacher-grid p {
    height: 61px;
    margin: 10px 0 12px;
    overflow: hidden;
    color: #657083;
    font-size: 13px;
    line-height: 1.6;
    text-align: left
}

.teacher-grid button {
    width: 100%;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease
}

.teacher-grid button:hover,
.teacher-grid button:focus {
    background: #1d479c;
    color: #fff;
    box-shadow: none
}

.teacher-arrow { top: calc(50% - 6px) }
.teacher-prev { left: -19px }
.teacher-prev i { transform: rotate(-135deg);margin-left: 3px; }
.teacher-next { right: -19px }
.teacher-next i { margin-right: 3px }


.teacher-panel[hidden] { display: none }

.app-section {
    position: relative;
    height: 471px;
    margin-top: 80px;
    overflow: hidden;
    border-radius: 28px;
    background: #0965f4 url("../images/app-banner.png") center/cover no-repeat;
    color: #fff
}

.app-copy {
    position: absolute;
    z-index: 2;
    top: 74px;
    left: 80px
}

.app-section h2 {
    margin: 0 0 14px;
    font-size: 32px
}

.app-section p {
    margin: 0 0 45px;
    font-size: 20px
}

.app-section ul {
    display: flex;
    margin: 0 0 48px;
    padding: 0;
    list-style: none
}

.app-section li {
    display: flex;
    align-items: center;
    margin-right: 34px;
    font-size: 16px;
    font-weight: 600
}

.app-section li i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border-radius: 50%;
    background: #16d78a;
    color: #0876c9;
    font-size: 14px;
    font-weight: 800;
    font-style: normal
}

.app-downloads {
    display: flex;
    align-items: stretch
}

.app-downloads>div {
    margin-right: 12px
}

.app-downloads a {
    display: flex;
    align-items: center;
    width: 190px;
    height: 47px;
    margin-bottom: 7px;
    padding: 0 16px;
    border-radius: 9px;
    background: #121826;
    color: #fff;
    font-size: 14px;
    opacity: 0;
    transform: translate3d(-90px, 0, 0);
    transition: opacity .45s ease, transform .7s cubic-bezier(.2, .8, .25, 1), background-color .2s ease
}

.app-downloads a:hover { background: #20293a }

.app-downloads a:nth-child(2) { transition-delay: .16s }

.app-section.visible .app-downloads a {
    opacity: 1;
    transform: translate3d(0, 0, 0)
}

.app-downloads a>img {
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex: none
}

.app-downloads a>span {
    flex: none;
    white-space: nowrap
}

.app-downloads>img {
    width: 101px;
    height: 101px;
    padding: 7px;
    border-radius: 9px;
    background: #fff;
    object-fit: contain;
    opacity: 0;
    transform: translate3d(-45px, 0, 0) scale(.88);
    transition: opacity .45s ease .3s, transform .65s cubic-bezier(.2, .8, .25, 1) .3s
}

.app-section.visible .app-downloads>img {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1)
}

.app-devices {
    position: absolute;
    right: 90px;
    bottom: 0;
    width: 520px;
    height: 455px
}

.app-device {
    position: absolute;
    opacity: 0;
    filter: drop-shadow(0 18px 24px rgba(0, 35, 98, .28));
    transform-origin: 50% 100%
}

.app-device-front {
    z-index: 2;
    bottom: -160px;
    left: 26px;
    width: 300px;
    animation-duration: 1.2s;
    animation-delay: .16s
}

.app-device-back {
    right: 6px;
    bottom: -150px;
    width: 260px;
    animation-duration: 1.1s
}

.app-device.animate__animated { opacity: 1 }

.metrics {
    display: flex;
    height: 170px;
    padding: 0 34px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 20px rgba(59, 130, 246, .06)
}

.metrics article {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 20%;
    padding: 0 24px
}

.metrics article:not(:last-child):after {
    content: "";
    position: absolute;
    top: 58px;
    right: 0;
    width: 1px;
    height: 54px;
    background: #e1e5eb
}

.metric-icon {
    width: 64px;
    height: 64px;
    margin-right: 18px;
    border-radius: 12px;
    object-fit: cover;
    flex: none
}

.metrics article>div {
    min-width: 0
}

.metrics b {
    display: block;
    color: #1d479c;
    font-size: 32px
}

.metrics b small {
    font-size: 17px
}

.metrics article>div>span {
    display: block;
    margin-top: 7px;
    color: #25282e;
    font-size: 14px;
    white-space: nowrap
}

#about .about-consult {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 48px;
    padding: 0;
    border-radius: 25px;
    background: #1d479c;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease
}

#about .about-consult img {
    width: 22px;
    height: 22px;
    margin-right: 10px;
    object-fit: contain
}

#about .about-consult:hover,
#about .about-consult:focus {
    background: #153d87;
    box-shadow: none;
    transform: translateY(-2px)
}

.about-grid {
    display: flex;
    align-items: stretch;
    padding: 80px 0;
}

.about-grid article {
    width: 302px;
    height: 340px;
    margin-right: 24px;
    min-width: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 16px;
    background: #fff;
    flex: none;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease
}

.about-grid article:not(.about-copy):hover,
.about-grid article:not(.about-copy):focus-within {
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #79adfa 0%, #c9ddff 48%, #edf5ff 100%) border-box;
    transform: translateY(-3px);
    box-shadow: 0 4px 18px rgba(29, 71, 156, .15)
}

.about-grid article.about-copy {
    width: 438px;
    margin-right: 50px;
    border: 0;
    background: transparent;
    display: flex;
    flex-direction: column
}

.about-grid article:last-child {
    width: 302px;
    margin-right: 0
}

.about-copy h2 {
    margin: 0 0 38px;
    padding-left: 18px;
    color: #1d479c;
    font-size: 24px;
    line-height: 60px;
    position: relative;
}
.about-copy h2:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 34px;
    border-radius: 999px;
    background: #1d479c;
    transform: translateY(-50%);
}

.about-copy p {
    margin: 0 0 26px;
    color: #383d46;
    font-size: 15px;
    line-height: 1.9
}

.about-copy button {
    width: 340px;
    height: 52px;
    margin-top: auto;
    border: 0;
    border-radius: 28px;
    background: #e6ecff;
    color: #1d479c;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease
}

.about-copy button:hover,
.about-copy button:focus {
    background: #1d479c;
    color: #fff
}

.about-grid article:not(.about-copy) img {
    width: 100%;
    height: 170px;
    object-fit: cover
}

.about-grid article:not(.about-copy) h3 {
    margin: 22px 22px 14px;
    color: #25282e;
    font-size: 18px
}

.about-grid article:not(.about-copy) p {
    height: 66px;
    margin: 0 20px;
    overflow: hidden;
    color: #969ca5;
    font-size: 14px;
    line-height: 1.65
}

.about-grid article:not(.about-copy) a {
    display: flex;
    align-items: center;
    margin: 0 20px;
    color: #1d479c;
    font-size: 15px;
    font-weight: 600
}

.about-grid article:not(.about-copy) a span {
    margin-left: 14px;
    font-size: 24px;
    line-height: 1;
    transition: transform .2s ease
}

.about-grid article:not(.about-copy) a:hover span {
    transform: translateX(4px)
}

.site-footer {
    background: #0f192e;
    color: #a9b3c5
}

.footer-main {
    display: flex;
    height: 300px;
    padding: 58px 0 38px
}

.footer-brand {
    width: 358px;
    margin-right: 70px;
    flex: none
}

.footer-links {
    display: flex;
    width: 617px;
    margin-right: 70px;
    flex: none
}

.footer-main>.qr {
    width: 325px;
    flex: none
}

.footer-brand img {
    width: 275px;
    filter: brightness(0) invert(1)
}

.footer-brand p {
    display: flex;
    align-items: center;
    margin: 14px 0;
    font-size: 13px
}

.footer-brand p:first-of-type { margin-top: 34px }

.footer-brand p img,
.footer-brand p>span {
    width: 18px;
    height: 18px;
    margin-right: 9px;
    object-fit: contain
}

.footer-brand p>span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px
}

.footer-links section {
    display: flex;
    width: 25%;
    flex-direction: column;
    gap: 12px
}

.footer-links h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 16px
}

.footer-links a {
    color: #8e99ad;
    font-size: 14px
}

.footer-links a:hover,
.footer-links a:focus {
    color: #fff
}

.qr {
    display: flex;
    justify-content: space-between;
    gap: 24px
}

.qr figure {
    margin: 0;
    text-align: center
}

.qr figure>div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 104px;
    height: 104px;
    padding: 7px;
    border-radius: 8px;
    background: #fff;
    color: #12356d;
    font-weight: 700
}

.qr figure>div img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.qr figcaption {
    margin-top: 14px;
    color: #fff;
    font-size: 15px;
    font-weight: 600
}

.qr small {
    display: block;
    margin-top: 4px;
    color: #768399;
    font-size: 11px;
    font-weight: 400
}

.copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 104px;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 12px
}

.copyright p { margin: 0 }
.copyright a { margin-left: 45px }
.copyright a:hover,
.copyright a:focus { color: #fff }

.side-toolbar {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 70;
    width: 88px;
    padding: 18px 0 12px;
    border-radius: 18px 0 0 18px;
    background: #fff;
    box-shadow: 0 10px 36px rgba(29, 71, 156, .14);
    transform: translateY(-50%)
}

.side-toolbar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 92px;
    padding: 8px 4px;
    border: 0;
    background: transparent;
    color: #6e6e6e;
    flex-direction: column;
    font-size: 14px;
    line-height: 1.4;
    transition: color .2s ease, background-color .2s ease, transform .2s ease
}

.side-toolbar-item img {
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    object-fit: contain;
    flex: none;
    transition: transform .2s ease
}

.side-toolbar-icon {
    position: relative;
    display: block;
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    flex: none
}

.side-toolbar-icon img {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    opacity: 1;
    transition: opacity .2s ease, transform .2s ease
}

.side-toolbar-icon .side-toolbar-hover-icon {
    opacity: 0
}

.side-toolbar-service {
    height: 100px
}

.side-toolbar-service img {
    width: 57px;
    height: 59px;
    margin-bottom: -3px
}

.side-toolbar-service span {
    padding: 2px 7px;
    border-radius: 4px;
    background: #1688ef;
    color: #fff;
    white-space: nowrap
}

.side-toolbar-item:hover {
    color: #1d479c;
    transform: translateY(-2px)
}

.side-toolbar-item:hover img {
    transform: scale(1.08)
}

.side-toolbar-item:hover .side-toolbar-icon img:first-child {
    opacity: 0
}

.side-toolbar-item:hover .side-toolbar-icon .side-toolbar-hover-icon {
    opacity: 1
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .8s cubic-bezier(.22, 1, .36, 1)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

.resource-grid article,
.book-grid article,
.teacher-grid article {
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease
}

.tool {
    transition: border-color .28s ease, transform .35s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease
}

.tool:hover,
.tool:focus-within,
.tool:focus,
.resource-grid article:hover,
.resource-grid article:focus-within,
.course:hover,
.course:focus-within,
.book-grid article:hover,
.book-grid article:focus-within,
.teacher-grid article:hover,
.teacher-grid article:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 4px 18px rgba(29, 71, 156, .15)
}

.book-grid article:hover,
.book-grid article:focus-within,
.teacher-grid article:hover,
.teacher-grid article:focus-within {
    border-color: transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #79adfa 0%, #c9ddff 48%, #edf5ff 100%) border-box
}

.book-grid article:hover,
.book-grid article:focus-within {
    box-shadow: 0 4px 18px rgba(29, 71, 156, .15)
}

.modal[hidden] {
    display: none
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 22, 48, .58);
    opacity: 0;
    transition: opacity .22s
}

.modal.is-visible {
    opacity: 1
}

.modal-panel {
    position: relative;
    width: 440px;
    max-width: 100%;
    padding: 38px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(6, 29, 72, .28);
    transform: translateY(16px);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1)
}

.modal.is-visible .modal-panel {
    transform: none
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f3f7ff;
    color: #6e6e6e;
    font-size: 26px
}

.modal-kicker {
    margin: 0 0 8px;
    color: #ff5456;
    font-size: 14px;
    font-weight: 600
}

.modal h2 {
    margin: 0 0 10px;
    color: #12356d;
    font-size: 28px
}

.modal-panel>p:not(.modal-kicker) {
    color: #6e6e6e
}

.follow-modal-panel {
    width: 700px;
    padding: 42px 54px 48px;
    text-align: center
}

.follow-modal-panel h2 {
    margin-bottom: 8px
}

.follow-modal-panel>p {
    margin: 0 0 28px
}

.follow-qr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 58px
}

.follow-qr-grid figure {
    margin: 0
}

.follow-qr-grid figure>div {
    width: 190px;
    height: 190px;
    margin: 0 auto 10px;
    overflow: hidden;
    border-radius: 12px;
    background: #f7f8fa
}

.follow-qr-grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain
}

.follow-qr-grid figcaption {
    color: #6e6e6e;
    font-size: 18px
}

@media(max-width:600px) {
    .follow-modal {
        padding: 14px
    }

    .follow-modal-panel {
        max-height: calc(100vh - 28px);
        padding: 34px 20px 28px;
        overflow-y: auto
    }

    .follow-modal-panel>p {
        margin-bottom: 20px;
        font-size: 13px
    }

    .follow-qr-grid {
        gap: 20px 12px
    }

    .follow-qr-grid figure>div {
        width: min(34vw, 150px);
        height: min(34vw, 150px)
    }

    .follow-qr-grid figcaption {
        font-size: 15px
    }
}

.modal label {
    display: flex;
    flex-direction: column;
    color: #4b5563;
    font-size: 14px;
    font-weight: 600
}

.modal label input { margin-top: 8px }

.modal input {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #dce5f7;
    border-radius: 10px;
    outline: 0
}

.modal input:focus {
    border-color: #1d479c;
    box-shadow: 0 0 0 3px rgba(29, 71, 156, .1)
}

.login-submit {
    width: 100%;
    height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 25px;
    background: #1d479c;
    color: #fff;
    font-weight: 600
}

@media(prefers-reduced-motion:reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }

    .tool,
    .course,
    .resource-grid article,
    .book-grid article,
    .teacher-grid article {
        transition: none
    }

    .tool-default,
    .tool-qr {
        transition: none
    }

    .course-cover img,
    .course button {
        transition: none
    }

    .app-device {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none
    }

    .app-downloads a,
    .app-downloads>img {
        opacity: 1;
        transform: none;
        transition: none
    }

    .phone-digits>span { animation: none }


    .course:hover .course-cover img,
    .course:focus-within .course-cover img,
    .course button:hover,
    .course button:focus {
        transform: none
    }

    .tool-banner,
    .tool-banner img {
        transition: none
    }

    .tool-banner:hover,
    .tool-banner:focus,
    .tool-banner:hover img,
    .tool-banner:focus img {
        transform: none
    }

    .news-card em,
    .news-card em:before,
    .news-card em:after {
        animation: none
    }

    .sail-card button {
        transition: none
    }

    .sail-card button:hover,
    .sail-card button:focus,
    .sail-card button:active {
        transform: none
    }
}

.tel-icon {
    display: block;
    width: 20px;
    height: 20px;
    flex: none;
    object-fit: contain
}

.app-phone-icon,
.branch-nav strong img,
.news-title-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex: none;
    object-fit: contain
}

.exam-icon {
    display: block;
    width: 24px;
    height: 24px;
    flex: none;
    object-fit: contain
}
