.dg-sheet.welcome {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: auto;
    max-height: 92dvh;
}

.dg-sheet.welcome:focus {
    outline: none;
}

.welcome__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 32px;
}

.welcome__brand {
    font-size: var(--font-size-title);
    font-weight: var(--font-weight);
    color: var(--text-tunedr);
}

.welcome__title {
    margin: 0;
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.15;
    color: var(--text-white);
    overflow-wrap: anywhere;
}

.welcome__lead {
    margin: 0;
    font-size: var(--font-size-title);
    line-height: var(--line-height);
    color: var(--text-grey);
}

.welcome__about {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.welcome__about-title {
    margin: 0;
    font-size: var(--font-size-title);
    font-weight: var(--font-weight);
    color: var(--text-white);
}

.welcome__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.welcome__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--side-border);
    border-radius: var(--border-radius);
    background: var(--bgc-input-div);
}

.welcome__feature-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--middle-border);
    background: var(--bgc-modale);
    color: var(--text-tunedr);
}

.welcome__feature-icon svg {
    width: var(--size-icons-xs);
    height: var(--size-icons-xs);
}

.welcome__feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    font-size: var(--font-size-text);
    line-height: var(--line-height);
    color: var(--text-grey);
}

.welcome__feature-text strong {
    font-size: var(--font-size-text);
    line-height: 1.3;
    color: var(--text-white);
}

.welcome__feature-text span {
    display: none;
}

.welcome__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.welcome__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid var(--side-border);
    border-radius: var(--border-radius);
    color: var(--text-white);
    font-size: var(--font-size-title);
    font-weight: var(--font-weight);
    text-decoration: none;
    transition: opacity var(--motion-fast) var(--ease-out);
}

.welcome__btn--primary {
    border-color: var(--text-white);
    background: var(--text-white);
    color: var(--text-black);
}

.welcome__btn:focus-visible,
.welcome__link:focus-visible {
    outline: 2px solid var(--text-tunedr);
    outline-offset: 2px;
}

.welcome__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin: 0;
}

.welcome__link {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-grey);
    font-family: var(--font-family-app);
    font-size: var(--font-size-text);
    text-decoration: underline;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

@media (hover: hover) {
    .welcome__btn:hover {
        opacity: var(--opacity-btn-hover);
    }

    .welcome__link:hover {
        color: var(--text-white);
    }
}

@media (min-width: 480px) {
    .welcome__features {
        gap: 12px;
    }

    .welcome__feature {
        align-items: flex-start;
        gap: 12px;
        padding: 12px;
    }

    .welcome__feature-icon {
        width: 40px;
        height: 40px;
    }

    .welcome__feature-text strong {
        font-size: var(--font-size-title);
    }

    .welcome__feature-text span {
        display: inline;
    }
}

@media (min-width: 768px) {
    .dg-sheet.welcome {
        gap: 24px;
        max-width: 640px;
        padding: 32px;
    }

    .welcome__actions {
        flex-direction: row;
    }

    .welcome__btn {
        flex: 1 1 0;
    }
}
