/* Robots page — editorial layout (aligned with compute page) */

body.page-robots {
    background: #05070a;
}

body.page-robots .page-hero {
    padding-bottom: 56px !important;
}

.section-head--compact {
    margin-bottom: 44px;
}

/* Cover */
.robot-cover {
    position: relative;
    margin: -12px 0 0;
    max-height: min(58vh, 560px);
    overflow: hidden;
}

.robot-cover img {
    width: 100%;
    height: min(58vh, 560px);
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.robot-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 7, 10, .2) 0%, rgba(5, 7, 10, .55) 45%, #05070a 100%),
        linear-gradient(90deg, rgba(5, 7, 10, .8) 0%, rgba(5, 7, 10, .15) 45%, transparent 70%);
    pointer-events: none;
}

.robot-cover__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 72px;
    z-index: 1;
    padding: 0 max(var(--gutter, 24px), calc((100vw - var(--container, 1120px))/2 + var(--gutter, 24px)));
    max-width: 640px;
}

.robot-cover__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(216, 180, 255, .92);
}

.robot-cover__lead {
    margin: 0;
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    letter-spacing: -.02em;
}

.robot-cover__cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0 max(var(--gutter, 24px), calc((100vw - var(--container, 1120px))/2 + var(--gutter, 24px))) 24px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
    z-index: 1;
}

.robot-main {
    padding-top: 48px;
    padding-bottom: 24px;
}

.stats-strip--4 {
    grid-template-columns: repeat(4, 1fr);
}

.stats-strip--4 .stat:last-child {
    border-right: 0;
}

/* Scene list � two columns, divider rows */
.robot-scene-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    margin-bottom: 88px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.robot-scene-row {
    display: block;
    padding: 22px 12px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.robot-scene-row:last-child {
    border-right: 0;
}

.robot-scene-row__no {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #c9a227;
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.robot-scene-row__body h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.robot-scene-row__body>p {
    display: none;
}

.robot-scene-row__meta {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .42);
}

/* Process track */
.robot-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 88px;
    position: relative;
    padding-top: 20px;
}

.robot-track::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 27px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, .45) 15%, rgba(201, 162, 39, .45) 85%, transparent);
}

.robot-track__step {
    text-align: center;
    padding: 0 8px;
    min-width: 0;
}

.robot-track__dot {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin: 0 auto 14px;
    font-size: 11px;
    font-weight: 700;
    color: #1a1408;
    background: linear-gradient(145deg, #f5e6b8, #c9a227);
    border-radius: 50%;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px #05070a;
}

.robot-track__step b {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    line-height: 1.35;
}

.robot-track__step>span:last-child {
    display: block;
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .42);
}

/* Capability matrix */
.robot-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 56px;
}

.robot-matrix__col h4 {
    margin: 0 0 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(216, 180, 255, .85);
}

.robot-matrix__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.robot-matrix__col li {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.robot-matrix__col li:first-child {
    padding-top: 0;
    border-top: 0;
}

.robot-matrix__col li b {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.robot-matrix__col li span {
    display: block;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .45);
}

/* Matrix first column: one row */
.robot-matrix__col--row {
    grid-column: 1/-1;
}

.robot-matrix__col--row ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .06);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.robot-matrix__col--row li {
    padding: 18px 10px;
    text-align: center;
    border-top: 0;
    border-right: 1px solid rgba(255, 255, 255, .06);
}

/* Reset first-item override from generic matrix list rule. */
.robot-matrix__col--row li:first-child {
    padding-top: 18px;
}

.robot-matrix__col--row li:last-child {
    border-right: 0;
}

.robot-matrix__col--row li b {
    font-size: 14px;
    margin-bottom: 6px;
}

.robot-matrix__col--row li span {
    font-size: 12px;
    line-height: 1.5;
}

.robot-trust {
    list-style: none;
    margin: 0 0 16px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 32px;
    text-align: center;
}

.robot-trust li {
    font-size: 14px;
    color: rgba(255, 255, 255, .45);
    line-height: 1.6;
}

.robot-cta-wrap {
    padding-bottom: 64px;
}

.robot-cta-wrap .cta-wrap {
    padding: 48px 0 0;
}

@media(max-width:960px) {

    .robot-cover__overlay,
    .robot-cover__cap {
        padding-left: var(--gutter, 20px);
        padding-right: var(--gutter, 20px);
    }

    .robot-scene-list {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        margin-bottom: 64px;
        border-top: 1px solid rgba(255, 255, 255, .08);
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .robot-scene-row {
        flex: 0 0 min(42%, 220px);
        scroll-snap-align: start;
        border-right: 1px solid rgba(255, 255, 255, .08);
        border-bottom: 0;
    }

    .robot-matrix__col--row ul {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .robot-matrix__col--row li {
        flex: 0 0 min(42%, 200px);
        border-right: 1px solid rgba(255, 255, 255, .06);
        border-bottom: 0;
    }

    .robot-track {
        grid-template-columns: 1fr;
        margin-bottom: 64px;
        padding-top: 0;
    }

    .robot-track::before {
        display: none
    }

    .robot-track__step {
        display: grid;
        grid-template-columns: 36px 1fr;
        gap: 4px 16px;
        text-align: left;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .robot-track__step:last-child {
        border-bottom: 0
    }

    .robot-track__dot {
        grid-row: span 2;
        margin: 0;
        align-self: start;
    }

    .robot-matrix {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 40px;
    }

    .stats-strip--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {
    .stats-strip--4 {
        grid-template-columns: 1fr;
    }

    .stats-strip--4 .stat {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .stats-strip--4 .stat:last-child {
        border-bottom: 0
    }

    .robot-trust {
        flex-direction: column;
        gap: 12px;
    }
}