/* =====================================================
   DEFAULT PAGE TEMPLATE
   ===================================================== */

.site-page {
    padding: 140px 0 100px;
    min-height: 60vh;
    background-color: #0B0D0F;
    color: #F7F7F7;
}

/* Reset html/body overflow (front-page locks it) */
html {
    overflow: auto !important;
    height: auto !important;
}
body {
    overflow: visible !important;
    height: auto !important;
    background-color: #0B0D0F;
}

/* Header */

.site-page__header {
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(247, 247, 247, 0.1);
}

.site-page__title {
    font-family: "SF UI Display", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #F7F7F7;
    text-transform: none;
}

/* Content typography */

.site-page__content {
    font-family: "SF UI Display", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(247, 247, 247, 0.8);
    max-width: 860px;
}

.site-page__content h1,
.site-page__content h2,
.site-page__content h3,
.site-page__content h4,
.site-page__content h5,
.site-page__content h6 {
    font-family: "SF UI Display", -apple-system, BlinkMacSystemFont, sans-serif;
    color: #F7F7F7;
    text-transform: none;
    letter-spacing: -0.02em;
    margin: 40px 0 16px;
}

.site-page__content h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 300; }
.site-page__content h3 { font-size: clamp(20px, 2.5vw, 28px); font-weight: 400; }
.site-page__content h4 { font-size: 22px; font-weight: 400; }
.site-page__content h5 { font-size: 18px; font-weight: 500; }
.site-page__content h6 { font-size: 16px; font-weight: 500; }

.site-page__content p {
    margin: 0 0 20px;
}

.site-page__content a {
    color: #FF9626;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-page__content a:hover {
    opacity: 0.75;
}

.site-page__content ul,
.site-page__content ol {
    padding-left: 24px;
    margin: 0 0 20px;
}

.site-page__content li {
    margin-bottom: 8px;
}

.site-page__content strong,
.site-page__content b {
    font-weight: 600;
    color: #F7F7F7;
}

.site-page__content em,
.site-page__content i {
    font-style: italic;
}

.site-page__content blockquote {
    margin: 32px 0;
    padding: 20px 28px;
    border-left: 3px solid #FF9626;
    background: rgba(247, 247, 247, 0.04);
    border-radius: 0 8px 8px 0;
    font-size: 20px;
    font-weight: 300;
    color: #F7F7F7;
}

.site-page__content blockquote p {
    margin: 0;
}

.site-page__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    display: block;
}

.site-page__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 16px;
}

.site-page__content th,
.site-page__content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(247, 247, 247, 0.1);
}

.site-page__content th {
    color: #F7F7F7;
    font-weight: 500;
    border-bottom-color: rgba(247, 247, 247, 0.25);
}

.site-page__content hr {
    border: none;
    border-top: 1px solid rgba(247, 247, 247, 0.1);
    margin: 40px 0;
}

.site-page__content code {
    font-family: 'MonoBlack', 'Courier New', monospace;
    font-size: 14px;
    background: rgba(247, 247, 247, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    color: #FF9626;
}

.site-page__content pre {
    background: rgba(247, 247, 247, 0.05);
    border: 1px solid rgba(247, 247, 247, 0.1);
    border-radius: 8px;
    padding: 20px 24px;
    overflow-x: auto;
    margin: 24px 0;
}

.site-page__content pre code {
    background: none;
    padding: 0;
    color: #F7F7F7;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 768px) {
    .site-page {
        padding: 100px 0 60px;
    }

    .site-page__header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .site-page__content {
        font-size: 16px;
    }
}
