/* Dynamic site pages (/pages/{slug}) — glass theme matching ecosystem / partners */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
}

body.site-page-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #050505;
    color: #f5f5f5;
    padding: 0;
    min-height: 100vh;
    overflow-x: clip;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.site-page-body .site-page-wrap button {
    font: inherit;
}

body.site-page-body .container.site-page-wrap {
    position: relative;
    max-width: min(820px, 100%);
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px) clamp(40px, 5vw, 56px);
    box-sizing: border-box;
}

body.site-page-body #headerContainer {
    width: 100%;
}

.site-page-hero {
    position: relative;
    z-index: 1;
    margin: 0 0 clamp(24px, 3.5vw, 32px);
    padding: clamp(28px, 5vw, 44px) 0 clamp(24px, 4vw, 32px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-page-hero-title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.1;
}

.site-page-glass {
    margin-bottom: clamp(20px, 3vw, 28px);
    padding: clamp(20px, 3vw, 32px);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-page-loading,
.site-page-error {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    padding: 48px 16px;
}

.site-page-error a {
    color: #818cf8;
}

.site-page-prose {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
    line-height: 1.65;
}

.site-page-prose p {
    margin: 0 0 1em;
}

.site-page-prose p:last-child {
    margin-bottom: 0;
}

.site-page-prose .site-page-intro {
    font-size: 1.1em;
    color: #fff;
}

.site-page-prose h2 {
    margin: 1.75em 0 0.75em;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.site-page-prose h2:first-child {
    margin-top: 0;
}

.site-page-prose h3 {
    margin: 1.35em 0 0.5em;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.site-page-prose ul {
    margin: 0 0 1em;
    padding-left: 1.35em;
}

.site-page-prose li {
    margin-bottom: 0.35em;
}

.site-page-prose a {
    color: #a5b4fc;
    text-decoration: none;
}

.site-page-prose a:hover {
    text-decoration: underline;
}

.site-page-footer {
    margin-top: 32px;
    padding-top: 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.38);
    font-size: 13px;
}
