/* ==========================================================================
   BeeProton AI — the demo gallery at /demos/. Our own page, our own tokens;
   the sample sites inside have a stylesheet of their own.
   ========================================================================== */
.dg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 24px); }

.dg-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.dg-card:hover { transform: translateY(-3px); border-color: var(--dg-accent, var(--accent));
  box-shadow: 0 20px 44px -28px rgba(0,0,0,.5); }

/* a suggestion of the site, not a screenshot: no stale images to re-export when a demo changes */
.dg-shot { background: var(--surface-2); border-bottom: 1px solid var(--border); padding: 12px; }
.dg-shot-bar { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.dg-shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
.dg-shot-bar span { margin-left: 6px; font: 500 .68rem/1 var(--mono); color: var(--muted); }
.dg-shot-body { background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; display: grid; gap: 9px; min-height: 148px; align-content: start; }
.dg-shot-mark { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--dg-accent, var(--accent)); color: #fff; font-weight: 800; font-size: .9rem; }
.dg-shot-body b { font-size: .92rem; line-height: 1.35; }
.dg-shot-line { height: 7px; border-radius: 4px; background: var(--surface-2); display: block; }
.dg-shot-line.short { width: 62%; }
.dg-shot-btn { justify-self: start; font-size: .72rem; font-weight: 700; color: #fff;
  background: var(--dg-accent, var(--accent)); padding: 6px 12px; border-radius: 6px; }

.dg-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.dg-kind { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--dg-accent, var(--accent)); }
.dg-body h3 { margin: 6px 0 6px; font-size: 1.08rem; }
.dg-body > p { color: var(--muted); font-size: .9rem; margin-bottom: 14px; }
.dg-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 14px; padding: 0; margin: 0 0 16px;
  font-size: .82rem; color: var(--muted); }
.dg-meta li { display: inline-flex; align-items: center; gap: 6px; }
.dg-meta svg { color: var(--dg-accent, var(--accent)); }
.dg-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

.dg-pitch { border-top: 1px dashed var(--border); padding: 14px 20px; background: var(--surface-2); }
.dg-pitch summary { cursor: pointer; font-size: .84rem; font-weight: 700; color: var(--muted);
  display: flex; align-items: center; gap: 7px; }
.dg-pitch summary:hover { color: var(--accent); }
.dg-pitch .prose { font-size: .88rem; margin-top: 10px; }

.dg-note { display: flex; gap: 10px; align-items: flex-start; max-width: 820px; margin: clamp(22px, 3vw, 34px) auto 0;
  padding: 14px 16px; border: 1px dashed var(--border-strong); border-radius: 12px; color: var(--muted);
  font-size: .88rem; line-height: 1.6; }
.dg-note svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

.dg-steps { counter-reset: dg; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.dg-steps li { counter-increment: dg; position: relative; padding: 16px 18px 16px 58px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.dg-steps li b { color: var(--text); }
.dg-steps li::before { content: counter(dg); position: absolute; left: 18px; top: 15px; width: 26px; height: 26px;
  display: grid; place-items: center; border-radius: 50%; background: var(--accent-bg); color: var(--accent);
  font-size: .8rem; font-weight: 800; }

@media (prefers-reduced-motion: reduce) { .dg-card { transition: none; } .dg-card:hover { transform: none; } }
