/* Low-specificity document foundation shared by every SME169 page. */
:where(*) { box-sizing: border-box; }
:where(html) { scroll-behavior: smooth; }
:where(body) {
    margin: 0;
    color: var(--color-text-brand);
    background: var(--color-surface);
    font-family: var(--font-family-base);
    line-height: 1.65;
}
:where(img) { display: block; max-width: 100%; }
:where(a) { color: inherit; text-decoration: none; }
:where(button,input,select,textarea) { font: inherit; }
:where(.container) {
    width: min(calc(100% - 40px), var(--layout-container));
    margin-inline: auto;
}
:where(.skip-link) {
    position: fixed;
    top: -80px;
    left: 12px;
    z-index: 99;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: var(--color-surface);
}
:where(.skip-link:focus) { top: 12px; }
:where(.sr-only) {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

@media (max-width: 700px) {
    :where(.container) { width: min(calc(100% - 28px), var(--layout-container)); }
}

@media (prefers-reduced-motion: reduce) {
    :where(*) { scroll-behavior: auto !important; transition: none !important; }
}
