/* ==========================================================================
   Cheetah Modern CSS Reset
   ==========================================================================
   A lightweight, opinionated reset for modern browsers.
   Not Normalize.css — this establishes a clean baseline for Cheetah.
   ========================================================================== */

/* ─── Box Sizing ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ─── Margin & Padding Reset ─── */
* {
    margin: 0;
    padding: 0;
}

/* ─── Document ─── */
html {
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    tab-size: 4;
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ─── Body ─── */
body {
    min-height: 100vh;
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ─── Media Defaults ─── */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ─── Form Elements ─── */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

/* ─── Typography ─── */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

/* ─── Lists ─── */
ul,
ol {
    list-style: none;
}

/* ─── Links ─── */
a {
    text-decoration: none;
    color: inherit;
}

/* ─── Tables ─── */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ─── Quotes ─── */
blockquote,
q {
    quotes: none;
}

/* ─── Accessibility ─── */
.sr-only,
.screen-reader-text {
    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;
}

/* ─── Focus Visible ─── */
:focus:not(:focus-visible) {
    outline: none;
}