/* Existing CSS */
:before,
:after {
    box-sizing: border-box;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
    margin: 0;
    padding: 0;
}
ul,
ol {
    list-style: none;
}
body {
    color: #545454;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #fff;
    line-height: 1.5;
}
a {
    color: inherit;
    text-decoration: none;
}
img,
picture,
video,
canvas {
    max-width: 100%;
    display: block;
}
input,
button,
textarea,
select {
    font: inherit;
    margin: 0;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}
html:focus-within {
    scroll-behavior: smooth;
}
body,
html {
    height: 100%;
}
@font-face {
    font-family: Cooper Hewitt Medium;
    src: url(CooperHewitt-Medium.bec9aabb.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
}
html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}
body {
    box-sizing: border-box;
    color: #1c1c1c;
    background: url(bg.a171c59e.svg) 50% / cover;
    margin: 0;
    font-family: "Source Sans 3", serif;
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
}
section {
    width: 100%;
}
.container {
    max-width: 154.4rem;
    margin: 0 auto;
    padding: 0 2rem;
}
header {
    z-index: 10;
    padding-top: 7.4rem;
    position: relative;
}
header img {
    margin: 0 0 0 auto;
}
.top {
    padding: 5rem 0 7rem;
}
.top__content {
    justify-content: space-between;
    display: flex;
}
@media (width<=1400px) {
    .top__content {
        flex-direction: column;
    }
}
.top__content--text {
    margin-bottom: 2rem;
}
@media (width>=1400px) {
    .top__content--text {
        max-width: 50rem;
        margin: 0;
    }
}
.top__content--text p {
    border-left: 5px solid #0849ff;
    margin-top: 5.6rem;
    padding-left: 1.6rem;
    font-size: 1.8rem;
}

/* Modified CSS for .top__content--images */
.top__content--images {
    display: grid; /* Changed from flex */
    gap: 3rem;
    grid-template-columns: 1fr; /* Default to single column for small screens */
}

@media (width>=800px) {
    .top__content--images {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for wider screens */
    }
}

.top__content--images img {
    object-fit: cover;
    border-radius: 2rem;
    width: 100%; /* Ensure images take full width of their grid cell */
    height: 30rem; /* Consistent height for all images */
    /* Removed max-width and margin auto from here as grid handles sizing */
}

/* Removed the following specific image height and alignment rules for first-child and last-child */
/*
.top__content--images img:first-child{height:46rem}
@media (width>=1400px){.top__content--images img:first-child{align-self:flex-start;margin-top:-11rem}}
.top__content--images img:last-child{height:33rem}
@media (width>=1400px){.top__content--images img:last-child{align-self:flex-end;margin-bottom:-4.5rem}}
*/

/* Remaining CSS */
.chat {
    padding: 5rem 0;
}
.chat__content {
    background-color: #fff;
    border-radius: 4rem;
    width: 100%;
    padding: 2rem;
}
@media (width>=1400px) {
    .chat__content {
        padding: 4.8rem;
    }
}
.chat__content--header {
    text-transform: uppercase;
    color: #0849ff;
    padding-bottom: 2.8rem;
    font-family: Cooper Hewitt Medium;
    font-weight: 700;
}
@media (width>=800px) {
    .chat__content--header {
        justify-content: space-between;
        align-items: center;
        display: flex;
    }
}
.chat__content--header h2 {
    font-size: 2.9rem;
}
.chat__content--header h3 {
    font-size: 2.2rem;
}
.chat iframe {
    border: none;
    border-radius: 4rem;
    width: 100%;
    height: 100%;
    min-height: 74rem;
}
.partners {
    padding: 5rem 0;
}
.partners .container {
    flex-wrap: wrap;
    align-items: center;
    gap: 5.8rem;
    display: flex;
}
.partners .container h3 {
    border-left: 5px solid #0849ff;
    padding-left: 1.6rem;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 3rem;
}
.partners .container img {
    max-width: 30rem;
}
footer {
    color: #fff;
    background-color: #0849ff;
    margin-top: 5rem;
    padding: 1.6rem 0;
}
footer p {
    font-size: 1.6rem;
}
footer p.copyright {
    font-size: 1.4rem;
}
footer .container {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    display: flex;
}
