/* The architecture is live HTML; the existing brand palette and type stay in charge. */
#ecosystem {
  --eco-line: rgba(123, 201, 130, .35);
  position: relative;
  isolation: isolate;
  padding: 92px 0 76px;
  overflow: hidden;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
#ecosystem::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(2,15,22,.78), var(--bg) 85%), url('../assets/images/hero-office-desktop.a7762e6ffef1.webp') center top / cover no-repeat;
  opacity: .45;
  content: "";
  pointer-events: none;
}
#ecosystem .eco-layout { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1.65fr) minmax(0, .88fr); gap: 28px; align-items: center; }
#ecosystem .eco-overview { min-width: 0; }
#ecosystem .eyebrow { margin: 0 0 18px; color: var(--green); font-size: 10px; line-height: 1.6; letter-spacing: .16em; }
#ecosystem h2 { margin: 0 0 22px; font: 500 clamp(32px, 3.1vw, 44px)/1.12 var(--font-heading); letter-spacing: normal; text-wrap: balance; }
#ecosystem h2 span { display: block; color: var(--green); }
#ecosystem .eco-intro { margin: 0; color: var(--text-secondary); font-size: 15px; line-height: 1.65; text-wrap: pretty; }
#ecosystem .eco-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; margin: 32px 0 0; padding: 0; list-style: none; }
#ecosystem .eco-features li { min-width: 0; border-top: 1px solid var(--border); padding-top: 16px; }
#ecosystem .eco-icon { display: block; flex: none; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--green); }
#ecosystem .eco-feature-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; margin-bottom: 12px; border: 1px solid var(--border); border-radius: 12px; background: rgba(68,160,101,.055); color: var(--green); }
#ecosystem .eco-feature-icon .meaning-icon { width: 22px; height: 22px; }
#ecosystem .eco-features p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
#ecosystem .eco-diagram { min-width: 0; margin: 0; padding-top: 120px; }
#ecosystem .eco-levels { display: flex; flex-direction: column-reverse; gap: 21px; margin: 0; padding: 0; list-style: none; }
#ecosystem .eco-level { position: relative; isolation: isolate; align-self: center; width: 100%; padding: 18px 33px; text-align: center; filter: drop-shadow(0 12px 20px rgba(0,0,0,.2)); }
#ecosystem .eco-level:not(.eco-level--owner)::before { position: absolute; top: -21px; left: calc(50% - .5px); width: 1px; height: 21px; background: var(--green); opacity: .65; content: ""; }
#ecosystem .eco-level:not(.eco-level--owner)::after { position: absolute; top: -15px; left: calc(50% - 4px); width: 8px; height: 8px; border-top: 2px solid var(--green); border-left: 2px solid var(--green); transform: rotate(45deg); content: ""; }
#ecosystem .eco-slab { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; overflow: visible; fill: url(#eco-layer-fill); stroke: var(--eco-line); stroke-width: 1; }
#ecosystem .eco-slab path { vector-effect: non-scaling-stroke; }
#ecosystem .eco-level h3 { display: flex; justify-content: center; align-items: center; gap: 9px; margin: 0; color: var(--text); font: 500 15px/1.3 var(--font-heading); }
#ecosystem .eco-level h3 .eco-icon { width: 23px; height: 23px; }
#ecosystem .eco-level p { margin: 7px 0 0; color: var(--text-secondary); font-size: 11px; line-height: 1.5; text-wrap: pretty; }
#ecosystem .eco-level--process { width: 92%; padding-inline: 34px; }
#ecosystem .eco-level--ai { width: 83%; --eco-line: rgba(123,201,130,.65); }
#ecosystem .eco-level--owner { width: 69%; padding: 22px 18px 16px; }
#ecosystem .eco-level--owner .eco-slab { top: -112px; height: calc(100% + 112px); }
#ecosystem .eco-person { position: absolute; z-index: -1; top: -115px; left: calc(50% - 75px); width: 150px; height: 125px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
#ecosystem .eco-person img { display: block; width: 150px; height: 150px; object-fit: contain; }
#ecosystem .eco-tags { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
#ecosystem .eco-tags li { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 5px 7px; border: 1px solid rgba(123,201,130,.19); border-radius: 6px; background: rgba(2,15,22,.45); color: var(--text-secondary); font: 400 10px/1.2 var(--font-body); white-space: nowrap; }
#ecosystem .eco-tags .eco-icon { width: 13px; height: 13px; }
#ecosystem .eco-diagram figcaption { margin-top: 20px; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; text-wrap: balance; }
#ecosystem .eco-outcomes { min-width: 0; padding: 24px 16px 12px; border: 1px solid var(--border); border-radius: var(--radius); background: rgba(6,35,48,.7); }
#ecosystem .eco-outcomes .eyebrow { margin: 0 8px 8px; font-size: 9px; }
#ecosystem .eco-outcomes > h3 { margin: 0 8px 22px; color: var(--green); font: 500 20px/1.25 var(--font-heading); }
#ecosystem .eco-outcome-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
#ecosystem .eco-outcome-list li { display: flex; gap: 12px; align-items: flex-start; min-width: 0; padding: 18px 8px; border-top: 1px solid var(--border); }
#ecosystem .eco-outcome-list p { margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.6; }
#ecosystem .eco-actions { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 12px; text-align: center; }
#ecosystem .eco-actions .button { gap: 16px; min-height: 48px; padding-inline: 28px; }
#ecosystem .eco-actions .soft-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; }
#ecosystem .eco-actions .soft-link svg { width: 15px; height: 15px; }
@media (min-width: 1100px) {
  #ecosystem .eco-layout { gap: 24px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  #ecosystem .eco-layout { grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr); gap: 32px; }
  #ecosystem .eco-outcomes { grid-column: 1 / -1; padding: 24px; }
  #ecosystem .eco-outcome-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  #ecosystem .eco-outcome-list li { flex-direction: column; padding: 16px 0 0; }
}
@media (max-width: 899px) {
  #ecosystem { padding: 64px 0; }
  #ecosystem .eco-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  #ecosystem .eco-overview { display: contents; }
  #ecosystem .eco-heading { order: 0; max-width: 560px; margin-inline: auto; text-align: center; }
  #ecosystem h2 { font-size: clamp(32px, 6vw, 44px); }
  #ecosystem .eco-heading .eyebrow { margin-bottom: 14px; }
  #ecosystem .eco-diagram { order: 1; width: min(100%, 540px); justify-self: center; }
  #ecosystem .eco-features { order: 2; width: min(100%, 640px); justify-self: center; margin: 0; gap: 24px; }
  #ecosystem .eco-outcomes { order: 3; width: min(100%, 640px); justify-self: center; padding: 24px; }
  #ecosystem .eco-outcome-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  #ecosystem .eco-outcome-list li { padding: 18px 0 0; }
  #ecosystem .eco-actions { order: 4; margin-top: 0; }
}
@media (max-width: 575px) {
  #ecosystem .eco-layout { gap: 30px; }
  #ecosystem .eco-intro { font-size: 14px; }
  #ecosystem h2 { font-size: 34px; }
  #ecosystem .eco-diagram { padding-top: 111px; }
  #ecosystem .eco-level { padding: 17px 18px; }
  #ecosystem .eco-level h3 { gap: 6px; font-size: 13px; }
  #ecosystem .eco-level h3 .eco-icon { width: 20px; height: 20px; }
  #ecosystem .eco-level p { font-size: 10px; }
  #ecosystem .eco-level--owner { width: 81%; padding: 20px 14px 16px; }
  #ecosystem .eco-level--owner h3 { font-size: 14px; }
  #ecosystem .eco-level--ai { width: 88%; }
  #ecosystem .eco-level--process { width: 94%; padding-inline: 22px; }
  #ecosystem .eco-tags { gap: 5px; }
  #ecosystem .eco-tags li { min-height: 27px; padding: 5px 6px; font-size: 10px; }
  #ecosystem .eco-outcomes { padding: 22px 18px 8px; }
  #ecosystem .eco-outcome-list { gap: 0; grid-template-columns: minmax(0, 1fr); }
  #ecosystem .eco-outcome-list li { padding: 18px 0; }
  #ecosystem .eco-actions .button { width: 100%; max-width: 350px; }
}
@media (max-width: 360px) {
  #ecosystem h2 { font-size: 30px; }
  #ecosystem .eco-level { padding-inline: 16px; }
  #ecosystem .eco-level--owner { padding-inline: 10px; }
  #ecosystem .eco-level--process { padding-inline: 20px; }
  #ecosystem .eco-level h3 { font-size: 12px; }
  #ecosystem .eco-level h3 .eco-icon { width: 18px; height: 18px; }
  #ecosystem .eco-features { gap: 20px 16px; }
}

@media (max-width: 575px) {
  #ecosystem .eco-features { grid-template-columns: minmax(0, 1fr); gap: 0; }
  #ecosystem .eco-features li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 0; }
  #ecosystem .eco-feature-icon { margin: 0; }
}
