
/* =========================
   CSS Reset and Base Styles
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    color: var(--color-secondary);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* =========================
   Typography System
   ========================= */
:root {
    --font-scale: 1;
}

@media (min-width: 640px) {
    :root {
        --font-scale: 1.1;
    }
}

@media (min-width: 1024px) {
    :root {
        --font-scale: 1.2;
    }
}

h1, .h1 {
    font-size: calc(3rem * var(--font-scale));
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

h2, .h2 {
    font-size: calc(2.4rem * var(--font-scale));
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--color-secondary);
}

h3, .h3 {
    font-size: calc(1.8rem * var(--font-scale));
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-secondary);
}

h4, .h4 {
    font-size: calc(1.5rem * var(--font-scale));
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5rem;
    color: var(--color-secondary);
}

p {
    margin-bottom: 1.5rem;
    font-size: var(--font-size-md);
}

/* =========================
   Container
   ========================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: var(--container-width);
}

/* =========================
   Links
   ========================= */
a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 150ms ease-in-out;
}

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 2px;
}

/* =========================
   Lists
   ========================= */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* =========================
   Images
   ========================= */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================
   Tables
   ========================= */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--color-gray-200);
}

/* =========================
   Print Styles
   ========================= */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    h1, h2, h3, h4 {
        page-break-after: avoid;
    }

    .container {
        max-width: 100% !important;
    }
}


/* =========================
   Custom Shape Divider
   ========================= */
.custom-shape-divider-bottom-1749638320 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1749638320 svg {
    position: relative;
    display: block;
    width: calc(121% + 1.3px);
    height: 80px;
}

.custom-shape-divider-bottom-1749638320 .shape-fill {
    fill: #FEFAF5;
}