
/* RepCentral-specific CSS overrides.
   Loaded after the compiled Tailwind stylesheet in index.html. */

/* Sticky navbar: keep the navbar dark navy after scroll. */
.ud-header.sticky {
  background-color: #090E34;
}

/* Desktop navigation: keep top-level links white,
   including when the navbar becomes sticky. */
@media (min-width: 960px) {
  #navbarCollapse li > a.lg\:text-white {
    color: #ffffff;
  }

  /* Keep hover text white with reduced opacity. */
  #navbarCollapse li > a.lg\:text-white:hover {
    color: #ffffff;
    opacity: 0.7;
  }
}

/* Shared dropdown navigation: allow JavaScript to reveal the active menu. */
.ud-header .nav-dropdown.nav-dropdown-open > .submenu {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  top: 100%;
}

/* Shared dropdown navigation: hover and keyboard focus support on desktop. */
@media (min-width: 960px) {
  .ud-header .nav-dropdown:hover > .submenu,
  .ud-header .nav-dropdown:focus-within > .submenu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    top: 100%;
  }
}

/* Keep both menus visually closed whenever the shared JS state is closed and
   the user is not hovering. This overrides older page-specific focus rules. */
.ud-header #navbarCollapse #navServicesItem:not(.nav-dropdown-open):not(:hover) #navServicesMenu,
.ud-header #navbarCollapse #navAboutItem:not(.nav-dropdown-open):not(:hover) #navAboutMenu {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Consistent active navigation indicator. */
.ud-header .nav-is-active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

/* Combined quotation link inside the Services dropdown. */
#navServicesMenu a.nav-quote-link {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  font-weight: 700;
  color: #3758f9;
}

#navServicesMenu a.nav-quote-link:hover {
  color: #1b44c8;
}

/* Keep the mobile menu usable on short screens. */
@media (max-width: 959px) {
  #navbarCollapse {
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile navigation: the full-width dropdown triggers already have 2rem
   horizontal margins from the shared link styling, so constrain their width. */
@media (max-width: 959px) {
  #navbarCollapse #navServicesTrigger,
  #navbarCollapse #navAboutTrigger {
    width: calc(100% - 4rem);
  }
}

/* Compact desktop: the container stays at its 1024px maximum between 1024px
   and 1199px, so the navigation needs slightly tighter spacing to keep the
   top-level items on one line and inside the viewport. */
@media (min-width: 960px) and (max-width: 1199px) {
  #navbarCollapse ul > li > a,
  #navbarCollapse ul > li > .nav-dropdown-trigger {
    margin-left: 0.75rem;
    font-size: 15px;
    white-space: nowrap;
  }

  #navbarCollapse ul > li:first-child > .nav-dropdown-trigger {
    margin-left: 0;
  }

  .ud-header a[data-integration="login"] {
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: nowrap;
  }
}

/* Just above the mobile breakpoint the header is at its tightest: give the
   menu wrapper permission to shrink and trim a little more spacing. */
@media (min-width: 960px) and (max-width: 1019px) {
  .ud-header .rc-header-menu-wrap {
    min-width: 0;
  }

  #navbarCollapse ul > li > a,
  #navbarCollapse ul > li > .nav-dropdown-trigger {
    margin-left: 0.5rem;
  }

  .ud-header a[data-integration="login"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* At mobile widths below the sm breakpoint, allow the fixed-width brand column
   to shrink so the login button, mobile toggle and menu container stay inside
   the viewport. */
@media (max-width: 539px) {
  .ud-header .rc-header-brand {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
  }

  .ud-header .rc-header-brand .navbar-logo {
    width: auto;
    min-width: 0;
  }

  .ud-header .rc-header-menu-wrap {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
}

/* Member login: keep the button beside the mobile toggle where it fits.
   A compact label is used below the sm breakpoint. At the very narrowest
   widths the header button is hidden and the prominent link inside the
   mobile menu is shown instead. */
.ud-header .rc-header-login {
  flex: 0 0 auto;
}

.ud-header .rc-login-label--full {
  display: none;
}

@media (max-width: 539px) {
  .ud-header .rc-login-label--compact {
    display: inline;
  }
}

@media (min-width: 540px) {
  .ud-header .rc-login-label--compact {
    display: none;
  }

  .ud-header .rc-login-label--full {
    display: inline;
  }
}

@media (min-width: 360px) and (max-width: 539px) {
  .ud-header .rc-header-login {
    display: flex;
  }
}

@media (max-width: 539px) {
  .ud-header .rc-header-login a[data-integration="login"] {
    padding: 10px 12px;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
  }
}

.ud-header .rc-mobile-login {
  display: none;
}

.ud-header .rc-mobile-login-link {
  margin: 12px 32px;
}

@media (max-width: 359px) {
  .ud-header .rc-header-login {
    display: none;
  }

  .ud-header .rc-mobile-login {
    display: block;
  }
}

/* Services dropdown: allow JavaScript to reveal the menu
   on desktop when the hidden class is removed. */
.ud-header #navServicesMenu:not(.hidden) {
  visibility: visible;
  opacity: 1;
}

/* Services dropdown: improve link readability. */
#navServicesMenu a {
  color: #111928;
}

#navServicesMenu a:hover {
  color: #3758F9;
}

/* ==========================================================================
   Homepage commercial showcase
   Styles for the hero preview, advantages, supporting cards, explainer video
   and membership placeholders. Kept separate from the compiled Tailwind file.
   ========================================================================== */

/* ---------- Shared section furniture ---------- */

.rc-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #3758f9;
}

.rc-adv-intro {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.rc-adv-title {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #090e34;
}

.rc-adv-lead {
  font-size: 16px;
  line-height: 1.75;
  color: #5c6b7d;
}

@media (max-width: 767px) {
  #home .hero-content {
    text-align: left;
  }

  #home .hero-content .rc-hero-lead {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  #home .hero-content ul {
    justify-content: flex-start;
  }

  .rc-adv-intro {
    text-align: left;
  }
}

.rc-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: #3758f9;
  transition: color 0.2s ease, gap 0.2s ease;
}

.rc-text-link:hover {
  gap: 12px;
  color: #1b44c8;
}

/* ---------- Homepage process and resource icons ---------- */

.rc-section-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eef3ff;
  color: #3758f9;
}

.rc-section-icon--resource {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  border-radius: 16px;
}

.rc-section-icon svg {
  width: 26px;
  height: 26px;
}

.rc-section-icon--resource svg {
  width: 28px;
  height: 28px;
}

.dark .rc-section-icon {
  background: rgba(55, 88, 249, 0.16);
  color: #9db4ff;
}

/* ---------- Advantages section ---------- */

.rc-hero-lead {
  max-width: 680px;
}

/* Hero calls to action: equal-width buttons, stacked below the md breakpoint. */
#home .hero-content .rc-hero-actions {
  width: 100%;
  max-width: 540px;
  margin: 0 auto 40px;
}

#home .hero-content .rc-hero-actions > li {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
}

#home .hero-content .rc-hero-actions > li > a {
  width: 100%;
}

@media (max-width: 719px) {
  #home .hero-content .rc-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  #home .hero-content .rc-hero-actions > li {
    flex: 0 0 auto;
    width: 100%;
  }
}

.rc-advantages {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(55, 88, 249, 0.055), transparent 70%),
    #ffffff;
}

.rc-features {
  margin-top: 42px;
}

.rc-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 40px 0;
}

.rc-feature + .rc-feature {
  border-top: 1px solid #edf0f8;
}

.rc-feature-copy,
.rc-feature-media {
  min-width: 0;
}

.rc-feature-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #3758f9;
}

.rc-feature-num {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #eef1ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  color: #3758f9;
}

.rc-feature-title {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #090e34;
}

.rc-feature-text {
  margin-bottom: 14px;
  font-size: 15.5px;
  line-height: 1.72;
  color: #5c6b7d;
}

.rc-feature-text strong {
  font-weight: 600;
  color: #090e34;
}

.rc-feature-note {
  margin: 16px 0 18px;
  padding: 13px 16px;
  border-left: 3px solid #3758f9;
  border-radius: 0 10px 10px 0;
  background: #f5f7ff;
  font-size: 13.5px;
  line-height: 1.65;
  color: #4b5563;
}

.rc-feature-note--warn {
  border-left-color: #c98a00;
  background: #fff8e8;
  color: #6b5420;
}

/* ---------- Placeholder media frames ---------- */

.rc-media {
  margin: 0;
}

/* Drop-in class for replacing any in-page preview with an approved screenshot. */
.rc-stage-img {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: top center;
}

.rc-media-stage {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 44px 26px 26px;
  border: 1px solid #1b2450;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(85% 65% at 12% 0%, rgba(55, 88, 249, 0.42), transparent 62%),
    radial-gradient(60% 60% at 100% 100%, rgba(19, 194, 150, 0.14), transparent 62%),
    linear-gradient(160deg, #131c4d 0%, #090e34 100%);
  box-shadow: 0 24px 50px -30px rgba(9, 14, 52, 0.55);
}

.rc-media-stage--image {
  padding: 0;
}

.rc-media-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(85% 85% at 50% 50%, #000 25%, transparent 100%);
  pointer-events: none;
}

.rc-media-stage--light {
  border-color: #dfe5f5;
  background:
    radial-gradient(80% 70% at 10% 0%, rgba(55, 88, 249, 0.14), transparent 62%),
    linear-gradient(160deg, #f6f8ff 0%, #eaeffb 100%);
  box-shadow: 0 24px 50px -34px rgba(9, 14, 52, 0.35);
}

.rc-media-stage--light::before {
  background-image:
    linear-gradient(rgba(9, 14, 52, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(9, 14, 52, 0.045) 1px, transparent 1px);
}

.rc-stage-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 4;
  padding: 5px 9px;
  border: 1px solid rgba(199, 210, 255, 0.26);
  border-radius: 999px;
  background: rgba(9, 14, 52, 0.5);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #c7d2ff;
  backdrop-filter: blur(4px);
}

.rc-media-stage--light .rc-stage-tag {
  border-color: rgba(9, 14, 52, 0.12);
  background: rgba(255, 255, 255, 0.75);
  color: #3758f9;
}

.rc-support-visual .rc-stage-tag {
  border-color: rgba(9, 14, 52, 0.1);
  background: rgba(255, 255, 255, 0.78);
  color: #3758f9;
}

.rc-media-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 3px 14px;
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.55;
  color: #5c6b7d;
}

.rc-media-caption strong {
  font-weight: 600;
  color: #4b5563;
}

.rc-media-caption em {
  font-style: normal;
  color: #6b7280;
}

/* ---------- Verification badge scene ---------- */

.rc-badge-scene {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 430px;
}

.rc-badge-card {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 84%;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.55);
  transform: rotate(-2deg);
}

.rc-badge-shield {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #eef1ff;
  color: #3758f9;
}

.rc-badge-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.rc-badge-brand {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
  color: #090e34;
}

.rc-badge-state {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  color: #0f9d76;
}

.rc-badge-check {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  border-radius: 50%;
  background: #e7f8f2;
  color: #0f9d76;
}

.rc-result-card {
  position: relative;
  z-index: 1;
  width: 90%;
  margin: -8px auto 0;
  padding: 16px 18px 17px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 44px -24px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
}

.rc-result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 11px;
}

.rc-result-title {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.rc-pill-ok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(19, 194, 150, 0.16);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5ee0bd;
}

.rc-result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.rc-result-row span:first-child {
  font-size: 11px;
  color: #a9b9ff;
}

.rc-skel {
  display: inline-block;
  height: 7px;
  border-radius: 999px;
  background: rgba(199, 210, 255, 0.32);
}

.rc-result-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 600;
  color: #c7d2ff;
}

/* ---------- QR scene ---------- */

.rc-qr-scene {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 410px;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.rc-pack {
  position: relative;
  width: 54%;
  aspect-ratio: 4 / 5;
  margin-bottom: 6px;
  border-radius: 8px 14px 8px 8px;
  background: linear-gradient(150deg, #e9edf9 0%, #cfd7ee 52%, #b9c4e4 100%);
  box-shadow: 18px 22px 40px -24px rgba(0, 0, 0, 0.6);
  transform: perspective(700px) rotateY(9deg) rotateX(2deg);
}

.rc-pack::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 22%;
  border-radius: 8px 14px 0 0;
  background: linear-gradient(150deg, #f7f9ff, #d9e0f2);
  clip-path: polygon(0 0, 100% 0, 100% 42%, 0 100%);
  opacity: 0.9;
}

.rc-pack-label {
  position: absolute;
  top: 30%;
  right: 12%;
  display: flex;
  width: 54%;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 8px;
  border: 1px solid rgba(9, 14, 52, 0.14);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 6px 14px -8px rgba(9, 14, 52, 0.35);
}

.rc-pack-label span {
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #637381;
}

.rc-qr-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
  background: #ffffff;
}

.rc-phone {
  position: relative;
  z-index: 2;
  display: flex;
  width: 38%;
  max-width: 158px;
  aspect-ratio: 9 / 18;
  flex-direction: column;
  overflow: hidden;
  padding: 7px;
  border: 2px solid #0d1338;
  border-radius: 20px;
  background: #0d1338;
  box-shadow: 0 24px 40px -22px rgba(0, 0, 0, 0.75);
}

.rc-phone-notch {
  width: 34%;
  height: 4px;
  margin: 0 auto 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.rc-phone-screen {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
  padding: 9px 8px;
  border-radius: 13px;
  background: #f7f9ff;
}

.rc-phone-top {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #3758f9;
}

.rc-phone-brand {
  font-size: 6.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #090e34;
}

.rc-phone-title {
  margin-top: 2px;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.35;
  color: #090e34;
}

.rc-phone-status {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 5px;
  border-radius: 5px;
  background: #e7f8f2;
  font-size: 6.5px;
  font-weight: 700;
  color: #0f9d76;
}

.rc-phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  padding: 4px 0;
  border-top: 1px solid #e3e9f7;
}

.rc-phone-row span:first-child {
  font-size: 5.8px;
  color: #7c8aa0;
}

.rc-phone-bar {
  display: inline-block;
  width: 34%;
  height: 4px;
  border-radius: 999px;
  background: #c9d3ea;
}

/* ---------- Dashboard scene ---------- */

.rc-dashboard {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  border: 1px solid #dfe5f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 22px 42px -26px rgba(9, 14, 52, 0.35);
}

.rc-dash-side {
  display: flex;
  width: 22%;
  flex-direction: column;
  gap: 11px;
  padding: 15px 10px;
  background: #090e34;
}

.rc-dash-logo {
  width: 58%;
  height: 6px;
  margin-bottom: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.rc-dash-nav {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.rc-dash-nav.is-active {
  background: #3758f9;
}

.rc-dash-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #f7f9ff;
}

.rc-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rc-dash-title {
  font-size: 8px;
  font-weight: 700;
  color: #090e34;
}

.rc-dash-pill {
  padding: 3px 6px;
  border-radius: 999px;
  background: #e7f8f2;
  font-size: 5.8px;
  font-weight: 700;
  color: #0f9d76;
}

.rc-dash-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.rc-dash-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px 7px;
  border: 1px solid #e5eaf6;
  border-radius: 6px;
  background: #ffffff;
}

.rc-dash-tile span:first-child {
  font-size: 5.5px;
  line-height: 1.4;
  color: #8899a8;
}

.rc-dash-tile strong {
  font-size: 9px;
  line-height: 1.2;
  color: #090e34;
}

.rc-dash-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e5eaf6;
  border-radius: 7px;
  background: #ffffff;
}

.rc-dash-panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rc-dash-panel-row span:first-child {
  height: 5px;
  width: 42%;
  border-radius: 999px;
  background: #dbe2f1;
}

.rc-dash-panel-row span:last-child {
  height: 5px;
  width: 18%;
  border-radius: 999px;
  background: #eef1ff;
}

.rc-dash-panel-row.is-strong span:last-child {
  background: #c7d3ff;
}

.rc-dash-chart {
  display: flex;
  height: 54px;
  align-items: flex-end;
  gap: 5px;
  padding: 8px;
  border: 1px solid #e5eaf6;
  border-radius: 7px;
  background: #ffffff;
}

.rc-dash-chart span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: #dfe6fb;
}

.rc-dash-chart span:nth-child(2n) {
  background: #ccd7f9;
}

.rc-dash-chart span:nth-child(3n) {
  background: #3758f9;
  opacity: 0.55;
}

/* ---------- Services grid ---------- */

.rc-services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.rc-service-card {
  position: relative;
  z-index: 10;
  display: flex;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 26px 24px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.08);
  scroll-margin-top: 96px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rc-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 45px -30px rgba(9, 14, 52, 0.4);
}

.rc-service-title {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #111928;
}

.rc-service-desc {
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #637381;
}

.rc-service-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.rc-service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 6px;
  background: #3758f9;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: #ffffff;
  transition: background 0.2s ease;
}

.rc-service-link:hover {
  background: #1b44c8;
  color: #ffffff;
}

.rc-service-link:focus-visible,
.rc-service-enquire:focus-visible {
  outline: 2px solid #090e34;
  outline-offset: 2px;
}

.rc-service-enquire {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: #637381;
}

.rc-service-enquire:hover {
  color: #3758f9;
}

#service-gdpr-eu {
  scroll-margin-top: 96px;
}

.dark .rc-service-card {
  background: #1f2a37;
}

.dark .rc-service-title {
  color: #ffffff;
}

.dark .rc-service-desc {
  color: #9ca3af;
}

.dark .rc-service-enquire {
  color: #9ca3af;
}

.dark .rc-service-enquire:hover {
  color: #ffffff;
}

@media (min-width: 720px) {
  .rc-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1140px) {
  .rc-services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }
}

/* ---------- Supporting feature cards ---------- */

.rc-support {
  margin-top: 44px;
}

.rc-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.rc-support-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e6eaf5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 45px -38px rgba(9, 14, 52, 0.45);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.rc-support-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 28px 50px -34px rgba(9, 14, 52, 0.4);
}

.rc-support-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 176px;
  padding: 20px;
  border-bottom: 1px solid #edf0f8;
  background:
    radial-gradient(70% 80% at 0% 0%, rgba(55, 88, 249, 0.12), transparent 65%),
    #f6f8ff;
}

.rc-support-card:nth-child(2) .rc-support-visual {
  background:
    radial-gradient(70% 80% at 100% 0%, rgba(19, 194, 150, 0.12), transparent 65%),
    #f6f8ff;
}

.rc-support-visual--image {
  min-height: 0;
  aspect-ratio: 2 / 1;
  padding: 0;
}

.rc-support-visual--image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rc-support-body {
  padding: 22px 24px 24px;
}

.rc-support-title {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #090e34;
}

.rc-support-text {
  font-size: 14.5px;
  line-height: 1.7;
  color: #5c6b7d;
}

/* Chat and consultation illustration */

.rc-chat {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 370px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.rc-chat-card {
  display: flex;
  width: 64%;
  flex-direction: column;
  gap: 7px;
  padding: 12px;
  border: 1px solid #dfe5f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 30px -22px rgba(9, 14, 52, 0.4);
}

.rc-chat-head {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 1px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #3758f9;
}

.rc-chat-bubble {
  width: 78%;
  height: 13px;
  border-radius: 7px 7px 7px 2px;
  background: #eef1ff;
}

.rc-chat-bubble.is-reply {
  width: 66%;
  margin-left: auto;
  border-radius: 7px 7px 2px 7px;
  background: #3758f9;
}

.rc-chat-bubble.is-short {
  width: 52%;
}

.rc-chat-call {
  display: flex;
  width: 34%;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border: 1px solid #dfe5f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 30px -22px rgba(9, 14, 52, 0.4);
  text-align: center;
}

.rc-chat-call-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef1ff;
  color: #3758f9;
}

.rc-chat-call span {
  font-size: 6.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #4b5563;
}

/* Monthly report illustration */

.rc-report {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 370px;
  padding: 14px;
  border: 1px solid #dfe5f5;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 30px -22px rgba(9, 14, 52, 0.4);
}

.rc-report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px solid #edf0f8;
}

.rc-report-subject {
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.4;
  color: #090e34;
}

.rc-report-tag {
  padding: 3px 6px;
  border-radius: 999px;
  background: #fff8e8;
  font-size: 5.8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a6a12;
}

.rc-report-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f4fb;
}

.rc-report-dot {
  width: 5px;
  height: 5px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #3758f9;
}

.rc-report-dot.is-green {
  background: #13c296;
}

.rc-report-dot.is-amber {
  background: #fbbf24;
}

.rc-report-row span:nth-child(2) {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: #e2e8f5;
}

.rc-report-row span:last-child {
  width: 16%;
  height: 4px;
  border-radius: 999px;
  background: #f0f3fa;
}

/* ---------- Explainer video ---------- */

.rc-video {
  position: relative;
  overflow: hidden;
  padding: 70px 0 76px;
  background:
    radial-gradient(65% 55% at 50% 0%, rgba(55, 88, 249, 0.4), transparent 70%),
    #090e34;
}

.rc-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}

.rc-video-head {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto 34px;
  text-align: center;
}

.rc-video .rc-eyebrow {
  color: #a9b9ff;
}

.rc-video-title {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.rc-video-lead {
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.rc-video-frame {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 900px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(169, 185, 255, 0.28);
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(80% 90% at 50% 0%, rgba(55, 88, 249, 0.26), transparent 70%),
    linear-gradient(150deg, #121a46 0%, #0a1030 100%);
  box-shadow: 0 30px 70px -38px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.rc-video-frame.rc-video-frame--embed {
  display: block;
  padding: 0;
  background: #090e34;
}

.rc-video-frame.rc-video-frame--embed::before {
  content: none;
}

.rc-video-frame.rc-video-frame--embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.rc-video-frame::before {
  content: "16 : 9";
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(199, 210, 255, 0.45);
}

.rc-video-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  border: 1px solid rgba(169, 185, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #c7d2ff;
}

.rc-video-frame strong {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
}

.rc-video-frame > span {
  max-width: 420px;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(199, 210, 255, 0.8);
}

.rc-video-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(199, 210, 255, 0.28);
  border-radius: 999px;
  background: rgba(9, 14, 52, 0.55);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c7d2ff;
  backdrop-filter: blur(4px);
}

/* ---------- Membership placeholders ---------- */

.rc-member-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.rc-member-copy {
  margin-top: 30px;
}

@media (min-width: 960px) {
  .rc-member-copy {
    margin-top: 0;
  }
}

.rc-member-media .rc-media-stage {
  min-height: 0;
  aspect-ratio: 16 / 9;
  padding: 20px;
}

.rc-member-media > .rc-media:first-child .rc-media-stage {
  aspect-ratio: 16 / 10;
}

.rc-member-media .rc-media-stage--member-image {
  min-height: 0;
  aspect-ratio: 8 / 5;
  padding: 0;
}

.rc-member-scene {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  max-width: 420px;
  flex-direction: column;
  gap: 7px;
  padding: 13px;
  border: 1px solid #dfe5f5;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 30px -22px rgba(9, 14, 52, 0.35);
}

.rc-member-scene-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid #edf0f8;
}

.rc-member-scene-head strong {
  font-size: 8.5px;
  font-weight: 700;
  color: #090e34;
}

.rc-member-scene-head span {
  padding: 2px 6px;
  border-radius: 999px;
  background: #e7f8f2;
  font-size: 5.8px;
  font-weight: 700;
  color: #0f9d76;
}

.rc-member-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.rc-member-row span:first-child {
  width: 32%;
  height: 4px;
  border-radius: 999px;
  background: #dbe2f1;
}

.rc-member-row span:last-child {
  width: 44%;
  height: 4px;
  border-radius: 999px;
  background: #eef1ff;
}

.rc-member-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rc-member-action {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  border: 1px solid #edf0f8;
  border-radius: 7px;
  background: #f9faff;
}

.rc-member-action i {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #3758f9;
}

.rc-member-action span {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: #dde4f2;
}

.rc-member-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
  font-size: 6px;
  line-height: 1.4;
  color: #8899a8;
}

.rc-member-meta em {
  font-style: normal;
  color: #3758f9;
  font-weight: 700;
}

/* Subtle homepage link to the company story. */
.rc-why-story {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: #637381;
}

.rc-why-story a {
  margin-left: 4px;
  font-weight: 600;
  color: #3758f9;
}

.rc-why-story a:hover {
  color: #1b44c8;
  text-decoration: underline;
}
/* ---------- Homepage contact form ---------- */

.rc-contact {
  position: relative;
  overflow: hidden;
  padding: 72px 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(55, 88, 249, 0.07), transparent 70%),
    linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

.rc-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.rc-contact-title {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #090e34;
}

.rc-contact-lead {
  max-width: 480px;
  font-size: 16px;
  line-height: 1.7;
  color: #5c6b7d;
}

.rc-contact-list {
  display: grid;
  gap: 15px;
  margin: 28px 0;
}

.rc-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.rc-contact-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #eef1ff;
  color: #3758f9;
}

.rc-contact-list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #090e34;
}

.rc-contact-list a,
.rc-contact-list span {
  font-size: 14px;
  line-height: 1.6;
  color: #5c6b7d;
}

.rc-contact-list a {
  color: #3758f9;
  font-weight: 600;
}

.rc-contact-list a:hover {
  color: #1b44c8;
}

.rc-contact-note {
  max-width: 460px;
  padding-top: 18px;
  border-top: 1px solid #e6eaf5;
  font-size: 12.5px;
  line-height: 1.65;
  color: #6b7280;
}

.rc-contact-note a {
  color: #3758f9;
  text-decoration: underline;
}

.rc-contact-card {
  padding: 24px;
  border: 1px solid #e6eaf5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 60px -42px rgba(9, 14, 52, 0.45);
}

.rc-contact-card-head {
  margin-bottom: 22px;
}

.rc-contact-kicker {
  display: block;
  margin-bottom: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #3758f9;
}

.rc-contact-card-head h3 {
  margin-bottom: 7px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  color: #090e34;
}

.rc-contact-card-head p {
  font-size: 14px;
  line-height: 1.6;
  color: #637381;
}

.rc-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.rc-form-field {
  margin-bottom: 16px;
}

.rc-form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.5;
  color: #111928;
}

.rc-required {
  color: #3758f9;
}

.rc-optional {
  font-size: 12.5px;
  font-weight: 500;
  color: #6b7280;
}

.rc-form-field input,
.rc-form-field select,
.rc-form-field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  background: #ffffff;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: #111928;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rc-form-field input::placeholder,
.rc-form-field textarea::placeholder {
  color: #9ca3af;
}

.rc-form-field input:focus,
.rc-form-field select:focus,
.rc-form-field textarea:focus {
  border-color: #3758f9;
  outline: none;
  box-shadow: 0 0 0 3px rgba(55, 88, 249, 0.14);
}

.rc-form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.rc-form-field.has-error input,
.rc-form-field.has-error select,
.rc-form-field.has-error textarea {
  border-color: #d92d20;
}

.rc-form-error {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.5;
  color: #b42318;
}

.rc-form-error:empty {
  display: none;
}

.rc-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rc-form-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  background: #3758f9;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #ffffff;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.rc-form-submit:hover {
  background: #1b44c8;
}

.rc-form-submit:focus-visible {
  outline: 2px solid #090e34;
  outline-offset: 2px;
}

.rc-form-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.rc-form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.55;
}

.rc-form-status[hidden] {
  display: none;
}

.rc-form-status.is-success {
  border-color: #abefc6;
  background: #ecfdf3;
  color: #067647;
}

.rc-form-status.is-error {
  border-color: #fecdca;
  background: #fef3f2;
  color: #b42318;
}

.rc-form-privacy {
  margin-top: 13px;
  font-size: 11.5px;
  line-height: 1.6;
  color: #6b7280;
}

.rc-form-noscript {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8e8;
  font-size: 13px;
  line-height: 1.5;
  color: #6b5420;
}

.rc-form-noscript a {
  color: #3758f9;
  text-decoration: underline;
}

@media (min-width: 720px) {
  .rc-contact-card {
    padding: 32px;
  }

  .rc-form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 960px) {
  .rc-contact {
    padding: 96px 0;
  }

  .rc-contact-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 64px;
  }

  .rc-contact-copy {
    padding-top: 10px;
  }
}

/* ---------- Branded 404 ---------- */

.rc-notfound {
  position: relative;
  overflow: hidden;
  padding: 158px 0 96px;
  background:
    radial-gradient(60% 55% at 100% 0%, rgba(55, 88, 249, 0.35), transparent 70%),
    radial-gradient(50% 45% at 0% 100%, rgba(19, 194, 150, 0.1), transparent 70%),
    linear-gradient(150deg, #090e34 0%, #101a4b 100%);
  color: #ffffff;
}

.rc-notfound::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(75% 75% at 60% 40%, #000 20%, transparent 100%);
  pointer-events: none;
}

.rc-notfound-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.rc-notfound-code {
  display: block;
  margin-bottom: 2px;
  font-size: clamp(5rem, 14vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
  color: rgba(169, 185, 255, 0.2);
}

.rc-notfound .rc-eyebrow {
  color: #a9b9ff;
}

.rc-notfound-title {
  margin: 8px 0 16px;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.rc-notfound-lead {
  max-width: 590px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.75;
  color: #d4ddf5;
}

.rc-notfound-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.rc-notfound-btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rc-notfound-btn:hover {
  transform: translateY(-1px);
}

.rc-notfound-btn--primary {
  background: #ffffff;
  color: #090e34;
}

.rc-notfound-btn--primary:hover {
  background: #eef1ff;
  color: #090e34;
}

.rc-notfound-btn--secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.rc-notfound-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.rc-notfound-help {
  margin-top: 38px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  line-height: 1.6;
  color: #a9b9ff;
}

.rc-notfound-help > p {
  margin-bottom: 10px;
  font-weight: 600;
  color: #d4ddf5;
}

.rc-notfound-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.rc-notfound-links a {
  color: #c7d2ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rc-notfound-links a:hover {
  color: #ffffff;
}

/* ---------- Footer legal company information ---------- */

.rc-footer-company {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(136, 144, 164, 0.4);
}

.rc-footer-company-label {
  margin-bottom: 16px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
  color: #a9b9ff;
}

.rc-footer-company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.rc-footer-company-item {
  padding: 16px 18px;
  border: 1px solid rgba(206, 212, 218, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.rc-footer-company-heading {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
}

.rc-footer-company-item p {
  font-size: 12.5px;
  line-height: 1.7;
  color: #ced4da;
}

.rc-footer-company-item strong {
  font-weight: 600;
  color: #ffffff;
}

.rc-footer-company-role {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a9b9ff;
}

@media (min-width: 768px) {
  .rc-footer-company-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 540px) {
  .rc-notfound {
    padding: 130px 0 66px;
  }

  .rc-notfound-lead {
    font-size: 15px;
  }

  .rc-notfound-actions {
    flex-direction: column;
  }

  .rc-notfound-btn {
    width: 100%;
  }

  .rc-notfound-help {
    margin-top: 30px;
  }
}

/* ---------- Responsive refinements ---------- */

@media (min-width: 720px) {
  .rc-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rc-media-caption {
    font-size: 12.5px;
  }
}

@media (min-width: 960px) {
  .rc-advantages {
    padding: 88px 0 60px;
  }

  .rc-features {
    margin-top: 48px;
  }

  .rc-feature {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 56px;
    padding: 48px 0;
  }

  .rc-feature--reverse {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  }

  .rc-feature--reverse .rc-feature-copy {
    order: 2;
  }

  .rc-feature--reverse .rc-feature-media {
    order: 1;
  }

  .rc-feature-text {
    font-size: 16px;
  }

  .rc-media-stage {
    min-height: 320px;
  }

  .rc-support {
    margin-top: 40px;
  }

  .rc-support-body {
    padding: 26px 28px 28px;
  }

  .rc-video {
    padding: 80px 0 88px;
  }

  .rc-member-media {
    gap: 18px;
  }
}

@media (max-width: 540px) {
  .rc-advantages {
    padding: 56px 0 36px;
  }

  .rc-feature {
    padding: 32px 0;
    gap: 22px;
  }

  .rc-media-stage {
    min-height: 300px;
    aspect-ratio: auto;
    padding: 46px 16px 18px;
    border-radius: 14px;
  }

  .rc-media-stage--image {
    min-height: 0;
    aspect-ratio: 4 / 3;
    padding: 0;
  }

  .rc-media-stage--light {
    min-height: 240px;
  }

  .rc-member-media .rc-media-stage,
  .rc-member-media > .rc-media:first-child .rc-media-stage {
    aspect-ratio: auto;
    min-height: 240px;
    padding: 46px 18px 20px;
  }

  .rc-member-media .rc-media-stage--member-image,
  .rc-member-media > .rc-media:first-child .rc-media-stage--member-image {
    aspect-ratio: 8 / 5;
    min-height: 0;
    padding: 0;
  }

  .rc-media-caption {
    font-size: 11px;
  }

  .rc-stage-tag {
    top: 10px;
    left: 10px;
    font-size: 8.5px;
  }

  .rc-support {
    margin-top: 34px;
  }

  .rc-support-body {
    padding: 20px;
  }

  .rc-video {
    padding: 54px 0 60px;
  }

  .rc-video-frame {
    padding: 18px;
    border-radius: 14px;
  }

  .rc-video-icon {
    width: 52px;
    height: 52px;
  }

  .rc-video-frame > span {
    font-size: 11.5px;
  }

  .rc-video-pill {
    top: 10px;
    left: 10px;
    font-size: 9px;
  }

  .rc-badge-card {
    width: 88%;
    padding: 11px 12px;
  }

  .rc-badge-shield {
    width: 36px;
    height: 36px;
  }

  .rc-result-card {
    width: 92%;
    padding: 11px 12px;
  }

  .rc-qr-scene {
    gap: 6px;
  }

  .rc-phone {
    max-width: 132px;
  }

  .rc-chat {
    gap: 9px;
  }

  .rc-chat-card {
    padding: 10px;
  }
}

@media (max-width: 360px) {
  .rc-video-frame {
    gap: 6px;
    padding: 14px;
  }

  .rc-video-icon {
    width: 40px;
    height: 40px;
  }

  .rc-video-icon svg {
    width: 20px;
    height: 20px;
  }

  .rc-video-frame strong {
    font-size: 0.95rem;
  }

  .rc-video-frame > span {
    font-size: 10.5px;
    line-height: 1.5;
  }

  .rc-video-pill {
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    font-size: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rc-support-card,
  .rc-text-link {
    transition: none;
  }
}

/* ---------- Combined quotation homepage CTA ---------- */

.rc-quote-cta {
  padding: 0 0 12px;
}

.rc-quote-cta-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-wrap: wrap;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    radial-gradient(60% 120% at 100% 0%, rgba(55, 88, 249, 0.5), transparent 62%),
    linear-gradient(120deg, #090e34, #1d3479);
  box-shadow: 0 26px 60px -42px rgba(9, 14, 52, 0.65);
  color: #ffffff;
}

.rc-quote-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.rc-quote-cta-eyebrow {
  display: block;
  margin-bottom: 9px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: #adc1ff;
}

.rc-quote-cta-card h2 {
  margin: 0 0 9px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.rc-quote-cta-card p {
  margin: 0;
  max-width: 640px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #dbe3fb;
}

.rc-quote-cta-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}

.rc-quote-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: #152253;
  transition: background 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.rc-quote-cta-button:hover {
  background: #e9efff;
  color: #152253;
  transform: translateY(-1px);
}

.rc-quote-cta-button:focus-visible {
  outline: 3px solid #8aa0ff;
  outline-offset: 3px;
}

.rc-quote-cta-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: #bcc9ea;
}

@media (max-width: 760px) {
  .rc-quote-cta-card {
    padding: 26px 24px;
  }

  .rc-quote-cta-action {
    width: 100%;
  }

  .rc-quote-cta-button {
    justify-content: center;
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Cookie consent banner */
#rc-cookie-banner[hidden] {
  display: none !important;
}

#rc-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 10000;
  width: calc(100% - 32px);
  max-width: 1160px;
  padding: 20px 22px;
  transform: translateX(-50%);
  border: 1px solid rgba(185, 202, 255, 0.34);
  border-radius: 16px;
  background: #090e34;
  box-shadow: 0 18px 50px rgba(3, 8, 34, 0.38);
  color: #fff;
  font-family: inherit;
}

#rc-cookie-banner .rc-cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

#rc-cookie-banner h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

#rc-cookie-banner h2:focus {
  outline: none;
}

#rc-cookie-banner p {
  max-width: 720px;
  margin: 0;
  color: #c8d5f4;
  font-size: 13px;
  line-height: 1.55;
}

#rc-cookie-banner a {
  color: #d3ddff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

#rc-cookie-banner .rc-cookie-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#rc-cookie-banner .rc-cookie-btn {
  min-width: 190px;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
}

#rc-cookie-banner .rc-cookie-btn--secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}

#rc-cookie-banner .rc-cookie-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

#rc-cookie-banner .rc-cookie-btn--primary {
  background: #3758f9;
  color: #fff;
}

#rc-cookie-banner .rc-cookie-btn--primary:hover {
  background: #2446db;
}

#rc-cookie-banner .rc-cookie-close {
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

#rc-cookie-banner .rc-cookie-close[hidden] {
  display: none !important;
}

#rc-cookie-banner .rc-cookie-btn:focus-visible,
#rc-cookie-banner .rc-cookie-close:focus-visible,
#rc-cookie-banner a:focus-visible {
  outline: 3px solid #9fb9ff;
  outline-offset: 3px;
}

body.rc-cookie-banner-visible {
  padding-bottom: 150px;
}

@media (max-width: 820px) {
  #rc-cookie-banner .rc-cookie-inner {
    flex-direction: column;
    align-items: stretch;
  }

  #rc-cookie-banner .rc-cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #rc-cookie-banner .rc-cookie-close {
    position: absolute;
    top: 12px;
    right: 12px;
  }

  body.rc-cookie-banner-visible {
    padding-bottom: 250px;
  }
}

@media (max-width: 520px) {
  #rc-cookie-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 18px;
  }

  #rc-cookie-banner h2 {
    padding-right: 38px;
    font-size: 17px;
  }

  #rc-cookie-banner .rc-cookie-actions {
    grid-template-columns: 1fr;
  }

  #rc-cookie-banner .rc-cookie-btn {
    width: 100%;
  }

  body.rc-cookie-banner-visible {
    padding-bottom: 330px;
  }
}

