/* roulang page: index */
:root {
    --primary: #0F172A;
    --accent: #10B981;
    --accent-dark: #059669;
    --dark-bg: #111827;
    --light-bg: #F8FAFC;
    --text: #1E293B;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --orange: #FB923C;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 8px 30px rgba(15, 23, 42, 0.14);
    --container: 1200px;
    --space-section: 96px;
    --space-section-mobile: 64px;
  }
  * {
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    background-color: #fff;
    line-height: 1.6;
    margin: 0;
  }
  img {
    max-width: 100%;
    display: block;
  }
  a {
    text-decoration: none;
    color: inherit;
  }
  button {
    cursor: pointer;
    font-family: inherit;
  }
  input {
    font-family: inherit;
  }
  .container-site {
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  @media (max-width: 640px) {
    .container-site {
      padding-left: 16px;
      padding-right: 16px;
    }
  }
  /* 按钮系统 */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    padding: 0 22px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    transition: all .2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
  }
  .btn:focus-visible {
    outline: 3px solid rgba(16, 185, 129, 0.35);
    outline-offset: 2px;
  }
  .btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.28);
  }
  .btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.36);
  }
  .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
  }
  .btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
  }
  .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  .btn-dark-outline {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
  }
  .btn-dark-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
  /* 卡片 */
  .card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all .3s ease;
  }
  .card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.4);
  }
  .card-clickable {
    cursor: pointer;
  }
  /* 徽章 */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-dark);
  }
  /* 搜索框 */
  .search-input {
    width: 100%;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--light-bg);
    padding: 0 88px 0 44px;
    font-size: 14px;
    color: var(--text);
    transition: all .25s ease;
    outline: none;
  }
  .search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
    background: #fff;
  }
  .search-input::placeholder {
    color: var(--text-muted);
  }
  /* FAQ */
  details.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #fff;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
  }
  details.faq-item[open] {
    border-color: var(--accent);
    background: var(--light-bg);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  }
  details.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    list-style: none;
  }
  details.faq-item summary::-webkit-details-marker {
    display: none;
  }
  details.faq-item summary .faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--light-bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    transition: transform .2s, background .2s, border-color .2s;
    flex-shrink: 0;
  }
  details.faq-item[open] summary .faq-icon {
    transform: rotate(45deg);
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  details.faq-item .faq-body {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
  }
  /* 导航 */
  .nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color .2s;
    position: relative;
    padding: 4px 0;
  }
  .nav-link:hover {
    color: var(--accent);
  }
  .nav-link.active {
    color: var(--text);
    font-weight: 600;
  }
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent);
  }
  /* 移动抽屉 */
  .mobile-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .mobile-drawer.open {
    max-height: 520px;
  }
  /* 底部固定条 */
  #fixed-bar {
    transition: transform .3s ease, opacity .3s ease;
  }
  #fixed-bar.hidden-bar {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
  }
  /* 详情/摘要 截断 */
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* 步骤箭头 */
  .step-arrow::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: -26px;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--accent);
    font-weight: 300;
    z-index: 10;
  }
  @media (max-width: 1024px) {
    .step-arrow::after {
      display: none;
    }
  }
  /* 段落标题 */
  .section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: -0.02em;
  }
  .section-sub {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 8px;
  }
  @media (max-width: 768px) {
    .section-title {
      font-size: 24px;
    }
  }
  /* 步骤编号 */
  .step-number {
    font-size: 42px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--accent);
    line-height: 1;
  }
  /* 滚动条 */
  ::-webkit-scrollbar {
    width: 8px;
    height: 8px;
  }
  ::-webkit-scrollbar-track {
    background: var(--light-bg);
  }
  ::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 8px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
  }

/* roulang page: category1 */
:root {
        --ink: #0F172A;
        --brand: #10B981;
        --brand-dark: #059669;
        --accent: #FB923C;
        --surface: #F8FAFC;
        --text-main: #1E293B;
        --text-sub: #475569;
        --text-muted: #94A3B8;
        --border: #E2E8F0;
        --radius-lg: 16px;
        --radius-md: 12px;
        --radius-sm: 8px;
        --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
        --shadow-hover: 0 8px 30px rgba(15, 23, 42, 0.14);
    }
    * {
        box-sizing: border-box;
    }
    html {
        scroll-behavior: smooth;
    }
    body {
        font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
        color: var(--text-main);
        background: #fff;
        line-height: 1.7;
        font-variant-numeric: tabular-nums;
    }
    .container-site {
        max-width: 1200px;
        margin: 0 auto;
        padding-left: 24px;
        padding-right: 24px;
    }
    @media (max-width: 640px) {
        .container-site {
            padding-left: 16px;
            padding-right: 16px;
        }
    }
    .nav-link {
        font-size: 14px;
        font-weight: 500;
        color: #475569;
        padding: 8px 12px;
        border-radius: 8px;
        transition: color .2s, background-color .2s;
    }
    .nav-link:hover {
        color: #059669;
        background: rgba(16, 185, 129, .06);
    }
    .nav-link.active {
        color: #059669;
        font-weight: 700;
    }
    .main-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: #10B981;
        color: #fff;
        font-size: 15px;
        font-weight: 600;
        height: 44px;
        padding: 0 24px;
        border-radius: 8px;
        transition: background .2s, transform .1s, box-shadow .2s;
    }
    .main-btn:hover {
        background: #059669;
        box-shadow: 0 6px 20px rgba(16, 185, 129, .35);
    }
    .main-btn:active {
        transform: translateY(1px);
        background: #047857;
    }
    .main-btn:focus-visible,
    .outline-btn:focus-visible,
    .link-btn:focus-visible,
    .search-trigger:focus-visible {
        outline: 3px solid rgba(16, 185, 129, .4);
        outline-offset: 2px;
    }
    .outline-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: transparent;
        color: #1E293B;
        font-size: 15px;
        font-weight: 600;
        height: 44px;
        padding: 0 24px;
        border: 1px solid #E2E8F0;
        border-radius: 8px;
        transition: border-color .2s, color .2s, background .2s;
    }
    .outline-btn:hover {
        border-color: #10B981;
        color: #059669;
        background: rgba(16, 185, 129, .04);
    }
    .link-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: #1E293B;
        font-size: 14px;
        font-weight: 600;
        transition: color .2s;
    }
    .link-btn:hover {
        color: #059669;
    }
    .card-hover {
        box-shadow: var(--shadow-card);
        transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    }
    .card-hover:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
        border-color: rgba(16, 185, 129, .4);
    }
    .badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        background: rgba(16, 185, 129, .1);
        color: #059669;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 10px;
        border-radius: 999px;
        letter-spacing: .02em;
    }
    .section-title {
        font-size: 28px;
        font-weight: 800;
        color: #0F172A;
        letter-spacing: -0.01em;
        line-height: 1.3;
    }
    @media (max-width: 640px) {
        .section-title {
            font-size: 24px;
        }
    }
    .toc-link {
        display: block;
        padding: 8px 12px;
        font-size: 14px;
        color: #475569;
        border-left: 2px solid #E2E8F0;
        transition: border-color .2s, color .2s, background .2s;
    }
    .toc-link:hover {
        color: #059669;
        border-left-color: #10B981;
        background: rgba(16, 185, 129, .04);
    }
    .toc-link.active {
        color: #059669;
        border-left-color: #10B981;
        font-weight: 600;
        background: rgba(16, 185, 129, .06);
    }
    .step-number {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 800;
        color: #059669;
        background: rgba(16, 185, 129, .1);
        border: 2px solid rgba(16, 185, 129, .3);
        flex-shrink: 0;
    }
    .safe-box {
        border-left: 4px solid #10B981;
        background: #F8FAFC;
        border-radius: 12px;
        padding: 24px;
    }
    details.faq-item {
        border: 1px solid #E2E8F0;
        border-radius: 12px;
        background: #fff;
        overflow: hidden;
        transition: border-color .2s, box-shadow .2s;
    }
    details.faq-item:hover {
        border-color: #94A3B8;
    }
    details.faq-item[open] {
        border-color: #10B981;
        box-shadow: 0 4px 16px rgba(16, 185, 129, .08);
    }
    details.faq-item summary {
        cursor: pointer;
        padding: 18px 20px;
        font-size: 16px;
        font-weight: 600;
        color: #1E293B;
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    details.faq-item summary::-webkit-details-marker {
        display: none;
    }
    details.faq-item summary .faq-icon {
        width: 28px;
        height: 28px;
        border-radius: 8px;
        background: rgba(16, 185, 129, .1);
        color: #059669;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        font-weight: 700;
        flex-shrink: 0;
        transition: transform .2s, background .2s;
    }
    details.faq-item[open] summary .faq-icon {
        transform: rotate(45deg);
        background: #10B981;
        color: #fff;
    }
    details.faq-item .faq-body {
        padding: 0 20px 18px;
        font-size: 15px;
        color: #475569;
        line-height: 1.8;
    }
    .cta-section {
        background: linear-gradient(135deg, #0F172A 0%, #111827 100%);
        border-radius: 20px;
        overflow: hidden;
        position: relative;
    }
    .cta-section::before {
        content: "";
        position: absolute;
        right: -80px;
        top: -80px;
        width: 260px;
        height: 260px;
        background: rgba(16, 185, 129, .2);
        border-radius: 50%;
    }
    .cta-section::after {
        content: "";
        position: absolute;
        left: 30%;
        bottom: -100px;
        width: 180px;
        height: 180px;
        background: rgba(251, 146, 60, .1);
        border-radius: 50%;
    }
    .hero-banner {
        background: linear-gradient(rgba(15, 23, 42, .55), rgba(15, 23, 42, .35)), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
        position: relative;
    }
    .hero-banner .overlay-white {
        background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .75) 50%, rgba(255, 255, 255, .45) 100%);
        backdrop-filter: blur(1px);
    }
    .type-card {
        border: 1px solid #E2E8F0;
        border-radius: 14px;
        padding: 24px;
        transition: box-shadow .25s, border-color .25s, background .25s;
        background: #fff;
    }
    .type-card:hover {
        border-color: rgba(16, 185, 129, .5);
        box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
        background: #FDFDFD;
    }
    .type-card .type-icon {
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: rgba(16, 185, 129, .1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 14px;
    }
    .mobile-nav-panel {
        transition: max-height .3s ease;
    }
    .search-input {
        height: 44px;
        border-radius: 999px;
        border: 1px solid #E2E8F0;
        padding: 0 16px 0 44px;
        font-size: 14px;
        width: 100%;
        background: #F8FAFC;
        transition: border-color .2s, box-shadow .2s, background .2s;
    }
    .search-input:focus {
        outline: none;
        border-color: #10B981;
        box-shadow: 0 0 0 4px rgba(16, 185, 129, .12);
        background: #fff;
    }
    .search-box {
        position: relative;
        width: 480px;
    }
    .search-box .search-icon {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #94A3B8;
        pointer-events: none;
    }
    @media (max-width: 1024px) {
        .search-box {
            width: 320px;
        }
    }
    @media (max-width: 768px) {
        .search-box {
            width: 100%;
        }
    }
    .hero-title {
        font-size: 42px;
        line-height: 1.2;
        font-weight: 800;
        color: #0F172A;
        letter-spacing: -0.02em;
    }
    @media (max-width: 640px) {
        .hero-title {
            font-size: 30px;
        }
    }
    .sticky-toc {
        position: sticky;
        top: 96px;
    }
    .content-main {
        max-width: 860px;
    }
    .grid-timeline {
        position: relative;
    }
    .grid-timeline::before {
        content: "";
        position: absolute;
        top: 24px;
        bottom: 24px;
        left: 26px;
        width: 2px;
        background: linear-gradient(to bottom, #10B981, #E2E8F0);
        border-radius: 2px;
    }
    .timeline-item {
        position: relative;
        padding-left: 72px;
        padding-bottom: 32px;
    }
    .timeline-item:last-child {
        padding-bottom: 0;
    }
    .timeline-item .step-number {
        position: absolute;
        left: 0;
        top: 0;
        background: #fff;
    }
    @media (max-width: 640px) {
        .grid-timeline::before {
            left: 22px;
        }
        .timeline-item {
            padding-left: 64px;
        }
    }
    .cover-img {
        border-radius: 16px;
        box-shadow: 0 4px 20px rgba(15, 23, 42, .08);
    }
    .breadcrumb-link {
        color: #64748B;
        font-size: 13px;
        transition: color .2s;
    }
    .breadcrumb-link:hover {
        color: #059669;
    }

/* roulang page: article */
:root {
    --ink: #0F172A;
    --ink-soft: #111827;
    --brand: #10B981;
    --brand-dark: #059669;
    --accent: #FB923C;
    --bg: #F8FAFC;
    --text: #1E293B;
    --text-2: #475569;
    --text-3: #94A3B8;
    --border: #E2E8F0;
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 8px 30px rgba(15, 23, 42, 0.14);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
  }

  html { box-sizing: border-box; scroll-behavior: smooth; }
  *, *::before, *::after { box-sizing: inherit; }
  body {
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
  }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button, input, textarea { font: inherit; }
  button { cursor: pointer; }

  .container-site {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
  }
  @media (max-width: 640px) {
    .container-site { padding-left: 16px; padding-right: 16px; }
  }

  .nav-link {
    font-size: 14px;
    color: #475569;
    font-weight: 500;
    transition: color .2s;
    white-space: nowrap;
  }
  .nav-link:hover { color: #10B981; }
  .nav-link.active { color: #10B981; font-weight: 600; }

  .mobile-nav-link {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    color: #334155;
    transition: background .2s, color .2s;
  }
  .mobile-nav-link:hover, .mobile-nav-link.active { background: #F8FAFC; color: #10B981; }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #10B981;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    transition: background .2s, transform .1s, box-shadow .2s;
  }
  .btn-primary:hover { background: #059669; }
  .btn-primary:active { transform: translateY(1px); }
  .btn-primary:focus-visible { outline: 3px solid rgba(16, 185, 129, .35); outline-offset: 2px; }

  .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #E2E8F0;
    color: #1E293B;
    font-size: 14px;
    font-weight: 600;
    height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    transition: all .2s;
  }
  .btn-outline:hover { border-color: #10B981; color: #10B981; }
  .btn-outline:active { transform: translateY(1px); }
  .btn-outline:focus-visible { outline: 3px solid rgba(16, 185, 129, .35); outline-offset: 2px; }

  .badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: rgba(16, 185, 129, .12);
    color: #059669;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
  }

  .search-box input::-webkit-search-cancel-button { display: none; }
  .search-box:focus-within {
    border-color: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, .1);
  }

  .article-body { font-size: 16px; line-height: 1.85; color: #334155; }
  .article-body p { margin: 24px 0; }
  .article-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0F172A;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E2E8F0;
  }
  .article-body h3 { font-size: 20px; font-weight: 700; color: #0F172A; margin: 32px 0 12px; }
  .article-body h4 { font-size: 17px; font-weight: 700; color: #0F172A; margin: 24px 0 8px; }
  .article-body a { color: #059669; border-bottom: 1px solid rgba(5, 150, 105, .3); transition: border-color .2s; }
  .article-body a:hover { border-bottom-color: #059669; }
  .article-body img { border-radius: 12px; border: 1px solid #E2E8F0; margin: 24px 0; }
  .article-body blockquote {
    border-left: 4px solid #10B981;
    background: #F8FAFC;
    border-radius: 8px;
    padding: 16px 20px;
    color: #475569;
    margin: 24px 0;
  }
  .article-body blockquote p { margin: 0; }
  .article-body ul, .article-body ol { margin: 24px 0; padding-left: 24px; }
  .article-body ul { list-style: disc; }
  .article-body ol { list-style: decimal; }
  .article-body li { margin: 8px 0; line-height: 1.75; }
  .article-body li::marker { color: #10B981; }
  .article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 14px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
  }
  .article-body th, .article-body td {
    padding: 12px 16px;
    border-bottom: 1px solid #E2E8F0;
    text-align: left;
    vertical-align: top;
  }
  .article-body th { background: #F8FAFC; font-weight: 600; color: #0F172A; }
  .article-body tr:last-child td { border-bottom: none; }
  .article-body pre {
    background: #0F172A;
    color: #E2E8F0;
    border-radius: 10px;
    padding: 18px 22px;
    overflow-x: auto;
    margin: 24px 0;
    font-size: 14px;
    line-height: 1.7;
  }
  .article-body code { background: #F1F5F9; color: #0F172A; border-radius: 6px; padding: 2px 6px; font-size: 14px; }
  .article-body pre code { background: transparent; color: inherit; padding: 0; }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
  }

/* roulang page: category2 */
:root {
    --color-ink: #0F172A;
    --color-primary: #10B981;
    --color-primary-dark: #059669;
    --color-surface: #F8FAFC;
    --color-text: #1E293B;
    --color-text-secondary: #475569;
    --color-text-muted: #94A3B8;
    --color-border: #E2E8F0;
    --color-accent: #FB923C;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 1px 2px rgba(15, 23, 42, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
    --shadow-hover: 0 8px 30px rgba(15, 23, 42, 0.14);
    --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { -webkit-text-size-adjust: 100%; }

  body {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
  }

  img { max-width: 100%; height: auto; display: block; }
  a { text-decoration: none; color: inherit; }
  button, input, textarea, select { font-family: inherit; }
  ul, ol { list-style: none; }

  ::selection { background: rgba(16, 185, 129, 0.2); }

  a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
    outline: 3px solid rgba(16, 185, 129, 0.35);
    outline-offset: 2px;
    border-radius: 4px;
  }

  .container-site {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  @media (max-width: 640px) {
    .container-site { padding-left: 16px; padding-right: 16px; }
  }

  /* ---------- Header / Nav ---------- */
  .site-header {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
  }

  .logo-wrap { display: inline-flex; align-items: center; }

  .nav-link {
    position: relative;
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
    padding: 8px 2px;
    transition: color 0.2s ease;
    white-space: nowrap;
  }

  .nav-link:hover { color: var(--color-primary); }

  .nav-link.active { color: var(--color-primary); font-weight: 600; }

  .nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
  }

  .search-wrap {
    display: flex;
    align-items: center;
    height: 44px;
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: #fff;
    padding: 0 6px 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .search-wrap:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
  }

  .search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    color: var(--color-text);
  }

  .search-input::placeholder { color: var(--color-text-muted); }

  .search-btn {
    flex-shrink: 0;
    height: 32px;
    padding: 0 16px;
    border: none;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
  }

  .search-btn:hover { background: var(--color-primary-dark); }

  .menu-toggle {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .menu-toggle:hover { border-color: var(--color-primary); color: var(--color-primary); }

  .mobile-drawer { display: none; }
  .mobile-drawer.open { display: block; }

  .drawer-link {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
  }

  .drawer-link:hover, .drawer-link.active { color: var(--color-primary); background: rgba(16, 185, 129, 0.06); }

  /* ---------- Buttons ---------- */
  .btn-primary, .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
  }

  .btn-primary {
    background: var(--color-primary);
    color: #fff;
    border: none;
  }

  .btn-primary:hover { background: var(--color-primary-dark); }
  .btn-primary:active { transform: translateY(1px); }

  .btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
    font-weight: 500;
  }

  .btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }

  /* ---------- Hero ---------- */
  .cat-hero { position: relative; background: #fff; overflow: hidden; }

  .cat-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.94) 20%, rgba(255, 255, 255, 0.82) 55%, rgba(255, 255, 255, 0.72));
  }

  .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
  }

  .breadcrumb a { color: var(--color-text-secondary); transition: color 0.2s ease; }
  .breadcrumb a:hover { color: var(--color-primary); }
  .breadcrumb .sep { color: var(--color-border); }

  .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    font-size: 13px;
    font-weight: 500;
  }

  /* ---------- Index chips / sidebar ---------- */
  .index-chip {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    font-size: 13px;
    color: var(--color-text);
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-block;
  }

  .index-chip:hover { border-color: var(--color-primary); color: var(--color-primary); }

  .side-link {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    padding: 6px 0 6px 14px;
    color: var(--color-text-secondary);
    border-left: 2px solid transparent;
    margin-left: -1px;
    transition: all 0.2s ease;
  }

  .side-link:hover { color: var(--color-primary); border-left-color: var(--color-primary); }
  .side-link.active { color: var(--color-primary); border-left-color: var(--color-primary); font-weight: 600; }

  /* ---------- Section ---------- */
  .section-title { font-size: 28px; font-weight: 800; color: var(--color-ink); letter-spacing: -0.01em; }

  .section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: var(--color-primary);
    margin-top: 12px;
  }

  @media (max-width: 640px) {
    .section-title { font-size: 24px; }
  }

  /* ---------- Card ---------- */
  .card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  }

  .card:hover {
    transform: translateY(-4px);
    border-color: #A7F3D0;
    box-shadow: var(--shadow-hover);
  }

  /* ---------- Scene ---------- */
  .scene-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--color-border);
  }

  .scene-item:last-child { border-bottom: none; }

  .scene-num {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-primary);
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
  }

  /* ---------- Flow ---------- */
  .flow-step {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    background: #fff;
    box-shadow: var(--shadow-card);
    transition: all 0.25s ease;
  }

  .flow-step:hover {
    transform: translateY(-4px);
    border-color: #A7F3D0;
    box-shadow: var(--shadow-hover);
  }

  .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
  }

  /* ---------- Feature ---------- */
  .feature-box {
    display: flex;
    gap: 16px;
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: all 0.25s ease;
  }

  .feature-box:hover {
    background: #fff;
    border-color: #A7F3D0;
    box-shadow: var(--shadow-card);
  }

  .feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .note-quote {
    border-left: 4px solid var(--color-primary);
    background: var(--color-surface);
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
  }

  /* ---------- FAQ ---------- */
  .faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
    transition: border-color 0.2s ease, background 0.2s ease;
    overflow: hidden;
  }

  .faq-item[open] { border-color: var(--color-primary); background: var(--color-surface); }

  .faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    list-style: none;
  }

  .faq-item summary::-webkit-details-marker { display: none; }

  .faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: var(--color-primary);
    transition: transform 0.2s ease;
    line-height: 1;
    flex-shrink: 0;
  }

  .faq-item[open] summary::after { transform: rotate(45deg); }

  .faq-body { padding: 0 24px 20px; font-size: 14px; line-height: 1.8; color: var(--color-text-secondary); }

  /* ---------- CTA banner ---------- */
  .cta-banner { background: #0F172A; position: relative; overflow: hidden; }

  .cta-banner::before {
    content: '';
    position: absolute;
    right: -40px;
    top: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 70%);
  }

  .cta-banner::after {
    content: '';
    position: absolute;
    left: -20px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 146, 60, 0.18), transparent 70%);
  }

  .cta-banner > * { position: relative; z-index: 1; }

  /* ---------- scroll margin ---------- */
  [id] { scroll-margin-top: 96px; }
