:root {
    --dark-blue: #2A2C44;
    --light-blue: #BDD4DE;
    --orange: #FF530D;
    --grey: #D9D9D9;
    --muted-blue: #4C6173;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

.page-login {
    background-color: var(--dark-blue);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.page-login .bg-top {
    position: absolute;
    top: 0;
    left: 72px;
    max-width: calc(100vw - 144px);
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.page-login .bg-bottom {
    position: absolute;
    bottom: 0;
    right: 72px;
    max-width: calc(100vw - 144px);
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.login-container {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 0 24px;
    box-sizing: border-box;
}

.login-container .logo {
    margin-top: 146px;
    max-width: 80vw;
    height: auto;
}

.form-group {
    margin-top: 122px;
    display: flex;
    gap: 20px;
}

.form-group input {
    width: 279px;
    height: 72px;
    box-sizing: border-box;
    padding: 0 24px;
    border: none;
    background-color: #FFFFFF;
    color: var(--dark-blue);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    outline: none;
}

.form-group button {
    width: 174px;
    height: 72px;
    box-sizing: border-box;
    background-color: var(--orange);
    color: #FFFFFF;
    border: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.form-group button:hover {
    opacity: 0.9;
}

.page-portfolio {
    background-color: var(--light-blue);
    color: var(--dark-blue);
}

.wrapper {
    max-width: 974px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.page-portfolio .logo {
    margin-top: 140px;
    align-self: center;
    max-width: 80vw;
    height: auto;
}

.intro {
    margin-top: 48px;
    font-weight: 600;
    font-size: 22px;
    line-height: 44px;
}

.intro p {
    margin: 0 0 44px 0;
}

.intro p:last-child {
    margin: 0;
}

.section-header {
    margin-top: 72px;
    margin-bottom: 56px;
    font-weight: 700;
    font-size: 52px;
    line-height: 1;
    letter-spacing: -0.5px;
}

.case-study {
    display: flex;
    gap: 36px;
    margin-bottom: 56px;
    border-bottom: 2px solid var(--dark-blue);
    padding-bottom: 32px; 
}

.cs-image {
    flex-shrink: 0;
    width: 368px; 
    background-color: var(--dark-blue); 
    display: flex;
}

.cs-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.cs-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cs-header {
    font-weight: 700;
    font-size: 20px;
    line-height: 44px;
    text-transform: uppercase;
    margin: 0 0 24px 0;
}

.cs-body {
    font-weight: 600;
    font-size: 18px;
    line-height: 40px;
    margin: 0;
}

.download-link {
    align-self: flex-end;
    margin-top: auto;
    font-weight: 700;
    font-size: 18px;
    line-height: 44px;
    color: var(--dark-blue);
    text-decoration: none;
    border-bottom: 2px solid var(--dark-blue);
    padding-bottom: 2px;
    transition: color 0.2s, border-bottom-color 0.2s;
}

.download-link:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.footer {
    margin-top: 80px; 
    background-color: var(--dark-blue);
    min-height: 498px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 72px 24px; 
}

.page-login .footer {
    margin-top: 160px; 
    background-color: transparent;
    min-height: auto;
    padding: 0 0 48px 0;
}

.footer-copy {
    max-width: 992px;
    color: var(--light-blue);
    font-weight: 500;
    font-style: italic;
    font-size: 20px;
    line-height: 54px;
    text-align: center;
    margin: 0;
}

.footer-links {
    margin-top: 102px;
    color: var(--orange);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

.page-login .footer-links {
    margin-top: 0;
}

.footer-links a {
    color: var(--orange);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* Responsive Breakpoints (Tablet & Mobile) */
@media (max-width: 768px) {
    .login-container .logo {
        margin-top: 96px;
    }

    .form-group {
        margin-top: 72px;
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 16px;
    }

    .form-group input,
    .form-group button {
        width: 100%;
    }

    .page-login .footer {
        margin-top: 80px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 64px;
        font-size: 16px;
    }

    .page-login .footer-links {
        margin-top: 0;
    }

    .footer-links .divider {
        display: none;
    }

    .page-portfolio .logo {
        margin-top: 80px;
    }

    /* Intro body copy dropped 20% (22px -> 17.6px) */
    .intro {
        margin-top: 36px;
        font-size: 17.6px;
        line-height: 32px;
    }

    .intro p {
        margin-bottom: 28px;
    }

    .section-header {
        margin-top: 56px;
        margin-bottom: 40px;
        font-size: 36px;
    }

    .case-study {
        flex-direction: column;
        gap: 24px;
    }

    .cs-image {
        width: 100%;
    }

    .cs-header {
        margin-bottom: 12px;
        line-height: 32px;
    }

    /* Case study body copy dropped 20% (18px -> 14.4px) */
    .cs-body {
        font-size: 14.4px;
        line-height: 28px;
    }

    .download-link {
        margin-top: 24px;
    }

    .footer {
        height: auto;
        padding: 56px 24px;
    }

    /* Footer copy dropped 20% (20px -> 16px) */
    .footer-copy {
        font-size: 16px;
        line-height: 36px;
    }
}