/* ==========================================================================
   Rico Pay — 2026 public website design system
   Concept: "The Counter, Upgraded" — every shop counter becomes a bank branch.
   Everything is scoped under .rp so legacy theme CSS on other pages is untouched.
   ========================================================================== */

.rp {
  --ink: #06102b;
  --ink-2: #0b1a40;
  --ink-3: #12265a;
  --royal: #0047c8;
  --royal-2: #1f5fe0;
  --sky: #56b8ff;
  --sky-soft: #e6f4ff;
  --mint: #12b886;
  --mint-soft: #e3f8f1;
  --amber: #ffad1f;
  --amber-soft: #fff4dd;
  --paper: #f4f6fb;
  --paper-2: #eaeef7;
  --line: #dfe5f1;
  --text: #0a1632;
  --muted: #56627f;
  --white: #ffffff;
  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 1px 2px rgba(6, 16, 43, .06), 0 2px 8px rgba(6, 16, 43, .05);
  --shadow: 0 2px 4px rgba(6, 16, 43, .04), 0 18px 40px -12px rgba(6, 16, 43, .18);
  --shadow-l: 0 40px 80px -24px rgba(6, 16, 43, .35);
  --f-display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);

  font-family: var(--f-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* ---- Neutralise legacy theme rules inside .rp ---------------------------- */
:where(.rp) *, :where(.rp) *::before, :where(.rp) *::after { box-sizing: border-box; }
:where(.rp) :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--f-display);
  color: inherit;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-transform: none;
}
:where(.rp) p { font-family: var(--f-body); font-size: inherit; line-height: 1.65; color: var(--muted); margin: 0; font-weight: 400; }
:where(.rp) a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
:where(.rp) a:hover, :where(.rp) a:focus { text-decoration: none; }
:where(.rp) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.rp) li { list-style: none; }
:where(.rp) img { max-width: 100%; display: block; }
:where(.rp) button { font-family: inherit; }
.rp :focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---- Layout primitives --------------------------------------------------- */
.rp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rp-section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.rp-section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.rp-dark { background: var(--ink); color: #e8eeff; }
.rp-dark p { color: #a9b6d6; }
.rp-paper { background: var(--paper); }

.rp-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--royal);
}
.rp-eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; display: inline-block; }
.rp-dark .rp-eyebrow { color: var(--sky); }

.rp-title { font-size: clamp(34px, 4.6vw, 60px); font-weight: 700; letter-spacing: -0.035em; }
.rp-title--xl { font-size: clamp(42px, 6.4vw, 92px); letter-spacing: -0.045em; line-height: 0.98; }
.rp-title em, .rp-title--xl em { font-style: normal; color: var(--royal); }
.rp-dark .rp-title em, .rp-dark .rp-title--xl em { color: var(--sky); }
.rp-lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; max-width: 620px; }
.rp-mono { font-family: var(--f-mono); }

/* ---- Buttons ------------------------------------------------------------- */
.rp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-body); font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  cursor: pointer; white-space: nowrap; line-height: 1;
}
.rp-btn i { font-size: 13px; transition: transform .25s ease; }
.rp-btn:hover i { transform: translateX(4px); }
.rp .rp-btn--primary { background: var(--royal); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 71, 200, .7); }
.rp .rp-btn--primary:hover { background: #003aa6; color: #fff; transform: translateY(-1px); }
.rp .rp-btn--light { background: #fff; color: var(--ink); }
.rp .rp-btn--light:hover { background: var(--sky-soft); color: var(--ink); }
.rp .rp-btn--ghost { border-color: rgba(255, 255, 255, .28); color: #fff; }
.rp .rp-btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.rp .rp-btn--outline { border-color: var(--line); color: var(--text); background: #fff; }
.rp .rp-btn--outline:hover { border-color: var(--royal); color: var(--royal); }
.rp-btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }

/* ---- Chips / tags -------------------------------------------------------- */
.rp-chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: var(--paper); color: var(--text); border: 1px solid var(--line);
}
.rp-dark .rp-chip { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #dbe5ff; }
.rp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(18, 184, 134, .18); flex: none; }

/* ---- Scroll reveal (progressive, CSS-only) ------------------------------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rp-reveal { animation: rp-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 75%; }
  }
}
@keyframes rp-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   SHELL — header, footer, floating utilities (layouts/default.vue)
   ========================================================================== */
.rp-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(10, 22, 50, .07);
}
.rp-header__bar { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.rp-header__logo img { height: 46px; width: auto; }
.rp .rp-nav.navbarmenu {
  position: static; height: auto; width: auto; padding: 0; background: transparent; box-shadow: none; z-index: auto; color: inherit;
  display: flex; align-items: center; gap: 28px; flex: 1; justify-content: flex-end;
}
.rp-nav__links { display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.rp-nav__links a { display: block; padding: 9px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.rp-nav__links a:hover { color: var(--text); }
.rp-nav__links a.nuxt-link-exact-active { background: #fff; color: var(--text); box-shadow: var(--shadow-s); }
.rp-nav__cta { display: flex; align-items: center; gap: 14px; }
.rp-nav__secure { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.rp-nav__secure i { color: var(--mint); }
.rp-burger, .rp-nav__close {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; cursor: pointer; color: var(--text); font-size: 18px;
}
.rp-nav__drawer-head { display: none; }

@media (max-width: 980px) {
  .rp-nav__secure { display: none; }
}
/* legacy body{overflow-x:hidden} turns body into a scroll container and breaks sticky */
body { overflow-x: clip; }

@media (max-width: 860px) {
  /* backdrop-filter would trap the fixed mobile drawer inside the header */
  .rp-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .rp-header__bar { height: 66px; }
  .rp-header__logo img { height: 38px; }
  .rp-burger { display: inline-flex; }
  .rp-burger.hide { display: none; }
  .rp .rp-nav.navbarmenu {
    position: fixed; inset: 0; z-index: 1100; background: var(--ink); color: #fff;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 18px var(--gutter) 32px; height: 100vh; height: 100dvh;
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .rp .rp-nav.navbarmenu.show { opacity: 1; visibility: visible; transform: none; }
  .rp-nav__drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }
  .rp-nav__drawer-head img { height: 38px; background: #fff; border-radius: 10px; padding: 4px 8px; }
  .rp-nav__close { display: inline-flex; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }
  .rp-nav__links { flex-direction: column; align-items: stretch; background: transparent; border: 0; padding: 0; gap: 0; }
  .rp-nav__links a { font-family: var(--f-display); font-size: 34px; font-weight: 600; color: #fff; padding: 14px 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); letter-spacing: -0.02em; }
  .rp-nav__links a.nuxt-link-exact-active { background: transparent; color: var(--sky); box-shadow: none; }
  .rp-nav__cta { margin-top: auto; }
  .rp-nav__cta .rp-btn { width: 100%; height: 56px; }
}

/* Footer */
.rp-footer { background: var(--ink); color: #c9d4f0; position: relative; overflow: hidden; }
.rp-footer::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 300px at 85% 0%, rgba(86, 184, 255, .16), transparent 70%),
              radial-gradient(500px 300px at 0% 100%, rgba(0, 71, 200, .25), transparent 70%);
}
.rp-footer__top { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; padding: 88px 0 56px; border-bottom: 1px solid rgba(255, 255, 255, .08); align-items: end; }
.rp-footer__statement { font-family: var(--f-display); font-size: clamp(36px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; font-weight: 700; color: #fff; }
.rp-footer__statement span { color: var(--sky); }
.rp-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.rp-footer__logo { background: #fff; border-radius: 16px; padding: 10px 16px; }
.rp-footer__logo img { height: 52px; width: auto; }
.rp-footer__social { display: flex; gap: 10px; }
.rp-footer__social a {
  width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .14); color: #fff; font-size: 18px;
}
.rp-footer__social a:hover { background: var(--royal); border-color: var(--royal); color: #fff; }
.rp-footer__grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 0; }
.rp-footer h4 { font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #7f8db3; margin-bottom: 18px; }
.rp-footer__list li { margin-bottom: 12px; }
.rp-footer__list a { color: #dfe7fb; font-weight: 500; font-size: 15px; }
.rp-footer__list a:hover { color: var(--sky); }
.rp-footer__contact li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.rp-footer__contact i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .06); display: inline-flex; align-items: center; justify-content: center; color: var(--sky); flex: none; font-size: 15px; }
.rp-footer__contact a, .rp-footer__contact span { color: #dfe7fb; font-size: 15px; line-height: 1.5; padding-top: 7px; }
.rp-footer__contact a:hover { color: var(--sky); }
.rp-footer__bottom { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; color: #8391b6; }
.rp-footer__bottom .rp-mono { font-size: 12px; letter-spacing: .08em; }
@media (max-width: 860px) {
  .rp-footer__top { grid-template-columns: 1fr; padding-top: 64px; }
  .rp-footer__grid { grid-template-columns: 1fr 1fr; }
  .rp-footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .rp-footer__grid { grid-template-columns: 1fr; } }

/* Floating: "Our App" drawer (ids kept from original markup) */
.rp #appButton {
  position: fixed; top: 50%; z-index: 9000; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; padding: 18px 10px; border: 0; border-radius: 0 12px 12px 0;
  background: var(--ink); color: #fff; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  box-shadow: var(--shadow); cursor: pointer; transition: right .3s ease, background .2s ease;
}
.rp #appButton::after { display: none; }
.rp #appButton:hover { background: var(--royal); transform: translateY(-50%) rotate(180deg); }
.rp #appSection {
  position: fixed; top: 50%; right: -320px; width: 300px; z-index: 8999; transform: translateY(-50%);
  background: #fff; border-radius: 20px 0 0 20px; padding: 18px; box-shadow: var(--shadow-l); border: 1px solid var(--line);
  transition: right .3s ease;
}
.rp #appSection.open { right: 0; }
.rp #appSection img { width: 100%; border-radius: 12px; margin-bottom: 14px; }
.rp #appSection h2 { font-size: 15px; margin: 0; }
.rp #appSection .app_paravr { font-family: var(--f-mono); font-size: 12.5px; color: var(--text); font-weight: 500; margin-bottom: 6px; }
.rp #appSection .app_paravr span { color: var(--muted); }
.rp #appSection p.app_pera { font-family: var(--f-body); font-size: 14px; line-height: 1.55; color: var(--muted); text-transform: none; }
.rp #dapp__btn { width: auto; margin-top: 14px; }
.rp #dbtn-wrap {
  width: 100%; height: auto; padding: 14px 18px; margin: 0; border-radius: 14px; display: flex; align-items: center; justify-content: space-between;
  background: var(--royal); box-shadow: none; color: #fff;
}
.rp #dbtn-wrap .title { color: #fff; font-weight: 700; font-size: 14px; position: static; }
.rp #dbtn-wrap #dinfo, .rp #dbtn-wrap #dinfo p { position: static; margin: 0; color: #cfe3ff; font-size: 12px; opacity: 1; transform: none; width: auto; height: auto; }
.rp #dbtn-wrap:hover { background: #003aa6; }

/* Floating: advertisement pill (class names kept from original markup) */
.rp .addbtn-sections { position: fixed; left: 20px; bottom: 20px; z-index: 900; }
.rp .add-card-main { position: static; width: auto; height: auto; }
.rp .add-card-main .btnadd {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; width: auto; height: auto;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); position: static;
}
.rp .add-card-main .btnadd span { position: static; color: var(--text); font-size: 13px; font-weight: 700; opacity: 1; transform: none; }
.rp .add-card-main .ico { position: static; width: 28px; height: 28px; border-radius: 50%; background: var(--amber-soft); display: inline-flex; align-items: center; justify-content: center; order: -1; transform: none; }
.rp .add-card-main .ico::before { content: "\f0a1"; font-family: "Font Awesome 5 Free"; font-weight: 900; font-size: 12px; color: #b57200; position: static; background: none; width: auto; height: auto; transform: none; }
.rp .add-card-main .btnadd:hover { border-color: var(--amber); width: auto; }
.rp .add-card-main .btnadd:hover span { color: var(--text); }

/* Back-to-top (injected by legacy scrollUp plugin) */
#scrollUp { background: var(--ink, #06102b) !important; color: #fff !important; border-radius: 14px !important; width: 46px !important; height: 46px !important; line-height: 46px !important; font-size: 18px !important; right: 24px !important; bottom: 24px !important; box-shadow: 0 12px 30px -10px rgba(6, 16, 43, .6) !important; }
#scrollUp:hover { background: #0047c8 !important; color: #fff !important; }

/* ==========================================================================
   HOME — "The Counter"
   ========================================================================== */
.rp-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: clamp(56px, 8vw, 104px) 0 0; }
.rp-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 30%, transparent 75%);
}
.rp-hero::after {
  content: ""; position: absolute; width: 900px; height: 900px; right: -260px; top: -360px; pointer-events: none;
  background: radial-gradient(circle, rgba(31, 95, 224, .55), rgba(86, 184, 255, .12) 45%, transparent 68%);
}
.rp-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.rp-hero__rail { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.rp-hero h1 { color: #fff; }
.rp-hero h1 .rp-hero__strike { position: relative; white-space: nowrap; color: var(--sky); }
.rp-hero h1 .rp-hero__strike svg { position: absolute; left: 0; bottom: -0.12em; width: 100%; height: .3em; }
.rp-hero .rp-lede { color: #b4c2e4; margin-top: 26px; }
.rp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Counter console illustration */
.rp-console { position: relative; padding: 24px 0 40px; }
.rp-console__card {
  position: relative; background: linear-gradient(180deg, #0f2253 0%, #0a1940 100%); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 26px; padding: 22px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.rp-console__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px dashed rgba(255, 255, 255, .12); }
.rp-console__shop { display: flex; align-items: center; gap: 12px; }
.rp-console__shop-ico { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--royal), var(--sky)); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.rp-console__shop b { display: block; color: #fff; font-size: 14.5px; font-weight: 700; }
.rp-console__shop small { font-family: var(--f-mono); font-size: 11px; color: #8ea0cc; letter-spacing: .06em; }
.rp-console__live { font-family: var(--f-mono); font-size: 11px; color: #7ff0c8; display: inline-flex; align-items: center; gap: 8px; letter-spacing: .1em; }
.rp-console__feed { position: relative; height: 268px; overflow: hidden; margin-top: 8px; -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.rp-console__track { animation: rp-feed 18s linear infinite; }
@keyframes rp-feed { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.rp-tx { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.rp-tx__ico { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; background: rgba(86, 184, 255, .12); color: var(--sky); }
.rp-tx__ico--mint { background: rgba(18, 184, 134, .14); color: #43e0ad; }
.rp-tx__ico--amber { background: rgba(255, 173, 31, .14); color: var(--amber); }
.rp-tx b { display: block; font-size: 14px; color: #eef3ff; font-weight: 600; line-height: 1.3; }
.rp-tx small { font-family: var(--f-mono); font-size: 11px; color: #7f91bd; }
.rp-tx__amt { text-align: right; }
.rp-tx__amt b { font-family: var(--f-mono); font-weight: 500; font-size: 14px; }
.rp-tx__amt small { color: #43e0ad; }
.rp-console__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.rp-console__stat { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); border-radius: 14px; padding: 12px; }
.rp-console__stat small { font-family: var(--f-mono); font-size: 10.5px; color: #7f91bd; letter-spacing: .08em; text-transform: uppercase; display: block; }
.rp-console__stat b { font-family: var(--f-display); color: #fff; font-size: 20px; font-weight: 700; }
.rp-console__float {
  position: absolute; background: #fff; color: var(--text); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow-l);
  display: flex; align-items: center; gap: 12px; font-size: 13px; z-index: 2;
}
.rp-console__float b { display: block; font-size: 14px; color: var(--text); }
.rp-console__float small { color: var(--muted); font-size: 12px; }
.rp-console__float--a { left: -36px; top: 46%; animation: rp-bob 6s ease-in-out infinite; }
.rp-console__float--b { right: -18px; bottom: 6px; animation: rp-bob 7s ease-in-out infinite reverse; }
.rp-console__float-ico { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
@keyframes rp-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) {
  .rp-console__track, .rp-console__float--a, .rp-console__float--b, .rp-ticker__track { animation: none !important; }
}

/* Hero footing — figures strip */
.rp-figures { position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid rgba(255, 255, 255, .1); display: grid; grid-template-columns: repeat(5, 1fr); }
.rp-figures > div { padding: 28px 24px 34px 0; border-right: 1px solid rgba(255, 255, 255, .08); }
.rp-figures > div + div { padding-left: 24px; }
.rp-figures > div:last-child { border-right: 0; }
.rp-figures b { display: block; font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); color: #fff; letter-spacing: -0.03em; font-weight: 700; line-height: 1.1; }
.rp-figures span { font-size: 13.5px; color: #93a3cb; }

/* Ticker of service names */
.rp-ticker { background: var(--royal); color: #fff; overflow: hidden; padding: 18px 0; }
.rp-ticker__track { display: flex; gap: 48px; width: max-content; animation: rp-marquee 40s linear infinite; }
.rp-ticker__track span { font-family: var(--f-display); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.rp-ticker__track span::after { content: "✦"; color: var(--sky); font-size: 14px; }
@keyframes rp-marquee { to { transform: translateX(-50%); } }

/* Service index (editorial list instead of card grid) */
.rp-index { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.rp-index__aside { position: sticky; top: 120px; }
.rp-index__aside .rp-lede { margin-top: 22px; }
.rp-index__aside .rp-btn { margin-top: 32px; }
.rp-index__list { border-top: 1px solid var(--line); }
.rp-index__row {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: start; padding: 28px 8px;
  border-bottom: 1px solid var(--line); position: relative; transition: background .25s ease, padding .25s ease;
}
.rp-index__row:hover { background: linear-gradient(90deg, var(--sky-soft), transparent 80%); padding-left: 20px; }
.rp-index__num { font-family: var(--f-mono); font-size: 13px; color: var(--royal); padding-top: 8px; }
.rp-index__row h3 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 650; letter-spacing: -0.025em; }
.rp-index__row p { margin-top: 8px; font-size: 15.5px; max-width: 520px; }
.rp-index__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.rp-index__tags span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; background: #fff; }
.rp-index__glyph { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: var(--paper); color: var(--royal); transition: background .25s, color .25s, transform .25s; }
.rp-index__row:hover .rp-index__glyph { background: var(--royal); color: #fff; transform: rotate(-8deg); }

/* Transaction anatomy flow */
.rp-flow__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 56px; }
.rp-flow__head .rp-lede { max-width: 440px; }
.rp-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: flow; }
.rp-flow::before { content: ""; position: absolute; left: 4%; right: 4%; top: 37px; height: 2px; background: repeating-linear-gradient(90deg, rgba(86, 184, 255, .55) 0 8px, transparent 8px 16px); }
.rp-flow__step { position: relative; padding-right: 28px; }
.rp-flow__node {
  width: 76px; height: 76px; border-radius: 22px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .12);
  display: flex; align-items: center; justify-content: center; color: var(--sky); font-size: 26px; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--ink);
}
.rp-flow__step:nth-child(3) .rp-flow__node { background: linear-gradient(135deg, var(--royal), var(--sky)); color: #fff; border: 0; }
.rp-flow__step small { display: block; font-family: var(--f-mono); font-size: 11.5px; color: var(--sky); letter-spacing: .12em; text-transform: uppercase; margin: 24px 0 8px; }
.rp-flow__step h3 { color: #fff; font-size: 22px; font-weight: 650; }
.rp-flow__step p { margin-top: 10px; font-size: 15px; }
.rp-assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 64px; }
.rp-assure div { border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 18px; display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: #dfe7fb; font-weight: 600; background: rgba(255, 255, 255, .02); }
.rp-assure i { color: #43e0ad; }

/* Micro ATM spec sheet */
.rp-atm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.rp-atm__visual {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-l); overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #dff0ff, transparent 55%), linear-gradient(160deg, #eef4ff, #dfe8fb);
  display: flex; align-items: center; justify-content: center;
}
.rp-atm__visual svg { width: 78%; height: auto; filter: drop-shadow(0 40px 50px rgba(6, 16, 43, .25)); }
.rp-atm__badge { position: absolute; z-index: 2; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; box-shadow: var(--shadow); display: inline-flex; align-items: center; gap: 8px; }
.rp-atm__badge--1 { top: 9%; left: 7%; }
.rp-atm__badge--2 { bottom: 10%; right: 7%; }
.rp-atm__badge i { color: var(--royal); }
.rp-atm .rp-lede { margin-top: 20px; }
.rp-spec { margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.rp-spec li { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 4px; padding: 15px 18px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px; color: var(--text); }
.rp-spec li:last-child { border-bottom: 0; }
.rp-spec li span { font-family: var(--f-mono); font-size: 12px; color: var(--royal); font-weight: 500; }
.rp-spec li:nth-child(odd) { background: #fbfcff; }

/* Profile */
.rp-profile { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.rp-profile__quote { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; color: var(--text); }
.rp-profile__quote mark { background: linear-gradient(transparent 62%, rgba(86, 184, 255, .4) 62%); color: inherit; padding: 0 .08em; }
.rp-profile__body p { font-size: 16.5px; }
.rp-profile__body p + p { margin-top: 16px; }
.rp-ticks { margin-top: 28px; display: grid; gap: 12px; }
.rp-ticks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; color: var(--text); }
.rp-ticks li i { width: 26px; height: 26px; border-radius: 8px; background: var(--mint-soft); color: var(--mint); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex: none; margin-top: 1px; }
.rp-dark .rp-ticks li { color: #e8eeff; }
.rp-dark .rp-ticks li i { background: rgba(18, 184, 134, .15); color: #43e0ad; }

/* Partner paths */
.rp-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.rp-path { position: relative; border-radius: var(--radius-l); padding: 32px; min-height: 360px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.rp-path h3 { font-size: 28px; font-weight: 700; margin-top: 18px; }
.rp-path p { margin-top: 12px; font-size: 15.5px; }
.rp-path ul { margin-top: auto; padding-top: 28px; display: grid; gap: 8px; }
.rp-path li { font-size: 14.5px; font-weight: 600; display: flex; gap: 10px; align-items: center; color: var(--text); }
.rp-path li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--royal); }
.rp-path__tag { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--royal); }
.rp-path--royal { background: var(--royal); border-color: var(--royal); color: #fff; }
.rp-path--royal p { color: #cfe0ff; }
.rp-path--royal li { color: #fff; }
.rp-path--royal li::before { background: var(--sky); }
.rp-path--royal .rp-path__tag { color: var(--sky); }
.rp-path--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.rp-path--ink p { color: #a9b6d6; }
.rp-path--ink li { color: #fff; }
.rp-path--ink li::before { background: var(--amber); }
.rp-path--ink .rp-path__tag { color: var(--amber); }
.rp-path__ico { position: absolute; right: 24px; top: 24px; font-size: 22px; width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--paper); color: var(--royal); }
.rp-path--royal .rp-path__ico { background: rgba(255, 255, 255, .14); color: #fff; }
.rp-path--ink .rp-path__ico { background: rgba(255, 255, 255, .08); color: var(--amber); }

/* CTA slab */
.rp-cta {
  position: relative; border-radius: 36px; overflow: hidden; padding: clamp(40px, 6vw, 80px);
  background: linear-gradient(120deg, var(--royal) 0%, #1a63e8 50%, var(--sky) 130%); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: end;
}
.rp-cta::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .08); pointer-events: none; }
.rp-cta h2 { color: #fff; font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -0.04em; position: relative; z-index: 1; }
.rp-cta p { color: #d9e7ff; margin-top: 14px; font-size: 17px; max-width: 560px; position: relative; z-index: 1; }
.rp-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* ==========================================================================
   ABOUT — "The Ledger"
   ========================================================================== */
.rp-ab-hero { background: var(--paper); padding: clamp(64px, 9vw, 120px) 0 0; position: relative; overflow: hidden; }
.rp-ab-hero__top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.rp-ab-hero__est { text-align: right; }
.rp-ab-hero__est small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.rp-ab-hero__est b { display: block; font-family: var(--f-display); font-size: clamp(80px, 13vw, 190px); line-height: .85; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 2px var(--royal); font-weight: 800; }
.rp-ab-hero .rp-lede { margin-top: 24px; }
.rp-ab-map { margin-top: 56px; position: relative; border-radius: 32px 32px 0 0; background: var(--ink); overflow: hidden; height: clamp(260px, 32vw, 400px); }
.rp-ab-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rp-ab-map__legend { position: absolute; left: clamp(20px, 4vw, 40px); bottom: clamp(20px, 4vw, 36px); display: flex; flex-wrap: wrap; gap: 8px; z-index: 1; }
.rp-ab-map__label { position: absolute; right: clamp(20px, 4vw, 40px); top: clamp(20px, 4vw, 36px); text-align: right; z-index: 1; }
.rp-ab-map__label b { display: block; font-family: var(--f-display); font-size: clamp(32px, 4vw, 52px); color: #fff; letter-spacing: -0.04em; line-height: 1; }
.rp-ab-map__label span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky); }
.rp-pulse { animation: rp-pulse 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes rp-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rp-pulse { animation: none; opacity: .3; } }

.rp-story { display: grid; grid-template-columns: 260px 1fr; gap: clamp(32px, 6vw, 96px); }
.rp-story__label { position: sticky; top: 120px; align-self: start; }
.rp-story__label h2 { font-size: 30px; margin-top: 14px; }
.rp-story__cols { columns: 2; column-gap: 48px; }
.rp-story__cols p { font-size: 17px; line-height: 1.75; color: #3c4867; margin-bottom: 18px; break-inside: avoid-column; }
.rp-story__cols p:first-child::first-letter { font-family: var(--f-display); float: left; font-size: 74px; line-height: .82; padding: 6px 12px 0 0; color: var(--royal); font-weight: 700; }
.rp-pull { margin: 56px 0 0; padding: 40px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.rp-pull b { font-family: var(--f-display); font-size: clamp(44px, 7vw, 104px); letter-spacing: -0.05em; line-height: .9; background: linear-gradient(100deg, var(--royal), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.rp-pull p { font-size: 17px; max-width: 420px; }

.rp-ledger { border-top: 2px solid var(--text); }
.rp-ledger__row { display: grid; grid-template-columns: 120px 1fr 1.2fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rp-ledger__row span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.rp-ledger__row b { font-family: var(--f-display); font-size: clamp(36px, 4.5vw, 64px); letter-spacing: -0.045em; line-height: 1; font-weight: 700; color: var(--text); }
.rp-ledger__row p { font-size: 16px; }

.rp-plethora { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius-l); overflow: hidden; margin-top: 56px; }
.rp-plethora > div { background: var(--ink); padding: 28px; min-height: 200px; display: flex; flex-direction: column; transition: background .25s; }
.rp-plethora > div:hover { background: var(--ink-2); }
.rp-plethora i { font-size: 22px; color: var(--sky); }
.rp-plethora h3 { color: #fff; font-size: 20px; margin-top: auto; padding-top: 32px; font-weight: 650; }
.rp-plethora p { font-size: 14px; margin-top: 6px; }
.rp-plethora > div.is-wide { grid-column: span 2; background: linear-gradient(135deg, var(--royal), #1a5be0); }
.rp-plethora > div.is-wide p { color: #d4e4ff; }
.rp-plethora > div.is-wide i { color: #fff; }

.rp-mission { text-align: center; max-width: 1040px; margin: 0 auto; }
.rp-mission blockquote { margin: 28px 0 0; font-family: var(--f-display); font-size: clamp(30px, 4.2vw, 58px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; color: var(--text); }
.rp-mission blockquote span { color: var(--muted); }
.rp-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; text-align: left; }
.rp-values > div { padding: 28px; border-radius: var(--radius); background: var(--paper); }
.rp-values i { color: var(--royal); font-size: 20px; }
.rp-values h3 { font-size: 20px; margin-top: 18px; font-weight: 650; }
.rp-values p { margin-top: 8px; font-size: 15px; }

/* ==========================================================================
   SERVICES — "The Catalogue"
   ========================================================================== */
.rp-sv-hero { background: var(--ink); color: #fff; padding: clamp(64px, 9vw, 112px) 0; position: relative; overflow: hidden; }
.rp-sv-hero::before { content: ""; position: absolute; left: -200px; bottom: -400px; width: 800px; height: 800px; background: radial-gradient(circle, rgba(0, 71, 200, .55), transparent 65%); pointer-events: none; }
.rp-sv-hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.rp-sv-hero h1 { color: #fff; }
.rp-sv-hero .rp-lede { color: #b4c2e4; margin-top: 22px; }
.rp-sv-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.rp-snap { position: relative; height: 420px; }
.rp-snap__block {
  position: absolute; border-radius: 20px; padding: 18px 20px; display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); color: #fff; font-weight: 600; font-size: 15px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.rp-snap__block i { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(86, 184, 255, .15); color: var(--sky); }
.rp-snap__block small { display: block; font-family: var(--f-mono); font-size: 11px; color: #8ea0cc; font-weight: 400; letter-spacing: .06em; }
.rp-snap__core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 168px; height: 168px; border-radius: 40px;
  background: linear-gradient(135deg, var(--royal), var(--sky)); display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 30px 80px -20px rgba(86, 184, 255, .6); color: #fff; text-align: center;
}
.rp-snap__core b { font-family: var(--f-display); font-size: 26px; letter-spacing: -0.03em; }
.rp-snap__core small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.rp-snap__ring { position: absolute; left: 50%; top: 50%; width: 360px; height: 360px; border-radius: 50%; border: 1px dashed rgba(86, 184, 255, .35); transform: translate(-50%, -50%); }
.rp-snap__block--1 { left: 0; top: 18px; }
.rp-snap__block--2 { right: 0; top: 60px; }
.rp-snap__block--3 { left: 4%; bottom: 40px; }
.rp-snap__block--4 { right: 2%; bottom: 0; }

.rp-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 56px; }
.rp-bento__cell { border-radius: var(--radius-l); padding: 28px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; min-height: 240px; position: relative; overflow: hidden; grid-column: span 2; transition: transform .25s ease, box-shadow .25s ease; }
.rp-bento__cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rp-bento__cell--w3 { grid-column: span 3; }
.rp-bento__cell--w4 { grid-column: span 4; }
.rp-bento__cell h3 { font-size: 24px; font-weight: 650; margin-top: auto; padding-top: 28px; }
.rp-bento__cell p { font-size: 15px; margin-top: 8px; max-width: 460px; }
.rp-bento__ico { width: 50px; height: 50px; border-radius: 15px; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; background: var(--sky-soft); color: var(--royal); }
.rp-bento__cell--royal { background: var(--royal); border-color: var(--royal); color: #fff; }
.rp-bento__cell--royal p { color: #d0e1ff; }
.rp-bento__cell--royal .rp-bento__ico { background: rgba(255, 255, 255, .15); color: #fff; }
.rp-bento__cell--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.rp-bento__cell--ink p { color: #a9b6d6; }
.rp-bento__cell--ink .rp-bento__ico { background: rgba(86, 184, 255, .14); color: var(--sky); }
.rp-bento__cell--paper { background: var(--paper); border-color: var(--paper); }
.rp-bento__meta { position: absolute; right: 24px; top: 28px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rp-bento__cell--royal .rp-bento__meta, .rp-bento__cell--ink .rp-bento__meta { color: rgba(255, 255, 255, .55); }

.rp-principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 64px; margin-top: 56px; }
.rp-principle { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 32px 0; border-top: 1px solid var(--line); }
.rp-principle__n { font-family: var(--f-display); font-size: 56px; line-height: .9; font-weight: 700; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px var(--royal); }
.rp-principle h3 { font-size: 22px; font-weight: 650; display: flex; align-items: center; gap: 10px; }
.rp-principle h3 i { font-size: 15px; color: var(--royal); }
.rp-principle p { margin-top: 10px; font-size: 15.5px; }

.rp-earn { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.rp-earn .rp-lede { margin-top: 20px; }
.rp-earn__sub { margin-top: 32px; padding: 20px 22px; border-radius: var(--radius); background: rgba(255, 173, 31, .08); border: 1px solid rgba(255, 173, 31, .28); }
.rp-earn__sub b { display: block; font-family: var(--f-display); font-size: 20px; color: #fff; }
.rp-earn__sub span { font-size: 14.5px; color: #e7c98a; }
.rp-receipt {
  position: relative; background: #fff; color: var(--text); border-radius: 22px 22px 0 0; padding: 28px 28px 36px; max-width: 460px; margin-left: auto;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .6); transform: rotate(2deg);
}
.rp-receipt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px;
  background: radial-gradient(circle at 10px -2px, transparent 10px, #fff 10.5px) 0 0 / 20px 14px repeat-x;
}
.rp-receipt__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1.5px dashed var(--line); }
.rp-receipt__head b { font-family: var(--f-display); font-size: 20px; }
.rp-receipt__head small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; display: block; }
.rp-receipt__tag { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; background: var(--amber-soft); color: #9a6200; padding: 5px 9px; border-radius: 6px; }
.rp-receipt__row { display: flex; justify-content: space-between; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--paper-2); font-size: 14.5px; font-weight: 600; }
.rp-receipt__row span { display: inline-flex; align-items: center; gap: 10px; }
.rp-receipt__row span i { width: 30px; height: 30px; border-radius: 9px; background: var(--paper); color: var(--royal); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.rp-receipt__row em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--mint); background: var(--mint-soft); padding: 4px 8px; border-radius: 6px; font-weight: 500; }
.rp-receipt__total { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; }
.rp-receipt__total span { font-family: var(--f-mono); font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.rp-receipt__total b { font-family: var(--f-display); font-size: 24px; color: var(--royal); }

.rp-api { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.rp-api .rp-lede { margin-top: 20px; }
.rp-steps { display: grid; gap: 12px; }
.rp-step { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.rp-step b { width: 52px; height: 52px; border-radius: 15px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-weight: 500; font-size: 15px; }
.rp-step:last-child b { background: var(--mint); }
.rp-step h3 { font-size: 18px; font-weight: 650; }
.rp-step p { font-size: 14.5px; margin-top: 4px; }

/* ==========================================================================
   CONTACT — "The Desk"
   ========================================================================== */
.rp-ct-hero { padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 72px); background: linear-gradient(180deg, var(--paper), #fff); }
.rp-ct-hero__head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.rp-ct-hero__head .rp-lede { justify-self: end; }
.rp-tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.rp-ticket {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 22px;
  box-shadow: var(--shadow-s); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rp-ticket:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c6d4ef; }
.rp-ticket__top { display: flex; justify-content: space-between; align-items: center; }
.rp-ticket__ico { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; background: var(--sky-soft); color: var(--royal); }
.rp-ticket__ico--wa { background: var(--mint-soft); color: var(--mint); }
.rp-ticket__ico--map { background: var(--amber-soft); color: #b57200; }
.rp-ticket__kind { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rp-ticket__value { font-family: var(--f-display); font-size: 22px; font-weight: 650; letter-spacing: -0.02em; color: var(--text); line-height: 1.25; word-break: break-word; }
.rp-ticket__value--sm { font-size: 18px; }
.rp-ticket__foot { margin-top: auto; padding-top: 18px; border-top: 1.5px dashed var(--line); font-size: 13.5px; font-weight: 700; color: var(--royal); display: flex; align-items: center; justify-content: space-between; }
.rp-ticket::before, .rp-ticket::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); bottom: 52px; }
.rp-ticket::before { left: -10px; clip-path: inset(0 0 0 50%); }
.rp-ticket::after { right: -10px; clip-path: inset(0 50% 0 0); }

.rp-desk { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.rp-desk__form { background: #fff; padding: clamp(28px, 5vw, 56px); }
.rp-desk__form h2 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -0.035em; }
.rp-desk__form > p { margin-top: 10px; }
.rp-desk__side { background: var(--ink); color: #fff; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.rp-desk__side::after { content: ""; position: absolute; right: -140px; bottom: -140px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(86, 184, 255, .3), transparent 65%); }
.rp-desk__side h3 { color: #fff; font-size: 26px; margin-top: 16px; }
.rp-next { margin-top: 32px; display: grid; gap: 0; position: relative; z-index: 1; }
.rp-next li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.rp-next li:not(:last-child)::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 1.5px; background: rgba(255, 255, 255, .14); }
.rp-next li b { width: 40px; height: 40px; border-radius: 12px; background: rgba(86, 184, 255, .14); color: var(--sky); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.rp-next h4 { color: #fff; font-size: 17px; font-weight: 650; font-family: var(--f-body); letter-spacing: 0; margin-top: 2px; }
.rp-next p { font-size: 14.5px; margin-top: 4px; }
.rp-desk__note { margin-top: auto; position: relative; z-index: 1; display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #c9d4f0; }
.rp-desk__note i { color: #43e0ad; font-size: 18px; }

.rp-map { position: relative; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); height: 460px; background: var(--paper); }
.rp-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85) contrast(1.02); }
.rp-map__card { position: absolute; left: 24px; bottom: 24px; max-width: 360px; background: #fff; border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-l); display: flex; gap: 14px; }
.rp-map__card i { width: 42px; height: 42px; border-radius: 12px; background: var(--royal); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.rp-map__card b { display: block; font-size: 16px; color: var(--text); }
.rp-map__card span { font-size: 14px; color: var(--muted); line-height: 1.5; display: block; margin-top: 2px; }

/* Element UI form skin (contact + login) */
.rp-form .el-form-item { margin-bottom: 22px; }
.rp-form .el-form-item__label {
  float: none; display: block; text-align: left; width: auto !important; padding: 0 0 8px; line-height: 1.3;
  font-family: var(--f-body); font-size: 13.5px; font-weight: 700; color: var(--text);
}
.rp-form .el-form-item__label::before { color: var(--royal) !important; }
.rp-form .el-form-item__content { margin-left: 0 !important; line-height: 1.4; }
.rp-form .el-input__inner, .rp-form .el-textarea__inner {
  height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: #fbfcff; color: var(--text);
  font-family: var(--f-body); font-size: 15px; font-weight: 500; padding: 0 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
/* auth layout's custom-website.css forces 2px radius !important and dark bold placeholders */
.rp .rp-form .el-input__inner, .rp .rp-form .el-textarea__inner { border-radius: 14px !important; }
.rp .rp-form .el-input__inner::placeholder, .rp .rp-form .el-textarea__inner::placeholder { color: #98a3bd; font-weight: 500; }
.rp .rp-form .el-input__inner::-webkit-input-placeholder { color: #98a3bd; font-weight: 500; }
.rp-form .el-textarea__inner { height: auto; min-height: 140px !important; padding: 14px 16px; line-height: 1.55; resize: vertical; }
.rp-form .el-input__inner:hover, .rp-form .el-textarea__inner:hover { border-color: #c5d2ea; }
.rp-form .el-input__inner:focus, .rp-form .el-textarea__inner:focus { border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(0, 71, 200, .12); }
.rp-form .el-input--prefix .el-input__inner { padding-left: 44px; }
.rp-form .el-input__prefix { left: 14px; color: #8a97b6; display: flex; align-items: center; height: 100%; }
.rp-form .el-input__prefix i { margin: 0 !important; font-size: 14px; }
.rp-form .el-input__suffix { right: 12px; }
.rp-form .el-input__suffix-inner { display: flex; align-items: center; height: 100%; }
.rp-form .el-form-item.is-error .el-input__inner, .rp-form .el-form-item.is-error .el-textarea__inner { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .1); }
.rp-form .el-form-item__error { font-family: var(--f-body); font-size: 12.5px; padding-top: 6px; font-weight: 600; }
.rp-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 32px; }
.rp-form__full { grid-column: 1 / -1; }
.rp-form .el-button.rp-submit {
  height: 54px; padding: 0 30px; border-radius: 999px; border: 0; background: var(--royal); color: #fff;
  font-family: var(--f-body); font-weight: 700; font-size: 15px; box-shadow: 0 12px 26px -12px rgba(0, 71, 200, .8);
}
.rp-form .el-button.rp-submit:hover, .rp-form .el-button.rp-submit:focus { background: #003aa6; color: #fff; }
.rp-form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rp-form__actions small { font-size: 13px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.rp-form__actions small i { color: var(--mint); }

/* ==========================================================================
   LOGIN — "The Vault"
   ========================================================================== */
.rp-auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1.05fr .95fr; background: #fff; }
.rp-vault { position: relative; background: var(--ink); color: #fff; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; overflow: hidden; }
.rp-vault::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.rp-vault::after { content: ""; position: absolute; width: 760px; height: 760px; left: -280px; bottom: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 71, 200, .6), transparent 65%); pointer-events: none; }
.rp-vault > * { position: relative; z-index: 1; }
.rp-vault__logo { display: inline-flex; background: #fff; border-radius: 14px; padding: 8px 14px; align-self: flex-start; }
.rp-vault__logo img { height: 44px; width: auto; }
.rp-vault__body { margin: auto 0; padding: 48px 0; max-width: 560px; }
.rp-vault__ver { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); border: 1px solid rgba(86, 184, 255, .35); padding: 6px 12px; border-radius: 999px; }
.rp-vault h1 { color: #fff; font-size: clamp(40px, 4.6vw, 68px); letter-spacing: -0.045em; line-height: 1; margin-top: 24px; }
.rp-vault h1 span { color: var(--sky); }
.rp-vault__body > p { color: #b4c2e4; font-size: 18px; margin-top: 18px; }
.rp-shield { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rp-shield div { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09); }
.rp-shield i { width: 34px; height: 34px; border-radius: 10px; background: rgba(18, 184, 134, .14); color: #43e0ad; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 14px; }
.rp-shield b { display: block; font-size: 14.5px; color: #fff; font-weight: 700; }
.rp-shield small { display: block; font-size: 12.5px; color: #8fa0c9; line-height: 1.45; margin-top: 2px; }
.rp-vault__foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #7f8db3; }
.rp-vault__foot a { color: #c9d4f0; }
.rp-vault__foot a:hover { color: var(--sky); }

.rp-signin { display: flex; align-items: center; justify-content: center; padding: clamp(28px, 5vw, 64px) var(--gutter); background: #fff; }
.rp-signin__box { width: 100%; max-width: 440px; }
.rp-signin__mlogo { display: none; margin-bottom: 28px; }
.rp-signin__mlogo img { height: 44px; width: auto; }
.rp-signin__box h2 { font-size: clamp(30px, 3vw, 40px); letter-spacing: -0.035em; }
.rp-signin__box > p { margin-top: 8px; font-size: 15.5px; }
.rp-signin .rp-form { margin-top: 32px; }
.rp-captcha { display: flex; gap: 10px; align-items: stretch; width: 100%; }
.rp-captcha .el-input { flex: 1; }
.rp-captcha__code {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: -8px 0 20px; padding: 0 6px 0 18px; height: 52px; border-radius: 14px;
  background: repeating-linear-gradient(-45deg, #eef3fc 0 8px, #f6f9ff 8px 16px); border: 1.5px dashed #c6d4ef;
}
.rp-captcha__code span { font-family: var(--f-mono); font-weight: 500; font-size: 22px; letter-spacing: .32em; color: var(--ink); user-select: none; font-style: italic; }
.rp-captcha__code small { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rp-captcha__refresh {
  width: 52px; flex: none; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--royal);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 15px; transition: transform .3s ease, border-color .2s;
}
.rp-captcha__refresh:hover { border-color: var(--royal); transform: rotate(90deg); }
.rp-signin__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.rp-signin__row a { font-size: 14px; font-weight: 700; color: var(--royal); }
.rp-signin__row a:hover { color: #003aa6; }
.rp-agree { display: inline-flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
.rp-agree input { width: 18px; height: 18px; accent-color: var(--royal); margin: 0; position: static; cursor: pointer; }
.rp-agree label { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; }
.rp-signin .el-button.rp-submit { width: 100%; height: 56px; font-size: 16px; }
.rp-signin__submit { margin-top: 20px; margin-bottom: 0; }
.rp-signin__secure { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); justify-content: center; text-align: center; }
.rp-signin__secure i { color: var(--mint); }
.rp-signin__verify { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--sky-soft); color: var(--ink); font-size: 14px; font-weight: 600; margin-bottom: 22px; align-items: center; }
.rp-signin__verify i { color: var(--royal); }
.rp-auth .el-dialog { border-radius: 20px; overflow: hidden; }
@media (max-width: 860px) { .rp-auth .el-dialog { width: 92% !important; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .rp-figures { grid-template-columns: repeat(3, 1fr); }
  .rp-figures > div:nth-child(3) { border-right: 0; }
  .rp-figures > div:nth-child(4) { padding-left: 0; }
  .rp-figures > div:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .rp-plethora { grid-template-columns: repeat(2, 1fr); }
  .rp-assure { grid-template-columns: repeat(2, 1fr); }
  .rp-console__float--a { left: -8px; }
}
@media (max-width: 960px) {
  .rp-hero__grid, .rp-sv-hero__grid, .rp-index, .rp-atm, .rp-profile, .rp-earn, .rp-api, .rp-ab-hero__top, .rp-ct-hero__head, .rp-desk, .rp-story { grid-template-columns: 1fr; }
  .rp-index__aside, .rp-story__label { position: static; }
  .rp-flow { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .rp-flow::before { display: none; }
  .rp-paths { grid-template-columns: 1fr; }
  .rp-path { min-height: 0; }
  .rp-path ul { margin-top: 0; }
  .rp-cta { grid-template-columns: 1fr; }
  .rp-ab-hero__est { text-align: left; }
  .rp-ct-hero__head .rp-lede { justify-self: start; }
  .rp-tickets { grid-template-columns: 1fr; }
  .rp-principles { grid-template-columns: 1fr; }
  .rp-values { grid-template-columns: 1fr; }
  .rp-bento__cell, .rp-bento__cell--w3, .rp-bento__cell--w4 { grid-column: span 3; }
  .rp-receipt { margin: 0 auto; transform: none; }
  .rp-snap { height: 380px; max-width: 520px; margin: 0 auto; width: 100%; }
  .rp-auth { grid-template-columns: 1fr; }
  .rp-vault { display: none; }
  .rp-signin__mlogo { display: block; }
}
@media (max-width: 640px) {
  .rp-figures { grid-template-columns: 1fr 1fr; }
  .rp-figures > div { padding: 22px 12px 22px 0 !important; border-right: 0 !important; border-top: 1px solid rgba(255, 255, 255, .08); }
  .rp-figures > div:last-child { grid-column: 1 / -1; }
  .rp-console__float--a { display: none; }
  .rp-console__float--b { right: 8px; bottom: 0; }
  .rp-console__foot { grid-template-columns: 1fr 1fr; }
  .rp-console__foot > :last-child { display: none; }
  .rp-index__row { grid-template-columns: 1fr; gap: 10px; }
  .rp-index__num { padding-top: 0; }
  .rp-index__glyph { display: none; }
  .rp-flow { grid-template-columns: 1fr; }
  .rp-assure { grid-template-columns: 1fr; }
  .rp-plethora { grid-template-columns: 1fr; }
  .rp-plethora > div.is-wide { grid-column: auto; }
  .rp-story__cols { columns: 1; }
  .rp-pull { grid-template-columns: 1fr; gap: 16px; }
  .rp-ledger__row { grid-template-columns: 1fr; gap: 8px; }
  .rp-bento { grid-template-columns: 1fr; }
  .rp-bento__cell, .rp-bento__cell--w3, .rp-bento__cell--w4 { grid-column: auto; min-height: 0; }
  .rp-form__grid { grid-template-columns: 1fr; }
  .rp-snap { height: auto; display: grid; gap: 10px; }
  .rp-snap__block, .rp-snap__core { position: static; transform: none; }
  .rp-snap__core { width: 100%; height: 120px; border-radius: 24px; order: -1; }
  .rp-snap__ring { display: none; }
  .rp-map { height: 520px; }
  .rp-map__card { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .rp-shield { grid-template-columns: 1fr; }
  .rp-principle { grid-template-columns: 56px 1fr; }
  .rp-principle__n { font-size: 44px; }
  .rp-console__feed { height: 232px; }
  .rp .addbtn-sections { left: 12px; bottom: 12px; }
}
