.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 750;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition:
            color 180ms ease,
            background-color 180ms ease,
            border-color 180ms ease,
            box-shadow 180ms ease,
            transform 180ms ease;
}

.button-sm {
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.92rem;
}

.button-md {
    padding: 0 18px;
    font-size: 1rem;
}

.button-primary {
    color: #fff;
    background: var(--brand-deep);
    border-color: rgba(16, 35, 63, 0.08);
    box-shadow: 0 10px 24px rgba(19, 54, 111, 0.18);
}

@media (hover: hover) {
    .button:hover {
        transform: translateY(-1px);
    }

    .button-primary:hover {
        background: #102f63;
        box-shadow: 0 14px 30px rgba(19, 54, 111, 0.22);
    }
}

.button:active {
    transform: translateY(0);
}

.button:focus-visible {
    outline: 3px solid rgba(73, 126, 214, 0.28);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(73, 126, 214, 0.16);
}
