/* roulang page: index */
/* ===== 设计变量 ===== */
    :root {
        --bg: #f4eee3;
        --bg-deep: #e9dfd2;
        --bg-dark: #2d2821;
        --card-bg: #fffdf8;
        --primary: #a45c36;
        --primary-dark: #854534;
        --primary-soft: #f1e2d4;
        --secondary: #8a7359;
        --text: #2d2821;
        --text-muted: #7d7263;
        --border: #d8cbb8;
        --border-deep: #b5a38a;
        --radius: 14px;
        --radius-sm: 8px;
        --shadow: 4px 4px 0 rgba(45, 40, 33, 0.08);
        --shadow-hover: 6px 6px 0 rgba(45, 40, 33, 0.12);
        --font-serif: "Georgia", "Noto Serif SC", "Songti SC", SimSun, serif;
        --font-sans: -apple-system, "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
        --sidebar-w: 260px;
        --header-h: 64px;
        --space-section: 72px;
    }

    /* ===== 基础 Reset ===== */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    html {
        scroll-behavior: smooth;
    }
    body {
        font-family: var(--font-sans);
        background: var(--bg);
        color: var(--text);
        line-height: 1.7;
        -webkit-font-smoothing: antialiased;
    }
    img {
        max-width: 100%;
        display: block;
        height: auto;
    }
    a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.2s;
    }
    a:hover {
        color: var(--primary-dark);
    }
    button,
    input {
        font-family: inherit;
        font-size: inherit;
    }
    ul,
    ol {
        list-style: none;
    }
    h1,
    h2,
    h3,
    h4 {
        font-family: var(--font-serif);
        font-weight: 700;
        line-height: 1.35;
        color: var(--text);
    }
    h1 {
        font-size: 44px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 22px;
    }
    p {
        margin-bottom: 12px;
    }
    details summary::-webkit-details-marker {
        display: none;
    }

    /* ===== 布局容器 ===== */
    .layout {
        display: flex;
        min-height: 100vh;
    }
    .main-wrap {
        flex: 1;
        margin-left: var(--sidebar-w);
        display: flex;
        flex-direction: column;
        min-width: 0;
    }
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 28px;
    }
    .section {
        padding: var(--space-section) 0;
    }
    .section-dark {
        background: var(--bg-dark);
        color: #e9dfd2;
    }
    .section-dark h2,
    .section-dark h3 {
        color: #f4eee3;
    }
    .section-head {
        max-width: 720px;
        margin-bottom: 44px;
    }
    .section-head .eyebrow {
        display: inline-block;
        font-size: 13px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--primary);
        background: var(--primary-soft);
        border: 1px solid var(--border);
        border-radius: 999px;
        padding: 4px 16px;
        margin-bottom: 14px;
        font-weight: 600;
    }
    .section-head p {
        color: var(--text-muted);
        font-size: 16px;
        margin-top: 8px;
    }

    /* ===== 侧边栏导航 ===== */
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: var(--sidebar-w);
        background: var(--bg-dark);
        z-index: 200;
        display: flex;
        flex-direction: column;
        border-right: 2px solid #3d362d;
        padding: 32px 0 24px;
        overflow-y: auto;
    }
    .sidebar-brand {
        padding: 0 28px;
        margin-bottom: 40px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }
    .brand-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        background: var(--primary);
        border: 2px solid #e9dfd2;
        border-radius: 12px;
        font-family: var(--font-serif);
        font-size: 20px;
        font-weight: 700;
        color: #fdf8f0;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    }
    .brand-name {
        font-family: var(--font-serif);
        font-size: 22px;
        font-weight: 700;
        color: #f4eee3;
        letter-spacing: 0.04em;
    }
    .brand-sub {
        display: block;
        width: 100%;
        font-size: 12px;
        color: #a69a85;
        letter-spacing: 0.1em;
        padding-left: 56px;
        margin-top: -6px;
    }
    .main-nav {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    .main-nav .nav-label {
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        color: #7d7263;
        padding: 0 12px;
        margin-bottom: 10px;
    }
    .nav-link {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 13px 16px;
        border-radius: 12px;
        color: #c9beae;
        font-size: 15px;
        font-weight: 500;
        border: 1px solid transparent;
        transition: all 0.2s;
    }
    .nav-link i {
        width: 20px;
        text-align: center;
        font-size: 16px;
    }
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #f4eee3;
        border-color: rgba(255, 255, 255, 0.08);
    }
    .nav-link.active {
        background: var(--primary);
        color: #fdf8f0;
        border-color: #854534;
        box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
    }
    .sidebar-foot {
        margin-top: auto;
        padding: 24px 28px 0;
        font-size: 12px;
        color: #7d7263;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        line-height: 1.8;
    }
    .sidebar-close {
        display: none;
        position: absolute;
        top: 14px;
        right: 14px;
        color: #a69a85;
        font-size: 20px;
        cursor: pointer;
        z-index: 5;
    }

    /* ===== 移动端顶部栏 ===== */
    .mobile-header {
        display: none;
        background: var(--bg-dark);
        padding: 0 18px;
        height: var(--header-h);
        align-items: center;
        gap: 14px;
        position: sticky;
        top: 0;
        z-index: 300;
        border-bottom: 2px solid #3d362d;
    }
    .menu-trigger {
        color: #e9dfd2;
        font-size: 20px;
        cursor: pointer;
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        background: transparent;
        line-height: 1;
    }
    .menu-trigger:hover {
        background: rgba(255, 255, 255, 0.08);
    }
    .mobile-brand {
        font-family: var(--font-serif);
        color: #f4eee3;
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 0.03em;
    }
    .mobile-header-cta {
        margin-left: auto;
        background: var(--primary);
        color: #fdf8f0;
        border: 1px solid #854534;
        border-radius: 8px;
        padding: 6px 16px;
        font-size: 13px;
        font-weight: 600;
    }
    .sidebar-toggle {
        display: none;
    }

    /* ===== Hero 首屏 ===== */
    .hero {
        position: relative;
        background-image: linear-gradient(115deg, rgba(45, 40, 33, 0.82) 0%, rgba(45, 40, 33, 0.55) 50%, rgba(45, 40, 33, 0.2) 100%), url('/assets/images/backpic/back-1.png');
        background-size: cover;
        background-position: center;
        padding: 96px 0 80px;
        border-bottom: 4px solid var(--border-deep);
    }
    .hero-inner {
        display: flex;
        align-items: center;
        gap: 56px;
    }
    .hero-content {
        flex: 1;
        min-width: 0;
    }
    .hero-tag {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.12);
        color: #f4eee3;
        border: 1px solid rgba(255, 255, 255, 0.25);
        padding: 6px 18px;
        border-radius: 999px;
        font-size: 13px;
        letter-spacing: 0.06em;
        margin-bottom: 24px;
        backdrop-filter: blur(4px);
    }
    .hero-title {
        color: #fdf8f0;
        font-size: 48px;
        margin-bottom: 18px;
        line-height: 1.25;
        text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
    }
    .hero-title span {
        color: #e8a87a;
    }
    .hero-desc {
        color: #ddd2c2;
        font-size: 17px;
        max-width: 560px;
        margin-bottom: 32px;
        line-height: 1.8;
    }
    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        margin-bottom: 44px;
    }
    .hero-stats {
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }
    .stat-item .stat-num {
        font-family: var(--font-serif);
        font-size: 30px;
        font-weight: 700;
        color: #fdf8f0;
        line-height: 1.2;
    }
    .stat-item .stat-label {
        font-size: 13px;
        color: #a69a85;
        margin-top: 2px;
    }
    .hero-visual {
        flex: 0 0 360px;
        position: relative;
    }
    .hero-photo {
        background: var(--card-bg);
        border: 6px solid var(--card-bg);
        border-radius: 16px;
        box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.3);
        transform: rotate(2deg);
        overflow: hidden;
        position: relative;
        z-index: 1;
    }
    .hero-photo img {
        width: 100%;
        height: 240px;
        object-fit: cover;
    }
    .hero-photo-caption {
        padding: 12px 16px;
        font-size: 13px;
        color: var(--text-muted);
        background: var(--card-bg);
        font-style: italic;
        border-top: 1px solid var(--border);
    }
    .hero-photo::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 20px;
        width: 60px;
        height: 24px;
        background: rgba(244, 238, 227, 0.85);
        border-radius: 4px;
        transform: rotate(-3deg);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }

    /* ===== 按钮系统 ===== */
    .btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 28px;
        border-radius: var(--radius-sm);
        font-size: 15px;
        font-weight: 600;
        border: 2px solid var(--text);
        cursor: pointer;
        transition: all 0.2s;
        text-decoration: none;
        line-height: 1.4;
    }
    .btn-primary {
        background: linear-gradient(135deg, #b9673d, #8a4530);
        color: #fdf8f0;
        border-color: #2d2821;
        box-shadow: 3px 3px 0 #2d2821;
    }
    .btn-primary:hover {
        transform: translate(-1px, -1px);
        box-shadow: 5px 5px 0 #2d2821;
        color: #fff;
    }
    .btn-primary:active {
        transform: translate(2px, 2px);
        box-shadow: 1px 1px 0 #2d2821;
    }
    .btn-light {
        background: #f4eee3;
        color: var(--text);
        border-color: #2d2821;
        box-shadow: 3px 3px 0 #2d2821;
    }
    .btn-light:hover {
        transform: translate(-1px, -1px);
        box-shadow: 5px 5px 0 #2d2821;
        color: var(--text);
    }
    .btn-light:active {
        transform: translate(2px, 2px);
        box-shadow: 1px 1px 0 #2d2821;
    }
    .btn-ghost-light {
        background: transparent;
        color: #f4eee3;
        border-color: #f4eee3;
    }
    .btn-ghost-light:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
    }

    /* ===== 快捷矩阵 ===== */
    .quick-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .quick-card {
        background: var(--card-bg);
        border: 2px solid var(--border);
        border-radius: var(--radius);
        padding: 26px 20px;
        text-align: center;
        box-shadow: var(--shadow);
        transition: all 0.25s;
        position: relative;
    }
    .quick-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
        border-color: var(--primary);
    }
    .quick-card .icon-wrap {
        width: 52px;
        height: 52px;
        margin: 0 auto 14px;
        background: var(--primary-soft);
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 22px;
        border: 1px solid var(--border);
        transition: all 0.25s;
    }
    .quick-card:hover .icon-wrap {
        background: var(--primary);
        color: #fdf8f0;
    }
    .quick-card h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }
    .quick-card p {
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 0;
    }

    /* ===== 特性卡片 ===== */
    .feature-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
        counter-reset: feature;
    }
    .feature-card {
        background: var(--card-bg);
        border: 2px solid var(--border);
        border-radius: var(--radius);
        padding: 34px;
        position: relative;
        box-shadow: var(--shadow);
        transition: all 0.25s;
        overflow: hidden;
    }
    .feature-card::before {
        counter-increment: feature;
        content: "0" counter(feature);
        position: absolute;
        top: 20px;
        right: 24px;
        font-family: var(--font-serif);
        font-size: 44px;
        font-weight: 700;
        color: var(--border);
        line-height: 1;
        z-index: 0;
    }
    .feature-card:hover {
        border-color: var(--primary);
        box-shadow: var(--shadow-hover);
    }
    .feature-icon {
        width: 56px;
        height: 56px;
        background: var(--primary-soft);
        border-radius: 50% 50% 50% 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--primary);
        font-size: 24px;
        margin-bottom: 20px;
        border: 1px solid var(--border);
    }
    .feature-card h3 {
        margin-bottom: 10px;
        font-size: 20px;
        position: relative;
        z-index: 1;
    }
    .feature-card p {
        color: var(--text-muted);
        font-size: 15px;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
    }

    /* ===== 分类入口 ===== */
    .category-banner {
        display: flex;
        background: var(--card-bg);
        border: 2px solid var(--border-deep);
        border-radius: var(--radius);
        overflow: hidden;
        box-shadow: 6px 6px 0 rgba(45, 40, 33, 0.1);
    }
    .category-banner .cat-image {
        flex: 0 0 360px;
        min-height: 260px;
        overflow: hidden;
        position: relative;
    }
    .category-banner .cat-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }
    .category-banner:hover .cat-image img {
        transform: scale(1.04);
    }
    .category-banner .cat-image::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(105deg, transparent 50%, rgba(45, 40, 33, 0.3));
    }
    .category-banner .cat-content {
        flex: 1;
        padding: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .category-banner .cat-tag {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--primary-soft);
        border: 1px solid var(--border);
        color: var(--primary);
        border-radius: 999px;
        padding: 4px 16px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.05em;
        width: fit-content;
        margin-bottom: 16px;
    }
    .category-banner h3 {
        font-size: 26px;
        margin-bottom: 12px;
    }
    .category-banner p {
        color: var(--text-muted);
        margin-bottom: 24px;
        max-width: 460px;
    }

    /* ===== 最新发布列表 ===== */
    .news-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .post-card {
        background: var(--card-bg);
        border: 2px solid var(--border);
        border-radius: var(--radius);
        padding: 24px;
        display: flex;
        flex-direction: column;
        transition: all 0.25s;
        box-shadow: var(--shadow);
        position: relative;
    }
    .post-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
        border-color: var(--primary);
    }
    .post-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 14px;
        font-size: 12px;
    }
    .post-category {
        background: var(--primary-soft);
        color: var(--primary);
        border-radius: 6px;
        padding: 2px 12px;
        border: 1px solid var(--border);
        font-weight: 600;
    }
    .post-date {
        color: var(--text-muted);
        font-style: italic;
    }
    .post-card h3 {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 10px;
        flex-grow: 0;
    }
    .post-card h3 a {
        color: var(--text);
    }
    .post-card h3 a:hover {
        color: var(--primary);
    }
    .post-card .post-excerpt {
        font-size: 14px;
        color: var(--text-muted);
        margin-bottom: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        flex-grow: 1;
    }
    .post-link {
        font-size: 13px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--primary);
    }
    .post-link i {
        font-size: 12px;
        transition: transform 0.2s;
    }
    .post-link:hover i {
        transform: translateX(4px);
    }
    .empty-tip {
        grid-column: 1 / -1;
        background: var(--card-bg);
        border: 2px dashed var(--border-deep);
        border-radius: var(--radius);
        padding: 48px;
        text-align: center;
        color: var(--text-muted);
        font-size: 16px;
    }

    /* ===== 流程步骤 ===== */
    .process-wrap {
        background: var(--bg-dark);
        border-radius: var(--radius);
        padding: 48px;
        position: relative;
        overflow: hidden;
    }
    .process-wrap::before {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
        border-radius: 50%;
    }
    .process-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        position: relative;
    }
    .process-grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: repeating-linear-gradient(90deg, #a45c36 0 8px, transparent 8px 16px);
    }
    .step-item {
        text-align: center;
        padding: 0 16px;
        position: relative;
    }
    .step-num {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: var(--bg-dark);
        border: 3px solid var(--primary);
        color: #e8a87a;
        font-family: var(--font-serif);
        font-size: 32px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        box-shadow: 0 0 0 6px rgba(164, 92, 54, 0.2);
        position: relative;
        z-index: 1;
    }
    .step-item h3 {
        color: #f4eee3;
        font-size: 18px;
        margin-bottom: 8px;
    }
    .step-item p {
        color: #a69a85;
        font-size: 14px;
        margin-bottom: 0;
    }

    /* ===== FAQ ===== */
    .faq-list {
        max-width: 800px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .faq-item {
        background: var(--card-bg);
        border: 2px solid var(--border);
        border-radius: 12px;
        overflow: hidden;
        transition: border-color 0.2s;
    }
    .faq-item[open] {
        border-color: var(--primary);
    }
    .faq-item summary {
        cursor: pointer;
        padding: 20px 28px;
        font-weight: 600;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        list-style: none;
        background: var(--card-bg);
    }
    .faq-item summary::-webkit-details-marker {
        display: none;
    }
    .faq-item summary::after {
        content: '+';
        font-size: 24px;
        color: var(--primary);
        font-weight: 400;
        transition: transform 0.25s;
        flex-shrink: 0;
    }
    .faq-item[open] summary::after {
        content: '−';
    }
    .faq-item .faq-body {
        padding: 0 28px 20px;
        color: var(--text-muted);
        font-size: 15px;
        line-height: 1.8;
    }

    /* ===== CTA ===== */
    .cta-box {
        background: var(--primary);
        border: 2px solid #2d2821;
        border-radius: 18px;
        padding: 56px;
        text-align: center;
        box-shadow: 8px 8px 0 rgba(45, 40, 33, 0.15);
        position: relative;
        overflow: hidden;
    }
    .cta-box::before {
        content: '';
        position: absolute;
        top: -30px;
        left: -30px;
        width: 120px;
        height: 120px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
    }
    .cta-box::after {
        content: '';
        position: absolute;
        bottom: -40px;
        right: -20px;
        width: 160px;
        height: 160px;
        background: rgba(255, 255, 255, 0.06);
        border-radius: 50%;
    }
    .cta-box h2 {
        color: #fdf8f0;
        font-size: 32px;
        margin-bottom: 14px;
        position: relative;
        z-index: 1;
    }
    .cta-box p {
        color: rgba(253, 248, 240, 0.85);
        max-width: 560px;
        margin: 0 auto 30px;
        position: relative;
        z-index: 1;
    }
    .cta-box .btn {
        position: relative;
        z-index: 1;
    }

    /* ===== 页脚 ===== */
    .site-footer {
        background: var(--bg-dark);
        color: #a69a85;
        padding: 48px 0 28px;
        border-top: 4px solid var(--primary);
        margin-top: auto;
    }
    .footer-inner {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 32px;
    }
    .footer-brand .brand-name {
        font-size: 20px;
        margin-bottom: 8px;
        display: inline-block;
    }
    .footer-brand .brand-badge {
        width: 40px;
        height: 40px;
        font-size: 18px;
        margin-right: 10px;
    }
    .footer-brand p {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 14px;
        max-width: 360px;
    }
    .footer-col h4 {
        color: #e9dfd2;
        font-family: var(--font-sans);
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 16px;
        letter-spacing: 0.06em;
    }
    .footer-col ul li {
        margin-bottom: 10px;
    }
    .footer-col a {
        color: #a69a85;
        font-size: 14px;
    }
    .footer-col a:hover {
        color: #e8a87a;
    }
    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 13px;
    }
    .footer-bottom .tech-line {
        color: #7d7263;
    }

    /* ===== 响应式断点 ===== */
    @media (max-width: 1024px) {
        :root {
            --space-section: 56px;
        }
        .hero-inner {
            gap: 32px;
        }
        .hero-visual {
            flex-basis: 300px;
        }
        .hero-title {
            font-size: 38px;
        }
        .quick-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .news-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        .process-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 32px;
        }
        .process-grid::before {
            display: none;
        }
        .category-banner .cat-image {
            flex-basis: 280px;
        }
    }

    @media (max-width: 992px) {
        .sidebar {
            transform: translateX(calc(-1 * var(--sidebar-w)));
            transition: transform 0.3s ease;
            box-shadow: 4px 0 30px rgba(0, 0, 0, 0.4);
        }
        .sidebar-close {
            display: block;
        }
        .sidebar-brand {
            padding-right: 50px;
        }
        .main-wrap {
            margin-left: 0;
        }
        .mobile-header {
            display: flex;
        }
        .sidebar-toggle:checked~.layout .sidebar {
            transform: translateX(0);
        }
        .sidebar-toggle:checked~.layout::before {
            content: '';
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 150;
            animation: fadeIn 0.2s;
        }
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
    }

    @media (max-width: 768px) {
        h1 {
            font-size: 32px;
        }
        h2 {
            font-size: 26px;
        }
        .hero {
            padding: 56px 0 48px;
        }
        .hero-inner {
            flex-direction: column;
        }
        .hero-visual {
            flex: 0 1 auto;
            width: 100%;
            max-width: 420px;
        }
        .hero-photo img {
            height: 200px;
        }
        .hero-stats {
            gap: 20px;
        }
        .feature-grid {
            grid-template-columns: 1fr;
            gap: 24px;
        }
        .category-banner {
            flex-direction: column;
        }
        .category-banner .cat-image {
            min-height: 180px;
        }
        .category-banner .cat-content {
            padding: 28px;
        }
        .news-grid {
            grid-template-columns: 1fr;
        }
        .process-wrap {
            padding: 32px 24px;
        }
        .process-grid {
            grid-template-columns: 1fr;
            gap: 28px;
        }
        .step-num {
            width: 64px;
            height: 64px;
            font-size: 26px;
            margin-bottom: 12px;
        }
        .cta-box {
            padding: 36px 24px;
        }
        .cta-box h2 {
            font-size: 26px;
        }
        .footer-inner {
            grid-template-columns: 1fr;
            gap: 28px;
        }
        .footer-bottom {
            flex-direction: column;
            text-align: center;
        }
        .container {
            padding: 0 20px;
        }
    }

    @media (max-width: 520px) {
        :root {
            --space-section: 44px;
        }
        h1 {
            font-size: 28px;
        }
        h2 {
            font-size: 22px;
        }
        .hero-actions {
            flex-direction: column;
        }
        .hero-actions .btn {
            width: 100%;
            justify-content: center;
        }
        .quick-grid {
            grid-template-columns: 1fr;
        }
        .feature-card {
            padding: 24px;
        }
        .hero-photo img {
            height: 160px;
        }
        .hero-tag {
            font-size: 12px;
            padding: 4px 12px;
        }
        .hero-desc {
            font-size: 15px;
        }
        .btn {
            padding: 11px 20px;
            font-size: 14px;
        }
    }

/* roulang page: category1 */
:root {
    --bg-paper: #f6f0e4;
    --bg-card: #fffaf0;
    --bg-deep: #2d2a26;
    --bg-soft: #f1e8d6;
    --ink-main: #3b3229;
    --ink-soft: #6b5f52;
    --ink-faint: #9b8f81;
    --accent: #b3543a;
    --accent-dark: #8a3b28;
    --accent-2: #8a6d4b;
    --line: #d8c9b2;
    --line-dark: #a9977e;
    --shadow: 0 14px 40px rgba(60, 45, 30, .10);
    --shadow-lg: 0 20px 50px rgba(60, 45, 30, .14);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --font-body: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
    --font-ui: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-paper);
    background-image: radial-gradient(ellipse at 20% 50%, rgba(180, 140, 90, .08), transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(140, 100, 60, .06), transparent 50%);
    color: var(--ink-main);
    line-height: 1.75;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
summary {
    font-family: var(--font-ui);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.shell {
    display: flex;
    min-height: 100vh;
}

.main {
    flex: 1;
    margin-left: 272px;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.section {
    padding: 76px 0;
    position: relative;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(179, 84, 58, .4);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ========== 左侧导航 ========== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 272px;
    height: 100vh;
    background: var(--bg-deep);
    color: #d9cbb6;
    z-index: 130;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, .08);
    overflow-y: auto;
}

.sidebar::after {
    content: '';
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(255, 220, 170, .12);
    border-radius: 14px;
    pointer-events: none;
}

.sidebar-inner {
    padding: 28px 20px 20px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px dashed rgba(255, 255, 255, .14);
}

.brand-badge {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff6e8;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    transform: rotate(-4deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
    flex-shrink: 0;
}

.brand-name {
    font-size: 20px;
    font-weight: 800;
    color: #f2e8d8;
    letter-spacing: .03em;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    color: #cbbfa9;
    font-family: var(--font-ui);
    font-weight: 500;
    font-size: 15px;
    transition: all .25s ease;
}

.nav-link i {
    width: 20px;
    text-align: center;
    opacity: .7;
    font-size: 15px;
}

.nav-link:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
    border-color: rgba(255, 255, 255, .12);
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(179, 84, 58, .2);
    border-color: rgba(179, 84, 58, .35);
    color: #ffe0c4;
    box-shadow: inset 3px 0 0 var(--accent);
}

.sidebar-note {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px dashed rgba(255, 255, 255, .1);
    font-size: 13px;
    color: rgba(255, 255, 255, .4);
    line-height: 1.7;
    font-family: var(--font-ui);
}

.sidebar-note i {
    color: #f0c896;
    margin-right: 6px;
}

.sidebar-toggle-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30, 20, 10, .4);
    backdrop-filter: blur(2px);
    z-index: 125;
}

/* ========== 移动端顶部 ========== */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-deep);
    color: #f2e8d8;
    position: sticky;
    top: 0;
    z-index: 120;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.menu-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    cursor: pointer;
    color: #f2e8d8;
    font-size: 18px;
    background: transparent;
    transition: background .25s;
}

.menu-trigger:hover {
    background: rgba(255, 255, 255, .08);
}

.mobile-brand {
    font-weight: 800;
    font-size: 18px;
    color: #f2e8d8;
    text-decoration: none;
    letter-spacing: .02em;
}

.mobile-header-cta {
    padding: 8px 14px;
    background: var(--accent);
    color: #fff6e8;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-ui);
    transition: background .25s, transform .25s;
}

.mobile-header-cta:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

/* ========== 分类页横幅 ========== */
.page-banner {
    background: linear-gradient(110deg, rgba(42, 37, 30, .93) 0%, rgba(42, 37, 30, .78) 100%), url('/assets/images/backpic/back-1.png') center/cover no-repeat;
    color: #f0e6d6;
    padding: 84px 0 76px;
    border-bottom: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 30px, transparent 30px 60px);
    opacity: .55;
}

.banner-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.banner-content {
    max-width: 680px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 28px;
    font-family: var(--font-ui);
}

.breadcrumb a {
    color: #f0c896;
    text-decoration: none;
    transition: color .25s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb i {
    font-size: 11px;
    opacity: .6;
}

.banner-kicker {
    display: inline-block;
    font-size: 14px;
    letter-spacing: .12em;
    color: #f0c896;
    font-family: var(--font-ui);
    border: 1px solid rgba(240, 200, 150, .35);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(240, 200, 150, .08);
    margin-bottom: 20px;
}

.banner-content h1 {
    font-size: 44px;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #fff6e8;
    font-weight: 800;
}

.banner-desc {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .72);
    margin-bottom: 24px;
    max-width: 640px;
}

.banner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
    color: #f0e6d6;
    font-size: 13px;
    font-family: var(--font-ui);
    backdrop-filter: blur(4px);
}

.tag i {
    color: #f0c896;
    font-size: 12px;
}

.btn-light {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border: 2px solid rgba(255, 255, 255, .75);
    color: #fff6e8;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all .25s;
}

.btn-light:hover {
    background: #fff6e8;
    color: var(--accent);
    border-color: #fff6e8;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

.banner-ornament {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stamp {
    width: 110px;
    height: 110px;
    border: 4px solid rgba(255, 200, 150, .5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 215, 170, .75);
    font-family: var(--font-ui);
    font-size: 18px;
    font-weight: 800;
    transform: rotate(-12deg);
    letter-spacing: .06em;
    position: relative;
    box-shadow: 0 0 0 8px rgba(255, 200, 150, .08);
}

.stamp::after {
    content: '★';
    position: absolute;
    font-size: 12px;
    top: 14px;
    color: rgba(255, 215, 170, .5);
}

/* ========== 板块标题 ========== */
.section-head {
    max-width: 720px;
    margin: 0 auto 50px;
    text-align: center;
}

.section-kicker {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .16em;
    color: var(--accent);
    font-family: var(--font-ui);
    border: 1px solid rgba(179, 84, 58, .28);
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(179, 84, 58, .06);
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-bottom: 14px;
    color: var(--ink-main);
    font-weight: 800;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 16px;
}

/* ========== 指南卡片 ========== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.guide-card::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1px dashed rgba(138, 109, 75, .28);
    border-radius: 13px;
    pointer-events: none;
    z-index: 1;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(179, 84, 58, .4);
}

.card-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.guide-card:hover .card-media img {
    transform: scale(1.05);
}

.card-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 20, 10, .26), transparent 30%);
}

.card-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-cat {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 12px;
    letter-spacing: .08em;
    color: var(--accent);
    border: 1px solid rgba(179, 84, 58, .3);
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(179, 84, 58, .06);
    align-self: flex-start;
}

.card-body h3 {
    font-size: 20px;
    margin: 14px 0 10px;
    color: var(--ink-main);
    line-height: 1.4;
    font-weight: 700;
}

.card-body p {
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.75;
    flex: 1;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-ui);
    font-size: 14px;
    border-bottom: 1px dashed transparent;
    transition: all .25s;
}

.card-link:hover {
    border-bottom-color: var(--accent);
    gap: 12px;
}

/* ========== 登录流程 ========== */
.steps-panel {
    background: linear-gradient(rgba(42, 37, 30, .9), rgba(42, 37, 30, .9)), url('/assets/images/backpic/back-2.png') center/cover no-repeat;
    border-radius: 22px;
    padding: 52px;
    color: #eadfcb;
    border: 1px solid rgba(255, 220, 170, .12);
    box-shadow: 0 18px 48px rgba(45, 35, 25, .2);
    position: relative;
}

.steps-panel::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(255, 230, 190, .2);
    border-radius: 14px;
    pointer-events: none;
}

.steps-head {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin-bottom: 40px;
}

.steps-head .section-kicker {
    border-color: rgba(240, 200, 150, .4);
    color: #f0c896;
    background: rgba(240, 200, 150, .08);
}

.steps-head h2 {
    font-size: 30px;
    color: #f4eadc;
    margin-bottom: 10px;
    line-height: 1.35;
}

.steps-head p {
    color: rgba(255, 255, 255, .64);
    font-size: 15px;
}

.step-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.step-item {
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    padding: 26px 22px;
    transition: transform .25s, background .25s;
}

.step-item:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-3px);
}

.step-index {
    display: inline-block;
    font-size: 13px;
    color: #f0c896;
    font-family: var(--font-ui);
    letter-spacing: .08em;
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(240, 200, 150, .35);
    padding-bottom: 6px;
}

.step-num {
    font-size: 34px;
    font-weight: 800;
    color: #f6d9a8;
    line-height: 1;
    font-family: var(--font-ui);
}

.step-item h4 {
    margin: 12px 0 8px;
    font-size: 18px;
    color: #f4eadc;
}

.step-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, .66);
    line-height: 1.7;
}

/* ========== 最新指南 ========== */
.article-section {
    background: var(--bg-soft);
    border-top: 2px dashed var(--line);
    border-bottom: 2px dashed var(--line);
}

.article-list {
    max-width: 940px;
    margin: 0 auto;
    border-left: 2px dashed var(--line-dark);
    padding-left: 28px;
}

.article-row {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 14px;
    background: rgba(255, 255, 255, .6);
    transition: all .25s;
}

.article-row::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 50%;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 4px rgba(179, 84, 58, .15);
}

.article-row:hover {
    background: var(--bg-card);
    box-shadow: var(--shadow);
    transform: translateX(4px);
    border-color: rgba(179, 84, 58, .3);
}

.article-date {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--ink-faint);
    white-space: nowrap;
    min-width: 82px;
}

.article-cat {
    font-size: 12px;
    color: var(--accent);
    border: 1px solid rgba(179, 84, 58, .28);
    padding: 3px 10px;
    border-radius: 999px;
    font-family: var(--font-ui);
    background: rgba(179, 84, 58, .05);
    white-space: nowrap;
}

.article-title {
    font-weight: 600;
    color: var(--ink-main);
    transition: color .25s;
    flex: 1;
    min-width: 200px;
}

.article-title:hover {
    color: var(--accent);
}

.article-arrow {
    color: var(--accent);
    font-size: 14px;
}

/* ========== 数据区 ========== */
.stats-section {
    padding: 64px 0;
    background: #faf3e6;
    border-top: 2px dashed var(--line);
    border-bottom: 2px dashed var(--line);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 30px 16px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(60, 45, 30, .06);
    transition: transform .25s, box-shadow .25s;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.stat-num {
    font-size: 34px;
    font-weight: 800;
    color: var(--accent);
    font-family: var(--font-ui);
    line-height: 1.2;
}

.stat-label {
    color: var(--ink-soft);
    font-size: 14px;
    margin-top: 6px;
    font-family: var(--font-ui);
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(60, 45, 30, .05);
    transition: border-color .25s, box-shadow .25s;
}

.faq-item[open] {
    border-color: rgba(179, 84, 58, .4);
    box-shadow: 0 8px 24px rgba(60, 45, 30, .08);
}

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-family: var(--font-ui);
    font-size: 16px;
    color: var(--ink-main);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-q::after {
    content: '+';
    font-size: 26px;
    color: var(--accent);
    transition: transform .25s;
    line-height: 1;
    font-weight: 400;
}

.faq-item[open] .faq-q::after {
    transform: rotate(45deg);
}

.faq-a {
    padding: 0 22px 20px;
    color: var(--ink-soft);
    line-height: 1.85;
    font-size: 15px;
}

/* ========== CTA ========== */
.cta-section-wrap {
    padding-bottom: 90px;
}

.cta-section {
    background: linear-gradient(135deg, #b3543a 0%, #8a3b28 100%);
    border-radius: 22px;
    padding: 56px 48px;
    color: #fff6e8;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(138, 59, 40, .28);
}

.cta-section::before {
    content: '开云在线';
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 96px;
    font-weight: 800;
    opacity: .08;
    color: #fff;
    pointer-events: none;
}

.cta-section h2 {
    font-size: 30px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255, 255, 255, .78);
    font-size: 16px;
    position: relative;
    z-index: 1;
}

.cta-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 26px auto 0;
    position: relative;
    z-index: 1;
}

.cta-form input {
    flex: 1;
    padding: 13px 18px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, .92);
    font-size: 15px;
    color: var(--ink-main);
    transition: box-shadow .25s;
}

.cta-form input::placeholder {
    color: var(--ink-faint);
}

.cta-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(240, 200, 150, .35);
}

.cta-form button {
    padding: 13px 24px;
    background: var(--bg-deep);
    color: #fff6e8;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font-ui);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .25s, transform .25s;
}

.cta-form button:hover {
    background: #1e1c1a;
    transform: translateY(-1px);
}

/* ========== 页脚 ========== */
.site-footer {
    background: var(--bg-deep);
    color: #cbbfa9;
    margin-top: auto;
    padding: 64px 0 28px;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--accent) 0 24px, transparent 24px 48px);
    opacity: .6;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand .brand-badge {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #fff6e8;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    transform: rotate(-4deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .3);
}

.footer-brand .brand-name {
    display: inline-block;
    margin-left: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #f2e8d8;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.85;
    max-width: 380px;
    color: rgba(255, 255, 255, .5);
}

.footer-col h4 {
    color: #efe3cf;
    font-size: 16px;
    margin-bottom: 16px;
    font-family: var(--font-ui);
    font-weight: 700;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #b6a994;
    text-decoration: none;
    transition: color .25s;
}

.footer-col a:hover {
    color: #f0c896;
}

.footer-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b6a994;
    font-size: 14px;
}

.footer-col li i {
    color: var(--accent);
    width: 18px;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 22px;
    color: rgba(255, 255, 255, .4);
    font-size: 13px;
    font-family: var(--font-ui);
}

.tech-line {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ========== 响应式 ========== */
@media (max-width: 1199px) {
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform .3s ease;
        box-shadow: 4px 0 28px rgba(0, 0, 0, .3);
    }

    .sidebar-toggle-checkbox:checked~.sidebar {
        transform: translateX(0);
    }

    .sidebar-toggle-checkbox:checked~.overlay {
        display: block;
    }

    .mobile-header {
        display: flex;
    }

    .main {
        margin-left: 0;
    }

    .step-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .banner-ornament {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 56px 0;
    }

    .section-head h2 {
        font-size: 28px;
    }

    .page-banner {
        padding: 56px 0 52px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .steps-panel {
        padding: 32px 22px;
    }

    .steps-head h2 {
        font-size: 24px;
    }

    .step-grid {
        gap: 14px;
    }

    .article-row {
        padding: 18px 16px;
    }

    .article-date {
        min-width: auto;
    }

    .cta-section {
        padding: 40px 24px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-form {
        flex-direction: column;
    }

    .cta-form button {
        justify-content: center;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .section-head h2 {
        font-size: 24px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .banner-desc {
        font-size: 15px;
    }

    .banner-tags {
        gap: 8px;
    }

    .tag {
        padding: 6px 10px;
        font-size: 12px;
    }

    .step-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .article-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .article-arrow {
        display: none;
    }
}

/* roulang page: article */
:root {
  --bg: #f5efe4;
  --bg-card: #fffaf2;
  --bg-soft: #ede2d1;
  --ink: #2a2118;
  --ink-2: #6b5d4d;
  --brand: #b0542a;
  --brand-2: #8e401f;
  --moss: #4c6a4b;
  --line: #d8c6ae;
  --line-strong: #b8a587;
  --shadow: 0 8px 28px rgba(64,48,30,.10);
  --shadow-lg: 0 16px 48px rgba(64,48,30,.16);
  --radius: 14px;
  --radius-sm: 8px;
  --sidebar-w: 268px;
  --transition: .25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul, ol { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sidebar-toggle-check { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

.mobile-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--line);
}
.menu-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px 3px 10px 3px;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
}
.menu-trigger:hover { background: var(--bg-soft); border-color: var(--line-strong); }
.mobile-brand {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
  letter-spacing: .03em;
}
.mobile-header-cta {
  margin-left: auto;
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px 6px 20px 6px;
  box-shadow: 2px 2px 0 var(--brand-2);
  transition: var(--transition);
}
.mobile-header-cta:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--brand-2); }

.sidebar {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--sidebar-w);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px 24px;
  background: var(--bg-card);
  border-right: 1px solid var(--line);
  box-shadow: 2px 0 18px rgba(64,48,30,.06);
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.sidebar-toggle-check:checked ~ .sidebar {
  transform: translateX(0);
  box-shadow: 0 0 50px rgba(64,48,30,.22);
}
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(42,33,26,.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  cursor: pointer;
}
.sidebar-toggle-check:checked ~ .sidebar-backdrop { opacity: 1; visibility: visible; }

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 24px;
  border-bottom: 2px double var(--line);
}
.brand-badge {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 1.5rem;
  border-radius: 12px 4px 12px 4px;
  box-shadow: 3px 3px 0 var(--brand-2);
}
.brand-text strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  font-size: 1.25rem;
  letter-spacing: .04em;
  line-height: 1.3;
}
.brand-text small {
  color: var(--ink-2);
  font-size: .72rem;
  letter-spacing: .2em;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px 4px 10px 4px;
  color: var(--ink-2);
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: var(--transition);
}
.nav-item i { width: 20px; text-align: center; color: var(--brand); }
.nav-item:hover {
  background: var(--bg-soft);
  border-color: var(--line);
  color: var(--ink);
  transform: translateX(4px);
}
.nav-item.active {
  background: var(--brand);
  border-color: var(--brand-2);
  color: #fff;
  box-shadow: 3px 3px 0 var(--brand-2);
}
.nav-item.active i { color: #fff; }
.sidebar-note {
  margin-top: auto;
  padding: 18px 16px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  position: relative;
}
.note-mark {
  position: absolute;
  top: -13px;
  left: 14px;
  padding: 0 8px;
  background: var(--bg-soft);
  color: var(--brand);
  font-size: 1.15rem;
}
.sidebar-note p {
  font-size: .82rem;
  color: var(--ink-2);
  line-height: 1.75;
}
.shell-main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.article-hero {
  position: relative;
  padding: 78px 0 72px;
  color: #fdf8ef;
  background:
    linear-gradient(115deg, rgba(33,24,16,.92) 0%, rgba(90,51,26,.86) 55%, rgba(176,84,42,.78) 100%),
    url('/assets/images/backpic/back-2.png') center/cover no-repeat;
  border-bottom: 4px solid var(--brand-2);
  overflow: hidden;
}
.article-hero::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(253,248,239,.18);
  border-radius: 8px;
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: rgba(253,248,239,.72);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(253,248,239,.85); transition: color .2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: .65rem; opacity: .75; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  margin-bottom: 16px;
  background: rgba(253,248,239,.12);
  border: 1px solid rgba(253,248,239,.3);
  border-radius: 24px 8px 24px 8px;
  color: #f4e6d0;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
}
.hero-tag i { color: #f9d8a0; }
.article-hero h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(1.65rem, 3.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.45;
  max-width: 840px;
  margin-bottom: 20px;
  text-shadow: 0 3px 16px rgba(0,0,0,.28);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .82rem;
  color: rgba(253,248,239,.78);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta i { color: #f9d8a0; }

.article-section { padding: 54px 0 58px; }
.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 34px;
  align-items: start;
}
.article-card {
  position: relative;
  padding: 38px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.article-card::before {
  content: '';
  position: absolute;
  top: 13px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: radial-gradient(circle, var(--brand) 1.4px, transparent 1.4px);
  background-size: 8px 8px;
  opacity: .3;
  pointer-events: none;
}
.article-body {
  font-size: .95rem;
  line-height: 1.9;
  color: var(--ink);
}
.article-body > p:first-of-type::first-letter {
  float: left;
  font-family: "ZCOOL XiaoWei", serif;
  font-size: 3.2em;
  line-height: .9;
  padding: 6px 10px 0 0;
  color: var(--brand);
  font-weight: 700;
}
.article-body h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.42rem;
  margin: 2rem 0 1rem;
  padding-left: .85rem;
  border-left: 4px solid var(--brand);
  line-height: 1.5;
}
.article-body h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.15rem;
  margin: 1.6rem 0 .75rem;
  color: var(--ink);
}
.article-body p { margin-bottom: 1.15rem; }
.article-body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.article-body a:hover { color: var(--brand-2); }
.article-body ul, .article-body ol {
  margin: 0 0 1.2rem 1.5rem;
  padding: 0;
}
.article-body ul li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  margin-bottom: .45rem;
}
.article-body ul li::before {
  content: '✦';
  position: absolute;
  left: 2px;
  color: var(--brand);
  font-size: .78rem;
  top: .1em;
}
.article-body ol li {
  list-style: decimal;
  margin-bottom: .45rem;
  padding-left: 4px;
}
.article-body blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.3rem;
  background: var(--bg-soft);
  border-left: 4px solid var(--moss);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink-2);
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin: 1.3rem 0;
  box-shadow: var(--shadow);
}
.article-body pre {
  background: #2a2118;
  color: #e9dcc6;
  padding: 18px 20px;
  border-radius: 12px;
  border-left: 4px solid var(--brand);
  overflow-x: auto;
  margin: 1.3rem 0;
  font-size: .84rem;
  line-height: 1.7;
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
}
.article-body code {
  font-family: "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 5px;
}
.article-body pre code { background: transparent; padding: 0; color: inherit; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0;
  font-size: .87rem;
}
.article-body th, .article-body td {
  border: 1px solid var(--line);
  padding: 10px 13px;
  text-align: left;
}
.article-body th { background: var(--bg-soft); font-weight: 700; }
.article-body hr { border: none; border-top: 1px dashed var(--line-strong); margin: 2rem 0; }
.article-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 20px 6px 20px 6px;
  font-size: .76rem;
  font-weight: 600;
  color: var(--ink-2);
}
.badge i { color: var(--brand); }
.badge-soft { background: #fff; border-color: var(--line-strong); }

.article-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}
.side-card {
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.side-card h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: "Noto Serif SC", serif;
  font-size: .98rem;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px dotted var(--line-strong);
}
.side-card h3 i { color: var(--brand); font-size: .9rem; }
.side-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.side-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px 3px 8px 3px;
  font-size: .85rem;
  color: var(--ink-2);
  transition: var(--transition);
}
.side-list a:hover {
  background: var(--bg-soft);
  color: var(--brand);
  transform: translateX(4px);
}
.side-note-text {
  font-size: .82rem;
  color: var(--ink-2);
  line-height: 1.8;
}
.side-note-text strong { color: var(--ink); }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-chip {
  display: inline-block;
  padding: 5px 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 18px 5px 18px 5px;
  font-size: .75rem;
  color: var(--ink-2);
  transition: var(--transition);
}
.tag-chip:hover {
  background: var(--brand);
  border-color: var(--brand-2);
  color: #fff;
  transform: translateY(-2px);
}

.not-found {
  text-align: center;
  padding: 70px 20px;
}
.not-found i {
  font-size: 3.4rem;
  color: var(--line-strong);
  margin-bottom: 16px;
}
.not-found h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.not-found p { color: var(--ink-2); margin-bottom: 26px; }

.related-section {
  padding: 56px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head { margin-bottom: 32px; }
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .26em;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.section-head h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.65rem;
  line-height: 1.4;
}
.section-head p {
  color: var(--ink-2);
  font-size: .87rem;
  margin-top: 8px;
  max-width: 560px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(64,48,30,.06);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.related-card .cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.related-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.related-card:hover .cover img { transform: scale(1.05); }
.related-card .cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,33,26,.36), transparent 55%);
}
.related-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 24px;
}
.related-card-body h3 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 8px;
}
.related-card-body p {
  font-size: .82rem;
  color: var(--ink-2);
  line-height: 1.75;
  margin-bottom: 14px;
  flex: 1;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand);
}
.link-arrow i { transition: transform .2s ease; }
.related-card:hover .link-arrow i { transform: translateX(4px); }

.faq-section { padding: 60px 0 68px; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 860px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  font-weight: 700;
  font-size: .93rem;
  color: var(--ink);
  user-select: none;
  transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: attr(data-num);
  flex: 0 0 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: 8px 2px 8px 2px;
  font-size: .78rem;
  font-weight: 700;
}
.faq-item summary::after {
  content: '+';
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--brand);
  font-weight: 400;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--bg-soft); }
.faq-item p {
  padding: 4px 22px 20px 64px;
  color: var(--ink-2);
  font-size: .88rem;
  line-height: 1.85;
}

.cta-banner {
  position: relative;
  padding: 66px 0;
  text-align: center;
  color: #fdf8ef;
  background:
    linear-gradient(100deg, rgba(42,33,26,.92) 0%, rgba(105,58,30,.84) 60%, rgba(176,84,42,.78) 100%),
    url('/assets/images/backpic/back-3.png') center/cover no-repeat;
  border-top: 4px solid var(--brand-2);
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-inner h2 {
  font-family: "Noto Serif SC", serif;
  font-size: 1.75rem;
  margin-bottom: 14px;
  line-height: 1.4;
}
.cta-inner p {
  font-size: .92rem;
  opacity: .86;
  margin-bottom: 28px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 24px 8px 24px 8px;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: var(--transition);
}
.btn i { font-size: .86rem; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 3px 3px 0 var(--brand-2);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 5px 5px 0 var(--brand-2);
  background: var(--brand-2);
}
.btn-primary:active { transform: translateY(0) scale(.97); }
.btn-outline-light {
  border-color: rgba(253,248,239,.6);
  color: #fdf8ef;
}
.btn-outline-light:hover {
  background: rgba(253,248,239,.14);
  border-color: #fdf8ef;
  transform: translateY(-3px);
}
.btn-outline-light:active { transform: translateY(0) scale(.97); }

.site-footer {
  margin-top: auto;
  padding: 50px 0 30px;
  background: var(--bg-card);
  border-top: 3px double var(--line);
  font-size: .86rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px dashed var(--line);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-brand .brand-badge {
  flex-basis: 44px;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
}
.footer-brand .brand-name {
  font-family: "Noto Serif SC", serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: 2px;
}
.footer-brand p {
  color: var(--ink-2);
  font-size: .83rem;
  line-height: 1.85;
  max-width: 380px;
  margin-top: 4px;
}
.footer-col h4 {
  font-family: "Noto Serif SC", serif;
  font-size: .98rem;
  margin-bottom: 14px;
  padding-bottom: 9px;
  position: relative;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: .85rem;
}
.footer-col i {
  width: 16px;
  color: var(--brand);
  font-size: .8rem;
}
.footer-col a {
  color: var(--ink-2);
  transition: var(--transition);
}
.footer-col a:hover {
  color: var(--brand);
  padding-left: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  color: var(--ink-2);
  font-size: .78rem;
}
.tech-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible,
label:focus-visible {
  outline: 3px solid rgba(176,84,42,.5);
  outline-offset: 2px;
  border-radius: 6px;
}

@media (min-width: 1025px) {
  .mobile-header { display: none; }
  .sidebar {
    transform: none;
    box-shadow: 2px 0 18px rgba(64,48,30,.06);
  }
  .sidebar-backdrop { display: none; }
  .shell-main { margin-left: var(--sidebar-w); }
  .shell-main { width: auto; }
}

@media (max-width: 1024px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .article-hero { padding: 88px 0 64px; }
}

@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .article-hero { padding: 80px 0 52px; }
  .article-hero h1 { font-size: 1.5rem; }
  .article-card { padding: 26px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

@media (max-width: 520px) {
  .mobile-brand { font-size: 1rem; }
  .mobile-header-cta { font-size: .72rem; padding: 7px 11px; }
  .article-body { font-size: .9rem; }
  .faq-item summary { padding: 15px 16px; font-size: .88rem; }
  .faq-item summary::before { flex-basis: 26px; width: 26px; height: 26px; }
  .faq-item p { padding: 4px 16px 18px 54px; }
  .section-head h2 { font-size: 1.35rem; }
  .hero-meta { gap: 10px; font-size: .76rem; }
  .cta-inner h2 { font-size: 1.45rem; }
}
