/* ==========================================================
   CLOUD GOVERNANCE MODERNIZATION
========================================================== */

.cgm-page {
    background: #f7faff;
    color: #142848;
}

.cgm-container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}


/* ==========================================================
   HERO
========================================================== */

.cgm-hero {
    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(43, 107, 209, .28),
            transparent 30%
        ),
        linear-gradient(
            110deg,
            #061a3d 0%,
            #0b2b60 58%,
            #0f4a91 100%
        );

    padding: 14px 0;
}

.cgm-hero-grid {
    min-height: 290px;

    display: grid;
    grid-template-columns: .95fr 1.05fr;

    align-items: center;
    gap: 42px;
}

.cgm-hero-copy {
    padding: 10px 0;
}

.cgm-badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 11px;

    border-radius: 999px;

    background: #1970e8;

    color: #fff;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: .8px;
}

.cgm-hero h1 {
    margin: 10px 0 14px;

    color: #fff;

    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.045em;
    font-weight: 800;
}

.cgm-hero h1 span {
    color: #438bf0;
}

.cgm-hero-copy > p {
    max-width: 600px;

    margin: 0;

    color: #c7d5e9;

    font-size: 11px;
    line-height: 1.55;
}

.cgm-hero-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px 17px;

    margin-top: 17px;
}

.cgm-hero-tags span {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #e6eef9;

    font-size: 8px;
    white-space: nowrap;
}

.cgm-hero-tags i {
    color: #3486ee;
    font-size: 11px;
}


/* ==========================================================
   DASHBOARD
========================================================== */

.cgm-dashboard {
    display: grid;
    grid-template-columns: 38px 1fr;

    min-height: 245px;

    background: #f7faff;

    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 18px 38px rgba(0,0,0,.20);
}

.cgm-dashboard-nav {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 19px;

    padding-top: 19px;

    background: #102955;
}

.cgm-dashboard-nav i {
    color: #8199bd;
    font-size: 10px;
}

.cgm-dashboard-nav i:first-child {
    color: #fff;
}

.cgm-dashboard-body {
    padding: 11px;
}

.cgm-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 8px;
}

.cgm-dashboard-header strong {
    color: #233853;
    font-size: 9px;
}

.cgm-dashboard-header span {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    padding: 4px 7px;

    color: #65758a;
    background: #edf2f8;

    border-radius: 4px;

    font-size: 6px;
}

.cgm-dashboard-top {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 8px;
}

.cgm-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.cgm-dashboard-metric {
    padding: 8px;

    background: #fff;

    border: 1px solid #e0e8f2;
    border-radius: 5px;
}

.cgm-dashboard-metric small {
    display: block;

    color: #7e8c9f;
    font-size: 6px;
}

.cgm-dashboard-metric strong {
    display: block;

    margin-top: 3px;

    color: #1e3555;

    font-size: 15px;
    line-height: 1;
}

.cgm-dashboard-metric em {
    display: block;

    margin-top: 3px;

    font-size: 5px;
    font-style: normal;
    font-weight: 700;
}

.up {
    color: #2da76c;
}

.down {
    color: #df5c61;
}

.cgm-forecast-card {
    position: relative;

    padding: 9px;

    background: #fff;
    border: 1px solid #e0e8f2;
    border-radius: 5px;
}

.cgm-forecast-title {
    color: #273d5b;
    font-size: 7px;
    font-weight: 700;
}

.cgm-legend {
    display: flex;
    justify-content: flex-end;
    gap: 6px;

    margin-top: -8px;

    color: #8290a2;
    font-size: 5px;
}

.cgm-legend span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.actual-dot {
    width: 8px;
    height: 2px;
    background: #2874e2;
    display: inline-block;
}

.forecast-line {
    width: 8px;
    border-top: 1px dashed #73a8f1;
    display: inline-block;
}

.cgm-chart {
    position: relative;

    height: 115px;

    margin-top: 8px;

    border-left: 1px solid #edf1f6;
    border-bottom: 1px solid #edf1f6;
}

.cgm-chart-grid {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cgm-chart-grid span {
    display: block;

    width: 100%;
    height: 1px;

    background: #edf1f6;
}

.cgm-chart svg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.cgm-chart-labels {
    display: flex;
    justify-content: space-between;

    margin-top: 3px;

    color: #8b97a8;
    font-size: 5px;
}


/* ==========================================================
   MAIN
========================================================== */

.cgm-main {
    background: #f7faff;
    padding: 9px 0 12px;
}


/* INFO */

.cgm-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.cgm-info-card {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 64px;

    padding: 10px;

    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 7px;
}

.cgm-info-icon {
    width: 31px;
    height: 31px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    background: #edf4ff;
    border-radius: 9px;

    color: #2c6fd0;
    font-size: 13px;
}

.cgm-info-card small {
    display: block;

    color: #8a96a8;
    font-size: 6px;
}

.cgm-info-card strong {
    display: block;

    margin-top: 3px;

    color: #30435f;

    font-size: 8px;
    line-height: 1.25;
}


/* ==========================================================
   CHALLENGE / SOLUTION
========================================================== */

.cgm-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;

    margin-top: 9px;
}

.cgm-panel {
    padding: 14px;

    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 7px;
}

.cgm-panel h2 {
    display: flex;
    align-items: center;
    gap: 6px;

    margin: 0 0 8px;

    color: #20395c;
    font-size: 11px;
}

.cgm-panel h2 i {
    color: #2774dc;
    font-size: 11px;
}

.cgm-panel ul {
    margin: 0;
    padding-left: 14px;
}

.cgm-panel li {
    margin-bottom: 4px;

    color: #5e7088;

    font-size: 7px;
    line-height: 1.35;
}


/* ==========================================================
   PROCESS
========================================================== */

.cgm-process {
    display: flex;
    align-items: center;

    margin-top: 9px;
    padding: 12px 10px;

    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 7px;
}

.cgm-process-item {
    flex: 1;

    text-align: center;
}

.cgm-process-icon {
    width: 35px;
    height: 35px;

    margin: 0 auto 6px;

    display: grid;
    place-items: center;

    background: #edf4ff;
    border: 1px solid #d9e7f7;
    border-radius: 50%;

    color: #2871d5;
    font-size: 12px;
}

.cgm-process-item strong {
    display: block;

    color: #334964;
    font-size: 6px;
    line-height: 1.3;
}

.cgm-arrow {
    color: #2873dc;
    font-size: 14px;
    padding: 0 6px;
}


/* ==========================================================
   ROI + EFFORT
========================================================== */

.cgm-results-grid {
    display: grid;
    grid-template-columns: 1fr 1.16fr;
    gap: 10px;

    margin-top: 9px;
}

.cgm-roi,
.cgm-effort {
    padding: 13px;

    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 7px;
}

.cgm-roi h2,
.cgm-effort h2 {
    margin: 0 0 9px;

    color: #213958;
    font-size: 11px;
}

.cgm-roi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.cgm-roi-card {
    min-height: 87px;

    padding: 8px;

    border: 1px solid #e0e8f2;
    border-radius: 5px;
}

.cgm-roi-card i {
    color: #2d70d1;
    font-size: 12px;
}

.cgm-roi-card strong {
    display: block;

    margin-top: 4px;

    color: #2a5da9;

    font-size: 17px;
}

.cgm-roi-card span {
    display: block;

    margin-top: 2px;

    color: #708096;

    font-size: 6px;
    line-height: 1.3;
}


/* EFFORT */

.cgm-effort-header {
    margin-bottom: 8px;
}

.cgm-effort-header p {
    margin: -6px 0 0;

    color: #8390a2;

    font-size: 6px;
}

.cgm-effort-labels {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3px;

    text-align: center;
}

.cgm-effort-labels span {
    color: #66778e;
    font-size: 5px;
    line-height: 1.2;
}

.cgm-effort-labels b {
    display: block;

    margin-top: 2px;

    color: #233d60;
    font-size: 6px;
}

.cgm-effort-bar {
    display: flex;

    height: 18px;

    margin-top: 7px;

    border-radius: 3px;
    overflow: hidden;
}

.cgm-effort-bar span {
    flex: 1;
}

.effort-1 {
    background: #152c4e;
}

.effort-2 {
    background: #2364bd;
}

.effort-3 {
    background: #48a3a2;
}

.effort-4 {
    background: #4164be;
}

.effort-5 {
    background: #438bd4;
}

.effort-6 {
    background: #3d9468;
}

.cgm-total {
    display: block;

    margin-top: 5px;

    text-align: center;

    color: #223c61;

    font-size: 13px;
}


/* ==========================================================
   OPERATIONAL VIEWS
========================================================== */

.cgm-views-title {
    margin: 10px 0 6px;

    color: #263d5b;

    font-size: 10px;
}

.cgm-views-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 7px;
}

.cgm-views-grid article {
    display: flex;
    gap: 7px;

    min-height: 65px;

    padding: 9px;

    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 6px;
}

.cgm-views-grid article > i {
    flex: 0 0 auto;

    color: #3472cc;
    font-size: 14px;
}

.cgm-views-grid strong {
    display: block;

    color: #41536e;

    font-size: 6px;
    line-height: 1.3;
}

.cgm-views-grid span {
    display: block;

    margin-top: 3px;

    color: #7a889c;

    font-size: 5px;
    line-height: 1.3;
}


/* ==========================================================
   QUOTE
========================================================== */

.cgm-quote {
    display: grid;
    grid-template-columns: 50px 1fr 180px;
    gap: 12px;
    align-items: center;

    margin-top: 8px;

    padding: 12px 14px;

    background: #eef6ff;
    border: 1px solid #d8e6f4;
    border-radius: 7px;
}

.cgm-quote-icon {
    color: #1e73e1;

    font-size: 44px;
    font-weight: 800;

    line-height: .7;
}

.cgm-quote p {
    margin: 0;

    color: #335477;

    font-size: 7px;
    line-height: 1.45;
}

.cgm-quote-person {
    border-left: 1px solid #c9dcef;

    padding-left: 12px;
}

.cgm-quote-person strong {
    display: block;

    color: #304967;

    font-size: 7px;
}

.cgm-quote-person span {
    display: block;

    margin-top: 2px;

    color: #8490a1;

    font-size: 6px;
}


/* ==========================================================
   CTA
========================================================== */

.cgm-cta {
    background:
        linear-gradient(
            105deg,
            #061b40,
            #0a3472
        );

    padding: 13px 0;
}

.cgm-cta-inner {
    display: flex;
    align-items: center;

    gap: 12px;
}

.cgm-cta-icon {
    width: 44px;
    height: 44px;

    flex: 0 0 auto;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;

    color: #fff;

    font-size: 17px;
}

.cgm-cta-copy {
    flex: 1;
}

.cgm-cta-copy h2 {
    margin: 0 0 2px;

    color: #fff;

    font-size: 12px;
}

.cgm-cta-copy p {
    max-width: 600px;

    margin: 0;

    color: #bdcbe0;

    font-size: 6px;
    line-height: 1.4;
}

.cgm-cta-actions {
    display: flex;
    gap: 7px;
}

.cgm-btn-primary,
.cgm-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-height: 30px;

    padding: 0 13px;

    border-radius: 4px;

    font-size: 7px;
    font-weight: 700;

    text-decoration: none;
}

.cgm-btn-primary {
    background: #2676e3;
    color: #fff;
}

.cgm-btn-outline {
    border: 1px solid #7085a5;
    color: #fff;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1050px) {

    .cgm-hero-grid {
        grid-template-columns: 1fr;
    }

    .cgm-dashboard {
        max-width: 850px;
        width: 100%;
    }

    .cgm-results-grid {
        grid-template-columns: 1fr;
    }

    .cgm-views-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


@media (max-width: 800px) {

    .cgm-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cgm-two-column {
        grid-template-columns: 1fr;
    }

    .cgm-process {
        flex-wrap: wrap;
        gap: 14px;
    }

    .cgm-arrow {
        display: none;
    }

    .cgm-quote {
        grid-template-columns: 40px 1fr;
    }

    .cgm-quote-person {
        grid-column: 2;
        border-left: 0;
        padding-left: 0;
    }

}


@media (max-width: 600px) {

    .cgm-container {
        width: min(100% - 24px, 600px);
    }

    .cgm-info-grid,
    .cgm-views-grid,
    .cgm-roi-grid {
        grid-template-columns: 1fr;
    }

    .cgm-dashboard {
        grid-template-columns: 34px 1fr;
    }

    .cgm-dashboard-top {
        grid-template-columns: 1fr;
    }

    .cgm-dashboard-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .cgm-cta-inner {
        flex-wrap: wrap;
    }

    .cgm-cta-actions {
        width: 100%;
    }

}