:root {
            --color-brand: #f64067;
            --color-brand-light: #ff6b8b;
            --color-brand-dark: #d42249;
            --color-bg-dark: #0f0a14;
            --color-bg-surface: #ffffff;
            --color-bg-alt: #f8f9fa;
            --color-text-main: #1f2329;
            --color-text-muted: #646a73;
            --color-text-inverse: #ffffff;
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 21px;
            --transition: all 0.35s ease;
            --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
            --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
            --shadow-lg: 0 12px 32px rgba(246, 64, 103, 0.15);
        }

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

        body {
            font-family: var(--font-family);
            color: var(--color-text-main);
            background-color: var(--color-bg-alt);
            line-height: 1.6;
            word-break: break-word;
            overflow-wrap: break-word;
            -webkit-font-smoothing: antialiased;
        }

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

        /* Nav / Heel */
        .heel {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
            z-index: 1000;
        }

        .ribbon {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 2rem;
            min-height: 72px;
        }

        .glyph img {
            height: 32px;
            display: block;
        }

        .rule-bullets {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            align-items: center;
        }

        .xref-bullet {
            font-size: 1rem;
            font-weight: 500;
            color: var(--color-text-muted);
            position: relative;
        }

        .xref-bullet:hover {
            color: var(--color-brand);
        }

        .xref-bullet.active {
            color: var(--color-brand);
            font-weight: 600;
        }

        .xref-bullet.active::after {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 20px;
            height: 3px;
            background-color: var(--color-brand);
            border-radius: 3px;
        }

        /* Layout Utilities */
        .batch-master {
            padding-top: 72px;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .folder-folder {
            flex: 1;
            display: flex;
            flex-direction: column;
        }

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

        /* Typography */
        .topic-gigantic {
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            color: var(--color-text-inverse);
            line-height: 1.15;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-bottom: 1.5rem;
            white-space: normal;
        }

        .topic-large {
            font-size: clamp(2rem, 4vw, 2.75rem);
            color: var(--color-text-main);
            line-height: 1.25;
            font-weight: 700;
            letter-spacing: -0.01em;
            margin-bottom: 1rem;
            white-space: normal;
        }

        .topic-medium {
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--color-text-main);
            margin-bottom: 0.75rem;
        }

        .prose {
            font-size: 1.125rem;
            color: var(--color-text-muted);
            max-width: 700px;
            margin-bottom: 2rem;
        }

        .prose-inverse {
            color: rgba(255,255,255,0.85);
            font-size: 1.25rem;
            max-width: 680px;
            margin: 0 auto 2.5rem;
        }

        /* Buttons & Inputs */
        .stamp-primary {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 1rem 2.5rem;
            font-weight: 600;
            color: var(--color-text-inverse);
            background: var(--color-brand);
            border-radius: 50px;
            box-shadow: var(--shadow-lg);
            border: 1px solid rgba(255,255,255,0.1);
            cursor: pointer;
        }

        .stamp-primary:hover {
            transform: translateY(-2px);
            background: var(--color-brand-light);
            box-shadow: 0 16px 40px rgba(246, 64, 103, 0.25);
        }

        .stamp-ghost {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.8rem 2rem;
            font-weight: 600;
            color: var(--color-brand);
            background: transparent;
            border-radius: 50px;
            border: 2px solid var(--color-brand);
        }

        .stamp-ghost:hover {
            background: rgba(246, 64, 103, 0.05);
        }

        /* Hero / Cover (Intro) */
        .folio-intro {
            width: 100%;
            min-height: 85vh;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            background-color: var(--color-bg-dark);
            position: relative;
            padding: clamp(3rem, 8vw, 6rem) 0;
            overflow: hidden;
            text-align: center;
        }

        .folio-intro::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 50% 30%, rgba(246, 64, 103, 0.15) 0%, transparent 60%);
            pointer-events: none;
        }

        .rule-search {
            display: flex;
            flex-wrap: wrap;
            background: var(--color-bg-surface);
            border-radius: 50px;
            padding: 0.5rem;
            max-width: 680px;
            margin: 0 auto;
            box-shadow: 0 10px 40px rgba(0,0,0,0.4);
            border: 1px solid rgba(255,255,255,0.1);
        }

        .search-prose {
            flex: 1;
            border: none;
            background: transparent;
            padding: 0 1.5rem;
            font-size: 1.1rem;
            color: var(--color-text-main);
            outline: none;
            min-width: 200px;
        }

        .search-prose::placeholder {
            color: var(--color-text-muted);
        }

        .search-stamp {
            background: var(--color-brand);
            color: var(--color-text-inverse);
            border: none;
            padding: 0.8rem 2.5rem;
            border-radius: 40px;
            font-weight: 600;
            font-size: 1.05rem;
            cursor: pointer;
            transition: var(--transition);
        }

        .search-stamp:hover {
            background: var(--color-brand-light);
            transform: scale(1.02);
        }

        .rule-tags {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
        }

        .tag-stamp {
            font-size: 0.9rem;
            color: rgba(255,255,255,0.7);
            background: rgba(255,255,255,0.08);
            padding: 0.4rem 1rem;
            border-radius: 20px;
            transition: var(--transition);
            border: 1px solid rgba(255,255,255,0.1);
        }

        .tag-stamp:hover {
            color: var(--color-text-inverse);
            background: rgba(255,255,255,0.15);
            border-color: rgba(255,255,255,0.3);
        }

        /* Category Resume (Detail) */
        .folder-detail {
            padding: clamp(4rem, 8vw, 6rem) 0;
            background: var(--color-bg-surface);
            position: relative;
        }

        .rule-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .sheet-resume {
            background: var(--color-bg-surface);
            border-radius: var(--radius-md);
            padding: 2.5rem 2rem;
            box-shadow: var(--shadow-sm);
            border: 1px solid rgba(0,0,0,0.04);
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .sheet-resume:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-md);
            border-color: rgba(246, 64, 103, 0.2);
        }

        .ink-box {
            width: 64px;
            height: 64px;
            border-radius: 16px;
            background: linear-gradient(135deg, rgba(246, 64, 103, 0.1) 0%, rgba(255, 107, 139, 0.05) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: var(--color-brand);
        }

        .ink-box svg {
            width: 32px;
            height: 32px;
            fill: currentColor;
        }

        /* Gallery Showcase (Proof) */
        .folder-proof {
            padding: clamp(4rem, 8vw, 6rem) 0;
            background: var(--color-bg-alt);
        }

        .rule-split {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 4rem;
        }

        .split-prose {
            flex: 1;
            min-width: 300px;
        }

        .split-case {
            flex: 1.2;
            min-width: 340px;
        }

        .case-master {
            width: 100%;
            height: auto;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            display: block;
            border: 1px solid rgba(0,0,0,0.05);
            transition: var(--transition);
        }

        .case-master:hover {
            transform: scale(1.01) translateY(-4px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.12);
        }

        .rule-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(0,0,0,0.08);
        }

        .stat-fig {
            display: flex;
            flex-direction: column;
        }

        .stat-topic {
            font-size: 2rem;
            font-weight: 800;
            color: var(--color-brand);
            line-height: 1.1;
        }

        .stat-prose {
            font-size: 0.9rem;
            color: var(--color-text-muted);
            margin-top: 0.4rem;
        }

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

        .note-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .note-col {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .note-brand {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--color-text-main);
            letter-spacing: -0.02em;
        }

        .note-topic {
            font-weight: 600;
            color: var(--color-text-main);
            margin-bottom: 0.5rem;
        }

        .note-xref {
            color: var(--color-text-muted);
            font-size: 0.95rem;
        }

        .note-xref:hover {
            color: var(--color-brand);
        }

        .note-bottom {
            border-top: 1px solid rgba(0,0,0,0.05);
            padding-top: 2rem;
            text-align: center;
            color: var(--color-text-muted);
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .rule-split {
                flex-direction: column;
                gap: 3rem;
            }
            .split-prose, .split-case {
                flex: none;
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .rule-bullets {
                display: none; /* In a real app, a hamburger menu would toggle this */
            }
            .folio-intro {
                padding: 4rem 0;
            }
            .rule-search {
                flex-direction: column;
                border-radius: 20px;
                padding: 1rem;
            }
            .search-prose {
                padding: 0.8rem;
                margin-bottom: 0.5rem;
            }
            .search-stamp {
                width: 100%;
                border-radius: 12px;
            }
            .rule-grid {
                grid-template-columns: 1fr;
            }
            .note-grid {
                grid-template-columns: 1fr;
            }
        }

.ribbon-heel{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            background: rgba(15, 10, 20, 0.85);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(255,255,255,0.05);
            transition: all 0.35s ease;
        }

.ribbon-heel .ribbon-ribbon{
            max-width: 1280px;
            margin: 0 auto;
            padding: 1rem clamp(1.5rem, 5vw, 4rem);
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
        }

.ribbon-heel .ribbon-ribbon > *{
            min-width: 0;
        }

.ribbon-heel .ribbon-glyph img{
            height: 32px;
            width: auto;
            display: block;
            filter: drop-shadow(0 2px 4px rgba(246, 64, 103, 0.3));
        }

.ribbon-heel .ribbon-rule-bullets{
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

.ribbon-heel .ribbon-rule-bullets > *{ min-width: 0; }

.ribbon-heel .ribbon-xref-bullet{
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 500;
            transition: all 0.35s ease;
            padding: 0.5rem 0;
            position: relative;
        }

.ribbon-heel .ribbon-xref-bullet:hover, .ribbon-heel .ribbon-xref-bullet.active{
            color: #ffffff;
        }

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

@media (max-width: 768px){.ribbon-heel .ribbon-ribbon{
                flex-direction: column;
                gap: 1rem;
            }

.ribbon-heel .ribbon-rule-bullets{
                justify-content: center;
                gap: 1rem;
            }}

.ribbon-heel {
    background: rgb(15, 10, 20);
    background-image: none;
}

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

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

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

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

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

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

.note-verb{
            background: #0f0a14;
            color: rgba(255,255,255,0.6);
            padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem;
            display: flex;
            flex-direction: column;
            gap: 3rem;
            flex-wrap: wrap;
        }

.note-verb > *{ min-width: 0; }

.note-verb .note-folder-foot{
            max-width: 1280px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

.note-verb .note-folder-foot > *{ min-width: 0; }

.note-verb .note-topic-brand{
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
            letter-spacing: 1px;
        }

.note-verb .note-prose-legal{
            font-size: 0.875rem;
        }