/* Welkey — base: reset leggero e tipografia. */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--wk-font);
    font-size: var(--wk-text-md);
    line-height: var(--wk-leading);
    color: var(--wk-ink);
    background: var(--wk-bg);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 var(--wk-space-3);
    line-height: 1.25;
    font-weight: 650;
    letter-spacing: -0.01em;
}

h1 { font-size: var(--wk-text-2xl); }
h2 { font-size: var(--wk-text-xl); }
h3 { font-size: var(--wk-text-lg); }

p {
    margin: 0 0 var(--wk-space-3);
}

a {
    color: var(--wk-brand);
    text-underline-offset: 2px;
}

a:hover {
    color: var(--wk-brand-hover);
}

code,
kbd {
    font-family: var(--wk-font-mono);
    font-size: 0.92em;
}

img,
svg {
    max-width: 100%;
}

:focus-visible {
    outline: 2px solid var(--wk-focus);
    outline-offset: 2px;
}

[hidden] {
    display: none !important;
}

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

.wk-muted {
    color: var(--wk-ink-muted);
}

.wk-mono {
    font-family: var(--wk-font-mono);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}
