@font-face {
    font-family: "Open Sans";
    src: url("/assets/fonts/OpenSans.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
}

body {
    font-family: "Open Sans", sans-serif;
}

.home-hero {
    overflow: hidden;
    background: #57cc99;
    color: #0e3a2c;
}

.home-hero__inner {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 3rem;
    max-width: 75rem;
    margin: 0 auto;
    padding: 3.5rem 2rem;
}

.home-hero__copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.home-hero__eyebrow {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.home-hero h1 {
    margin: 0;
    padding: 0;
    font-size: clamp(2.5rem, 5.2vw, 4.25rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.home-hero__headline-line {
    display: block;
}

.home-hero__highlight {
    display: inline-block;
    margin: 0.1em 0 0 -0.2em;
    padding: 0 0.2em 0.07em;
    border-radius: 0.2em;
    background: #e1f9eb;
}

.home-hero__privacy {
    margin-top: 2rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #194d3a;
}

.home-hero__privacy::before {
    content: "";
    display: block;
    width: 2.875rem;
    height: 2px;
    margin-bottom: 0.75rem;
    background: #0e3a2c;
}

.home-hero__privacy strong {
    display: block;
    font-weight: 700;
    color: #0e3a2c;
}

.home-hero__download {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.75rem;
    font-size: 0.875rem;
}

.home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 3rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.625rem;
    background: #0e3a2c;
    color: #e1f9eb;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
}

.home-hero__button:hover {
    background: #194d3a;
    text-decoration: none;
}

.home-hero__button:focus-visible {
    outline: 3px solid #0e3a2c;
    outline-offset: 4px;
}

.home-hero__art {
    position: relative;
    width: 100%;
    max-width: 30rem;
    aspect-ratio: 1 / 1.1;
    justify-self: center;
    isolation: isolate;
}

.home-hero__art::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -6%;
    left: 0;
    width: 126%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #84deb5;
}

.home-hero__screen {
    position: absolute;
    display: block;
    height: auto;
    border-radius: 7% / 3.5%;
    box-shadow: 0 16px 32px rgb(14 58 44 / 14%);
}

.home-hero__screen--chat {
    top: 3%;
    right: 4%;
    width: 46%;
    transform: rotate(8deg);
}

.home-hero__screen--share {
    top: 8%;
    left: 8%;
    width: 48%;
    transform: rotate(-7deg);
}

@media (max-width: 800px) {
    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 40rem;
        padding: 2.5rem 1.5rem 2rem;
    }

    .home-hero h1 {
        font-size: clamp(1.875rem, 8.5vw, 4rem);
    }

    .home-hero__privacy {
        margin-top: 1.5rem;
    }

    .home-hero__art {
        max-width: 25rem;
    }
}
