/* ==========================================================================
   About Us v2 (EN) — Figma "RP: Landing Pages" 19061:3380 (Mo, 2026-10-09)
   Markup: parts/about-body.html (.rpa). Enqueued by inc/kadence-about.php on /about-us only.
   Everything is scoped to .rpa so nothing else on the site is affected.
   Tokens: navy #021143, blue #114EF7, light blue #F0F4FE, grey #F1F1F1, text #696969 / #545454.
   ========================================================================== */
.rpa { font-family: Mulish, sans-serif; color: #021143; overflow-x: clip; }
.rpa *, .rpa *::before, .rpa *::after { box-sizing: border-box; }
.rpa p { color: inherit; }
/* Resets at (0,0,1) via :where() so each block's own margin-top (0,1,0) wins — a plain .rpa p reset
   (0,1,1) silently zeroed every margin below (hero spacing, founder role, milestones sub). */
:where(.rpa) p { margin: 0; } /* qa-fixes-global sets p {color:#666}; every .rpa block sets its own colour */
.rpa img { max-width: 100%; display: block; }
:where(.rpa) h1, :where(.rpa) h2, :where(.rpa) h3 { margin: 0; }
.rpa h1, .rpa h2, .rpa h3 { font-family: Mulish, sans-serif; }

/* Shared bits */
.rpa-pill { display: inline-flex; align-items: center; justify-content: center; padding: 4px 12px; border: 1.2px solid #EBEBEB; border-radius: 999px; font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .06px; color: #021143; background: #fff; white-space: nowrap; }
.rpa-pill--light { border-color: #fff; color: #fff; background: transparent; font-weight: 400; line-height: 20px; }
.rpa-h2 { font-size: 48px; line-height: 1.05; font-weight: 700; letter-spacing: -1.2px; color: #021143; }
.rpa-blue { color: #114EF7; }
.rpa-head { display: flex; flex-direction: column; align-items: center; gap: 23.5px; text-align: center; }
.rpa-head-sub { font-size: 20px; line-height: 28px; color: #696969; }

/* ---------- HERO ---------- */
.rpa-hero { background: #021143; border-radius: 0 0 56px 56px; padding: 64px 64px 0; color: #fff; text-align: center; margin-top: 16px; }
/* Flush under the fixed navbar: body padding-top is 96px, the navbar is 80px at >=1210 and 112px below
   (same offsets as the blog hero, qa-fixes-blog.css §BLOG-TOP-GAP). */
@media screen and (min-width: 1210px) { .rpa-hero { margin-top: -16px; } }
.rpa-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 1312px; margin: 0 auto; }
.rpa-hero-title { margin-top: 28px; font-size: 64px; line-height: 1.1; font-weight: 600; letter-spacing: -1.9px; color: #fff; } /* Mo 2026-10-09: more air than Figma's 23/1.0 */
.rpa-hero-sub { margin-top: 24px; font-size: 18px; line-height: 1.6; color: #C4C9D4; max-width: 760px; }
.rpa-hero-img { margin-top: 40px; width: 922px; max-width: 100%; height: auto; aspect-ratio: 922 / 473; object-fit: cover; border-radius: 32px; }
.rpa-hero-logos { padding: 48px 0 60px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.rpa-hero-logos-title { font-size: 21.6px; line-height: 38.88px; font-weight: 700; color: #fff; }
.rpa-hero-logos-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; }
.rpa-hero-logos-row img { height: 38px; width: auto; }

/* ---------- STATS ---------- */
.rpa-stats { display: flex; gap: 16px; padding: 80px 80px 48px; max-width: 1440px; margin: 0 auto; }
.rpa-stat { flex: 1 1 0; min-width: 0; min-height: 200px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; padding: 36px 24px; border-radius: 32px; background: #F1F1F1; color: #021143; } /* Mo 2026-10-09: centred (Figma bottom-left) */
.rpa-stat--blue { background: #114EF7; color: #fff; }
.rpa-stat-num { font-size: clamp(36px, 3.4vw, 48px); line-height: 1; font-weight: 700; letter-spacing: -1.2px; white-space: nowrap; }
.rpa-stat-label { font-size: 16px; line-height: 1.4; letter-spacing: .06px; } /* Mo 2026-10-09: bigger than Figma's 12px */

/* ---------- OUR STORY ---------- */
.rpa-story { display: flex; align-items: flex-end; gap: 56px; padding: 96px 120px; max-width: 1440px; margin: 0 auto; }
.rpa-story-left, .rpa-story-right { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.rpa-story-img { margin-top: 16px; width: 100%; height: auto; aspect-ratio: 527 / 395; object-fit: cover; border-radius: 32px; }
.rpa-story-right p { font-size: 16px; line-height: 24px; color: #696969; }
.rpa-story-right .rpa-story-lead { font-size: 20px; line-height: 28px; font-weight: 600; color: #000; }

/* ---------- FOUNDER ---------- */
.rpa-founder { display: flex; flex-direction: column; gap: 64px; padding: 80px; max-width: 1440px; margin: 0 auto; }
.rpa-founder-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 16px; }
.rpa-founder-img { width: 100%; height: 100%; min-height: 465px; contain: size; object-fit: cover; object-position: center top; border-radius: 40px; background: #F0F1F4; }
.rpa-founder-card { background: #F0F4FE; border-radius: 40px; padding: 38px 48px 40px; display: flex; flex-direction: column; gap: 20px; }
.rpa-founder-name { font-size: 34px; line-height: 1.05; font-weight: 600; letter-spacing: -1px; color: #021143; }
.rpa-founder-role { margin-top: -14px !important; font-size: 14px; line-height: 1.5; font-weight: 600; color: #114EF7; }
.rpa-founder-card p:not(.rpa-founder-role) { font-size: 18px; line-height: 27px; color: #545454; max-width: 679px; }

/* ---------- MILESTONES ---------- */
.rpa-milestones { background: #021143; padding: 80px 0; color: #fff; position: relative; }
.rpa-milestones-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: 1440px; margin: 0 auto; padding: 0 120px; }
.rpa-milestones-head > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.rpa-milestones .rpa-h2 { color: #fff; }
.rpa-milestones-sub { font-size: 16px; line-height: 1.5; color: #C4C9D4; }
.rpa-arrows { display: flex; gap: 8px; flex: 0 0 auto; }
.rpa-arrow { width: 56px; height: 56px; border-radius: 14px; border: 1px solid #F0F1F4; background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: opacity .2s ease; }
.rpa-arrow:disabled { opacity: .45; cursor: default; }
.rpa-track-wrap { position: relative; margin-top: 32px; }
/* the timeline rule runs through the dots, full width */
.rpa-track-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: #696969; }
.rpa-track { position: relative; list-style: none; margin: 0; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 0 max(24px, calc((100% - 1248px) / 2)) 0; scroll-padding-left: max(24px, calc((100% - 1248px) / 2)); }
.rpa-track::-webkit-scrollbar { display: none; }
/* track is focusable (tabindex=0, for keyboard scrolling): no ring on mouse/touch focus, keep one for keyboard users only */
.rpa-track:focus { outline: none; }
.rpa-track:focus-visible { outline: 2px solid #2A5BFF; outline-offset: -2px; }
.rpa-ms { flex: 0 0 360px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 24px; }
.rpa-ms-dot { display: block; width: 20px; height: 20px; border-radius: 10px; background: #114EF7; border: 4px solid #021143; }
.rpa-ms-year { margin-top: 0 !important; display: flex; align-items: baseline; gap: 8px; font-size: 24px; line-height: 1.1; font-weight: 600; color: #fff; }
.rpa-ms-year span { font-size: 12px; line-height: 1.4; font-weight: 600; color: #FFDE6F; }
.rpa-ms-card { background: #fff; border-radius: 32px; padding: 8px 8px 40px; display: flex; flex-direction: column; gap: 24px; flex: 1 1 auto; }
.rpa-ms-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 8px; }
.rpa-ms-card p { padding: 0 24px; font-size: 16px; line-height: 24px; font-weight: 500; color: #021143; }

/* ---------- BEST MOMENTS (auto-scrolling photo strip) ---------- */
.rpa-team { padding: 80px 0 64px; }
.rpa-team .rpa-head { padding: 0 64px; }
.rpa-gallery { margin-top: 64px; overflow: hidden; }
.rpa-gallery-strip { display: flex; gap: 16px; width: max-content; animation: rpa-scroll 90s linear infinite; }
.rpa-gallery:hover .rpa-gallery-strip { animation-play-state: paused; }
.rpa-gal-set { display: flex; gap: 16px; }
.rpa-col { display: flex; flex-direction: column; gap: 16px; width: 388px; flex: 0 0 auto; }
.rpa-col--w { width: 792px; }
.rpa-row { display: flex; gap: 16px; }
.rpa-gallery img { width: 388px; height: 300px; object-fit: cover; border-radius: 32px; }
.rpa-gallery img.rpa-t-w { width: 792px; height: 300px; }
.rpa-gallery img.rpa-t-tall { width: 388px; height: 616px; }
.rpa-gallery img.rpa-t-big { width: 792px; height: 616px; }
@keyframes rpa-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }

/* ---------- INVESTORS (marquee) ---------- */
.rpa-investors { padding: 80px 64px; display: flex; flex-direction: column; gap: 96px; }
.rpa-marquee { overflow: hidden; max-width: 1312px; width: 100%; margin: 0 auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.rpa-marquee-strip { display: flex; width: max-content; animation: rpa-scroll-logos 40s linear infinite; }
.rpa-marquee-set { display: flex; align-items: center; gap: 72px; padding-right: 72px; }
.rpa-marquee img { height: 44px; width: auto; }
@keyframes rpa-scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- CTA CARDS ---------- */
.rpa-cta { display: flex; gap: 56px; padding: 80px 120px 96px; max-width: 1440px; margin: 0 auto; }
.rpa-cta-card { position: relative; flex: 1 1 0; min-width: 0; min-height: 326px; border-radius: 18px; padding: 40px; display: flex; color: #fff; overflow: hidden; }
.rpa-cta-card--dark { background: #0F1035; }
.rpa-cta-card--blue { background: #114EF7; }
.rpa-cta-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 421px; }
.rpa-cta-card--dark .rpa-cta-copy { max-width: 261px; }
.rpa-cta-title { font-size: 32px; line-height: 40px; font-weight: 500; color: #fff; }
.rpa-cta-copy p { font-size: 16px; line-height: 24px; color: #fff; max-width: 285px; }
.rpa-cta-copy .rpa-btn { margin-top: auto; }
.rpa-btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 16px 32px; border-radius: 8px; font-size: 16px; font-weight: 500; line-height: 24px; text-decoration: none; white-space: nowrap; transition: opacity .2s ease; }
.rpa-btn:hover { opacity: .9; text-decoration: none; }
.rpa-btn--blue { background: #114EF7; color: #fff; min-width: 182px; }
.rpa-btn--white { background: #fff; color: #000; font-size: 14px; font-weight: 700; line-height: 22px; min-width: 177px; }
/* Illustration sits top-right, behind the copy, as in Figma (left card x+301, right card x+270/y+46). */
.rpa-cta-img { position: absolute; top: 40px; right: 40px; width: 231px; height: auto; }
.rpa-cta-card--blue .rpa-cta-img { width: 235px; top: 46px; right: 27px; }

/* Motion off for people who ask for it */
@media (prefers-reduced-motion: reduce) {
  .rpa-gallery-strip, .rpa-marquee-strip { animation: none; }
  .rpa-gallery { overflow-x: auto; }
}

/* ---------- ≤1209 (small laptops / tablets) ---------- */
@media screen and (max-width: 1209px) {
  .rpa-story { padding: 80px 64px; gap: 48px; }
  .rpa-milestones-head { padding: 0 64px; }
  /* CTA: below 1210 the two cards stack; inside each card copy + illustration stay SIDE BY SIDE (Mo 2026-10-09). */
  .rpa-cta { flex-direction: column; padding: 64px; gap: 24px; }
  .rpa-cta-card { flex: 0 0 auto; flex-direction: row; align-items: center; gap: 24px; min-height: 0; } /* basis 0 in a column + overflow:hidden collapsed the card */
  .rpa-cta-copy, .rpa-cta-card--dark .rpa-cta-copy, .rpa-cta-card--blue .rpa-cta-copy { flex: 1 1 auto; min-width: 0; max-width: none; }
  .rpa-cta-copy p { max-width: none; }
  .rpa-cta-copy .rpa-btn { margin-top: 18px; }
  .rpa-cta-img, .rpa-cta-card--blue .rpa-cta-img { position: static; flex: 0 0 auto; width: clamp(110px, 24vw, 231px); margin: 0; }
}

/* ---------- ≤991 (tablet / mobile): stack ---------- */
@media screen and (max-width: 991px) {
  .rpa-h2 { font-size: 36px; letter-spacing: -.8px; }
  .rpa-hero { padding: 48px 24px 0; border-radius: 0 0 32px 32px; }
  .rpa-hero-title { margin-top: 20px; font-size: 44px; line-height: 1.12; letter-spacing: -1.2px; }
  .rpa-hero-sub { margin-top: 18px; }
  .rpa-hero-sub { font-size: 16px; }
  .rpa-br-desktop { display: none; }
  .rpa-hero-img { margin-top: 32px; border-radius: 20px; }
  .rpa-hero-logos { padding: 40px 0 48px; gap: 24px; }
  .rpa-hero-logos-title { font-size: 18px; line-height: 28px; }
  .rpa-hero-logos-row img { height: 28px; }
  .rpa-stats { flex-wrap: wrap; padding: 48px 24px 24px; }
  .rpa-stat { flex: 1 1 calc(50% - 8px); min-height: 160px; padding: 28px; border-radius: 24px; }
  .rpa-stat-num { font-size: 40px; }
  .rpa-stat-label { font-size: 15px; }
  .rpa-story { flex-direction: column; align-items: stretch; padding: 48px 24px; gap: 32px; }
  .rpa-story-left, .rpa-story-right { flex: 0 0 auto; }
  .rpa-founder { padding: 48px 24px; gap: 40px; }
  .rpa-founder-grid { grid-template-columns: 1fr; }
  .rpa-founder-img { height: auto; min-height: 0; contain: none; aspect-ratio: 4 / 3; object-position: center 30%; border-radius: 28px; } /* stacked: show head + shoulders, not a 360px letterbox of the bookshelf */
  .rpa-founder-card { padding: 32px 24px; border-radius: 28px; }
  .rpa-founder-name { font-size: 32px; }
  .rpa-founder-card p:not(.rpa-founder-role) { font-size: 17px; line-height: 26px; }
  .rpa-milestones { padding: 56px 0; }
  .rpa-milestones-head { padding: 0 24px; }
  .rpa-ms { flex-basis: 300px; }
  .rpa-team { padding: 56px 0 48px; }
  .rpa-team .rpa-head { padding: 0 24px; }
  .rpa-head-sub { font-size: 17px; line-height: 26px; }
  .rpa-gallery { margin-top: 40px; }
  .rpa-gallery-strip, .rpa-gal-set, .rpa-col, .rpa-row { gap: 10px; }
  .rpa-col { width: 194px; }
  .rpa-col--w { width: 398px; }
  .rpa-gallery img { width: 194px; height: 150px; border-radius: 20px; }
  .rpa-gallery img.rpa-t-w { width: 398px; height: 150px; }
  .rpa-gallery img.rpa-t-tall { width: 194px; height: 310px; }
  .rpa-gallery img.rpa-t-big { width: 398px; height: 310px; }
  @keyframes rpa-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
  .rpa-investors { padding: 56px 24px; gap: 48px; }
  .rpa-marquee img { height: 36px; }
  .rpa-marquee-set { gap: 48px; padding-right: 48px; }
  .rpa-cta { flex-direction: column; padding: 48px 24px 64px; gap: 16px; }
  .rpa-cta-card { gap: 20px; padding: 32px 28px; }
}
@media screen and (max-width: 479px) {
  .rpa-cta-card { padding: 24px 18px; gap: 12px; }
  .rpa-cta-title { font-size: 22px; line-height: 28px; }
  .rpa-cta-copy p { font-size: 14px; line-height: 21px; }
  .rpa-btn { height: 46px; padding: 12px 18px; font-size: 14px; }
  .rpa-btn--blue, .rpa-btn--white { min-width: 0; }
  .rpa-hero-title { font-size: 36px; }
  .rpa-stat { flex-basis: 100%; min-height: 128px; }
  .rpa-milestones-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Tablet 768–1209: the two CTA cards sit SIDE BY SIDE (Mo 2026-10-09); copy + illustration stay side by side inside each card ---------- */
@media screen and (min-width: 768px) and (max-width: 1209px) {
  .rpa-cta { flex-direction: row; align-items: stretch; }
  .rpa-cta-card { flex: 1 1 0; min-width: 0; align-items: center; padding: 32px 24px; gap: 16px; }
  .rpa-cta-title { font-size: 24px; line-height: 30px; }
  .rpa-cta-copy p { font-size: 15px; line-height: 22px; }
  .rpa-cta-img, .rpa-cta-card--blue .rpa-cta-img { width: clamp(96px, 12vw, 150px); }
  .rpa-cta-copy .rpa-btn { min-width: 0; }
}

/* ---------- Page grid (Mo 2026-10-09): content max 1300px, centred; side gutter 32px desktop / 24px tablet / 16px mobile.
   Full-bleed backgrounds (hero navy, milestones navy, photo strip) still run edge to edge — only the content is capped. ---------- */
.rpa { --rpa-gutter: 32px; --rpa-max: 1300px; }
@media screen and (max-width: 991px) { .rpa { --rpa-gutter: 24px; } }
@media screen and (max-width: 767px) { .rpa { --rpa-gutter: 16px; } }
.rpa-hero,
.rpa-stats, .rpa-story, .rpa-founder, .rpa-cta,
.rpa-milestones-head, .rpa-team .rpa-head, .rpa-investors { padding-left: var(--rpa-gutter); padding-right: var(--rpa-gutter); }
.rpa-stats, .rpa-story, .rpa-founder, .rpa-cta, .rpa-milestones-head, .rpa-team .rpa-head { max-width: calc(var(--rpa-max) + 2 * var(--rpa-gutter)); margin-left: auto; margin-right: auto; }
.rpa-hero-inner, .rpa-marquee { max-width: var(--rpa-max); }
.rpa-track { padding-left: max(var(--rpa-gutter), calc((100% - var(--rpa-max)) / 2)); padding-right: max(var(--rpa-gutter), calc((100% - var(--rpa-max)) / 2)); scroll-padding-left: max(var(--rpa-gutter), calc((100% - var(--rpa-max)) / 2)); }
/* Card spacing (Mo 2026-10-09): 32px desktop, 24px tablet + mobile — CTA cards and founder photo/card */
.rpa-cta, .rpa-founder-grid { gap: 32px; }
@media screen and (max-width: 991px) { .rpa-cta, .rpa-founder-grid { gap: 24px; } }
/* Button hover (Mo 2026-10-09): a site-wide link hover was recolouring the text (blue on blue). Keep the text colour, just deepen the fill. */
.rpa a.rpa-btn--blue, .rpa a.rpa-btn--blue:hover, .rpa a.rpa-btn--blue:focus, .rpa a.rpa-btn--blue:visited { color: #fff; }
.rpa a.rpa-btn--blue:hover, .rpa a.rpa-btn--blue:focus-visible { background: #0B3FD1; opacity: 1; }
.rpa a.rpa-btn--white, .rpa a.rpa-btn--white:hover, .rpa a.rpa-btn--white:focus, .rpa a.rpa-btn--white:visited { color: #000; }
.rpa a.rpa-btn--white:hover, .rpa a.rpa-btn--white:focus-visible { background: #E6ECFE; opacity: 1; }
.rpa a.rpa-btn { transition: background-color .2s ease; }

/* 2026-10-13 (Mo, Figma 19061:3480/3486/3514): match the design for "Our story" + founder role.
   Story: the right column starts 20px below the heading's top (Figma), instead of being pushed down
   by bottom-alignment against the wider 1300px-container image. Founder role: blue #114EF7 — the
   base rule (0,1,0) was losing to `.rpa p { color: inherit }` (0,1,1), so it rendered navy. */
@media screen and (min-width: 992px) {
  .rpa-story { align-items: flex-start; }
  .rpa-story-right { padding-top: 71px; } /* pill 27 + gap 24 + 20 = lead top in Figma */
}
.rpa .rpa-founder-role { color: #114EF7; }

/* ==========================================================================
   About Us (AR) — 2026-10-14 (Mo). parts/ar-about-body.html uses the same .rpa markup with
   .rpa--ar + dir="rtl". Flex rows mirror automatically; these rules cover what doesn't:
   Arabic font (Almarai, the site's AR font), no negative tracking on Arabic script, longer
   stat values, RTL milestone scroll + arrows, and the CTA illustrations on the left.
   ========================================================================== */
.rpa--ar, .rpa--ar h1, .rpa--ar h2, .rpa--ar h3, .rpa--ar p, .rpa--ar span, .rpa--ar a, .rpa--ar li, .rpa--ar button { font-family: Almarai, Mulish, 'Noto Sans Arabic', sans-serif; letter-spacing: 0; }
.rpa--ar .rpa-hero-title { line-height: 1.3; }
.rpa--ar .rpa-h2 { line-height: 1.3; }
.rpa--ar .rpa-stat-num { white-space: normal; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.3; }
.rpa--ar .rpa-stat:nth-child(2) .rpa-stat-num { font-size: clamp(36px, 3.4vw, 48px); } /* "2021" keeps the EN size */
.rpa--ar .rpa-ms-year span { font-size: 13px; }
.rpa--ar .rpa-track { scroll-padding-left: 0; scroll-padding-right: max(var(--rpa-gutter), calc((100% - var(--rpa-max)) / 2)); }
.rpa--ar .rpa-arrow svg { transform: scaleX(-1); }
.rpa--ar .rpa-cta-img { right: auto; left: 40px; }
.rpa--ar .rpa-cta-card--blue .rpa-cta-img { right: auto; left: 27px; }
.rpa--ar .rpa-cta-title { line-height: 1.35; }
@media screen and (max-width: 767px) {
  .rpa--ar .rpa-hero-title { line-height: 1.35; }
  .rpa--ar .rpa-stat-num { font-size: 28px; }
  .rpa--ar .rpa-stat:nth-child(2) .rpa-stat-num { font-size: 40px; }
}

/* 2026-10-14 (Mo): AR type scale — Almarai renders larger than Mulish at the same px, so the AR About page
   follows the other Arabic pages (/ar home: h1 ~54, h2 40, body 16) instead of the EN sizes. */
.rpa--ar .rpa-hero-title { font-size: 52px; line-height: 1.3; }
.rpa--ar .rpa-hero-sub { font-size: 16px; line-height: 1.7; }
.rpa--ar .rpa-hero-logos-title { font-size: 18px; line-height: 28px; }
.rpa--ar .rpa-h2 { font-size: 40px; line-height: 1.35; }
.rpa--ar .rpa-head-sub { font-size: 17px; line-height: 28px; }
.rpa--ar .rpa-stat-num { font-size: clamp(22px, 2vw, 28px); }
.rpa--ar .rpa-stat:nth-child(2) .rpa-stat-num { font-size: clamp(32px, 2.8vw, 40px); }
.rpa--ar .rpa-stat-label { font-size: 15px; line-height: 1.5; }
.rpa--ar .rpa-story-lead { font-size: 18px; line-height: 30px; }
.rpa--ar .rpa-story-right p:not(.rpa-story-lead) { font-size: 15px; line-height: 26px; }
.rpa--ar .rpa-founder-name { font-size: 30px; line-height: 1.3; }
.rpa--ar .rpa-founder-card p:not(.rpa-founder-role) { font-size: 16px; line-height: 28px; }
.rpa--ar .rpa-ms-year { font-size: 22px; }
.rpa--ar .rpa-ms-card p { font-size: 15px; line-height: 26px; }
.rpa--ar .rpa-milestones-sub { font-size: 15px; line-height: 26px; }
.rpa--ar .rpa-cta-title { font-size: 28px; line-height: 1.4; }
.rpa--ar .rpa-cta-copy p { font-size: 15px; line-height: 26px; }
.rpa--ar .rpa-btn { font-size: 15px; }
@media screen and (max-width: 1209px) {
  .rpa--ar .rpa-hero-title { font-size: 38px; }
  .rpa--ar .rpa-h2 { font-size: 32px; }
}
@media screen and (max-width: 767px) {
  .rpa--ar .rpa-hero-title { font-size: 30px; line-height: 1.4; }
  .rpa--ar .rpa-h2 { font-size: 26px; }
  .rpa--ar .rpa-hero-logos-title { font-size: 16px; line-height: 26px; }
  .rpa--ar .rpa-stat-num { font-size: 24px; }
  .rpa--ar .rpa-stat:nth-child(2) .rpa-stat-num { font-size: 34px; }
  .rpa--ar .rpa-founder-name { font-size: 26px; }
  .rpa--ar .rpa-founder-card p:not(.rpa-founder-role) { font-size: 15px; line-height: 26px; }
  .rpa--ar .rpa-cta-title { font-size: 20px; line-height: 1.45; }
}

/* 2026-10-14 (Mo): AR CTA cards — the illustration sits absolutely on the left (desktop), so the copy must
   stop before it. Width = card content box minus the image (≤262px from the card edge) plus a 24px gap. */
@media screen and (min-width: 1210px) {
  .rpa--ar .rpa-cta-copy, .rpa--ar .rpa-cta-card--dark .rpa-cta-copy { max-width: calc(100% - 262px); }
}
