/* Expanded homepage workflows. Logical spacing supports translated RTL pages. */
.home-section {
    padding: clamp(3.5rem, 7vw, 6rem) 5%;
    color: var(--col-darkfore2);
    border-top: 1px solid rgba(126, 185, 232, .13);
}
.home-section-tint { background: #131e30; }
.home-wrap { max-width: 1200px; margin-inline: auto; }
.home-section h2 {
    color: var(--col-darkfore1);
    font-family: var(--sofiasans);
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 2rem;
    max-width: 26ch;
    text-align: start;
}
.home-section h3 {
    color: var(--col-darkfore1);
    font-family: var(--sofiasans);
    font-size: 1.45rem;
    line-height: 1.3;
    margin-bottom: .8rem;
}
.home-section p { line-height: 1.75; margin-bottom: 1rem; }
.home-section a { color: var(--col-lightaccent2); text-underline-offset: .22em; }
.home-section a:hover { color: #fff; }
.home-section a:focus-visible { outline: 2px solid var(--col-lightaccent2); outline-offset: 5px; }
.home-section h3 a { color: inherit; text-decoration: none; }
.home-section h3 a:hover { text-decoration: underline; }
.home-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.home-split h3 { margin-top: 1.8rem; }
.home-media { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: #0b1220; border: 1px solid #334155; }
.home-link { display: inline-block; font-weight: 600; margin-top: .5rem; }
.home-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; }
.home-press-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 2.5rem; background: #182538; border: 1px solid #334155; border-radius: 16px; overflow: hidden; }
.home-press-feature img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.home-press-feature > div { padding: 1.5rem; padding-inline-start: 0; }
.home-press-feature h3 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.home-section .home-eyebrow { color: var(--col-lightaccent2); font-size: .85rem; font-weight: 600; }
.home-eyebrow span { margin-inline: .4rem; }
.home-press-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2rem; }
.home-press-more article { border-bottom: 1px solid #334155; padding-bottom: 1rem; }
@media (max-width: 900px) {
    .home-split, .home-press-feature { grid-template-columns: minmax(0, 1fr); }
    .home-media { max-height: 480px; }
    .home-press-feature > div { padding: 0 1.5rem 1.5rem; }
}
@media (max-width: 640px) {
    .home-section-heading { flex-wrap: wrap; margin-bottom: 1.5rem; gap: .25rem; }
    .home-section-heading h2 { margin-bottom: 0; }
    .home-section { overflow-wrap: anywhere; }
}

.home-engine-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: 1.5rem 3rem; }
.home-engine-link { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; text-decoration: none; font-family: var(--sofiasans); font-size: 1.5rem; font-weight: 650; }
.home-section .home-engine-link { color: var(--col-darkfore1); }
.home-engine-link img { filter: invert(1); width: 52px; height: 52px; object-fit: contain; }
.home-engine-arrow { color: var(--col-lightaccent2); font-size: 1rem; }
.home-engine-link:hover span:not(.home-engine-arrow) { text-decoration: underline; text-underline-offset: .25em; }
.home-agent-row { display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding-top: 2rem; border-top: 1px solid #334155; }
.home-agent-row p { max-width: 50ch; margin: 0; }
.home-agent-links { display: flex; flex-wrap: wrap; gap: clamp(.5rem, 2vw, 1rem); flex-shrink: 0; }
.home-agent-links a { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 12px; transition: background-color .15s; }
.home-agent-links a:hover, .home-agent-links a:focus-visible { background: #243247; }
.home-agent-links img { display: block; width: 40px; height: 40px; filter: brightness(0) invert(1); }
@media (max-width: 1100px) {
    .home-engine-link { flex-direction: column; align-items: flex-start; gap: .75rem; position: relative; }
    .home-engine-arrow { position: absolute; inset-inline-end: 1rem; top: 1rem; }
    .home-agent-row { align-items: flex-start; }
    .home-agent-links { flex-shrink: 1; }
}
@media (max-width: 640px) {
    .home-agent-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .home-engine-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 2rem; }
    .home-engine-link { font-size: 1.3rem; }
    .home-press-more { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

@media (max-width: 900px) {
    .home-agent-row { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

.home-agent-install { flex-shrink: 0; max-width: 100%; }
.home-agent-row .home-agent-label { margin: 0 0 .5rem; font-size: .9rem; color: var(--col-darkfore3); }
