/* ============================================================
 * Vanar — TEE runtime USP styles
 * Reusable badge · hero strip · marketplace runtime indicators
 * Stack-page TEE hero card
 * ============================================================ */

/* ----- Reusable TEE badge ----- */
.tee-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  background: rgba(14,60,53,.08); color: var(--emerald);
  border: 1px solid rgba(14,60,53,.22);
  white-space: nowrap;
}
.tee-badge svg {
  width: 11px; height: 12px;
  fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.tee-badge--emerald {
  background: rgba(216,230,211,.14); color: var(--emerald-mint);
  border-color: rgba(143,207,176,.42);
}
.tee-badge--lg {
  font-size: 11.5px; padding: 6px 12px 6px 10px;
}
.tee-badge--lg svg { width: 13px; height: 14px; }
.tee-badge--solid {
  background: var(--emerald); color: var(--emerald-ink); border-color: var(--emerald);
}

/* ----- Hero TEE callout strip (home, BYOA) ----- */
.tee-strip {
  margin-top: 18px;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 22px;
  background: rgba(14,60,53,.06);
  border: 1px solid rgba(14,60,53,.18);
  border-radius: 16px;
  flex-wrap: wrap;
}
.tee-strip__lead {
  display: inline-flex; align-items: center; gap: 8px;
  font: 800 14px var(--display); letter-spacing: .04em; text-transform: uppercase;
  color: var(--emerald);
  flex: 0 0 auto;
}
.tee-strip__lead svg {
  width: 18px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.tee-strip__copy { font: 400 14px/1.5 var(--sans); color: var(--fg); flex: 1 1 320px; }
.tee-strip__copy strong { font-weight: 600; }
.tee-strip__more {
  font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--emerald); cursor: pointer; padding: 6px 12px; border-radius: 999px;
  background: rgba(14,60,53,.05); border: 1px solid rgba(14,60,53,.18);
  transition: background .15s, color .15s;
}
.tee-strip__more:hover { background: var(--emerald); color: var(--emerald-ink); border-color: var(--emerald); }
@media (max-width: 640px) {
  .tee-strip { padding: 14px 16px; gap: 12px; }
  .tee-strip__copy { font-size: 13px; }
}

/* ----- Org card / list-row runtime indicator (marketplace) ----- */
.org__runtime {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.org__runtime .tee-badge { padding: 3px 8px 3px 6px; font-size: 9.5px; }
.org__runtime .tee-badge svg { width: 9px; height: 10px; }
.mkt-row__tee {
  display: inline-flex; align-items: center; gap: 4px;
  font: 500 9.5px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--emerald); margin-left: 6px;
}
.mkt-row__tee svg { width: 9px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Imported Agent card — TEE alongside attribution */
.iac__head .tee-badge {
  background: rgba(216,230,211,.14); color: var(--emerald-mint);
  border-color: rgba(143,207,176,.42);
}

/* Featured rail hero metric — TEE highlight cell */
.mkt-feat-hero .tee-badge--emerald { vertical-align: middle; margin-left: 8px; }

/* ----- TEE Hero card (Stack page, lead pillar) ----- */
.tee-hero {
  background-color: var(--emerald);
  background-image: linear-gradient(135deg, rgba(8,28,22,.45), rgba(8,28,22,0)), url("assets/emerald-grain.png");
  background-size: cover, 220px 220px;
  color: var(--emerald-ink);
  border: 1px solid rgba(216,230,211,.18);
  border-radius: 24px;
  padding: clamp(28px, 3.6vw, 44px);
  box-shadow: var(--shadow-feature);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-bottom: 14px;
  align-items: center;
}
@media (max-width: 880px) { .tee-hero { grid-template-columns: 1fr; } }
.tee-hero__left { display: flex; flex-direction: column; gap: 14px; }
.tee-hero__eyebrow { font: 500 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: rgba(216,230,211,.7); }
.tee-hero__title { font: 800 clamp(2rem, 3.6vw, 3rem)/0.95 var(--display); text-transform: uppercase; color: var(--emerald-mint); margin: 0; max-width: 18ch; }
.tee-hero__title em { font-style: normal; color: #F2EFE9; }
.tee-hero__copy { font: 400 15.5px/1.55 var(--sans); color: rgba(216,230,211,.88); margin: 0; max-width: 52ch; }
.tee-hero__pills { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.tee-hero__pill {
  font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(216,230,211,.10); color: var(--emerald-ink);
  border: 1px solid rgba(216,230,211,.22);
}
.tee-hero__right { display: grid; grid-template-rows: auto auto auto; gap: 10px; }
.tee-hero__metric {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center;
  padding: 14px 16px;
  background: rgba(11,30,24,.42);
  border: 1px solid rgba(216,230,211,.18);
  border-radius: 14px;
}
.tee-hero__metric .v { font: 800 24px/1 var(--display); letter-spacing: 0; color: var(--emerald-mint); white-space: nowrap; }
.tee-hero__metric .lbl { font: 500 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(216,230,211,.65); }
.tee-hero__metric .lbl strong { color: #F2EFE9; font-weight: 600; display: block; font-size: 12.5px; letter-spacing: .04em; margin-top: 2px; text-transform: none; }

/* ----- Foundry canvas: TEE chip on Org preview ----- */
.fdy-canvas__bottom .tee-badge { margin-left: 6px; }

/* ----- Marketplace ticker: TEE cell highlight ----- */
.mkt-ticker__cell--tee {
  background: rgba(14,60,53,.05);
}
.mkt-ticker__cell--tee .mkt-ticker__v { color: var(--emerald); }
