/* =============================================================================
   AI SOLUTIONS — page-specific sections
   =============================================================================
   Requires ax-system.css (loaded first): tokens, type scale, buttons, section
   shell, header/footer, motion. This file styles ONLY this page's sections,
   reusing the shared tokens and primitives.

   Sections: problem · approach · ecosystems · delivery · proof ·
             commitments · cta
   (Hero, header, footer, section shell, buttons, type — all in ax-system.css.)
   ============================================================================= */


/* =============================================================================
   PROBLEM — numbered statements + the pivot remark
   ============================================================================= */
.ax-problems {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 880px;
}

.ax-problem {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 0 28px;
    align-items: baseline;
    padding: clamp(20px, 2.8vw, 30px) 0;
    border-top: 1px solid var(--ax-border);
}
.ax-problem:last-child { border-bottom: 1px solid var(--ax-border); }

.ax-problem__no {
    font-family: var(--ax-font-head);
    font-weight: 500;
    font-size: 13px;
    color: var(--ax-text-3);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.ax-problem__text {
    font-family: var(--ax-font-head);
    font-weight: 500;
    font-size: clamp(19px, 2.1vw, 29px);
    line-height: 1.32;
    letter-spacing: -0.022em;
    color: var(--ax-text);
    margin: 0;
    text-wrap: balance;
}

/* The pivot statement — read like a closing remark, so give it scale and air. */
.ax-aside {
    font-family: var(--ax-font-head);
    font-weight: 500;
    font-size: clamp(20px, 2.2vw, 30px);
    line-height: 1.32;
    letter-spacing: -0.022em;
    color: var(--ax-text);
    max-width: 22ch;
    margin: clamp(52px, 6vw, 80px) 0 0;
    text-wrap: balance;
}


/* =============================================================================
   APPROACH — definition list
   ============================================================================= */
.ax-cap { margin: 0; padding: 0; }

.ax-cap__row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0 48px;
    padding: clamp(22px, 2.8vw, 32px) 0;
    border-top: 1px solid var(--ax-border-2);
    align-items: baseline;
}
.ax-cap__row:last-child { border-bottom: 1px solid var(--ax-border-2); }

.ax-cap__name {
    font-family: var(--ax-font-head);
    font-weight: 600;
    font-size: clamp(17px, 1.6vw, 21px);
    letter-spacing: -0.015em;
    color: var(--ax-text);
    margin: 0;
}

.ax-cap__desc {
    font-family: var(--ax-font-body);
    font-size: clamp(15px, 1.25vw, 16.5px);
    line-height: 1.58;
    color: var(--ax-text-2);
    margin: 0;
    max-width: 54ch;
}


/* =============================================================================
   MECHANISM — statement + one big number
   ============================================================================= */
.ax-mech {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(48px, 7vw, 112px);
    align-items: center;
}

.ax-mech__body {
    font-family: var(--ax-font-body);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.64;
    color: var(--ax-text-2);
    margin: 22px 0 0;
    max-width: 54ch;
}
.ax-mech__body strong { color: var(--ax-accent-soft); font-weight: 600; }

.ax-mech__figure {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 28px;
    border-top: 2px solid var(--ax-accent);   /* navy accent rule */
}

.ax-figure__num {
    font-family: var(--ax-font-head);
    font-weight: 600;
    font-size: clamp(76px, 11vw, 136px);
    line-height: 0.88;
    letter-spacing: -0.05em;
    color: var(--ax-text);
    font-variant-numeric: tabular-nums;
}

.ax-figure__label {
    font-family: var(--ax-font-body);
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.5;
    color: var(--ax-text-2);
    max-width: 30ch;
}


/* =============================================================================
   DELIVERY — four phases, navy top rules
   ============================================================================= */
.ax-phases {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(26px, 3vw, 44px);
}

.ax-phase {
    padding-top: 22px;
    border-top: 2px solid var(--ax-accent);
}

.ax-phase__no {
    font-family: var(--ax-font-head);
    font-weight: 500;
    font-size: 13px;
    color: var(--ax-text-3);
    font-variant-numeric: tabular-nums;
    display: block;
    margin-bottom: 16px;
}

.ax-phase__name {
    font-family: var(--ax-font-head);
    font-weight: 600;
    font-size: clamp(18px, 1.8vw, 23px);
    letter-spacing: -0.02em;
    color: var(--ax-text);
    margin: 0 0 10px;
}

.ax-phase__desc {
    font-family: var(--ax-font-body);
    font-size: clamp(14px, 1.15vw, 15px);
    line-height: 1.55;
    color: var(--ax-text-2);
    margin: 0;
}


/* =============================================================================
   PROOF — factual credibility. Three pillars, navy top rules.
   ============================================================================= */
.ax-proof__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(32px, 4vw, 64px);
}

.ax-proof__item { display: flex; flex-direction: column; }

.ax-proof__rule {
    width: 32px;
    height: 2px;
    background: var(--ax-accent);
    margin-bottom: 22px;
}

.ax-proof__k {
    font-family: var(--ax-font-head);
    font-weight: 600;
    font-size: clamp(18px, 1.7vw, 22px);
    letter-spacing: -0.02em;
    color: var(--ax-text);
    margin: 0 0 12px;
    line-height: 1.2;
}

.ax-proof__v {
    font-family: var(--ax-font-body);
    font-size: clamp(14.5px, 1.2vw, 16px);
    line-height: 1.6;
    color: var(--ax-text-2);
    margin: 0;
}


/* =============================================================================
   COMMITMENTS — substance over metrics. Four rows.
   ============================================================================= */
.ax-commit {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    border-top: 1px solid var(--ax-border-2);
    max-width: 920px;
}

.ax-commit__item {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0 48px;
    align-items: baseline;
    padding: clamp(24px, 3vw, 36px) 0;
    border-bottom: 1px solid var(--ax-border-2);
}

.ax-commit__k {
    font-family: var(--ax-font-head);
    font-weight: 600;
    font-size: clamp(19px, 2vw, 27px);
    letter-spacing: -0.022em;
    color: var(--ax-text);
    line-height: 1.15;
}

.ax-commit__v {
    font-family: var(--ax-font-body);
    font-size: clamp(15px, 1.25vw, 16.5px);
    line-height: 1.55;
    color: var(--ax-text-2);
}


/* =============================================================================
   ECOSYSTEMS — grouped platform names as text. Quiet credibility, typography
   first. No cards, no logos, no marquee — the names sit as an editorial list,
   secondary to the delivery story.
   ============================================================================= */
.ax-eco__lead {
    font-family: var(--ax-font-body);
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.6;
    color: var(--ax-text-2);
    margin: 22px 0 0;
    max-width: 56ch;
}

.ax-eco {
    margin: clamp(40px, 5vw, 60px) 0 0;
    padding: 0;
    border-top: 1px solid var(--ax-border-2);
    max-width: 920px;
}

.ax-eco__group {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 0 48px;
    align-items: baseline;
    padding: clamp(20px, 2.6vw, 30px) 0;
    border-bottom: 1px solid var(--ax-border-2);
}

/* Small, quiet group label — it organizes, it does not announce. */
.ax-eco__label {
    font-family: var(--ax-font-head);
    font-weight: 500;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ax-text-3);
    margin: 0;
}

/* The names carry the weight — restrained, monochrome, separated by a thin
   middot. No hover theatrics: this is a list, not a logo wall. */
.ax-eco__names {
    font-family: var(--ax-font-head);
    font-weight: 500;
    font-size: clamp(17px, 1.7vw, 22px);
    line-height: 1.5;
    letter-spacing: -0.015em;
    color: var(--ax-text);
    margin: 0;
    white-space: normal;
}


/* CTA (.ax-cta*) is a shared primitive — see ax-system.css. */


/* =============================================================================
   RESPONSIVE — TABLET  ≤ 980px
   ============================================================================= */
@media (max-width: 980px) {
    .ax-cap__row     { grid-template-columns: 1fr; gap: 8px; }
    .ax-phases       { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .ax-mech         { grid-template-columns: 1fr; gap: 44px; }
    .ax-mech__figure { align-self: start; }
    .ax-proof__list  { grid-template-columns: 1fr; gap: 40px; max-width: 620px; }
    .ax-proof__item  { border-top: 1px solid var(--ax-border); padding-top: 24px; }
    .ax-proof__rule  { display: none; }
    .ax-commit__item { grid-template-columns: 1fr; gap: 8px; }
    .ax-eco__group   { grid-template-columns: 120px 1fr; gap: 0 28px; }
}


/* =============================================================================
   RESPONSIVE — MOBILE  ≤ 640px  (deliberate, not a collapse)
   Shared chrome (.axh/.axf) is handled in ax-system.css; this is page sections.
   ============================================================================= */
@media (max-width: 640px) {

    /* Hero sizing is shared (ax-system.css). Page-level button padding only: */
    .ax-btn--solid { padding: 15px 22px; }
    .ax-btn--text { padding: 12px; justify-content: center; }

    /* Problem rows + pivot statement */
    .ax-problem { grid-template-columns: 32px 1fr; gap: 0 14px; padding: 20px 0; }
    .ax-problem__text { font-size: 20px; }
    .ax-aside { font-size: 22px; max-width: 100%; }

    /* Mechanism number stays the hero of its section */
    .ax-figure__num { font-size: clamp(64px, 22vw, 104px); }

    /* Delivery: single column */
    .ax-phases { grid-template-columns: 1fr; gap: 28px; }

    /* Commitments: stack, key above value */
    .ax-commit__item { padding: 22px 0; }
    .ax-commit__k { font-size: 21px; margin-bottom: 6px; }

    /* Ecosystems: stack label above names */
    .ax-eco__group { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
    .ax-eco__names { font-size: 19px; }

    /* CTA mobile is shared (ax-system.css). */
}
