/* ==========================================================
   REPORT DESIGN SCALE — shared by every internal report section
   (V1 + V2). Heroes stay dominant; report sections use this compact scale.
   Upcoming sections (المحتوى والإنتاج، المشاريع الرقمية، دراسات الدول، شواهد الأثر)
   must use these tokens and the .rp-* conventions below.
   ========================================================== */
:root {
  /* language accents — small functional accents only (badges, bars, dots) */
  --rp-lang-en: #6499D4;                              /* English — soft blue */
  --rp-lang-es: #F4C542;                              /* Spanish — golden yellow */
  --rp-lang-pt: #E76F51;                              /* Portuguese — coral orange */
  --rp-lang-ink: #0B202C;                             /* text inside colored badges */
  /* layout */
  --rp-max: 1320px;                                   /* content width */
  --rp-pad-y: clamp(36px, 5vh, 52px);                 /* section vertical padding */
  --rp-pad-x: clamp(20px, 3vw, 40px);
  --rp-head-gap: clamp(22px, 3vh, 32px);              /* header → content */
  --rp-gap: clamp(12px, 1.1vw, 16px);                 /* card gaps */
  --rp-card-pad: clamp(18px, 1.7vw, 26px);            /* card internal padding */
  --rp-inner-gap: clamp(12px, 1.4vw, 18px);
  --rp-radius: 20px;
  --rp-radius-sm: 14px;
  --rp-nav-offset: calc(var(--nav-h, 76px) + 14px);  /* anchor landing below the floating nav */

  /* typography (desktop maxima are hard-capped so large monitors don't inflate them) */
  --rp-fs-eyebrow: clamp(12px, .85vw, 13.5px);
  --rp-fs-h2: clamp(2.1rem, 2.9vw, 2.9rem);          /* ~34–46px */
  --rp-fs-sub: clamp(1.3rem, 1.6vw, 1.6rem);         /* ~21–26px */
  --rp-fs-body: clamp(15px, 1.05vw, 16.5px);
  --rp-fs-stat-1: clamp(2.9rem, 4vw, 4rem);          /* ~46–64px primary statistic */
  --rp-fs-stat-2: clamp(1.75rem, 2.4vw, 2.4rem);     /* ~28–38px secondary statistic */
  --rp-fs-label: clamp(13.5px, .95vw, 15.5px);
}

/* ---------- conventions for future sections ---------- */
.rp-section { padding: var(--rp-pad-y) var(--rp-pad-x); scroll-margin-top: var(--rp-nav-offset); }
.rp-wrap { max-width: var(--rp-max); margin-inline: auto; }
.rp-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px clamp(28px, 4vw, 64px); align-items: end; margin-bottom: var(--rp-head-gap); }
.rp-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: var(--rp-fs-eyebrow); font-weight: 500; }
.rp-eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.rp-h2 { margin: 0; font-size: var(--rp-fs-h2); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
.rp-sub { margin: 6px 0 0; font-size: var(--rp-fs-sub); font-weight: 600; line-height: 1.35; }
.rp-desc { margin: 0; max-width: 34em; font-size: var(--rp-fs-body); line-height: 1.8; }
.rp-card { border-radius: var(--rp-radius); padding: var(--rp-card-pad); }
.rp-stat-1 { font-size: var(--rp-fs-stat-1); font-weight: 700; line-height: 1; }
.rp-stat-2 { font-size: var(--rp-fs-stat-2); font-weight: 700; line-height: 1; }
.rp-label { font-size: var(--rp-fs-label); }
@media (max-width: 900px) { .rp-head { grid-template-columns: 1fr; } }
