:root {
    --navy: #0b1729;
    --navy-2: #101f38;
    --ink: #15233b;
    --text: #3d4d66;
    --muted: #78879c;
    --line: #e3e9f2;
    --bg: #f6f8fc;
    --white: #ffffff;
    --cyan: #22d3ee;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --green: #10b981;
    --amber: #f59e0b;
    --radius: 14px;
    --shadow-sm: 0 2px 10px rgba(16, 35, 59, .06);
    --shadow-md: 0 14px 40px rgba(16, 35, 59, .10);
    --shadow-lg: 0 26px 70px rgba(11, 23, 41, .18);
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
}

ul,
ol {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    line-height: 1.4;
    font-weight: 700;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- 通用按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: linear-gradient(135deg, #38bdf8, #2563eb);
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .32);
}

.btn--primary:hover {
    box-shadow: 0 18px 36px rgba(37, 99, 235, .4);
}

.btn--ghost {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
    backdrop-filter: blur(6px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .5);
}

.btn--line {
    background: #fff;
    border-color: var(--line);
    color: var(--ink);
}

.btn--line:hover {
    border-color: #b9c8de;
    box-shadow: var(--shadow-sm);
}

.btn--sm {
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
}

/* ---------- 顶部导航 ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}

.site-header--solid,
.site-header.is-scrolled {
    background: rgba(11, 23, 41, .94);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(120, 170, 235, .14);
    box-shadow: 0 8px 30px rgba(5, 12, 24, .24);
    padding: 12px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(140deg, rgba(56, 189, 248, .22), rgba(37, 99, 235, .32));
    border: 1px solid rgba(125, 211, 252, .45);
    display: grid;
    place-items: center;
    flex: none;
}

.brand-mark svg {
    width: 24px;
    height: 24px;
}

.brand-name {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
}

.brand-name small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .18em;
    color: rgba(203, 225, 255, .6);
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav a {
    display: inline-block;
    padding: 9px 13px;
    font-size: 14.5px;
    color: rgba(232, 242, 255, .76);
    border-radius: 8px;
}

.nav a:hover,
.nav a.is-active {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}

.header-cta {
    height: 40px;
    padding: 0 20px;
    font-size: 14px;
    border-radius: 10px;
    background: rgba(56, 189, 248, .14);
    border: 1px solid rgba(56, 189, 248, .38);
    color: #bae6fd;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.header-cta:hover {
    background: rgba(56, 189, 248, .24);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .22);
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
    padding: 11px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #e4efff;
    margin: 4px 0;
    transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* ---------- 内页头部 ---------- */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 152px 0 64px;
    background: radial-gradient(900px 480px at 82% -30%, #16406e 0%, transparent 62%),
        radial-gradient(700px 460px at 4% 10%, #0d2b4d 0%, transparent 58%),
        linear-gradient(160deg, #0a1526 0%, #0b1729 55%, #0a1a30 100%);
    color: #dbe9fb;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(120, 180, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 180, 255, .07) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 40% 20%, #000 0%, transparent 78%);
    -webkit-mask-image: radial-gradient(circle at 40% 20%, #000 0%, transparent 78%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(174, 204, 240, .62);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(190, 216, 245, .78);
}

.breadcrumb a:hover {
    color: #7dd3fc;
}

.breadcrumb i {
    font-style: normal;
    opacity: .55;
}

.page-hero h1 {
    font-size: 40px;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #fff;
    margin-bottom: 14px;
}

.page-hero .lead {
    max-width: 760px;
    font-size: 16px;
    color: rgba(203, 225, 255, .78);
}

.page-hero .article-meta {
    margin-top: 20px;
    color: rgba(174, 204, 240, .7);
}

.page-hero .article-meta .dot {
    background: rgba(174, 204, 240, .4);
}

.page-hero .tag {
    background: rgba(56, 189, 248, .14);
    color: #a5e0ff;
}

/* ---------- 页面主体 ---------- */
.page-main {
    padding: 64px 0 88px;
}

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

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 52px;
    align-items: start;
}

/* ---------- 正文排版 ---------- */
.prose {
    min-width: 0;
    font-size: 16px;
    color: var(--text);
}

.prose> :first-child {
    margin-top: 0;
}

.prose h2 {
    font-size: 26px;
    letter-spacing: -.01em;
    margin: 46px 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 100px;
}

.prose h3 {
    font-size: 19px;
    margin: 30px 0 12px;
    scroll-margin-top: 100px;
}

.prose h4 {
    font-size: 16.5px;
    margin: 24px 0 10px;
}

.prose p {
    margin-bottom: 16px;
}

.prose strong {
    color: #26374f;
}

.prose a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, .3);
    text-underline-offset: 3px;
}

.prose a:hover {
    text-decoration-color: var(--blue);
}

.prose ul,
.prose ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

.prose ul {
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: 8px;
}

.prose li::marker {
    color: var(--blue);
    font-weight: 600;
}

.prose blockquote {
    border-left: 3px solid var(--blue);
    background: #f4f8ff;
    color: #46566e;
    padding: 16px 22px;
    border-radius: 0 10px 10px 0;
    margin: 22px 0;
    font-size: 15px;
}

.prose blockquote p:last-child {
    margin-bottom: 0;
}

.prose code {
    background: #eef4fd;
    color: #1d4ed8;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: .9em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.prose pre {
    background: #0b1729;
    color: #dbe9fb;
    padding: 18px 20px;
    border-radius: 10px;
    overflow-x: auto;
    margin: 22px 0;
    font-size: 13.5px;
    line-height: 1.7;
}

.prose pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.prose hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 36px 0;
}

.prose .table-wrap {
    margin: 24px 0;
}

.prose .lead {
    font-size: 17.5px;
    color: #4a5d78;
    line-height: 1.8;
}

/* ---------- 提示框 ---------- */
.callout {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 10px;
    background: #f2f8ff;
    border: 1px solid #d8e8fb;
    border-left: 3px solid #3b82f6;
    margin: 24px 0;
    font-size: 14.5px;
    color: #46566e;
    line-height: 1.8;
}

.callout b {
    color: var(--blue-dark);
}

.callout--warn {
    background: #fff9ed;
    border-color: #f6e3bd;
    border-left-color: var(--amber);
}

.callout--warn b {
    color: #b7791f;
}

.callout--ok {
    background: #effbf5;
    border-color: #c9eedd;
    border-left-color: var(--green);
}

.callout--ok b {
    color: #0d9668;
}

/* ---------- 标签 / 元信息 ---------- */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    background: #eaf3ff;
    color: var(--blue);
}

.tag--green {
    background: #e8f9f1;
    color: #0d9668;
}

.tag--amber {
    background: #fff5e5;
    color: #b7791f;
}

.tag--purple {
    background: #f1ebff;
    color: #7048c9;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: 13px;
    color: var(--muted);
}

.article-meta .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b9c8dc;
}

/* ---------- 关键数据 ---------- */
.fact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin: 28px 0;
}

.fact {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.fact strong {
    display: block;
    font-size: 27px;
    color: var(--ink);
    letter-spacing: -.02em;
    line-height: 1.25;
}

.fact strong span {
    font-size: 15px;
    color: var(--blue);
}

.fact small {
    font-size: 13px;
    color: var(--muted);
}

/* ---------- 时间线 ---------- */
.timeline {
    position: relative;
    margin: 10px 0 0 6px;
    padding-left: 28px;
    border-left: 2px solid #e3ebf7;
}

.timeline-item {
    position: relative;
    padding-bottom: 28px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -35px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--blue);
}

.timeline-item small {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--blue);
    margin-bottom: 4px;
}

.timeline-item strong {
    display: block;
    font-size: 15.5px;
    color: var(--ink);
    margin-bottom: 4px;
}

.timeline-item p {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

/* ---------- 侧栏 ---------- */
.sidebar {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 22px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.widget h4 {
    font-size: 14px;
    letter-spacing: .04em;
    color: var(--ink);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef3fa;
}

.toc {
    display: flex;
    flex-direction: column;
}

.toc a {
    font-size: 13.5px;
    color: #5f718a;
    padding: 7px 8px 7px 12px;
    border-left: 2px solid #e6eef9;
    line-height: 1.55;
    transition: all .2s ease;
}

.toc a:hover,
.toc a.is-active {
    color: var(--blue);
    border-left-color: var(--blue);
    background: #f7fbff;
}

.related-list a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px dashed #edf2f9;
    font-size: 13.5px;
    color: #45566f;
    line-height: 1.6;
}

.related-list a:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.related-list a:hover {
    color: var(--blue);
}

.widget--cta {
    background: linear-gradient(150deg, #0d2036, #0a1729);
    border-color: transparent;
    color: #cfe1f7;
}

.widget--cta h4 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, .12);
}

.widget--cta p {
    font-size: 13.5px;
    color: #9fb7d3;
    margin-bottom: 16px;
    line-height: 1.7;
}

.widget--cta .btn {
    width: 100%;
    height: 44px;
    font-size: 14px;
    border-radius: 9px;
}

/* ---------- 文章列表 ---------- */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.chip {
    padding: 8px 17px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 14px;
    color: #51637c;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s ease;
}

.chip:hover,
.chip.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: #cfe0f7;
}

.post-thumb {
    position: relative;
    height: 128px;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, #eef5ff, #e4efff);
    color: #2563eb;
    overflow: hidden;
}

.post-thumb::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 22px solid rgba(37, 99, 235, .07);
    right: -56px;
    top: -66px;
}

.post-thumb svg {
    width: 44px;
    height: 44px;
    position: relative;
}

.post-thumb--dark {
    background: linear-gradient(150deg, #0d2036, #0b1a2f);
    color: #67e8f9;
}

.post-thumb--dark::before {
    border-color: rgba(103, 232, 249, .12);
}

.post-thumb--teal {
    background: linear-gradient(150deg, #e7fbf5, #dff5ef);
    color: #0d9668;
}

.post-thumb--teal::before {
    border-color: rgba(13, 150, 104, .08);
}

.post-thumb--amber {
    background: linear-gradient(150deg, #fff7e8, #ffeed4);
    color: #b7791f;
}

.post-thumb--amber::before {
    border-color: rgba(183, 121, 31, .09);
}

.post-thumb--purple {
    background: linear-gradient(150deg, #f4efff, #ece3ff);
    color: #7048c9;
}

.post-thumb--purple::before {
    border-color: rgba(112, 72, 201, .09);
}

.post-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-body h3 {
    font-size: 17px;
    line-height: 1.55;
    margin: 10px 0;
}

.post-card-body h3 a:hover {
    color: var(--blue);
}

.post-card-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.75;
    flex: 1;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    font-size: 12.5px;
    color: var(--muted);
}

.post-card-body .post-meta {
    margin-top: 16px;
}

.posts-empty {
    grid-column: 1 / -1;
    padding: 60px 20px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed #d5e1f1;
    border-radius: 12px;
    background: #fbfdff;
}

/* ---------- 案例 ---------- */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.case-block {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.case-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.case-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 14px;
}

.case-head h2,
.case-head h3 {
    font-size: 19px;
    line-height: 1.5;
}

.case-score {
    flex: none;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: conic-gradient(#22d3ee 0 76%, #e6eef9 76% 100%);
    position: relative;
}

.case-score::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #fff;
}

.case-score b {
    position: relative;
    z-index: 1;
    font-size: 16px;
    color: var(--ink);
}

.case-field {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 10px;
    font-size: 14px;
    padding: 9px 0;
    border-top: 1px dashed #edf2f9;
    line-height: 1.7;
}

.case-field span:first-child {
    color: var(--muted);
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.case-tags span {
    font-size: 12px;
    padding: 2px 9px;
    border-radius: 5px;
    background: #f2f6fc;
    color: #61748f;
}

/* ---------- 表格 ---------- */
.table-wrap {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
    font-size: 14.5px;
}

thead th {
    text-align: left;
    padding: 15px 20px;
    background: #f7fafe;
    color: #56687f;
    font-size: 13px;
    letter-spacing: .04em;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #edf2f9;
    color: var(--text);
    vertical-align: middle;
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover {
    background: #fafcff;
}

.tool-name {
    font-weight: 700;
    color: var(--ink);
}

.tool-name small {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.rating {
    display: inline-flex;
    gap: 3px;
}

.rating i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #dbe5f2;
}

.rating i.on {
    background: var(--amber);
}

.pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.pill--good {
    background: #e8f9f1;
    color: #0d9668;
}

.pill--warn {
    background: #fff5e5;
    color: #b7791f;
}

.pill--bad {
    background: #ffeceb;
    color: #c2413a;
}

/* ---------- 工具点评 ---------- */
.block-title {
    font-size: 23px;
    letter-spacing: -.01em;
    margin: 46px 0 6px;
}

.block-sub {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 22px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.review-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 26px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.review-card h3 {
    font-size: 18px;
    margin-bottom: 4px;
}

.review-card .sub {
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 16px;
}

.review-points li {
    font-size: 14px;
    margin-bottom: 10px;
    color: #52657f;
    line-height: 1.7;
}

.review-points b {
    display: inline-block;
    min-width: 44px;
    color: var(--ink);
    font-size: 13px;
}

/* ---------- FAQ ---------- */
.faq-group-title {
    font-size: 19px;
    margin: 38px 0 14px;
    padding-left: 12px;
    border-left: 3px solid var(--blue);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 900px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-item[open] {
    border-color: #bcd7f8;
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 19px 24px;
    font-weight: 600;
    color: var(--ink);
    font-size: 15.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

.faq-item summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    border-right: 2px solid #7c8ea6;
    border-bottom: 2px solid #7c8ea6;
    transform: rotate(45deg);
    transition: transform .25s ease;
    margin-right: 4px;
}

.faq-item[open] summary::after {
    transform: rotate(-135deg);
}

.faq-item p {
    padding: 0 24px 22px;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.85;
    max-width: 94%;
}

/* ---------- 联系 ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 28px;
    align-items: start;
}

.panel {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.panel h2 {
    font-size: 21px;
    margin-bottom: 16px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed #edf2f9;
    font-size: 14.5px;
    line-height: 1.7;
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-list svg {
    width: 18px;
    height: 18px;
    color: var(--blue);
    flex: none;
    margin-top: 4px;
}

.contact-list b {
    display: block;
    font-size: 13px;
    color: var(--ink);
    margin-bottom: 1px;
}

.contact-list a:hover {
    color: var(--blue);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #45566f;
    margin-bottom: 7px;
}

.field label em {
    color: #dc2626;
    font-style: normal;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    border: 1px solid #dbe4f0;
    border-radius: 9px;
    padding: 11px 13px;
    font-size: 14.5px;
    color: var(--ink);
    background: #fbfdff;
    font-family: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: #7db4f2;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .12);
}

.field textarea {
    min-height: 132px;
    resize: vertical;
}

.form-note {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 12px;
    line-height: 1.7;
}

.form-msg {
    display: none;
    margin-top: 14px;
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    line-height: 1.7;
}

.form-msg.is-ok {
    display: block;
    background: #effbf5;
    border: 1px solid #c9eedd;
    color: #0d7a55;
}

.form-msg.is-error {
    display: block;
    background: #fff4f3;
    border: 1px solid #f6d2cf;
    color: #b03a33;
}

.response-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 34px;
}

.response-step {
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #e8eff9;
    border-radius: 12px;
}

.response-step b {
    display: block;
    color: var(--ink);
    margin-bottom: 6px;
    font-size: 15px;
}

.response-step p {
    font-size: 13.5px;
    color: var(--muted);
    margin: 0;
    line-height: 1.7;
}

/* ---------- 站点地图 ---------- */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
}

.sitemap-group {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.sitemap-group h3 {
    font-size: 16px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef3fa;
}

.sitemap-group a {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    color: #52657f;
}

.sitemap-group a:hover {
    color: var(--blue);
}

.sitemap-group small {
    display: block;
    font-size: 12px;
    color: #9aabc1;
    margin-top: 1px;
}

/* ---------- 文章底部 ---------- */
.article-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.article-foot .btn {
    height: 44px;
    font-size: 14px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ---------- 页脚 ---------- */
.site-footer {
    background: #091426;
    color: #9fb3cd;
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr .8fr;
    gap: 40px;
    padding-bottom: 52px;
}

.footer-brand .brand {
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.85;
    color: #8ea3be;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(140, 180, 235, .2);
    color: #a9c2e2;
    transition: all .2s ease;
}

.footer-social a:hover {
    background: rgba(56, 189, 248, .12);
    border-color: rgba(56, 189, 248, .4);
    color: #e0f2fe;
}

.footer-social svg {
    width: 17px;
    height: 17px;
}

.footer-col h4 {
    color: #e6f0fd;
    font-size: 15px;
    margin-bottom: 16px;
    letter-spacing: .02em;
}

.footer-col a {
    display: block;
    font-size: 14px;
    color: #8ea3be;
    padding: 6px 0;
}

.footer-col a:hover {
    color: #7dd3fc;
}

.footer-bottom {
    border-top: 1px solid rgba(130, 170, 225, .14);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #7288a4;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-bottom a {
    color: #8ea3be;
}

.footer-bottom a:hover {
    color: #7dd3fc;
}

/* ---------- 返回顶部 ---------- */
.backtop {
    position: fixed;
    right: 26px;
    bottom: 26px;
    z-index: 90;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, .2);
    background: #fff;
    color: var(--blue);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .25s ease;
}

.backtop.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.backtop:hover {
    background: var(--blue);
    color: #fff;
}

.backtop svg {
    width: 18px;
    height: 18px;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
    .layout {
        grid-template-columns: minmax(0, 1fr) 270px;
        gap: 36px;
    }

    .nav a {
        padding: 9px 10px;
        font-size: 14px;
    }

    .footer-grid {
        grid-template-columns: 1.4fr .8fr .8fr;
    }

    .footer-grid .footer-col:last-child {
        grid-column: auto;
    }
}

@media (max-width: 960px) {
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 86vw);
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 96px 22px 32px;
        background: rgba(9, 20, 38, .98);
        border-left: 1px solid rgba(120, 170, 235, .16);
        box-shadow: -20px 0 60px rgba(4, 10, 20, .5);
        transform: translateX(100%);
        transition: transform .3s ease;
        overflow-y: auto;
    }

    .nav.is-open {
        transform: translateX(0);
    }

    .nav a {
        padding: 13px 14px;
        font-size: 15px;
        border-bottom: 1px solid rgba(120, 170, 235, .1);
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 110;
    }

    .header-cta {
        display: none;
    }

    .layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 8px;
    }

    .sidebar .widget--cta {
        grid-column: 1 / -1;
    }

    .post-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .sitemap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .review-grid {
        grid-template-columns: 1fr;
    }

    .page-hero {
        padding: 128px 0 52px;
    }

    .page-hero h1 {
        font-size: 32px;
    }
}

@media (max-width: 720px) {
    .case-grid {
        grid-template-columns: 1fr;
    }

    .response-steps {
        grid-template-columns: 1fr;
    }

    .fact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }

    .page-hero {
        padding: 118px 0 44px;
    }

    .page-hero h1 {
        font-size: 27px;
    }

    .page-hero .lead {
        font-size: 15px;
    }

    .page-main {
        padding: 44px 0 64px;
    }

    .prose {
        font-size: 15.5px;
    }

    .prose h2 {
        font-size: 22px;
        margin-top: 38px;
    }

    .prose h3 {
        font-size: 18px;
    }

    .post-grid,
    .sitemap-grid,
    .sidebar {
        grid-template-columns: 1fr;
    }

    .fact-grid {
        gap: 12px;
    }

    .fact {
        padding: 16px;
    }

    .fact strong {
        font-size: 23px;
    }

    .panel {
        padding: 24px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .btn {
        height: 46px;
        padding: 0 22px;
        font-size: 14.5px;
    }

    .footer-grid {
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .backtop {
        right: 16px;
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
