/* ==========================================================
   /Marketing/ — section styles
   Builds on css/dexlab.css; only what these four pages add.
   ========================================================== */

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---- Benchmark explorer ----------------------------------- */
.bm-controls {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 900px; margin: 0 auto 14px;
}
.bm-field label {
  display: block; font-size: 12px; font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px;
}
.bm-field select {
  width: 100%; padding: 11px 14px; font: inherit; font-size: 14px;
  border: 1px solid var(--border); border-radius: var(--r-md);
  background: #fff; color: var(--text-primary);
}
.bm-field select:focus {
  outline: none; border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}
.bm-note, .bm-updated {
  text-align: center; color: var(--text-muted); font-size: 12.5px;
  max-width: 900px; margin: 0 auto;
}
.bm-updated { margin-top: 18px; }
.bm-empty { text-align: center; color: var(--text-muted); padding: 30px 0; }

.bm-results { margin-top: 26px; }
.bm-group { margin-bottom: 28px; }
.bm-group h3 {
  font-size: 13px; font-weight: 800; color: var(--brand-blue);
  text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px;
}
.bm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bm-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--shadow-sm);
}
.bm-card .bm-metric {
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 8px;
}
.bm-card .bm-value {
  font-size: 27px; font-weight: 800; color: var(--navy);
  letter-spacing: -.02em; margin: 8px 0 2px; line-height: 1;
}
.bm-card .bm-range { font-size: 12px; color: var(--text-muted); }
.bm-card .bm-what {
  font-size: 12.5px; color: var(--text-secondary); margin-top: 10px;
  padding-top: 10px; border-top: 1px solid var(--border-soft); line-height: 1.5;
}
.bm-card .bm-formula {
  font-size: 11.5px; color: var(--text-muted); margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-word;
}
.bm-trend {
  font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: .05em; white-space: nowrap;
}
.bm-trend.up     { background: var(--emerald-light); color: var(--emerald-text); }
.bm-trend.down   { background: var(--red-light);     color: var(--red-text); }
.bm-trend.stable { background: var(--surface);       color: var(--text-muted); }

/* ---- Top ratios ------------------------------------------- */
.ratio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ratio-row {
  display: flex; align-items: flex-start; gap: 14px;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.ratio-row .rank {
  width: 28px; height: 28px; flex: 0 0 28px; border-radius: 8px;
  background: var(--blue-light); color: var(--brand-blue-dk);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.ratio-row .rbody { flex: 1; }
.ratio-row .rname { font-size: 14.5px; font-weight: 700; color: var(--navy); }
.ratio-row .rwhy  { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }
.ratio-row .rtarget {
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
  background: var(--emerald-light); color: var(--emerald-text); white-space: nowrap;
}

/* ---- How-it-works steps ----------------------------------- */
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.how-step {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 22px 20px; box-shadow: var(--shadow-sm);
  position: relative;
}
.how-step .n {
  width: 30px; height: 30px; border-radius: 9px; margin-bottom: 12px;
  background: var(--navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.how-step h3 { font-size: 16px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.how-step p { font-size: 13.5px; color: var(--text-secondary); margin: 0; line-height: 1.6; }

/* ---- Deliverables / plain list ---------------------------- */
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.deliverable {
  display: flex; gap: 12px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-md); padding: 15px 18px;
}
.deliverable .dicon {
  width: 32px; height: 32px; flex: 0 0 32px; border-radius: 9px;
  background: var(--blue-light); color: var(--brand-blue-dk);
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.deliverable .dname { font-size: 14px; font-weight: 700; color: var(--navy); }
.deliverable .ddesc { font-size: 12.5px; color: var(--text-muted); margin-top: 2px; line-height: 1.5; }

/* ---- Contact block ---------------------------------------- */
.contact-methods {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 760px; margin: 0 auto;
}
.contact-card {
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg); padding: 26px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.contact-card .cicon {
  width: 46px; height: 46px; border-radius: 13px; margin: 0 auto 14px;
  background: var(--blue-light); color: var(--brand-blue-dk);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact-card .cicon.green { background: var(--emerald-light); color: var(--emerald-text); }
.contact-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.contact-card p { font-size: 13.5px; color: var(--text-secondary); margin: 0 0 18px; line-height: 1.6; }

/* ---- Responsive ------------------------------------------- */
@media (max-width: 980px) {
  .bm-cards { grid-template-columns: repeat(2, 1fr); }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .bm-controls { grid-template-columns: 1fr; }
  .bm-cards, .ratio-grid, .how-steps,
  .deliverables, .contact-methods { grid-template-columns: 1fr; }
}

/* ---- Industry coverage chips ------------------------------- */
.mi-grid {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.mi-chip {
  display: inline-flex; align-items: center;
  padding: 9px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border-soft);
  font-size: 13.5px; font-weight: 600; color: var(--navy);
  box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s;
}
.mi-chip:hover { border-color: var(--brand-blue); transform: translateY(-2px); }

/* Benchmarks, before any figures are published.
   Stands in for the explorer rather than beside it, so the section reads as
   deliberate rather than as a page that failed to load. */
.bm-pending {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--border-soft);
  border-radius: var(--r-lg, 16px); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}
.bm-pending p {
  margin: 0 0 14px; color: var(--text-secondary);
  font-size: 15px; line-height: 1.65;
}
.bm-pending p:last-of-type { color: var(--text-muted); font-size: 14px; }
.bm-pending strong { color: var(--navy); font-weight: 700; }
.bm-pending-cta {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-top: 20px;
}
