/* What we do pages (feature-a, feature-b, feature-c). Owned by the features
   agent. All classes prefixed fx- so nothing here collides with the template
   or another group's file. */

/* Eyebrow pill: homea.css hides the template's .body-tag globally, so the
   feature pages carry their own. */
.fx-eyebrow-row { display: flex; justify-content: center; width: 100%; }
.fx-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(83, 110, 229, 0.25);
  background: rgba(83, 110, 229, 0.06);
  color: #3b54c4;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fx-sub { max-width: 40rem; margin: 0 auto; }
.fx-section-gap { display: flex; flex-direction: column; gap: 2.5rem; width: 100%; }

/* --------------------------------------------------------------------------
   Roster grid (feature-a) */
.fx-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}
.fx-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(35, 35, 35, 0.09);
  border-radius: 1rem;
  padding: 1.5rem 1.375rem;
  text-decoration: none;
  color: #232323;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fx-card:hover {
  border-color: rgba(83, 110, 229, 0.5);
  box-shadow: 0 10px 28px rgba(83, 110, 229, 0.12);
}
.fx-card-role {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8f9c;
}
.fx-card-name {
  font-family: "Clash Display", "Figtree", sans-serif;
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.fx-card-desc { font-size: 0.9375rem; line-height: 1.55; color: #5a5f6b; }
.fx-chips { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: auto; padding-top: 0.875rem; }
.fx-chip {
  font-size: 0.6875rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  background: rgba(35, 35, 35, 0.045);
  color: #4a4f5a;
  border: 1px solid rgba(35, 35, 35, 0.08);
}
.fx-chip.is-write {
  background: rgba(83, 110, 229, 0.08);
  color: #3b54c4;
  border-color: rgba(83, 110, 229, 0.2);
}

/* --------------------------------------------------------------------------
   Guardrails */
.fx-rails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
}
.fx-rails.is-two { grid-template-columns: repeat(2, 1fr); }
.fx-rail {
  background: #ffffff;
  border: 1px solid rgba(35, 35, 35, 0.09);
  border-left: 3px solid #536ee5;
  border-radius: 0.875rem;
  padding: 1.375rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fx-rail-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #8a8f9c;
}
.fx-rail-title {
  font-family: "Clash Display", "Figtree", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #232323;
}
.fx-rail-copy { font-size: 0.9375rem; line-height: 1.55; color: #5a5f6b; }

/* --------------------------------------------------------------------------
   Split sections (copy + image / copy + panel) */
.fx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}
.fx-split.is-reverse .fx-split-copy { order: 2; }
.fx-split.is-reverse .fx-split-media { order: 1; }
.fx-split-copy { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; text-align: left; }
.fx-split-copy .fx-eyebrow-row { justify-content: flex-start; }
.fx-h3 {
  font-family: "Clash Display", "Figtree", sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: #232323;
  margin: 0;
}
.fx-copy { font-size: 1rem; line-height: 1.65; color: #4a4f5a; margin: 0; }
.fx-photo {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  object-fit: cover;
  border: 1px solid rgba(35, 35, 35, 0.08);
}

/* Key list (ownership) */
.fx-keylist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 1.25rem;
  width: 100%;
  margin-top: 0.25rem;
}
.fx-key { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9375rem; line-height: 1.5; color: #232323; }
.fx-key-icon { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; color: #536ee5; }
.fx-fireline {
  border: 1px dashed rgba(83, 110, 229, 0.4);
  background: rgba(83, 110, 229, 0.05);
  border-radius: 0.75rem;
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #232323;
}

/* --------------------------------------------------------------------------
   Deployment tiers */
.fx-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}
.fx-tier {
  background: #ffffff;
  border: 1px solid rgba(35, 35, 35, 0.09);
  border-radius: 1rem;
  padding: 1.5rem 1.375rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.fx-tier-name {
  font-family: "Clash Display", "Figtree", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #232323;
}
.fx-tier-line { font-size: 0.9375rem; line-height: 1.55; color: #5a5f6b; }
.fx-note {
  font-size: 0.875rem;
  color: #8a8f9c;
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
.fx-note a { color: #3b54c4; text-decoration: underline; }

/* --------------------------------------------------------------------------
   Mock UI panels (feature-b) */
.fx-console {
  width: 100%;
  background: #16181f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.125rem;
  padding: 1.125rem 1.25rem 1.25rem;
  color: #e9eaee;
  box-shadow: 0 18px 44px rgba(20, 24, 46, 0.28);
}
.fx-console-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.875rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fx-dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.fx-console-title {
  margin-left: 0.375rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #9aa0ad;
}
.fx-console-rows { display: flex; flex-direction: column; }
.fx-crow {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.65rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.fx-crow:last-child { border-bottom: none; }
.fx-crow-agent {
  flex: 0 0 7.25rem;
  font-family: "Clash Display", "Figtree", sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}
.fx-crow-action { flex: 1 1 auto; font-size: 0.8125rem; line-height: 1.45; color: #b9bec9; min-width: 0; }
.fx-badge {
  flex: 0 0 auto;
  font-size: 0.6563rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.18rem 0.55rem;
  white-space: nowrap;
}
.fx-badge.is-running { background: rgba(74, 200, 138, 0.14); color: #6fd9a4; }
.fx-badge.is-waiting { background: rgba(240, 180, 80, 0.16); color: #f0c274; }
.fx-badge.is-quiet { background: rgba(255, 255, 255, 0.08); color: #9aa0ad; }

/* Write log panel */
.fx-log {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(35, 35, 35, 0.1);
  border-radius: 1.125rem;
  padding: 1.125rem 1.25rem;
  box-shadow: 0 14px 36px rgba(35, 35, 35, 0.07);
}
.fx-log-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(35, 35, 35, 0.08);
}
.fx-log-title {
  font-family: "Clash Display", "Figtree", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #232323;
}
.fx-log-surface {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3b54c4;
  background: rgba(83, 110, 229, 0.08);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.fx-log-line {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed rgba(35, 35, 35, 0.08);
}
.fx-log-line:last-child { border-bottom: none; }
.fx-log-time {
  flex: 0 0 3.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: #8a8f9c;
}
.fx-log-text { font-size: 0.875rem; line-height: 1.5; color: #232323; }
.fx-log-text span { color: #8a8f9c; }

/* Escalation / ask panel */
.fx-ask {
  width: 100%;
  background: #ffffff;
  border: 1px solid rgba(35, 35, 35, 0.1);
  border-radius: 1.125rem;
  padding: 1.375rem;
  box-shadow: 0 14px 36px rgba(35, 35, 35, 0.07);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.fx-ask-from {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #8a8f9c;
}
.fx-ask-avatar {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: rgba(83, 110, 229, 0.12);
  color: #3b54c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
}
.fx-ask-bubble {
  background: #f4f6fc;
  border: 1px solid rgba(83, 110, 229, 0.14);
  border-radius: 0.875rem;
  border-top-left-radius: 0.25rem;
  padding: 0.875rem 1.125rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #232323;
}
.fx-ask-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.fx-ask-btn {
  border: 1px solid rgba(83, 110, 229, 0.35);
  color: #3b54c4;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.fx-ask-btn.is-solid { background: #536ee5; border-color: #536ee5; color: #ffffff; }

/* --------------------------------------------------------------------------
   Steps (feature-c daily loop) */
.fx-steps { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 46rem; margin: 0 auto; }
.fx-step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.125rem;
  align-items: start;
  background: #ffffff;
  border: 1px solid rgba(35, 35, 35, 0.09);
  border-radius: 1rem;
  padding: 1.375rem;
  text-align: left;
}
.fx-step-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(83, 110, 229, 0.1);
  color: #3b54c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Clash Display", "Figtree", sans-serif;
  font-weight: 600;
}
.fx-step-body { display: flex; flex-direction: column; gap: 0.35rem; }
.fx-step-title {
  font-family: "Clash Display", "Figtree", sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #232323;
}
.fx-step-copy { font-size: 0.9375rem; line-height: 1.6; color: #5a5f6b; }

/* Prose (feature-c) */
.fx-prose { max-width: 44rem; margin: 0 auto; display: flex; flex-direction: column; gap: 1.125rem; text-align: left; }
.fx-prose p { font-size: 1.0625rem; line-height: 1.7; color: #3c414c; margin: 0; }
.fx-prose strong { color: #232323; }

/* --------------------------------------------------------------------------
   CTA band */
.fx-cta {
  width: 100%;
  background: radial-gradient(90% 130% at 20% 0%, rgba(83, 110, 229, 0.28), rgba(83, 110, 229, 0) 60%), #16181f;
  border-radius: 1.5rem;
  padding: 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.fx-cta-title {
  font-family: "Clash Display", "Figtree", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0;
}
.fx-cta-sub { max-width: 34rem; font-size: 1rem; line-height: 1.6; color: #b9bec9; margin: 0; }
.fx-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 0.5rem; }
.fx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #536ee5;
  color: #ffffff;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.fx-btn:hover { background: #1b44c8; color: #ffffff; }
.fx-btn.is-ghost { background: transparent; border: 1px solid rgba(255, 255, 255, 0.35); }
.fx-btn.is-ghost:hover { background: transparent; border-color: #ffffff; }

/* --------------------------------------------------------------------------
   Responsive */
@media (max-width: 991px) {
  .fx-grid { grid-template-columns: repeat(2, 1fr); }
  .fx-rails { grid-template-columns: repeat(2, 1fr); }
  .fx-split { grid-template-columns: 1fr; gap: 2rem; }
  .fx-split.is-reverse .fx-split-copy { order: 1; }
  .fx-split.is-reverse .fx-split-media { order: 2; }
  .fx-tiers { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .fx-grid { grid-template-columns: 1fr; }
  .fx-rails { grid-template-columns: 1fr; }
  .fx-rails.is-two { grid-template-columns: 1fr; }
  .fx-keylist { grid-template-columns: 1fr; }
  .fx-h3 { font-size: 1.5rem; }
  .fx-cta { padding: 2.5rem 1.25rem; }
  .fx-cta-title { font-size: 1.5rem; }
  .fx-crow { flex-wrap: wrap; }
  .fx-crow-agent { flex-basis: 100%; }
}

/* ---- panels with faces and logos (scripts/feature-master-0924.mjs) ---- */
.fx-face { flex: none; width: 30px; height: 30px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.9); display: inline-block; }
.fx-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx-crow { align-items: center; gap: 12px; }
.fx-crow .fx-crow-agent { min-width: 104px; }
.fx-tool { flex: none; width: 24px; height: 24px; border-radius: 7px; background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.fx-tool img { width: 15px; height: 15px; object-fit: contain; }
.fx-tool--chart { background: rgba(255,255,255,.1); color: #c8cdf6; }
.fx-tool--chart svg { width: 14px; height: 14px; }
.fx-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4ac88a; margin-right: 6px; vertical-align: 1px; animation: fx-live 1.6s ease-in-out infinite; }
@keyframes fx-live { 50% { opacity: .3; } }
.fx-crow.is-attention { background: rgba(240, 180, 80, .08); box-shadow: inset 3px 0 0 #f0b450; animation: fx-attn 2.4s ease-in-out infinite; }
@keyframes fx-attn { 50% { background: rgba(240, 180, 80, .16); } }
.fx-console-meta { margin-left: auto; font-size: .75rem; color: #9aa0ad; white-space: nowrap; }
.fx-log-surface { display: inline-flex; align-items: center; gap: 6px; }
.fx-log-surface img { width: 14px; height: 14px; object-fit: contain; }
.fx-log-line { align-items: center; }
.fx-log-line .fx-face { width: 24px; height: 24px; box-shadow: 0 0 0 2px #fff; margin-right: 10px; }
.fx-ask-avatar--face { background: none !important; padding: 0 !important; overflow: visible; }
.fx-ask-avatar--face .fx-face { width: 34px; height: 34px; }
@media (max-width: 767px) {
  .fx-crow .fx-crow-agent { min-width: 0; flex-basis: auto; }
  .fx-console-meta { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fx-live, .fx-crow.is-attention { animation: none; } }

/* "You keep every key": the storefront instead of a stock photo. */
.fx-shop { width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; position: relative;
  background: radial-gradient(120% 90% at 50% 40%, #FFFFFF 0%, #F3F5FE 55%, #E9EDFC 100%); border: 1px solid #E4E9F5; }
.fx-shop svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---- command center tidy (2026-09-25) ---- */
/* one size for every status pill, so "Needs you" does not outweigh the rest */
.fx-console .fx-badge, .fx-crow .fx-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; height: 26px; padding: 0 12px; font-size: 11px; letter-spacing: .06em; box-sizing: border-box; }
/* the highlighted row runs to the panel edge, so its bar sits clear of the face and the row
   content stays aligned with the rows above and below */
.fx-crow.is-attention { margin-left: -1.25rem; margin-right: -1.25rem; padding-left: calc(1.25rem + .25rem); padding-right: calc(1.25rem + .25rem); }
.fx-console-bar .fx-console-meta { margin-left: auto; }
