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

body {
    font-family: 'Courier Prime', 'Courier New', monospace;
    background-color: #fafafa;
    color: #1a1a1a;
    line-height: 1.7;
    font-size: 13px;
    padding: 5rem 3rem;
    min-height: 100vh;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.02) 2px,
            rgba(0, 0, 0, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.015) 2px,
            rgba(0, 0, 0, 0.015) 4px
        ),
        radial-gradient(
            circle at 20% 30%,
            rgba(0, 0, 0, 0.02) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 80% 70%,
            rgba(0, 0, 0, 0.02) 0%,
            transparent 50%
        );
    background-size: 
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 5rem;
    align-items: start;
}

.main-column {
    min-width: 0;
    max-width: 600px;
}

.annotation-column {
    position: sticky;
    top: 5rem;
    padding-top: 0;
}

.annotation-number {
    font-family: 'Courier Prime', 'Courier New', monospace;
    color: #c81d1d;
    font-size: 10px;
    vertical-align: super;
    margin-left: 2px;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.annotation-group {
    margin-bottom: 2rem;
}

.annotation {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 11px;
    line-height: 1.6;
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
}

.annotation-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.15);
    margin: 2.5rem 0 2rem;
    width: 60px;
}

.annotation-link {
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
    display: inline-block;
}

.annotation-link:hover {
    color: #c81d1d;
}

.annotation-note {
    font-family: 'Courier Prime', 'Courier New', monospace;
    color: #c81d1d;
    letter-spacing: 0.12em;
    font-weight: 400;
    flex-shrink: 0;
}

.annotation-link.annotation-note {
    transition: all 0.2s ease;
}

.annotation-link.annotation-note:hover {
    transform: scale(1.15);
}

.annotation-text {
    color: #4a4a4a;
    font-size: 10px;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 3.5rem;
    color: #000;
    line-height: 1.4;
}

.title::after {
    content: '▋';
    color: #c81d1d;
    margin-left: 2px;
    animation: blink 1s infinite;
}

.title.finished-typing::after {
    display: none;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.section {
    margin-top: 5rem;
    padding-top: 3rem;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 1px;
    background: #000;
}

.heading {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    color: #000;
    line-height: 1.4;
    margin-top: 0;
}

.text {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    color: #1a1a1a;
    letter-spacing: 0.02em;
}

.red {
    color: #c81d1d;
    font-weight: 400;
}

.method-item {
    margin-bottom: 2.5rem;
    padding-left: 0;
}

.method-label {
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 400;
    color: #000;
    display: block;
    margin-bottom: 0.4rem;
}

.method-description {
    font-size: 12px;
    line-height: 1.7;
    color: #4a4a4a;
    letter-spacing: 0.02em;
}

.inline-link {
    display: inline-block;
    margin-top: 1rem;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #c81d1d;
    padding-bottom: 1px;
    transition: color 0.2s ease;
}

.inline-link:hover {
    color: #c81d1d;
}

.back-link {
    position: absolute;
    bottom: -3rem;
    left: 0;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.back-link:hover {
    color: #c81d1d;
}

@media (max-width: 768px) {
    body {
        padding: 3rem 2rem;
        font-size: 12px;
    }

    .content {
        max-width: 100%;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .main-column {
        max-width: 100%;
    }

    .annotation-column {
        position: static;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 2rem;
    }

    .annotation-group {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .annotation-group .annotation {
        border-left: none;
        padding-left: 0;
        margin-bottom: 0;
        flex: 1;
        min-width: 120px;
    }

    .annotation-divider {
        width: 100%;
        margin: 2rem 0;
    }

    .annotation:not(.annotation-group .annotation) {
        border-left: 1px solid rgba(0, 0, 0, 0.15);
        padding-left: 1rem;
    }

    .title {
        font-size: 18px;
        margin-bottom: 3rem;
    }

    .section {
        margin-top: 4rem;
        padding-top: 2.5rem;
    }

    .section::before {
        width: 40px;
    }

    .heading {
        font-size: 13px;
        margin-bottom: 2rem;
    }

    .text {
        font-size: 12px;
    }

    .method-label {
        font-size: 12px;
    }

    .method-description {
        font-size: 11px;
    }

    .inline-link {
        font-size: 11px;
    }

    .back-link {
        font-size: 11px;
        bottom: 1.5rem;
        left: 1.5rem;
    }
}

