/* ==========================================================================
   Anthony's Recipe - Global Browser Reset
   ========================================================================== */


/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* 1. Box sizing rules & smooth scrolling */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    scroll-behavior: smooth;
}

/* 2. Remove default list and navigation styles */
ul,
ol {
    list-style: none;
}

/* 3. Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

/* 4. Elements that don't inherit modern text styling */
input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
}

/* 5. Core interactive elements */
a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
}

/* 6. Make images and media easier to work with */
img,
picture,
canvas,
svg,
video {
    max-width: 100%;
    display: block;
}

/* 7. Remove spacing properties that warp grid/flex structures */
iframe {
    border: 0;
}

/* 8. Inherit box-sizing for form elements */
input[type="text"],
input[type="email"],
input[type="search"],
input[type="password"] {
    width: 100%;
}