.uc-home-hero {
    --hero-blue: #234e9b;
    --hero-ink: #18345d;
    --hero-light: #a6c9e8;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--hero-blue);
    color: #fff;
    font-family: "DM Sans", Arial, sans-serif;
    text-align: start;
}

.uc-home-hero + .stats-container {
    margin-block-start: 0;
    padding-block-start: clamp(12px, 3vw, 44px);
}

.uc-home-hero::before,
.uc-home-hero::after {
    position: absolute;
    z-index: -1;
    inset-inline-start: 53%;
    inset-block-start: 50%;
    width: clamp(360px, 52vw, 960px);
    aspect-ratio: 1;
    transform: translateY(-50%);
    border: 1px solid #ffffff14;
    border-radius: 50%;
    pointer-events: none;
    content: "";
}

.uc-home-hero::after {
    inset-inline-start: 59%;
    width: clamp(300px, 43vw, 760px);
    border-color: #ffffff10;
}

.uc-home-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(36px, 6.5vw, 105px);
    min-height: 605px;
    padding-block: clamp(50px, 6.5vw, 102px);
}

.uc-home-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 25px;
    color: #f2f7fe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.uc-home-hero__eyebrow::before {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--hero-light);
    content: "";
}

.uc-home-hero h1 {
    max-width: 610px;
    margin: 0;
    color: #fff;
    font: 650 clamp(44px, 5.15vw, 79px)/1.03 "DM Sans", Arial, sans-serif;
    letter-spacing: -.061em;
    overflow-wrap: anywhere;
}

.uc-home-hero h1 span {
    display: block;
    margin-top: 4px;
    color: var(--hero-light);
}

.uc-home-hero__description {
    max-width: 470px;
    margin: 26px 0 0;
    color: #edf5ff;
    font-size: 16px;
    line-height: 1.7;
    white-space: pre-line;
}

.uc-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 29px;
}

.uc-home-hero__actions a,
.uc-home-hero__board-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.uc-home-hero__primary {
    justify-content: space-between;
    min-width: 182px;
    padding: 11px 17px;
    border-radius: 8px;
    background: #fff;
    color: var(--hero-blue);
}

.uc-home-hero__primary:hover {
    background: #e9f3fe;
    color: var(--hero-blue);
}

.uc-home-hero__secondary,
.uc-home-hero__secondary:hover {
    color: #fff;
}

.uc-home-hero__secondary:hover,
.uc-home-hero__board-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.uc-home-hero__preview {
    margin-inline: 10px;
}

.uc-home-hero__board {
    overflow: hidden;
    transform: rotate(-2.7deg);
    border: 5px solid #8baed757;
    border-radius: 16px;
    background: #fff;
    color: var(--hero-ink);
    box-shadow: 0 28px 65px #18345d64;
}

.uc-home-hero__board-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-inline: 43px;
    background: #f3f6fb;
    color: #476991;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.uc-home-hero__dots {
    position: absolute;
    inset-inline-start: 15px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #769ac7;
    box-shadow: 8px 0 #769ac7, 16px 0 #769ac7;
}

.uc-home-hero__board-body {
    padding: clamp(22px, 3.7vw, 44px);
}

.uc-home-hero__board h2 {
    margin: 0 0 23px;
    color: var(--hero-ink);
    font: 700 clamp(22px, 2.45vw, 37px)/1.15 "DM Sans", Arial, sans-serif;
    letter-spacing: -.04em;
}

.uc-home-hero__areas {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.uc-home-hero__areas a {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 60px;
    padding: 9px 12px;
    border: 1px solid #e6edf5;
    border-radius: 9px;
    color: var(--hero-ink);
    text-decoration: none;
}

.uc-home-hero__areas a:hover {
    border-color: #bed2ea;
    background: #f6f9fd;
    color: var(--hero-ink);
}

.uc-home-hero__icon {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 7px;
    background: #edf3fb;
    color: var(--hero-blue);
}

.uc-home-hero__icon svg {
    width: 16px;
    height: 16px;
}

.uc-home-hero__areas strong,
.uc-home-hero__area-description {
    display: block;
}

.uc-home-hero__areas strong {
    font-size: 14px;
    font-weight: 700;
}

.uc-home-hero__area-description {
    margin-top: 2px;
    color: #596d86;
    font-size: 12px;
}

.uc-home-hero__arrow {
    color: #5379a4;
    font-size: 16px;
}

.uc-home-hero__board-link {
    min-height: 36px;
    margin-top: 15px;
    color: var(--hero-blue);
    font-size: 13px;
}

.uc-home-hero a:focus-visible {
    outline: 3px solid #efb147;
    outline-offset: 3px;
}

@media (max-width: 920px) {
    .uc-home-hero__layout {
        min-height: 0;
        gap: 28px;
    }

    .uc-home-hero__board-body {
        padding: 20px;
    }
}

@media (max-width: 680px) {
    .uc-home-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 33px;
        padding-block: 38px;
    }

    .uc-home-hero__eyebrow {
        margin-bottom: 17px;
        font-size: 10px;
    }

    .uc-home-hero h1 {
        font-size: clamp(33px, 9vw, 51px);
    }

    .uc-home-hero__description {
        margin-top: 17px;
        font-size: 14px;
    }

    .uc-home-hero__actions {
        margin-top: 20px;
    }

    .uc-home-hero__preview {
        margin-inline: 0;
    }

    .uc-home-hero__board {
        transform: none;
        border-width: 3px;
    }
}
