:root {
    --ink: #251d2b;
    --muted: #71697a;
    --rose: #ff4f87;
    --violet: #7d5cff;
    --cream: #fff9f7;
    --line: #eee4ea;
    --shadow: 0 16px 42px rgba(73, 42, 76, .11);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.75;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}
.wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.site-head {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 249, 247, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}
.head-row {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 22px;
}
.brand {
    color: var(--rose);
    font-size: 22px;
    font-weight: 800;
    white-space: nowrap;
}
.brand-mark {
    display: inline-grid;
    width: 30px;
    height: 30px;
    margin-right: 7px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--violet));
    border-radius: 11px;
}
.nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
}
.nav a {
    padding: 7px 8px;
    color: var(--muted);
    border-radius: 10px;
    font-size: 14px;
    white-space: nowrap;
}
.nav a:hover,
.nav a.active {
    color: var(--rose);
    background: #fff0f5;
}
.search {
    color: var(--violet);
    font-size: 18px;
}
.hero {
    margin-top: 28px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: var(--shadow);
}
.slide {
    position: relative;
    display: grid;
    min-height: 408px;
    padding: 46px;
    align-items: end;
    color: #fff;
    background-position: center;
    background-size: cover;
}
.slide::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgba(30, 14, 31, .79), rgba(30, 14, 31, .14));
}
.slide-copy {
    position: relative;
    max-width: 600px;
}
.eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 99px;
    background: rgba(255, 255, 255, .18);
    font-size: 13px;
}
.slide h2 {
    margin: 14px 0 8px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.18;
}
.btn {
    display: inline-block;
    margin-top: 13px;
    padding: 10px 18px;
    color: #fff;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--rose), var(--violet));
    font-weight: 700;
}
.dots {
    position: absolute;
    right: 28px;
    bottom: 20px;
    z-index: 1;
}
.dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 4px;
    border-radius: 50%;
    background: #fff;
    opacity: .55;
}
.dots span:first-child {
    width: 24px;
    border-radius: 99px;
    opacity: 1;
}
.section {
    margin-top: 48px;
}
.section-title {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}
.section-title h1,
.section-title h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.35;
}
.section-title p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(73, 42, 76, .06);
}
.thumb {
    aspect-ratio: 16 / 10;
}
.card-body {
    min-height: 155px;
    padding: 16px;
}
.tag {
    color: var(--violet);
    font-size: 12px;
    font-weight: 700;
}
.card h2,
.card h3 {
    margin: 7px 0;
    font-size: 17px;
    line-height: 1.48;
}
.card p,
.meta,
.intro {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}
.topic {
    min-height: 166px;
    padding: 22px;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff719d, #7658e9);
}
.topic:nth-child(2n) {
    background: linear-gradient(135deg, #ff9c57, #fb5488);
}
.topic:nth-child(3n) {
    background: linear-gradient(135deg, #5f7ff5, #9256dc);
}
.topic h3 {
    margin: 10px 0 5px;
    font-size: 19px;
}
.topic p {
    margin: 0;
    font-size: 13px;
    opacity: .9;
}
.feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.feature img {
    min-height: 310px;
    aspect-ratio: 16 / 10;
}
.feature-copy {
    display: grid;
    padding: 38px;
    align-content: center;
}
.feature-copy h2 {
    margin: 8px 0;
    font-size: 28px;
    line-height: 1.35;
}
.feature-copy p {
    color: var(--muted);
}
.notice,
.about,
.download {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}
.notice strong {
    color: var(--rose);
}
.about p {
    max-width: 940px;
    margin: 0;
    color: var(--muted);
}
.download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(120deg, #fff, #fff1f6);
}
.download h2 {
    margin: 0 0 8px;
}
.qr {
    display: grid;
    width: 105px;
    min-width: 105px;
    height: 105px;
    place-items: center;
    color: #fff;
    border: 7px solid #fff;
    border-radius: 14px;
    background: repeating-linear-gradient(45deg, #271e31 0 8px, #ff4f87 8px 14px);
    font-weight: 800;
    text-align: center;
}
.crumb {
    margin: 25px 0 16px;
    color: var(--muted);
    font-size: 13px;
}
.crumb a {
    color: var(--violet);
}
.page-head {
    padding: 28px;
    border-radius: 18px;
    background: #fff;
}
.page-head h1 {
    margin: 0 0 8px;
    font-size: 31px;
}
.article {
    padding: clamp(22px, 5vw, 54px);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
}
.article h1 {
    margin: 0 0 12px;
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.35;
}
.article h2 {
    margin-top: 34px;
    font-size: 23px;
}
.article p {
    color: #514957;
}
.article figure {
    margin: 28px 0;
}
.article figure img {
    aspect-ratio: 16 / 9;
    border-radius: 13px;
}
.article figcaption {
    margin-top: 7px;
    color: var(--muted);
    font-size: 13px;
}
.ending {
    padding: 18px;
    color: var(--violet);
    border-left: 4px solid var(--violet);
    border-radius: 8px;
    background: #f7f4ff;
}
.site-foot {
    margin-top: 48px;
    padding: 30px 0;
    color: #887e8d;
    text-align: center;
    font-size: 13px;
}
@media (max-width: 820px) {
    .head-row {
        min-height: auto;
        flex-wrap: wrap;
        gap: 4px;
        padding: 11px 0;
    }
    .nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }
    .search {
        margin-left: auto;
    }
    .slide {
        min-height: 350px;
        padding: 28px;
    }
    .grid,
    .grid.four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }
    .feature {
        grid-template-columns: 1fr;
    }
    .feature img {
        min-height: 210px;
    }
    .feature-copy {
        padding: 26px;
    }
}
@media (max-width: 480px) {
    .wrap {
        width: min(100% - 22px, 1180px);
    }
    .grid,
    .grid.four {
        grid-template-columns: 1fr;
    }
    .section {
        margin-top: 34px;
    }
    .section-title {
        display: block;
    }
    .section-title p {
        margin-top: 6px;
    }
    .download {
        align-items: flex-start;
    }
}
