/* FaultLine — "Friends in the Space" ecosystem page.
   Celebratory, generous card grid of the LLM memory-layer neighbourhood.
   Shares the landing.css theme tokens + terminal aesthetic; self-contained
   (no external fonts/images/scripts). */

/* ── page shell ────────────────────────────────────────────────────────────── */
.eco {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  position: relative;
}

/* faint neon horizon up top, mirroring the splash/hero motif */
.eco::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto 0;
  height: 45%;
  background: radial-gradient(60% 100% at 50% 0%, var(--accent-glow), transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.eco > * { position: relative; z-index: 1; }

/* brand row (turnstile mark + label) */
.eco-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.eco-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  line-height: 1;
  text-shadow: 0 0 12px var(--accent-halo);
}
.eco-label {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 2px;
}

.eco h1 {
  font-size: clamp(26px, 3.6vw, 38px);
  margin: 10px 0 6px;
  letter-spacing: -.6px;
  font-weight: 700;
  line-height: 1.15;
}
.eco h1 .glow {
  color: var(--accent);
  text-shadow: 0 0 26px var(--accent-halo);
}

/* intro / celebration paragraph */
.eco-lead {
  max-width: 70ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 16px 0 36px;
}
.eco-lead strong { color: var(--fg); font-weight: 500; }
.eco-lead .accent { color: var(--accent); }

/* ── card grid ─────────────────────────────────────────────────────────────── */
.eco-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.eco-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-soft);
  padding: 20px 20px 18px;
  color: var(--fg);
  text-decoration: none;
  transition: border-color .14s ease, transform .14s ease, box-shadow .14s ease, background .14s ease;
}
.eco-card:hover {
  text-decoration: none;
  border-color: var(--accent);
  background: var(--bg-card);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px -30px var(--accent-halo), 0 0 0 1px var(--accent-dim);
}
.eco-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

/* monogram tile — stands in for a third-party logo (CSP-safe, no hotlinking) */
.eco-mono {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  background: var(--accent-glow);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: lowercase;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 8px var(--accent-glow));
}
.eco-card:hover .eco-mono {
  box-shadow: 0 0 16px -4px var(--accent-halo);
}

.eco-name {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .2px;
  margin: 0 0 4px;
  color: var(--fg);
}
.eco-card:hover .eco-name { color: var(--accent); }

.eco-tag {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 12px;
  font-style: italic;
}

.eco-strengths {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.eco-strengths li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}
.eco-strengths li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* visit affordance — reveals on hover, like the splash flavour cards */
.eco-go {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  opacity: .55;
  transition: opacity .14s ease;
}
.eco-card:hover .eco-go { opacity: 1; }

/* ── the FaultLine note (gentle, non-comparative close) ────────────────────── */
.eco-us {
  margin-top: 36px;
  border: 1px solid var(--accent-dim);
  border-radius: 10px;
  background: var(--bg-soft);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.eco-us-mark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  text-shadow: 0 0 16px var(--accent-halo);
}
.eco-us h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .2px;
}
.eco-us p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.eco-us p strong { color: var(--fg); font-weight: 500; }
.eco-us-go {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── trademark disclaimer + foot ───────────────────────────────────────────── */
.eco-disclaim {
  margin-top: 36px;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  text-align: center;
}

.eco-foot {
  margin-top: 24px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .5px;
}
.eco-foot .mono { font-family: var(--mono); }
.eco-foot a { color: var(--muted); }
.eco-foot a:hover { color: var(--accent); }

/* ── responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .eco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .eco-grid { grid-template-columns: 1fr; }
  .eco { padding: 48px 18px 56px; }
  .eco-us { grid-template-columns: 1fr; gap: 10px; }
  .eco-us-mark { font-size: 28px; }
}
