/*** GENERAL SETTINGS */

:root {
    --color-content-bg: #FEFEFE;
    --color-content-bg-alt: #E7E7E8;
    --color-content-heading: #0F141B;
    --color-content-text: #4B4F54;
    --color-content-link: #DC1834;
    --color-content-link-hover: #DC1834;
    --color-alt-content-bg: #DC1834;
    --color-alt-content-heading: #FFFFFF;
    --color-alt-content-text: rgba(255, 255, 255, .7);
    --color-alt-content-link: #FFFFFF;
    --color-alt-content-link-hover: #FFFFFF;
    --color-content-primary: #DC1834;
    --color-content-secondary: #000000;
    --color-content-faded: #9AA7B2;
    --site-content-width: 600px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    background: var(--color-content-bg);
    font-size: 16px;
}

body {
    margin: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font-body);
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    background: none;
    transition-property: background, box-shadow, border, color, opacity, transform;
    transition-duration: 0.3s;
    -webkit-text-decoration-skip: objects;
}

section a {
    color: var(--color-content-link);
    text-decoration: underline;
}

.no-touch section a:hover {
    color: var(--color-content-link-hover);
    text-decoration: none;
}

section.color_alternate a {
    color: var(--color-alt-content-link);
}

.no-touch section.color_alternate a:hover {
    color: var(--color-alt-content-link-hover);
}

.canvas {
    margin: 0 auto;
    width: 100%;
    flex-grow: 1;
    background: var(--color-content-bg);
    color: var(--color-content-text);
}

.canvas.type_boxed {
    max-width: 880px;
    overflow: hidden;
}

section {
    position: relative;
    margin: 0 auto;
    background-color: var(--color-content-bg);
}

section.width_full {
    width: 100%;
}

section>.section_inner {
    position: relative;
    z-index: 8;
    margin: 0 auto;
    width: 100%;
    max-width: var(--site-content-width, 1200px);
}

section.color_alternate {
    background-color: var(--color-alt-content-bg);
    color: var(--color-alt-content-text);
}

.section_bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-position: top center;
    background-size: initial;
    background-repeat: no-repeat;
}

.section_overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/*** LAYOUT */

:root {
    --page-layout-container-padding: 20px;
}

@media (min-width: 768px) {
     :root {
        --page-layout-container-padding: 30px;
    }
}

@media (min-width: 1024px) {
     :root {
        --page-layout-container-padding: 40px;
    }
}

@media (min-width: 1280px) {
     :root {
        --page-layout-container-padding: 50px;
    }
}

section:not(.width_full) {
    padding-left: var(--page-layout-container-padding) !important;
    padding-right: var(--page-layout-container-padding) !important;
}

section {
    padding-top: 60px;
    padding-bottom: 60px;
}


/*** TYPOGRAPHY */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-content-heading);
    margin-top: 0;
}

.color_alternate h1,
.color_alternate h2,
.color_alternate h3,
.color_alternate h4,
.color_alternate h5,
.color_alternate h6 {
    color: var(--color-alt-content-heading);
    margin-top: 0;
}

h1:last-child,
h2:last-child,
h3:last-child,
h4:last-child,
h5:last-child,
h6:last-child {
    margin-bottom: 0;
}

html {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.625;
}

h1 {
    font-family: var(--font-h1);
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.8em;
}

h2 {
    font-family: var(--font-h2);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.735em;
}

h3 {
    font-family: var(--font-h3);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 0.625em;
}


/* h4 {
    font-family: var(--font-h4);
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: 0.6em;
}

h5 {
    font-family: var(--font-h5);
    font-weight: 700;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: 0.6em;
}

h6 {
    font-family: var(--font-h6);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: 0;
    margin-bottom: 0.6em;
} */

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
    h1 {
        font-size: 72px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 22px;
    }
}

.tagline {
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    color: var(--color-content-faded);
}

.tagline:not(:last-child) {
    margin-bottom: 15px;
}

p {
    margin: 0;
}

p:not(:last-child) {
    margin-bottom: 30px;
}

.align_center {
    text-align: center;
}

@media (max-width: 767px) {
    .align_center-mobile {
        text-align: center;
    }
}

.text_medium {
    font-size: 18px;
}

.color_alternate .text_medium {
    color: var(--color-alt-content-heading);
}


/***** SECTIONS */

section.hero {
    padding-top: 210px;
    padding-bottom: 0;
}

section.hero .logo {
    margin-bottom: 30px;
}

.wrapper_section_title {
    width: 100%;
    max-width: 440px;
}

.align_center .wrapper_section_title,
.wrapper_section_title.align_center {
    margin-left: auto;
    margin-right: auto;
}

.wrapper_section_title:not(:last-child) {
    margin-bottom: 45px;
}

.wrapper_section_title h2 {
    color: var(--color-content-primary);
}

.color_alternate .wrapper_section_title h2 {
    color: var(--color-alt-content-heading);
}


/***** ROWS */

.section_row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.section_row:not(:last-child) {
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .section_row {
        flex-direction: row;
        align-items: center;
    }
    .section_row:nth-child(2n) {
        flex-direction: row-reverse;
    }
    .section_row:not(:last-child) {
        margin-bottom: 75px;
    }
    .section_row>.wrapper_text {
        width: 60%;
        flex-shrink: 0;
    }
}


/***** WRAPPERS */

.wrapper_text:not(:last-child) {
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .wrapper_text:not(:last-child) {
        margin-bottom: 60px;
    }
}

.section_row .wrapper_text:not(:last-child) {
    margin-bottom: 0;
}


/***** FOOTER */

footer {
    padding-bottom: 60px;
    background: var(--color-content-bg-alt);
}

footer>section {
    background: var(--color-content-bg-alt);
}

footer section.footer_image {
    height: 175px;
    padding-top: 0;
    padding-bottom: 0;
}

footer section.footer_image>.section_bg {
    z-index: 2;
}

footer section.footer_image>.section_overlay {
    background: var(--color-content-bg);
    bottom: calc(100% - 75px);
    z-index: 1;
}

footer section.footer_image>.section_bg {
    background-size: contain;
}

@media (min-width: 768px) {
    footer section.footer_image {
        height: 400px;
    }
    footer section.footer_image>.section_bg {
        background-size: initial;
    }
    footer section.footer_image>.section_overlay {
        bottom: calc(100% - 170px);
    }
}

footer .footer_content .text_medium:not(:last-child) {
    margin-bottom: 45px;
}

footer .footer_content h2:not(:last-child) {
    margin-bottom: 15px;
}


/***** ornaments */

@media (min-width: 768px) {
    section.hero::before {
        content: url('/assets/imgs/ornament.svg');
        display: block;
        position: absolute;
        z-index: 5;
        top: 0;
        right: 0;
        transform: translate(0, 205px);
        user-select: none;
        pointer-events: none;
    }
    section.hero::after {
        content: url('/assets/imgs/ornament.svg');
        display: block;
        position: absolute;
        z-index: 5;
        bottom: 0;
        right: 0;
        transform: translate(40%, 40%);
        user-select: none;
        pointer-events: none;
    }
    section.hero+section::after {
        content: url('/assets/imgs/ornament.svg');
        display: block;
        position: absolute;
        z-index: 5;
        bottom: 0;
        right: 0;
        transform: translate(40%, -75px);
        user-select: none;
        pointer-events: none;
    }
    section.color_alternate::before {
        content: url('/assets/imgs/ornament_white.svg');
        display: block;
        position: absolute;
        z-index: 5;
        top: 0;
        left: 0;
        transform: translate(-50%, 30px);
        user-select: none;
        pointer-events: none;
    }
    section.color_alternate::after {
        content: url('/assets/imgs/ornament_white.svg');
        display: block;
        position: absolute;
        z-index: 5;
        bottom: 0;
        right: 0;
        transform: translate(50%, -20px);
        user-select: none;
        pointer-events: none;
    }
    footer section.footer_image::after {
        content: url('/assets/imgs/ornament_white.svg');
        display: block;
        position: absolute;
        z-index: 5;
        top: 0;
        left: 0;
        transform: translate(-40%, 300px);
        user-select: none;
        pointer-events: none;
    }
    footer section.footer_content::after {
        content: url('/assets/imgs/ornament_white.svg');
        display: block;
        position: absolute;
        z-index: 5;
        bottom: 0;
        right: 0;
        transform: translate(-40px, 120px);
        user-select: none;
        pointer-events: none;
    }
}