/* An open, five-chapter reading sequence. No content depends on animation or JavaScript. */
.zx-evo {
    --evo-sage: #d9dfcc;
    --evo-dark: #252a23;
}
.zx-evo-heading {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 46px;
}
.zx-evo-heading h2 {
    margin: 12px 0 0;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.45;
    letter-spacing: -0.035em;
}
.zx-evo-heading > p {
    max-width: 360px;
    padding-bottom: 9px;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.95;
}
.zx-evo-chapters {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 34px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.zx-evo-chapter {
    grid-column: span 6;
    min-width: 0;
    padding-top: 18px;
    border-top: 1px solid #b8bcae;
}
.zx-evo-chapter-top {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 32px;
}
.zx-evo-number {
    display: inline-grid;
    flex: 0 0 29px;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid currentColor;
    border-radius: 50%;
    color: #737a68;
    font: 11px/1 var(--mono);
}
.zx-evo-chapter h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
}
.zx-evo-chapter h3 > span {
    display: inline-block;
    font-size: 0.85em;
}
.zx-evo-medium {
    margin-inline-start: auto;
    color: #616958;
    font: 10px/1.5 var(--mono);
    letter-spacing: 0.06em;
}
.zx-evo-thought {
    margin: 14px 0 19px;
    font-size: clamp(23px, 2.4vw, 31px);
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -0.025em;
}
.zx-evo-archive {
    position: relative;
    margin: 0;
}
.zx-evo-photo {
    display: grid;
    place-items: center;
    height: clamp(230px, 26vw, 315px);
    overflow: hidden;
    background: #e9e7df;
}
.zx-evo-photo > img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    filter: grayscale(1);
    object-fit: contain;
}
.zx-evo-photo--card {
    padding: 22px;
    background: #e4e4d8;
}
.zx-evo-photo--apollo {
    background: #e5e3dc;
}
.zx-evo-photo--apollo > img {
    width: auto;
    max-width: 100%;
}
.zx-evo-archive figcaption {
    padding-top: 11px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}
.zx-evo-archive figcaption > span,
.zx-evo-archive figcaption > small {
    display: block;
}
.zx-evo-archive figcaption > small {
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.9;
}
.zx-evo-archive figcaption a {
    text-decoration: underline;
    text-decoration-color: #a5aa99;
    text-underline-offset: 3px;
}
.zx-evo-explanation {
    max-width: 520px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.85;
}
.zx-evo-explanation code {
    display: inline-block;
    padding-inline: 4px;
    color: #3c4534;
    font: 12px/1.4 var(--mono);
}
.zx-evo-chapter--c {
    grid-column: span 7;
}
.zx-evo-chapter--frameworks {
    grid-column: span 5;
}
.zx-evo-code-study,
.zx-evo-component-study {
    min-width: 0;
    min-height: 267px;
    margin: 0;
}
.zx-evo-code-study {
    background: var(--evo-dark);
    color: #f5f3ed;
}
.zx-evo-code-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 19px;
    font-size: 11px;
    line-height: 1.5;
}
.zx-evo-code-label > span:first-child {
    font: 10px/1.5 var(--mono);
}
.zx-evo-code-study .zx-evo-code-label {
    border-bottom: 1px solid #495044;
    color: #bbc3af;
}
.zx-evo-code-study pre,
.zx-evo-component-study pre {
    margin: 0;
    padding: 18px 22px;
    overflow-x: auto;
    text-align: left;
    font: 13px/1.85 var(--mono);
    tab-size: 2;
}
.zx-evo-code-study pre code,
.zx-evo-component-study pre code {
    font: inherit;
}
.zx-evo-code-study .zx-evo-token-muted {
    color: #aeb7a3;
}
.zx-evo-code-study .zx-evo-token-keyword {
    color: #f5b38e;
}
.zx-evo-code-study .zx-evo-token-string {
    color: #d9e6b8;
}
.zx-evo-code-study figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 22px;
    border-top: 1px solid #495044;
    color: #bdc5b3;
    font-size: 11px;
}
.zx-evo-code-study samp {
    color: #eef4e5;
    font: 15px/1.5 var(--mono);
    letter-spacing: 0.06em;
}
.zx-evo-code-study samp > span {
    margin-left: 5px;
    color: #ffa173;
}
.zx-evo-component-study {
    display: flex;
    flex-direction: column;
    background: var(--evo-sage);
}
.zx-evo-component-study .zx-evo-code-label {
    color: #4d5841;
    border-bottom: 1px solid #b9c4aa;
}
.zx-evo-component-study pre {
    padding-block: 17px 11px;
    font-size: 12px;
}
.zx-evo-component-study .zx-evo-token-keyword {
    color: #8b3518;
}
.zx-evo-component-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    flex: 1;
    min-height: 83px;
}
.zx-evo-component-result > p {
    color: #3b452f;
    font: 500 36px/1.2 var(--mono);
    letter-spacing: -0.06em;
}
.zx-evo-component-result > p > span {
    color: #c14921;
}
.zx-evo-bracket {
    color: #82916c;
    font: 44px/1 var(--mono);
    font-weight: 400;
}
.zx-evo-component-study figcaption {
    margin: 0;
    padding: 10px 19px 13px;
    color: #566248;
    font-size: 11px;
    line-height: 1.8;
}
.zx-evo-chapter--human {
    grid-column: 1 / -1;
    padding: 24px 28px 28px;
    border-top: 2px solid var(--orange);
    background: #e9ecdf;
}
.zx-evo-chapter--human .zx-evo-number {
    border-color: var(--orange);
    background: var(--orange);
    color: #252a23;
}
.zx-evo-human-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 44px;
    margin-top: 13px;
    align-items: center;
}
.zx-evo-human-copy .zx-evo-thought {
    margin-top: 0;
}
.zx-evo-human-copy .zx-evo-explanation {
    max-width: 300px;
}
.zx-evo-prompt-study {
    display: grid;
    grid-template-columns: 1.2fr 22px 1fr;
    align-items: center;
    gap: 17px;
    margin: 0;
}
.zx-evo-small-label {
    display: block;
    margin-bottom: 12px;
    color: #69725e;
    font-size: 11px;
    line-height: 1.8;
}
.zx-evo-prompt blockquote {
    margin: 0;
    color: #394131;
    font-size: 17px;
    line-height: 2;
}
.zx-evo-flow-arrow {
    align-self: center;
    color: #879378;
    font: 28px/1 var(--mono);
}
.zx-evo-idea-card {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    min-height: 120px;
    padding: 20px 17px;
    background: #fffdf8;
    border: 1px solid #ced3c1;
}
.zx-evo-idea-card > span {
    color: #343d2b;
    font: 31px/1.2 var(--mono);
    letter-spacing: -0.075em;
}
.zx-evo-idea-card > span > span {
    color: #d34e21;
}
.zx-evo-idea-card > i {
    display: block;
    width: 15px;
    height: 15px;
    align-self: start;
    background: var(--orange);
}
.zx-evo-prompt-study figcaption {
    grid-column: 1 / -1;
    color: #6b745f;
    font-size: 11px;
    line-height: 1.8;
}
.zx-evo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
}
.zx-evo-footer p {
    color: var(--muted);
    font-size: 12px;
}
.zx-evo-footer strong {
    font-size: 15px;
    line-height: 1.9;
    font-weight: 400;
}
.zx-evo-footer strong > span {
    font-weight: 600;
}
@media (max-width: 1050px) {
    .zx-evo-heading {
        gap: 28px;
    }
    .zx-evo-medium {
        font-size: 9px;
    }
    .zx-evo-chapter h3 {
        font-size: 16px;
    }
    .zx-evo-human-layout {
        grid-template-columns: 1fr 1.4fr;
        gap: 25px;
    }
    .zx-evo-prompt-study {
        gap: 10px;
        grid-template-columns: 1fr 17px 1fr;
    }
    .zx-evo-prompt blockquote {
        font-size: 15px;
    }
    .zx-evo-idea-card {
        padding: 15px 12px;
    }
    .zx-evo-idea-card > span {
        font-size: 27px;
    }
}
@media (max-width: 760px) {
    .zx-evo-heading {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 29px;
    }
    .zx-evo-heading h2 {
        font-size: clamp(29px, 6vw, 42px);
    }
    .zx-evo-heading > p {
        max-width: 500px;
        padding: 0;
        font-size: 15px;
    }
    .zx-evo-chapters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 29px 20px;
    }
    .zx-evo-chapter,
    .zx-evo-chapter--c,
    .zx-evo-chapter--frameworks {
        grid-column: span 1;
    }
    .zx-evo-chapter-top {
        flex-wrap: wrap;
        gap: 8px;
    }
    .zx-evo-medium {
        display: none;
    }
    .zx-evo-thought {
        margin-block: 12px 15px;
        font-size: 23px;
    }
    .zx-evo-photo {
        height: 240px;
    }
    .zx-evo-photo--card {
        padding: 12px;
    }
    .zx-evo-archive figcaption {
        font-size: 11px;
    }
    .zx-evo-archive figcaption > small {
        font-size: 10px;
    }
    .zx-evo-code-label {
        flex-wrap: wrap;
        gap: 3px 12px;
        padding: 11px 15px;
    }
    .zx-evo-code-label > span:last-child {
        font-size: 10px;
    }
    .zx-evo-code-study pre,
    .zx-evo-component-study pre {
        padding-inline: 15px;
        font-size: 11px;
    }
    .zx-evo-code-study figcaption {
        padding-inline: 15px;
    }
    .zx-evo-chapter--human {
        grid-column: 1 / -1;
        padding: 22px;
    }
    .zx-evo-human-layout {
        grid-template-columns: 1fr;
        gap: 23px;
        margin-top: 19px;
    }
    .zx-evo-human-copy {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 22px;
        align-items: center;
    }
    .zx-evo-human-copy .zx-evo-thought,
    .zx-evo-human-copy .zx-evo-explanation {
        margin: 0;
    }
    .zx-evo-prompt-study {
        gap: 16px;
        grid-template-columns: 1.1fr 24px 1fr;
    }
    .zx-evo-idea-card {
        min-height: 116px;
        padding: 20px;
    }
    .zx-evo-idea-card > span {
        font-size: 33px;
    }
    .zx-evo-footer {
        display: block;
        margin-top: 20px;
    }
    .zx-evo-footer strong {
        display: block;
        margin-top: 7px;
    }
}
@media (max-width: 540px) {
    .zx-evo-chapters {
        display: block;
    }
    .zx-evo-chapter + .zx-evo-chapter {
        margin-top: 30px;
    }
    .zx-evo-chapter h3 {
        font-size: 18px;
    }
    .zx-evo-medium {
        display: inline;
        font-size: 9px;
    }
    .zx-evo-photo {
        height: 250px;
    }
    .zx-evo-photo--card {
        height: 196px;
        padding: 13px;
    }
    .zx-evo-archive figcaption {
        font-size: 11px;
    }
    .zx-evo-explanation {
        margin-top: 11px;
        font-size: 13px;
    }
    .zx-evo-code-study,
    .zx-evo-component-study {
        min-height: 0;
    }
    .zx-evo-code-study pre,
    .zx-evo-component-study pre {
        font-size: 12px;
    }
    .zx-evo-component-result {
        min-height: 90px;
    }
    .zx-evo-chapter--human {
        padding: 20px 17px;
    }
    .zx-evo-human-copy {
        display: block;
    }
    .zx-evo-human-copy .zx-evo-thought {
        margin-bottom: 10px;
    }
    .zx-evo-human-copy .zx-evo-explanation {
        max-width: none;
    }
    .zx-evo-prompt-study {
        gap: 10px;
        grid-template-columns: 1.15fr 13px 1fr;
    }
    .zx-evo-prompt blockquote {
        font-size: 14px;
        line-height: 1.9;
    }
    .zx-evo-small-label {
        font-size: 10px;
        margin-bottom: 8px;
    }
    .zx-evo-idea-card {
        min-height: 111px;
        padding: 13px 10px;
    }
    .zx-evo-idea-card > span {
        font-size: 25px;
    }
    .zx-evo-idea-card > i {
        position: absolute;
        top: 12px;
        inset-inline-end: 10px;
        width: 10px;
        height: 10px;
    }
    .zx-evo-flow-arrow {
        font-size: 20px;
    }
    .zx-evo-prompt-study figcaption {
        margin-top: 5px;
        font-size: 10px;
    }
    .zx-evo-footer strong {
        font-size: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .zx-evo *,
    .zx-evo *::before,
    .zx-evo *::after {
        animation: none !important;
        transition: none !important;
    }
}
