*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: #111827;
    min-height: 100vh;
    position: relative;
    overflow-y: hidden;
    background-image: url('../static/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    overflow-y: scroll;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-image: linear-gradient(to right, #ffffff, #ffffff, rgba(255, 255, 255, 0));
    backdrop-filter: blur(2px) grayscale(1);
    -webkit-backdrop-filter: blur(2px) grayscale(1);
}

.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.content-wrap {
    width: 100%;
    padding: 2rem 1rem;
}

.content > * + * {
    margin-top: 1.5rem;
}

.logo {
    width: 66.6667%;
    height: auto;
    display: block;
}

.header-section {
    margin-bottom: 1.5rem;
}

.header-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.heading {
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem;
}

.body-text {
    font-size: 0.875rem;
    color: #1f2937;
    margin: 0;
    line-height: 1.5;
}

.assist-lead {
    margin-bottom: 1rem;
}

.cta-text {
    margin-top: 1rem;
    font-weight: 600;
}

.assist-list > * + * {
    margin-top: 0.5rem;
}

.assist-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.assist-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.assist-text {
    font-size: 0.875rem;
}

.link {
    color: #a03021;
    text-decoration: none;
}

.link:hover {
    color: #991b1b;
}

@media (min-width: 640px) {
    .container {
        max-width: 640px;
    }

    .logo {
        width: 18rem;
    }
}

@media (min-width: 768px) {
    .overlay {
        display: flex;
        justify-content: center;
        align-items: center;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .container {
        max-width: 768px;
    }

    .content-wrap {
        padding: 2rem;
    }

    .content > * + * {
        margin-top: 2rem;
    }

    .logo {
        width: 20rem;
    }

    .heading {
        font-size: 1.5rem;
    }

    .body-text,
    .assist-text {
        font-size: 1rem;
    }

    .header-section {
        margin-bottom: 2rem;
    }

    .header-inner {
        gap: 2rem;
    }

    .assist-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1024px;
    }

    .heading {
        font-size: 1.875rem;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
    }

    .content-wrap {
        width: 50%;
    }

    .logo {
        width: 20rem;
    }
}

@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }

    .logo {
        width: 24rem;
    }
}
