/* ============================================================
   MEWAYZ Site — Individual module (leaf) page styles
   Copy-rich primitives for /modules/<slug> pages. Complements
   module-page.css (the family pages) — reuses .mod-hero, .flow,
   .x-modules, .mod-cta from there; adds the screenshot-free bits.
   ============================================================ */

/* breadcrumb under the hero eyebrow */
.mod-crumb {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(250,250,250,0.5);
  margin-bottom: 22px;
}
.mod-crumb a { color: rgba(250,250,250,0.72); text-decoration: none; }
.mod-crumb a:hover { color: var(--accent); }
.mod-crumb .sep { opacity: 0.4; margin: 0 8px; }

/* hero adjustments for a screenshot-free hero: add breathing room at the bottom */
.mod-hero.leaf { padding-bottom: 8px; }
.mod-hero.leaf .stats { margin-bottom: 64px; }

/* ===== Capability grid ("What it does") ===== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.cap-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px 26px;
  background: var(--paper);
  display: flex; flex-direction: column;
  transition: transform 140ms, border-color 140ms, box-shadow 140ms;
}
.cap-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 34px -18px rgba(10,10,10,0.18);
}
.cap-card .num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
}
.cap-card h3 {
  font-family: var(--font-sans); font-size: 20px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.18; margin: 0 0 10px;
}
.cap-card p {
  font-family: var(--font-sans); font-size: 14.5px; line-height: 1.55;
  color: var(--ink); opacity: 0.74; margin: 0;
}

/* ===== "Replaces in detail" panel ===== */
.rd-panel {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  padding: 8px 0;
}
.rd-row {
  display: grid; grid-template-columns: 230px 1fr; gap: 28px;
  padding: 26px 34px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.rd-row:last-child { border-bottom: none; }
.rd-row .tool {
  font-family: var(--font-display); font-style: italic;
  font-size: 28px; line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink);
}
.rd-row .tool .accent { color: var(--accent); }
.rd-row .why {
  font-family: var(--font-sans); font-size: 16px; line-height: 1.55;
  color: var(--ink); opacity: 0.78;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .mod-hero.leaf .stats { margin-bottom: 40px; }
  .rd-row { grid-template-columns: 1fr; gap: 8px; padding: 22px 24px; }
  .rd-row .tool { font-size: 24px; }
}
