:root {
  --bg: #060606;
  --surface: #0a0a0c;
  --surface-2: #131318;
  --surface-3: #1c1c22;
  --border: #27272a;
  --border-soft: #1d1d20;
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --text-3: #71717a;
  --accent: #38bdf8;
  --accent-deep: #0ea5e9;
  --launched: #34d399;
  --incubating: #fbbf24;
  --review: #a78bfa;
  --pass: #fb7185;
  --shortlist: #34d399;

  /* Build-pipeline stage colors (cool → warm → green, in lifecycle order) */
  --stage-planning: #94a3b8;
  --stage-validated: #38bdf8;
  --stage-development: #a78bfa;
  --stage-beta: #fbbf24;
  --stage-launched: #34d399;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.75), 0 8px 24px -12px rgba(0, 0, 0, 0.55);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(1000px 600px at 100% 10%, rgba(167, 139, 250, 0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px clamp(16px, 4vw, 40px) 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---------- Header ---------- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-glyph {
  color: var(--accent);
  font-size: 24px;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.55));
  animation: spin 16s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.brand-text h1 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text p {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 5px;
  border-radius: 999px;
}

.navlink {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 999px;
  transition: all 0.18s var(--ease);
}

.navlink:hover { color: var(--text); }

.navlink.is-active {
  color: var(--bg);
  background: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, rgba(19,19,24,0.9), rgba(10,10,12,0.6));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 10px;
}

.hero h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 520px;
}

/* Positioning only for the shared tool-share widget (self-styled internally). */
.tool-share { margin-top: 18px; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}

.stat b {
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  color: var(--accent);
}

.stat span {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.tag-cloud {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.tag-cloud .tc-tag {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  padding: 5px 10px;
  border-radius: 999px;
  transition: all 0.16s var(--ease);
}

button.tc-tag { cursor: pointer; }
.tag-cloud button.tc-tag:hover { color: var(--text); border-color: var(--border); }
.tag-cloud .tc-tag.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.tag-cloud .tc-tag.is-active b { color: rgba(6, 6, 6, 0.68); }

.tag-cloud .tc-tag b {
  color: var(--accent);
  margin-right: 5px;
}

/* ---------- Main / batches ---------- */
.main { display: flex; flex-direction: column; gap: 26px; }

.batches { display: flex; flex-direction: column; gap: 44px; }

/* ---------- Filter bar ---------- */
.filterbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filterbar input {
  flex: 1;
  min-width: 220px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13.5px;
  transition: border-color 0.18s var(--ease);
}

.filterbar input::placeholder { color: var(--text-3); }
.filterbar input:focus { outline: none; border-color: var(--accent-deep); }

.seg {
  display: flex;
  gap: 4px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.seg::-webkit-scrollbar { display: none; }

.seg button {
  border: none;
  background: transparent;
  color: var(--text-2);
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s var(--ease);
}

.seg button:hover { color: var(--text); }
.seg button.is-active { background: var(--accent); color: var(--bg); }

/* ---------- Tag filter strip ---------- */
.tagbar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-top: -8px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
  -webkit-overflow-scrolling: touch;
}

.tagbar::-webkit-scrollbar { height: 6px; }
.tagbar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.tagbar-label {
  flex: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  padding-right: 2px;
}

.tchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.16s var(--ease);
}

.tchip:hover { color: var(--text); border-color: var(--border); }
.tchip b { color: var(--text-3); font-weight: 700; font-size: 11px; }
.tchip.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.tchip.is-active b { color: rgba(6, 6, 6, 0.68); }

.empty {
  text-align: center;
  color: var(--text-3);
  padding: 60px 20px;
  font-size: 14px;
}

.batch {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.batch-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.batch-title {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.batch-title span {
  color: var(--text-3);
  font-size: 0.55em;
  font-weight: 600;
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.batch-meta {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
}

.batch-meta b { color: var(--text-2); }

.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.company-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.company-card:hover {
  transform: translateY(-4px);
  border-color: #3f3f46;
  box-shadow: var(--shadow);
}

.company-card .cover {
  position: relative;
  height: 160px;
  background: #0a0a0c;
  overflow: hidden;
}

.cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-card .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,6,6,0.95) 0%, rgba(6,6,6,0.35) 45%, rgba(6,6,6,0.15) 100%);
}

.cover-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.pill {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--text-2);
}

/* Build-pipeline stage pills — one tinted variant per lifecycle stage. */
.pill-stage { color: var(--text-2); }
.pill-stage.stage-planning    { color: var(--stage-planning);    border-color: rgba(148, 163, 184, 0.35); background: rgba(148, 163, 184, 0.10); }
.pill-stage.stage-validated   { color: var(--stage-validated);   border-color: rgba(56, 189, 248, 0.35);  background: rgba(56, 189, 248, 0.10); }
.pill-stage.stage-development { color: var(--stage-development); border-color: rgba(167, 139, 250, 0.35); background: rgba(167, 139, 250, 0.10); }
.pill-stage.stage-beta        { color: var(--stage-beta);        border-color: rgba(251, 191, 36, 0.35);  background: rgba(251, 191, 36, 0.10); }
.pill-stage.stage-launched    { color: var(--stage-launched);    border-color: rgba(52, 211, 153, 0.35);  background: rgba(52, 211, 153, 0.10); }
.pill-form { margin-left: auto; }

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.card-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card-tagline {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: auto;
}

.tag {
  font-family: var(--font);
  font-size: 10px;
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--border-soft);
  padding: 3px 7px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s var(--ease);
}

.tag:hover { color: var(--text); border-color: var(--accent-deep); }
.tag.is-active { color: var(--bg); background: var(--accent); border-color: var(--accent); }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px 16px;
}

.kpi-row {
  display: flex;
  gap: 12px;
}

.kpi {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.kpi b {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
}

.kpi span {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-3);
  font-weight: 600;
}

.kpi-complexity b { color: #fb7185; }
.kpi-feasibility b { color: var(--launched); }
.kpi-cost b { color: var(--incubating); }
.kpi-fun b { color: var(--review); }

.card-arrow {
  font-size: 18px;
  color: var(--text-3);
}

/* ---------- Detail overlay ---------- */
.detail {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.detail:not([hidden]) { pointer-events: auto; }

.detail-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  backdrop-filter: blur(2px);
}

.detail.is-open .detail-scrim { opacity: 1; }

.detail-panel {
  position: relative;
  width: min(760px, 100vw);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.34s var(--ease);
  overflow: hidden;
}

.detail.is-open .detail-panel { transform: none; }

.detail-head {
  position: relative;
  min-height: 220px;
  background: #0a0a0c center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  flex: none;
}

.detail-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,6,6,0.98) 0%, rgba(6,6,6,0.75) 40%, rgba(6,6,6,0.25) 100%);
}

.detail-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(10,10,12,0.8);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.18s var(--ease);
}

.detail-close:hover { background: var(--surface-2); border-color: #3f3f46; }

.detail-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-badges {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.detail-title {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.detail-tagline {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 560px;
}

.detail-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 26px 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.detail-body::-webkit-scrollbar { width: 7px; }
.detail-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.detail-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  background: var(--surface);
  z-index: 2;
  padding-top: 2px;
}

.dtab {
  flex: none;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-3);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px 14px 12px;
  border-bottom: 2px solid transparent;
  transition: all 0.18s var(--ease);
}

.dtab:hover { color: var(--text-2); }

.dtab.is-active { color: var(--accent); border-bottom-color: var(--accent); }

.dpanel { display: none; animation: fade 0.25s var(--ease); }
.dpanel.is-active { display: block; }

@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Build-pipeline stepper ---------- */
.stage-panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 26px;
}

.stage-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.stage-panel-head h4 {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.stage-step-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-3);
  text-align: right;
}

.stage-track {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.stage-node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.stage-node .stage-dot {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-3);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.stage-node .stage-node-label {
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  color: var(--text-3);
  transition: color 0.2s var(--ease);
}

/* Filled up to (and including) the current stage — each node uses its own
   stage color, so the track reads as a gradient of the lifecycle. */
.stage-node.done.stage-planning    .stage-dot { background: var(--stage-planning); }
.stage-node.done.stage-validated   .stage-dot { background: var(--stage-validated); }
.stage-node.done.stage-development .stage-dot { background: var(--stage-development); }
.stage-node.done.stage-beta        .stage-dot { background: var(--stage-beta); }
.stage-node.done.stage-launched    .stage-dot { background: var(--stage-launched); }

.stage-node.done .stage-node-label { color: var(--text-2); }
.stage-node.current .stage-node-label { color: var(--text); font-weight: 700; }
.stage-node.current .stage-dot { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06); }

.stage-node:hover .stage-node-label { color: var(--text); }
.stage-node:hover .stage-dot { filter: brightness(1.2); }

.stage-controls {
  display: flex;
  gap: 10px;
}

.stage-btn {
  flex: 1;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  background: var(--surface-3);
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all 0.18s var(--ease);
}

.stage-btn:hover:not(:disabled) { color: var(--text); border-color: #3f3f46; }
.stage-btn:disabled { opacity: 0.4; cursor: default; }

.stage-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.stage-btn-primary:hover:not(:disabled) {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--bg);
}

.detail-gauges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 26px;
}

.gauge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 10px;
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
}

.gauge svg { width: 64px; height: 64px; transform: rotate(-90deg); }
.gauge .track { fill: none; stroke: var(--border); stroke-width: 5; }
.gauge .fill { fill: none; stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset 0.9s var(--ease); }
.gauge-ring { position: relative; display: grid; place-items: center; }
.gnum {
  position: absolute;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--display);
}
.glabel {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-3);
  font-weight: 700;
}
.g-complexity .fill { stroke: #fb7185; }
.g-feasibility .fill { stroke: var(--launched); }
.g-cost .fill { stroke: var(--incubating); }
.g-fun .fill { stroke: var(--review); }

.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 7px;
  font-weight: 700;
}
.field p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-2);
  white-space: pre-line;
}
.field ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field li {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}
.field li::before { content: "▹"; position: absolute; left: 0; color: var(--accent); }
.field.risks li::before { content: "△"; color: var(--incubating); }

.kv {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.kv span {
  font-size: 12px;
  color: var(--text-2);
  background: var(--surface-2);
  border: 1px solid var(--border-soft);
  padding: 5px 10px;
  border-radius: 7px;
}
.kv b { color: var(--text); font-weight: 600; }

.demo-btn, .source-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 15px;
  transition: all 0.18s var(--ease);
}
/* ---- Deploy this idea (build-prompt kit) ---- */
.deploy-kit {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.kit-head { margin-bottom: 12px; }
.kit-head h4 { margin: 0 0 2px; font-size: 0.95rem; color: var(--text); }
.kit-sub { font-size: 0.78rem; color: var(--text-3); }
.kit-btns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 560px) { .kit-btns { grid-template-columns: 1fr; } }
.kit-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px 14px;
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, transform 0.12s, background 0.15s;
}
.kit-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.kit-icon { color: var(--accent); font-size: 1.05rem; line-height: 1; }
.kit-label { font-size: 0.9rem; font-weight: 600; }
.kit-copy { font-size: 0.72rem; color: var(--text-3); letter-spacing: 0.02em; }
.kit-btn.copied { border-color: var(--accent); background: rgba(56, 189, 248, 0.12); }
.kit-btn.copied .kit-copy { color: var(--accent); }

.demo-btn {
  width: 100%;
  justify-content: center;
  background: rgba(167,139,250,0.14);
  color: var(--review);
  border: 1px solid rgba(167,139,250,0.4);
  margin-bottom: 18px;
}
.demo-btn:hover { background: rgba(167,139,250,0.24); transform: translateY(-1px); }

.proto-load {
  position: relative;
  width: 100%;
  height: 240px;
  display: grid;
  place-items: center;
  background: var(--surface-2) center/cover no-repeat;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.proto-load::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.6);
  transition: background 0.2s var(--ease);
}

.proto-load:hover::before { background: rgba(6, 6, 6, 0.45); }

.proto-load-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  background: rgba(10, 10, 12, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 20px;
  backdrop-filter: blur(8px);
}

.proto-load-inner b { color: var(--review); }

.proto-frame {
  width: 100%;
  height: 520px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 18px;
}

.sources { display: flex; flex-direction: column; gap: 8px; }
.source-link {
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border-soft);
}
.source-link:hover { color: var(--accent); border-color: var(--border); }
.source-link .src-host { color: var(--text-3); font-size: 11px; margin-left: auto; }

/* ---------- Review board ---------- */
.board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: start;
}

.column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 140px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}

.column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 700;
  color: var(--text-3);
}

.column-head b {
  font-family: var(--display);
  font-size: 16px;
  color: var(--text);
}

.column.inbox { border-top: 3px solid var(--text-3); }
.column.reviewing { border-top: 3px solid var(--incubating); }
.column.shortlist { border-top: 3px solid var(--shortlist); }
.column.passed { border-top: 3px solid var(--pass); }
.column.portfolio { border-top: 3px solid var(--review); }

.board-card {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  cursor: grab;
  transition: all 0.15s var(--ease);
}

.board-card:hover { border-color: var(--border); transform: translateY(-1px); }
.board-card[draggable="true"]:active { cursor: grabbing; }
.board-card img {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
  background: #0a0a0c;
  flex: none;
}
.board-thumb {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  background: var(--surface-3);
  flex: none;
}
.board-card-body { min-width: 0; flex: 1; }
.board-card-body h4 { font-size: 13px; font-weight: 600; }
.board-card-body p { font-size: 11px; color: var(--text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.column.drag-over { background: var(--surface-3); border-style: dashed; }

/* ---------- Footer ---------- */
.foot {
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
  padding-top: 10px;
}

.foot a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--accent); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  z-index: 200;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all 0.25s var(--ease);
}
.toast.show { opacity: 1; transform: none; }
.toast b { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .topbar { flex-direction: column; align-items: flex-start; }
  .topnav { align-self: stretch; justify-content: center; }
  .company-grid { grid-template-columns: 1fr; }
  .detail-panel { width: 100vw; }
  .detail-gauges { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.08s !important; }
  .brand-glyph { animation: none; }
}
