

:root {
    --brand: #ff6b35;
    --brand-dark: #e2551f;
    --brand-soft: #fff3ee;
    --ink: #22262b;
    --ink-2: #4a5058;
    --ink-3: #7b838d;
    --line: #e8ebef;
    --bg-soft: #f7f8fa;
}

html {
    -webkit-text-size-adjust: 100%;
    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;
}

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

a:hover {
    color: var(--brand);
    text-decoration: underline;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ink);
}

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

.brand img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.brand .brand-tag {
    font-size: .7rem;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border-radius: 999px;
    padding: .1rem .5rem;
}

.site-nav .nav-link {
    color: var(--ink-2);
    font-size: .95rem;
    padding: .35rem .7rem;
}

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

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
    border-radius: 999px;
    padding: .55rem 1.4rem;
}

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

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

.btn-outline-brand:hover {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.hero {
    background: linear-gradient(180deg, #fff8f4 0%, #ffffff 100%);
    padding: 2.6rem 0 2rem;
    border-bottom: 1px solid var(--line);
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.5px;
}

.hero .lead {
    color: var(--ink-2);
    font-size: 1.02rem;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.hero-badges span {
    font-size: .8rem;
    color: var(--brand-dark);
    background: #fff;
    border: 1px solid #ffd9c8;
    border-radius: 999px;
    padding: .15rem .7rem;
}

.phone-frame {
    max-width: 240px;
    margin: 0 auto;
    border: 8px solid #2b2f34;
    border-radius: 30px;
    overflow: hidden;
    background: #2b2f34;
    box-shadow: 0 18px 40px rgba(34, 38, 43, .18);
}

.phone-frame img {
    display: block;
    width: 100%;
    height: auto;
}

.answer-box {
    background: var(--brand-soft);
    border: 1px solid #ffdccb;
    border-left: 4px solid var(--brand);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-bottom: 1.5rem;
}

.answer-box .answer-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    color: #fff;
    background: var(--brand);
    border-radius: 4px;
    padding: .05rem .45rem;
    margin-right: .4rem;
    vertical-align: 2px;
}

.answer-box p {
    margin: 0;
    color: #6b3a22;
    font-size: .98rem;
}

.section {
    padding: 2.6rem 0;
}

.section-soft {
    background: var(--bg-soft);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: .4rem;
}

.section-desc {
    color: var(--ink-3);
    font-size: .92rem;
    margin-bottom: 1.4rem;
}

.card-soft {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.15rem 1.2rem;
    height: 100%;
}

.card-soft:has(+ .card-soft),
.card-soft + .card-soft {
    height: auto;
}

.card-soft h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.card-soft p {
    color: var(--ink-2);
    font-size: .9rem;
    margin-bottom: 0;
}

.list-row {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: .75rem;
    color: inherit;
}

.list-row:hover {
    border-color: #ffcbb2;
    box-shadow: 0 6px 18px rgba(255, 107, 53, .08);
    text-decoration: none;
    color: inherit;
}

.list-row h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: .3rem;
}

.list-row p {
    color: var(--ink-2);
    font-size: .89rem;
    margin-bottom: .35rem;
}

.list-row .row-meta {
    font-size: .78rem;
    color: var(--ink-3);
}

.breadcrumb-bar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: .55rem 0;
}

.breadcrumb {
    margin: 0;
    font-size: .82rem;
}

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

.breadcrumb a {
    color: var(--ink-3);
}

.article {
    padding: 1.8rem 0 2.4rem;
}

.article-title {
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: .5rem;
}

.page-meta {
    font-size: .8rem;
    color: var(--ink-3);
    margin-bottom: 1.2rem;
    padding-bottom: .8rem;
    border-bottom: 1px dashed var(--line);
}

.article-cover {
    margin: 0 0 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    background: var(--brand-soft);
}

.article-cover img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.article h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.9rem 0 .7rem;
    padding-left: .6rem;
    border-left: 4px solid var(--brand);
    line-height: 1.4;
}

.article h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 1.3rem 0 .5rem;
}

.article p {
    margin-bottom: .85rem;
}

.article ul,
.article ol {
    padding-left: 1.3rem;
    margin-bottom: .9rem;
}

.article li {
    margin-bottom: .35rem;
}

.article table,
.fact-table {
    width: 100%;
    border-collapse: collapse;
    margin: .6rem 0 1rem;
    font-size: .89rem;
}

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

.article table th,
.fact-table th {
    background: var(--bg-soft);
    font-weight: 700;
    white-space: nowrap;
}

.table-note {
    font-size: .78rem;
    color: var(--ink-3);
    margin-top: -.5rem;
    margin-bottom: 1.2rem;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding-left: 0;
}

.steps > li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .7rem;
}

.steps > li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: .15rem;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--brand);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callout {
    background: var(--bg-soft);
    border-radius: 10px;
    padding: .9rem 1rem;
    font-size: .9rem;
    color: var(--ink-2);
    margin: 1rem 0;
}

.todo {
    color: #b23c17;
    font-weight: 700;
}

.related {
    border-top: 1px solid var(--line);
    margin-top: 2rem;
    padding-top: 1.2rem;
}

.related h2 {
    font-size: 1.02rem;
    border-left: none;
    padding-left: 0;
    margin: 0 0 .7rem;
}

.related ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.related li {
    font-size: .9rem;
    margin-bottom: .45rem;
    padding-left: 1rem;
    position: relative;
}

.related li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--brand);
    font-weight: 700;
}

.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.1rem 1.15rem;
    margin-bottom: 1rem;
}

.side-card h2,
.side-card h3 {
    font-size: .98rem;
    font-weight: 700;
    margin-bottom: .7rem;
}

.side-card .qr {
    width: 116px;
    height: 116px;
    display: block;
    margin: .2rem auto .6rem;
    border-radius: 8px;
}

.side-card p {
    font-size: .82rem;
    color: var(--ink-3);
    margin-bottom: 0;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: .8rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: .9rem 1.1rem;
    color: var(--ink);
    margin-bottom: .8rem;
}

.store-btn:hover {
    text-decoration: none;
    color: var(--ink);
    border-color: #ffcbb2;
    box-shadow: 0 6px 18px rgba(255, 107, 53, .08);
}

.store-btn .store-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.store-btn strong {
    display: block;
    font-size: .96rem;
}

.store-btn small {
    color: var(--ink-3);
    font-size: .76rem;
}

.notice-item {
    display: flex;
    gap: .8rem;
    padding: .7rem 0;
    border-bottom: 1px dashed var(--line);
    font-size: .9rem;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-item time {
    color: var(--ink-3);
    font-size: .8rem;
    white-space: nowrap;
    padding-top: .15rem;
}

.site-footer {
    background: #23272c;
    color: #b9c0c8;
    padding: 2.2rem 0 1.2rem;
    margin-top: 2rem;
    font-size: .86rem;
}

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

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

.site-footer .footer-title {
    font-size: .95rem;
    color: #fff;
    margin-bottom: .6rem;
}

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

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

.footer-bottom {
    border-top: 1px solid #34393f;
    margin-top: 1.4rem;
    padding-top: .9rem;
    font-size: .78rem;
    color: #8d959e;
}

@media (max-width: 575.98px) {
    body {
        font-size: 15px;
    }

    .hero {
        padding: 1.8rem 0 1.4rem;
    }

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

    .hero .phone-frame {
        margin-top: 1.4rem;
    }

    .article-title {
        font-size: 1.3rem;
    }

    .section {
        padding: 1.8rem 0;
    }

    .article table,
    .fact-table {
        font-size: .82rem;
        display: block;
        overflow-x: auto;
    }

    .article table th,
    .fact-table th {
        white-space: normal;
    }

    .article table th,
    .article table td,
    .fact-table th,
    .fact-table td {
        padding: .45rem .4rem;
    }

    .site-nav .nav-link {
        padding: .45rem 0;
    }
}
