:root {
    --bg: #f4f7f9;
    --surface: #ffffff;
    --surface-muted: #edf3f6;

    --text: #171c20;
    --text-muted: #68747c;

    --accent: #5ca9d6;
    --accent-dark: #438ebc;
    --accent-soft: #e2f2fb;

    --border: #dce4e9;

    --max-width: 1250px;
    --radius: 14px;

    --shadow: 0 8px 30px rgba(20, 30, 40, 0.06);
}


/* ------------------------------
   Reset
------------------------------ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--bg);
    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.7;
}


/* ------------------------------
   General
------------------------------ */

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-inline: auto;
}

.eyebrow {
    margin: 0 0 12px;

    color: var(--accent-dark);

    font-size: 0.8rem;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-title {
    margin: 0;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;

    letter-spacing: -0.04em;
}


/* ------------------------------
   Header
------------------------------ */

.site-header {
    min-height: 82px;

    background: rgba(255, 255, 255, 0.94);

    border-bottom: 1px solid var(--border);
}

.header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;

    letter-spacing: -0.04em;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-left: auto;
}

.nav a {
    padding: 8px 13px;

    border-radius: 8px;

    color: var(--text-muted);

    font-size: 0.95rem;
    font-weight: 600;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.nav a:hover,
.nav a.active {
    color: var(--accent-dark);
    background: var(--accent-soft);
}

.header-controls {
    display: flex;
    gap: 6px;
}

.header-button {
    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--text-muted);

    font-size: 0.8rem;
    font-weight: 700;
}

.header-button:hover {
    color: var(--accent-dark);
    border-color: var(--accent);
}


/* ------------------------------
   Hero
------------------------------ */

.hero {
    padding: 105px 0 100px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f4f9fc 100%
        );

    border-bottom: 1px solid var(--border);
}

.hero-content {
    max-width: 950px;
}

.hero h1 {
    max-width: 900px;

    margin: 0;

    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1;

    letter-spacing: -0.06em;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero-text {
    max-width: 680px;

    margin: 30px 0 0;

    color: var(--text-muted);

    font-size: 1.15rem;
}


/* ------------------------------
   Sections
------------------------------ */

.section {
    padding: 75px 0;

    border-bottom: 1px solid var(--border);
}

.section:last-child {
    border-bottom: 0;
}


/* ------------------------------
   About
------------------------------ */

.about {
    display: grid;
    grid-template-columns: 0.8fr 1.5fr;

    gap: 90px;

    align-items: start;
}

.about-text {
    max-width: 700px;

    color: var(--text-muted);

    font-size: 1.05rem;
}

.about-text p {
    margin: 0 0 22px;
}

.about-text p:last-child {
    margin-bottom: 0;
}


/* ------------------------------
   Sponsors
------------------------------ */

.sponsors-header {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: end;

    margin-bottom: 40px;
}

.sponsors-header > p {
    max-width: 550px;

    margin: 0;

    color: var(--text-muted);
}

.sponsor-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.sponsor {
    min-height: 130px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: var(--surface);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    box-shadow: var(--shadow);

    color: var(--text-muted);

    font-weight: 700;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.sponsor:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}


/* ------------------------------
   Optional Section
------------------------------ */

.optional {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}

.optional-text {
    max-width: 650px;

    margin: 25px 0 0;

    color: var(--text-muted);
}

.optional-placeholder {
    min-height: 280px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--surface-muted);

    border: 1px dashed var(--border);
    border-radius: var(--radius);

    color: var(--text-muted);

    font-weight: 600;
}


/* ------------------------------
   Footer
------------------------------ */

.site-footer {
    padding: 65px 0 25px;

    background: #17191d;

    color: #ffffff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 60px;

    padding-bottom: 55px;
}

.footer-brand p {
    max-width: 280px;

    margin-top: 12px;

    color: #a9b0b5;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.footer-column h3 {
    margin: 0 0 10px;

    font-size: 0.8rem;

    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-column a {
    width: fit-content;

    color: #a9b0b5;

    font-size: 0.95rem;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;

    padding-top: 20px;

    border-top: 1px solid #30343a;

    color: #7f878d;

    font-size: 0.85rem;
}


/* ------------------------------
   Responsive
------------------------------ */

@media (max-width: 850px) {

    .header-inner {
        flex-wrap: wrap;

        padding: 18px 0;
        gap: 15px;
    }

    .nav {
        order: 3;

        width: 100%;

        margin-left: 0;

        overflow-x: auto;
    }

    .about,
    .optional,
    .sponsors-header {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .sponsor-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 520px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--max-width)
        );
    }

    .header-controls {
        display: none;
    }

    .hero {
        padding: 70px 0 65px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .content {
        padding: 60px 0;
    }

    .section {
        padding: 55px 0;
    }

    .sponsor-list {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}
