:root {
    --bg: #f7faff;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(148, 163, 184, 0.28);
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --soft: #eff6ff;
    --shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 28%),
        linear-gradient(135deg, #fbfdff 0%, var(--bg) 100%);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.8;
}

a {
    color: inherit;
}

.article-topbar {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 18px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.article-brand,
.article-nav,
.article-home {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.article-brand {
    font-weight: 900;
}

.article-brand img {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.16);
}

.article-nav {
    gap: 10px;
}

.article-nav a,
.article-home {
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.16);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.article-list-wrap,
.article-wrap {
    width: min(980px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0 72px;
}

.article-list-hero,
.article-main {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.article-list-hero {
    padding: 46px;
    margin-bottom: 18px;
}

.article-list-hero span,
.article-meta span,
.article-notice span {
    display: inline-flex;
    border-radius: 999px;
    background: var(--soft);
    color: var(--primary-dark);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 900;
}

.article-list-hero h1 {
    margin: 16px 0 12px;
    font-size: clamp(34px, 6vw, 58px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.article-list-hero p {
    max-width: 780px;
    color: #334155;
    margin: 0;
    font-size: 17px;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.article-card {
    display: grid;
    gap: 12px;
    padding: 24px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    text-decoration: none;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.07);
    transition: transform .2s, border-color .2s;
}

.article-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.42);
}

.article-card-meta,
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.article-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
}

.article-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.article-card strong {
    color: var(--primary);
}

.article-notice {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
}

.article-notice a {
    color: var(--primary);
    font-weight: 900;
    text-decoration: none;
}

.article-main {
    padding: clamp(26px, 5vw, 56px);
}

.article-main h1 {
    margin: 18px 0 18px;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.055em;
}

.article-summary {
    margin: 0 0 28px;
    color: #334155;
    font-size: 18px;
    font-weight: 500;
}

.article-product-card,
.article-bottom-cta {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    border-radius: 22px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
    padding: 22px;
    margin: 30px 0;
}

.article-product-card strong {
    display: block;
    margin-bottom: 6px;
}

.article-product-card p,
.article-bottom-cta p {
    margin: 0;
    color: #475569;
}

.article-product-card a,
.article-actions a,
.article-soft-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary), #4f46e5);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    white-space: nowrap;
}

.article-section {
    border-top: 1px solid var(--line);
    padding-top: 28px;
    margin-top: 28px;
}

.article-section h2,
.article-tips h2,
.article-bottom-cta h2 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.3;
}

.article-section p {
    color: #334155;
    font-size: 16px;
    margin: 0 0 14px;
}

.article-tips {
    margin-top: 28px;
    padding: 24px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid var(--line);
}

.article-tips ul {
    margin: 0;
    padding-left: 20px;
    color: #334155;
}

.article-tips li {
    margin: 8px 0;
}

.article-bottom-cta {
    display: block;
    text-align: center;
    margin-bottom: 0;
}

.article-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.article-actions a:nth-child(2) {
    background: #fff;
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.22);
}

.article-soft-cta {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: .22s;
}

.article-soft-cta.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.article-soft-cta span {
    color: #475569;
    font-size: 13px;
    font-weight: 800;
    padding-left: 6px;
}

@media (max-width: 760px) {
    .article-topbar,
    .article-list-wrap,
    .article-wrap {
        width: min(100% - 28px, 980px);
    }
    .article-topbar,
    .article-notice,
    .article-product-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .article-list-hero,
    .article-main {
        padding: 26px 22px;
    }
    .article-nav {
        width: 100%;
        justify-content: space-between;
    }
    .article-soft-cta {
        left: 14px;
        right: 14px;
        justify-content: space-between;
    }
}
