:root {
    --bg-deep: #08090b;
    --bg-surface: #12141a;
    --bg-elevated: #1a1d26;
    --text-bright: #ffffff;
    --text-dim: #a0a5b5;
    --text-muted: #6b7280;
    --accent: #f1780e;
    --accent-hover: #ff8e2b;
    --radius-lg: 22px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --shadow-base: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-highlight: 0 4px 20px rgba(241, 120, 14, 0.25);
    --shadow-glow: 0 0 40px rgba(241, 120, 14, 0.1);
    --transition: 0.25s ease;
    --border: 1px solid rgba(255, 255, 255, 0.06);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-dim);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Typography Constraints */
.topic {
    color: var(--text-bright);
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}
.prose {
    word-break: break-word;
    overflow-wrap: break-word;
}
.prose:lang(zh-CN) {
    word-break: keep-all;
}

/* Layout Constraints */
.sheath {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.chunk {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
}
.node {
    min-width: 0;
}

/* Header */
.apex {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 9, 11, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: var(--border);
}
.ribbon {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 40px;
    justify-content: space-between;
    align-items: center;
}
.seal {
    display: flex;
    align-items: center;
}
.seal img {
    height: 36px;
    width: auto;
    display: block;
}
.stack {
    gap: 32px;
    align-items: center;
}
.path {
    color: var(--text-dim);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    padding: 8px 0;
}
.path:hover {
    color: var(--text-bright);
}
.path.active {
    color: var(--text-bright);
    position: relative;
}
.path.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
    border-radius: 3px;
}

/* Hero Download Section (acquire) */
.cover {
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}
.cover::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(241,120,14,0.08) 0%, rgba(8,9,11,0) 70%);
    z-index: -1;
    pointer-events: none;
}
.scroll-cover {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.scroll-cover .topic {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}
.scroll-cover .prose {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 680px;
    margin-bottom: 48px;
    color: var(--text-dim);
}
.macro {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 48px;
    background-color: var(--accent);
    color: #fff;
    border-radius: 100px;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid var(--accent);
    box-shadow: var(--shadow-highlight);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}
.macro:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241, 120, 14, 0.35);
}
.macro .glyph {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.meta-tape {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}
.meta-tape .node {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.figure-sheath {
    margin-top: 80px;
    width: 100%;
    max-width: 1200px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-base), var(--shadow-glow);
    border: var(--border);
    position: relative;
    background: var(--bg-surface);
}
.figure-sheath::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
    border-radius: inherit;
    pointer-events: none;
}
.figure-sheath img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.02);
    transition: transform 10s linear;
}
.figure-sheath:hover img {
    transform: scale(1.05);
}

/* Platform Tabs / Matrix (comparison) */
.binder {
    padding: 100px 20px;
    background-color: var(--bg-deep);
}
.binder-scroll {
    max-width: 1300px;
    margin: 0 auto;
}
.binder-head {
    text-align: center;
    margin-bottom: 60px;
}
.binder-head .topic {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}
.matrix-chunk {
    gap: 24px;
    justify-content: center;
}
.folio {
    flex: 1 1 280px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}
.folio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}
.folio:hover {
    background: var(--bg-elevated);
    transform: translateY(-8px);
    box-shadow: var(--shadow-base);
}
.folio:hover::before {
    opacity: 1;
}
.folio-glyph {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    color: var(--text-bright);
}
.folio-glyph svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.folio .topic {
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.specs {
    margin-bottom: 32px;
    flex-grow: 1;
}
.specs dt {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.specs dd {
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 16px;
    font-weight: 500;
}
.specs dd:last-child {
    margin-bottom: 0;
}
.stamp {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background: rgba(255,255,255,0.05);
    color: var(--text-bright);
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}
.stamp:hover {
    background: var(--text-bright);
    color: var(--bg-deep);
}

/* Installation Guide (steps) */
.draft {
    padding: 100px 20px;
    background-color: var(--bg-surface);
    border-top: var(--border);
}
.draft-scroll {
    max-width: 1000px;
    margin: 0 auto;
}
.draft-head {
    text-align: center;
    margin-bottom: 60px;
}
.draft-head .topic {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
}
.flow-chunk {
    counter-reset: step-counter;
    list-style: none;
    gap: 32px;
}
.flow-node {
    flex: 1 1 280px;
    counter-increment: step-counter;
    position: relative;
}
.sheet {
    background: var(--bg-deep);
    border-radius: var(--radius-md);
    padding: 40px 30px;
    border: var(--border);
    height: 100%;
    transition: var(--transition);
}
.sheet:hover {
    border-color: rgba(241, 120, 14, 0.3);
    box-shadow: var(--shadow-highlight);
}
.step-glyph {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(241, 120, 14, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: monospace;
}
.step-glyph::before {
    content: "0" counter(step-counter);
}
.sheet .topic {
    font-size: 1.25rem;
    margin-bottom: 12px;
}
.sheet .prose {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Footer */
.root {
    background-color: var(--bg-deep);
    border-top: var(--border);
    padding: 60px 20px 40px;
    margin-top: auto;
}
.root-scroll {
    max-width: 1400px;
    margin: 0 auto;
}
.root-chunk {
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.brand-prose {
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-bright);
    letter-spacing: -0.05em;
}
.root-links {
    gap: 24px;
}
.root-links .path {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.root-links .path:hover {
    color: var(--text-bright);
}
.appendix {
    margin-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .ribbon { padding: 16px 20px; }
    .cover { padding: 100px 20px 60px; }
}
@media (max-width: 768px) {
    .stack { gap: 16px; justify-content: center; width: 100%; margin-top: 16px; }
    .ribbon { flex-direction: column; }
    .folio { flex: 1 1 100%; }
    .flow-node { flex: 1 1 100%; }
    .root-chunk { flex-direction: column; text-align: center; }
    .root-links { justify-content: center; width: 100%; }
}

.ribbon-apex .ribbon-scroll{
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

.ribbon-apex{
            position: sticky;
            top: 0;
            z-index: 100;
            background-color: rgba(8, 9, 11, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }

.ribbon-apex .ribbon-ribbon{
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 80px;
        }

.ribbon-apex .ribbon-seal img{ height: 32px; width: auto; }

.ribbon-apex .ribbon-stack{
            display: flex;
            gap: 2rem;
        }

.ribbon-apex .ribbon-path{
            color: #a0a5b5;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            padding: 8px 0;
            position: relative;
        }

.ribbon-apex .ribbon-path:hover, .ribbon-apex .ribbon-path:focus{
            color: #ffffff;
        }

.ribbon-apex .ribbon-path.active{ color: #f1780e; }

.ribbon-apex .ribbon-path.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #f1780e;
            border-radius: 2px;
        }

@media (max-width: 992px){.ribbon-apex .ribbon-stack{ display: none;  }}

.ribbon-apex {
    background: rgb(8, 9, 11);
    background-image: none;
}

.endnote-root {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    word-break: break-word;
    color: var(--text-dim);
}
.endnote-root,
.endnote-root *,
.endnote-root *::before,
.endnote-root *::after {
    box-sizing: border-box;
}

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

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

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

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

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

.endnote-root .endnote-scroll{
            max-width: 1140px;
            margin: 0 auto;
            padding: 0 24px;
            width: 100%;
        }

.endnote-root .endnote-topic{
            color: #ffffff;
            white-space: normal;
            font-weight: 700;
        }

.endnote-root .endnote-prose{ word-break: keep-all; margin-bottom: 1.5rem; }

.endnote-root .endnote-path{
            color: #a0a5b5;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            padding: 8px 0;
            position: relative;
        }

.endnote-root .endnote-path:hover, .endnote-root .endnote-path:focus{
            color: #ffffff;
        }

.endnote-root .endnote-path.active{ color: #f1780e; }

.endnote-root .endnote-path.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #f1780e;
            border-radius: 2px;
        }

.endnote-root{
            background-color: #050608;
            padding: 60px 0 40px;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

.endnote-root .endnote-root-grid{
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 4rem;
            margin-bottom: 4rem;
        }

.endnote-root .endnote-topic{ font-size: 1.5rem; margin-bottom: 1.5rem; color: #fff; }

.endnote-root .endnote-root-links{ display: flex; flex-direction: column; gap: 0.8rem; }

.endnote-root .endnote-root-links .endnote-path{ padding: 0; font-size: 0.95rem; }

.endnote-root .endnote-legal{
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 2rem;
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: #a0a5b5;
        }

@media (max-width: 992px){.endnote-root .endnote-root-grid{ grid-template-columns: 1fr; gap: 2rem; }}