@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&family=Syne:wght@400;700;800&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: #0d0d12;
}

body {
    font-family: 'DM Mono', monospace;
    color: #e8e4f0;
    background: transparent;
    padding-top: 52px;
}

/* -- PCB HEADER BACKGROUND --------------------------------------------------- */
.header-wrap {
    position: fixed;
    top: 52px;
    left: 0;
    width: 100%;
    height: 360px;
    z-index: 0;
    pointer-events: none;
}

.site-header {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* -- PAGE LAYOUT -------------------------------------------------------------- */
main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: calc(100vh - 52px);
}

/* -- CONTENT AREA ------------------------------------------------------------- */
.content-area {
    flex: 1;
    padding: 3rem 2rem 4rem 2rem;
    min-width: 0;
    /* Cap line length on very wide screens so text doesn't stretch absurdly */
    max-width: 960px;
}

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    color: #f0eaff;
}

p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(220, 210, 255, 0.72);
    max-width: 60ch;
    margin-bottom: 1rem;
}

.content-area h1,
.content-area h2,
.content-area h3,
.content-area h4,
.content-area h5,
.content-area h6 {
    text-align: center;
}

/* -- WIDE SCREENS (>1400px) -------------------------------------------------
   Content stays readable - just gains breathing room on either side.      */
@media (min-width: 1400px) {
    .content-area {
        padding: 3rem 4rem 4rem 4rem;
    }
}

/* -- NARROW SCREENS (<768px) ------------------------------------------------
   Sidebar goes away, full-width content, tighter padding.                 */
@media (max-width: 768px) {
    .content-area {
        padding: 2rem 1.2rem 3rem 1.2rem;
        max-width: 100%;
    }

    h1 {
        font-size: clamp(1.6rem, 8vw, 2.4rem);
    }
}

.site-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;

    background: #0d0d12;
    color: #ffffff;
    padding: 10px 20px;

    border-top: 2px solid rgba(160, 120, 255, 0.18);
    z-index: 9999;
    /* above everything */
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-text {
    font-size: 14px;
    opacity: 0.8;
}