
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --color-text: #040C1D;
    --color-brand: #1d4f9c;
    --color-accent: #1ECAD3;
    --color-hero-bg: #c6e6ec;
    --color-faq: #2f6fcb;
    --color-blue: #192BC2;

    /* Font size */
    --text-main: 18px;
    --text-small: 16px;
    --text-large: 20px;
    --h6: 18px;
    --h5: 22px;
    --h4: 26px;
    --h3: 32px;
    --h2: 48px;
    --h1: 48px;
    --display: 195px;

    /* Width */
    --width-full: 900px;

    /* Section spacing */
    --section-none: 0;
    --section-small: 80px;
    --section-main: 112px;
    --section-large: 160px;
    --section-page-top: 224px;

    /* Spacing scale */
    --space-0: 0;
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 32px;
    --space-6: 40px;
    --space-7: 48px;
    --space-8: 64px;

    /* Layout */
    --layout-margin: 48px;
    --layout-gutter: 32px;

    /* Border radius */
    --radius-small: 8px;
    --radius-main: 16px;
    --radius-round: 99999px;

    /* Border width */
    --border-main: 1.5px;

    /* Bootstrap overrides */
    --bs-body-font-family: 'Inter', Arial, sans-serif;
    --bs-body-font-size: var(--text-main);
    --bs-body-color: #040C1D;
    --bs-body-color-rgb: 26, 26, 26;
    --bs-border-width: var(--border-main);
    --bs-border-radius-sm: var(--radius-small);
    --bs-border-radius-xl: var(--radius-main);
    --bs-border-radius-pill: var(--radius-round);
}

/* ========== Base ========== */
html {
    scroll-padding-top: 90px;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2 {
    letter-spacing: -0.02em;
}

h1,
.h1 {
    font-size: var(--h1);
}

h2,
.h2 {
    font-size: var(--h2);
}

h3,
.h3 {
    font-size: var(--h3);
}

h4,
.h4 {
    font-size: var(--h4);
}

h5,
.h5 {
    font-size: var(--h5);
}

h6,
.h6 {
    font-size: var(--h6);
}

.fs-1 {
    font-size: var(--h1) !important;
}

.fs-2 {
    font-size: var(--h2) !important;
}

.fs-3 {
    font-size: var(--h3) !important;
}

.fs-4 {
    font-size: var(--h4) !important;
}

.fs-5 {
    font-size: var(--h5) !important;
}

.fs-6 {
    font-size: var(--h6) !important;
}

.display {
    font-size: var(--display);
    line-height: 1;
}

.text-main {
    font-size: var(--text-main);
}

small,
.small,
.text-small {
    font-size: var(--text-small);
}

.lead,
.text-large {
    font-size: var(--text-large);
}

.container {
    max-width: 1850px;
    padding-left: var(--layout-margin);
    padding-right: var(--layout-margin);
}

.section {
    padding-top: var(--section-main);
    padding-bottom: var(--section-main);
}

.brand img {
    width: 130px;
    height: auto;
}

.feature-image {
    height: 530px;
    width: 416px;
    border-radius: 32px;
}

.split-text-inner {
    max-width: 650px;
    padding: 64px clamp(48px, 7vw, 104px);
}

.bg-accent {
    background-color: var(--color-accent);
}

.bg-dark-navy {
    background-color: var(--color-text);
}

.split-media {
    background: #dbe9f0;
    height: 100vh;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        filter: blur(1px);
        transform: perspective(1200px) rotateX(-12deg) translateY(-8px);
        transform-origin: top center;
    }
    to {
        opacity: 1;
        filter: blur(0);
        transform: perspective(1200px) rotateX(0deg) translateY(0);
        transform-origin: top center;
    }
}

.reveal-fade-in {
    animation: fadeIn linear both;
    animation-timeline: view();
    animation-range: entry 15% cover 35%;
}

@media (min-width: 768px) {
    .split-text-inner {
        max-width: calc(794px - 64px);
        margin-left: auto;
        padding-left: 112px;
        padding-right: 112px;
    }
}

@media (min-width: 768px) and (max-width: 1173.98px) {
    .split-text-inner {
        padding-left: clamp(48px, calc(23.44vw - 163px), 112px);
        padding-right: clamp(48px, calc(23.44vw - 163px), 112px);
    }
}

/* ========== Mobile ========== */
@media (max-width: 767.98px) {
    :root {
        /* Font size */
        --text-large: 18px;
        --h1: 40px;
        --h2: 40px;
        --h4: 28px;
        --h3: 36px;
        --display: 64px;

        /* Section spacing */
        --section-small: 48px;
        --section-main: 64px;
        --section-large: 88px;
        --section-page-top: 112px;

        /* Spacing scale */
        --space-1: 4px;
        --space-2: 8px;
        --space-3: 12px;
        --space-4: 16px;
        --space-5: 24px;
        --space-6: 28px;
        --space-7: 36px;
        --space-8: 40px;

        /* Layout */
        --layout-margin: 20px;
        --layout-gutter: 20px;
    }

    .split-text-inner {
        padding: 56px var(--layout-margin);
    }

    .brand img {
        width: 96px;
    }

    .site-footer .brand img {
        width: 140px;
    }

    .feature-image {
        height: auto;
        aspect-ratio: 13 / 14;
        border-radius: 24px;
    }

    .split-media {
        height: auto;
        aspect-ratio: 5 / 7;
    }
}
