/* ============================================
   Summon — project page
   Uses the tokens and components from style.css
   ============================================ */

.tool-header { padding-top: calc(var(--nav-height) + 64px); }

.tool-title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 12px;
}
.tool-title .tool-bracket { color: var(--accent); font-weight: 400; }

.tool-tagline {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--syntax-comment);
  margin-bottom: 24px;
}

.tool-lede {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 62ch;
}

.tool-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.tool-stat { display: flex; flex-direction: column; gap: 4px; }
.tool-stat-value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.tool-stat-value .tool-bracket { color: var(--accent); font-weight: 400; }
.tool-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.tool-prose { max-width: 68ch; }
.tool-prose p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 16px; }
.tool-prose p:last-child { margin-bottom: 0; }
.tool-prose strong { color: var(--text); font-weight: 600; }

.tool-h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

/* ---- steps ---- */

.steps { display: flex; flex-direction: column; gap: 56px; margin-top: 8px; }
.step-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.step-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  padding: 2px 8px;
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}

/* ---- screenshots, in the site's window chrome ---- */

.shot {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.shot figcaption b { color: var(--text-secondary); font-weight: 600; }

.shot-pair { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 20px; }
@media (min-width: 760px) { .shot-pair { grid-template-columns: 1fr 1fr; } }
.shot-pair .shot { margin-top: 0; }
.shot-pair figcaption { font-family: var(--font-mono); font-size: 0.78rem; }

/* ---- terminal block ---- */

.term {
  margin-top: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.85;
  color: var(--text);
}
.term .c { color: var(--syntax-comment); }
.term .s { color: var(--syntax-string); }
.term .k { color: var(--accent); }

/* ---- limits ---- */

.limits { display: flex; flex-direction: column; gap: 18px; margin-top: 4px; }
.limit { padding-left: 16px; border-left: 2px solid var(--border-strong); }
.limit p { color: var(--text-secondary); line-height: 1.7; margin: 0; }

.tool-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 68ch;
}
.tool-note b { color: var(--text); font-weight: 600; }

.tool-back { margin-top: 8px; }
