/* ============================================================
   MEA Reviews — Withdrawals & payout speed (вывод средств)
   Cash-out block: three quick-fact tiles, a numbered how-to-
   withdraw step row and a scannable table of methods (type, min
   and max withdrawal, fee, measured payout speed) with green/amber
   speed pills. Africa / emerging-markets focus. Light "tech /
   computer" theme, matching hero-intro / deposits. Tokens are
   scoped to .mea-out so they won't clash with page :root vars.
   Self-contained — no external CSS or JS.
   ============================================================ */

.mea-out {
  /* ---- Design tokens (mirror of hero-intro / deposits) ---- */
  --out-bg: #f4f4f4;
  --out-surface: #ffffff;
  --out-surface-2: #eef2f8;
  --out-border: #e0e0e0;
  --out-text: #1f2733;
  --out-muted: #5b6676;
  --out-faint: #8a94a6;
  --out-accent: #0f62fe;
  --out-ok: #16a34a;
  --out-warn: #f59e0b;

  --out-radius: 0;
  --out-radius-sm: 0;
  --out-space: clamp(2.25rem, 1.5rem + 3vw, 4rem);

  --out-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Code", Menlo, Consolas, monospace;
  --out-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --out-duration: 200ms;
  --out-ease: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  background: var(--out-bg);
  color: var(--out-text);
  font-family: var(--out-sans);
  padding: var(--out-space) 0;
  overflow: hidden;
}

/* faint circuit-grid atmosphere, tech theme, very light */
.mea-out::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--out-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--out-border) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(120% 90% at 15% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(120% 90% at 15% 0%, #000 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.mea-out__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 0.5rem + 2vw, 2.5rem);
}
.mea-out__sronly {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* ---------- Header ---------- */
.mea-out__head { max-width: 62ch; margin: 0 0 clamp(1.25rem, 0.9rem + 1.5vw, 2rem); }
.mea-out__kicker {
  font-family: var(--out-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--out-accent);
}
.mea-out__title {
  margin: 0.5rem 0 0.4rem;
  font-size: clamp(1.4rem, 1rem + 2vw, 2.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.mea-out__sub { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--out-muted); }

/* ---------- Quick facts ---------- */
.mea-out__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.1rem;
}
.mea-out__fact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--out-surface);
  border: 1px solid var(--out-border);
  border-radius: var(--out-radius-sm);
}
.mea-out__factico {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 0;
  background: rgba(15, 98, 254, 0.1);
  color: var(--out-accent);
  flex: 0 0 auto;
}
.mea-out__factico svg { width: 18px; height: 18px; }
.mea-out__factlabel {
  margin: 0;
  font-family: var(--out-mono);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--out-faint);
}
.mea-out__factval { margin: 0.1rem 0 0; font-size: 0.98rem; font-weight: 800; }

/* ---------- How-to-withdraw steps ---------- */
.mea-out__steps {
  list-style: none;
  margin: 0 0 1.35rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
  counter-reset: none;
}
.mea-out__step {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--out-surface);
  border: 1px solid var(--out-border);
  border-radius: var(--out-radius-sm);
}
.mea-out__stepnum {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 0;
  background: var(--out-accent);
  color: #fff;
  font-family: var(--out-mono);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}
.mea-out__steplabel {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--out-text);
}
.mea-out__steptext {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--out-muted);
}

/* ---------- Table ---------- */
.mea-out__scroll {
  overflow-x: auto;
  border: 1px solid var(--out-border);
  border-radius: var(--out-radius);
  background: var(--out-surface);
  box-shadow: none;
}
.mea-out__table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.mea-out__table thead th {
  position: sticky;
  top: 0;
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--out-surface-2);
  color: var(--out-muted);
  font-family: var(--out-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid var(--out-border);
}
.mea-out__table tbody th,
.mea-out__table tbody td {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--out-border);
  vertical-align: middle;
  white-space: nowrap;
}
.mea-out__table tbody th {
  text-align: left;
  font-weight: 800;
  color: var(--out-text);
}
.mea-out__table tbody td { color: var(--out-muted); }
.mea-out__table tbody tr:hover { background: color-mix(in srgb, var(--out-accent) 4%, transparent); }

.mea-out__pill {
  display: inline-block;
  padding: 0.18rem 0.55rem;
  border-radius: 0;
  font-family: var(--out-mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.mea-out__pill.is-fast { background: rgba(22, 163, 74, 0.12); color: var(--out-ok); }
.mea-out__pill.is-mid { background: rgba(245, 158, 11, 0.14); color: var(--out-warn); }

/* ---------- Disclosure note ---------- */
.mea-out__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--out-faint);
}
.mea-out__note svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--out-accent); margin-top: 0.1rem; }
.mea-out__note strong { color: var(--out-text); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .mea-out__table tbody tr { transition: none; }
}
