/* ============================================================
   i2X - Ecosystem page
   Concept C: brand-aligned light palette.
   Navy #212B55 · Blue #3A4A9A · Yellow #FFED00 · Cream #FAFBFD
   ============================================================ */

.eco-root {
  /* ── Concept C brand-aligned palette ──────────────────────── */
  --eco-bg:               #FAFBFD;   /* cream page bg             */
  --eco-bg-alt:           #FFFFFF;   /* white alt surface         */
  --eco-surface:          #FFFFFF;   /* card / panel surface      */
  --eco-surface-2:        #F2F4FB;   /* blue-tinted surface       */
  --eco-border:           #E4E7F0;   /* default border            */
  --eco-border-soft:      #DDE0EC;   /* soft divider              */
  --eco-accent:           #3A4A9A;   /* blue - primary accent     */
  --eco-accent-bg:        #E8EAF5;   /* blue-100 pill / icon bg   */
  --eco-accent-bg-strong: #212B55;   /* navy - strong accent bg   */
  --eco-highlight:        #FFED00;   /* yellow - visual accent    */
  --eco-amber:            #FFED00;
  --eco-amber-bg:         #FFF7A8;
  --eco-text:             #3A4565;   /* ink-2 body text           */
  --eco-muted:            #6B7596;   /* ink-3 muted / metadata    */
  --eco-white:            #FFFFFF;

  font-family: "Inter", system-ui, sans-serif;
  color: var(--eco-text);
  background: var(--eco-bg);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden; overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.eco-root *, .eco-root *::before, .eco-root *::after { box-sizing: border-box; }
.eco-root img, .eco-root video, .eco-root svg { max-width: 100%; height: auto; }
/* Zero specificity so single-class buttons (.eco-cta-btn and friends) keep their own text colour. */
:where(.eco-root) a { color: inherit; text-decoration: none; }
.eco-root a:hover { color: var(--eco-accent); }

/* ── Hero ──────────────────────────────────────────────────── */
.eco-hero {
  background:
    radial-gradient(ellipse 60% 50% at 85% 25%, rgba(58,74,154,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 0% 100%, rgba(255,237,0,0.06) 0%, transparent 55%),
    linear-gradient(180deg, #FAFBFE 0%, #EEF1F9 100%);
  padding: 56px 40px 72px;
  border-bottom: 1px solid #E4E7F0;
  position: relative;
  overflow: hidden;
}
.eco-hero::before { display: none; }
.eco-hero-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
}
.eco-breadcrumb {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--eco-muted);
  font-size: 12px; font-weight: 500; letter-spacing: 0.02em;
  margin-bottom: 28px;
  text-decoration: none;
}
.eco-breadcrumb:hover .eco-bc-home { color: var(--eco-accent); }
.eco-bc-home { color: var(--eco-muted); transition: color 140ms; }
.eco-bc-sep  { color: var(--eco-muted); opacity: 0.5; }
.eco-bc-on   { color: #212B55; font-weight: 500; }
.eco-h1 {
  font-size: 52px; font-weight: 600;
  color: #212B55;
  letter-spacing: -0.02em; line-height: 1.05;
  margin: 0 0 18px;
}
.eco-hero-sub {
  font-size: 20px; font-weight: 400;
  color: var(--eco-text); line-height: 1.5;
  max-width: 560px; margin: 0; text-wrap: pretty;
}

/* ── Body shell ────────────────────────────────────────────── */
.eco-body { background: var(--eco-bg); }
.eco-body-inner {
  max-width: 1180px; margin: 0 auto;
  padding: 64px 40px 96px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: flex-start;
}

/* Sticky side-nav */
.eco-sidenav {
  position: sticky;
  top: 32px;
  align-self: flex-start;
}
.eco-sidenav-h {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--eco-accent); font-weight: 600; margin: 0 0 16px;
}
.eco-sidenav ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
  border-left: 1px solid var(--eco-border);
}
.eco-sidenav a {
  display: block;
  padding: 10px 0 10px 16px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  color: var(--eco-muted);
  font-size: 14px; font-weight: 500;
  transition: color 140ms, border-color 140ms;
  text-decoration: none;
}
.eco-sidenav a:hover { color: var(--eco-text); }
.eco-sidenav a.is-on {
  color: #212B55;
  border-left-color: var(--eco-accent);
  background: #F2F4FB;
  font-weight: 600;
}

/* Main column */
.eco-main { max-width: 820px; width: 100%; min-width: 0; }
.eco-sidenav { min-width: 0; }

/* Section rhythm */
.eco-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--eco-border-soft);
}
.eco-section:first-child { padding-top: 0; }
.eco-section:last-child  { border-bottom: none; padding-bottom: 0; }

.eco-section-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--eco-accent); margin: 0 0 14px;
}
.eco-h2 {
  font-size: 32px; font-weight: 600;
  color: #212B55;
  letter-spacing: -0.015em; line-height: 1.15;
  margin: 0 0 24px; text-wrap: balance;
}
.eco-intro {
  font-size: 16px; font-weight: 400;
  color: var(--eco-muted); line-height: 1.6;
  margin: 0 0 32px; max-width: 60ch; text-wrap: pretty;
}
.eco-p {
  font-size: 17px; font-weight: 400;
  color: var(--eco-text); line-height: 1.65;
  margin: 0 0 20px; text-wrap: pretty;
}
.eco-p:last-child { margin-bottom: 0; }

/* ── §1 Duo cards (Outreach / Concertation) ────────────────── */
.eco-duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.eco-duo-card {
  background: var(--eco-surface);
  border: 1px solid var(--eco-border);
  border-radius: 14px; padding: 22px 22px 24px;
  position: relative;
  box-shadow: 0 1px 0 rgba(33,43,85,0.02);
}
.eco-duo-card::before {
  content: "";
  position: absolute; top: 0; left: 22px; right: 22px;
  height: 2px; background: var(--eco-accent);
  border-radius: 0 0 2px 2px;
}
.eco-duo-l {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--eco-accent); margin: 8px 0;
}
.eco-duo-t {
  font-size: 17px; font-weight: 600;
  color: #212B55; margin: 0 0 10px; letter-spacing: -0.005em;
}
.eco-duo-b {
  font-size: 14px; line-height: 1.6; color: var(--eco-text); margin: 0;
}

/* ── §2 Audience cards (3 col) ─────────────────────────────── */
.eco-audience-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.eco-audience-card {
  position: relative;
  background: var(--eco-surface);
  border: 1px solid var(--eco-border);
  border-radius: 14px; padding: 28px 24px 26px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(33,43,85,0.02);
}
.eco-audience-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--eco-accent);
}
.eco-audience-icon {
  width: 28px; height: 28px;
  color: var(--eco-accent); margin-bottom: 14px;
  display: flex; align-items: center;
}
.eco-audience-pill {
  display: inline-flex; align-self: flex-start;
  background: var(--eco-accent-bg);
  color: var(--eco-accent);
  font-size: 11px; font-weight: 600;
  padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.01em; margin-bottom: 14px;
  border: 1px solid transparent;
}
.eco-audience-h {
  font-size: 18px; font-weight: 600;
  color: #212B55; line-height: 1.3; letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.eco-audience-body {
  font-size: 14px; color: var(--eco-text); line-height: 1.6; margin: 0 0 18px;
}
.eco-audience-l {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--eco-muted); margin: 0 0 10px;
}
.eco-audience-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.eco-audience-list li {
  font-size: 13px; line-height: 1.5; color: var(--eco-text);
  padding-left: 18px; position: relative;
}
.eco-audience-list li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--eco-accent);
}

/* ── §3 PHASES ─────────────────────────────────────────────── */
.eco-phases {
  position: relative; display: flex; flex-direction: column; gap: 14px;
}
.eco-phase {
  position: relative;
  background: var(--eco-surface);
  border: 1px solid var(--eco-border);
  border-radius: 14px;
  padding: 22px 24px 22px 96px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(33,43,85,0.02);
}
.eco-phase::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--eco-accent);
}
.eco-phase-num {
  position: absolute; top: 22px; left: 28px;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--eco-accent-bg);
  color: var(--eco-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  flex-direction: column; line-height: 1.1;
  border: 1px solid var(--eco-border);
}
.eco-phase-num strong {
  font-size: 22px; letter-spacing: 0; color: #212B55; font-weight: 700;
}
.eco-phase-head {
  display: flex; align-items: baseline; gap: 10px;
  margin: 0 0 10px; flex-wrap: wrap;
}
.eco-phase-tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--eco-accent);
}
.eco-phase-t {
  font-size: 18px; font-weight: 600;
  color: #212B55; margin: 0; letter-spacing: -0.005em; line-height: 1.3;
}
.eco-phase-b {
  font-size: 14px; color: var(--eco-text); line-height: 1.6;
  margin: 0 0 12px; max-width: 64ch;
}
.eco-phase-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px 18px;
}
.eco-phase-bullets li {
  font-size: 13px; line-height: 1.5; color: var(--eco-muted);
  padding-left: 14px; position: relative;
}
.eco-phase-bullets li::before {
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 5px; height: 5px; border-radius: 2px; background: var(--eco-accent);
}
.eco-phase-note {
  text-align: center; font-size: 13px; color: var(--eco-muted); font-style: italic;
  margin: 22px auto 0; max-width: 70ch; text-wrap: pretty; line-height: 1.55;
}

/* ── §4 Standing structures ────────────────────────────────── */
.eco-structures-l {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: #212B55; margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.eco-structures-l::before {
  content: "";
  display: inline-block; width: 22px; height: 1px; background: var(--eco-accent);
}
.eco-structures {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 28px;
}
.eco-structure {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F4FB 100%);
  border: 1px solid var(--eco-border);
  border-radius: 14px; padding: 26px 22px 24px;
  display: flex; flex-direction: column; overflow: hidden;
}
.eco-structure::after {
  content: "";
  position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(58,74,154,0.10), transparent 70%);
  pointer-events: none;
}
.eco-structure-code {
  font-family: "Red Hat Mono", ui-monospace, monospace;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--eco-accent); margin: 0 0 8px;
}
.eco-structure-t {
  font-size: 18px; font-weight: 600;
  color: #212B55; margin: 0 0 6px; letter-spacing: -0.005em; line-height: 1.25;
}
.eco-structure-who {
  font-size: 12.5px; font-weight: 500; color: var(--eco-muted); margin: 0 0 14px;
}
.eco-structure-b {
  font-size: 14px; color: var(--eco-text); line-height: 1.6; margin: 0 0 14px; flex: 1 1 auto;
}
.eco-structure-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.eco-meta-chip {
  font-size: 11px; font-weight: 500;
  padding: 4px 9px; border-radius: 6px;
  background: #FAFBFD;
  border: 1px solid var(--eco-border);
  color: var(--eco-text);
}
.eco-meta-chip strong {
  color: #212B55; font-weight: 600; margin-right: 4px;
}

/* Activity cards (3 col) */
.eco-activity-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.eco-activity-card {
  background: var(--eco-surface);
  border: 1px solid var(--eco-border);
  border-radius: 14px; padding: 24px;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(33,43,85,0.02);
}
.eco-activity-icon {
  width: 24px; height: 24px; color: var(--eco-accent); margin-bottom: 14px;
}
.eco-activity-t {
  font-size: 16px; font-weight: 600; color: #212B55;
  margin: 0 0 10px; letter-spacing: -0.005em;
}
.eco-activity-b {
  font-size: 14px; color: var(--eco-text); line-height: 1.6; margin: 0;
}

/* ── §5 CTA cards ──────────────────────────────────────────── */
.eco-cta-cards {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 16px;
}
.eco-cta-card {
  background: var(--eco-surface);
  border: 1px solid var(--eco-border);
  border-radius: 14px; padding: 26px 24px;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(33,43,85,0.02);
}
.eco-cta-icon {
  width: 28px; height: 28px;
  color: var(--eco-accent);
  background: var(--eco-accent-bg);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  padding: 4px;
}
.eco-cta-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--eco-accent); font-weight: 600; margin: 0 0 8px;
}
.eco-cta-t {
  font-size: 16px; font-weight: 600;
  color: #212B55; margin: 0 0 12px; letter-spacing: -0.005em; line-height: 1.3;
}
.eco-cta-b {
  font-size: 14px; color: var(--eco-muted); line-height: 1.6;
  margin: 0 0 22px; flex: 1 1 auto;
}
.eco-cta-btn {
  background: #212B55;
  color: #fff;
  font-size: 14px; font-weight: 600;
  padding: 14px 16px;
  border: none; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: space-between; gap: 8px;
  text-decoration: none;
  transition: background 160ms, transform 160ms;
  min-height: 44px;
}
.eco-cta-btn:hover {
  background: #FFED00;
  color: #212B55;
  text-decoration: none;
  transform: translateY(-1px);
}
.eco-cta-btn .arr { transition: transform 160ms; }
.eco-cta-btn:hover .arr { transform: translateX(2px); }

/* ── §3 "How to join" highlighted callout ───────────────────────
   The page's one deliberate yellow moment (per brand: yellow is
   reserved for a single accent), used here to make the step-by-step
   stand out from the plain white cards around it. ── */
.eco-howjoin-card {
  position: relative;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--eco-amber-bg) 0%, #FFFDE8 55%, #FFFFFF 100%);
  border: 1px solid #F0E29A;
  border-radius: 16px;
  padding: 28px 30px 30px;
  overflow: hidden;
}
.eco-howjoin-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--eco-amber);
}
.eco-howjoin-head {
  display: flex; align-items: flex-start; gap: 14px;
  margin-bottom: 24px;
}
.eco-howjoin-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #212B55;
  color: var(--eco-amber);
  display: flex; align-items: center; justify-content: center;
}
.eco-howjoin-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #212B55; margin: 0 0 6px;
}
.eco-howjoin-label::before {
  content: ""; width: 24px; height: 2px; background: #212B55; flex-shrink: 0;
}
.eco-howjoin-t {
  font-size: 18px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
  color: #212B55; margin: 0;
}
.eco-howjoin-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.eco-howjoin-step {
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px; font-weight: 500; line-height: 1.55; color: #3A4565;
}
.eco-howjoin-step:not(:last-child)::after {
  content: "→";
  position: absolute; top: 3px; right: -18px;
  font-size: 15px; font-weight: 600; color: #B8A400;
}
.eco-howjoin-n {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #212B55;
  color: var(--eco-amber);
  display: flex; align-items: center; justify-content: center;
  font-family: "Red Hat Mono", monospace;
  font-size: 12px; font-weight: 700;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .eco-body-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 28px 80px; }
  .eco-sidenav { position: static; }
  .eco-sidenav ul {
    flex-direction: row; border-left: none; gap: 6px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .eco-sidenav a {
    padding: 10px 16px; border-radius: 999px;
    border: 1px solid var(--eco-border); border-left-width: 1px;
    white-space: nowrap; min-height: 44px;
    display: inline-flex; align-items: center;
  }
  .eco-sidenav a.is-on {
    background: var(--eco-accent-bg);
    border-color: var(--eco-accent);
    color: #212B55;
  }
  .eco-audience-cards { grid-template-columns: 1fr; }
  .eco-duo { grid-template-columns: 1fr; }
  .eco-structures { grid-template-columns: 1fr; }
  .eco-activity-grid { grid-template-columns: 1fr; }
  .eco-cta-cards { grid-template-columns: 1fr; }
  .eco-phase-bullets { grid-template-columns: 1fr 1fr; }
  .eco-howjoin-steps { grid-template-columns: 1fr; gap: 18px; }
  .eco-howjoin-step:not(:last-child)::after { content: none; }
}
@media (max-width: 720px) {
  .eco-hero { padding: 48px 24px 56px; }
  .eco-h1 { font-size: 40px; }
  .eco-hero-sub { font-size: 17px; }
  .eco-phase { padding: 22px; }
  .eco-phase-num { position: static; margin-bottom: 14px; }
  .eco-phase-bullets { grid-template-columns: 1fr; }
  .eco-howjoin-card { padding: 24px 22px 26px; }
  .eco-howjoin-head { gap: 12px; }
}
@media (max-width: 600px) {
  .eco-hero { padding: 40px 20px 48px; }
  .eco-body-inner { padding: 40px 20px 72px; }
}
