:root {
    --ink: #14181f;
    --ink-soft: #565d6b;
    --line: #e4e7ec;
    --line-soft: #eef0f3;
    --bg: #ffffff;
    --bg-soft: #f6f7f9;
    --accent: #2563eb;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

.wrap {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 28px;
}

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

h1, h2, h3 {
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.01em;
}

p {
    margin: 0;
}

code {
    padding: 1px 6px;
    border-radius: 5px;
    background: var(--bg-soft);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    color: var(--ink);
}

/* ---------- 顶栏 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15.5px;
    font-weight: 600;
}

.brand img {
    border-radius: 7px;
}

.nav {
    display: flex;
    gap: 26px;
    font-size: 14.5px;
    color: var(--ink-soft);
}

.nav a:hover {
    color: var(--ink);
}

/* ---------- 首屏 ---------- */
.intro {
    padding: 76px 0 0;
    max-width: 660px;
}

.intro h1 {
    font-size: 42px;
    line-height: 1.2;
}

.lead {
    margin-top: 22px;
    font-size: 17px;
    line-height: 1.85;
    color: var(--ink-soft);
}

.actions {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 10px;
    background: var(--ink);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s ease;
}

.btn:hover {
    background: #000;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: var(--ink-soft);
}

.text-link:hover {
    color: var(--ink);
}

/* ---------- 截图 ---------- */
.shots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 64px;
}

.shot {
    margin: 0;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: var(--bg-soft);
}

.shot figcaption {
    margin-top: 12px;
    font-size: 13.5px;
    color: var(--ink-soft);
    text-align: center;
}

/* ---------- 分区 ---------- */
.section {
    padding: 84px 0 0;
}

.section h2 {
    font-size: 26px;
}

/* ---------- 功能卡片 ---------- */
.cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-top: 34px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.card {
    padding: 26px 26px 28px;
    background: var(--bg);
}

.card h3 {
    font-size: 16px;
}

.card p {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--ink-soft);
}

/* ---------- 步骤 ---------- */
.steps {
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

#install .steps {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-top: 0;
}

.steps li {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.step-no {
    display: block;
    margin-bottom: 12px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
}

.steps h3 {
    font-size: 16px;
}

.steps p {
    margin-top: 7px;
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--ink-soft);
}

/* ---------- 安装 ---------- */
.install-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
    margin-top: 34px;
    align-items: start;
}

.download-card {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg-soft);
    text-align: center;
}

.download-card img {
    border-radius: 14px;
}

.download-title {
    margin: 12px 0 20px;
    font-size: 17px;
    font-weight: 600;
}

.download-card .btn {
    width: 100%;
}

.download-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 16px;
    font-size: 13.5px;
    color: var(--ink-soft);
}

/* ---------- 页脚 ---------- */
.site-footer {
    margin-top: 96px;
    border-top: 1px solid var(--line-soft);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 28px 28px 40px;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.footer-inner a {
    border-bottom: 1px solid var(--line);
}

.footer-inner a:hover {
    color: var(--ink);
}

/* ---------- 窄屏 ---------- */
@media (max-width: 760px) {
    .wrap {
        padding: 0 20px;
    }

    .nav {
        gap: 18px;
        font-size: 14px;
    }

    .nav a:first-child {
        display: none;
    }

    .intro {
        padding-top: 52px;
    }

    .intro h1 {
        font-size: 34px;
    }

    .lead {
        font-size: 16px;
    }

    .shots {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-top: 44px;
    }

    .shots .shot:last-child {
        display: none;
    }

    .section {
        padding-top: 60px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .install-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-inner {
        justify-content: flex-start;
        padding: 24px 20px 36px;
    }
}
