:root {
    --content-width: 1200px;
    --heading-color: #2a2b2e;
    --description-color: #626469;
}

html {
    height: 100%;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    min-height: 100%;
    margin: 0;
    background: #fff;
    color: #000;
    font: 14px/1 "PingFang SC", "Segoe UI", Arial, "Microsoft YaHei",
        "微软雅黑", "宋体", "Malgun Gothic", sans-serif;
}

h2, h3, p, ul {
    margin: 0;
    padding: 0;
}

h2, h3 {
    font: inherit;
}

ul {
    list-style: none;
}

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

a:focus-visible {
    outline: 2px solid #c4322a;
    outline-offset: 3px;
}

.home-bg {
    min-width: var(--content-width);
}

.header {
    height: 48px;
}

.main {
    min-height: calc(100vh - 447px);
}

.nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 999;
    display: flex;
    align-items: center;
    height: 72px;
}

.scrolling-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgb(255 255 255 / 70%);
    backdrop-filter: blur(15px);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: var(--content-width);
    margin-inline: auto;
}

.item-left {
    display: flex;
    align-items: center;
}

.item-left .logo {
    width: 164px;
}

.item-right {
    display: flex;
    font-size: 16px;
}

.nav-toggle {
    display: none;
}

.tab {
    margin-left: 40px;
}

.tab.active {
    position: relative;
    color: var(--heading-color);
    cursor: pointer;
}

.tab.active::after {
    position: absolute;
    inset: auto 0 -8px;
    width: 16px;
    height: 2px;
    margin-inline: auto;
    border-radius: 1px;
    background: #fb4a3e;
    content: "";
}

.first {
    position: relative;
    height: 759px;
}

.first .banner {
    position: absolute;
    inset: -48px 0 auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.first .content {
    position: absolute;
    inset: 133px 0 auto;
    z-index: 1;
    width: var(--content-width);
    margin-inline: auto;
    text-align: center;
}

.first .logo {
    display: block;
    height: 38px;
    margin: 48px auto 0;
}

.first .title {
    height: 84px;
    margin: 25px auto 40px;
}

.first .computer {
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    width: 823px;
    margin-inline: auto;
}

.download-area {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 16.5px;
}

.image-link {
    display: inline-flex;
    vertical-align: top;
}

.download-area img {
    height: 72px;
}

.download-row {
    line-height: 0;
}

.download-old {
    display: inline-block;
    max-width: 116px;
    color: #939599;
    font: 16px/1 "PingFang SC";
}

.ios-history {
    max-width: 360px;
    margin-bottom: 8px;
}

.download-old .icon {
    width: 16px;
    height: 16px;
    vertical-align: top;
}

.part1 {
    width: var(--content-width);
    margin: 90px auto 120px;
}

.part1 .title, .part2 .title, .bottom .title {
    font-size: 48px;
    font-weight: 600;
    text-align: center;
}

.part1 .title, .bottom .title {
    color: var(--heading-color);
    letter-spacing: .008em;
}

.part1 .title {
    line-height: 1.15;
}

.part1 .desc {
    margin: 16px auto 80px;
    color: #939599;
    font-size: 22px;
    text-align: center;
}

.detail-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 100px auto;
}

.detail-item .img1 {
    width: 750px;
}

.detail-item .subtitle {
    color: var(--feature-color);
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .8%;
}

.ai-Box {
    --feature-color: #ff878c;
}

.notebook {
    --feature-color: #8fc9fa;
}

.aiTrans {
    --feature-color: #a385ff;
}

.aiWrite {
    --feature-color: #85c4ff;
}

.aiBox-desc {
    padding-block: 20px;
}

.notebook-desc, .aiTrans-desc {
    width: 400px;
}

.aiWrite-desc {
    width: 410px;
}

.subtitle-desc {
    margin-top: 10px;
    color: var(--description-color);
    font-size: 18px;
    line-height: 27px;
}

.subtitle-desc:first-of-type {
    margin-top: 30px;
}

.notebook-desc .subtitle-desc {
    margin-bottom: 10px;
}

.aiBox-desc:not(.notebook-desc) .subtitle-desc {
    margin-block: 10px;
    font-size: 16px;
    line-height: 24px;
}

.infos {
    overflow: hidden;
}

.infos-item {
    display: flow-root;
    margin-block: 10px;
}

.infos-item-tip {
    position: relative;
    isolation: isolate;
    display: block;
    color: #3c3329;
    font-size: 18px;
    font-weight: 600;
    line-height: 27px;
}

.infos-item-tip::before {
    position: absolute;
    inset: auto auto 0 0;
    z-index: -1;
    width: 78px;
    height: 10px;
    border-radius: 2px;
    background: rgb(255 201 189 / 40%);
    content: "";
}

.notebook-infos .infos-item-tip::before {
    background: rgb(143 201 250 / 30%);
}

.infos-item-tip-desc {
    margin-block: 10px;
    color: var(--description-color);
    font-size: 16px;
}

.part2 {
    padding: 140px 0 110px;
    background: linear-gradient(158deg, #dcf4fb, #dbf0ff 15%, #f8fdff 57%, #e7f9f9);
}

.part2 .title, .bottom .title {
    line-height: 55px;
}

.part2 .title {
    margin-bottom: 60px;
}

.rows {
    display: grid;
    grid-template-columns: repeat(2, 584px);
    justify-content: space-between;
    gap: 42px 0;
    width: var(--content-width);
    margin: 0 auto 42px;
}

.row-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 640px;
    border-radius: 32px;
    background: #fff;
}

.row-item .text {
    padding: 40px 48px 0;
}

.sub-title {
    font-size: 32px;
    font-weight: 600;
}

.sub-desc {
    margin-top: 24px;
    color: var(--description-color);
    font-size: 18px;
    line-height: 27px;
}

.row-item .img {
    width: 584px;
}

.row-item:last-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
}

.row-item:last-child .img {
    margin-right: 70px;
}

.bottom-infos {
    display: grid;
    grid-template-columns: repeat(2, 534px);
    justify-content: space-between;
    box-sizing: border-box;
    width: var(--content-width);
    margin-inline: auto;
    padding-inline: 30px;
}

.bottom-infos-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 20px 0 40px;
}

.bottom-infos-img-box {
    display: grid;
    flex: 0 0 114px;
    place-content: center;
    height: 114px;
    overflow: hidden;
    border-radius: 35px;
}

.bottom-infos-img {
    width: 115px;
    height: 115px;
}

.bottom-infos-title {
    color: #101214;
    font-size: 22px;
    font-weight: 600;
    line-height: 30px;
}

.bottom-infos-desc {
    margin-top: 10px;
    color: var(--description-color);
    font-size: 18px;
    line-height: 27px;
}

.bottom {
    height: 750px;
    background: linear-gradient(145deg, #fff 20%, #f8f0fd 58%, #fff 83%);
}

.bottom .download {
    width: var(--content-width);
    margin-inline: auto;
    padding-top: 120px;
    text-align: center;
}

.honor {
    display: flex;
    justify-content: space-between;
    margin: 60px auto;
}

.honor-item {
    width: 224px;
    height: 270px;
}

.download-btn {
    width: 226px;
}

.dict-website-footer {
    --footer-width: 1600px;
    --footer-links-width: 1200px;
    min-width: var(--footer-width);
    padding-top: 48px;
    background: #f1f6ff;
    color: #85899e;
    font: 12px/1 "PingFang SC";
}

.dict-website-footer-container {
    display: flex;
    justify-content: space-between;
    width: var(--footer-width);
    margin-inline: auto;
    padding-bottom: 36px;
}

.official-code .logo {
    width: 130px;
}

.wechat-container {
    display: flex;
    margin-top: 20px;
}

.wechat-qrcode {
    width: 76px;
    height: 76px;
}

.wechat-container p, .channel-area-title {
    font-size: 14px;
    line-height: 1.5;
}

.wechat-container p {
    margin-left: 12px;
}

.channel-area-title {
    margin-top: 28px;
}

.select-channel_area {
    margin-top: 12px;
}

.channel-logo {
    width: 32px;
    height: 32px;
}

.channel-logo:nth-child(2) {
    margin-inline: 9px;
}

.channel-logo:last-child {
    margin-right: 9px;
}

.foot-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: var(--footer-links-width);
    height: 255px;
}

.foot-list {
    white-space: nowrap;
}

.foot-list:first-child {
    min-width: 142px;
}

.foot-list:last-child {
    position: absolute;
    inset: 125px auto auto 0;
}

.foot-list .list-title {
    margin-bottom: 9px;
    color: #2a2f45;
    font-size: 16px;
    font-weight: 500;
}

.foot-list .value {
    font-size: 14px;
    line-height: 28px;
}

@media (max-width: 1920px) {
    .dict-website-footer {
        --footer-width: 1024px;
        --footer-links-width: 762px;
    }
}

@media (max-width: 1280px) {
    .dict-website-footer {
        --footer-width: 808px;
        --footer-links-width: 566px;
    }
}

@media (width < 1200px) {
    :root {
        --content-width: calc(100% - 40px);
    }

    .home-bg, .dict-website-footer {
        min-width: 0;
    }

    .tab {
        margin-left: 20px;
    }

    .first .title {
        width: min(100%, 1082px);
        height: auto;
    }

    .detail-item {
        gap: 24px;
    }

    .detail-item .img1 {
        width: 60%;
        height: auto;
    }

    .rows, .bottom-infos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .row-item {
        height: auto;
        gap: 24px;
    }

    .row-item .img {
        width: 100%;
        height: auto;
    }

    .row-item:last-child .img {
        width: 50%;
        margin-right: 0;
    }

    .honor {
        gap: 12px;
    }

    .honor-item {
        width: calc((100% - 48px) / 5);
        height: auto;
    }
}

@media (max-width: 900px) {
    .header, .nav {
        height: 60px;
    }

    .nav {
        background: #fff;
        box-shadow: 0 1px 0 rgb(0 0 0 / 8%);
    }

    .item-left .logo {
        display: block;
        width: 132px;
    }

    .nav-toggle {
        display: block;
        min-height: 44px;
        padding: 0 14px;
        border: 1px solid #e8eaee;
        border-radius: 8px;
        background: #fff;
        color: var(--heading-color);
        font: inherit;
        cursor: pointer;
    }

    .item-right {
        position: absolute;
        inset: 60px 0 auto;
        display: none;
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        padding: 8px 20px;
        background: #fff;
        box-shadow: 0 8px 16px rgb(0 0 0 / 8%);
    }

    .nav-toggle[aria-expanded="true"] + .item-right {
        display: grid;
    }

    .tab {
        display: flex;
        align-items: center;
        min-height: 44px;
        margin: 0;
    }

    .tab.active {
        color: #c4322a;
    }

    .tab.active::after {
        content: none;
    }

    .first {
        height: auto;
        padding: 62px 0 56px;
    }

    .first .banner {
        inset: 0;
    }

    .first .content {
        position: relative;
        inset: auto;
    }

    .first .computer {
        display: none;
    }

    .first .logo {
        height: 30px;
        margin-top: 0;
    }

    .first .title {
        display: block;
        max-width: 630px;
        margin: 20px auto 28px;
    }

    .download-area {
        flex-wrap: wrap;
    }

    .download-area img {
        width: auto;
        height: clamp(44px, 15vw, 64px);
    }

    .download-row, .download-old {
        line-height: 1.5;
    }

    .download-old {
        max-width: 100%;
        color: var(--description-color);
        font-size: 14px;
    }

    .download-old .icon {
        vertical-align: middle;
    }

    .part1 {
        margin: 48px auto;
    }

    .part1 .title, .part2 .title, .bottom .title {
        font-size: clamp(26px, 4.5vw, 38px);
        line-height: 1.25;
    }

    .part1 .desc {
        margin: 12px auto 24px;
        font-size: 14px;
        line-height: 1.5;
    }

    .detail-item {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        max-width: 640px;
        margin: 32px auto 48px;
    }

    .detail-item .img1 {
        order: 1;
        width: 100%;
    }

    .aiBox-desc, .notebook-desc, .aiTrans-desc, .aiWrite-desc {
        width: auto;
        padding: 0;
    }

    .detail-item .subtitle {
        font-size: 26px;
        line-height: 1.25;
    }

    .subtitle-desc:first-of-type {
        margin-top: 12px;
    }

    .infos-item-tip-desc {
        line-height: 1.5;
    }

    .part2 {
        padding: 48px 0 24px;
    }

    .part2 .title {
        margin: 0 20px 28px;
    }

    .rows, .bottom-infos {
        max-width: 640px;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .row-item {
        border-radius: 20px;
    }

    .row-item:last-child {
        flex-direction: column;
        align-items: stretch;
    }

    .row-item:last-child .img {
        width: 100%;
    }

    .row-item .text {
        padding: 22px 20px 0;
    }

    .sub-title, .bottom-infos-title {
        font-size: 22px;
        line-height: 1.25;
    }

    .sub-desc, .bottom-infos-desc {
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.6;
    }

    .bottom-infos {
        padding: 0;
    }

    .bottom-infos-item {
        gap: 12px;
        margin: 0 0 16px;
    }

    .bottom-infos-img-box {
        flex-basis: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .bottom-infos-img {
        width: 64px;
        height: 64px;
    }

    .bottom {
        height: auto;
    }

    .bottom .download {
        padding-block: 48px;
    }

    .honor {
        flex-wrap: wrap;
        justify-content: center;
        margin: 28px auto;
    }

    .honor-item {
        width: clamp(120px, 28%, 170px);
    }

    .dict-website-footer {
        padding-top: 32px;
    }

    .dict-website-footer-container {
        flex-direction: column;
        gap: 28px;
        width: var(--content-width);
    }

    .foot-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(125px, 100%), 1fr));
        gap: 24px 16px;
        width: 100%;
        height: auto;
    }

    .foot-list {
        white-space: normal;
    }

    .foot-list:first-child {
        min-width: 0;
    }

    .foot-list:last-child {
        position: static;
    }
}
