/* ===============================
   _base.css — universal resets, typography base, structure
   =============================== */


/* Box Sizing Model */
html {
    box-sizing: border-box;
}

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

/* Reset Margins and Padding */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
}

/* Typography Base */
body {
    font-family: 'Poppins', 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--eds-text, #333);
    background-color: var(--eds-bg, #fff);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 1rem;
    color: white;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.1rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--eds-text, #333);
    font-size: 1rem;
}

a {
    color: var(--eds-link, #0077cc);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    color: inherit;
    margin: 0;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    border-radius: 6px;
}

ul,
ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}



/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    p {
        font-size: 0.95rem;
    }
}
