


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

html {
    font-size: 100%;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

body {
    margin: 0;
    background: var(--app-bg);
    color: var(--app-text);
    font-family: var(--app-font-sans);
    font-size: 16px;
    line-height: 1.55;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--app-font-display);
    font-weight: var(--app-font-heading-weight);
    line-height: 1.2;
    letter-spacing: -0.025em;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(30px, 2.5vw, 40px);
}

h2 {
    font-size: clamp(24px, 2vw, 30px);
}

h3 {
    font-size: 20px;
}

p {
    font-size: 16px;
    line-height: 1.55;
}

@media (max-width: 1023px) {
    h1 {
        font-size: 26px;
    }

    h2 {
        font-size: 21px;
    }
}

label {
    font-size: 13px;
    font-weight: 600;
}

input, select, textarea, button {
    font-family: inherit;
    font-size: 15px;
}

@media (max-width: 1023px) {
    input, select, textarea {
        font-size: 16px;
    }
}

a {
    color: var(--app-primary);
}

a:hover {
    color: var(--app-primary-dark);
}

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

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


.app-svg-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    flex: 0 0 auto;
    vertical-align: -0.125em;
    fill: currentColor;
}

.app-button .app-svg-icon,
.mobile-bottom-nav__item .app-svg-icon {
    width: 20px;
    height: 20px;
}

.app-filter-field__label .app-svg-icon {
    width: 18px;
    height: 18px;
    color: var(--app-primary);
}

.app-result-card__meta .app-svg-icon,
.app-badge .app-svg-icon {
    width: 16px;
    height: 16px;
}

.app-empty-state__icon .app-svg-icon {
    width: 32px;
    height: 32px;
}

.app-segmented__label .app-svg-icon {
    width: 20px;
    height: 20px;
}
