/* mywxbi.com 站点样式 */
:root {
    --brand: #06c167;
    --brand-dark: #049a50;
    --brand-soft: rgba(6, 193, 103, 0.1);
    --ink: #0f172a;
    --ink-soft: #475569;
    --muted: #94a3b8;
    --line: #e2e8f0;
    --surface: #ffffff;
    --canvas: #f1f5f9;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 28px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 18px 44px rgba(15, 23, 42, 0.12);
    --header-h: 68px;
    --max-w: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    background: var(--canvas);
    color: var(--ink);
    line-height: 1.68;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
.page-home { background: #eef6f1; }
.page-guide-apple { background: #f4f6fb; }
.page-guide-os { background: #f7f5f2; }
.page-guide-mini { background: #f3f7fa; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
button { font-family: inherit; }

.wrap {
    width: min(100% - 36px, var(--max-w));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.brand img {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    flex-shrink: 0;
}
.brand__title {
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
}
.brand__sub {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.03em;
}

.nav-check { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    cursor: pointer;
    border-radius: var(--radius-sm);
}
.nav-burger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .22s;
}
.nav-burger span + span { margin-top: 5px; }
.nav-check:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-check:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-check:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-nav a {
    padding: 7px 13px;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink-soft);
    border-radius: 8px;
}
.site-nav a:hover,
.site-nav a.is-active {
    color: var(--brand-dark);
    background: var(--brand-soft);
}
.header-cta {
    margin-left: 8px;
    padding: 7px 16px !important;
    color: #fff !important;
    background: var(--brand) !important;
    border-radius: 999px !important;
    font-weight: 600 !important;
}
.header-cta:hover { background: var(--brand-dark) !important; color: #fff !important; }

.page-main { padding: 26px 0 52px; }

.hero {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    padding: 56px 36px 44px;
    color: #fff;
    text-align: left;
    background:
        linear-gradient(135deg, rgba(255,255,255,.16) 0%, transparent 42%),
        linear-gradient(155deg, #07c45f 0%, #049a50 58%, #037a40 100%);
    box-shadow: var(--shadow-lg);
}
.hero > * { position: relative; z-index: 1; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
}
.hero h2 {
    font-size: clamp(1.7rem, 4vw, 2.45rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.22;
    margin: 0 0 12px;
    max-width: 14em;
}
.hero__desc {
    max-width: 540px;
    margin: 0 0 28px;
    font-size: 15px;
    line-height: 1.75;
    opacity: 0.93;
}
.hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 620px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero__meta > div {
    padding: 2px 4px;
    font-size: 13px;
    opacity: 0.95;
    white-space: nowrap;
    min-width: 0;
}
.hero__meta strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 3px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 32px;
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-dark);
    background: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}
.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.15);
}
.cta-btn img { width: 20px; height: 20px; }

.block { margin-top: 44px; }
.block__head { margin-bottom: 22px; }
.block__head h2 {
    font-size: 1.42rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.block__head p {
    font-size: 14px;
    color: var(--muted);
    margin-top: 5px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.guide-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.guide-card:hover {
    border-color: rgba(6, 193, 103, 0.4);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.guide-card a { display: block; padding: 22px; height: 100%; }
.guide-card__tag {
    display: inline-block;
    margin-bottom: 10px;
    padding: 2px 9px;
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border-radius: 4px;
}
.guide-card h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
}
.guide-card p {
    font-size: 13px;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flow-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
}
.flow-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
}
.flow-item { text-align: left; }
.flow-num {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    border-radius: 10px;
}
.flow-item h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}
.flow-item p {
    font-size: 13px;
    color: var(--muted);
}

.split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 14px;
}
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.panel h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq-item dt {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}
.faq-item dd {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.72;
}
.panel-note {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.82;
}

.crumb {
    padding: 4px 0 18px;
    font-size: 13px;
    color: var(--muted);
}
.crumb a:hover { color: var(--brand); }
.crumb__sep { margin: 0 7px; opacity: 0.45; }

.article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.article__head {
    padding: 32px 36px 18px;
    border-bottom: 1px solid var(--line);
}
.article__head h1 {
    font-size: clamp(1.28rem, 2.8vw, 1.68rem);
    font-weight: 700;
    line-height: 1.38;
    margin-bottom: 10px;
}
.article__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}
.article__body {
    padding: 26px 36px;
    font-size: 16px;
    line-height: 1.88;
    color: #1e293b;
}
.article__body p { margin-bottom: 1.05em; }
.article__body p:last-child { margin-bottom: 0; }
.article__body h2 {
    font-size: 1.12rem;
    margin: 1.4em 0 0.6em;
    font-weight: 700;
}
.article__foot { padding: 0 36px 32px; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
    border: 1px solid var(--brand);
    border-radius: var(--radius-sm);
    background: transparent;
}
.btn-outline:hover {
    background: var(--brand);
    color: #fff;
}

.notice-box {
    margin: 18px 0 22px;
    padding: 14px 16px;
    background: var(--brand-soft);
    border-left: 3px solid var(--brand);
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: var(--ink-soft);
}
.step-list {
    margin: 8px 0 20px 18px;
    color: var(--ink-soft);
    font-size: 15px;
}
.step-list li { margin-bottom: 8px; }

.layout-doc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 18px;
    align-items: start;
}
.aside-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}
.aside-card h3 {
    font-size: 15px;
    margin-bottom: 12px;
}
.aside-card ul { list-style: none; }
.aside-card li { margin-bottom: 10px; }
.aside-card a {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
}
.aside-card a:hover { color: var(--brand-dark); }

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 22px;
    font-size: 14px;
}
.compare-table th,
.compare-table td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
}
.compare-table th { background: #f8fafc; font-weight: 600; }

.topic-list { display: flex; flex-direction: column; gap: 14px; }
.topic-item {
    padding: 16px 18px;
    background: #f8fafc;
    border-radius: 10px;
}
.topic-item h3 { font-size: 15px; margin-bottom: 6px; }
.topic-item p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.related-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}
.related-row a {
    display: block;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    color: var(--ink-soft);
}
.related-row a:hover { border-color: var(--brand); color: var(--brand-dark); }

.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 40px 0 32px;
    text-align: center;
    font-size: 13px;
}
.site-footer--alt { background: #12261c; }
.site-footer--warm { background: #1c1917; }
.site-footer--cool { background: #0f1c24; }
.site-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 18px;
    margin-bottom: 18px;
}
.site-footer__links a:hover { color: #fff; }
.site-footer__advice {
    max-width: 620px;
    margin: 0 auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #64748b;
    line-height: 1.75;
    font-size: 12px;
}
.site-footer__copy {
    margin-top: 16px;
    font-size: 12px;
    color: #64748b;
}

@media (max-width: 900px) {
    .guide-grid,
    .layout-doc,
    .related-row,
    .split-grid { grid-template-columns: 1fr; }
    .hero { text-align: center; }
    .hero h2, .hero__desc { margin-left: auto; margin-right: auto; }
    .hero__meta { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    :root { --header-h: auto; }
    .wrap { width: min(100% - 28px, var(--max-w)); }
    .site-header { height: auto; }
    .site-header__inner {
        flex-wrap: wrap;
        padding: 10px 0;
        position: relative;
    }
    .nav-burger { display: grid; }
    .site-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding-top: 10px;
        border-top: 1px solid var(--line);
    }
    .nav-check:checked ~ .site-nav { display: flex; }
    .site-nav a {
        padding: 12px 14px;
        border-radius: var(--radius-sm);
        min-height: 44px;
    }
    .header-cta { margin-left: 0; text-align: center; }
    .hero { padding: 36px 20px 28px; }
    .hero__meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4px;
        max-width: 100%;
        margin-top: 22px;
        padding-top: 16px;
    }
    .hero__meta > div {
        padding: 0 2px;
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
    }
    .hero__meta strong {
        font-size: 13px;
        margin-bottom: 2px;
    }
    .flow-panel { padding: 18px 12px; }
    .flow-row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
    }
    .flow-item { text-align: center; }
    .flow-num {
        width: 28px;
        height: 28px;
        margin: 0 auto 6px;
        font-size: 11px;
        border-radius: 7px;
    }
    .flow-item h4 {
        font-size: 11px;
        margin-bottom: 0;
        white-space: nowrap;
        overflow: hidden;
    }
    .flow-item p { display: none; }
    .article__head,
    .article__body,
    .article__foot { padding-left: 18px; padding-right: 18px; }
}
