/* ═══════════════════════════════════════════════════════════
   REMITUMA — Premium Fintech Design System
   ═══════════════════════════════════════════════════════════ */

:root {
  --rl-navy: #0f1f2e;
  --rl-navy-mid: #1a3044;
  --rl-navy-soft: #243b52;
  --rl-ink: #0f1f2e;
  --rl-ink-soft: #2d4156;
  --rl-body: #4a6278;
  --rl-muted: #7a92a8;
  --rl-bg: #f4f7fb;
  --rl-bg-alt: #eef2f7;
  --rl-surface: #ffffff;
  --rl-border: #e2e8f0;
  --rl-border-light: #edf2f7;
  --rl-brand: #007c8a;
  --rl-brand-dark: #005f6a;
  --rl-brand-light: #e6f4f6;
  --rl-accent: #00a896;
  --rl-hero-cta: #c5d8f0;
  --rl-hero-cta-hover: #b0c9e8;
  --rl-success: #10b981;
  --rl-radius: 14px;
  --rl-radius-lg: 22px;
  --rl-radius-xl: 28px;
  --rl-radius-pill: 999px;
  --rl-shadow-sm: 0 2px 8px rgba(15, 31, 46, 0.04);
  --rl-shadow: 0 8px 32px rgba(15, 31, 46, 0.08);
  --rl-shadow-lg: 0 20px 60px rgba(15, 31, 46, 0.12);
  --rl-font: "Inter", system-ui, -apple-system, sans-serif;
  --rl-header-h: 72px;
  --rl-section-y: clamp(64px, 8vw, 96px);
  --rl-container: 1200px;
  /* Medium type scale */
  --rl-fs-xs: 12px;
  --rl-fs-sm: 13px;
  --rl-fs-base: 15px;
  --rl-fs-md: 16px;
  --rl-fs-lg: 17px;
  --rl-fs-xl: 20px;
  --rl-fs-2xl: 24px;
  --rl-fs-3xl: 28px;
  --rl-fs-hero: clamp(28px, 3.8vw, 40px);
  --rl-fs-page: clamp(24px, 3.2vw, 32px);
  --rl-fs-section: clamp(20px, 2.5vw, 26px);
  --rl-fs-subsection: clamp(18px, 2.2vw, 22px);
}

html {
  scroll-behavior: smooth;
  font-size: 93.75%; /* 15px medium base */
}

/* ── Legacy reset on public pages ── */
body.rl-site {
  font-family: var(--rl-font) !important;
  font-size: var(--rl-fs-base);
  line-height: 1.6;
  color: var(--rl-body);
  background: var(--rl-surface);
  padding: 0 !important;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  --primary-color: var(--rl-brand);
  --primary-dark: var(--rl-brand-dark);
}

body.rl-site .pt-150,
body.rl-site .pt-120 { padding-top: 0 !important; }
body.rl-site .header-section:not(.rl-header) { display: none; }

body.rl-site h1 { font-size: var(--rl-fs-hero) !important; }
body.rl-site h2 { font-size: var(--rl-fs-section) !important; }
body.rl-site h3 { font-size: var(--rl-fs-subsection) !important; }
body.rl-site h4 { font-size: var(--rl-fs-md) !important; }
body.rl-site h5 { font-size: var(--rl-fs-base) !important; }
body.rl-site h6 { font-size: var(--rl-fs-sm) !important; }
body.rl-site p,
body.rl-site li,
body.rl-site label,
body.rl-site input,
body.rl-site textarea,
body.rl-site select,
body.rl-site button {
  font-size: var(--rl-fs-base);
}

body.rl-site h1, body.rl-site h2, body.rl-site h3,
body.rl-site h4, body.rl-site h5, body.rl-site h6 {
  font-family: var(--rl-font) !important;
  color: var(--rl-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body.rl-site .container,
body.rl-site .container-xl,
body.rl-site .container.mx-auto {
  max-width: var(--rl-container);
  padding-left: 24px;
  padding-right: 24px;
}

body.rl-site img { max-width: 100%; height: auto; }

/* ── Skip link ── */
.rl-skip-link {
  position: absolute;
  left: -9999px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--rl-navy);
  color: #fff;
  border-radius: var(--rl-radius);
}
.rl-skip-link:focus { left: 16px; top: 16px; }

/* ── Buttons ── */
.rl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--rl-radius-pill);
  font-family: var(--rl-font);
  font-weight: 600;
  font-size: var(--rl-fs-base);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.rl-btn--primary,
body.rl-site .btn--base {
  background: linear-gradient(135deg, var(--rl-brand) 0%, var(--rl-accent) 100%) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--rl-radius-pill) !important;
  padding: 14px 32px !important;
  font-family: var(--rl-font) !important;
  font-weight: 600 !important;
  font-size: var(--rl-fs-base) !important;
  box-shadow: 0 4px 16px rgba(0, 124, 138, 0.28) !important;
}

.rl-btn--primary:hover,
body.rl-site .btn--base:hover {
  background: linear-gradient(135deg, var(--rl-brand-dark) 0%, var(--rl-brand) 100%) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(0, 124, 138, 0.35) !important;
}

.rl-btn--ghost {
  background: transparent;
  color: var(--rl-ink);
  border: 1.5px solid var(--rl-border);
}
.rl-btn--ghost:hover {
  border-color: var(--rl-brand);
  color: var(--rl-brand);
  background: var(--rl-brand-light);
}

.rl-btn--signup,
.rl-btn--navy {
  background: var(--rl-navy) !important;
  color: #fff !important;
  padding: 11px 24px !important;
}
.rl-btn--signup:hover,
.rl-btn--navy:hover {
  background: var(--rl-navy-mid) !important;
  color: #fff !important;
}

.rl-btn--hero {
  background: var(--rl-hero-cta) !important;
  color: var(--rl-navy) !important;
  padding: 17px 40px !important;
  font-size: var(--rl-fs-base) !important;
  font-weight: 600 !important;
  border-radius: var(--rl-radius-pill) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  min-width: 180px;
}
.rl-btn--hero:hover {
  background: var(--rl-hero-cta-hover) !important;
  transform: translateY(-2px) !important;
}

.rl-btn--hero-outline {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  padding: 15px 36px !important;
  font-size: var(--rl-fs-base) !important;
  backdrop-filter: blur(8px);
}
.rl-btn--hero-outline:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  color: #fff !important;
}

.rl-btn--sm { padding: 10px 20px; font-size: 14px; }

/* ── Section utilities ── */
.rm-section {
  padding: var(--rl-section-y) 0;
}
.rm-section--muted {
  background: var(--rl-bg);
}
.rm-section--dark {
  background: var(--rl-navy);
  color: #fff;
}

/* ── Preloader ── */
.rm-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--rl-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.rm-preloader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }
.rm-preloader__logo {
  font-size: var(--rl-fs-xl);
  font-weight: 800;
  color: var(--rl-navy);
  letter-spacing: -0.03em;
}
.rm-preloader__bar {
  width: 120px;
  height: 3px;
  background: var(--rl-border);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.rm-preloader__bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 40%;
  background: linear-gradient(90deg, var(--rl-brand), var(--rl-accent));
  border-radius: 3px;
  animation: rl-preload 1.2s ease-in-out infinite;
}
@keyframes rl-preload {
  0% { left: -40%; }
  100% { left: 100%; }
}

/* ── Header ── */
.rl-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rl-border-light) !important;
  box-shadow: var(--rl-shadow-sm);
  padding: 0 !important;
}

.rl-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--rl-header-h);
  gap: 16px;
}

.rl-header__left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.rl-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.rl-header__logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.rl-header__wordmark {
  font-size: var(--rl-fs-xl);
  font-weight: 800;
  color: var(--rl-navy);
  letter-spacing: -0.03em;
}

.rl-header__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rl-header__menu a {
  display: block;
  padding: 8px 14px;
  font-size: var(--rl-fs-base);
  font-weight: 500;
  color: var(--rl-ink-soft);
  text-decoration: none;
  border-radius: var(--rl-radius);
  transition: color 0.2s, background 0.2s;
}
.rl-header__menu a:hover {
  color: var(--rl-brand);
  background: var(--rl-brand-light);
}

.rl-header__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rl-header__utilities {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rl-header__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--rl-border);
  border-radius: var(--rl-radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--rl-ink-soft);
  text-decoration: none;
  background: var(--rl-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.rl-header__chip img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}
.rl-header__chip:hover {
  border-color: var(--rl-brand);
  box-shadow: var(--rl-shadow-sm);
  color: var(--rl-ink);
}

.rl-header__link {
  padding: 8px 12px;
  font-size: var(--rl-fs-sm);
  font-weight: 500;
  color: var(--rl-ink-soft);
  text-decoration: none;
  border-radius: var(--rl-radius);
  transition: color 0.2s;
}
.rl-header__link:hover { color: var(--rl-brand); }

.rl-header__toggle {
  border: 1px solid var(--rl-border) !important;
  border-radius: var(--rl-radius) !important;
  padding: 8px 12px !important;
  color: var(--rl-navy) !important;
}

.rl-header__lang .nice-select {
  border: 1px solid var(--rl-border) !important;
  border-radius: var(--rl-radius-pill) !important;
  font-size: 13px !important;
  height: 36px !important;
  line-height: 34px !important;
  padding-left: 14px !important;
  min-width: 90px;
}

body.rl-site .banner.rl-hero .rl-hero__actions {
  position: static !important;
}
body.rl-site .banner.rl-hero h1,
body.rl-site .banner.rl-hero h2,
body.rl-site .banner.rl-hero p {
  position: static !important;
}

/* ── Hero — full-bleed cinematic image ── */
body.rl-site .banner.rl-hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: var(--rl-navy) !important;
  background-image: none !important;
}

.rl-hero--full {
  position: relative;
  min-height: max(640px, calc(100svh - var(--rl-header-h)));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}

.rl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rl-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1.02);
}

.rl-hero--full .rl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(15, 31, 46, 0.25) 0%,
      rgba(15, 31, 46, 0.08) 40%,
      rgba(15, 31, 46, 0.55) 72%,
      rgba(15, 31, 46, 0.88) 100%
    ),
    linear-gradient(
      90deg,
      rgba(15, 31, 46, 0.82) 0%,
      rgba(15, 31, 46, 0.45) 38%,
      rgba(15, 31, 46, 0.1) 68%,
      transparent 100%
    );
  pointer-events: none;
}

.rl-hero--full .rl-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(72px, 12vh, 140px) 24px clamp(56px, 8vh, 96px);
}

.rl-hero__content {
  max-width: 560px;
}

body.rl-site .rl-hero .rl-hero__title {
  font-size: var(--rl-fs-hero) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.12 !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.03em !important;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

body.rl-site .rl-hero .rl-hero__subtitle {
  font-size: var(--rl-fs-md);
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 0 28px;
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

body.rl-site .rl-hero .rl-rating {
  color: rgba(255, 255, 255, 0.95);
}
body.rl-site .rl-hero .rl-rating strong { color: #fff; }
body.rl-site .rl-hero .rl-rating__meta { color: rgba(255, 255, 255, 0.75); }

.rl-hero {
  position: relative;
  overflow: hidden;
}

.rl-hero__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rl-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.rl-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 22px;
}
.rl-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: var(--rl-fs-sm);
}
.rl-rating i { font-size: var(--rl-fs-md); }

.rl-hero__title {
  font-size: var(--rl-fs-hero) !important;
  font-weight: 800 !important;
  color: #fff !important;
  line-height: 1.08 !important;
  margin: 0 0 16px !important;
  letter-spacing: -0.03em !important;
}

.rl-hero__subtitle {
  font-size: var(--rl-fs-md);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 28px;
  line-height: 1.5;
  max-width: 520px;
}
.rl-hero__subtitle strong { font-weight: 500; color: rgba(255,255,255,0.95); }

.rl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rl-trust {
  background: var(--rl-navy);
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.rl-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-trust__item {
  text-align: center;
  color: #fff;
}
.rl-trust__item strong {
  display: block;
  font-size: var(--rl-fs-2xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}
.rl-trust__item span {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

/* ── Featured home blocks ── */
.rl-featured {
  padding: var(--rl-section-y) 0;
  background: var(--rl-surface);
}
.rl-featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-featured__card {
  position: relative;
  border-radius: var(--rl-radius-xl);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rl-featured__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rl-shadow-lg);
  color: #fff;
}
.rl-featured__card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.rl-featured__card:hover .rl-featured__card-bg { transform: scale(1.04); }
.rl-featured__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(15,31,46,0.85) 100%);
}
.rl-featured__card-body {
  position: relative;
  z-index: 2;
  padding: 32px;
}
.rl-featured__card-body h3 {
  font-size: var(--rl-fs-2xl);
  font-weight: 700;
  color: #fff !important;
  margin: 0 0 8px;
}
.rl-featured__card-body p {
  font-size: var(--rl-fs-sm);
  color: rgba(255,255,255,0.8);
  margin: 0 0 16px;
  line-height: 1.5;
}
.rl-featured__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--rl-hero-cta);
}

/* ── Home explore grid ── */
.rl-home-nav {
  padding: var(--rl-section-y) 0;
  background: var(--rl-bg);
}
.rl-home-nav__head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.rl-home-nav__head h2 {
  font-size: var(--rl-fs-section);
  margin: 0 0 12px;
}
.rl-home-nav__head p {
  color: var(--rl-muted);
  margin: 0;
  font-size: var(--rl-fs-base);
}
.rl-home-nav__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-home-nav__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 22px;
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-lg);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
  box-shadow: var(--rl-shadow-sm);
}
.rl-home-nav__card:hover {
  border-color: transparent;
  box-shadow: var(--rl-shadow);
  transform: translateY(-3px);
  color: inherit;
}
.rl-home-nav__card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--rl-brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--rl-fs-xl);
  color: var(--rl-brand);
  transition: background 0.2s, color 0.2s;
}
.rl-home-nav__card:hover .rl-home-nav__card-icon {
  background: var(--rl-brand);
  color: #fff;
}
.rl-home-nav__card h3 {
  font-size: var(--rl-fs-base);
  font-weight: 700;
  color: var(--rl-ink);
  margin: 0;
}
.rl-home-nav__card p {
  font-size: 13px;
  color: var(--rl-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Home CTA ── */
.rl-home-cta {
  padding: var(--rl-section-y) 0;
  background: linear-gradient(135deg, var(--rl-navy) 0%, var(--rl-navy-mid) 100%);
}
.rl-home-cta__inner {
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.rl-home-cta__text h2 {
  font-size: var(--rl-fs-subsection);
  color: #fff !important;
  margin: 0 0 8px;
}
.rl-home-cta__text p {
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-size: var(--rl-fs-base);
}
.rl-home-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Page header ── */
.rl-page-header {
  background: linear-gradient(180deg, var(--rl-bg) 0%, var(--rl-surface) 100%);
  border-bottom: 1px solid var(--rl-border-light);
  padding: clamp(48px, 7vw, 72px) 24px clamp(40px, 5vw, 56px);
}
.rl-page-header__inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.rl-page-header__eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rl-brand);
  margin: 0 0 14px;
  padding: 6px 14px;
  background: var(--rl-brand-light);
  border-radius: var(--rl-radius-pill);
}
.rl-page-header__title {
  font-size: var(--rl-fs-page);
  font-weight: 800;
  color: var(--rl-ink);
  margin: 0 0 14px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.rl-page-header__subtitle {
  font-size: var(--rl-fs-md);
  color: var(--rl-body);
  margin: 0;
  line-height: 1.6;
}

/* ── Send internationally ── */
.rl-send__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-send__content h2 {
  font-size: var(--rl-fs-section);
  margin: 0 0 16px;
  line-height: 1.2;
}
.rl-send__content p {
  font-size: var(--rl-fs-base);
  color: var(--rl-body);
  margin: 0 0 28px;
  line-height: 1.6;
}
.rl-send__image {
  border-radius: var(--rl-radius-xl);
  overflow: hidden;
  box-shadow: var(--rl-shadow-lg);
}
.rl-send__image img {
  width: 100%;
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ── Calculator ── */
.rl-calculator {
  background: var(--rl-bg);
  padding: var(--rl-section-y) 0;
}
.rl-calculator__wrap {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 24px;
}
.rl-calculator__intro {
  text-align: center;
  margin-bottom: 32px;
}
.rl-calculator__intro h2 {
  font-size: var(--rl-fs-subsection);
  margin: 0 0 8px;
}
.rl-calculator__intro p { color: var(--rl-muted); margin: 0; }

.rl-calculator__card,
.rm-calc {
  background: var(--rl-surface) !important;
  border: 1px solid var(--rl-border-light) !important;
  border-radius: var(--rl-radius-xl) !important;
  box-shadow: var(--rl-shadow) !important;
  padding: 32px !important;
  overflow: visible !important;
}

.rm-calc__head {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--rl-border-light);
}
.rm-calc__head p {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--rl-muted);
  margin: 0 0 4px;
}
.rm-calc__head .exchange_rate,
.rm-calc__head .title {
  font-size: var(--rl-fs-2xl) !important;
  font-weight: 800 !important;
  color: var(--rl-brand) !important;
  margin: 0 !important;
}

.rm-calc__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--rl-ink-soft);
  margin-bottom: 8px;
}

body.rl-site .rl-calculator .form--control,
body.rl-site .rm-calc .form--control {
  border: 1.5px solid var(--rl-border) !important;
  border-radius: var(--rl-radius) !important;
  padding: 14px 16px !important;
  font-size: var(--rl-fs-base) !important;
  font-family: var(--rl-font) !important;
  color: var(--rl-ink) !important;
  background: var(--rl-surface) !important;
  box-shadow: none !important;
  height: auto !important;
}
body.rl-site .rl-calculator .form--control:focus,
body.rl-site .rm-calc .form--control:focus {
  border-color: var(--rl-brand) !important;
  box-shadow: 0 0 0 3px rgba(0, 124, 138, 0.12) !important;
  outline: none !important;
}

body.rl-site .rl-calculator .custom-select,
body.rl-site .rm-calc .custom-select {
  border: 1.5px solid var(--rl-border) !important;
  border-radius: var(--rl-radius) !important;
  background: var(--rl-bg) !important;
  padding: 10px 14px !important;
}

body.rl-site .rl-calculator .btn--base,
body.rl-site .rm-calc .btn--base {
  width: 100%;
  margin-top: 8px;
}

/* ── Secure transfers ── */
.rl-secure__title {
  text-align: center;
  font-size: var(--rl-fs-section);
  margin: 0 0 48px;
  max-width: var(--rl-container);
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}
.rl-secure__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-secure__card {
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}
.rl-secure__card:hover {
  box-shadow: var(--rl-shadow);
  transform: translateY(-3px);
}
.rl-secure__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: var(--rl-brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.rl-secure__icon img { width: 40px; height: 40px; object-fit: contain; }
.rl-secure__icon--default { font-size: var(--rl-fs-2xl); color: var(--rl-brand); }
.rl-secure__card h3 {
  font-size: var(--rl-fs-md);
  margin: 0 0 10px;
}
.rl-secure__card p {
  font-size: var(--rl-fs-sm);
  color: var(--rl-body);
  margin: 0;
  line-height: 1.6;
}

/* ── App download ── */
.rl-app__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-app__content h2 {
  font-size: var(--rl-fs-section);
  margin: 0 0 20px;
}
.rl-ratings--light .rl-rating { color: var(--rl-body); }
.rl-ratings--light .rl-rating strong { color: var(--rl-ink); }
.rl-app__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.rl-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--rl-navy);
  color: #fff;
  border-radius: var(--rl-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--rl-fs-sm);
  transition: background 0.2s;
}
.rl-store-btn:hover { background: var(--rl-navy-mid); color: #fff; }
.rl-store-btn i { font-size: var(--rl-fs-xl); }
.rl-app__mockup {
  border-radius: var(--rl-radius-xl);
  overflow: hidden;
  box-shadow: var(--rl-shadow-lg);
}
.rl-app__mockup img { width: 100%; display: block; }

/* ── Reviews ── */
.rl-reviews__title {
  text-align: center;
  font-size: var(--rl-fs-section);
  margin: 0 0 12px;
}
.rl-reviews__disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--rl-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.6;
  padding: 0 24px;
}
.rl-review-card {
  background: var(--rl-surface) !important;
  border: 1px solid var(--rl-border-light) !important;
  border-radius: var(--rl-radius-lg) !important;
  padding: 32px !important;
  box-shadow: var(--rl-shadow-sm) !important;
  height: 100%;
}
.rl-review-stars {
  color: #f59e0b;
  font-size: var(--rl-fs-md);
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.rl-review-card p {
  font-size: var(--rl-fs-sm);
  color: var(--rl-body);
  line-height: 1.65;
  font-style: italic;
}
.client-thumb img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Countries ── */
.rl-countries__title {
  text-align: center;
  font-size: var(--rl-fs-section);
  margin: 0 0 8px;
}
.rl-countries__subtitle {
  text-align: center;
  color: var(--rl-muted);
  margin: 0 0 32px;
  font-size: var(--rl-fs-base);
}
.rl-countries__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  max-width: var(--rl-container);
  margin: 0 auto;
}
.rl-countries__list a {
  display: block;
  padding: 12px 16px;
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius);
  font-size: 14px;
  font-weight: 500;
  color: var(--rl-ink-soft);
  text-decoration: none;
  transition: all 0.2s;
}
.rl-countries__list a:hover {
  border-color: var(--rl-brand);
  color: var(--rl-brand);
  background: var(--rl-brand-light);
}
.rl-countries__skip { display: none; }

/* ── FAQ ── */
.rl-faq__title {
  text-align: center;
  font-size: var(--rl-fs-subsection);
  margin: 0 0 8px;
}
.rl-faq__label {
  text-align: center;
  color: var(--rl-muted);
  margin: 0 0 36px;
}
.rl-faq__list {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.rl-faq__item {
  border: 1px solid var(--rl-border-light) !important;
  border-radius: var(--rl-radius) !important;
  margin-bottom: 10px !important;
  overflow: hidden;
  background: var(--rl-surface);
}
.rl-faq__item .accordion-button {
  font-family: var(--rl-font) !important;
  font-weight: 600 !important;
  font-size: var(--rl-fs-base) !important;
  color: var(--rl-ink) !important;
  background: var(--rl-surface) !important;
  padding: 20px 24px !important;
  box-shadow: none !important;
}
.rl-faq__item .accordion-button:not(.collapsed) {
  background: var(--rl-brand-light) !important;
  color: var(--rl-brand-dark) !important;
}
.rl-faq__item .accordion-body {
  padding: 0 24px 20px !important;
  font-size: var(--rl-fs-sm);
  color: var(--rl-body);
  line-height: 1.65;
}

/* ── Footer ── */
.rl-footer {
  background: var(--rl-bg) !important;
  border-top: 1px solid var(--rl-border-light);
  padding: 0 !important;
  margin: 0 !important;
}
.rl-footer__shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}
.rl-footer__columns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}
.rl-footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--rl-ink);
  margin: 0 0 16px;
}
.rl-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rl-footer__col li { margin-bottom: 10px; }
.rl-footer__col a {
  font-size: 14px;
  color: var(--rl-body);
  text-decoration: none;
  transition: color 0.2s;
}
.rl-footer__col a:hover { color: var(--rl-brand); }

.rl-footer__social {
  display: flex;
  gap: 10px;
}
.rl-footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rl-surface);
  border: 1px solid var(--rl-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rl-ink-soft);
  font-size: var(--rl-fs-md);
  transition: all 0.2s;
}
.rl-footer__social a:hover {
  background: var(--rl-brand);
  border-color: var(--rl-brand);
  color: #fff;
}

.rl-footer__brand-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid var(--rl-border-light);
  border-bottom: 1px solid var(--rl-border-light);
  margin-bottom: 28px;
}
.rl-footer__logo { height: 32px; width: auto; }
.rl-footer__name {
  font-size: var(--rl-fs-xl);
  font-weight: 800;
  color: var(--rl-navy);
}
.rl-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.rl-footer__legal a {
  font-size: 13px;
  color: var(--rl-muted);
  text-decoration: none;
}
.rl-footer__legal a:hover { color: var(--rl-brand); }

.rl-footer__app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.rl-footer__app-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.rl-footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--rl-navy);
  color: #fff;
  border-radius: var(--rl-radius);
  text-decoration: none;
  transition: background 0.2s;
}
.rl-footer__badge:hover { background: var(--rl-navy-mid); color: #fff; }
.rl-footer__badge i { font-size: var(--rl-fs-2xl); }
.rl-footer__badge span { display: flex; flex-direction: column; line-height: 1.2; }
.rl-footer__badge small { font-size: 10px; opacity: 0.75; }
.rl-footer__scan {
  font-size: 13px;
  color: var(--rl-muted);
  margin: 0;
}
.rl-footer__copyright {
  font-size: 13px;
  color: var(--rl-muted);
  text-align: center;
  margin: 0;
}

/* Kill legacy footer styles */
body.rl-site .footer-section .footer-top,
body.rl-site .footer-section .footer-widget,
body.rl-site .footer-section .social-icons { display: none !important; }

/* ── Auth pages ── */
.rl-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--rl-header-h));
}
.rl-auth__visual {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.rl-auth__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rl-auth__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,31,46,0.2) 0%, rgba(15,31,46,0.88) 100%);
}
.rl-auth__visual-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  color: #fff;
}
.rl-auth__trust {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.rl-auth__trust strong { color: #fff; }
.rl-auth__visual-content h2 {
  font-size: var(--rl-fs-3xl);
  color: #fff !important;
  margin: 0 0 12px;
}
.rl-auth__visual-content p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-size: var(--rl-fs-base);
}

.rl-auth__main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: var(--rl-bg);
}
.rl-auth__card {
  width: 100%;
  max-width: 420px;
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-xl);
  padding: 40px 36px;
  box-shadow: var(--rl-shadow);
}
.rl-auth__head h1 {
  font-size: var(--rl-fs-2xl);
  margin: 0 0 8px;
}
.rl-auth__sub {
  font-size: var(--rl-fs-sm);
  color: var(--rl-muted);
  margin: 0 0 28px;
}
.rl-auth__sub a {
  color: var(--rl-brand);
  font-weight: 600;
  text-decoration: none;
}
.rl-field { margin-bottom: 20px; }
.rl-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--rl-ink-soft);
  margin-bottom: 8px;
}
.rl-field__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.rl-field__label-row label { margin: 0; }
.rl-auth__forgot {
  font-size: 13px;
  color: var(--rl-brand);
  text-decoration: none;
  font-weight: 500;
}
.rl-input-wrap { position: relative; }
.rl-input,
body.rl-site .rl-auth .form--control {
  width: 100%;
  border: 1.5px solid var(--rl-border) !important;
  border-radius: var(--rl-radius) !important;
  padding: 13px 16px !important;
  font-size: var(--rl-fs-base) !important;
  background: var(--rl-surface) !important;
  color: var(--rl-ink) !important;
  box-shadow: none !important;
}
.rl-input:focus,
body.rl-site .rl-auth .form--control:focus {
  border-color: var(--rl-brand) !important;
  box-shadow: 0 0 0 3px rgba(0,124,138,0.12) !important;
  outline: none !important;
}
.rl-input-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--rl-muted);
  cursor: pointer;
  padding: 4px;
}
.rl-auth__submit { width: 100%; margin-top: 8px; }
.rl-auth__footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--rl-muted);
}
.rl-auth__footer a {
  color: var(--rl-brand);
  font-weight: 600;
  text-decoration: none;
}

/* ── Legacy page migrations ── */
.rl-about {
  padding: var(--rl-section-y) 0;
}
.rl-about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-about__content h2 {
  font-size: var(--rl-fs-section);
  margin: 0 0 16px;
}
.rl-about__content p {
  font-size: var(--rl-fs-base);
  color: var(--rl-body);
  line-height: 1.7;
  margin: 0;
}
.rl-about__image {
  border-radius: var(--rl-radius-xl);
  overflow: hidden;
  box-shadow: var(--rl-shadow-lg);
}

.rl-steps {
  padding: var(--rl-section-y) 0;
  background: var(--rl-bg);
}
.rl-steps__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-steps__image {
  border-radius: var(--rl-radius-xl);
  overflow: hidden;
  box-shadow: var(--rl-shadow);
}
.rl-steps__intro h2 {
  font-size: var(--rl-fs-2xl);
  color: var(--rl-brand);
  margin: 0 0 8px;
  font-weight: 600;
}
.rl-steps__intro h3 {
  font-size: var(--rl-fs-section);
  margin: 0 0 16px;
}
.rl-steps__intro p {
  color: var(--rl-body);
  font-size: var(--rl-fs-base);
  line-height: 1.65;
  margin: 0 0 32px;
}
.rl-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rl-steps__card {
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.rl-steps__card:hover { box-shadow: var(--rl-shadow-sm); }
.rl-steps__card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 12px;
}
.rl-steps__card h4 {
  font-size: var(--rl-fs-sm);
  margin: 0 0 8px;
}
.rl-steps__card p {
  font-size: 13px;
  color: var(--rl-muted);
  margin: 0;
  line-height: 1.5;
}

/* Contact page */
.rl-contact-info {
  padding: var(--rl-section-y) 0 var(--rl-section-y);
  background: var(--rl-bg);
}
.rl-contact-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-contact-info__card {
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--rl-shadow-sm);
}
.rl-contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--rl-brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--rl-fs-xl);
  color: var(--rl-brand);
  flex-shrink: 0;
}
.rl-contact-info__card h3 {
  font-size: var(--rl-fs-base);
  margin: 0 0 8px;
}
.rl-contact-info__card p {
  font-size: 14px;
  color: var(--rl-body);
  margin: 0;
  line-height: 1.5;
}

.rl-contact-form {
  padding: var(--rl-section-y) 0;
}
.rl-contact-form__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-contact-form__intro h2 {
  font-size: var(--rl-fs-2xl);
  color: var(--rl-brand);
  margin: 0 0 8px;
  font-weight: 600;
}
.rl-contact-form__intro h3 {
  font-size: var(--rl-fs-section);
  margin: 0 0 16px;
}
.rl-contact-form__image {
  border-radius: var(--rl-radius-xl);
  overflow: hidden;
  box-shadow: var(--rl-shadow-lg);
}
.rl-contact-form__box {
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-xl);
  padding: 36px;
  box-shadow: var(--rl-shadow);
}

/* Blog / Journal */
.rl-blog {
  padding: var(--rl-section-y) 0;
}
.rl-blog__head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 0 24px;
}
.rl-blog__head h2 {
  font-size: var(--rl-fs-section);
  margin: 0 0 8px;
}
.rl-blog__head p { color: var(--rl-muted); margin: 0; }
.rl-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-blog__card {
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  box-shadow: var(--rl-shadow-sm);
}
.rl-blog__card:hover {
  box-shadow: var(--rl-shadow);
  transform: translateY(-3px);
}
.rl-blog__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.rl-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.rl-blog__card:hover .rl-blog__thumb img { transform: scale(1.05); }
.rl-blog__body { padding: 24px; }
.rl-blog__body h3 {
  font-size: var(--rl-fs-md);
  margin: 0 0 10px;
  line-height: 1.35;
}
.rl-blog__body h3 a {
  color: var(--rl-ink);
  text-decoration: none;
}
.rl-blog__body h3 a:hover { color: var(--rl-brand); }
.rl-blog__body p {
  font-size: 14px;
  color: var(--rl-body);
  margin: 0 0 16px;
  line-height: 1.6;
}
.rl-blog__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--rl-brand);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Choose us + brand sections */
.rl-choose__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-choose__card {
  text-align: center;
  padding: 32px 24px;
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-lg);
}
.rl-brand__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 48px 24px;
  opacity: 0.6;
}
.rl-brand__logos img {
  height: 36px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.2s;
}
.rl-brand__logos img:hover { filter: grayscale(0); opacity: 1; }

/* Cookie banner */
body.rl-site .cookie-main-wrapper {
  background: var(--rl-navy) !important;
  border-radius: var(--rl-radius-lg) !important;
  box-shadow: var(--rl-shadow-lg) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
body.rl-site .cookie-btn {
  background: var(--rl-brand) !important;
  border-radius: var(--rl-radius-pill) !important;
  border: none !important;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .rl-footer__columns { grid-template-columns: repeat(3, 1fr); }
  .rl-home-nav__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .rl-hero--full .rl-hero__inner {
    padding: 48px 20px 56px;
  }
  .rl-hero--full .rl-hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(15, 31, 46, 0.15) 0%,
        rgba(15, 31, 46, 0.5) 55%,
        rgba(15, 31, 46, 0.92) 100%
      );
  }
  .rl-hero__content { max-width: 100%; }
  .rl-header__menu.d-none.d-lg-flex { display: none !important; }
  .rl-featured__grid,
  .rl-send__layout,
  .rl-app__layout,
  .rl-about__layout,
  .rl-steps__layout,
  .rl-contact-form__layout,
  .rl-auth { grid-template-columns: 1fr; }
  .rl-auth__visual { min-height: 280px; }
  .rl-secure__grid,
  .rl-steps__grid,
  .rl-blog__grid,
  .rl-contact-info__grid { grid-template-columns: 1fr; }
  .rl-trust__grid { grid-template-columns: repeat(2, 1fr); }
  .rl-footer__columns { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .rl-trust__grid { grid-template-columns: 1fr 1fr; }
  .rl-home-nav__grid { grid-template-columns: 1fr; }
  .rl-home-cta__inner { flex-direction: column; text-align: center; }
  .rl-home-cta__actions { justify-content: center; }
  .rl-footer__brand-block,
  .rl-footer__app-row { flex-direction: column; align-items: flex-start; }
  .rl-auth__card { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .rl-trust__grid { grid-template-columns: 1fr; }
  .rl-hero__actions { flex-direction: column; }
  .rl-hero__actions .rl-btn { width: 100%; text-align: center; }
}

/* ── Article / legal pages ── */
.rl-article__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: var(--rl-container);
  margin: 0 auto;
  padding: 0 24px;
}
.rl-article__thumb {
  border-radius: var(--rl-radius-xl);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--rl-shadow);
}
.rl-article__body {
  font-size: var(--rl-fs-base);
  line-height: 1.75;
  color: var(--rl-body);
}
.rl-article__body h2, .rl-article__body h3 { margin-top: 28px; }
.rl-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--rl-border-light);
}
.rl-article__tags span {
  padding: 6px 14px;
  background: var(--rl-brand-light);
  color: var(--rl-brand);
  border-radius: var(--rl-radius-pill);
  font-size: 13px;
  font-weight: 600;
}
.rl-article__widget {
  background: var(--rl-surface);
  border: 1px solid var(--rl-border-light);
  border-radius: var(--rl-radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.rl-article__widget h3 {
  font-size: var(--rl-fs-base);
  margin: 0 0 16px;
}
.rl-article__widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rl-article__widget li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--rl-border-light);
  font-size: 14px;
}
.rl-article__widget li:last-child { border-bottom: none; }
.rl-article__widget a {
  color: var(--rl-ink-soft);
  text-decoration: none;
}
.rl-article__widget a:hover { color: var(--rl-brand); }
.rl-article__recent li { display: block; }
.rl-legal__content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  font-size: var(--rl-fs-base);
  line-height: 1.75;
  color: var(--rl-body);
}
.rl-legal__content h2, .rl-legal__content h3 { margin-top: 28px; }

body.rl-site .rl-contact-form .form--control,
body.rl-site .rl-contact-form textarea.form--control {
  border: 1.5px solid var(--rl-border) !important;
  border-radius: var(--rl-radius) !important;
  padding: 13px 16px !important;
  font-family: var(--rl-font) !important;
  width: 100%;
}
body.rl-site .rl-contact-form .form--control:focus {
  border-color: var(--rl-brand) !important;
  box-shadow: 0 0 0 3px rgba(0,124,138,0.12) !important;
  outline: none !important;
}

@media (max-width: 991px) {
  .rl-article__layout { grid-template-columns: 1fr; }
}

/* Legacy theme font overrides */
body.rl-site .title,
body.rl-site h3.title,
body.rl-site h4.title,
body.rl-site h5.title {
  font-size: var(--rl-fs-subsection) !important;
}
body.rl-site .fs-1 { font-size: var(--rl-fs-hero) !important; }
body.rl-site .fs-2 { font-size: var(--rl-fs-page) !important; }
body.rl-site .fs-3 { font-size: var(--rl-fs-section) !important; }
body.rl-site .fs-4 { font-size: var(--rl-fs-subsection) !important; }
body.rl-site .fs-5 { font-size: var(--rl-fs-base) !important; }
body.rl-site .fs-6 { font-size: var(--rl-fs-sm) !important; }
