:root {
            --bg-main: #faf9f8;
            --bg-pure: #ffffff;
            --accent: #e471b4;
            --accent-gradient: linear-gradient(135deg, #e471b4 0%, #ff8c82 100%);
            --text-dark: #1a1a1a;
            --text-muted: #4a4a4a;
            --radius-lg: 24px;
            --radius-md: 18px;
            --radius-sm: 12px;
            --shadow-soft: 0 12px 40px rgba(228, 113, 180, 0.08);
            --shadow-hover: 0 20px 50px rgba(228, 113, 180, 0.15);
            --transition: 0.15s ease;
            --max-width: 1280px;
        }

        /* Reset & Base */
        * {
            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-main);
            color: var(--text-dark);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
        }

        /* Typography */
        .topic-huge {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 800;
            letter-spacing: -0.02em;
            line-height: 1.1;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: break-word;
            color: var(--text-dark);
            margin-bottom: 24px;
        }

        .topic-large {
            font-size: clamp(2rem, 3.5vw, 2.8rem);
            font-weight: 700;
            letter-spacing: -0.01em;
            line-height: 1.2;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: break-word;
            color: var(--text-dark);
            margin-bottom: 20px;
        }

        .topic-medium {
            font-size: 1.25rem;
            font-weight: 700;
            line-height: 1.4;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: break-word;
            color: var(--text-dark);
            margin-bottom: 12px;
        }

        .ink-lead {
            font-size: clamp(1.1rem, 1.5vw, 1.25rem);
            color: var(--text-muted);
            line-height: 1.7;
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
            margin-bottom: 32px;
            max-width: 600px;
        }

        .ink-base {
            font-size: 1rem;
            color: var(--text-muted);
            line-height: 1.6;
            word-break: break-word;
            overflow-wrap: break-word;
            word-break: keep-all;
        }

        /* Mandatory Header Rules */
        .crown {
            background-color: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .ribbon {
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            align-items: center;
            justify-content: space-between;
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 16px 24px;
        }

        .crest {
            display: flex;
            align-items: center;
            min-width: 0;
        }

        .crest img {
            height: 32px;
            width: auto;
            display: block;
        }

        .index {
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            gap: 24px;
            align-items: center;
        }

        .ribbon-jump {
            text-decoration: none;
            color: var(--text-muted);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color var(--transition);
            white-space: nowrap;
        }

        .ribbon-jump:hover,
        .ribbon-jump:focus {
            color: var(--accent);
        }

        .ribbon-jump.active {
            color: var(--accent);
            font-weight: 700;
        }

        /* Buttons & Actions */
        .stamp-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 16px 36px;
            background: var(--accent-gradient);
            color: var(--bg-pure);
            font-weight: 700;
            font-size: 1.1rem;
            border-radius: 100px;
            text-decoration: none;
            box-shadow: 0 8px 20px rgba(228, 113, 180, 0.3);
            border: none;
            cursor: pointer;
            transition: transform var(--transition), box-shadow var(--transition);
            white-space: nowrap;
        }

        .stamp-primary:hover,
        .stamp-primary:focus {
            transform: translateY(-2px);
            box-shadow: 0 12px 25px rgba(228, 113, 180, 0.4);
            outline: none;
        }

        .jump-arrow {
            display: inline-flex;
            align-items: center;
            color: var(--accent);
            font-weight: 600;
            text-decoration: none;
            font-size: 1rem;
            transition: color var(--transition);
        }

        .jump-arrow svg {
            margin-left: 8px;
            transition: transform var(--transition);
        }

        .jump-arrow:hover svg,
        .jump-arrow:focus svg {
            transform: translateX(4px);
        }

        /* Main Container */
        .binder {
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        /* Section 1: Hero (Canvas) - Split Diagonal Theme */
        .canvas-canvas {
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            min-height: 85vh;
            background: var(--bg-pure);
            position: relative;
            overflow: hidden;
        }

        .canvas-stack {
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            max-width: var(--max-width);
            margin: 0 auto;
            width: 100%;
            position: relative;
            z-index: 2;
        }

        .canvas-ink-leaf {
            flex: 1 1 500px;
            min-width: 0;
            padding: 8vw 4vw 8vw 24px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .canvas-plate-leaf {
            flex: 1 1 500px;
            min-width: 0;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 4vw;
        }

        /* The Diagonal Split Effect */
        .canvas-plate-leaf::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background: var(--bg-main);
            clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
            z-index: -1;
        }

        /* Hero SVG Motion */
        .plate-svg {
            width: 100%;
            max-width: 500px;
            height: auto;
        }

        @keyframes documentFloat {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-15px) rotate(1deg); }
        }

        @keyframes elementDrift {
            0%, 100% { transform: translate(0, 0); }
            50% { transform: translate(10px, -10px); }
        }

        .svg-doc-binder {
            animation: documentFloat 6s ease-in-out infinite;
            transform-origin: center;
        }

        .svg-element {
            animation: elementDrift 4s ease-in-out infinite;
        }
        
        .svg-element:nth-child(2) { animation-delay: 1s; animation-duration: 5s; }
        .svg-element:nth-child(3) { animation-delay: 2s; animation-duration: 4.5s; }

        /* Section 2: Tools (Deck / Aside) */
        .deck-tools {
            padding: 100px 24px;
            background-color: var(--bg-main);
            max-width: var(--max-width);
            margin: 0 auto;
            width: 100%;
        }

        .deck-crown {
            text-align: center;
            margin-bottom: 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 0;
        }

        .deck-stack {
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            gap: 32px;
            justify-content: center;
        }

        .pane-tool {
            flex: 1 1 260px;
            min-width: 0;
            background: var(--bg-pure);
            border-radius: var(--radius-md);
            padding: 40px 32px;
            box-shadow: var(--shadow-soft);
            border: 1px solid rgba(0, 0, 0, 0.04);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            transition: transform var(--transition), box-shadow var(--transition);
            text-decoration: none;
            color: inherit;
        }

        .pane-tool:hover,
        .pane-tool:focus {
            transform: translateY(-8px);
            box-shadow: var(--shadow-hover);
            outline: none;
        }

        .glyph-tool {
            width: 64px;
            height: 64px;
            margin-bottom: 24px;
            border-radius: var(--radius-sm);
            background: rgba(228, 113, 180, 0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--accent);
        }

        .glyph-tool svg {
            width: 32px;
            height: 32px;
        }

        .glyph-arrow-motion {
            transition: transform var(--transition);
        }

        .pane-tool:hover .glyph-arrow-motion,
        .pane-tool:focus .glyph-arrow-motion {
            transform: translateX(4px);
        }

        /* Section 3: Features (Folder / Section) */
        .folder-features {
            padding: 100px 24px;
            background-color: var(--bg-pure);
            width: 100%;
        }

        .folder-stack {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 80px;
            min-width: 0;
        }

        .stripe-feature {
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            align-items: center;
            gap: 64px;
        }

        .stripe-feature:nth-child(even) {
            flex-direction: row-reverse;
        }

        .feature-ink-leaf {
            flex: 1 1 400px;
            min-width: 0;
            display: flex;
            flex-direction: column;
        }

        .feature-plate-leaf {
            flex: 1 1 400px;
            min-width: 0;
            background: var(--bg-main);
            border-radius: var(--radius-lg);
            padding: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        /* Feature SVG Interactions */
        .feature-plate-leaf svg {
            width: 100%;
            max-width: 280px;
            height: auto;
        }

        .svg-merge-left, .svg-merge-right {
            transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }

        .feature-plate-leaf:hover .svg-merge-left { transform: translateX(20px); }
        .feature-plate-leaf:hover .svg-merge-right { transform: translateX(-20px); }

        .svg-extract-binder {
            transition: transform 0.4s ease, fill 0.3s ease;
            transform-origin: bottom center;
        }

        .feature-plate-leaf:hover .svg-extract-binder {
            transform: translateY(-20px) rotate(5deg);
            fill: rgba(228, 113, 180, 0.2);
        }

        .svg-compress-vise {
            transition: transform 0.3s ease;
        }

        .feature-plate-leaf:hover .svg-compress-vise.top { transform: translateY(10px); }
        .feature-plate-leaf:hover .svg-compress-vise.bottom { transform: translateY(-10px); }

        .svg-stamp {
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
            transform: scale(1.5) rotate(-20deg);
            opacity: 0;
        }

        .feature-plate-leaf:hover .svg-stamp {
            transform: scale(1) rotate(-15deg);
            opacity: 1;
        }

        /* Section 4: Use Case (Sheet / Article) */
        .sheet-reading {
            padding: 120px 24px;
            background-color: var(--bg-main);
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .sheet-stack {
            max-width: 900px;
            width: 100%;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            min-width: 0;
        }

        .reading-plate {
            width: 100%;
            background: var(--bg-pure);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-soft);
            padding: 60px 4vw;
            margin-top: 48px;
            position: relative;
            border: 1px solid rgba(0, 0, 0, 0.05);
        }

        /* Use Case SVG Motion */
        .svg-highlight {
            stroke-dasharray: 200;
            stroke-dashoffset: 200;
            transition: stroke-dashoffset 0.8s ease;
        }

        .reading-plate:hover .svg-highlight {
            stroke-dashoffset: 0;
        }
        
        .svg-note {
            transform: scale(0.9);
            transform-origin: center;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .reading-plate:hover .svg-note {
            transform: scale(1.05);
        }

        /* Footer */
        .base {
            background-color: #f0eeec;
            padding: 60px 24px;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
        }

        .base-stack {
            max-width: var(--max-width);
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            justify-content: space-between;
            gap: 40px;
        }

        .base-brand {
            font-weight: 800;
            font-size: 1.5rem;
            color: var(--text-dark);
            margin-bottom: 16px;
        }

        .base-ink {
            color: var(--text-muted);
            font-size: 0.9rem;
            line-height: 1.8;
            max-width: 300px;
        }

        .base-links {
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            gap: 60px;
        }

        .base-column {
            display: flex;
            flex-direction: column;
            min-width: 0;
            gap: 12px;
        }

        .base-topic {
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 8px;
            font-size: 1rem;
        }

        .base-jump {
            text-decoration: none;
            color: var(--text-muted);
            font-size: 0.9rem;
            transition: color var(--transition);
        }

        .base-jump:hover,
        .base-jump:focus {
            color: var(--accent);
        }

        .base-tray {
            max-width: var(--max-width);
            margin: 60px auto 0;
            padding-top: 24px;
            border-top: 1px solid rgba(0, 0, 0, 0.06);
            display: flex;
            flex-wrap: wrap;
            min-width: 0;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .stripe-feature { gap: 40px; }
            .feature-plate-leaf { padding: 40px; }
        }

        @media (max-width: 768px) {
            .index { display: none; /* Simplification for mobile header in this demo */ }
            
            .canvas-ink-leaf, 
            .canvas-plate-leaf {
                flex: 1 1 100%;
                padding: 40px 24px;
                text-align: center;
            }

            .canvas-ink-leaf { align-items: center; }
            
            .canvas-plate-leaf::before {
                clip-path: polygon(0 15%, 100% 0, 100% 100%, 0% 100%);
            }

            .stripe-feature,
            .stripe-feature:nth-child(even) {
                flex-direction: column;
            }

            .feature-ink-leaf {
                text-align: center;
                align-items: center;
            }

            .base-links {
                flex-direction: column;
                gap: 32px;
            }
        }

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

.ribbon-crown [role="navigation"],
.ribbon-crown div,
.ribbon-crown section,
.ribbon-crown article,
.ribbon-crown aside,
.ribbon-crown p,
.ribbon-crown h1,
.ribbon-crown h2,
.ribbon-crown h3,
.ribbon-crown h4,
.ribbon-crown h5,
.ribbon-crown h6,
.ribbon-crown a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

.ribbon-crown a.ribbon-ribbon-jump {
    --aisite-shell-nav-padding: 0;
    --aisite-shell-nav-margin: 0;
    --aisite-shell-nav-line-height: normal;
    --aisite-shell-nav-display: inline;
    --aisite-shell-nav-height: auto;
    --aisite-shell-nav-min-height: auto;
}

.ribbon-crown a.ribbon-ribbon-jump,
.ribbon-crown a.ribbon-ribbon-jump:hover,
.ribbon-crown a.ribbon-ribbon-jump:focus,
.ribbon-crown a.ribbon-ribbon-jump:active,
.ribbon-crown a.ribbon-ribbon-jump.active,
.ribbon-crown a.ribbon-ribbon-jump[aria-current="page"] {
    background: transparent;
    border: none;
    border-bottom: none;
    box-shadow: none;
    outline: none;
    text-decoration: none;
    padding: var(--aisite-shell-nav-padding, 0);
    margin: var(--aisite-shell-nav-margin, 0);
    line-height: var(--aisite-shell-nav-line-height, normal);
    display: var(--aisite-shell-nav-display, inline);
    height: var(--aisite-shell-nav-height, auto);
    min-height: var(--aisite-shell-nav-min-height, auto);
}

.ribbon-crown{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
            padding: 15px 5vw;
        }

.ribbon-crown .ribbon-ribbon{
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: 1400px;
            margin: 0 auto;
            width: 100%;
        }

.ribbon-crown .ribbon-crest{
            flex: 0 0 auto;
            min-width: 0;
        }

.ribbon-crown .ribbon-crest img{
            height: 32px;
            display: block;
        }

.ribbon-crown .ribbon-index{
            display: flex;
            flex-wrap: wrap;
            gap: 32px;
            align-items: center;
        }

.ribbon-crown .ribbon-ribbon-jump{
            text-decoration: none;
            color: #4a4a4a;
            font-weight: 600;
            font-size: 0.95rem;
            transition: all 0.15s ease;
            position: relative;
        }

.ribbon-crown .ribbon-ribbon-jump:hover, .ribbon-crown .ribbon-ribbon-jump:focus{
            color: #e471b4;
        }

.ribbon-crown .ribbon-ribbon-jump.active{
            color: #e471b4;
        }

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

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

.ribbon-crown {
    background: rgb(255, 255, 255);
    background-image: none;
}

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

.endnote-base [role="navigation"],
.endnote-base div,
.endnote-base section,
.endnote-base article,
.endnote-base aside,
.endnote-base p,
.endnote-base h1,
.endnote-base h2,
.endnote-base h3,
.endnote-base h4,
.endnote-base h5,
.endnote-base h6,
.endnote-base a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

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

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

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

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

.endnote-base .endnote-ink{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.endnote-base p.endnote-ink{
            word-break: keep-all;
        }

.endnote-base{
            background: #ffffff;
            padding: 40px 5vw;
            border-top: 1px solid rgba(0, 0, 0, 0.06);
            text-align: center;
            color: #8c8c8c;
        }

.endnote-base .endnote-base-stack{
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 24px;
            margin-bottom: 20px;
        }

.endnote-base .endnote-base-jump{
            color: #4a4a4a;
            text-decoration: none;
            transition: all 0.15s ease;
        }

.endnote-base .endnote-base-jump:hover, .endnote-base .endnote-base-jump:focus{
            color: #e471b4;
        }