@font-face {
    font-family: "Cupra";
    src: url("fonts/Cupra-Regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Cupra";
    src: url("fonts/Cupra-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

 
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-width: 320px;
    background: #ffffff;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    color: #ffffff;
    font-family: "Cupra", sans-serif;
}

img,
svg {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

.page {
    display: flex;
    min-height: 100vh;
    min-height: 100svh;
    flex-direction: column;
    width: calc(100% - 100px);
    margin: 0 auto;
}

main {
    display: flex;
    flex: 1;
    padding-top: 32px;
    padding-bottom: 50px;
}

.site-header {
    display: flex;
    align-items: center;
    height: 74px;
    width: min(100% - 48px, 1280px);
    flex-shrink: 0;
    margin: 0 auto;
    color: #101010;
}

.header-divider {
    width: 1px;
    height: 40px;
    margin: 0 18px;
    background: #d5d5d5;
}

.cupra-logo {
    font-family: "Cupra", sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1;
    text-decoration: none;
}

.hero {
    position: relative;
    display: flex;
    flex: 1;
    align-items: center;
    overflow: hidden;
    background: url("hero.png") center / cover;
    border-radius: 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 24px;
    width: min(100% - 48px, 1280px);
    margin: 0 auto;
}

.hero-content__wrapper {
    grid-column: span 6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.hero h1 {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 500;
    line-height: 1.15;
}

.hero-description {
    font-size: clamp(16px, 2.0vw, 24px);
    line-height: 1.35;
    max-width: 590px;
     
}
.hero-description > a {
    text-decoration: none;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: #ffffff;
    color: #003c4a;
    font-size: 16px;
    line-height: 1.375;
    text-decoration: none;
    transition: background-color 150ms ease;
}

.hero-button:hover {
    background: #e9e9e9;
}

.hero-button:focus-visible,
.cupra-logo:focus-visible,
.hero-description a:focus-visible {
    outline: 2px solid #1688d4;
    outline-offset: 4px;
   
}

@media (max-width: 640px) {
    .page {
        width: calc(100% - 40px);
    }

    main {
        padding: 20px 0;
    }

    .site-header {
        width: 100%;
    }

    .header-divider {
        height: 34px;
    }

    .cupra-logo {
        font-size: 18px;
    }

    .hero {
        align-items: flex-end;
        background-image: url("hero-mobile.png");
    }

    .hero-content {
        width: 100%;
        padding: 0 20px 30%;
    }

    .hero-content__wrapper {
        grid-column: span 12;
    }
}
