:root {
  color-scheme: dark;
  --bg: #07120f;
  --panel: #0d1c18;
  --panel-2: #10251f;
  --line: rgba(180, 224, 205, 0.18);
  --text: #edf8f3;
  --muted: #94afa5;
  --green: #6df2aa;
  --amber: #f4c76d;
  --blue: #7bb7ff;
  --red: #ff8d8d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(109, 242, 170, 0.14), transparent 30%),
    linear-gradient(135deg, #06100d 0%, #0a1715 45%, #101817 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.showroom-shell {
  width: min(1440px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.showroom-header,
.metric-card,
.method-panel,
.server-panel,
.flow-panel,
.capability-section,
.channel-section {
  border: 1px solid var(--line);
  background: rgba(13, 28, 24, 0.88);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.26);
}

.showroom-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 10px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(109, 242, 170, 0.36);
  border-radius: 8px;
  color: var(--green);
  text-decoration: none;
  font-weight: 750;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.lead {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.status-pill,
.refresh-btn,
.capability-card .status,
.channel-pill {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.status-pill {
  padding: 9px 12px;
  color: var(--amber);
  white-space: nowrap;
}

.refresh-btn {
  cursor: pointer;
  padding: 10px 14px;
  font: inherit;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0;
}

.metric-card {
  min-height: 132px;
  padding: 18px;
  border-radius: 8px;
}

.metric-card span,
.fact-list dt,
.capability-card span {
  color: var(--muted);
  font-size: 0.84rem;
}

.metric-card strong {
  display: block;
  margin: 12px 0 10px;
  color: var(--green);
  font-size: clamp(1.7rem, 4vw, 3rem);
  letter-spacing: 0;
}

.metric-card small {
  display: block;
  color: var(--muted);
  line-height: 1.45;
}

.showroom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
  margin-bottom: 14px;
}

.method-panel,
.server-panel,
.flow-panel,
.capability-section,
.channel-section {
  padding: 22px;
  border-radius: 8px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.method-summary {
  max-width: 920px;
  color: var(--muted);
  line-height: 1.7;
}

.pillars,
.channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pillars span,
.channel-pill {
  padding: 10px 12px;
  background: rgba(109, 242, 170, 0.08);
  border: 1px solid rgba(109, 242, 170, 0.24);
  border-radius: 999px;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.fact-list div {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.fact-list dd {
  margin: 7px 0 0;
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.lifecycle {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.life-step,
.capability-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 8px;
}

.life-step {
  min-height: 190px;
  padding: 14px;
}

.life-step strong {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  text-transform: capitalize;
}

.life-step p,
.life-step small {
  color: var(--muted);
  line-height: 1.5;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.capability-card {
  padding: 16px;
}

.capability-card h3 {
  margin: 8px 0 12px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.capability-card .status {
  display: inline-flex;
  padding: 6px 9px;
  color: var(--green);
  font-size: 0.76rem;
}

.capability-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.channel-pill {
  color: var(--text);
}

.channel-pill strong {
  margin-left: 8px;
  color: var(--green);
}

@media (max-width: 980px) {
  .showroom-header,
  .showroom-layout {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lifecycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-actions {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .showroom-shell {
    width: min(100vw - 20px, 1440px);
    padding-top: 10px;
  }

  .metric-grid,
  .capability-grid,
  .lifecycle,
  .fact-list {
    grid-template-columns: 1fr;
  }

  .showroom-header {
    padding: 18px;
  }

  h1 {
    font-size: 2.15rem;
  }
}
