:root {
    --epsilon-blue: #0B164D;
    --epsilon-red: #E7014E;
    --text: #090909;
    --white: #ffffff;
    --container: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: avenir-next-lt-pro, sans-serif;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container {
    width: min(var(--container), calc(100% - 150px));
    margin: 0 auto;
}
.mobile-only { display: none!important; }
.strong { font-weight: 700; }

.site-header {
    height: 107px;
    background: var(--epsilon-blue);
}
.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand img, .footer-brand img {
    width: 166px;
    filter: brightness(0) invert(1);
}
.header-cta {
    min-width: 152px;
    height: 42px;
    padding: 0 26px;
    border: 2px solid var(--white);
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    transition: .2s ease;
}
.header-cta:hover { background: var(--white); color: var(--epsilon-blue); }

.hero { padding: 66px 0 70px; }
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 480px;
    gap: 70px;
    align-items: start;
}
.hero-copy { padding-top: 4px; max-width: 660px; }
.eyebrow {
    margin: 0 0 48px;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 2.5px;
    font-weight: 500;
}
h1, h2 { margin-top: 0; font-weight: 700; }
h1 {
    max-width: 650px;
    margin-bottom: 25px;
    font-size: 46px;
    line-height: 1.17;
    letter-spacing: -.6px;
}
.hero-copy > p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 0 25px;
    font-size: 20px;
    line-height: 1.38;
}
.hero-copy > .strong { font-size: 20px; line-height: 1.35; }
.hero-secondary { margin-top: 66px; }
.hero-secondary h2 {
    margin-bottom: 18px;
    font-size: 29px;
    line-height: 1.2;
}
.hero-secondary p {
    max-width: 620px;
    margin: 0 0 38px;
    font-size: 20px;
    line-height: 1.38;
}
.cta-row { display: flex; align-items: center; gap: 18px; }
.cta-row span { font-size: 15px; white-space: nowrap; }
.button-primary {
    min-height: 46px;
    padding: 12px 30px;
    border-radius: 28px;
    background: var(--epsilon-blue);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1.1;
    font-weight: 700;
    transition: transform .2s ease, opacity .2s ease;
}
.button-primary:hover { transform: translateY(-1px); opacity: .94; }
.form-card {
    width: 480px;
    height: 925px;
    overflow: hidden;
    border-radius: 19px;
    background: #d8d8d8;
}
.form-card iframe { display: block; border: 0; }

.scale-section { background: var(--epsilon-red); color: var(--white); }
.scale-grid {
    min-height: 520px;
    display: grid;
    grid-template-columns: 475px minmax(0, 1fr);
    gap: 75px;
    align-items: center;
    padding: 94px 0;
}
.scale-image-wrap { width: 475px; align-self: end; }
.scale-image-wrap img { width: 475px; height: 520px; object-fit: contain; object-position: bottom; }
.scale-copy { max-width: 650px; padding: 52px 0; }
.scale-copy h2 {
    max-width: 630px;
    margin-bottom: 28px;
    font-size: 46px;
    line-height: 1.14;
}
.scale-copy p {
    margin: 0 0 27px;
    font-size: 20px;
    line-height: 1.35;
}

.ownership-section { padding: 74px 0 75px; }
.ownership-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 386px;
    gap: 92px;
    align-items: center;
}
.ownership-copy { max-width: 710px; }
.ownership-copy h2 {
    margin-bottom: 27px;
    font-size: 43px;
    line-height: 1.15;
}
.ownership-copy p {
    margin: 0 0 25px;
    font-size: 20px;
    line-height: 1.35;
}
.ownership-copy .button-primary { margin-top: 13px; min-width: 320px; }
.ownership-image img {
    width: 386px;
    height: 518px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 18px;
}

.site-footer {
    padding: 58px 0 30px;
    background: var(--epsilon-blue);
    color: var(--white);
}
.footer-main { display: flex; align-items: center; justify-content: space-between; }
.footer-brand img { width: 205px; }
.footer-actions { display: flex; align-items: center; gap: 40px; }
.social-links { display: flex; gap: 18px; }
.social {
    width: 45px;
    height: 45px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    font-weight: 500;
}
.social-in { font-size: 19px; font-weight: 700; }
.footer-contact {
    min-width: 157px;
    height: 47px;
    padding: 0 25px;
    border-radius: 25px;
    background: var(--white);
    color: var(--epsilon-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: 2px solid var(--white);
}
.footer-contact:hover {
	background: transparent;
	color: var(--white);
	border-color: var(--white);
}
.footer-legal {
    margin-top: 58px;
    font-size: 12px;
    line-height: 1.6;
    text-align:center;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
    background-color: #ffffff;
    color: #0B164D;
}

@media (min-width: 1430px) {
    .container { width: 1140px; }
}

@media (max-width: 1100px) {
    .container { width: calc(100% - 80px); }
    .hero-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 42px; }
    .form-card { width: 420px; }
    .scale-grid { grid-template-columns: 400px minmax(0, 1fr); gap: 45px; }
    .scale-image-wrap, .scale-image-wrap img { width: 400px; }
    .ownership-grid { grid-template-columns: minmax(0, 1fr) 386px; gap: 55px; }
}

@media (max-width: 767px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: inline-flex!important; }
    .container { width: calc(100% - 40px); }
    .site-header { height: 84px; }
    .brand img { width: 130px; }
    .header-cta { min-width: 122px; height: 38px; padding: 0 18px; font-size: 14px; }

    .hero { padding: 46px 0 55px; }
    .hero-grid { display: block; }
    .hero-copy { max-width: none; padding: 0; }
    .eyebrow { margin-bottom: 31px; font-size: 15px; letter-spacing: 1.8px; }
    h1 { margin-bottom: 23px; font-size: 36px; line-height: 1.13; }
    .hero-copy > p:not(.eyebrow), .hero-secondary p { font-size: 16px; line-height: 1.42; }
    .hero-secondary { margin-top: 48px; }
    .hero-secondary h2 { font-size: 27px; }
    .hero-secondary p { margin-bottom: 28px; }
    .cta-row { display: block; }
    .cta-row .button-primary { width: 100%; }
    .cta-row span { display: block; margin-top: 12px; text-align: center; font-size: 14px; }
    .form-card { display: none; }

    .scale-grid { min-height: 0; display: flex; flex-direction: column; gap: 0; padding: 44px 0;}
    .scale-copy { order: 1; max-width: none; padding: 0 0 20px; }
    .scale-copy h2 { font-size: 36px; line-height: 1.14; }
    .scale-copy p { font-size: 16px; line-height: 1.42; }
    .scale-image-wrap { order: 2; width: 100%; align-self: auto; }
    .scale-image-wrap img { width: 100%; height: auto; max-height: 520px; object-fit: contain; object-position: bottom center; }

    .ownership-section { padding: 55px 0 62px; }
    .ownership-grid { display: block; }
    .ownership-copy { max-width: none; }
    .ownership-copy h2 { font-size: 36px; }
    .ownership-copy p { font-size: 16px; line-height: 1.42; }
    .ownership-copy .button-primary { width: 100%; min-width: 0; }

    .site-footer { padding: 45px 0 28px; }
    .footer-main { display: block; }
    .footer-brand img { width: 170px; }
    .footer-actions { margin-top: 38px; justify-content: space-between; gap: 20px; }
    .social-links { gap: 11px; }
    .social { width: 38px; height: 38px; font-size: 21px; }
    .footer-contact { min-width: 125px; height: 42px; }
    .footer-legal { margin-top: 38px; font-size: 12px; }
}

@media (max-width: 430px) {
    .container { width: calc(100% - 40px); }
    .footer-main{
        text-align: center;
    }
    h1, .scale-copy h2, .ownership-copy h2 { font-size: 26px; }
    .hero-secondary h2{font-size: 26px;}
    .footer-actions { align-items: center; flex-direction: column; }
    .footer-brand img {
        display: inline-block;
    }
    .site-footer{
        padding: 30px 0;
    }
}
