.tools-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 900px) {
  .tools-grid-2 { grid-template-columns: 1fr; }
}
.mono-area {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 0.75rem;
  resize: vertical;
}
/* Discord-ish embed preview */
.emb-preview {
  background: #313338;
  border-radius: 8px;
  padding: 1rem;
  min-height: 120px;
  font-family: "gg sans", "Segoe UI", system-ui, sans-serif;
}
.emb-content { color: #dbdee1; margin-bottom: 0.4rem; white-space: pre-wrap; font-size: 0.95rem; }
.emb-card {
  background: #2b2d31;
  border-left: 4px solid #5865f2;
  border-radius: 4px;
  padding: 0.75rem 1rem 0.85rem;
  max-width: 520px;
  position: relative;
}
.emb-author { display: flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 600; color: #f2f3f5; margin-bottom: 0.35rem; }
.emb-author img { width: 24px; height: 24px; border-radius: 50%; }
.emb-title { font-weight: 700; color: #f2f3f5; font-size: 1rem; margin-bottom: 0.35rem; }
.emb-title a { color: #00a8fc; text-decoration: none; }
.emb-desc { color: #dbdee1; font-size: 0.9rem; line-height: 1.375; white-space: pre-wrap; }
.emb-fields { display: flex; flex-wrap: wrap; gap: 0.5rem 0; margin-top: 0.6rem; }
.emb-field { width: 100%; min-width: 100%; }
.emb-field.inline { width: 33%; min-width: 33%; flex: 1 1 30%; }
.emb-fname { font-size: 0.82rem; font-weight: 700; color: #f2f3f5; }
.emb-fval { font-size: 0.85rem; color: #dbdee1; white-space: pre-wrap; }
.emb-image { width: 100%; border-radius: 4px; margin-top: 0.75rem; max-height: 280px; object-fit: cover; }
.emb-thumb { width: 80px; height: 80px; border-radius: 4px; object-fit: cover; float: right; margin-left: 1rem; }
.emb-footer { display: flex; align-items: center; gap: 0.4rem; margin-top: 0.65rem; font-size: 0.75rem; color: #949ba4; clear: both; }
.emb-footer img { width: 20px; height: 20px; border-radius: 50%; }
.emb-bottom::after { content: ""; display: table; clear: both; }

/* Welcome canvas wrap */
.welcome-stage {
  background: #1a1b1e;
  border-radius: 12px;
  padding: 0.75rem;
  overflow: auto;
  text-align: center;
}
.welcome-stage canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

/* Webshot grid */
.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.85rem;
}
.shot-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--fill-soft);
}
.shot-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: #111;
  display: block;
}
.shot-card .shot-body { padding: 0.75rem 0.85rem 0.9rem; }
.shot-card strong { display: block; margin-bottom: 0.25rem; }
.shot-actions { display: flex; gap: 0.4rem; margin-top: 0.55rem; flex-wrap: wrap; }

/* Analytics bars */
.bar-list { display: flex; flex-direction: column; gap: 0.55rem; }
.bar-row { display: grid; grid-template-columns: 7rem 1fr 3rem; gap: 0.5rem; align-items: center; font-size: 0.85rem; }
.bar-track { height: 8px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--blurple), var(--pink)); border-radius: 99px; min-width: 2px; }
.stat-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.65rem; margin-bottom: 1rem; }
.stat-tile { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 0.85rem 1rem; }
.stat-tile .n { font-size: 1.35rem; font-weight: 800; }
.stat-tile .l { font-size: 0.78rem; color: var(--muted); margin-top: 0.15rem; }

/* Command search */
.cmd-results { display: flex; flex-direction: column; gap: 0.45rem; max-height: 70vh; overflow-y: auto; }
.cmd-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  background: var(--fill-soft);
}
.cmd-item code { font-weight: 700; color: #c5cbff; }
.cmd-item .cmd-desc { color: var(--muted); font-size: 0.88rem; margin-top: 0.2rem; }
.cmd-badge {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  padding: 0.12rem 0.4rem; border-radius: 6px; margin-left: 0.35rem;
  background: rgba(88,101,242,0.18); color: #b8c0ff;
}
.cmd-badge.prefix { background: rgba(250,166,26,0.15); color: #ffc86b; }

/* Landing */
.landing-hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
  max-width: 42rem;
  margin: 0 auto;
}
.landing-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}
.landing-hero .lead { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.landing-cta { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; }
.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.85rem;
  margin: 2rem 0 3rem;
}
.landing-features .card { padding: 1.1rem 1.15rem; }
.landing-features h3 { margin-bottom: 0.35rem; font-size: 1rem; }

.tools-nav {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem;
}
.tools-nav a {
  font-size: 0.82rem; font-weight: 600;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--muted);
  text-decoration: none;
}
.tools-nav a:hover, .tools-nav a.active {
  color: var(--text); border-color: var(--blurple);
  background: rgba(88,101,242,0.12); text-decoration: none;
}
