/* =========================================================
   Shivanya Tech — GLOBAL RESET
   PHASE 01
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}


html {
    margin: 0;
    padding: 0;

    font-size: 16px;

    scroll-behavior: smooth;

    -webkit-text-size-adjust: 100%;
}


body {
    margin: 0;
    padding: 0;

    min-height: 100vh;

    background: var(--cs-bg);
    color: var(--cs-text);

    font-family: var(--cs-font-body);
    font-size: var(--cs-text-md);
    font-weight: var(--cs-weight-regular);
    line-height: var(--cs-leading-relaxed);

    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    transition:
        background-color var(--cs-transition),
        color var(--cs-transition);
}


/* =========================================================
   MEDIA
   ========================================================= */

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}


img {
    height: auto;
}


video {
    width: 100%;
}


/* =========================================================
   FORM ELEMENTS
   ========================================================= */

button,
input,
textarea,
select {
    margin: 0;

    font: inherit;
}


button,
input,
textarea,
select {
    color: inherit;
}


button {
    border: 0;
    background: none;
    cursor: pointer;
}


textarea {
    resize: vertical;
}


input,
textarea,
select {
    width: 100%;
}


/* =========================================================
   LINKS
   ========================================================= */

a {
    color: inherit;
    text-decoration: none;
}


a:hover {
    text-decoration: none;
}


/* =========================================================
   LISTS
   ========================================================= */

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}


/* =========================================================
   PARAGRAPH
   ========================================================= */

p {
    margin: 0;
}


/* =========================================================
   BLOCKQUOTE
   ========================================================= */

blockquote {
    margin: 0;
}


/* =========================================================
   TABLE
   ========================================================= */

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}


/* =========================================================
   SELECTION
   ========================================================= */

::selection {
    background: var(--cs-secondary);
    color: #ffffff;
}


/* =========================================================
   FOCUS
   ========================================================= */

:focus-visible {
    outline: none;

    box-shadow: var(--cs-focus-ring);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

}