/* ============================================================
   REPORTS & ANALYTICS PAGE — /features/reports-and-analytics
   Scope  : body.rp-page, all selectors prefixed .rp-
   Follows the shared design system (Instrument Sans body +
   Mulish headings, brand blue #0302B0 / teal #01A9E0), same as
   sla-redesign.css / email-redesign.css. Self-contained.

   Buttons use the corrected site-wide recipe:
   border 1.5px (fractional widths render ragged on the radius)
   + background-clip:padding-box (a gradient under a border
   bleeds through the antialiased edge otherwise).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700;800&family=Mulish:wght@400;500;600;700;800&display=swap');

:root {
  --rp-blue:       #0302B0;
  --rp-teal:       #01A9E0;
  --rp-navy:       #0D1B3E;
  --rp-strong:     #212738;
  --rp-text:       #232321;
  --rp-text-mid:   #454455;
  --rp-text-light: #6B7280;
  --rp-border:     #E5E7EB;
  --rp-ff-head:    'Mulish', 'Segoe UI', system-ui, sans-serif;
  --rp-ff-body:    'Instrument Sans', 'Mulish', 'Segoe UI', sans-serif;
  --rp-max-w:      1200px;
  --rp-gutter:     24px;
  --rp-sec-py:     88px;
  --rp-ease:       cubic-bezier(.16,1,.3,1);
  --rp-grad-primary: linear-gradient(95deg, #0302B0 1.34%, #01A9E0 97.22%);
  --rp-r-pill:     9999px;
  --rp-shadow-card: 0 10px 30px rgba(16,24,40,.08), 0 2px 8px rgba(16,24,40,.04);
}

.rp-page .rp-hero *, .rp-page .rp-metrics *, .rp-page .rp-cta * { box-sizing: border-box; }

.rp-container {
  max-width: var(--rp-max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--rp-gutter);
  padding-right: var(--rp-gutter);
}

/* ── shared type ──────────────────────────────────────── */
.rp-eyebrow {
  display: block;
  font-family: var(--rp-ff-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--rp-blue);
  margin: 0 0 14px;
}
.rp-eyebrow--center { text-align: center; }

.rp-section-title {
  font-family: var(--rp-ff-head);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.02em;
  color: var(--rp-strong);
  margin: 0 0 18px;
}
.rp-section-title--center { text-align: center; }

.rp-section-body {
  font-family: var(--rp-ff-body);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--rp-text-mid);
  margin: 0;
}
.rp-section-body--center { text-align: center; }

.rp-text-blue { color: var(--rp-blue); }

.rp-page .rp-header { max-width: 900px; margin: 0 auto 64px; }

/* ── shared buttons ───────────────────────────────────── */
.rp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--rp-ff-head);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 15px 28px;
  border-radius: var(--rp-r-pill);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .22s var(--rp-ease),
              box-shadow .22s var(--rp-ease),
              transform .18s var(--rp-ease);
}
.rp-btn:hover { transform: translateY(-2px); text-decoration: none; }
.rp-btn--primary {
  color: #fff;
  border: 1.5px solid #01A9E0;
  background: var(--rp-grad-primary);
  background-clip: padding-box;
}
.rp-btn--primary:hover { color: #fff; box-shadow: 0 6px 24px rgba(3,2,176,.35); opacity: .92; }
.rp-btn--white {
  color: var(--rp-blue);
  background: #fff;
  border: 1.5px solid #19182D;
  background-clip: padding-box;
}
.rp-btn--white:hover { color: var(--rp-blue); box-shadow: 0 6px 20px rgba(13,27,62,.12); }
.rp-btn__arrow { width: 18px; height: 18px; flex-shrink: 0; }
.rp-btn-group { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

/* inline text link — the carried-over "Read more" */
.rp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-family: var(--rp-ff-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--rp-blue);
  text-decoration: none;
  transition: gap .18s var(--rp-ease), color .18s var(--rp-ease);
}
.rp-link:hover { color: var(--rp-teal); gap: 12px; text-decoration: none; }
.rp-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   SECTION 1 — HERO
   Copy left, product art right. Pale lavender -> blue wash.
============================================================ */
.rp-hero {
  position: relative;
  padding-top: 76px;
  padding-bottom: 76px;
  background:
    radial-gradient(900px 560px at 92% 46%, #BFE0FA 0%, rgba(191,224,250,0) 72%),
    linear-gradient(105deg, #FAFAFF 0%, #F1F5FE 46%, #DDEDFB 100%);
  overflow: hidden;
}
.rp-hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.rp-hero__title {
  font-family: var(--rp-ff-head);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--rp-strong);
  margin: 0 0 24px;
}
.rp-hero__body {
  font-family: var(--rp-ff-body);
  font-size: 21px;
  line-height: 1.65;
  color: var(--rp-text-mid);
  margin: 0;
  max-width: 560px;
}
.rp-hero__art { position: relative; }
.rp-hero__art img {
  width: 100%;
  height: auto;
  display: block;
  margin-left: auto;
  max-width: 520px;
}

/* ============================================================
   SECTION 2 — KEY METRICS (alternating rows)
============================================================ */
.rp-metrics {
  padding-top: var(--rp-sec-py);
  padding-bottom: var(--rp-sec-py);
  background: #FCFCFE;
}
.rp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.rp-row + .rp-row { margin-top: 88px; }
.rp-row__title {
  font-family: var(--rp-ff-head);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--rp-strong);
  margin: 0 0 16px;
}
.rp-row__body {
  font-family: var(--rp-ff-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--rp-text-mid);
  margin: 0 0 14px;
}
.rp-row__body:last-of-type { margin-bottom: 0; }
.rp-row__art img {
  width: 100%;
  height: auto;
  display: block;
}
/* odd rows: art left, text right (as drawn).
   even rows: flipped. Source order stays text-then-art for
   readers and for the mobile stack. */
.rp-row--art-left .rp-row__art  { order: 1; }
.rp-row--art-left .rp-row__text { order: 2; }
.rp-row--art-right .rp-row__text { order: 1; }
.rp-row--art-right .rp-row__art  { order: 2; }

/* ============================================================
   SECTION 3 — CTA BANNER
   Mirrors .hp-cta-banner / .sla-cta so the three pages match.
============================================================ */
.rp-cta {
  padding-top: 76px;
  padding-bottom: 76px;
  background:
    radial-gradient(900px 520px at 4% 30%, #8FDCF2 0%, rgba(143,220,242,0) 62%),
    radial-gradient(760px 520px at 18% 96%, #B9F0DA 0%, rgba(185,240,218,0) 60%),
    linear-gradient(100deg, #CFEFF8 0%, #E4F7F4 46%, #EFFAFD 100%);
}
.rp-cta__title {
  font-family: var(--rp-ff-head);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--rp-strong);
  margin: 0 0 20px;
}
.rp-cta__body {
  font-family: var(--rp-ff-body);
  font-size: 21px;
  line-height: 1.6;
  color: var(--rp-text-mid);
  margin: 0 0 34px;
  max-width: 900px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 992px) {
  .rp-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .rp-hero__art img { margin: 0 auto; max-width: 460px; }
  .rp-row { grid-template-columns: 1fr; gap: 32px; }
  .rp-row + .rp-row { margin-top: 56px; }
  /* stack art under text on every row, regardless of desktop order */
  .rp-row--art-left .rp-row__art,
  .rp-row--art-right .rp-row__art  { order: 2; }
  .rp-row--art-left .rp-row__text,
  .rp-row--art-right .rp-row__text { order: 1; }
  .rp-row__art img { max-width: 520px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --rp-sec-py: 60px; }
  .rp-hero            { padding-top: 48px; padding-bottom: 48px; }
  .rp-hero__title     { font-size: 34px; }
  .rp-hero__body      { font-size: 18px; }
  .rp-eyebrow         { font-size: 18px; }
  .rp-section-title   { font-size: 28px; }
  .rp-section-body    { font-size: 17px; }
  .rp-page .rp-header { margin-bottom: 40px; }
  .rp-row__title      { font-size: 24px; }
  .rp-row__body       { font-size: 16px; }
  .rp-cta__title      { font-size: 30px; }
  .rp-cta__body       { font-size: 18px; }
  .rp-btn-group       { flex-direction: column; align-items: stretch; }
  .rp-btn             { justify-content: center; }
}
