/* Project-specific composition classes.
   Keep design tokens and primitives in design-system.css. */

/* Header row for a dashboard panel: title + meta on the left, one action
   on the right. Reused by every "surface" card that lists something. */
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-5) var(--space-2);
}
.panel-head h3 { margin-bottom: .25rem; }

.panel-pad { padding: var(--space-5); }

/* Tight heading under an eyebrow or above a one-line description —
   the default h3 top margin reads too loose in a dense card. */
.card-title-tight { margin: .45rem 0; }

/* Verified badge — a soft pill with a check icon, the universally-
   recognized "verified" pattern rather than an invented mark. */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .75rem .35rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--color-success-soft);
  color: var(--color-success);
  font-size: .82rem;
  font-weight: 700;
}
.verified-badge svg { width: 16px; height: 16px; }

/* Concrete proof numbers instead of prose — faster to trust than a
   paragraph, and cuts reading load on the homepage. */
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.stat-strip__item { text-align: left; }
.stat-strip__value { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 600; color: var(--color-heading); font-variant-numeric: tabular-nums; }
.stat-strip__label { font-size: .82rem; color: var(--color-text-muted); margin-top: .2rem; }

.trust-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.trust-item { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-5); border-radius: .6rem; background: var(--color-surface); border: 1px solid var(--color-border); }

/* Dark, full-bleed panel for the accountability/security section — a
   deliberately fixed-dark section regardless of the site's light/dark
   toggle, using the logo's actual navy rather than a --color-* token
   that would flip with the theme. */
.trust-panel { background: #0d1b2a; }
.trust-panel .eyebrow { color: #6fd4d1; }
.trust-panel h2, .trust-panel strong { color: #f5f7fa; }
.trust-panel .lede, .trust-panel p { color: rgba(245, 247, 250, .68); }
.trust-panel .trust-item { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.trust-panel .icon-box { background: rgba(111, 212, 209, .14); color: #6fd4d1; }

/* ---- process steps (how it works) ---- */
.process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
.process-step { padding-top: var(--space-5); border-top: 2px solid var(--color-border-strong); }
.process-step__number { font-family: var(--font-mono); font-size: .82rem; font-weight: 700; color: var(--color-primary); letter-spacing: .04em; }
.process-step h3 { margin: var(--space-3) 0 var(--space-2); }

/* ---- service coverage: two-tier hierarchy ---- */
.service-primary {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: .5rem;
}
.service-primary h3 { font-size: 1.15rem; margin-bottom: var(--space-2); }

.service-secondary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--color-border); }
.service-secondary { padding: var(--space-5) var(--space-4) var(--space-5) 0; border-bottom: 1px solid var(--color-border); }
.service-secondary h3 { font-size: .95rem; margin-bottom: var(--space-1); }
.service-secondary p { font-size: .875rem; }

.country-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.country-chip { padding: .5rem .85rem; border: 1px solid var(--color-border); border-radius: var(--radius-pill); color: var(--color-text-muted); background: var(--color-surface); font-size: .84rem; font-weight: 600; }

.request-card { display: grid; gap: var(--space-4); }
.request-card__meta { display: flex; justify-content: space-between; gap: var(--space-4); }
.request-card__route { display: flex; align-items: center; gap: var(--space-3); font-weight: 700; color: var(--color-heading); }

.quote-summary { display: grid; grid-template-columns: 1fr auto; gap: var(--space-4); align-items: center; }
.quote-summary__amount { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 600; color: var(--color-heading); font-variant-numeric: tabular-nums; }

.moderation-card { border-left: 3px solid var(--color-warning); }

/* Free-text message bodies (moderation queue) — plain text/muted utilities
   don't preserve line breaks or stop long unbroken tokens (the exact
   emails/URLs the anti-circumvention scanner flags) from overflowing. */
.message-body { white-space: pre-wrap; word-break: break-word; }

/* ---- guided request stepper ---- */
.stepper-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.form-title { font-size: 1.2rem; margin: 0; }
.step-indicator { font-size: .82rem; font-weight: 600; color: var(--color-text-muted); white-space: nowrap; }

.step-pane { display: none; }
.step-pane[data-active="true"] { display: grid; gap: var(--space-4); animation: step-in .18s ease; }

@keyframes step-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.step-nav { display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; }

@media (max-width: 760px) {
  .trust-strip { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quote-summary { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: var(--space-6); }
  .service-secondary-grid { grid-template-columns: 1fr; }
  .service-secondary { padding-right: 0; }
}
