:root {
    --product-amber: #d9a51e;
    --product-blue: #1769aa;
    --product-red: #9f2e27;
    --product-ink: #183025;
}

.products-hero {
    background: #173e22 url("campus-hero-ghana.jpg") center 42% / cover no-repeat;
    color: #fff;
    min-height: 520px;
    overflow: hidden;
    position: relative;
}
.products-hero-shade { background: rgba(7,35,23,.76); inset: 0; position: absolute; }
.products-hero-content { margin: 0 auto; max-width: 1180px; padding: 88px 22px 76px; position: relative; z-index: 1; }
.products-hero h1 { color: #fff; font-size: clamp(48px,6vw,76px); line-height: 1.02; margin: 0; max-width: 820px; }
.products-hero-content > p:not(.eyebrow) { color: #edf5eb; font-size: 19px; font-weight: 700; line-height: 1.65; margin: 21px 0 0; max-width: 760px; }
.products-hero .eyebrow, .products-hero .hero-proof-list i { color: #f2c94c; }
.products-hero .hero-proof-list span { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }

.product-stage-band { background: #102e1b; color: #fff; }
.product-stage-band-inner { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0 auto; max-width: 1180px; }
.product-stage-band button { align-items: center; background: transparent; border: 0; border-left: 1px solid rgba(255,255,255,.16); color: #fff; cursor: pointer; display: grid; gap: 2px 13px; grid-template-columns: 38px 1fr; min-height: 104px; padding: 18px; text-align: left; transition: background .2s ease; }
.product-stage-band button:last-child { border-right: 1px solid rgba(255,255,255,.16); }
.product-stage-band button:hover, .product-stage-band button:focus-visible { background: rgba(255,255,255,.08); }
.product-stage-band button > span { align-items: center; background: #e1b536; color: #102e1b; display: flex; font-size: 13px; font-weight: 950; grid-row: 1 / 3; height: 36px; justify-content: center; width: 36px; }
.product-stage-band strong { font-size: 14px; }
.product-stage-band small { color: #c8dcc6; font-size: 11px; font-weight: 700; line-height: 1.35; }

.product-finder-section { background: #eef4ec; border-bottom: 1px solid #c9d9c6; padding: 70px 22px 32px; }
.product-finder-heading { align-items: end; display: grid; gap: 46px; grid-template-columns: minmax(0,.9fr) minmax(320px,1.1fr); }
.product-finder-heading h2 { color: var(--navy); font-size: 39px; line-height: 1.12; margin: 0; }
.product-finder-heading > p { color: #536257; font-size: 15px; line-height: 1.65; margin: 0; }
.product-finder { align-items: end; background: #fff; border: 1px solid #b9cdb7; display: grid; gap: 14px; grid-template-columns: minmax(0,1.45fr) minmax(210px,.7fr) auto; margin-top: 32px; padding: 18px; }
.product-finder label > span { color: #304737; display: block; font-size: 12px; font-weight: 900; margin-bottom: 7px; }
.product-search-field > div { align-items: center; background: #f8faf7; border: 1px solid #aebfac; display: grid; grid-template-columns: 40px 1fr; }
.product-search-field i { color: #31513b; text-align: center; }
.product-search-field input, .product-finder select { background: #f8faf7; border: 1px solid #aebfac; color: #203b2b; font: inherit; font-size: 14px; min-height: 49px; padding: 11px 12px; width: 100%; }
.product-search-field input { border: 0; padding-left: 0; }
.product-search-field input:focus, .product-finder select:focus { outline: 3px solid rgba(23,105,170,.2); outline-offset: 1px; }
.product-reset { align-items: center; background: #173e22; border: 1px solid #173e22; color: #fff; cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 900; gap: 8px; justify-content: center; min-height: 49px; padding: 0 18px; }
.product-status-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 15px; }
.product-status-filters button { background: transparent; border: 1px solid #9cb29a; color: #294632; cursor: pointer; font-size: 12px; font-weight: 900; min-height: 39px; padding: 8px 14px; }
.product-status-filters button.is-active { background: #173e22; border-color: #173e22; color: #fff; }
.product-finder-summary { align-items: baseline; color: #506057; display: flex; gap: 6px; justify-content: flex-end; margin-top: 13px; }
.product-finder-summary strong { color: #173e22; font-size: 20px; }
.product-finder-summary span { font-size: 12px; font-weight: 800; }

.product-directory { background: #fff; padding: 0 22px 78px; }
.product-stage { border-top: 1px solid #c8d6c5; padding-top: 72px; scroll-margin-top: 94px; }
.product-stage:first-of-type { border-top: 0; }
.product-stage-heading { align-items: end; display: grid; gap: 45px; grid-template-columns: minmax(0,1fr) minmax(320px,.78fr); margin-bottom: 27px; }
.product-stage-heading > div { align-items: start; display: grid; gap: 16px; grid-template-columns: 48px 1fr; }
.product-stage-heading > div > span { align-items: center; background: #173e22; color: #fff; display: flex; font-size: 14px; font-weight: 950; height: 44px; justify-content: center; width: 44px; }
.product-stage-heading p { color: #5b6a60; font-size: 13px; line-height: 1.65; margin: 0; }
.product-stage-heading > div p { color: var(--product-blue); font-size: 11px; font-weight: 950; letter-spacing: 0; margin: 0 0 5px; text-transform: uppercase; }
.product-stage-heading h2 { color: #173e22; font-size: 31px; line-height: 1.14; margin: 0; }
.product-grid { display: grid; gap: 14px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.product-card { background: #fff; border: 1px solid #c4d3c1; border-top: 5px solid #21713b; display: flex; flex-direction: column; min-height: 360px; padding: 23px; transition: box-shadow .2s ease,transform .2s ease,border-color .2s ease; }
.product-card[data-status="pilot"] { border-top-color: var(--product-blue); }
.product-card[data-status="development"] { border-top-color: var(--product-amber); }
.product-card[data-status="research"] { border-top-color: #6d4b8d; }
.product-card[data-status="planned"] { border-top-color: var(--product-red); }
.product-card:hover { border-color: #86a383; box-shadow: 0 16px 36px rgba(23,62,34,.12); transform: translateY(-2px); }
.product-card[hidden] { display: none; }
.product-card header { align-items: center; display: flex; justify-content: space-between; }
.product-card-icon, .product-dialog-icon { align-items: center; background: #173e22; color: #fff; display: flex; font-size: 21px; height: 48px; justify-content: center; width: 48px; }
.product-status { align-items: center; background: #e9f3e7; border: 1px solid #bdd4b9; color: #275a32; display: inline-flex; font-size: 10px; font-weight: 950; gap: 7px; padding: 7px 9px; text-transform: uppercase; }
.product-status i { font-size: 7px; }
.product-status.is-pilot { background: #e8f2fa; border-color: #bbd4e7; color: #175782; }
.product-status.is-development { background: #fff4d9; border-color: #e4ca84; color: #6f4f00; }
.product-status.is-research { background: #f0eafa; border-color: #d0c2e2; color: #563a71; }
.product-status.is-planned { background: #faeae8; border-color: #e0bbb6; color: #7d2923; }
.product-card h3 { color: #173e22; font-size: 24px; line-height: 1.2; margin: 20px 0 9px; }
.product-card > p { color: #58675d; font-size: 14px; line-height: 1.62; margin: 0; }
.product-audience { align-items: center; border-top: 1px solid #d8e2d6; color: #415448; display: flex; font-size: 12px; gap: 8px; margin-top: auto; padding: 18px 0 15px; }
.product-audience i { color: #21713b; }
.product-detail-button { align-items: center; background: #f1f6ef; border: 1px solid #bad0b7; color: #173e22; cursor: pointer; display: flex; font-size: 12px; font-weight: 950; justify-content: space-between; min-height: 43px; padding: 10px 13px; text-align: left; width: 100%; }
.product-detail-button:hover, .product-detail-button:focus-visible { background: #173e22; border-color: #173e22; color: #fff; }
.product-empty { border: 1px solid #c2d1bf; margin: 64px 0 0; padding: 48px 22px; text-align: center; }
.product-empty > i { color: #1769aa; font-size: 31px; }
.product-empty h2 { color: #173e22; font-size: 28px; margin: 14px 0 7px; }
.product-empty p { color: #5c6a60; font-size: 14px; }

.product-roadmap { background: #173e22; color: #fff; padding: 76px 22px; }
.product-roadmap-inner { display: grid; gap: 48px; grid-template-columns: minmax(270px,.72fr) minmax(0,1.28fr); margin: 0 auto; max-width: 1180px; }
.product-roadmap .eyebrow { color: #f2c94c; }
.product-roadmap h2 { color: #fff; font-size: 38px; line-height: 1.12; margin: 0; }
.product-roadmap-intro > p:not(.eyebrow) { color: #d0e1ce; font-size: 14px; line-height: 1.68; }
.product-roadmap ol { display: grid; list-style: none; margin: 0; padding: 0; }
.product-roadmap li { align-items: center; border-bottom: 1px solid rgba(255,255,255,.17); display: grid; gap: 14px; grid-template-columns: 38px 1fr; padding: 14px 0; }
.product-roadmap li:first-child { border-top: 1px solid rgba(255,255,255,.17); }
.product-roadmap li b { align-items: center; background: #f2c94c; color: #173e22; display: flex; font-size: 13px; height: 34px; justify-content: center; width: 34px; }
.product-roadmap strong { color: #fff; display: block; font-size: 15px; }
.product-roadmap small { color: #caddc8; display: block; font-size: 12px; line-height: 1.5; margin-top: 3px; }
.product-disclaimer { background: #fff4d9; border-bottom: 1px solid #e0c87f; border-top: 1px solid #e0c87f; padding: 22px; }
.product-disclaimer > div { align-items: start; display: grid; gap: 13px; grid-template-columns: 26px 1fr; margin: 0 auto; max-width: 1180px; }
.product-disclaimer i { color: #7b5900; font-size: 19px; margin-top: 3px; }
.product-disclaimer p { color: #604a0d; font-size: 13px; line-height: 1.6; margin: 0; }
.product-disclaimer strong { display: block; font-size: 14px; }

.product-dialog { background: transparent; border: 0; height: 100%; margin: auto; max-height: 100%; max-width: 760px; padding: 18px; width: 100%; }
.product-dialog::backdrop { background: rgba(8,24,15,.78); }
.product-dialog[open] { display: grid; place-items: center; }
.product-dialog-shell { background: #fff; border: 1px solid #aac0a7; box-shadow: 0 28px 80px rgba(0,0,0,.34); max-height: calc(100vh - 36px); overflow-y: auto; width: 100%; }
.product-dialog-shell > header { align-items: center; background: #173e22; display: flex; justify-content: space-between; padding: 16px 18px; position: sticky; top: 0; z-index: 2; }
.product-dialog-shell > header > div { align-items: center; display: flex; gap: 11px; }
.product-dialog-shell > header .product-dialog-icon { background: #fff; color: #173e22; height: 42px; width: 42px; }
.product-dialog-shell > header button { align-items: center; background: #fff; border: 0; color: #173e22; cursor: pointer; display: flex; font-size: 20px; height: 40px; justify-content: center; width: 40px; }
.product-dialog-body { padding: 28px; }
.product-dialog-body h2 { color: #173e22; font-size: 34px; line-height: 1.15; margin: 3px 0 11px; }
.product-dialog-summary { color: #526258; font-size: 15px; line-height: 1.68; margin: 0; }
.product-dialog-audience { align-items: center; background: #edf4eb; border-left: 5px solid #21713b; display: grid; gap: 13px; grid-template-columns: 36px 1fr; margin-top: 22px; padding: 14px 16px; }
.product-dialog-audience > i { color: #21713b; font-size: 19px; text-align: center; }
.product-dialog-audience small { color: #617066; display: block; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.product-dialog-audience strong { color: #173e22; display: block; font-size: 14px; margin-top: 2px; }
.product-dialog-body section { border-top: 1px solid #d5e0d3; margin-top: 24px; padding-top: 21px; }
.product-dialog-body section h3 { color: #173e22; font-size: 17px; margin: 0 0 13px; }
.product-dialog-body ul { display: grid; gap: 9px; list-style: none; margin: 0; padding: 0; }
.product-dialog-body li { align-items: start; color: #435448; display: grid; font-size: 13px; gap: 9px; grid-template-columns: 17px 1fr; line-height: 1.5; }
.product-dialog-body li i { color: #21713b; margin-top: 3px; }
.product-dialog-body .product-outcome { background: #173e22; border: 0; color: #fff; padding: 18px; }
.product-dialog-body .product-outcome h3 { color: #f2c94c; }
.product-dialog-body .product-outcome p { color: #d4e4d1; font-size: 13px; line-height: 1.62; margin: 0; }
.product-dialog-shell > footer { align-items: center; border-top: 1px solid #d3dfd1; display: flex; gap: 9px; justify-content: flex-end; padding: 16px 28px 22px; }
body.has-product-dialog { overflow: hidden; }

@media (max-width: 820px) {
    .product-finder-heading, .product-stage-heading, .product-roadmap-inner { grid-template-columns: 1fr; }
    .product-finder { grid-template-columns: 1fr 1fr; }
    .product-search-field { grid-column: 1 / -1; }
    .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .products-hero { background-position: 58% center; min-height: 560px; }
    .products-hero-content { padding-block: 68px; }
    .products-hero h1 { font-size: 42px; }
    .products-hero-content > p:not(.eyebrow) { font-size: 16px; }
    .product-stage-band-inner { grid-template-columns: 1fr; }
    .product-stage-band button, .product-stage-band button:last-child { border-bottom: 1px solid rgba(255,255,255,.16); border-right: 1px solid rgba(255,255,255,.16); }
    .product-finder-section { padding-block: 56px 27px; }
    .product-finder-heading h2 { font-size: 31px; }
    .product-finder { grid-template-columns: 1fr; padding: 14px; }
    .product-search-field { grid-column: auto; }
    .product-status-filters { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
    .product-status-filters button:first-child { grid-column: 1 / -1; }
    .product-finder-summary { justify-content: flex-start; }
    .product-directory { padding-inline: 16px; }
    .product-stage { padding-top: 55px; }
    .product-stage-heading { gap: 18px; }
    .product-stage-heading > div { grid-template-columns: 42px 1fr; }
    .product-stage-heading h2 { font-size: 26px; }
    .product-card { min-height: 0; padding: 19px; }
    .product-card h3 { font-size: 21px; }
    .product-roadmap h2 { font-size: 31px; }
    .product-dialog { padding: 8px; }
    .product-dialog-shell { max-height: calc(100vh - 16px); }
    .product-dialog-body { padding: 21px 18px; }
    .product-dialog-body h2 { font-size: 27px; }
    .product-dialog-shell > footer { align-items: stretch; flex-direction: column; padding: 14px 18px 20px; }
    .product-dialog-shell > footer .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .product-card, .product-stage-band button { transition: none; }
}
