:root {
    --hero-bg: var(--color-body-bg, #16181b);
    --hero-text: #f5f5f5;
    --hero-muted: #96999a;
    --hero-green: #76c52a;
    --hero-white: #ffffff;
}

.hero {
    position: relative;
    width: 100%;
    background: var(--hero-bg);
    color: var(--hero-text);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "header"
        "intro"
        "media"
        "content"
        "note";
    width: 100%;
    margin-inline: auto;
    padding: max(30px, 4.167vw) 15px max(80px, 8.333vw);
    gap: max(20px, 1.771vw);
}

.hero__header {
    grid-area: header;
    display: flex;
    align-items: center;
    gap: max(15px, 0.781vw);
    width: 100%;
}

.hero__logo {
    display: block;
    flex: 0 0 auto;
    width: max(136px, 7.083vw);
}

.hero__logo img {
    display: block;
    width: 100%;
    height: auto;
}

.hero__border {
    border: none;
    border-left: max(1px, 0.052vw) solid rgba(255, 255, 255, 0.20);
    height: 100%;
    margin: 0;
}

.hero__label {
    display: flex;
    flex-direction: column;
    color: var(--hero-white);
    font-size: max(12px, 0.625vw);
    line-height: 1.25;
    font-weight: 400;
    text-transform: uppercase;
}

.hero__intro {
    grid-area: intro;
}

.hero__title {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: 100%;
    margin: 0;
    font-size: max(34px, 2.813vw);
    line-height: 1;
    font-weight: 700;
}

.hero__title span {
    display: block;
}

.hero__title span:last-child {
    color: var(--color-slate-300);
    font-weight: 400;
}

.hero__title sup {
    position: relative;
    top: max(5px, 0.2vw);
    font-size: max(24px, 1.667vw);
    line-height: 0;
}

.hero__description {
    display: flex;
    flex-direction: column;
    margin-top: max(20px, 1.1vw);
    color: var(--color-slate-300);
    font-size: max(15px, 0.833vw);
    line-height: 1.25;
}

.hero__media {
    grid-area: media;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 7 / 5;
}

.hero__media picture,
.hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__media-content {
    grid-area: content;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero__media-wrapper {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    align-items: flex-start;
}

.hero__features {
    display: flex;
    flex-direction: column;
    row-gap: max(16px, 0.833vw);
    flex-shrink: 0;
    padding-bottom: 40px;
}

.hero__feature {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero__feature strong {
    display: block;
    font-size: max(26px, 1.563vw);
    line-height: 1.4;
    font-weight: 700;
}

.hero__feature span {
    display: block;
    color: var(--color-slate-400);
    font-size: max(11px, 0.625vw);
    line-height: 1.4;
    text-transform: uppercase;
}

.hero__samples {
    position: relative;
    pointer-events: none;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    align-items: end;
    max-width: max(355px, 18.49vw);
    padding-right: 7px;
    width: 46%;
}

.hero__sample {
    position: relative;
    box-shadow: 0 0 17px 0 rgba(0, 0, 0, 0.73);
    grid-row: 1 / 2;
}

.hero__sample img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero__sample--1 { height: 100%; z-index: 1; grid-column: 1 / 5; }
.hero__sample--2 { height: 70%;  z-index: 2; grid-column: 3 / 7; }
.hero__sample--3 { height: 65%;  z-index: 3; grid-column: 5 / 8; }
.hero__sample--4 { height: 50%;  z-index: 4; grid-column: 6 / 12; }
.hero__sample--5 { height: 56%;  z-index: 2; grid-column: 8 / -1; }

.hero__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: var(--color-green-apple);
    color: var(--hero-white);
    font-size: max(14px, 0.729vw);
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
    height: max(56px, 3.125vw);
    border: none;
    outline: none;
    font-weight: 700;
    z-index: 8;
}

.hero__button:hover {
    background: var(--color-green-apple-hover);
}

.hero__note {
    grid-area: note;
    color: var(--color-slate-400);
    font-size: max(12px, 0.729vw);
    line-height: 1.4;
    margin-top: max(25px, 2.813vw);
}

@media (min-width: 32.5rem) and (max-width: 48rem) {
    .hero__media-wrapper {
        align-items: center;
        justify-content: space-around;
    }
}
@media (min-width: 48.01rem) {
    .hero__grid {
        position: relative;
        grid-template-columns: 1fr 1.35fr;
        grid-template-rows: auto auto auto auto 1fr;
        gap: max(20px, 1.771vw) max(40px, 2.083vw);
        padding: 0 0 0 clamp(15px, 15px + (210 - 15) * ((100vw - 1515px) / (1920 - 1515)), 10.938vw);
    }

    .hero__media-content,
    .hero__media-wrapper {
        display: contents;
    }

    .hero__header {
        grid-column: 1;
        grid-row: 1;
        padding-top: max(40px, 4.688vw);
    }

    .hero__intro {
        grid-column: 1;
        grid-row: 2;
    }

    .hero__features {
        grid-column: 1;
        grid-row: 3;
        flex-direction: row;
        gap: max(16px, 2.5vw);
        justify-content: space-between;
        padding-right: max(50px, 2.604vw);
        padding-bottom: max(34px, 1.771vw);
    }

    .hero__feature span {
        max-width: 18ch;
    }

    .hero__button {
        grid-column: 1;
        grid-row: 4;
        align-self: start;
        width: max(280px, 20vw);
        margin-bottom: max(55px, 2.865vw);
    }

    .hero__note {
        grid-column: 1;
        grid-row: 4;
        margin-top: auto;
    }

    .hero__media {
        grid-column: 2;
        grid-row: 1 / -1;
        height: 100%;
        aspect-ratio: auto;
        position: relative;
    }

    .hero__samples {
        grid-column: 2;
        grid-row: 1 / -1;
        align-self: end;
        justify-self: start;
        z-index: 5;
        height: auto;
        transform: translateX(-10%);
    }

    .hero__media-bg {
        background: linear-gradient(180deg, rgba(11, 15, 20, 0.00) 0%, #0B0F14 100%);
        position: absolute;
        height: max(200px, 12vw);
        bottom: 0;
        right: 0;
        left: 0;
    }
}

@media (min-width: 48.01rem) and (max-width: 1515px) {
    .hero__grid {
        grid-template-columns: 1.15fr 1.4fr;
        gap: max(16px, 1.32vw) max(24px, 1.98vw);
    }

    .hero__header {
        padding-top: max(24px, 1.98vw);
    }

    .hero__features {
        flex-wrap: wrap;
        row-gap: max(14px, 1.15vw);
        column-gap: max(16px, 1.7vw);
        padding-bottom: max(20px, 1.65vw);
        justify-content: flex-start;
    }

    .hero__feature span {
        max-width: 20ch;
    }

    .hero__samples {
        width: max(260px, 19.802vw);
    }

    .hero__note{
        padding-bottom: max(40px, 2.64vw);
    }

    .hero__button {
        margin-bottom: max(95px, 6.271vw);
    }
}