/* ============================================================
   Contactable — Reusable KYC page styles
   Loads on top of tokens.css + iip.css.
   Figma: Reusable KYC • Desktop (node 11362-1612)
   ============================================================ */

/* ===== Hero (Header / 5) — light, orbit diagram right ===== */
.rk-hero {
  position: relative;
  overflow: hidden;
  min-height: 668px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background-color: #f2f2f2;
}
.rk-hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.rk-hero__bg img {
  position: absolute;
  left: 14.35%; top: 8.26%;
  width: 85.63%; height: auto; max-width: none;
}
.rk-hero__inner { position: relative; z-index: 1; width: 100%; }
/* Figma container is 476px tall with the copy top-aligned inside the 668px hero,
   so the eyebrow sits 96px from the top — min-height reproduces that rhythm. */
.rk-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; max-width: 560px; min-height: 476px; }
.rk-hero__copy { display: flex; flex-direction: column; gap: 24px; }
.rk-hero__eyebrow { color: #8087b0; font-size: clamp(15px, 1.56vw, 20px); }
.rk-hero__title {
  font-family: "Archivo Black", "Google Sans Flex", sans-serif;
  font-weight: 400;
  font-size: clamp(34px, 5.86vw, 75px);
  line-height: 1.1;
  text-transform: uppercase;
  color: #0f1e6d;
  margin: 0;
  /* Figma title box (1140px) is wider than the 560px copy column — single line at every band */
  white-space: nowrap;
}
.rk-hero__text { font-size: 18px; line-height: 1.5; color: #0f1e6d; margin: 0; max-width: 551px; }

/* ===== The Problem (Layout / 195) — two columns ===== */
.rk-prob { background: #fff; padding: 112px 0; }
.rk-prob__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.rk-prob__eyebrow, .rk-evo__eyebrow { color: rgba(86,95,150,0.75); }
.rk-prob__eyebrow { font-size: clamp(15px, 1.56vw, 20px); }
.rk-prob__main {
  min-width: 0;
  border: 1px solid var(--deep-blue); border-radius: 20px; padding: 30px;
  display: flex; flex-direction: column; gap: 32px;
}
.rk-prob__copy { display: flex; flex-direction: column; gap: 24px; }
.rk-prob__copy .eyebrow { margin: 0; }
.rk-prob__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: var(--deep-orange); margin: 0; text-wrap: wrap; }
.rk-prob__text { font-size: 18px; line-height: 1.5; color: var(--deep-blue); margin: 0; }
.rk-prob__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.rk-prob__actions > * { flex: none; }
.rk-prob__side { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.rk-prob-card {
  border: 1px solid var(--deep-blue); border-radius: 20px; padding: 30px;
  flex: 1 0 0; min-height: 246px;
  display: flex; flex-direction: column;
}
.rk-prob-card__circle { width: 48px; height: 48px; border-radius: 50%; background: var(--deep-orange); flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.rk-prob-card__circle .material-symbols-rounded { font-size: 26px; font-weight: 200; font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24; }
.rk-prob-card__inner { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; margin-top: 12px; }
.rk-prob-card__title { font-size: 28px; font-weight: 600; line-height: 1.4; color: var(--deep-blue); margin: 0; }
.rk-prob-card__text { font-size: 16px; line-height: 1.5; color: var(--deep-blue); margin: 0; }

/* ===== The next evolution of KYC (Layout / 195) ===== */
.rk-evo { background: #fff; padding: 112px 0; }
.rk-evo__inner { display: grid; grid-template-columns: 574fr 626fr; gap: 80px; align-items: center; }
.rk-evo__content { min-width: 0; display: flex; flex-direction: column; }
.rk-evo__content .eyebrow { margin: 0 0 24px; }
.rk-evo__eyebrow { font-size: clamp(15px, 1.56vw, 20px); }
.rk-evo__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: var(--deep-orange); margin: 0 0 24px; text-wrap: wrap; }
.rk-evo__body { display: flex; flex-direction: column; gap: 24px; }
.rk-evo__body p { font-size: 16px; line-height: 1.5; color: var(--deep-blue); margin: 0; }
.rk-evo__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.rk-evo__actions > * { flex: none; }
.rk-evo__img { position: relative; width: 100%; aspect-ratio: 626 / 616; border-radius: 30px; overflow: hidden; background: #1a1420; }

/* -- Evolution animation (port of Claude Design "RKYC Evolution Animation") --
   Scene is a 1254x1254 square; the square stage fills the box's width and
   centres vertically, emulating the old object-fit:cover crop. All badge
   geometry is % of that square (source px / 1254). 7s loop:
   1s plain photo, badges pop in 0.8s apart (0.9s easeOutBack), 1.1s hold. */
.rk-evo__anim { position: absolute; top: 50%; left: 0; width: 100%; aspect-ratio: 1; transform: translateY(-50%); }
.rk-evo__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 35%; }
.rk-evo__badge {
  position: absolute;
  width: 14.992%;             /* 188 / 1254 */
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(7.447%) scale(0);   /* pre-entry: 14px rise in source px = 7.447% of own box */
  will-change: transform, opacity;
}
/* centres (cx,cy) r=94, from rkyc-scene.jsx: left=(cx-94)/1254, top=(cy-94)/1254 */
.rk-evo__badge--1 { left: 12.201%; top: 13.158%; }   /* digital certificate (247,259) */
.rk-evo__badge--2 { left: 72.807%; top: 13.238%; }   /* verified badge (1007,260) */
.rk-evo__badge--3 { left: 6.699%;  top: 40.590%; }   /* id card (178,603) */
.rk-evo__badge--4 { left: 78.309%; top: 40.909%; }   /* academic credential (1076,607) */
.rk-evo__badge--5 { left: 9.330%;  top: 65.311%; }   /* driving licence (211,913) */
.rk-evo__badge--6 { left: 76.794%; top: 65.789%; }   /* professional licence (1057,919) */
/* animations start when the reveal observer adds .in */
.rk-evo__img.in .rk-evo__photo { animation: rk-evo-zoom 7s linear infinite; }
.rk-evo__img.in .rk-evo__badge--1 { animation: rk-evo-pop-1 7s linear infinite; }
.rk-evo__img.in .rk-evo__badge--2 { animation: rk-evo-pop-2 7s linear infinite; }
.rk-evo__img.in .rk-evo__badge--3 { animation: rk-evo-pop-3 7s linear infinite; }
.rk-evo__img.in .rk-evo__badge--4 { animation: rk-evo-pop-4 7s linear infinite; }
.rk-evo__img.in .rk-evo__badge--5 { animation: rk-evo-pop-5 7s linear infinite; }
.rk-evo__img.in .rk-evo__badge--6 { animation: rk-evo-pop-6 7s linear infinite; }
/* subtle ken burns on the base photo (scale 1 -> 1.04, origin 50% 35%) */
@keyframes rk-evo-zoom { from { transform: scale(1); } to { transform: scale(1.04); } }
/* Each pop = the source's 0.9s enter sampled at 6 points (scale easeOutBack,
   opacity over first 45%, 14px rise over first 63%), linear between samples.
   Badge N appears at (1 + 0.8*(N-1))s of the 7s cycle. */
@keyframes rk-evo-pop-1 {
  0%, 14.286% { opacity: 0; transform: translateY(7.447%) scale(0); }
  16.857%     { opacity: .4; transform: translateY(5.319%) scale(.706); }
  19.429%     { opacity: .8; transform: translateY(3.191%) scale(1.029); }
  22%         { opacity: 1; transform: translateY(1.064%) scale(1.099); }
  24.571%     { opacity: 1; transform: translateY(0) scale(1.046); }
  27.143%, 100% { opacity: 1; transform: none; }
}
@keyframes rk-evo-pop-2 {
  0%, 25.714% { opacity: 0; transform: translateY(7.447%) scale(0); }
  28.286%     { opacity: .4; transform: translateY(5.319%) scale(.706); }
  30.857%     { opacity: .8; transform: translateY(3.191%) scale(1.029); }
  33.429%     { opacity: 1; transform: translateY(1.064%) scale(1.099); }
  36%         { opacity: 1; transform: translateY(0) scale(1.046); }
  38.571%, 100% { opacity: 1; transform: none; }
}
@keyframes rk-evo-pop-3 {
  0%, 37.143% { opacity: 0; transform: translateY(7.447%) scale(0); }
  39.714%     { opacity: .4; transform: translateY(5.319%) scale(.706); }
  42.286%     { opacity: .8; transform: translateY(3.191%) scale(1.029); }
  44.857%     { opacity: 1; transform: translateY(1.064%) scale(1.099); }
  47.429%     { opacity: 1; transform: translateY(0) scale(1.046); }
  50%, 100%   { opacity: 1; transform: none; }
}
@keyframes rk-evo-pop-4 {
  0%, 48.571% { opacity: 0; transform: translateY(7.447%) scale(0); }
  51.143%     { opacity: .4; transform: translateY(5.319%) scale(.706); }
  53.714%     { opacity: .8; transform: translateY(3.191%) scale(1.029); }
  56.286%     { opacity: 1; transform: translateY(1.064%) scale(1.099); }
  58.857%     { opacity: 1; transform: translateY(0) scale(1.046); }
  61.429%, 100% { opacity: 1; transform: none; }
}
@keyframes rk-evo-pop-5 {
  0%, 60%     { opacity: 0; transform: translateY(7.447%) scale(0); }
  62.571%     { opacity: .4; transform: translateY(5.319%) scale(.706); }
  65.143%     { opacity: .8; transform: translateY(3.191%) scale(1.029); }
  67.714%     { opacity: 1; transform: translateY(1.064%) scale(1.099); }
  70.286%     { opacity: 1; transform: translateY(0) scale(1.046); }
  72.857%, 100% { opacity: 1; transform: none; }
}
@keyframes rk-evo-pop-6 {
  0%, 71.429% { opacity: 0; transform: translateY(7.447%) scale(0); }
  74%         { opacity: .4; transform: translateY(5.319%) scale(.706); }
  76.571%     { opacity: .8; transform: translateY(3.191%) scale(1.029); }
  79.143%     { opacity: 1; transform: translateY(1.064%) scale(1.099); }
  81.714%     { opacity: 1; transform: translateY(0) scale(1.046); }
  84.286%, 100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rk-evo__img .rk-evo__photo, .rk-evo__img .rk-evo__badge { animation: none !important; }
  .rk-evo__badge { opacity: 1; transform: none; }
}

/* ===== How trust becomes reusable (Layout / 308) ===== */
.rk-how { background: #f2f2f2; padding: 66px 0; }
.rk-how__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 80px; }
.rk-how__head .eyebrow { color: rgba(86,95,150,0.75); margin: 0; }
.rk-how__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: var(--deep-orange); margin: 0; max-width: 792px; text-wrap: wrap; }
.rk-how__sub { font-size: 20px; font-weight: 500; line-height: 1.5; color: var(--deep-blue); margin: 0; max-width: 720px; }
/* Cards share four subgrid rows (num / icon / title / text) so each element
   sits at the same height in every card, whatever the copy length. */
.rk-how__row { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto 1fr auto auto; column-gap: 17px; row-gap: 0; }
.rk-how-card { background: #fff; border-radius: 15px; box-shadow: 2px 2px 2px rgba(0,0,0,0.2); padding: 15px 17px; min-height: 387px; display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.rk-how-card__num { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: var(--periwinkle); margin: 0; }
.rk-how-card__icon { font-size: 68px; line-height: 1; color: var(--deep-orange); align-self: center; justify-self: center; margin: 16px 0; font-weight: 300; font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 48; }
/* fingerprint's fine concentric strokes read thinner than peers at the same wght — bump it */
.rk-how-card__icon--fp { font-weight: 500; font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 48; }
.rk-how-card__body { display: contents; }
.rk-how-card__title { font-size: 24px; font-weight: 700; line-height: 1.3; color: var(--deep-blue); margin: 0 0 16px; }
.rk-how-card__text { font-size: 16px; line-height: 1.5; color: var(--deep-blue); margin: 0; }

/* ===== SA identity ecosystem (Layout / 237) ===== */
.rk-sa { background: #fff; padding: 112px 0; }
.rk-sa__inner { display: flex; flex-direction: column; gap: 64px; }
.rk-sa__head { display: flex; gap: 80px; align-items: flex-start; }
.rk-sa__head-left { flex: 704 1 0; min-width: 0; display: flex; flex-direction: column; gap: 36px; } /* Figma cols 704:496 */
.rk-sa__eyebrow { font-size: clamp(13px, 1.33vw, 17px); color: rgba(86,95,150,0.75); margin: 0; white-space: nowrap; } /* knob: raise/lower the 17px cap to resize */
.rk-sa__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: var(--deep-orange); margin: 0; max-width: 11.75em; text-wrap: wrap; } /* 564px @ 48px in Figma — em keeps the same 3-line wrap at our 0.85 scale */
.rk-sa__head-right { flex: 496 1 0; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.rk-sa__head-right p { font-size: 16px; line-height: 1.5; color: var(--deep-blue); margin: 0; }
.rk-sa__img { width: 100%; aspect-ratio: 1280 / 853; border-radius: 30px; overflow: hidden; }
.rk-sa__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rk-sa__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.rk-sa-card { background: linear-gradient(180deg, #6962f0 0%, #7e3aed 100%); border-radius: 15px; padding: 20px; min-height: 255px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 24px; }
.rk-sa-card__title { font-size: 32px; font-weight: 600; line-height: 1.3; color: #fff; margin: 0; }
.rk-sa-card__text { font-size: 16px; line-height: 1.5; color: #fff; margin: 0; }
.rk-sa__actions { display: flex; gap: 24px; align-items: center; justify-content: center; }

/* ===== RICA quote band (CTA / 15) — dark ===== */
/* Quote band (Figma CTA/15 11464-1871; tablet 11629-1826; mobile 11629-1818).
   Same asset all bands; per-band two-knob crop from Figma's recorded transforms
   (size <zoom>% auto + position x% y%; higher x = subject further left). */
.rk-quote-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  aspect-ratio: 1440 / 462; padding: 60px 0;
  background-color: #232a56;
  background-image: url("../assets/brand/rkyc-quote-bg.webp");
  background-repeat: no-repeat;
  background-size: 167.98% auto;      /* Figma: w 167.98% */
  background-position: 56% 36.3%;     /* Figma: left -38.07%, top -43.57% */
}
.rk-quote-band::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.4); z-index: 1; }
.rk-quote-band__inner { position: relative; z-index: 2; text-align: center; width: 100%; }
.rk-quote-band__quote { font-size: clamp(28px, 2.78vw, 40px); font-weight: 700; line-height: 1.3; color: #fff; margin: 0; } /* hits Figma 40px at the 1440 design width */
.rk-quote-band__author { font-size: 24px; font-weight: 600; line-height: 1.3; color: #fff; margin: 52px 0 0; }

/* ===== Stats (Stats / 55) ===== */
.rk-stats { background: #fff; padding: 112px 0 114px; }
.rk-stats__inner { display: flex; gap: 80px; align-items: center; justify-content: center; }
.rk-stats__copy { flex: 1 1 0; min-width: 0; max-width: 400px; display: flex; flex-direction: column; gap: 32px; align-items: flex-start; }
.rk-stats__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: var(--deep-orange); margin: 0; }
.rk-stats__text { font-size: 18px; font-weight: 600; line-height: 1.5; color: var(--deep-blue); margin: 0; }
.rk-stats__statwrap { flex: 1 1 0; min-width: 0; max-width: 470px; display: flex; justify-content: center; }
.rk-stats__circle {
  width: 100%; max-width: 470px; aspect-ratio: 1; height: auto; border-radius: 50%;  /* Figma 587 reduced 20% (user call) */
  background: linear-gradient(90deg, #6962F0 0%, #7E3AED 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff;
  box-shadow: 0 30px 80px rgba(105,98,240,0.30);
  container-type: inline-size;  /* cqi below = % of the circle's own width */
}
/* cqi ratios = Figma px / 587 circle, so type scales with the circle */
.rk-stats__num { font-size: 25.55cqi; font-weight: 700; line-height: 1.2; }              /* 150 / 587 */
.rk-stats__label { font-size: 6.81cqi; font-weight: 600; line-height: 1.2; margin-top: 1.4cqi; max-width: 71%; }  /* 40 / 587 */

/* ===== Where reusable identity pays off (Layout / 308) — use cases ===== */
.rk-uc { background: #f2f2f2; padding: 80px 0; }
.rk-uc__head { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; margin-bottom: 46px; }
.rk-uc__eyebrow { color: #8087b0; margin: 0; }
.rk-uc__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: var(--deep-orange); margin: 0; max-width: 792px; text-wrap: wrap; }
.rk-uc__sub { font-size: 20px; font-weight: 500; line-height: 1.5; color: var(--deep-blue); margin: 0; }
.rk-uc__grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 51px; row-gap: 46px; }
.rk-uc-card { background: #fff; border-radius: 15px; box-shadow: 2px 2px 2px rgba(0,0,0,0.2); padding: 46px; min-height: 249px; display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.rk-uc-card__label { font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: 1px; text-transform: uppercase; color: #8087b0; margin: 0; }
.rk-uc-card__title { font-size: clamp(24px, 2.5vw, 32px); font-weight: 600; line-height: 1.3; color: var(--deep-orange); margin: 0 0 10px; }
.rk-uc-card__text { font-size: 16px; line-height: 1.5; color: var(--deep-blue); margin: 0; }

/* ===== Telco band (CTA / 15) ===== */
.rk-telco { position: relative; overflow: hidden; background: linear-gradient(90deg, #fda104 0%, #f54c2c 100%); padding: 89px 0 96px; }
.rk-telco__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.rk-telco__inner { position: relative; z-index: 1; }
.rk-telco__content { width: 615px; max-width: 100%; margin-left: auto; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.rk-telco__heading { font-size: calc(clamp(34px, 3.8vw, 48px) * var(--heading-scale)); font-weight: 700; line-height: 1.1; color: #fff; margin: 0; max-width: 552px; text-wrap: wrap; }
.rk-telco__text { font-size: 20px; font-weight: 500; line-height: 1.5; color: #fff; margin: 0; }
.rk-telco .pill-btn { margin-top: 24px; }

/* ===== Testimonial (Testimonial / 1) ===== */
.rk-quote { background: #fff; padding: 112px 0; }
.rk-quote__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; max-width: 1076px; margin: 0 auto; text-align: center; }
.rk-quote__text { font-size: 28px; font-weight: 600; line-height: 1.4; color: var(--periwinkle); margin: 0; }
.rk-quote__person { display: flex; flex-direction: column; align-items: center; }
.rk-quote__name { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--deep-blue); }
.rk-quote__role { font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--deep-blue); }

/* ===== Final CTA (CTA / 15) — reuses .final ===== */
.rk-final { padding: 112px 64px; }
.rk-final .final__inner { grid-template-columns: 660fr 540fr; align-items: center; } /* Figma 11400-2084: 660px heading col / 540px copy col, both vertically centred */
.rk-final__link { color: #fff; }
.rk-final__link:hover { color: #fff; opacity: 0.85; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Hero --- */
/* 1101–1439: freeze the ring artwork at its Figma-1440 rendered size (height-locked
   to the 668px hero, flush right — in Figma left 14.35% + width 85.63% = 100%),
   so 1280 keeps the desktop composition instead of shrinking with the viewport. */
@media (max-width: 1439px) and (min-width: 1101px) {
  .rk-hero__bg img { left: auto; right: 0; top: 8.26%; height: 102.57%; width: auto; }
}
/* Tablet band (Figma 11629-1659, 834×534): copy tops out 40px down, rings
   full-opacity bleeding off bottom-right. Image position = Figma's recorded
   transform (w 113.34%, left 7.9%, top 35.95% of the 534px frame). */
@media (max-width: 1100px) {
  .rk-hero { min-height: 534px; align-items: flex-start; padding: 40px 0; }
  .rk-hero__content { min-height: 0; }
  .rk-hero__bg img { left: 7.9%; top: 35.95%; width: 113.34%; height: auto; }
  .rk-hero__eyebrow { font-size: 18px; letter-spacing: 0.9px; }
  .rk-hero__text { max-width: 392px; }
}
/* Mobile (Figma 11598-1624, 393×534): copy centred, eyebrow drops the
   "Capabilities · " prefix, rings lower-half (w 173.36%, left −36.83%, top 47.86%). */
@media (max-width: 640px) {
  .rk-hero { align-items: center; padding: 54px 0; }
  .rk-hero__bg img { left: -36.83%; top: 47.86%; width: 173.36%; }
  .rk-hero__eyebrow { font-size: 16px; letter-spacing: 0.8px; }
  .rk-hero__eyebrow-pre { display: none; }
  .rk-hero__title { font-size: 28px; }
  .rk-hero__text { font-size: 18px; max-width: 100%; }
}

/* --- Problem (Layout/195 two-col) --- */
@media (max-width: 980px) {
  .rk-prob { padding: 80px 0; }
  .rk-prob__inner { grid-template-columns: 1fr; }
  .rk-prob-card { flex: none; }
}

/* --- Evolution --- */
@media (max-width: 980px) {
  .rk-evo { padding: 80px 0; }
  .rk-evo__inner { grid-template-columns: 1fr; gap: 40px; }
  .rk-evo__img { order: -1; }
}

/* --- How it works (01-04) --- */
@media (max-width: 1100px) {
  .rk-how__row { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, auto 1fr auto auto); }
  .rk-how-card { padding: 24px; }
  .rk-how-card:nth-child(-n+2) { margin-bottom: 17px; }
}
@media (max-width: 560px) {
  .rk-how__row { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 17px; }
  .rk-how-card { grid-row: auto; grid-template-rows: auto auto auto auto; min-height: 0; margin-bottom: 0; }
}

/* --- SA ecosystem (tablet per Figma 11629-1707: 3-up cards stay, 20px gap,
   28px card titles, 18px eyebrow, 32px block gaps, centred actions 64 below cards) --- */
@media (max-width: 1100px) {
  .rk-sa__inner { gap: 32px; }
  .rk-sa__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .rk-sa__head-left, .rk-sa__head-right { flex: none; width: 100%; } /* basis-0 collapses in a column */
  .rk-sa__head-left { gap: 30px; }
  .rk-sa__eyebrow { white-space: normal; font-size: 18px; letter-spacing: 0.9px; }
  .rk-sa__heading { max-width: 19.4em; } /* Figma tablet 699px @ 36px — breaks "…ecosystem is / being rebuilt — now." */
  .rk-sa__cards { gap: 20px; }
  .rk-sa-card__title { font-size: 28px; }
  .rk-sa__actions { justify-content: center; margin-top: 32px; }
}
@media (max-width: 900px) { .rk-sa { padding: 80px 0; } }
/* Mobile per Figma 11629-1670: square-ish image crop (dedicated tighter-ring asset),
   16px eyebrow, 27px rhythm, 18px-radius cards with 25px padding */
@media (max-width: 640px) {
  .rk-sa__inner { gap: 27px; }
  .rk-sa__eyebrow { font-size: 16px; letter-spacing: 0.8px; }
  .rk-sa__img { aspect-ratio: 341 / 336; }
  .rk-sa__img img { object-position: 47.9% 50%; } /* Figma crop: w 147.76%, left -22.88% */
  .rk-sa__cards { grid-template-columns: 1fr; gap: 27px; }
  .rk-sa-card { border-radius: 18px; padding: 25px; }
}

/* --- Quote band: freeze bg growth on very wide monitors --- */
@media (min-width: 1600px) {
  .rk-quote-band { background-size: min(167.98%, 2688px) auto; }
}
/* --- Quote band tablet (Figma 11629-1826) --- */
@media (max-width: 1100px) {
  .rk-quote-band {
    aspect-ratio: 834 / 347;
    background-size: 179.15% auto;   /* Figma: w 179.15% */
    background-position: 52.6% 36.6%; /* Figma: left -41.64%, top -29.65% */
  }
  .rk-quote-band__quote { font-size: 32px; } /* Figma 36 × our narrower gutters (684/764) — keeps the 3-line wrap */
  .rk-quote-band__author { font-size: 20px; margin-top: 60px; }
}
/* --- Quote band mobile (Figma 11629-1818) --- */
@media (max-width: 640px) {
  .rk-quote-band {
    aspect-ratio: 393 / 396;
    background-size: 269.66% auto;   /* Figma: w 269.66% */
    background-position: 58.8% 0%;   /* Figma: left -99.75%, top 0 */
  }
  .rk-quote-band__quote { font-size: 30px; }
  .rk-quote-band__author { font-size: 18px; }
}

/* --- Stats — stat-circle template (matches aml-stats): side-by-side with a
   400px circle in the 901–1100 band; ≤900 the circle stacks FIRST with the
   copy centred underneath; smaller again ≤640. --- */
@media (max-width: 1100px) {
  .rk-stats { padding: 80px 0; }
  .rk-stats__statwrap { width: auto; flex: 1 1 0; }
  .rk-stats__circle { max-width: 336px; }  /* cqi type scales with it */
}
@media (max-width: 900px) {
  .rk-stats__inner { flex-direction: column; gap: 48px; align-items: center; text-align: center; }
  .rk-stats__copy { max-width: 560px; align-items: center; }
  .rk-stats__statwrap { order: -1; width: 100%; }

}
@media (max-width: 640px) {
  .rk-stats__circle { max-width: 240px; }
}

/* --- Use cases: 2-up tiles stay through tablet AND mobile, copy centred --- */
@media (max-width: 900px) {
  .rk-uc__grid { column-gap: 24px; row-gap: 24px; }
  .rk-uc-card { padding: 36px 28px; min-height: 0; text-align: center; align-items: center; }
  .rk-uc-card__label { font-size: 16px; letter-spacing: 0.8px; }
}
@media (max-width: 640px) {
  .rk-uc__grid { grid-template-columns: 1fr; row-gap: 20px; }
  .rk-uc-card { padding: 32px 24px; }
  .rk-uc-card__title { font-size: 24px; }
}

/* --- Telco band --- */
@media (max-width: 980px) {
  .rk-telco__content { width: 100%; margin-left: 0; }
  .rk-telco__heading { max-width: none; }
}
/* Mobile (Figma 11629-1745, 393×648): gradient runs top-to-bottom (not the desktop
   left-right), ring artwork lower-half (w 164.89%, left −32.64%, top 38.25% — same
   overlay convention as .rk-hero__bg), button drops to the compact bordered pill. */
@media (max-width: 640px) {
  .rk-telco { background: linear-gradient(180deg, #f54c2c 0%, #fda104 100%); }
  .rk-telco__bg {
    inset: auto; left: -32.64%; top: 38.25%;
    width: 164.89%; height: auto; max-width: none; object-fit: initial;
  }
  .rk-telco .pill-btn--periwinkle {
    height: 36px;
    padding: 0 24px;
    border: 1px solid #f78e20;
    font-weight: 800;
  }
}

/* --- Testimonial --- */
@media (max-width: 900px) {
  .rk-quote { padding: 80px 0; }
  .rk-quote__text { font-size: clamp(20px, 4.5vw, 28px); }
}

/* --- Final --- */
/* 901–1100: widen the heading column so "TRUSTED EVERYWHERE." holds one line at the 36px tablet size */
@media (max-width: 1100px) and (min-width: 901px) {
  .rk-final .final__inner { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  /* size tracks the left column so "TRUSTED EVERYWHERE." always holds one line (needs ~494px at 36px) */
  .rk-final h2 { font-size: clamp(26px, 4.2vw - 9px, 36px); } /* −9px offset covers scrollbar-inclusive vw */
}
@media (max-width: 900px) {
  .rk-final { padding: 80px 28px; }
  /* single-breakpoint Figma → site convention: stack + centre at ≤900 */
  .rk-final .final__inner { grid-template-columns: 1fr; text-align: center; }
  .rk-final .final__right { align-items: center; }
  .rk-final .final__actions { justify-content: center; }
}
