/* Archivo (variabilná, 400–800) — self-host, latin + latin-ext (slovenčina). */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../../fonts/archivo-latin-ext-3uRG5nh.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url("../../fonts/archivo-latin-eYWgLOH.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Základ platí len pod .hv, aby sa nedotkol administrácie (/admin). */
.hv {
    margin: 0;
    background: var(--hv-ground);
    color: var(--hv-ink);
    font-family: var(--hv-font);
    font-size: var(--hv-text-base);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

/* :where() keeps the reset at zero specificity so utility/component classes (.hv-card--pad, …) can override it. */
:where(.hv) h1,
:where(.hv) h2,
:where(.hv) h3,
:where(.hv) p,
:where(.hv) ol,
:where(.hv) ul,
:where(.hv) dl,
:where(.hv) dd,
:where(.hv) figure {
    margin: 0;
    padding: 0;
}

:where(.hv) ol,
:where(.hv) ul {
    list-style: none;
}

:where(.hv) a {
    color: var(--hv-accent-ink);
    text-decoration: underline;
    text-underline-offset: 2px;
}

:where(.hv) a:hover {
    color: var(--hv-ink);
}

/* :where() keeps the specificity at zero so component classes (.hv-btn--dark, .hv-input, …) can set their own colour. */
:where(.hv) button,
:where(.hv) input,
:where(.hv) select,
:where(.hv) textarea {
    font: inherit;
    color: inherit;
}

.hv :focus-visible {
    outline: 3px solid var(--hv-amber-500);
    outline-offset: 2px;
}

.hv svg {
    flex: none;
}

/* Nadpisy */
.hv-h1 {
    font-size: var(--hv-text-3xl);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.hv-h2 {
    font-size: var(--hv-text-lg);
    font-weight: 700;
    line-height: 1.3;
}

.hv-eyebrow {
    color: var(--hv-ink-muted);
    font-size: var(--hv-text-xs);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hv-label-caps {
    color: var(--hv-ink-subtle);
    font-size: var(--hv-text-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.hv-subtle {
    color: var(--hv-ink-subtle);
}

.hv-tabular {
    font-variant-numeric: tabular-nums;
}

.hv-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Textové tóny stavov */
.hv-tone-ok { color: var(--hv-ok); }
.hv-tone-warn { color: var(--hv-warn-fg); }
.hv-tone-bad { color: var(--hv-bad); }
.hv-tone-strong { color: var(--hv-ink); }
