@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: block;
    font-weight: 400;
    src:
        local('Poppins Regular'),
        url('fonts/poppins-latin-400-normal.woff2') format('woff2'),
        url('fonts/poppins-latin-400-normal.woff') format('woff');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-display: block;
    font-weight: 600;
    src:
        local('Poppins SemiBold'),
        url('fonts/poppins-latin-600-normal.woff2') format('woff2'),
        url('fonts/poppins-latin-600-normal.woff') format('woff');
}

:root {
    --lambda-bright-blue: #72c3fc;
    --lambda-sky-blue: #0d47a1;
    --lambda-dark-blue: #0a3579;
    --lambda-gray-1: #707070;
    --lambda-gray-2: #939498;
    --lambda-gray-4: #f1f3f5;
    --lambda-site-bg: #f1f3f5;
    --site-max-width: 1800px;
    --site-pad: 1rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #000;
    background: var(--lambda-site-bg);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5625rem;
    letter-spacing: 0.015rem;
}

a,
button {
    outline-color: #ea580c;
    outline-offset: 4px;
}

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

p,
h1,
h2 {
    margin: 0;
}

p + p {
    margin-top: 1rem;
}

.site-shell {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--lambda-site-bg);
    background-image: url('images/bg.svg');
    background-repeat: repeat-y;
    background-position: center top;
    background-size: 100% auto;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    max-width: var(--site-max-width);
    min-height: 100vh;
    background: #fff;
}

.site-header,
.site-main,
.site-footer {
    padding-right: var(--site-pad);
    padding-left: var(--site-pad);
}

.site-header {
    display: grid;
    grid-template-columns: minmax(7.5rem, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 1.5rem;
    height: 92px;
    padding-top: 1.25rem;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    background: #fff;
}

.brand {
    display: inline-flex;
    min-width: 0;
}

.brand-logo {
    display: block;
    width: min(100%, 245px);
    height: auto;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    height: 100%;
    color: #04579c;
    transition: opacity 180ms ease;
}

.header-cta:hover {
    opacity: 0.75;
}

.begasoft-logo {
    display: block;
    width: 100%;
    max-width: calc(72px * 391 / 140);
    height: auto;
    fill: currentColor;
}

.begasoft-subline {
    fill: #7c8184;
}

.section-header {
    margin-top: 2rem;
}

.section-first {
    margin-top: 3.75rem;
}

.section {
    margin-top: 3.75rem;
}

.section-bottom {
    margin-bottom: 5rem;
}

.hero h1 {
    max-width: 1050px;
    margin-top: 1.5rem;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: 3.0625rem;
    letter-spacing: 0.0225rem;
}

.eyebrow,
.section-number {
    color: var(--lambda-sky-blue);
    font-size: 1.1875rem;
    font-weight: 600;
    line-height: 1.875rem;
    letter-spacing: 0.0175rem;
}

.hero-lead {
    max-width: 1080px;
    margin-top: 1.5rem;
    font-size: 1.1875rem;
    line-height: 2rem;
    letter-spacing: 0.0175rem;
}

.intro {
    max-width: 1080px;
    margin-top: 1.5rem;
    font-size: 1.1875rem;
    line-height: 2rem;
    letter-spacing: 0.0175rem;
}

.letter {
    display: grid;
    gap: 2rem;
}

.letter-marker {
    min-height: 260px;
    background-color: var(--lambda-bright-blue);
    background-image: url('images/lambda-logo.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: min(68%, 300px);
}

.content-section,
.closing-section {
    display: grid;
    gap: 1.5rem;
}

.section-title-wrap {
    max-width: 760px;
}

.section-title-wrap h2 {
    margin-top: 0.75rem;
    font-size: 1.5625rem;
    font-weight: 600;
    line-height: 2.25rem;
    letter-spacing: 0.015rem;
}

.copy {
    max-width: 860px;
}

.copy a:not(.button) {
    color: var(--lambda-sky-blue);
    transition: color 180ms ease;
}

.copy a:not(.button):hover {
    color: var(--lambda-dark-blue);
}

.copy-wide {
    max-width: 1040px;
}

.feature-panel {
    display: grid;
    gap: 1.5rem;
    background: var(--lambda-bright-blue);
    padding: 2rem 1rem;
}

.feature-panel .section-number {
    color: var(--lambda-dark-blue);
}

.button {
    display: inline-block;
    margin-top: 1.5rem;
    border: 3px solid var(--lambda-sky-blue);
    padding: 0.75rem 1.5rem;
    color: #fff;
    background: var(--lambda-sky-blue);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4375rem;
    letter-spacing: 0.015rem;
    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.button:hover {
    color: var(--lambda-sky-blue);
    background: #fff;
}

.signature {
    margin-top: 1.5rem;
    font-weight: 600;
}

.site-footer {
    flex-shrink: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: #fff;
    background: #000;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5625rem;
    letter-spacing: 0.01rem;
}

.footer-grid {
    display: grid;
    gap: 2.5rem 1rem;
}

.footer-title {
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-contact {
    justify-self: end;
    text-align: right;
}

.site-footer a {
    display: block;
    margin-bottom: 1.5rem;
    color: var(--lambda-bright-blue);
    transition: color 180ms ease;
}

.site-footer a:last-child {
    margin-bottom: 0;
}

.site-footer a:hover {
    color: #fff;
}

.site-footer p {
    margin: 0;
    font-weight: 400;
}

@media (min-width: 450px) {
    :root {
        --site-pad: 2rem;
    }

    .site-header {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding-right: var(--site-pad);
        padding-left: var(--site-pad);
    }

    .brand-logo {
        width: min(36vw, 245px);
    }

    .header-cta {
        flex: 0 0 auto;
    }

    .begasoft-logo {
        width: auto;
        max-width: none;
        height: 100%;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 589px) {
    .site-header {
        --mobile-logo-width: min(78vw, 17rem);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1.5rem;
        height: auto;
        min-height: 210px;
        padding-bottom: 1.25rem;
        padding-right: var(--site-pad);
        padding-left: var(--site-pad);
    }

    .brand,
    .header-cta {
        width: var(--mobile-logo-width);
    }

    .brand-logo {
        width: 100%;
    }

    .header-cta {
        display: inline-flex;
        justify-content: flex-start;
        height: auto;
    }

    .begasoft-logo {
        width: 100%;
        max-width: none;
        height: auto;
    }
}

@media (min-width: 768px) {
    :root {
        --site-pad: 3.75rem;
    }

    .site-header {
        height: 116px;
    }

    .page-wrapper {
        width: 91.666667%;
    }

    .brand-logo {
        width: min(50vw, 245px);
    }

    .letter,
    .content-section,
    .closing-section,
    .feature-panel {
        grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
        gap: 2rem;
    }

    .letter-marker {
        min-height: 100%;
    }

    .feature-panel {
        padding: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero h1,
    .hero-lead,
    .intro {
        width: 75%;
    }

    .hero h1 {
        font-size: 3rem;
        line-height: 4.0625rem;
        letter-spacing: 0.03rem;
    }
}

@media (min-width: 1180px) {
    :root {
        --site-pad: 5rem;
    }

    .site-header {
        height: 112px;
        padding-top: 1.5rem;
    }

    .section-header {
        margin-top: 2.5rem;
    }

    .section {
        margin-top: 7.5rem;
    }

    .section-bottom {
        margin-bottom: 8.75rem;
    }

    .letter,
    .content-section,
    .closing-section,
    .feature-panel {
        grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.4fr);
        gap: 3.75rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1400px) {
    .page-wrapper {
        width: 83.333333%;
    }
}

@media (min-width: 1600px) {
    body {
        font-size: 1.4375rem;
        line-height: 2.25rem;
        letter-spacing: 0.0213rem;
    }

    .site-header {
        height: 10rem;
    }

    .brand-logo {
        width: 330px;
    }

    .site-footer {
        font-size: 1.4375rem;
        line-height: 2.25rem;
        letter-spacing: 0.0144rem;
    }

    .hero h1 {
        width: 66.666667%;
        font-size: 4rem;
        line-height: 5.375rem;
        letter-spacing: 0.04rem;
    }

    .hero-lead,
    .intro {
        width: 66.666667%;
        font-size: 1.75rem;
        line-height: 2.75rem;
        letter-spacing: 0.0262rem;
    }

    .section-title-wrap h2 {
        font-size: 2.25rem;
        line-height: 3.0625rem;
        letter-spacing: 0.0262rem;
    }

    .eyebrow,
    .section-number,
    .button {
        font-size: 1.75rem;
        line-height: 2.625rem;
        letter-spacing: 0.0262rem;
    }

    .button {
        border-width: 4px;
        padding: 1rem 2rem;
    }
}

@media (max-width: 767px) {
    .feature-panel {
        margin-right: calc(var(--site-pad) * -1);
        margin-left: calc(var(--site-pad) * -1);
        padding-right: var(--site-pad);
        padding-left: var(--site-pad);
    }
}
