/* Final hero model refinements. */
.aiam-hero-copy {
    max-width: 900px;
}

.aiam-page h1 {
    max-width: 900px;
    font-size: clamp(42px, 4.4vw, 68px);
}

.aiam-page h1 span {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.aiam-table th,
.aiam-table td {
    border-left: 0;
    border-right: 0;
    padding: 17px 20px;
    font-size: 16px;
}

.aiam-table thead th {
    font-size: 11px;
}

.aiam-model-top {
    font-size: 13px;
}

.aiam-question {
    padding: 22px;
}

.aiam-question p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--aiam-text);
    font-size: 16px;
    font-weight: bold;
}

.aiam-question p b {
    display: inline-block;
    flex: 0 0 auto;
    background: #3a2a16;
    border-radius: 4px;
    padding: 4px 6px;
    color: var(--aiam-orange);
    font: 11px/1 monospace;
}

.aiam-question strong {
    display: inline-block;
    width: 96px;
    margin: 0 0 12px;
    color: var(--aiam-text);
    font-size: 14px;
    vertical-align: top;
}

.aiam-question span {
    display: inline-block;
    width: calc(100% - 106px);
    margin: 0 0 12px;
    color: var(--aiam-muted);
    font-size: 14px;
    vertical-align: top;
}

.aiam-question-source {
    display: block !important;
    width: 100% !important;
    margin: 3px 0 0 !important;
    color: var(--aiam-muted) !important;
    font: 12px/1.45 monospace !important;
}

@media (min-width: 901px) {
    .aiam-question {
        width: 460px;
        right: -45px;
    }
}

/* KPI hierarchy in the hero model */
.aiam-table tbody tr:nth-child(1) th,
.aiam-table tbody tr:nth-child(5) th,
.aiam-table tbody tr:nth-child(6) th {
    color: var(--aiam-text);
    font-weight: 700;
}

.aiam-table tbody tr:nth-child(2) th,
.aiam-table tbody tr:nth-child(3) th,
.aiam-table tbody tr:nth-child(4) th {
    padding-left: 40px;
    color: var(--aiam-muted);
    font-size: 15px;
    font-weight: 400;
}

/* Right-align all model values while preserving the KPI column. */
.aiam-table th:not(:first-child),
.aiam-table td {
    text-align: right;
}

/* Keep the Equation heading on one line on desktop. */
@media (min-width: 1100px) {
    .aiam-equation-section h2 {
        max-width: none;
        white-space: nowrap;
    }
}

/* Keep the GAME layer heading on one line on desktop. */
@media (min-width: 1100px) {
    .aiam-game-layer-section h2 {
        max-width: none;
        white-space: nowrap;
    }
}

/* GAME layer heading: keep one line on wide desktop screens. */
@media (min-width: 1100px) {
    .aiam-page > section:nth-of-type(5) h2 {
        max-width: none;
        white-space: nowrap;
    }
}

/* Improve the statistic-block labels. */
.aiam-stats article > p {
    color: var(--aiam-orange);
    font-family: monospace;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1.1px;
}

/* Soften the final demo image while retaining image detail. */
.aiam-demo:before {
    background: rgba(8, 10, 12, 0.66);
}

/* Separate the GAME layer note from the question cards. */
.aiam-page > section:nth-of-type(5) .aiam-note {
    margin-top: 20px;
}

/* Align the "The shift, in practice" section to the reference layout. */
@media (min-width: 901px) {
    .aiam-page #how-it-works .aiam-narrow {
        width: min(1120px, calc(100% - 40px));
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
    }

    .aiam-page #how-it-works h2 {
        max-width: none;
        font-size: 50px;
        line-height: 1.05;
    }

    .aiam-page #how-it-works .aiam-lead {
        max-width: 820px;
    }

    .aiam-page #how-it-works .aiam-eyebrow {
        font-size: 14px;
    }
}

/* Improve allocation chart type hierarchy and note spacing. */
.aiam-page #how-it-works .aiam-allocation > p {
    margin: 30px 0 12px;
    font-size: 15px;
    font-weight: 500;
}

.aiam-page #how-it-works .aiam-allocation > p b {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.aiam-page #how-it-works .aiam-bar span {
    font-size: 14px;
    font-weight: 500;
}

.aiam-page #how-it-works .aiam-bar small {
    font-size: 11px;
    font-weight: 600;
}

.aiam-page #how-it-works .aiam-allocation > small {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.45;
}

/* Give allocation bars more vertical room for stronger labels. */
.aiam-page #how-it-works .aiam-bar {
    height: 64px;
}

.aiam-page #how-it-works .aiam-bar span {
    padding: 8px 10px;
    font-size: 15px;
    font-weight: 600;
}

.aiam-page #how-it-works .aiam-bar small {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 600;
}

.aiam-page #how-it-works .aiam-bar small {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.1;
}

.aiam-page #how-it-works .aiam-allocation > small {
    color: var(--aiam-muted) !important;
    font-weight: 400;
}

.aiam-page #how-it-works .aiam-allocation > p {
    font-size: 16px;
    line-height: 1.4;
}

.aiam-page #how-it-works .aiam-allocation > p b {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-right: 14px;
    color: var(--aiam-orange);
}

/* Improve the orange labels in the insight-question cards. */
.aiam-page .aiam-question-grid article > p {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1px;
}
/* Improve orange section labels and day-timeline labels. */
.aiam-page .aiam-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.aiam-page .aiam-timeline article > p {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1px;
}

/* Improve orange labels in the delivery capability cards. */
.aiam-page .aiam-capability-grid article > p {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1px;
}

/* Improve orange labels beneath the four model-option cards. */
.aiam-page .aiam-mini-stats article > p {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1px;
}

/* Improve orange labels in the delivery-continuum cards and outcome stats. */
.aiam-page .aiam-continuum article > p,
.aiam-page .aiam-continuum + .aiam-mini-stats article > p {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 1px;
}

sudo install -o root -g root -m 644 \
  /tmp/aimplified-analyst-refinements.css \
  /var/www/html/wp-content/themes/insync/assests/css/aimplified-analyst-refinements.css