/* =========================================
   A PAR — GLOBAL STYLES
   ========================================= */


/* -----------------------------------------
   DESIGN TOKENS
   ----------------------------------------- */

:root {

    /* Colors */
    --color-primary: #165B67;
    --color-primary-dark: #0F454F;
    --color-primary-light: #DCEFF2;
    --color-accent: #2FA7C8;

    --color-text-primary: #232425;
    --color-text-secondary: #5C6468;

    --color-canvas: #F8FAFB;
    --color-surface: #F1F1F1;
    --color-surface-border: #5C6468;

    /* System / CMS */
    --color-success: #00AD6F;
    --color-warning: #BB9C52;
    --color-error: #D44545;


    /* Typography */
    --font-main: "Lato", sans-serif;
    --font-fallback: "Roboto", sans-serif;


    /* Font weights */
    --weight-light: 300;
    --weight-regular: 400;
    --weight-bold: 700;


    /* Desktop */
    --text-dkt-h1: 48px;
    --text-dkt-h2: 32px;
    --text-dkt-h3: 24px;
    --text-dkt-h4: 22px;
    --text-dkt-body: 18px;
    --text-dkt-small: 16px;
    --text-dkt-caption: 14px;
    --text-dkt-button: 18px;


    /* Tablet */
    --text-tbl-h1: 42px;
    --text-tbl-h2: 32px;
    --text-tbl-h3: 24px;
    --text-tbl-h4: 22px;
    --text-tbl-body: 18px;
    --text-tbl-small: 16px;
    --text-tbl-caption: 14px;
    --text-tbl-button: 18px;


    /* Mobile */
    --text-mbl-h1: 32px;
    --text-mbl-h2: 28px;
    --text-mbl-h3: 24px;
    --text-mbl-h4: 20px;
    --text-mbl-body: 16px;
    --text-mbl-small: 14px;
    --text-mbl-caption: 14px;
    --text-mbl-button: 18px;
}


/* -----------------------------------------
   RESET
   ----------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}



body {
    margin: 0 auto;
    padding: 0;

    background-color: var(--color-surface);
    color: var(--color-text-primary);

    font-family: var(--font-main), var(--font-fallback);
    font-size: var(--text-dkt-body);
    font-weight: var(--weight-regular);
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* -----------------------------------------
   TYPOGRAPHY
   ----------------------------------------- */

div[id]{
    scroll-margin-top: 65px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: var(--font-main), var(--font-fallback);
    color: var(--color-text-primary);

    font-weight: var(--weight-bold);
    line-height: 1.15;
}

h1 {
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.25rem);
}

h3 {
    font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.75rem);
}

h4 {
    font-size: var(--text-dkt-h4);
}

p {
    margin: 0;
}


/* -----------------------------------------
   LAYOUT
   ----------------------------------------- */

.container {
    width: 100%;
    margin-inline: auto;
}

strong{
    color: var(--color-primary);
}
/* -----------------------------------------
   BUTTONS
   ----------------------------------------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: var(--text-dkt-button);
    font-weight: var(--weight-bold);

    cursor: pointer;
}


/* -----------------------------------------
   MOBILE
   ----------------------------------------- */

@media (max-width: 767px) {

    body {
        font-size: var(--text-mbl-body);
    }

    h4 {
        font-size: var(--text-mbl-h4);
    }

}

.main-body {
    margin: 0 auto;
    max-width: 1440px;
    background-color: var(--color-canvas);
}
