* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #050505;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,0.025), transparent 30%),
        #050505;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* HEADER */

.apply-header {
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    padding: 20px 6%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(5,5,5,0.88);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
}

.brand {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.back-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;

    padding: 11px 20px;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;

    transition: 0.25s ease;
}

.back-link:hover {
    background: #ffffff;
    color: #050505;
}

/* PAGE */

.application {
    width: min(1180px, 88%);
    margin: 0 auto;
    padding: 110px 0 140px;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 110px;
    align-items: start;
}

/* INTRO */

.application-intro {
    position: sticky;
    top: 150px;
}

.eyebrow {
    margin-bottom: 24px;

    color: #8d8d8d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
}

.application-intro h1 {
    margin-bottom: 34px;

    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.94;
    letter-spacing: -4px;
    font-weight: 900;
}

.intro-text {
    max-width: 520px;
    margin-bottom: 18px;

    color: #9b9b9b;
    font-size: 16px;
    line-height: 1.8;
}

/* FORM */

.application-form {
    padding: 42px;

    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 22px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 11px;

    color: #d7d7d7;
    font-size: 14px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 16px 17px;

    background: rgba(255,255,255,0.035);
    color: #ffffff;

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    outline: none;

    font-family: inherit;
    font-size: 15px;

    transition: 0.25s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.055);
}

.form-group select option {
    background: #111111;
    color: #ffffff;
}

.submit-application {
    width: 100%;

    padding: 18px 24px;

    background: #ffffff;
    color: #050505;

    border: none;
    border-radius: 999px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 800;

    cursor: pointer;
    transition: 0.25s ease;
}

.submit-application:hover {
    transform: translateY(-2px);
    background: #e8e8e8;
}

/* MOBILE */

@media (max-width: 768px) {

    .apply-header {
        padding: 18px 20px;
    }

    .brand {
        font-size: 14px;
    }

    .back-link {
        padding: 10px 15px;
        font-size: 12px;
    }

    .application {
        width: calc(100% - 40px);
        padding: 70px 0 90px;

        display: block;
    }

    .application-intro {
        position: static;
        margin-bottom: 55px;
    }

    .eyebrow {
        margin-bottom: 20px;
        font-size: 10px;
        letter-spacing: 3px;
    }

    .application-intro h1 {
        margin-bottom: 28px;

        font-size: clamp(44px, 13vw, 62px);
        line-height: 0.95;
        letter-spacing: -2.5px;
    }

    .intro-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .application-form {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .form-group {
        margin-bottom: 25px;
    }
}

/* SUCCESS PAGE */

.success-page {
    min-height: calc(100vh - 82px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
}

.success-content {
    width: min(760px, 100%);
    text-align: center;
}

.success-content .eyebrow {
    margin-bottom: 24px;
}

.success-content h1 {
    margin-bottom: 32px;

    font-size: clamp(52px, 6vw, 82px);
    line-height: 0.94;
    letter-spacing: -4px;
    font-weight: 900;
}

.success-text {
    max-width: 600px;
    margin: 0 auto 16px;

    color: #9b9b9b;
    font-size: 16px;
    line-height: 1.8;
}

.success-button {
    display: inline-block;
    margin-top: 34px;
    padding: 18px 32px;

    background: #ffffff;
    color: #050505;

    border-radius: 999px;

    text-decoration: none;
    font-size: 14px;
    font-weight: 800;

    transition: 0.25s ease;
}

.success-button:hover {
    transform: translateY(-2px);
    background: #e8e8e8;
}

@media (max-width: 768px) {

    .success-page {
        min-height: calc(100vh - 75px);
        padding: 60px 20px;
    }

    .success-content h1 {
        font-size: clamp(44px, 13vw, 62px);
        line-height: 0.95;
        letter-spacing: -2.5px;
    }

    .success-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .success-button {
        width: 100%;
        text-align: center;
    }
}