:root {
    --brand: #f26b21;
    --brand-dark: #cf520f;
    --brand-soft: #fff4ec;
    --ink: #1d2127;
    --muted: #5f6873;
    --line: #e7e8ec;
    --bg-soft: #f7f8fa;
    --radius: 14px;
}

html {
    scroll-behavior: smooth;
}

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

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

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

h1, h2, h3, h4 {
    color: var(--ink);
    font-weight: 700;
    line-height: 1.4;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.site-header .navbar {
    padding-top: .65rem;
    padding-bottom: .65rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .5px;
}

.navbar-brand:hover {
    color: var(--ink);
    text-decoration: none;
}

.navbar-brand img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.navbar-brand small {
    display: block;
    font-size: .68rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 1px;
}

.site-header .nav-link {
    color: #3c434c;
    font-size: .95rem;
    padding: .35rem .85rem !important;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--brand);
}

.site-header .navbar-toggler {
    border-color: var(--line);
    padding: .3rem .5rem;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(242, 107, 33, .18);
}

.btn-brand {
    background: var(--brand);
    border: 1px solid var(--brand);
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: .6rem 1.6rem;
    transition: background .2s ease;
}

.btn-brand:hover,
.btn-brand:focus {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn-outline-brand {
    border: 1px solid var(--brand);
    color: var(--brand-dark);
    background: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: .6rem 1.6rem;
}

.btn-outline-brand:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.btn-sm-brand {
    padding: .38rem 1.1rem;
    font-size: .9rem;
}

.hero {
    background: linear-gradient(180deg, #fff7f1 0%, #fff 100%);
    padding: 64px 0 56px;
}

.hero .eyebrow {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .82rem;
    padding: .25rem .8rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.6rem;
    line-height: 1.28;
    margin-bottom: 1rem;
}

.hero .lead {
    font-size: 1.06rem;
    color: var(--muted);
    max-width: 34em;
}

.hero-shot {
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(29, 33, 39, .16);
    max-height: 420px;
    width: auto;
    max-width: 100%;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .9rem;
    font-size: .9rem;
    color: var(--muted);
}

.hero-points li::before {
    content: "✓";
    color: var(--brand);
    font-weight: 700;
    margin-right: .35rem;
}

.section {
    padding: 60px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: .5rem;
}

.section-sub {
    color: var(--muted);
    margin-bottom: 2rem;
}

.card-soft {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.col-md-4 > .card-soft,
.col-md-6 > .card-soft,
.col-lg-3 > .card-soft {
    height: 100%;
}

.card-soft h3 {
    font-size: 1.08rem;
    margin-bottom: .5rem;
}

.card-soft p {
    color: var(--muted);
    font-size: .93rem;
    margin: 0;
}

.step-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .9rem;
}

.chip {
    display: inline-block;
    background: var(--brand-soft);
    color: var(--brand-dark);
    border-radius: 999px;
    padding: .2rem .75rem;
    font-size: .82rem;
    margin: 0 .4rem .4rem 0;
}

.page-head {
    background: var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: 40px 0 34px;
}

.page-head h1 {
    font-size: 2rem;
    margin-bottom: .5rem;
}

.page-head p {
    color: var(--muted);
    margin: 0;
    max-width: 46em;
}

.article-row {
    border-bottom: 1px solid var(--line);
    padding: 1.4rem 0;
}

.article-row:last-child {
    border-bottom: 0;
}

.article-row h2 {
    font-size: 1.15rem;
    margin-bottom: .4rem;
}

.article-row h2 a {
    color: var(--ink);
}

.article-row h2 a:hover {
    color: var(--brand);
    text-decoration: none;
}

.article-row p {
    color: var(--muted);
    font-size: .94rem;
    margin-bottom: .5rem;
}

.article-meta {
    font-size: .82rem;
    color: #8b939d;
}

.article-meta span + span::before {
    content: "·";
    margin: 0 .5rem;
}

.article-cover {
    margin: 0 0 1.75rem;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--brand-soft);
}

.article-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.answer-box {
    margin: 0 0 1.9rem;
    padding: 1.15rem 1.3rem;
    border-left: 4px solid var(--brand);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--brand-soft);
}

.answer-label {
    margin: 0 0 .4rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--brand-dark);
}

.answer-text {
    margin: 0;
    color: var(--ink);
    line-height: 1.85;
}

.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    font-size: .86rem;
    padding: .7rem 0;
}

.breadcrumb {
    margin: 0;
    --bs-breadcrumb-divider-color: #b3b9c1;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
}

.breadcrumb a {
    color: var(--muted);
}

.article-body {
    padding: 36px 0 48px;
}

.article-body h1 {
    font-size: 1.9rem;
    line-height: 1.4;
    margin-bottom: .8rem;
}

.article-body .article-meta {
    margin-bottom: 1.6rem;
}

.article-body h2 {
    font-size: 1.28rem;
    margin: 2rem 0 .8rem;
    padding-left: .7rem;
    border-left: 4px solid var(--brand);
    line-height: 1.5;
}

.article-body h3 {
    font-size: 1.06rem;
    margin: 1.4rem 0 .5rem;
}

.article-body p {
    margin-bottom: 1rem;
    color: #2c3238;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1rem;
    padding-left: 1.4rem;
    color: #2c3238;
}

.article-body li {
    margin-bottom: .45rem;
}

.article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
    margin: 1rem 0 1.4rem;
}

.article-body th,
.article-body td {
    border: 1px solid var(--line);
    padding: .6rem .75rem;
    text-align: left;
    vertical-align: top;
}

.article-body th {
    background: var(--bg-soft);
    font-weight: 600;
}

.callout {
    background: var(--brand-soft);
    border-left: 4px solid var(--brand);
    border-radius: 8px;
    padding: .9rem 1.1rem;
    margin: 1.2rem 0;
    font-size: .94rem;
}

.callout strong {
    color: var(--brand-dark);
}

.callout-warn {
    background: #fff8e6;
    border-left-color: #d99a00;
}

.callout-warn strong {
    color: #a87300;
}

.toc {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem 1.2rem;
    margin-bottom: 1.6rem;
    font-size: .92rem;
}

.toc p {
    margin: 0 0 .4rem;
    font-weight: 600;
}

.toc ol {
    margin: 0;
    padding-left: 1.2rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: .75rem;
    background: #fff;
}

.faq-item summary {
    cursor: pointer;
    padding: .95rem 1.1rem;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    color: var(--brand);
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item .faq-answer {
    padding: 0 1.1rem 1rem;
    color: var(--muted);
    font-size: .94rem;
}

.faq-item[open] summary {
    color: var(--brand-dark);
}

.faq-section {
    margin-top: 2.5rem;
    padding: 1.35rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.faq-section h2 {
    font-size: 1.05rem;
    margin: 0 0 .9rem;
    padding: 0;
    border: 0;
}

.faq-section .faq-item:last-of-type {
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

.fact-table th[scope="row"] {
    font-weight: 600;
    color: var(--ink);
    background: var(--bg-soft);
}

.fact-table td {
    color: var(--muted);
}

.related-box {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem;
    margin-top: 2.5rem;
}

.related-box h2 {
    font-size: 1.05rem;
    margin: 0 0 .7rem;
    padding: 0;
    border: 0;
}

.related-box ul {
    margin: 0;
    padding-left: 1.1rem;
}

.related-box li {
    margin-bottom: .4rem;
}

.download-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    background: #fff;
    height: 100%;
}

.download-card .os {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.download-card .os small {
    font-weight: 400;
    color: var(--muted);
    font-size: .8rem;
    margin-left: .4rem;
}

.qr-box {
    text-align: center;
    border: 1px dashed var(--brand);
    border-radius: var(--radius);
    padding: 1rem;
    background: #fff;
}

.qr-box img {
    width: 168px;
    height: 168px;
    object-fit: contain;
}

.qr-box p {
    margin: .5rem 0 0;
    font-size: .86rem;
    color: var(--muted);
}

.notice {
    background: #fff8e6;
    border: 1px solid #f2dfa8;
    border-radius: 10px;
    padding: .8rem 1rem;
    font-size: .88rem;
    color: #7a5a00;
}

.site-footer {
    background: #1d2127;
    color: #a9b0b9;
    padding: 48px 0 24px;
    font-size: .9rem;
    margin-top: 20px;
}

.site-footer a {
    color: #c9cfd6;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.site-footer h4 {
    color: #fff;
    font-size: .96rem;
    margin-bottom: .8rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer li {
    margin-bottom: .45rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 2rem;
    padding-top: 1.2rem;
    font-size: .82rem;
    color: #868d96;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: .7rem;
}

.footer-brand img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.floating-actions {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 92px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(29, 33, 39, .14);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}

.floating-action svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.floating-action-top {
    background: #fff;
    color: var(--ink);
}

.floating-action-contact {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.floating-action:hover {
    color: var(--brand-dark);
    text-decoration: none;
}

.floating-action-contact:hover {
    background: var(--brand-dark);
    color: #fff;
}

.floating-action:focus-visible {
    outline: 3px solid rgba(242, 107, 33, .3);
    outline-offset: 2px;
}

.err-wrap {
    padding: 90px 0;
    text-align: center;
}

.err-wrap .code {
    font-size: 5rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1;
}

@media (max-width: 991.98px) {
    .hero {
        padding: 44px 0 40px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-shot {
        margin-top: 2rem;
        max-height: 340px;
    }

    .section {
        padding: 44px 0;
    }

    .page-head {
        padding: 30px 0 24px;
    }

    .page-head h1 {
        font-size: 1.55rem;
    }

    .article-body h1 {
        font-size: 1.5rem;
    }

    .article-body h2 {
        font-size: 1.15rem;
    }
}

@media (max-width: 575.98px) {
    body {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero .lead {
        font-size: .98rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .article-body table {
        font-size: .85rem;
    }

    .article-body th,
    .article-body td {
        padding: .5rem;
    }

    .floating-actions {
        right: 12px;
        bottom: 14px;
        gap: 9px;
    }

    .floating-action {
        min-width: 44px;
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
    }

    .floating-action span {
        display: none;
    }

    .site-footer {
        padding-top: 36px;
    }
}
