* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: thin;
    scrollbar-color: #2a2a2a #0a0a0a;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3a3a3a; }

body {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    background: #0a0a0a;
    color: #c8c8c8;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
}

.page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
    position: relative;
    z-index: 1;
}

header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

header h1 {
    font-family: 'Orbitron', monospace;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.meta {
    font-size: 0.75rem;
    color: #555;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0;
    align-items: center;
}

.meta .dot {
    margin: 0 0.6rem;
    opacity: 0.4;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.warning-section {
    grid-column: 1 / -1;
}

.section {
    display: flex;
    flex-direction: column;
}

.section-label {
    font-size: 0.7rem;
    color: #4a4a4a;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-label::before {
    content: attr(data-num);
    color: #333;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.04);
}

.full-section {
    grid-column: 1 / -1;
}

.full-section .section-label {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
}

.full-section .section-label::before {
    content: '';
    height: 1px;
    background: rgba(255,255,255,0.04);
    order: 0;
}

.full-section .section-label::after {
    content: '';
    height: 1px;
    background: rgba(255,255,255,0.04);
    order: 2;
}

.section-body {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 2px solid rgba(255,255,255,0.08);
    border-radius: 0 4px 4px 0;
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    color: #b0b0b0;
    flex: 1;
}

.section-body p + p {
    margin-top: 0.75rem;
}

.highlight {
    color: #ef4444;
    font-weight: 700;
}

.highlight-green {
    color: #22c55e;
    font-weight: 700;
}

.emphasis {
    color: #e5e7eb;
    font-style: italic;
}

.ref {
    color: #22c55e;
    font-weight: 700;
    cursor: default;
}

.warning-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-left: 2px solid #ef4444;
    border-radius: 0 4px 4px 0;
    padding: 1.25rem 1.5rem;
    font-size: 0.875rem;
    color: #b0b0b0;
}

footer {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

footer a {
    font-size: 0.75rem;
    color: #444;
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.05em;
}

footer a:hover {
    color: #22c55e;
}

footer .copy {
    font-size: 0.7rem;
    color: #333;
    letter-spacing: 0.08em;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .warning-section {
        grid-column: 1;
    }
}

@media (max-width: 480px) {
    .page-wrap {
        padding: 2.5rem 1.25rem 4rem;
    }

    header h1 {
        font-size: 1.2rem;
    }

    .section-body,
    .warning-box {
        padding: 1rem 1.1rem;
        font-size: 0.825rem;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}