:root {

    --background: #080b0e;
    --surface: #0d1116;
    --surface-hover: #11161c;

    --border: #1b232c;

    --text: #f1f4f6;
    --muted: #8b949e;
    --dim: #59636d;

    --accent: #65d68b;

    --max-width: 1180px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    background: var(--background);
    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
    text-decoration: none;
}


.container {

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;
}


/* ---------------- HEADER ---------------- */


.site-header {

    border-bottom: 1px solid var(--border);

    background: rgba(8, 11, 14, 0.88);

    position: sticky;
    top: 0;

    z-index: 10;

    backdrop-filter: blur(12px);
}


.nav {

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.brand {

    display: flex;

    align-items: center;

    gap: 12px;
}


.brand-mark {

    font-family: monospace;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 0.12em;

    color: var(--accent);

    border: 1px solid var(--accent);

    padding: 4px 7px;
}


.brand-name {

    font-size: 14px;

    color: var(--muted);
}


nav {

    display: flex;

    gap: 30px;
}


nav a {

    font-size: 14px;

    color: var(--muted);

    transition: color 0.2s ease;
}


nav a:hover {

    color: var(--text);
}



/* ---------------- PAGE HERO ---------------- */


.page-hero {

    padding: 110px 0 100px;

    border-bottom: 1px solid var(--border);
}


.page-hero h1 {

    font-size: clamp(48px, 6vw, 72px);

    line-height: 1.04;

    letter-spacing: -0.045em;

    font-weight: 650;
}


.page-hero p {

    max-width: 650px;

    margin-top: 24px;

    font-size: 19px;

    line-height: 1.7;

    color: var(--muted);
}



/* ---------------- SECTIONS ---------------- */


.section {

    padding: 110px 0;
}


.section-heading {

    max-width: 680px;

    margin-bottom: 50px;
}


.eyebrow {

    font-family: monospace;

    font-size: 11px;

    letter-spacing: 0.18em;

    color: var(--accent);

    margin-bottom: 22px;
}


.section-heading h2 {

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.1;

    letter-spacing: -0.03em;
}


.section-heading p {

    margin-top: 18px;

    color: var(--muted);

    font-size: 16px;
}



/* ---------------- SERIES ---------------- */


.series-section {

    border-bottom: 1px solid var(--border);
}


.series-grid {

    display: grid;

    grid-template-columns: 1fr;

    gap: 20px;
}


.series-card {

    position: relative;

    padding: 36px;

    border: 1px solid var(--border);

    background: var(--surface);

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.series-card:hover {

    background: var(--surface-hover);

    border-color: #2b3742;
}


.series-card-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.card-meta {

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 0.12em;

    color: var(--accent);
}


.series-status {

    font-family: monospace;

    font-size: 9px;

    letter-spacing: 0.12em;

    color: var(--dim);

    white-space: nowrap;
}


.series-card h3 {

    font-size: 32px;

    line-height: 1.2;

    letter-spacing: -0.025em;
}


.series-description {

    max-width: 700px;

    margin-top: 14px;

    color: var(--muted);

    font-size: 15px;
}



/* ---------------- SERIES STAGES ---------------- */


.series-stages {

    margin-top: 34px;

    border-top: 1px solid var(--border);
}


.stage {

    display: flex;

    align-items: center;

    gap: 20px;

    padding: 16px 0;

    border-bottom: 1px solid var(--border);
}


.stage span {

    min-width: 28px;

    font-family: monospace;

    font-size: 11px;

    color: var(--dim);
}


.stage strong {

    font-size: 14px;

    font-weight: 500;

    color: var(--muted);
}


.series-link {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    margin-top: 28px;

    font-family: monospace;

    font-size: 12px;

    color: var(--accent);
}


.series-link span {

    font-size: 16px;
}



/* ---------------- STANDALONE ---------------- */


.standalone-section {

    border-bottom: 1px solid var(--border);
}


.standalone-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.empty-card {

    min-height: 230px;

    padding: 30px;

    border: 1px dashed var(--border);

    background: var(--surface);

    display: flex;

    gap: 28px;

    align-items: flex-start;
}


.empty-card-number {

    font-family: monospace;

    font-size: 32px;

    color: var(--dim);
}


.empty-card h3 {

    margin-top: 10px;

    font-size: 22px;

    line-height: 1.25;
}


.empty-card p {

    margin-top: 12px;

    color: var(--muted);

    font-size: 14px;

    max-width: 420px;
}



/* ---------------- FOOTER ---------------- */


.site-footer {

    padding: 42px 0;
}


.footer-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;
}


.footer-brand {

    display: flex;

    flex-direction: column;

    gap: 4px;
}


.footer-content strong {

    font-size: 13px;
}


.footer-content span {

    font-size: 12px;

    color: var(--dim);
}


.footer-address {

    margin-top: 14px;

    line-height: 1.6;
}


.footer-links {

    display: flex;

    flex-direction: column;

    align-items: flex-end;

    gap: 14px;
}


.footer-main-links {

    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 8px 20px;
}


.footer-legal-links {

    display: flex;

    flex-wrap: wrap;

    justify-content: flex-end;

    gap: 8px 20px;
}


.footer-links a {

    font-size: 12px;

    color: var(--muted);

    transition: color 0.2s ease;
}


.footer-links a:hover {

    color: var(--text);
}



/* ---------------- MOBILE ---------------- */


@media (max-width: 850px) {


    .brand-name {

        display: none;
    }


    .page-hero {

        padding: 80px 0;
    }


    .section {

        padding: 80px 0;
    }


    .standalone-grid {

        grid-template-columns: 1fr;
    }


    .footer-content {

        flex-direction: column;

        align-items: flex-start;
    }


    .footer-links {

        align-items: flex-start;
    }


    .footer-main-links,
    .footer-legal-links {

        justify-content: flex-start;
    }

}


@media (max-width: 500px) {


    .container {

        width: min(
            calc(100% - 32px),
            var(--max-width)
        );
    }


    .nav {

        height: 64px;
    }


    nav {

        gap: 18px;
    }


    .page-hero h1 {

        font-size: 45px;
    }


    .series-card {

        padding: 26px;
    }


    .series-card-header {

        align-items: flex-start;

        flex-direction: column;

        gap: 8px;
    }


    .series-card h3 {

        font-size: 28px;
    }


    .stage {

        gap: 14px;
    }


    .stage strong {

        font-size: 13px;
    }


    .empty-card {

        padding: 24px;

        gap: 18px;
    }

}

