.hero {
    position: relative;
}

.hero__bg {
    position: absolute;
    top: -306px;
    left: -210px;
    width: 733px;
    height: 495px;
    transform: rotate(163.85deg);
    pointer-events: none;
    z-index: 0;
}

.hero__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 162px 100px 94px;
    display: flex;
    align-items: center;
}

.hero__content {
    width: 836px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
}

.hero__date {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    height: 64px;
    padding: 0 22px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--border-pill);
    border-radius: 45px;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    white-space: nowrap;
}
.hero__date-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 9px var(--yellow);
    flex-shrink: 0;
}
.hero__date-text {
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    color: var(--text-pill);
}

.hero__title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 50px;
    line-height: 1.36;
    letter-spacing: -0.07em;
    color: var(--ink);
    margin: 0;
}
.hero__title-line {
    display: block;
}
.hero__title-accent--violet {
    color: var(--violet);
}
.hero__title-accent--yellow {
    color: var(--yellow);
}

.hero__desc {
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 22px;
    line-height: 1.21;
    color: var(--text);
    max-width: 747px;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 407px;
    max-width: 100%;
    height: 73px;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 1;
    color: var(--white);
    background: var(--violet);
    border-radius: 12px;
    transition: background .2s, transform .15s, box-shadow .2s;
}
.hero__cta:hover {
    background: var(--violet-hover);
    box-shadow: 0 10px 24px rgba(139, 92, 246, 0.35);
}
.hero__cta:active {
    transform: scale(.985);
}

.hero__visual {
    position: absolute;
    top: 93px;
    right: 0;
    width: 700px;
    height: 800px;
}
.hero__visual-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1500px) {
    .hero__content {
        max-width: 60%;
    }
}

@media (max-width: 1280px) {
    .hero__inner {
        padding: 120px 48px 72px;
    }
    .hero__visual {
        width: 460px;
        height: 620px;
    }
    .hero__title {
        font-size: 40px;
    }
    .hero__desc {
        font-size: 19px;
    }
}

@media (max-width: 1150px) {
    .hero__visual {
        width: 400px;
        height: 540px;
        top: auto;
        bottom: 20px;
    }
    .hero__content {
        width: 620px;
    }
    .hero__title {
        font-size: 34px;
    }
}

@media (max-width: 1023px) {
    .hero__bg {
        display: none;
    }
    .hero__inner {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 40px;
        padding: 72px 48px;
    }
    .hero__content {
        width: 100%;
    }
    .hero__visual {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 560 / 750;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .hero__content {
        max-width: 100%; 
    }
}

@media (max-width: 767px) {
    .hero__inner {
        padding: 40px 20px 56px;
        gap: 32px;
    }
    .hero__content {
        gap: 28px;
    }
    .hero__date {
        height: 52px;
        padding: 0 18px;
        gap: 10px;
    }
    .hero__date-text {
        font-size: 15px;
    }
    .hero__title {
        font-size: clamp(24px, 7vw, 32px);
        letter-spacing: -0.05em;
    }
    .hero__desc {
        font-size: 16px;
    }
    .hero__cta {
        width: 100%;
        height: 60px;
        font-size: 18px;
    }
    .hero__visual {
        aspect-ratio: 560 / 750;
    }
    .hero__visual {
        max-width: 250px;
    }
}


@media (max-width: 450px) {
    .hero__visual {
        max-width: 140px;
    }
}

@media (max-width: 390px) {
    .hero__inner {
        padding: 32px 16px 48px;
        padding-top: 0;
    }
    .hero__date-text {
        font-size: 13px;
    }
}
