/* 小火箭官网 — 手册式网格，配色改为钢蓝，圆角与间距相对参考稿偏移 */
:root {
    --bg: #ffffff;
    --bg-panel: #f4f8fb;
    --bg-panel-2: #e7f0f7;
    --border: #d5e3ee;
    --border-strong: #b7cde0;
    --accent: #0369a1;
    --accent-dark: #075985;
    --accent-hl: #e0f2fe;
    --text: #12202c;
    --text-muted: #4b6274;
    --shadow-card: 0 1px 3px rgba(18, 32, 44, 0.05), 0 12px 28px -16px rgba(18, 32, 44, 0.18);
    --shadow-card-hover: 0 4px 8px rgba(18, 32, 44, 0.08), 0 16px 32px -14px rgba(18, 32, 44, 0.22);
    --r-card: 12px;
    --r-btn: 8px;
    --r-pill: 999px;
    --font-display: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-display);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.wrap {
    width: min(1200px, 100% - 32px);
    margin: 0 auto;
}

.site-header {
    height: 64px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    z-index: 100;
}

.masthead-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.brand-name {
    font-weight: 800;
    font-size: 17px;
}

.brand-sub {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 10px;
    border-left: 1px solid var(--border);
}

.primary-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.primary-nav a {
    font-size: 14px;
    font-weight: 560;
    color: var(--text-muted);
}

.primary-nav a:hover,
.primary-nav a.active {
    color: var(--accent);
}

.header-btn {
    background: var(--accent);
    color: #fff !important;
    padding: 7px 15px;
    border-radius: var(--r-btn);
    font-weight: 700;
    font-size: 13px;
}

.header-btn:hover {
    background: var(--accent-dark);
}

.hero {
    padding: 44px 0 32px;
    background: linear-gradient(180deg, #f5f9fc 0%, #ffffff 100%);
}

.bento {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
}

.side-row {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cell {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    padding: 22px;
    box-shadow: var(--shadow-card);
}

.cell-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.side-label {
    font-size: 12px;
    font-weight: 750;
    color: var(--accent);
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.side-title {
    font-size: 18px;
    font-weight: 750;
    margin-bottom: 6px;
}

.side-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
}

.side-chips {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 12px 0;
    flex-wrap: wrap;
}

.side-chips li {
    background: var(--bg-panel-2);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 650;
    font-family: var(--font-mono);
}

.side-more {
    font-size: 13px;
    font-weight: 750;
    color: var(--accent);
}

.cell-main {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    font-size: 13px;
    font-weight: 650;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-tag {
    background: var(--accent-hl);
    color: var(--accent-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 750;
    font-size: 11px;
}

.hero-title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
}

.hl {
    color: var(--accent);
}

.lede {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 720px;
}

.actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border-radius: var(--r-btn);
    font-weight: 750;
    font-size: 14px;
}

.btn-primary {
    background: var(--accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(3, 105, 161, 0.24);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn-ghost {
    background: var(--bg-panel-2);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--border);
}

.facts {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.fact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.fact-pill {
    background: var(--bg-panel-2);
    border: 1px solid var(--border);
    border-radius: var(--r-pill);
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 650;
}

.home-devices {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    list-style: none;
    margin: 14px 0 0;
}

.home-devices li {
    flex: 1;
}

.dev {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    font-size: 13px;
    font-weight: 650;
}

.statusbar {
    margin-top: 16px;
    padding: 10px 16px;
    background: var(--bg-panel-2);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.sb-tag {
    background: var(--accent);
    color: #fff;
    font-weight: 750;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
}

.section {
    padding: 52px 0;
    border-top: 1px solid var(--border);
}

.section-head {
    margin-bottom: 28px;
}

.eyebrow {
    font-size: 13px;
    font-weight: 750;
    color: var(--accent);
    letter-spacing: 0.4px;
}

.section-head h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 8px 0;
}

.section-head p {
    color: var(--text-muted);
    max-width: 760px;
    font-size: 15px;
}

.tabs {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 22px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    padding: 22px;
    box-shadow: var(--shadow-card);
}

.tab-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tab-btn {
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 650;
    color: var(--text-muted);
    cursor: pointer;
    font-family: inherit;
}

.tab-btn:hover {
    background: var(--bg-panel-2);
    color: var(--text);
}

.tab-btn.active {
    background: #ffffff;
    color: var(--accent);
    border-color: var(--border);
}

.manuscript {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.manuscript pre {
    background: #121a24;
    color: #e6eef6;
    padding: 16px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.65;
    overflow-x: auto;
}

.rule-mark {
    color: #7dd3fc;
    font-weight: 750;
}

.annotation {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.68;
    background: var(--bg-panel);
    padding: 14px;
    border-radius: 8px;
    border-left: 3px solid var(--accent);
}

.home-reading-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 32px;
}

.prose h3 {
    font-size: 18px;
    font-weight: 750;
    margin-bottom: 10px;
}

.prose p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.neutral-band {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    padding: 32px;
}

.home-verification-facts {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.home-verification-facts img {
    border-radius: 10px;
    border: 1px solid var(--border);
}

.home-verification-facts dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
}

.home-verification-facts dt {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.home-verification-facts dd {
    font-size: 14px;
    font-weight: 750;
}

.home-faq h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
}

.faq-item summary {
    padding: 14px 16px;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
}

.faq-item summary:hover {
    color: var(--accent);
}

.faq-answer {
    padding: 0 16px 14px;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.65;
}

.home-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.article-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    padding: 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-strong);
}

.article-meta {
    font-size: 12px;
    font-weight: 750;
    color: var(--accent);
    margin-bottom: 8px;
}

.article-card h3 {
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
    margin-bottom: 10px;
}

.article-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
}

.text-link {
    font-size: 13px;
    font-weight: 750;
    color: var(--accent);
    margin-top: auto;
}

.download-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--r-card);
    padding: 36px;
    box-shadow: var(--shadow-card);
    margin: 36px auto;
    max-width: 800px;
    text-align: center;
}

.download-box h1 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.spec-table {
    width: 100%;
    margin: 22px 0;
    border-collapse: collapse;
    text-align: left;
}

.spec-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.spec-table td:first-child {
    font-weight: 750;
    color: var(--text-muted);
    width: 120px;
}

.download-note {
    font-size: 13px;
    color: var(--text-muted);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step-grid h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.site-footer {
    border-top: 1px solid var(--border);
    padding: 28px 0;
    font-size: 13px;
    color: var(--text-muted);
    background: #ffffff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

@media (max-width: 860px) {
    .bento,
    .tabs,
    .home-reading-grid,
    .home-articles,
    .step-grid {
        grid-template-columns: 1fr;
    }
    .home-devices {
        flex-wrap: wrap;
    }
    .home-devices li {
        flex: 1 1 140px;
    }
    .home-verification-facts {
        align-items: flex-start;
        flex-direction: column;
    }
    .home-verification-facts dl,
    .footer-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }
    .masthead-row {
        gap: 8px;
    }
    .brand-sub {
        display: none;
    }
    .primary-nav ul {
        gap: 12px;
    }
}
