:root {
    --bg: #f2f7fd;
    --surface: #ffffff;
    --line: #d3dfec;
    --text: #213243;
    --muted: #5b6f85;
    --brand: #0c79dd;
    --brand-soft: #e4f1ff;
    --warn-soft: #fff6ee;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow: 0 12px 28px rgba(16, 48, 79, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    background: radial-gradient(circle at 8% 0%, #e5f1ff 0%, var(--bg) 34%, var(--bg) 100%);
    color: var(--text);
    font: 15px/1.7 "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
    color: var(--brand);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    width: min(980px, calc(100% - 24px));
    margin: 22px auto;
    padding-bottom: calc(env(safe-area-inset-bottom) + 12px);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid #d7e3f0;
    background: rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(6px);
}

.topbar .top-note {
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar .back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 12px;
    border-radius: 9px;
    border: 1px solid #c0d4e9;
    background: #edf6ff;
    color: #0f5fa7;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.topbar .back-home:hover {
    background: #e1f0ff;
    text-decoration: none;
}

.hero {
    background: linear-gradient(135deg, #0c79dd 0%, #1b9aff 100%);
    border-radius: var(--radius-lg);
    color: #ffffff;
    padding: 20px 18px;
    box-shadow: 0 12px 24px rgba(10, 71, 128, 0.28);
}

.hero-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.17);
    font-size: 12px;
    font-weight: 600;
}

h1 {
    margin: 10px 0 6px;
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
}

.hero-actions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    text-decoration: none;
}

.btn-primary {
    background: #ffffff;
    color: #0e63ad;
    border-color: #ffffff;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 12px;
    margin-top: 12px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 15px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    height: 24px;
    padding: 0 8px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: #ecf5ff;
    border: 1px solid #d3e5f7;
    color: #1967ad;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.card h2 {
    margin: 0 0 10px;
    font-size: 19px;
    line-height: 1.3;
}

.card h3 {
    margin: 14px 0 8px;
    font-size: 15px;
}

.card p {
    margin: 0;
    color: var(--text);
}

.list {
    margin: 0;
    padding-left: 18px;
}

.list li {
    margin: 8px 0;
    color: #2a3f54;
}

code {
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.92em;
    background: #edf4fc;
    border: 1px solid #d8e5f3;
    border-radius: 6px;
    padding: 0 6px;
}

.steps {
    counter-reset: step;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.steps li {
    position: relative;
    margin: 10px 0;
    padding: 10px 10px 10px 42px;
    border: 1px solid #d6e4f2;
    border-radius: var(--radius-md);
    background: var(--brand-soft);
}

.steps li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 12px;
    top: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand);
    color: #ffffff;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    font-weight: 700;
}

.tips {
    margin-top: 12px;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid #f2d5bb;
    background: var(--warn-soft);
    color: #5b4534;
}

.tips strong {
    color: #493321;
}

.tips .highlight-danger {
    color: #c61f1f;
    font-weight: 800;
}

.muted {
    color: var(--muted);
    font-size: 13px;
}

.footer {
    margin-top: 12px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
}

.beian {
    margin-top: 10px;
    text-align: center;
    color: #708398;
    font-size: 12px;
}

.beian a {
    color: inherit;
}

@media (max-width: 860px) {
    .page {
        width: calc(100% - 16px);
        margin: 10px auto;
    }

    .topbar {
        padding: 8px;
        gap: 8px;
    }

    .topbar .top-note {
        font-size: 12px;
    }

    .topbar .back-home {
        height: 32px;
        padding: 0 10px;
        font-size: 13px;
    }

    .hero {
        padding: 16px 14px;
    }

    h1 {
        font-size: 24px;
    }

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

    .card {
        padding: 14px;
    }

    .btn {
        width: 100%;
    }
}
