.agent-page-body {
    --agent-ink: #0f211f;
    --agent-copy: #313333;
    --agent-mint: #e0f2ed;
    --agent-surface: #f2f5f0;
    --agent-warm: #faf7f0;
    color: var(--agent-copy);
    background: #fff;
    font-family: Montserrat, sans-serif;
}

.agent-page-shell {
    width: min(1216px, calc(100% - 96px));
    margin-inline: auto;
}

.agent-page-body h1,
.agent-page-body h2,
.agent-page-body h3,
.agent-page-body h4 {
    color: inherit;
    letter-spacing: normal;
}

.agent-hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    color: #fff;
    background-image:
        linear-gradient(rgba(15, 33, 31, .76), rgba(15, 33, 31, .76)),
        var(--agent-hero-image);
    background-position: center;
    background-size: cover;
}

.agent-hero__layout {
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 720px) 360px;
    align-items: center;
    justify-content: space-between;
    gap: 72px;
    padding-block: 72px;
}

.agent-hero__copy {
    min-width: 0;
}

.agent-hero h1 {
    max-width: 720px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(40px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.17;
    letter-spacing: -.025em;
}

.agent-hero__subtitle {
    max-width: 720px;
    margin: 0 0 24px;
    color: #fff;
    font-size: 18px;
    line-height: 1.62;
}

.agent-hero__body {
    max-width: 720px;
    color: var(--agent-mint);
    font-size: 15px;
    line-height: 1.66;
}

.agent-hero__body p {
    margin: 0 0 14px;
}

.agent-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.agent-hero__actions .button {
    min-height: 52px;
    padding-inline: 22px;
}

.agent-button--light {
    color: var(--agent-ink);
    background: #fff;
}

.agent-hero__trust {
    margin: 24px 0 0;
    color: var(--agent-mint);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.55;
}

.agent-portrait {
    width: 360px;
    height: 360px;
    margin: 0;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, .75);
    border-radius: 50%;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.agent-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-capabilities {
    padding: 82px 0 210px;
    background: var(--agent-surface);
}

.agent-capabilities h2,
.agent-applications h2,
.agent-faq h2,
.agent-other-members h2 {
    margin: 0 0 48px;
    color: var(--agent-ink);
    font-size: clamp(34px, 3.15vw, 42px);
    font-weight: 700;
    line-height: 1.2;
}

.agent-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 50px 24px;
}

.agent-capability-card {
    min-height: 650px;
    overflow: hidden;
    border: 1px solid #e0e6e0;
    border-radius: 14px;
    background: #fff;
}

.agent-capability-card>img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.agent-capability-card__copy {
    padding: 31px 32px 38px;
    color: var(--agent-copy);
    font-size: 15px;
    line-height: 1.66;
}

.agent-capability-card h3 {
    margin: 0 0 26px;
    color: var(--agent-copy);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.2;
}

.agent-card__kicker {
    margin: 0 0 8px;
    font-weight: 500;
}

.agent-capability-card__copy p {
    margin: 0 0 10px;
}

.agent-capability-card__copy ul {
    margin: 4px 0 0;
    padding-left: 1.15em;
}

.agent-capability-card__copy li {
    margin: 0 0 7px;
}

.agent-applications {
    padding: 82px 0 60px;
    background: var(--agent-warm);
}

.agent-applications__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.agent-use-card {
    min-height: 650px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
}

.agent-use-card>img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.agent-use-card__copy {
    padding: 31px 32px 38px;
    font-size: 15px;
    line-height: 1.65;
}

.agent-use-card h3 {
    margin: 0 0 27px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
}

.agent-use-card__group {
    margin-top: 25px;
}

.agent-use-card__group:first-of-type {
    margin-top: 0;
}

.agent-use-card h4 {
    margin: 0 0 5px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.agent-use-card p {
    margin: 0;
}

.agent-use-card ul {
    margin: 5px 0 0;
    padding-left: 1.15em;
}

.agent-use-card li {
    margin-bottom: 5px;
}

.agent-use-card--security {
    color: var(--agent-mint);
    background: var(--agent-ink);
}

.agent-use-card--security h3,
.agent-use-card--security h4 {
    color: inherit;
}

.agent-faq {
    padding: 82px 0 124px;
    background: #fff;
}

.agent-faq__list {
    display: grid;
    gap: 18px;
}

.agent-faq__item {
    padding: 22px 32px 26px;
    border-radius: 12px;
    background: var(--agent-warm);
}

.agent-faq__item h3 {
    margin: 0 0 16px;
    color: var(--agent-ink);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.agent-faq__item p {
    margin: 0;
    color: var(--agent-copy);
    font-size: 15px;
    line-height: 1.55;
}

.agent-other-members {
    padding: 82px 0 96px;
    background: var(--agent-surface);
}

.agent-other-members__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.agent-other-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid #e0e6e0;
    border-radius: 14px;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.agent-other-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 33, 31, 0.08);
    border-color: #c0d4cc;
}

.agent-other-card img {
    width: 112px;
    height: 112px;
    margin: 0 auto 22px;
    object-fit: cover;
    border-radius: 50%;
}

.agent-other-card h3 {
    margin: 0 0 16px;
    color: var(--agent-ink);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.3;
}

.agent-other-card a {
    margin-top: auto;
    font-family: Montserrat, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #1a6b5e;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.agent-other-card a:hover {
    color: var(--agent-ink);
}

.agent-contact {
    padding: 112px 0;
    background: var(--agent-warm);
}

.agent-contact__layout {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 520px);
    justify-content: space-between;
    gap: 64px;
}

.agent-contact__art {
    position: relative;
    min-height: 476px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 52px;
    border-radius: 14px;
    color: #fff;
    background:
        linear-gradient(rgba(15, 33, 31, .42), rgba(15, 33, 31, .42)),
        url('https://storage.googleapis.com/elearning-solutions-site-assets/images/fluid/contact-fluid-fill.jpg') center / cover;
}

.agent-contact__art h2 {
    margin: 0 0 34px;
    color: #fff;
    font-size: clamp(31px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.22;
}

.agent-contact__art p {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
}

.agent-contact__form {
    align-self: center;
}

.agent-contact .contact-form {
    gap: 18px;
}

.agent-contact .form-field {
    gap: 8px;
}

.agent-contact .form-field label {
    color: var(--agent-ink);
    font-size: 14px;
}

.agent-contact .form-field input,
.agent-contact .form-field textarea {
    padding: 13px 18px;
    border: 0;
    border-radius: 7px;
    background: var(--agent-surface);
}

.agent-contact .form-field textarea {
    min-height: 103px;
}

.agent-contact .captcha-wrap {
    min-height: 78px;
    margin-top: 0;
}

.agent-contact .contact-submit {
    min-height: 52px;
}

@media (max-width: 1120px) {
    .agent-page-shell {
        width: min(100% - 64px, 1216px);
    }

    .agent-hero__layout {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 48px;
    }

    .agent-portrait {
        width: 310px;
        height: 310px;
    }

    .agent-other-members__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 20px;
    }
}

@media (max-width: 840px) {
    .agent-page-shell {
        width: min(100% - 44px, 1216px);
    }

    .agent-hero__layout {
        grid-template-columns: 1fr;
        gap: 42px;
        padding-block: 60px 72px;
    }

    .agent-hero__copy {
        order: 2;
    }

    .agent-portrait {
        order: 1;
        width: 260px;
        height: 260px;
    }

    .agent-hero h1 {
        font-size: clamp(37px, 8vw, 48px);
    }

    .agent-capabilities,
    .agent-faq,
    .agent-other-members {
        padding-block: 66px 84px;
    }

    .agent-other-members__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .agent-applications {
        padding-block: 66px;
    }

    .agent-capabilities__grid,
    .agent-applications__grid {
        grid-template-columns: 1fr;
    }

    .agent-capability-card,
    .agent-use-card {
        min-height: 0;
    }

    .agent-contact {
        padding-block: 72px;
    }

    .agent-contact__layout {
        grid-template-columns: 1fr;
    }

    .agent-contact__art {
        min-height: 400px;
    }
}

@media (max-width: 560px) {
    .agent-page-shell {
        width: min(100% - 28px, 1216px);
    }

    .agent-hero__layout {
        padding-block: 44px 60px;
    }

    .agent-portrait {
        width: 210px;
        height: 210px;
    }

    .agent-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .agent-hero__actions .button {
        width: 100%;
    }

    .agent-capabilities h2,
    .agent-applications h2,
    .agent-faq h2,
    .agent-other-members h2 {
        margin-bottom: 34px;
        font-size: 32px;
    }

    .agent-other-members__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .agent-other-card {
        padding: 24px;
    }

    .agent-other-card img {
        width: 100px;
        height: 100px;
        margin-bottom: 18px;
    }

    .agent-other-card h3 {
        font-size: 21px;
        margin-bottom: 14px;
    }

    .agent-capabilities__grid {
        gap: 28px;
    }

    .agent-capability-card>img,
    .agent-use-card>img {
        height: 130px;
    }

    .agent-capability-card__copy,
    .agent-use-card__copy {
        padding: 26px 24px 32px;
    }

    .agent-faq__item {
        padding: 22px 24px 25px;
    }

    .agent-contact__art {
        min-height: 360px;
        padding: 34px;
    }
}