/* Base Variables - Inherited from visual contract */
        :root {
            --color-primary: #6a3be2;
            --color-primary-dark: #4d26b0;
            --color-primary-light: #ece5fe;
            --color-bg-dark: #0f1016;
            --color-bg-light: #f8f9fc;
            --color-surface: #ffffff;
            --color-ink-main: #1d1d1f;
            --color-ink-sub: #6e6e73;
            --color-ink-inverse: #ffffff;
            --color-ink-inverse-sub: rgba(255, 255, 255, 0.7);
            
            --radius-base: 20px;
            --radius-small: 12px;
            --radius-pill: 100px;
            
            --shadow-light: 0 4px 24px rgba(0, 0, 0, 0.04);
            --shadow-hover: 0 12px 32px rgba(106, 59, 226, 0.12);
            
            --transition-smooth: 0.35s ease;
            --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }

        /* Reset & Base */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: var(--font-family);
            color: var(--color-ink-main);
            background-color: var(--color-bg-light);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            word-break: break-word;
            overflow-wrap: break-word;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: all var(--transition-smooth);
        }

        /* Mandatory Typography Rules */
        .crest {
            white-space: normal;
            font-weight: 700;
            line-height: 1.2;
            letter-spacing: -0.02em;
        }

        .prose {
            line-height: 1.7;
            word-break: keep-all; /* Better for Chinese */
        }

        /* Layout Primitives */
        .shell {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .binder {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 24px;
        }

        /* Mandatory Flex/Grid Rules */
        .batch {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
        }
        .batch > * {
            min-width: 0;
        }

        /* Navigation (Reused from structural requirement) */
        .crown {
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .ribbon {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 72px;
            flex-wrap: wrap;
        }
        .ribbon > * { min-width: 0; }

        .stamp {
            display: flex;
            align-items: center;
        }

        .stamp img {
            height: 32px;
            width: auto;
        }

        .index {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }
        .index > * { min-width: 0; }

        .xref {
            font-size: 1rem;
            font-weight: 500;
            color: var(--color-ink-sub);
            padding: 0.5rem 0;
            position: relative;
        }

        .xref:hover,
        .xref.active {
            color: var(--color-primary);
        }

        .xref.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background-color: var(--color-primary);
            border-radius: 3px 3px 0 0;
        }

        /* Main Content Area */
        main {
            padding-top: 72px; /* Offset for fixed nav */
            flex: 1;
        }

        /* Hero / Intro (Article) - Fullbleed Overlay Variant */
        .stage {
            background: linear-gradient(135deg, var(--color-bg-dark) 0%, #2a1758 100%);
            color: var(--color-ink-inverse);
            padding: 100px 24px;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 80vh;
        }

        .stage-binder {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 4rem;
            max-width: 1200px;
            width: 100%;
            z-index: 2;
        }
        .stage-binder > * { min-width: 0; }

        .stage-prose {
            flex: 1 1 500px;
        }

        .stage-crest {
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 1.5rem;
            background: linear-gradient(90deg, #ffffff 0%, var(--color-primary-light) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .stage-lead {
            font-size: 1.25rem;
            color: var(--color-ink-inverse-sub);
            margin-bottom: 2.5rem;
        }

        .macro {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2.5rem;
            border-radius: var(--radius-pill);
            font-weight: 600;
            font-size: 1.1rem;
            cursor: pointer;
            border: 1px solid transparent;
        }

        .ink-primary {
            background-color: var(--color-primary);
            color: var(--color-surface);
            box-shadow: 0 8px 24px rgba(106, 59, 226, 0.4);
        }

        .ink-primary:hover {
            background-color: var(--color-primary-dark);
            transform: translateY(-2px);
        }

        /* Hero Animation Visual */
        .stage-visual {
            flex: 1 1 400px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
        }

        .motion-plate {
            width: 100%;
            max-width: 500px;
            height: auto;
            filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
        }

        /* SVG Keyframes */
        @keyframes scan {
            0% { transform: translateY(0); opacity: 0; }
            10% { opacity: 1; }
            90% { opacity: 1; }
            100% { transform: translateY(200px); opacity: 0; }
        }
        @keyframes unlock {
            0%, 20% { transform: rotate(0deg); }
            40%, 100% { transform: rotate(-30deg) translateY(-5px); }
        }
        @keyframes text-reveal {
            0%, 50% { fill: rgba(255,255,255,0.2); }
            60%, 100% { fill: var(--color-primary-light); }
        }

        .scan-line { animation: scan 3s infinite linear; }
        .lock-shackle { transform-origin: 30px 40px; animation: unlock 3s infinite ease; }
        .doc-line { animation: text-reveal 3s infinite ease; }
        .doc-line:nth-child(2) { animation-delay: 0.2s; }
        .doc-line:nth-child(3) { animation-delay: 0.4s; }


        /* Feature Section (Aside) - Steps/Process */
        .canvas {
            padding: 100px 0;
            background-color: var(--color-surface);
            position: relative;
        }

        .canvas-binder {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 4rem;
        }
        .canvas-binder > * { min-width: 0; }

        .canvas-visual {
            flex: 1 1 400px;
            background: linear-gradient(180deg, var(--color-bg-light) 0%, #ffffff 100%);
            border-radius: var(--radius-base);
            padding: 3rem;
            border: 1px solid rgba(0,0,0,0.03);
            box-shadow: var(--shadow-light);
            display: flex;
            justify-content: center;
        }

        .canvas-prose {
            flex: 1 1 400px;
        }

        .canvas-crest {
            font-size: clamp(2rem, 4vw, 3rem);
            color: var(--color-ink-main);
            margin-bottom: 1.5rem;
        }

        .canvas-lead {
            font-size: 1.125rem;
            color: var(--color-ink-sub);
            margin-bottom: 2.5rem;
        }

        .bullet-batch {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .bullet {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }

        .bullet-glyph {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background-color: var(--color-primary-light);
            color: var(--color-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            margin-top: 4px;
        }

        .bullet-crest {
            font-weight: 600;
            font-size: 1.125rem;
            margin-bottom: 0.25rem;
        }
        
        /* Conversion Animation */
        @keyframes float-right {
            0%, 10% { transform: translateX(0); opacity: 1; }
            45%, 55% { transform: translateX(50px); opacity: 0; }
            90%, 100% { transform: translateX(0); opacity: 1; }
        }
        @keyframes float-left {
            0%, 10% { transform: translateX(-50px); opacity: 0; }
            45%, 55% { transform: translateX(0); opacity: 1; }
            90%, 100% { transform: translateX(-50px); opacity: 0; }
        }
        .pdf-glyph { animation: float-right 6s infinite ease-in-out; }
        .word-glyph { animation: float-left 6s infinite ease-in-out; }


        /* Capability Section (Div) - Grid Toolkit */
        .ledger {
            padding: 100px 0;
            background-color: var(--color-bg-light);
        }

        .ledger-crown {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 4rem;
        }

        .ledger-crest {
            font-size: clamp(2rem, 4vw, 2.5rem);
            margin-bottom: 1rem;
        }

        .ledger-prose {
            color: var(--color-ink-sub);
            font-size: 1.125rem;
        }

        .slide-batch {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .slide-cell {
            background: var(--color-surface);
            border-radius: var(--radius-base);
            padding: 2.5rem 2rem;
            box-shadow: var(--shadow-light);
            border: 1px solid rgba(0,0,0,0.02);
            transition: all var(--transition-smooth);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .slide-cell:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            border-color: var(--color-primary-light);
        }

        .cell-glyph {
            width: 56px;
            height: 56px;
            border-radius: 16px;
            background: linear-gradient(135deg, var(--color-primary-light) 0%, rgba(106,59,226,0.1) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: var(--color-primary);
            transition: all var(--transition-smooth);
        }

        .slide-cell:hover .cell-glyph {
            background: var(--color-primary);
            color: var(--color-surface);
            transform: scale(1.05);
        }

        .cell-crest {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
        }

        .cell-prose {
            color: var(--color-ink-sub);
            font-size: 0.95rem;
        }

        /* Footer */
        .base {
            background-color: var(--color-surface);
            border-top: 1px solid rgba(0,0,0,0.05);
            padding: 4rem 0 2rem;
        }

        .spine {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        .spine > * { min-width: 0; }

        .brand-prose {
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: 1px;
            color: var(--color-primary);
        }

        .note-batch {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }
        .note-batch > * { min-width: 0; }

        .note-xref {
            color: var(--color-ink-sub);
            font-size: 0.9rem;
        }
        .note-xref:hover {
            color: var(--color-primary);
        }

        .endcap {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid rgba(0,0,0,0.05);
            color: var(--color-ink-sub);
            font-size: 0.85rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .ribbon {
                justify-content: center;
                height: auto;
                padding: 1rem 0;
                gap: 1rem;
            }
            .index {
                justify-content: center;
                gap: 1rem;
            }
            main {
                padding-top: 100px;
            }
            .stage {
                padding: 60px 24px;
                text-align: center;
            }
            .stage-binder {
                flex-direction: column;
            }
            .canvas-binder {
                flex-direction: column-reverse;
            }
            .canvas {
                padding: 60px 0;
            }
            .ledger {
                padding: 60px 0;
            }
            .spine {
                flex-direction: column;
                text-align: center;
                justify-content: center;
            }
            .note-batch {
                justify-content: center;
            }
        }

.ribbon-crown .ribbon-binder{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
        }

.ribbon-crown{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(15, 16, 22, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }

.ribbon-crown .ribbon-ribbon{
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            height: 72px;
            min-width: 0;
        }

.ribbon-crown .ribbon-stamp{
            display: flex;
            align-items: center;
            min-width: 0;
        }

.ribbon-crown .ribbon-stamp img{
            height: 32px;
            width: auto;
            display: block;
        }

.ribbon-crown .ribbon-index{
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            min-width: 0;
        }

.ribbon-crown .ribbon-xref{
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
            padding: 0.5rem 0;
            position: relative;
        }

.ribbon-crown .ribbon-xref:hover{
            color: #ffffff;
        }

.ribbon-crown .ribbon-xref.active{
            color: #ffffff;
        }

.ribbon-crown .ribbon-xref.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #6a3be2;
            border-radius: 2px;
        }

@media (max-width: 768px){.ribbon-crown .ribbon-index{
                display: none; 
            }}

.ribbon-crown {
    background: rgb(15, 16, 22);
    background-image: none;
}

.spine-base {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-ink-main);
}
.spine-base,
.spine-base *,
.spine-base *::before,
.spine-base *::after {
    box-sizing: border-box;
}

.spine-base nav,
.spine-base div,
.spine-base section,
.spine-base article,
.spine-base aside,
.spine-base p,
.spine-base h1,
.spine-base h2,
.spine-base h3,
.spine-base h4,
.spine-base h5,
.spine-base h6,
.spine-base a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.spine-base p,
.spine-base h1,
.spine-base h2,
.spine-base h3,
.spine-base h4,
.spine-base h5,
.spine-base h6 {
    text-decoration: none;
}

.spine-base img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.spine-base {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.spine-base a,
.spine-base a:hover,
.spine-base a:focus,
.spine-base a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.spine-base .spine-binder{
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 2rem;
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
        }

.spine-base .spine-xref{
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
            padding: 0.5rem 0;
            position: relative;
        }

.spine-base .spine-xref:hover{
            color: #ffffff;
        }

.spine-base .spine-xref.active{
            color: #ffffff;
        }

.spine-base .spine-xref.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: #6a3be2;
            border-radius: 2px;
        }

.spine-base{
            background: #0f1016;
            color: rgba(255, 255, 255, 0.7);
            padding: 8rem 0 2rem;
            margin-top: auto;
        }

.spine-base .spine-spine{
            display: flex;
            flex-wrap: wrap;
            gap: 8rem;
            justify-content: space-between;
            min-width: 0;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 4rem;
            margin-bottom: 2rem;
        }

.spine-base .spine-spine-col{
            flex: 1 1 200px;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

.spine-base .spine-spine-col .spine-crest{
            color: #ffffff;
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }

.spine-base .spine-spine-col .spine-xref{
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

.spine-base .spine-spine-col .spine-xref:hover{
            color: #ece5fe;
            padding-left: 4px;
        }

.spine-base .spine-endcap{
            text-align: center;
            font-size: 0.85rem;
            color: rgba(255,255,255,0.4);
        }