.fonts-generator-hero,
.fonts-generator-hero *,
.fonts-results,
.fonts-results *,
.fonts-tips,
.fonts-tips * {
    box-sizing: border-box;
}

.fonts-generator-hero .home-hero__main {
    align-items: center;
}

.fonts-generator-hero {
    margin-bottom: 0;
}

.fonts-generator-hero .home-hero__featured {
    margin-top: 35px;
}

.fonts-generator-hero.growth-home-hero .fonts-generator-input {
    min-height: 370px;
}

.fonts-generator-input__label-row {
    display: flex;
    margin-bottom: 25px;
    justify-content: space-between;
    gap: 18px;
    align-items: baseline;
    color: #232368;
    font-family: var(--font_family3);
}

.fonts-generator-input__label-row label {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.fonts-generator-input__label-row output {
    flex: 0 0 auto;
    color: #74758a;
    font-size: 14px;
}

.fonts-generator-input textarea {
    display: block;
    width: 100%;
    min-height: 150px;
    padding: 18px;
    resize: vertical;
    border: 1px solid #dedee8;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #232368;
    font-family: var(--font_family3);
    font-size: 17px;
    line-height: 1.5;
    transition: border-color .2s, box-shadow .2s;
}

.fonts-generator-input textarea:focus {
    border-color: #4c2fba;
    box-shadow: 0 0 0 2px rgba(76, 47, 186, .12);
}

.fonts-generator-input textarea::placeholder {
    color: #8d8c9c;
}

.fonts-generator-input .growth-checker__privacy {
    max-width: 520px;
    margin: 22px auto 0;
}

.fonts-results {
    margin-top: 0;
    padding: 70px 0;
    background: #eff5fd;
}

.fonts-results__panel {
    position: relative;
    padding: 28px 30px 30px;
    border: 1px solid #e1dcf8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(35, 35, 104, .1);
    color: #232368;
    font-family: var(--font_family3);
}

.fonts-results__status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.fonts-results__scroll {
    display: grid;
    max-height: 343px;
    margin-top: 0;
    padding-right: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: #0e0d33 #efeff5;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.fonts-results__scroll::-webkit-scrollbar {
    width: 7px;
}

.fonts-results__scroll::-webkit-scrollbar-track {
    border-radius: 999px;
    background: #efeff5;
}

.fonts-results__scroll::-webkit-scrollbar-thumb {
    border: 1px solid #efeff5;
    border-radius: 999px;
    background: #0e0d33;
}

.font-style-card {
    display: grid;
    min-width: 0;
    min-height: 105px;
    padding: 16px 18px;
    border: 1px solid #e4e0f6;
    border-radius: 12px;
    background: #fbfaff;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 14px;
    align-items: center;
}

.font-style-card__name {
    color: #74758a;
    font-size: 13px;
    font-weight: 700;
}

.font-style-card__preview {
    min-width: 0;
    overflow: hidden;
    color: #232368;
    font-size: 20px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.font-style-card__copy {
    min-width: 78px;
    min-height: 38px;
    padding: 7px 15px;
    grid-column: 2;
    grid-row: 1 / span 2;
    border: 0;
    border-radius: 7px;
    background: #4c2fba;
    color: #fff;
    font-family: var(--font_family3);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .2s, transform .2s;
}

.font-style-card__copy:hover,
.font-style-card__copy:focus-visible {
    background: #382299;
}

.font-style-card__copy:focus-visible {
    outline: 3px solid rgba(76, 47, 186, .22);
    outline-offset: 2px;
}

.font-style-card__copy.is-copied {
    background: #38824f;
}

.fonts-tips .manual {
    padding-top: 42px;
    padding-bottom: 42px;
}

.fonts-tips .manual li {
    font-size: 19px;
}

.fonts-tips .manual li + li {
    margin-top: 25px;
}

.fonts-tips .manual li span {
    margin-top: 5px;
    font-size: 16px;
}

.fonts-tips + .faq {
    margin-top: 55px;
}

@media (max-width: 991px) {
    .fonts-generator-hero .home-hero__main {
        align-items: stretch;
    }
}

@media (max-width: 767px) {
    .fonts-generator-hero .home-hero__featured {
        margin-top: 28px;
    }

    .fonts-generator-hero.growth-home-hero .fonts-generator-input {
        min-height: 0;
    }

    .fonts-generator-input__label-row {
        gap: 10px;
    }

    .fonts-generator-input__label-row label {
        font-size: 16px;
    }

    .fonts-generator-input textarea {
        min-height: 135px;
        padding: 15px;
        font-size: 16px;
    }

    .fonts-results {
        padding: 42px 0;
    }

    .fonts-results__panel {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .fonts-results__scroll {
        max-height: 340px;
        margin-top: 0;
        padding-right: 8px;
        grid-template-columns: minmax(0, 1fr);
    }

    .font-style-card {
        min-height: 104px;
        padding: 14px;
    }

    .font-style-card__preview {
        font-size: 18px;
    }

    .fonts-tips + .faq {
        margin-top: 40px;
    }
}
