/* All typography and spacing are scoped to the automation page. */
.bpa-page {
    --bpa-ink: #173650;
    --bpa-muted: #526b7d;
    --bpa-blue: #176d9e;
    --bpa-green: #197460;
    color: var(--bpa-ink);
    background: #fff;
    font-family: 'ResearchCave Open Sans', 'Open Sans', sans-serif;
}
.bpa-page h1, .bpa-page h2, .bpa-page h3 { color: var(--bpa-ink); font-family: inherit; font-weight: 600; }
.bpa-page h1 { font-size: clamp(36px, 4.2vw, 58px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 22px; }
.bpa-page h2 { font-size: clamp(27px, 3vw, 36px); line-height: 1.25; letter-spacing: -.025em; margin: 0 0 18px; }
.bpa-page h3 { font-size: 19px; line-height: 1.4; margin: 0 0 10px; }
.bpa-page p { color: var(--bpa-muted); font-size: 16px; line-height: 1.8; margin: 0 0 20px; }
.bpa-page .bpa-eyebrow { color: var(--bpa-green); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.bpa-page img { display: block; width: 100%; height: auto; }
.bpa-page a:focus-visible { outline: 3px solid var(--bpa-blue); outline-offset: 5px; }
.bpa-hero { background: radial-gradient(ellipse at 80% 20%, #15516a66, transparent 55%), #0d243b; border-bottom: 1px solid #28465b; }
.bpa-hero h1 { color: #fff; }
.bpa-hero .bpa-lead { color: #cee1ee; }
.bpa-hero .bpa-eyebrow { color: #a5e8d2; }
.bpa-hero .bpa-text-link { color: #b5eddd; }
.bpa-hero a:focus-visible { outline-color: #b5eddd; }
.bpa-hero-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 36px; padding-top: clamp(44px, 5vw, 76px); padding-bottom: clamp(44px, 5vw, 76px); }
.bpa-page .bpa-lead { font-size: 18px; max-width: 480px; }
.bpa-hero-visual { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(23, 54, 80, .08); }
.bpa-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 28px; }
.bpa-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 14px 22px; border-radius: 8px; background: var(--bpa-blue); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.6; text-decoration: none; }
.bpa-button:hover, .bpa-button:focus-visible { background: #115477; color: #fff; }
.bpa-text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--bpa-blue); font-size: 14px; font-weight: 600; }
/* The hero and the following content have their own generous separation. */
.bpa-section { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.bpa-section-heading { max-width: 720px; margin-bottom: 32px; }
.bpa-opportunities { background: #fff; }
.bpa-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.bpa-card { overflow: hidden; border: 1px solid #dfded4; border-radius: 16px; background: #fff; }
.bpa-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #faf5e9; border-bottom: 1px solid #ebe5d8; }
.bpa-page .bpa-card-media img { width: 100%; height: 100%; object-fit: cover; }
.bpa-card-copy { padding: 26px 28px 30px; }
.bpa-card p { font-size: 15px; margin-bottom: 0; }
.bpa-workflow-section { padding: clamp(48px, 6vw, 80px) 0; background: #163a46; color: #fff; scroll-margin-top: 24px; }
.bpa-workflow-section h2, .bpa-workflow-section .bpa-human-check h3 { color: #fff; }
.bpa-workflow-section > .container > div > p:not(.bpa-eyebrow), .bpa-workflow-section .bpa-human-check p { color: #cde0e5; }
.bpa-workflow-section .bpa-eyebrow { color: #a5e8d2; }
.bpa-workflow-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.bpa-human-check { display: flex; align-items: flex-start; gap: 16px; padding-top: 22px; border-top: 1px solid #557680; margin-top: 28px; }
.bpa-human-check > i { font-size: 27px; color: #a5e8d2; margin-top: 4px; }
.bpa-human-check h3 { font-size: 17px; }
.bpa-human-check p { font-size: 14px; margin-bottom: 0; }
.bpa-workflow-panel { border: 1px solid #d5e4ed; border-radius: 18px; padding: 26px; background: #fff; color: var(--bpa-ink); box-shadow: 0 18px 40px rgba(0, 15, 23, .2); }
.bpa-panel-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; font-size: 14px; font-weight: 600; }
.bpa-panel-heading i { margin-right: 7px; color: var(--bpa-blue); }
.bpa-example-badge { font-size: 11px; color: var(--bpa-green); background: #e4f6ef; padding: 5px 10px; border-radius: 20px; }
.bpa-flow { list-style: none; padding: 0; margin: 0; }
.bpa-flow li { position: relative; display: flex; align-items: flex-start; gap: 18px; padding-bottom: 26px; }
.bpa-flow li:last-child { padding-bottom: 0; }
.bpa-flow li:not(:last-child)::before { content: ''; position: absolute; inset-inline-start: 22px; top: 46px; bottom: 0; border-left: 2px dashed #c6dbe7; }
.bpa-flow-icon { flex: 0 0 46px; display: grid; place-items: center; height: 46px; border-radius: 12px; background: #eaf4fb; color: var(--bpa-blue); font-size: 20px; }
.bpa-flow li:last-child .bpa-flow-icon { color: var(--bpa-green); background: #e4f6ef; }
.bpa-flow h3 { font-size: 16px; margin-bottom: 4px; }
.bpa-flow p { font-size: 13px; margin-bottom: 0; }
.bpa-delivery-section { background: #fff; }
.bpa-delivery-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 72px); }
.bpa-team-visual { max-width: 480px; }
.bpa-delivery-steps { counter-reset: delivery; list-style: none; padding: 0; margin: 28px 0 0; }
.bpa-delivery-steps li { counter-increment: delivery; position: relative; padding-inline-start: 54px; margin-bottom: 22px; }
.bpa-delivery-steps li::before { content: '0' counter(delivery); position: absolute; inset-inline-start: 0; top: 1px; color: var(--bpa-blue); font-size: 19px; font-weight: 600; }
.bpa-delivery-steps h3 { font-size: 17px; margin-bottom: 4px; }
.bpa-delivery-steps p { font-size: 14px; margin-bottom: 0; }
@media (max-width: 991.98px) {
    .bpa-hero-grid, .bpa-workflow-grid, .bpa-delivery-grid { grid-template-columns: 1fr; }
    .bpa-hero-copy { max-width: 640px; }
    .bpa-hero-visual { max-width: 720px; }
    .bpa-team-visual { max-width: 400px; margin: 0 auto; }
    .bpa-card-copy { padding: 24px; }
}
@media (max-width: 767.98px) {
    .bpa-card-grid { grid-template-columns: 1fr; gap: 16px; }
    .bpa-hero-grid { gap: 28px; }
    .bpa-workflow-panel { padding: 22px 18px; }
    .bpa-page .bpa-lead { font-size: 16px; }
}
