/* ============================================================
   Ecosystem page — /noema/ecosystem
   ============================================================ */

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* Hero */
.eco-hero {
    padding-block: var(--space-24) var(--space-12);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}
.eco-hero h1 {
    font-size: var(--text-5xl);
    max-width: 16ch;
    color: var(--color-navy);
}
.eco-hero-sub {
    font-size: var(--text-xl);
    color: var(--color-gray-500);
    max-width: 60ch;
    line-height: var(--leading-normal);
}

/* Loop diagram — figure styles (.eco-loop*) live in the global noema.css,
   shared with the home intro. This page only owns the section spacing. */
.eco-loop-section {
    padding-bottom: var(--space-16);
}

/* How the loop runs — steps */
.eco-steps-section {
    padding-block: var(--space-16);
    border-top: 1px solid var(--color-gray-200);
}
.eco-steps-section h2 {
    margin-bottom: var(--space-10);
}
.eco-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10) var(--space-12);
    max-width: 64rem;
}
.eco-step {
    display: flex;
    gap: var(--space-5);
    align-items: flex-start;
}
.eco-step-n {
    flex-shrink: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-mono);
    font-size: var(--text-lg);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.eco-step h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}
.eco-step p {
    font-size: var(--text-base);
    color: var(--color-gray-800);
    line-height: var(--leading-normal);
}

/* One paradigm, five domains */
.eco-paradigm-section {
    padding-block: var(--space-16);
}
.eco-paradigm-lede {
    font-size: var(--text-lg);
    color: var(--color-gray-800);
    max-width: var(--max-width-prose);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-8);
}
.eco-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: var(--color-white);
}
.eco-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: var(--text-sm);
}
.eco-table th,
.eco-table td {
    text-align: left;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--color-gray-200);
    vertical-align: top;
}
.eco-table thead th {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray-500);
    background: var(--color-off-white);
}
.eco-table tbody th {
    font-weight: 700;
    color: var(--color-navy);
    white-space: nowrap;
}
.eco-table td { color: var(--color-gray-800); }
.eco-table tbody tr:last-child th,
.eco-table tbody tr:last-child td { border-bottom: none; }
.eco-table code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--color-gray-100);
    padding: 0.1em 0.4em;
    border-radius: var(--radius-sm);
}

.eco-paradigm-quote {
    margin: var(--space-10) 0 0;
    padding-left: var(--space-6);
    border-left: 4px solid var(--color-accent);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--color-navy);
    max-width: var(--max-width-prose);
    line-height: var(--leading-normal);
}

/* CTA */
.eco-cta-section {
    padding-block: var(--space-16);
    text-align: center;
}
.eco-cta-section h2 { margin-bottom: var(--space-8); }
.eco-ctas {
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .eco-hero h1 { font-size: var(--text-4xl); }
    .eco-steps { grid-template-columns: 1fr; gap: var(--space-8); }
}
